/* ==========================================================================
   IMPÉRION — site.css
   Design system v3 · "precisão corporativa"
   Paleta: navy · dourado · papel  |  Tipografia: Poppins (UI) · Playfair (wordmark)
   ========================================================================== */

/* ---------- Fontes (self-hosted, sem chamadas externas) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/playfair-display-latin-500-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --navy:        #0A1628;
  --navy-2:      #0F1F3A;
  --navy-3:      #17284A;
  --navy-deep:   #06101F;

  --gold:        #D9A933;   /* dourado do logotipo (sobre navy) */
  --gold-2:      #E5C15E;
  --gold-text:   #8F6A14;   /* dourado com contraste AA para texto sobre papel (4.6:1) */

  --paper:       #F4F1EA;   /* fundo claro */
  --paper-2:     #FBFAF7;   /* cartões / superfícies elevadas */
  --paper-3:     #ECE7DD;   /* superfícies rebaixadas */

  --ink:         #0A1628;
  --ink-2:       #3E4A62;
  --ink-3:       #6B7488;

  --line:        rgba(10, 22, 40, 0.10);
  --line-2:      rgba(10, 22, 40, 0.18);
  --line-on-navy:   rgba(244, 241, 234, 0.12);
  --line-on-navy-2: rgba(244, 241, 234, 0.22);

  --on-navy:     #F4F1EA;
  --on-navy-2:   rgba(244, 241, 234, 0.72);
  --on-navy-3:   rgba(244, 241, 234, 0.58);

  --font-ui:     'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-brand:  'Playfair Display', Georgia, 'Times New Roman', serif;

  --radius:      20px;
  --radius-sm:   12px;
  --container:   1200px;
  --gutter:      clamp(20px, 4vw, 40px);
  --section:     clamp(72px, 9vw, 128px);
  --nav-h:       76px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-lg:   0 40px 80px -40px rgba(10, 22, 40, 0.35);
  --shadow-md:   0 20px 40px -24px rgba(10, 22, 40, 0.28);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--paper); color: var(--ink); max-width: 100%; overflow-x: clip; }
body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.h-display { font-size: clamp(2.5rem, 5vw, 4.15rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.h-section { font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
.h-sub     { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.8; }
.accent { color: var(--gold-text); }
.theme-dark { background: var(--navy); color: var(--on-navy); }
.theme-dark .eyebrow, .theme-dark .accent { color: var(--gold); }
.theme-dark .lead { color: var(--on-navy-2); }
.theme-dark .muted { color: var(--on-navy-3); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h-section { margin-top: 18px; }
.section-head .lead { margin-top: 18px; max-width: 620px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hairline { height: 1px; background: var(--line); }
.theme-dark .hairline { background: var(--line-on-navy); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.005em; line-height: 1;
  white-space: nowrap; border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
}
.btn .arrow { display: inline-block; transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: var(--on-navy); }
.btn--primary:hover { background: var(--navy-3); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-1px); box-shadow: 0 18px 36px -16px rgba(217, 169, 51, 0.6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.theme-dark .btn--ghost { color: var(--on-navy); border-color: var(--line-on-navy-2); }
.theme-dark .btn--ghost:hover { border-color: var(--on-navy); background: rgba(244, 241, 234, 0.06); }
.btn--sm { min-height: 40px; padding: 0 1.15rem; font-size: 0.88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--ink); }
.link-arrow .arrow { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.theme-dark .link-arrow { color: var(--on-navy); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out), border-color 0.4s, height 0.4s var(--ease-out), color 0.3s;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.is-scrolled { height: 64px; background: rgba(244, 241, 234, 0.82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); }
.nav.on-dark { color: var(--on-navy); }
.nav.on-dark.is-scrolled { background: rgba(10, 22, 40, 0.82); border-bottom-color: var(--line-on-navy); }

.wordmark { font-family: var(--font-brand); font-weight: 500; font-size: 1.32rem; letter-spacing: 0.14em; line-height: 1; display: inline-flex; align-items: baseline; }
.wordmark em { font-style: normal; color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 2rem; white-space: nowrap; }
.nav__link { position: relative; font-size: 0.9rem; font-weight: 500; opacity: 0.78; transition: opacity 0.3s; padding: 6px 0; }
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 0.5rem; }
.nav.on-dark .btn--primary { background: var(--gold); color: var(--navy); }
.nav.on-dark .btn--primary:hover { background: var(--gold-2); }

.nav__burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-right: -8px; }
.nav__burger span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; width: 100%; max-width: 100vw; box-sizing: border-box; background: var(--navy); color: var(--on-navy);
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__link { display: block; font-size: clamp(1.7rem, 7vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--line-on-navy); opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.21s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.26s; }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.mobile-menu .btn--ghost { color: var(--on-navy); border-color: var(--line-on-navy-2); }
.mobile-menu .btn--ghost:hover { border-color: var(--on-navy); }
.mobile-menu__meta { margin-top: auto; font-size: 0.85rem; color: var(--on-navy-3); }

/* ---------- HERO ---------- */
[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__copy { position: relative; z-index: 2; max-width: 660px; }
.hero__title { margin-top: 22px; }
.hero__title em { font-style: normal; color: var(--gold-text); }
.hero__lead { margin-top: 24px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.hero__proof strong { color: var(--ink); font-weight: 600; }
.hero__proof span { display: inline-flex; align-items: center; gap: 14px; }
.hero__proof span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero__visual { position: relative; z-index: 1; }
.stack { width: 100%; max-width: 620px; margin: 0 auto; height: auto; overflow: visible; }
.stack text { font-family: var(--font-ui); }
.stack .layer { will-change: transform; }
.stack--compact .lbl, .stack--compact .lbl-n, .stack--compact .leader { display: none; }
.stack-legend { display: none; }
.stack .lbl { font-size: 16px; font-weight: 500; fill: var(--ink); letter-spacing: 0; }
.stack .lbl-n { font-size: 11px; font-weight: 600; fill: var(--gold-text); letter-spacing: 0.08em; }
.stack .leader { stroke: var(--line-2); stroke-width: 1; }
.iso .face-top { fill: #FDFCF9; stroke: rgba(10, 22, 40, 0.2); stroke-width: 1; }
.iso .face-left { fill: #E4DFD2; stroke: rgba(10, 22, 40, 0.16); stroke-width: 1; }
.iso .face-right { fill: #D1CABA; stroke: rgba(10, 22, 40, 0.16); stroke-width: 1; }
.iso .ink { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.iso .ink-fill { fill: var(--navy); }
.iso .ink-soft { fill: none; stroke: rgba(10, 22, 40, 0.35); stroke-width: 1.2; stroke-linecap: round; }
.iso .gold { fill: var(--gold); }
.iso .gold-line { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; }
.iso .spine { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: 0.9; }
.iso .shadow { fill: rgba(10, 22, 40, 0.16); filter: blur(14px); }
.hero__bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, black 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, black 20%, transparent 75%);
}

/* ---------- FAIXA DE PROVA ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.proof__item + .proof__item { border-left: 1px solid var(--line); }
.proof__num { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); overflow-wrap: anywhere; }
.proof__num em { font-style: normal; color: var(--gold-text); }
.proof__label { font-size: 0.8rem; color: var(--ink-3); line-height: 1.4; }

/* ---------- QUEM SOMOS ---------- */
.about__panel {
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-lg);
}
.about__panel .eyebrow { color: var(--gold); }
.about__list { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--on-navy); }
.about__list li::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.about__text p + p { margin-top: 16px; }
.about__text strong { font-weight: 600; color: var(--ink); }
.about__tag { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--font-brand); font-size: 1.1rem; letter-spacing: 0.02em; color: var(--ink-2); }
.about__tag em { font-style: normal; color: var(--gold-text); }

/* ---------- SOLUÇÕES (capítulos) ---------- */
.solucoes { background: var(--paper-2); }
.chapters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.chapters__visual { position: sticky; top: calc(var(--nav-h) + 24px); height: calc(100vh - var(--nav-h) - 48px); min-height: 520px; display: flex; align-items: center; justify-content: center; }
.visual-frame {
  position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 100%;
  border-radius: 28px; background: var(--paper); border: 1px solid var(--line); overflow: hidden;
}
.visual-frame::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
}
.visual { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); pointer-events: none; }
.visual.is-active { opacity: 1; transform: none; }
.visual svg { width: 96%; height: auto; overflow: visible; transform: translateY(var(--fy, 0)); transition: transform 0.2s linear; }
.visual .visual__photo { width: 80%; height: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(10,22,40,0.25)); transform: translateY(var(--fy, 0)); }
.visual img { width: 78%; height: auto; object-fit: contain; }
.visual__tag { position: absolute; left: 24px; bottom: 22px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.visual__tag b { color: var(--gold-text); font-weight: 600; margin-right: 10px; }

.chapter { padding: clamp(40px, 8vh, 96px) 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter__n { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; color: var(--gold-text); text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.7em; }
.chapter__n::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.chapter__title { margin-top: 16px; }
.chapter__text { margin-top: 14px; color: var(--ink-2); max-width: 520px; }
.chapter__items { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chapter__items li { font-size: 0.82rem; font-weight: 500; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--paper-2); }
.chapter__brands { margin-top: 18px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.chapter__brands b { font-weight: 600; color: var(--ink-2); }
.chapter__cta { margin-top: 22px; }
.chapter__mobile-visual { display: none; }

/* ---------- FABRICANTES ---------- */
.brands { background: var(--paper); }
.brand-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.brand { height: 76px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s; }
.brand img { max-height: 30px; max-width: 100%; width: auto; height: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.35s, opacity 0.35s; }
.brand.is-tall img { max-height: 44px; }
.brand:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.brand:hover img { filter: none; opacity: 1; }
.brands__more { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink-3); font-size: 0.9rem; }

/* ---------- DISTRIBUIÇÃO ---------- */
.dist { position: relative; overflow: hidden; }
.dist__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.dist__portals { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-on-navy); }
.dist__portals .label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-navy-3); }
.dist__portals ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.dist__portals li { padding: 8px 14px; border: 1px solid var(--line-on-navy-2); border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--on-navy); }
.dist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dist-logo { height: 74px; display: flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 14px; background: var(--paper-2); }
.dist-logo img { max-height: 36px; max-width: 100%; width: auto; height: auto; }
.dist-logo.is-tall img { max-height: 50px; }
.dist__big { font-size: clamp(3.2rem, 6vw, 5.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; color: var(--gold); }

/* ---------- COMO TRABALHAMOS ---------- */
.process { background: var(--paper-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 8px; }
.steps__line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.steps__line i { display: block; height: 100%; width: 0%; background: var(--gold); transition: none; }
.step { position: relative; padding-top: 0; }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--on-navy); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; position: relative; z-index: 1; }
.step__t { margin-top: 20px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.step__d { margin-top: 6px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; max-width: 200px; }
.step { min-width: 0; }

/* ---------- SEIS MOTIVOS ---------- */
.reasons { background: var(--paper); }
.reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-2); }
.reason { padding: 28px 0; border-bottom: 1px solid var(--line); }
.reason__n { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; color: var(--gold-text); }
.reason__t { margin-top: 12px; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.reason__d { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; max-width: 300px; }

/* ---------- SEGMENTOS ---------- */
.segments { background: var(--paper-2); border-top: 1px solid var(--line); }
.segments__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.segment { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: 0.92rem; background: var(--paper); }
.segments__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }

/* ---------- COTAÇÃO ---------- */
.quote { position: relative; overflow: hidden; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote__channels { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line-on-navy); border-radius: 16px; transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease-out); }
.channel:hover { border-color: var(--line-on-navy-2); background: rgba(244, 241, 234, 0.04); transform: translateY(-1px); }
.channel__icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(244, 241, 234, 0.08); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.channel__icon svg { width: 20px; height: 20px; }
.channel > span:last-child { display: block; min-width: 0; }
.channel__label { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-navy-3); font-weight: 600; }
.channel__value { display: block; font-size: 1.02rem; font-weight: 500; color: var(--on-navy); margin-top: 2px; }
.channel__hint { display: block; font-size: 0.8rem; color: var(--on-navy-3); margin-top: 2px; }
.channel--wa { border-color: rgba(217, 169, 51, 0.45); }
.channel--wa .channel__icon { background: var(--gold); color: var(--navy); }

.form-card { background: var(--paper-2); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.form-card__title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.form-card__sub { margin-top: 6px; font-size: 0.9rem; color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08); }
.field input::placeholder, .field textarea::placeholder { color: #737B8C; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--ink-3); line-height: 1.5; }
.form-card .link-arrow { color: var(--ink); }
.form-status { margin-top: 10px; min-height: 1.4em; font-size: 0.9rem; font-weight: 500; }
.form-status.is-ok { color: #1F7A4D; }
.form-status.is-err { color: #B4372E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy); padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-on-navy); }
.footer__brand .wordmark { font-size: 1.5rem; }
.footer__sub { margin-top: 10px; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-3); }
.footer__sig { margin-top: 22px; font-family: var(--font-brand); font-size: 1.15rem; color: var(--on-navy-2); letter-spacing: 0.01em; }
.footer__sig em { font-style: normal; color: var(--gold); }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.footer__col li { margin-bottom: 9px; font-size: 0.92rem; color: var(--on-navy-2); }
.footer__col a:hover { color: var(--on-navy); }
.footer__bottom { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--on-navy-3); }


/* ---------- Entrada da primeira dobra ---------- */
/* entrada só por transform: o texto já está pintado no primeiro frame (não atrasa o LCP) */
html.js [data-hero] { transform: translateY(16px); transition: transform 0.9s var(--ease-out); }
html.js [data-hero].is-in { transform: none; }
html.js .stack { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.js .stack.is-ready { opacity: 1; transform: none; }
html.js .stack .lbl, html.js .stack .lbl-n, html.js .stack .leader { opacity: 0; transition: opacity 0.6s var(--ease-out); }
html.js .stack.is-in .lbl, html.js .stack.is-in .lbl-n, html.js .stack.is-in .leader { opacity: 1; }
.hero__visual { transition: transform 0.9s var(--ease-out); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0.04s; }
[data-stagger].in > *:nth-child(2) { transition-delay: 0.10s; }
[data-stagger].in > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].in > *:nth-child(4) { transition-delay: 0.22s; }
[data-stagger].in > *:nth-child(5) { transition-delay: 0.28s; }
[data-stagger].in > *:nth-child(6) { transition-delay: 0.34s; }
[data-stagger].in > *:nth-child(7) { transition-delay: 0.40s; }
[data-stagger].in > *:nth-child(8) { transition-delay: 0.46s; }
html.no-js .reveal, html.no-js [data-stagger] > * { opacity: 1; transform: none; }
.reveal, [data-stagger] > * { will-change: auto; }

/* ---------- E-COMMERCE (em breve) ---------- */
.soon { min-height: calc(100vh - 90px); display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 72px; position: relative; overflow: hidden; }
.soon__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.soon__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); }
.soon__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(217, 169, 51, 0.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 169, 51, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(217, 169, 51, 0); } }
.soon__title { margin-top: 24px; font-size: clamp(2.3rem, 4.4vw, 3.7rem); max-width: 640px; }
.soon__title em { font-style: normal; color: var(--gold-text); }
.soon__lead { margin-top: 22px; max-width: 560px; }
.soon__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.soon__list { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 40px; }
.soon__list b { display: block; font-weight: 600; font-size: 0.95rem; }
.soon__list span { font-size: 0.85rem; color: var(--ink-3); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 1.4rem; }
  .nav__link { font-size: 0.86rem; }
  .brand-grid { grid-template-columns: repeat(6, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step__d { max-width: none; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: 640px; }
  .hero__visual { max-width: 420px; margin: 0 auto; }
  .stack-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 8px auto 0; max-width: 420px; }
  .stack-legend li { display: flex; align-items: baseline; gap: 10px; font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
  .stack-legend b { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-text); }
  .grid-2 { grid-template-columns: 1fr; }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item:nth-child(3) { border-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chapters { grid-template-columns: 1fr; }
  .chapters__visual { display: none; }
  .chapter__mobile-visual { display: block; margin-bottom: 20px; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
  .chapter__mobile-visual svg { width: 52%; height: auto; overflow: visible; }
  .chapter__mobile-visual img { width: 60%; height: auto; }
  .dist__grid { grid-template-columns: 1fr; }
  .dist-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .steps__line { display: none; }
  .reasons__grid { grid-template-columns: 1fr 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .soon__grid { grid-template-columns: 1fr; }
  .soon { min-height: 0; }
  .soon__visual { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .stack .lbl { font-size: 17px; }
  .stack .lbl-n { font-size: 12px; }
  .stack { max-width: 100%; }
  :root { --nav-h: 64px; }
  .h-display { font-size: clamp(2.15rem, 9.2vw, 2.9rem); }
  .h-section { font-size: clamp(1.75rem, 7.4vw, 2.3rem); }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero__cta .btn { width: 100%; }
  .hero__proof { gap: 8px 12px; }
  .proof__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .proof__item { padding: 20px 16px; }
  .proof__num { font-size: 1.35rem; }
  .about__list { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brand { height: 64px; padding: 12px; }
  .brand img { max-height: 26px; }
  .brand.is-tall img { max-height: 38px; }
  .dist-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .dist-logo { height: 60px; padding: 10px; }
  .dist-logo img { max-height: 26px; }
  .dist-logo.is-tall img { max-height: 40px; }
  .steps, .lp-body .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; align-items: start; }
  .step__t { margin-top: 0; grid-column: 2; padding-top: 10px; }
  .step__d { grid-column: 2; }
  .reasons__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .soon__list { grid-template-columns: 1fr; }
  .soon__cta .btn { width: 100%; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .visual { transition: none; }
  .soon__badge i { animation: none; }
}


/* ==========================================================================
   v4 — arquitetura de páginas (landing pages, hubs, formulário, medição)
   ========================================================================== */

/* ---------- Acessibilidade ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy); color: var(--on-navy); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Nav: telefone + dropdown ---------- */
.nav__phone { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; font-weight: 600; white-space: nowrap; opacity: 0.9; }
.nav__phone:hover { opacity: 1; }
.nav__item { position: relative; }
.nav__item--menu > .nav__link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
.nav__item--menu > .nav__link svg { transition: transform 0.3s var(--ease-out); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 720px; max-width: calc(100vw - 40px);
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 40, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}
.menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.menu__link { display: block; min-width: 0; padding: 10px 12px; border-radius: 10px; transition: background 0.2s; }
.menu__link:hover { background: var(--paper-3); }
.menu__link span { display: block; font-weight: 600; font-size: 0.92rem; }
.menu__link small { display: block; font-size: 0.78rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: 0.9rem; }

/* menu mobile com grupo Soluções */
.mobile-menu__scroll { overflow-y: auto; max-height: 100%; padding-bottom: 20px; }
.mobile-menu__group { border-bottom: 1px solid var(--line-on-navy); }
.mobile-menu__group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border-bottom: 0; }
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group[open] summary svg { transform: rotate(180deg); }
.mobile-menu__group summary svg { transition: transform 0.3s; }
.mobile-menu__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 4px 0 16px; }
.mobile-menu__sub a { font-size: 0.95rem; color: var(--on-navy-2); padding: 6px 0; }
.mobile-menu__sub a.is-all { color: var(--gold); font-weight: 600; grid-column: 1 / -1; }
.mobile-menu { padding-top: 84px; }

/* ---------- Hero: categorias clicáveis ---------- */
.hero__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__cats a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.84rem; font-weight: 500; background: var(--paper-2); transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease-out); }
.hero__cats a:hover { border-color: var(--navy); transform: translateY(-1px); }
.hero__cats a.is-more { background: transparent; border-color: transparent; color: var(--gold-text); font-weight: 600; padding-left: 4px; }
.btn--phone { font-variant-numeric: tabular-nums; }

/* ---------- Faixa de prova ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__item { padding: 22px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item b { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.trust__item span { font-size: 0.82rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- Cabeçalho de página interna ---------- */
.page-head { position: relative; padding: calc(var(--nav-h) + clamp(28px, 4vw, 48px)) 0 clamp(28px, 4vw, 48px); }
.page-head--dark { padding-bottom: clamp(40px, 5vw, 64px); }
.page-head .h-display { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 820px; }
.crumbs { margin-bottom: 22px; font-size: 0.8rem; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.theme-dark .crumbs { color: var(--on-navy-3); }
.theme-dark .crumbs a:hover { color: var(--on-navy); }
.theme-dark .crumbs span[aria-current] { color: var(--on-navy-2); }

/* ---------- Landing page de categoria ---------- */
.lp-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(24px, 4vw, 44px)) 0 clamp(36px, 5vw, 64px); }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.lp-hero__title { font-size: clamp(2.1rem, 4vw, 3.4rem); max-width: 640px; }
.lp-hero__brands { margin-top: 26px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.lp-hero__brands b { color: var(--ink-2); font-weight: 600; }
.lp-hero__visual { position: relative; }
.pvisual { display: flex; align-items: center; justify-content: center; }
.pvisual--illu { aspect-ratio: 1 / 1; border-radius: 28px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.pvisual--illu svg { width: 92%; height: auto; overflow: visible; }
.pvisual--photo img { width: 100%; height: auto; max-height: 520px; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(10,22,40,0.28)); }
.lp-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lp-body__main { min-width: 0; }
.lp-body__side { position: relative; }
.sticky-box { position: sticky; top: calc(var(--nav-h) + 16px); }
.sticky-box .form-grid { grid-template-columns: 1fr; gap: 12px; }
.sticky-box .form-card { padding: 24px; }
.sticky-box .form-actions { flex-direction: column; align-items: stretch; }
.sticky-box .form-actions .btn { width: 100%; }
.prose p + p { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chip-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: 0.86rem; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--paper-2); }
.chip-link:hover { border-color: var(--navy); color: var(--ink); }
.bstrip__title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.bstrip__row { display: flex; flex-wrap: wrap; gap: 8px; }
.bstrip__row .brand { height: 60px; min-width: 120px; padding: 12px 18px; }
.bstrip__row .brand img { max-height: 26px; }
.bstrip__row .brand.is-tall img { max-height: 36px; }
.brand.is-text, .dist-logo.is-text { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--ink-2); }
.bstrip__note { margin-top: 12px; font-size: 0.85rem; color: var(--ink-3); }
.bstrip__note a { text-decoration: underline; }
.lp-body .steps { margin-top: 28px; }
.lp-body .h-section { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.lp-body .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lp-body .step__t { font-size: 1.02rem; }
.lp-body .step__d { font-size: 0.86rem; }

/* ---------- FAQ ---------- */
.faq__list { margin-top: 18px; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex-shrink: 0; color: var(--gold-text); transition: transform 0.3s var(--ease-out); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; color: var(--ink-2); max-width: 640px; }

/* ---------- Cards de categoria / relacionadas ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: var(--paper-2); border: 1px solid var(--line); transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card__visual { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card__visual .pvisual { width: 100%; height: 100%; }
.card__visual .pvisual--illu { aspect-ratio: auto; border: 0; border-radius: 0; background: transparent; }
.card__visual .pvisual--illu svg { width: 88%; }
.card__visual .pvisual--photo img { width: 74%; max-height: 100%; filter: drop-shadow(0 18px 24px rgba(10,22,40,0.22)); }
.card__t { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; margin-top: 4px; }
.card__d { font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; flex: 1; }
.card .link-arrow { font-size: 0.9rem; }

/* ---------- Hub de marcas ---------- */
.hub-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 24px; }
.hub-search { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; max-width: 360px; padding: 0 14px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink-3); }
.hub-search input { flex: 1; border: 0; background: none; font: inherit; color: var(--ink); outline: none; min-width: 0; }
.hub-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.84rem; font-weight: 500; background: var(--paper-2); color: var(--ink-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--navy); color: var(--ink); }
.chip.is-active { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.brand-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bcard { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.4s; }
.bcard:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.bcard[hidden] { display: none; }
.bcard__logo { height: 56px; display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.bcard__logo img { max-height: 26px; max-width: 100%; width: auto; height: auto; }
.bcard__logo.is-tall img { max-height: 40px; }
.bcard__logo.is-text { font-weight: 600; font-size: 0.82rem; text-align: center; color: var(--ink-2); }
.bcard__name { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.bcard__cats { margin-top: 3px; font-size: 0.78rem; color: var(--ink-3); line-height: 1.45; }
.bcard__cats a:hover { color: var(--ink); text-decoration: underline; }
.bcard__cta { font-size: 0.84rem; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.bcard__cta .arrow { transition: transform 0.3s var(--ease-out); }
.bcard__cta:hover .arrow { transform: translateX(3px); }
.hub-empty { margin-top: 20px; color: var(--ink-2); }
.hub-empty a { text-decoration: underline; }
.brand-grid--home { grid-template-columns: repeat(6, 1fr); }
.brand--lg { height: 96px; padding: 20px 26px; }
.brand--lg img { max-height: 44px; filter: none; opacity: 1; }
.brand-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }

/* ---------- Distribuidores ---------- */
.dist-logo--more { display: flex; align-items: center; justify-content: center; text-align: center; background: transparent; border: 1px dashed var(--line-on-navy-2); color: var(--on-navy-2); font-size: 0.82rem; font-weight: 600; line-height: 1.3; transition: border-color 0.3s, color 0.3s; }
.dist-logo--more:hover { border-color: var(--gold); color: var(--gold); }
.dist-grid--page { grid-template-columns: repeat(5, 1fr); }
.dist-grid--page .dist-logo { border: 1px solid var(--line); }

/* ---------- Ecossistema (sobre) ---------- */
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eco__item { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper-2); transition: border-color 0.3s, transform 0.3s var(--ease-out); }
.eco__item:hover { border-color: var(--line-2); transform: translateY(-2px); }
.eco__item b { display: block; font-weight: 600; font-size: 0.95rem; }
.eco__item span { display: block; font-size: 0.82rem; color: var(--ink-3); margin-top: 2px; }

/* ---------- Cotação (página) ---------- */
.quote--page { padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 48px)); }
.quote--page .crumbs { margin-bottom: 28px; }
.quote__points { margin-top: 22px; display: grid; gap: 8px; }
.quote__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--on-navy-2); }
.quote__points li::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 0.55em; }
.channels { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.channel--static { cursor: default; }
.channel--static:hover { transform: none; background: transparent; border-color: var(--line-on-navy); }
.channel__body { display: block; min-width: 0; }
.chips--links { display: flex; flex-wrap: wrap; gap: 8px; }
.thanks { padding-bottom: clamp(48px, 7vw, 96px); }
.thanks__box { margin-top: 32px; padding: 24px; border-radius: 20px; background: var(--paper-2); border: 1px solid var(--line); }
.thanks__box p { margin-bottom: 14px; }

/* ---------- Barra fixa de CTA (celular) ---------- */
.cta-bar { display: none; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-on-navy-2); display: flex; align-items: center; justify-content: center; color: var(--on-navy-2); transition: color 0.3s, border-color 0.3s; }
.footer__social a:hover { color: var(--gold); border-color: var(--gold); }
.footer__title { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.chapter__links { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.chapter__links .link-arrow { font-size: 0.95rem; }

/* ---------- Política (prosa legal) ---------- */
.prose--legal h2 { font-size: 1.2rem; margin: 28px 0 8px; letter-spacing: -0.01em; }
.prose--legal p, .prose--legal li { color: var(--ink-2); line-height: 1.65; }
.prose--legal ul { padding-left: 18px; list-style: disc; }
.prose--legal li + li { margin-top: 6px; }
.prose--legal a { text-decoration: underline; }
.prose--legal code { font-family: ui-monospace, Menlo, monospace; font-size: 0.9em; background: var(--paper-3); padding: 1px 5px; border-radius: 4px; }

/* ---------- Responsivo (v4) ---------- */
@media (max-width: 1180px) { .nav__phone { display: none; } }
@media (max-width: 1100px) {
  .brand-grid--home { grid-template-columns: repeat(4, 1fr); }
  .brand-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-body__grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .dist-grid--page { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-hero__grid { grid-template-columns: 1fr; }
  .lp-hero__visual { max-width: 520px; margin: 0 auto; }
  .lp-body__grid { grid-template-columns: 1fr; }
  .sticky-box { position: static; }
  .lp-body .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-head { grid-template-columns: 1fr; }
  .eco { grid-template-columns: 1fr; }
  .dist-grid--page { grid-template-columns: repeat(3, 1fr); }
  .cta-bar {
    display: grid; grid-template-columns: auto auto 1fr; gap: 8px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 22, 40, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--on-navy);
    transform: translateY(110%); transition: transform 0.4s var(--ease-out);
  }
  .cta-bar.is-visible { transform: none; }
  .cta-bar__wa, .cta-bar__phone { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 56px; height: 48px; border-radius: 12px; border: 1px solid var(--line-on-navy-2); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .cta-bar__wa svg, .cta-bar__phone svg { width: 20px; height: 20px; }
  .cta-bar__main { min-height: 48px; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 16px 14px; }
  .trust__item b { font-size: 0.92rem; }
  .trust__item span { font-size: 0.76rem; }
  .cards-3 { grid-template-columns: 1fr; }
  .brand-hub { grid-template-columns: 1fr; }
  .bcard { grid-template-columns: 76px 1fr auto; gap: 10px; }
  .bcard__logo { height: 50px; }
  .brand-grid--home { grid-template-columns: repeat(3, 1fr); }
  .hero__cats a { min-height: 34px; font-size: 0.8rem; padding: 0 12px; }
  .btn--phone { display: none; }
  .lp-hero__title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .dist-grid--page { grid-template-columns: repeat(2, 1fr); }
  .mobile-menu__sub { grid-template-columns: 1fr; }
  .page-head .h-display { font-size: clamp(1.9rem, 8vw, 2.5rem); }
}
