/* OutletCard — site institucional
   Tokens e componentes extraídos do design aprovado (Claude Design). */

:root {
  --navy: #050A30;
  --navy-2: #21488C;
  --blue: #3B81E0;
  --beige: #E4E1DA;
  --gray-light: #F5F6F8;
  --border: #E5E7EB;
  --text: #3A3F4B;
  --text-muted: #6B7280;
  --white: #FFFFFF;

  --font-heading: 'Archivo', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container-max: 1320px;
  --pad-inline: clamp(18px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

/* scroll-padding compensa o header sticky: sem isso, âncoras como #importacao
   param debaixo do cabeçalho. O valor aqui é só reserva — o main.js mede a altura
   real do header (que muda quando o menu quebra de linha) e sobrescreve. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy-2); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 800;
}

p { margin: 0; text-wrap: pretty; }

button, input, textarea, select { font-family: inherit; font-size: inherit; }

img { max-width: 100%; display: block; }

/* Layout */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad-inline);
  padding-right: var(--pad-inline);
}

main { flex: 1; }

.section { padding: clamp(52px, 6vw, 96px) 0; }
.section-tight { padding: clamp(28px, 3.4vw, 48px) 0; }
.section-lg { padding: clamp(64px, 7vw, 120px) 0; }

.section-navy { background: var(--navy); }
.section-beige { background: var(--beige); }
.section-gray { background: var(--gray-light); }
.section-gradient { background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 100%); }

.on-dark { color: rgba(255, 255, 255, 0.72); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-2);
}
.eyebrow--dash::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow--on-dark { color: rgba(255, 255, 255, 0.5); }

/* Grids */

.grid { display: grid; gap: 22px; }
.grid-auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-auto-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-auto-160 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  flex-wrap: wrap;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
}
.logo-mark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-mark span:first-child { color: var(--navy); }
.logo-mark span:last-child { color: var(--blue); }
.logo-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.logo-tag--light { color: var(--beige); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }

/* Buttons */

.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  white-space: nowrap;
}
.btn-arrow { font-size: 12px; }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); color: var(--white); }

.btn-outline-dark { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-outline-light { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); color: var(--white); }

.btn-on-navy-invert:hover { background: var(--white); color: var(--navy); }

.btn-lg { font-size: 15px; padding: 16px 30px; }
.btn-md { font-size: 14.5px; padding: 15px 28px; }

.link-inline {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14.5px;
}
.link-inline-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: none;
}

/* Image placeholder slot */

.img-slot {
  width: 100%;
  height: 100%;
  background: var(--gray-light);
  border: 1px dashed rgba(5, 10, 48, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}
.img-slot__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.img-slot--on-navy { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.img-slot--on-navy .img-slot__label { color: rgba(255, 255, 255, 0.55); }

.photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product / category cards */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--blue); }
.card-media { height: 186px; }
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-body h3 { font-size: 19px; font-weight: 700; }
.card-body p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); flex: 1; }
.card-cta { font-size: 13.5px; font-weight: 600; color: var(--blue); }

.card-lg .card-media { height: 220px; }
.card-lg .card-body { padding: 26px; gap: 12px; }
.card-lg .card-body h3 { font-size: 21px; }
.card-lg .card-body p { font-size: 15px; }

.card-sm .card-media { height: 150px; }
.card-sm .card-body { padding: 20px; gap: 8px; }
.card-sm .card-body h3 { font-size: 17px; }

.card-category-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.cta-card {
  background: var(--navy);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 260px;
}
.cta-card h3 { color: var(--white); font-size: 22px; line-height: 1.2; }
.cta-card p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); }

/* Checklist */

.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--navy);
}
.check-dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(59, 129, 224, 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Breadcrumb */

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .current { color: var(--navy); }
.breadcrumb--on-dark, .breadcrumb--on-dark a { color: rgba(255, 255, 255, 0.5); }
.breadcrumb--on-dark .current { color: rgba(255, 255, 255, 0.9); }

/* Spec table */

.spec-list { border-top: 1px solid var(--border); padding-top: 22px; }
.spec-list__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--text-muted); }
.spec-row span:last-child { font-weight: 600; color: var(--navy); text-align: right; }

/* Form */

.form-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-panel h2 { font-size: 22px; font-weight: 700; }

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--text);
  background: var(--white);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 129, 224, 0.15);
}

.form-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-muted);
}
.form-note--error { color: #C0392B; }
.form-note--success { color: var(--navy-2); }

.contact-panel {
  background: var(--navy);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-panel h3 { color: var(--white); font-size: 24px; font-weight: 700; }
.contact-panel p { color: rgba(255, 255, 255, 0.7); font-size: 15px; line-height: 1.65; }
.contact-panel .phone { font-family: var(--font-mono); font-size: 15px; color: var(--beige); }

.info-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-item { display: flex; flex-direction: column; gap: 6px; }
.info-item .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.info-item .value { font-size: 15.5px; font-weight: 600; color: var(--navy); }
.info-item .value-sub { font-size: 14.5px; color: var(--text-muted); }

/* Footer */

.site-footer { background: var(--navy); padding: clamp(48px, 5.5vw, 80px) 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(28px, 3.4vw, 52px);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 13px; font-weight: 600; color: var(--beige); }
.footer-col a, .footer-col span.plain {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-col a:hover { color: var(--white); }
.footer-about p { font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.55); max-width: 26em; }
.footer-mono { font-family: var(--font-mono); }
.footer-bottom {
  max-width: var(--container-max);
  margin: 36px auto 0;
  padding: 22px var(--pad-inline) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: 12.5px; color: rgba(255, 255, 255, 0.42); }

/* Utilities */

.text-center { text-align: center; }
.max-44 { max-width: 44em; }
.max-42 { max-width: 42em; }
.max-36 { max-width: 36em; }
.max-34 { max-width: 34em; }

@media (max-width: 640px) {
  .site-header .container { gap: 14px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 18px; }
  .header-cta { order: 2; }

  /* No celular o cabeçalho quebra em 3 linhas (~190px). Sticky nesse tamanho
     come 1/4 da tela em toda rolagem — melhor deixá-lo rolar junto. */
  .site-header { position: static; }
}
