/* =========================================================
   VALLO CONTABILIDADE ESTRATÉGICA — Design System
   ========================================================= */
:root {
  /* Marca */
  --navy-950: #00131F;
  --navy-900: #001A2A;
  --navy-800: #0A2638;
  --petrol-700: #0E3445;
  --petrol-600: #164A5F;
  --gold-500: #C8955A;
  --gold-400: #D9AE7B;
  --gold-600: #A8763F;  /* destaque em títulos grandes sobre claro */
  --gold-700: #8A5E2C;  /* texto pequeno dourado sobre claro (AA) */
  --gold-100: #F5E9DA;
  --gold-50: #FBF5EE;

  /* Neutros */
  --white: #FFFFFF;
  --paper: #F7F5F1;
  --sand: #F1EEE9;
  --line: #E6E1D9;
  --line-strong: #D4CDC2;
  --ink: #0F1E2A;
  --ink-soft: #51606C;
  --ink-mute: #6B7883;

  /* Semânticos */
  --success: #1F7A4D;
  --danger: #B42318;

  /* Forma */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(0, 26, 42, .06);
  --shadow: 0 1px 2px rgba(0, 26, 42, .05), 0 14px 34px -14px rgba(0, 26, 42, .2);
  --shadow-lg: 0 30px 60px -20px rgba(0, 26, 42, .35);

  /* Movimento */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .25s;

  /* Tipografia */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', cursive;

  --header-h: 80px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
.h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 700; }
.h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.hl { color: var(--gold-600); }
.on-dark .hl, .hl-light { color: var(--gold-400); }
.lead { font-size: 1.0625rem; color: var(--ink-soft); max-width: 560px; }
.muted { color: var(--ink-soft); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.tag-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: .9375rem; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur), box-shadow var(--dur), color var(--dur), border-color var(--dur);
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { transition: transform var(--dur) var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--petrol-700); box-shadow: 0 12px 24px -10px rgba(0, 26, 42, .55); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); box-shadow: 0 12px 26px -10px rgba(200, 149, 90, .7); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; color: var(--navy-900); }
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover .i { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 26, 42, .5); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-900); }
.logo-word { font-size: 1.625rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.logo-word span { color: var(--gold-500); }
.logo-sub { font-size: .5625rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.35; padding-left: 12px; border-left: 1.5px solid var(--gold-500); color: var(--ink-soft); }
.logo-light { color: #fff; }
.logo-light .logo-sub { color: rgba(255, 255, 255, .7); }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 14px;
  font-size: .9375rem; font-weight: 600; color: var(--ink); border-radius: 999px;
  transition: color var(--dur), background-color var(--dur);
}
.nav-link:hover { color: var(--gold-700); }
.nav-link[aria-current="page"] { color: var(--gold-700); }
.nav-link .i { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  width: 340px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown.is-open > .nav-link .i { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r-sm); transition: background-color var(--dur); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--paper); }
.dropdown .d-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-900); color: var(--gold-400); display: grid; place-items: center; flex-shrink: 0; }
.dropdown b { display: block; font-size: .9375rem; }
.dropdown small { display: block; font-size: .8125rem; color: var(--ink-soft); line-height: 1.4; }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 19, 31, .5);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 88vw);
  background: #fff; padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
}
.mobile-nav.is-open .mobile-panel { transform: none; }
.mobile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-panel a.m-link { display: flex; align-items: center; min-height: 52px; font-weight: 700; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
.mobile-panel .m-group { padding: 4px 0 8px 14px; border-bottom: 1px solid var(--line); }
.mobile-panel .m-group span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); padding: 14px 0 4px; }
.mobile-panel .m-group a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink-soft); }
.mobile-panel .btn { margin-top: 20px; }

/* ---------- Seções ---------- */
.section { padding: 112px 0; position: relative; }
.section-sm { padding: 80px 0; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy-900); color: #fff; }

.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head h2 { margin-top: 18px; }
.section-head p { color: var(--ink-soft); }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center p { max-width: 640px; }
.on-dark .section-head p, .on-dark .muted { color: rgba(255, 255, 255, .7); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 120px;
  background:
    radial-gradient(900px 500px at 90% -10%, var(--gold-50), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #fff 100%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { margin-bottom: 26px; }
.checklist { display: grid; gap: 10px; margin-bottom: 32px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ink); font-weight: 500; }
.checklist .i { width: 20px; height: 20px; color: var(--gold-600); margin-top: 2px; }
.on-dark .checklist li { color: rgba(255, 255, 255, .88); }
.on-dark .checklist .i { color: var(--gold-400); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Composição visual: pessoa em círculo + cards flutuantes */
.visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.02; margin-left: auto; }
.visual-circle {
  position: absolute; left: 8%; right: 4%; bottom: 0; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--petrol-600), var(--navy-900) 70%);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 26, 42, .55);
}
.visual-circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .06); }
.visual-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.visual-ring { position: absolute; left: 3%; right: -1%; bottom: -5%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(168, 118, 63, .45); }
.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: .8125rem; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--navy-900); color: var(--gold-400); display: grid; place-items: center; flex-shrink: 0; }
.float-card b { display: block; font-size: .875rem; line-height: 1.3; }
.float-card small { display: block; color: var(--ink-soft); font-size: .75rem; line-height: 1.3; }
.fc-1 { left: -4%; bottom: 14%; }
.fc-2 { right: -2%; top: 30%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.stamp { position: absolute; right: 2%; top: 0; width: 120px; height: 120px; z-index: 2; }
.stamp-bg { position: absolute; inset: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.stamp svg.stamp-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp svg.stamp-text text { font-size: 10.5px; font-weight: 700; letter-spacing: 2.2px; fill: var(--navy-900); text-transform: uppercase; }
.stamp-core { position: absolute; inset: 32%; border-radius: 50%; background: var(--navy-900); display: grid; place-items: center; color: var(--gold-500); font-weight: 800; font-size: 1.4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Barra de benefícios sob o hero (páginas internas) */
.benefit-bar { position: relative; z-index: 3; margin-top: -64px; }
.benefit-bar .box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.benefit-bar .item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 24px; font-weight: 700; font-size: .9375rem; }
.benefit-bar .item + .item { border-left: 1px solid var(--line); }
.benefit-bar .b-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; flex-shrink: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--gold-400);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: background-color .35s, color .35s, transform .35s var(--ease);
}
.card:hover .card-ic { background: var(--gold-500); color: var(--navy-950); transform: rotate(-6deg); }
.card h3 { font-size: 1.1875rem; margin-bottom: 10px; letter-spacing: -.015em; }
.card p { color: var(--ink-soft); font-size: .9375rem; line-height: 1.6; }
.card .link-arrow { margin-top: auto; padding-top: 22px; }
.card-num { position: absolute; top: 26px; right: 28px; font-size: .8125rem; font-weight: 700; color: var(--ink-mute); }
.card-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-dark { background: var(--navy-900); color: #fff; border-color: transparent; overflow: hidden; }
.card-dark p { color: rgba(255, 255, 255, .72); }
.card-dark .card-ic { background: var(--gold-500); color: var(--navy-950); }
.card-dark .link-arrow { color: var(--gold-400); }
.card-dark::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(200, 149, 90, .08); }

.card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; padding: 36px 40px; }
.card-wide .card-ic { margin-bottom: 0; }
.card-wide .cw-text { flex: 1; }
.card-wide .cw-text p { max-width: 620px; }
.card-wide .btn { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .card-wide { flex-direction: column; align-items: flex-start; padding: 30px 28px; }
}

/* ---------- Tabs (Excelência contábil) ---------- */
.tabs-list { display: inline-flex; gap: 6px; padding: 6px; background: var(--sand); border-radius: 999px; flex-wrap: wrap; justify-content: center; }
.tab-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: .875rem; color: var(--ink-soft);
  transition: background-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-selected="true"] { background: var(--navy-900); color: #fff; box-shadow: 0 8px 18px -10px rgba(0, 26, 42, .6); }
.tab-panel { animation: fadeUp .45s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-visual { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.split-visual .blob { aspect-ratio: 1; border-radius: 50%; background: var(--navy-900); overflow: hidden; position: relative; }
.split-visual .blob img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.split-visual .float-card { bottom: 8%; left: -6%; }
.split-visual .float-card.fc-top { top: 6%; bottom: auto; left: auto; right: -6%; animation-delay: -2s; }

.feature-list { display: grid; gap: 18px; margin: 28px 0 32px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .f-ic { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--gold-700); display: grid; place-items: center; flex-shrink: 0; }
.feature b { display: block; font-size: 1rem; margin-bottom: 2px; }
.feature p { font-size: .9375rem; color: var(--ink-soft); line-height: 1.55; }
.on-dark .feature .f-ic { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--gold-400); }
.on-dark .feature p { color: rgba(255, 255, 255, .7); }

.hand-note { position: absolute; font-family: var(--hand); font-size: 1.6rem; color: var(--gold-700); line-height: 1; display: flex; align-items: center; gap: 6px; transform: rotate(-6deg); }
.hand-note svg { width: 56px; height: 40px; }

/* ---------- Método Vallo (seção escura) ---------- */
.method { overflow: hidden; }
.method::before {
  content: ""; position: absolute; top: 0; left: -8%; width: 52%; height: 100%;
  background: var(--petrol-700); clip-path: polygon(0 0, 100% 0, 40% 100%, 0 75%); opacity: .5;
}
.method::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 92% 15%, rgba(200, 149, 90, .14), transparent 70%); pointer-events: none; }
.method .container { position: relative; z-index: 1; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 72px; }
.pillar { padding: 28px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.pillar:hover { background: rgba(255, 255, 255, .07); border-color: rgba(200, 149, 90, .45); transform: translateY(-4px); }
.pillar .p-num { font-size: .8125rem; font-weight: 700; color: var(--gold-400); letter-spacing: .1em; }
.pillar h3 { font-size: 1.375rem; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .02em; }
.pillar p { color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.pillar .card-ic { background: rgba(200, 149, 90, .14); color: var(--gold-400); margin: 18px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 1.5px; background: repeating-linear-gradient(90deg, rgba(200, 149, 90, .6) 0 8px, transparent 8px 16px); }
.step { text-align: center; padding: 0 24px; position: relative; }
.step .s-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); display: grid; place-items: center; margin: 0 auto 20px; font-weight: 800; box-shadow: 0 0 0 8px rgba(200, 149, 90, .15); }
.step h3 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, .7); font-size: .9375rem; max-width: 280px; margin: 0 auto; }
.light-steps .step p { color: var(--ink-soft); }
.light-steps .step .s-dot { background: var(--navy-900); color: var(--gold-400); box-shadow: 0 0 0 8px var(--gold-100); }

.quote-band { margin-top: 72px; padding: 36px 40px; border-radius: var(--r-lg); background: var(--sand); color: var(--navy-900); display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.quote-band blockquote { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.35; max-width: 760px; }
.quote-band blockquote::before { content: "“"; color: var(--gold-600); }
.quote-band blockquote::after { content: "”"; color: var(--gold-600); }

/* ---------- Segmentos ---------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.segment {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate;
  background: var(--navy-800);
}
.segment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.segment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 19, 31, 0) 35%, rgba(0, 19, 31, .92) 100%); transition: background .4s; }
.segment:hover img { transform: scale(1.06); }
.segment .seg-body { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.segment .seg-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-500); color: var(--navy-950); display: grid; place-items: center; margin-bottom: 14px; }
.segment h3 { font-size: 1.125rem; line-height: 1.25; }
.segment p { font-size: .875rem; color: rgba(255, 255, 255, .78); margin-top: 6px; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s; }
.segment:hover p, .segment:focus-within p { max-height: 120px; opacity: 1; }

/* ---------- Report / Dashboard (toque Marvee) ---------- */
.report-wrap { position: relative; }
.dash {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: .8125rem;
}
.dash-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dash-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dash-top span { margin-left: 10px; font-weight: 700; color: var(--ink-soft); font-size: .75rem; }
.dash-body { padding: 22px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi small { display: block; color: var(--ink-mute); font-weight: 600; font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; }
.kpi b { display: block; font-size: 1.25rem; letter-spacing: -.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.kpi .up { color: var(--success); font-weight: 700; font-size: .75rem; }
.kpi .down { color: var(--success); font-weight: 700; font-size: .75rem; }
.chart-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.chart-box .c-head { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 14px; }
.chart-box .c-head small { color: var(--ink-mute); font-weight: 600; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.chart-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--sand); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.chart-bars span.hi { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); }
.is-visible .chart-bars span { transform: scaleY(1); }
.chart-bars span:nth-child(2) { transition-delay: .06s; } .chart-bars span:nth-child(3) { transition-delay: .12s; }
.chart-bars span:nth-child(4) { transition-delay: .18s; } .chart-bars span:nth-child(5) { transition-delay: .24s; }
.chart-bars span:nth-child(6) { transition-delay: .3s; } .chart-bars span:nth-child(7) { transition-delay: .36s; }
.chart-bars span:nth-child(8) { transition-delay: .42s; }
.chart-x { display: flex; gap: 10px; margin-top: 8px; }
.chart-x em { flex: 1; text-align: center; font-style: normal; font-size: .6875rem; color: var(--ink-mute); }
.insight { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--gold-50); border: 1px solid var(--gold-100); }
.insight .i { color: var(--gold-700); margin-top: 1px; }
.insight b { display: block; font-size: .8125rem; }
.insight p { font-size: .8125rem; color: var(--ink-soft); line-height: 1.45; }
.chat-bubble {
  position: absolute; left: -36px; top: -28px; z-index: 2; max-width: 250px;
  background: var(--navy-900); color: #fff; border-radius: 18px 18px 18px 4px; padding: 14px 16px; font-size: .8125rem; line-height: 1.45;
  box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite;
}
.chat-bubble b { color: var(--gold-400); display: block; margin-bottom: 2px; }

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy-900); color: #fff;
  padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(200, 149, 90, .08); }
.cta-band::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--gold-500); }
.cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255, 255, 255, .72); margin-top: 10px; max-width: 520px; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Rotating text ring ---------- */
.ring-visual { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; justify-self: center; }
.ring-visual .rt { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.ring-visual .rt text { font-size: 25px; font-weight: 800; fill: var(--navy-900); letter-spacing: 1px; }
.ring-visual .rt text tspan.g { fill: var(--gold-600); }
.ring-visual .inner { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; background: var(--navy-900); }
.ring-visual .inner img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ring-visual .float-card { left: 6%; bottom: 14%; }

/* ---------- Formulário (seção escura) ---------- */
.contact { overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 149, 90, .16), transparent 65%); }
.contact::after { content: ""; position: absolute; left: -10%; bottom: 0; width: 45%; height: 70%; background: var(--petrol-700); opacity: .35; clip-path: polygon(0 30%, 100% 100%, 0 100%); }
.contact .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact .mini-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.mini-feat .mf-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(200, 149, 90, .14); color: var(--gold-400); display: grid; place-items: center; margin-bottom: 12px; }
.mini-feat b { display: block; margin-bottom: 4px; }
.mini-feat p { color: rgba(255, 255, 255, .68); font-size: .9rem; line-height: 1.55; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255, 255, 255, .88); min-height: 44px; }
.contact-direct a:hover { color: var(--gold-400); }
.contact-direct .i { color: var(--gold-400); }

.form-card { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.375rem; margin-bottom: 6px; }
.form-card > p { color: var(--ink-soft); font-size: .9375rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--paper); font-size: 1rem; transition: border-color var(--dur), background-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); background: #fff; box-shadow: 0 0 0 4px rgba(200, 149, 90, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FEF6F5; }
.field .err { font-size: .8125rem; color: var(--danger); font-weight: 600; display: none; }
.field.has-error .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy-900); flex-shrink: 0; }
.consent a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 2px; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600; align-items: center; gap: 10px; }
.form-status.ok { display: flex; background: #EAF6EF; color: var(--success); }
.form-status.fail { display: flex; background: #FEF3F2; color: var(--danger); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label-icon { display: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color var(--dur), box-shadow var(--dur); }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: .9875rem; min-height: 64px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; flex-shrink: 0; transition: transform var(--dur) var(--ease), background-color var(--dur), color var(--dur); }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--navy-900); color: #fff; }
.faq-item .faq-a { padding: 0 22px 22px; color: var(--ink-soft); font-size: .9375rem; }

/* ---------- CTA final com foto ---------- */
.final-cta { position: relative; overflow: hidden; padding: 120px 0; background: var(--sand); isolation: isolate; }
.final-cta img { position: absolute; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; z-index: -2; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--sand) 42%, rgba(241, 238, 233, .85) 55%, rgba(241, 238, 233, 0) 80%); }
.final-cta .content { max-width: 540px; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .75rem; color: var(--ink-mute); font-weight: 600; }
.post-cat { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.post-card h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.01em; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: .9rem; color: var(--ink-soft); }
.post-card .link-arrow { margin-top: auto; font-size: .875rem; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter-btn { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 700; font-size: .875rem; color: var(--ink-soft); background: #fff; transition: all var(--dur); }
.filter-btn:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--navy-900); color: #fff; border-radius: var(--r-xl); overflow: hidden; margin-bottom: 56px; position: relative; }
.featured-post .thumb { min-height: 380px; }
.featured-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-post .fp-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-post h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.featured-post h2 a::after { content: ""; position: absolute; inset: 0; }
.featured-post p { color: rgba(255, 255, 255, .72); }
.featured-post .post-cat { color: var(--gold-400); }
.featured-post .post-meta { color: rgba(255, 255, 255, .6); }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: var(--r-xl); background: var(--sand); }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { flex: 1; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 1rem; min-width: 0; }
.newsletter input:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 4px rgba(200, 149, 90, .25); }

/* Artigo */
.article-hero { padding: 64px 0 48px; background: var(--paper); }
.article-hero .container { max-width: 860px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8125rem; color: var(--ink-mute); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--navy-900); text-decoration: underline; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 18px; }
.article-cover { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.article-cover img { border-radius: var(--r-xl); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px 32px; font-size: 1.0625rem; line-height: 1.8; color: #263540; }
.prose h2 { font-size: 1.625rem; margin: 48px 0 16px; color: var(--ink); }
.prose h3 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--ink); }
.prose p { margin-bottom: 20px; }
.prose ul { list-style: none; margin: 0 0 24px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold-500); transform: rotate(45deg); }
.prose .callout { padding: 24px 28px; border-radius: var(--r); background: var(--gold-50); border-left: 4px solid var(--gold-500); margin: 32px 0; }
.prose .callout b { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: .9375rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--sand); font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.author-box { max-width: 720px; margin: 0 auto 80px; padding: 0 24px; }
.author-box > div { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.author-box .av { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--gold-500); display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }
.author-box p { font-size: .9rem; color: var(--ink-soft); }

/* Processo (abertura) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 32px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.process-step .ps-num { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--gold-100); letter-spacing: -.04em; -webkit-text-stroke: 1.5px var(--gold-500); margin-bottom: 18px; }
.process-step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.process-step p { font-size: .9375rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 88px 0 0; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 64px; }
.footer p { line-height: 1.7; margin: 20px 0 24px; max-width: 320px; }
.footer .f-title { color: #fff; font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { display: grid; gap: 4px; }
.footer ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; transition: color var(--dur); }
.footer ul a:hover { color: var(--gold-400); }
.footer .contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.footer .contact-list .i { color: var(--gold-500); margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; color: #fff; transition: background-color var(--dur), border-color var(--dur), color var(--dur); }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #1FAF5A; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(31, 175, 90, .7); transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .i { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FAF5A; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Página legal ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .grid-4, .pillars, .segments, .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .hero { padding: 40px 0 112px; }
  .hero .container, .split, .contact .container, .featured-post, .newsletter { grid-template-columns: 1fr; }
  .visual { margin: 24px auto 0; max-width: 440px; }
  .split { gap: 48px; }
  .split.reverse-mobile .split-visual { order: -1; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .benefit-bar .box { grid-template-columns: 1fr; }
  .benefit-bar .item { justify-content: flex-start; }
  .benefit-bar .item + .item { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .quote-band, .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 44px 32px; }
  .faq-grid { grid-template-columns: 1fr; }
  .final-cta img { width: 100%; opacity: .25; }
  .final-cta::before { background: linear-gradient(90deg, var(--sand) 30%, rgba(241, 238, 233, .7)); }
  .chat-bubble { left: 0; }
  .featured-post .thumb { min-height: 240px; }
  .featured-post .fp-body { padding: 32px; }
  .hand-note { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .logo-sub { display: none; }
  .grid-2, .grid-3, .grid-4, .pillars, .process, .contact .mini-feats { grid-template-columns: 1fr; }
  .segments { grid-template-columns: 1fr 1fr; gap: 12px; }
  .segment { aspect-ratio: 3 / 4.2; }
  .segment .seg-body { left: 14px; right: 14px; bottom: 14px; }
  .segment h3 { font-size: .9375rem; }
  .segment .seg-ic { width: 34px; height: 34px; margin-bottom: 10px; }
  .segment p { display: none; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .stamp { width: 96px; height: 96px; }
  .stamp svg.stamp-text text { font-size: 10px; }
  .float-card { padding: 10px 12px; }
  .float-card .fc-ic { width: 32px; height: 32px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { grid-column: 1 / -1; }
  .chat-bubble { position: relative; left: auto; top: auto; margin-bottom: 14px; max-width: none; animation: none; }
  .btn-row .btn { width: 100%; }
  .newsletter { padding: 32px 20px; }
  .newsletter form { flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .quote-band { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-bars span { transform: none; }
}

/* Legenda de imagem ilustrativa */
.fig-note { margin-top: 12px; font-size: .75rem; color: var(--ink-mute); text-align: right; }

/* Cabeçalho: logo · Home · Solução · Hub de Soluções · Blog · Área do Cliente
   Computador: barra larga, links grandes. Telas menores: só logo, Área do Cliente e botão de menu. */
.header .container { max-width: 1360px; padding: 0 40px; }
.header nav:not(.menu-celular) { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list { gap: 14px; }
.nav-link { white-space: nowrap; font-size: 1.125rem; font-weight: 600; padding: 0 22px; height: 52px; }
@media (min-width: 1025px) { :root { --header-h: 92px; } }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.client-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 5px 20px 5px 6px; border-radius: 999px; font-size: .9375rem; font-weight: 700; color: #fff; background: var(--navy-900); white-space: nowrap; transition: background-color var(--dur), box-shadow var(--dur); }
.client-link:hover { background: var(--petrol-700); box-shadow: 0 10px 22px -12px rgba(0, 26, 42, .7); }
.cl-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); display: inline-grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: 1rem; line-height: 1; }
.logo-word { font-size: 1.75rem; }

.menu-btn { display: none; width: 48px; height: 48px; border-radius: 10px; place-items: center; color: var(--navy-900); background: var(--sand); transition: background-color var(--dur); }
.menu-btn:hover { background: var(--line); }

/* Menu aberto (telas menores), no estilo da Âncora Verde: lista simples logo abaixo da barra */
.menu-celular { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0, 26, 42, .45); max-height: calc(100dvh - 70px); overflow-y: auto; }
.menu-celular > ul { padding: 0 0 8px; }
.menu-celular a, .menu-celular .mc-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 56px; padding: 0 24px; font-size: 1.125rem; font-weight: 500; color: var(--ink); text-align: left; transition: background-color var(--dur); }
.menu-celular a:hover, .menu-celular .mc-toggle:hover { background: var(--paper); }
.menu-celular a[aria-current="page"] { background: var(--gold-100); font-weight: 600; }
.menu-celular .mc-toggle .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.menu-celular .mc-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.menu-celular .mc-sub a { padding-left: 44px; min-height: 50px; font-size: 1.0625rem; color: var(--ink-soft); }
.menu-celular .mc-cliente { font-weight: 700; gap: 12px; }
.menu-celular .mc-cliente .cl-ic { width: 32px; height: 32px; }

@media (max-width: 1200px) {
  .header .container { padding: 0 24px; }
  .nav-list { gap: 6px; }
  .nav-link { padding: 0 16px; font-size: 1.0625rem; }
}
@media (max-width: 1024px) {
  .header nav:not(.menu-celular) { display: none; }
  .menu-btn { display: grid; }
  .header-actions .client-link { display: none; }
}
@media (max-width: 600px) {
  .header .container { padding: 0 16px; }
  .logo-word { font-size: 1.5rem; }
  .menu-celular a, .menu-celular .mc-toggle { padding: 0 16px; }
  .menu-celular .mc-sub a { padding-left: 36px; }
}
@media (max-width: 360px) { .logo-sub { display: none; } }

/* =========================================================
   Vallo Insights — telas simuladas da plataforma
   ========================================================= */
.insights-hero { position: relative; padding: 88px 0 0; text-align: center; }
.insights-hero .container { display: block; }
.insights-hero h1 { max-width: 860px; margin: 22px auto 20px; }
.insights-hero .lead { margin: 0 auto 32px; max-width: 680px; color: rgba(255, 255, 255, .75); }
.insights-hero .btn-row { justify-content: center; margin-bottom: 64px; }
.insights-hero .shot { position: relative; max-width: 1040px; margin: 0 auto; transform: translateY(1px); }
.insights-hero .shot::before { content: ""; position: absolute; inset: 10% -6% -10%; background: radial-gradient(closest-side, rgba(200, 149, 90, .28), transparent); z-index: -1; filter: blur(10px); }
.brand-insights { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 800; letter-spacing: .02em; }
.brand-insights span { color: var(--gold-500); font-weight: 600; letter-spacing: 0; }

.app-mock {
  display: grid; grid-template-columns: 200px 1fr; text-align: left;
  background: #fff; color: var(--ink); border-radius: 18px 18px 0 0; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); font-size: .8125rem;
}
.am-side { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.am-side .brand-insights { color: #fff; font-size: 1rem; padding: 0 8px 18px; }
.am-side span.it { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-weight: 600; }
.am-side span.it .i { width: 16px; height: 16px; }
.am-side span.it.on { background: rgba(200, 149, 90, .16); color: var(--gold-400); }
.am-main { padding: 22px 24px 26px; background: var(--paper); display: grid; gap: 16px; }
.am-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.am-top b { font-size: 1.05rem; letter-spacing: -.01em; }
.am-top small { display: block; color: var(--ink-mute); font-weight: 600; }
.am-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; background: var(--navy-900); color: #fff; font-weight: 700; font-size: .75rem; }
.am-pill .i { width: 14px; height: 14px; color: var(--gold-400); }
.am-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.am-kpis .kpi { background: #fff; }
.am-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.am-grid .chart-box { background: #fff; }
.alerts { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.alerts > b { font-size: .8125rem; }
.alert { display: flex; gap: 10px; align-items: flex-start; font-size: .75rem; line-height: 1.45; color: var(--ink-soft); }
.alert i { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; background: var(--gold-500); }
.alert i.ok { background: var(--success); }
.alert b { color: var(--ink); display: block; font-size: .78rem; }

/* Folha de relatório PDF */
.pdf-stage { position: relative; max-width: 460px; width: 100%; justify-self: center; padding: 20px 0 10px; }
section:has(> .container > .pdf-stage) { overflow-x: clip; }
.pdf-sheet { background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 1 / 1.3; overflow: hidden; transform: rotate(-2deg); font-size: .6875rem; color: var(--ink-soft); }
.pdf-sheet.back { position: absolute; inset: 20px 0 10px; transform: rotate(3deg) translate(6px, 6px) scale(.97); opacity: .7; }
.pdf-head { background: var(--navy-900); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.pdf-head .logo-word { font-size: 1.1rem; }
.pdf-head small { color: rgba(255, 255, 255, .7); font-size: .625rem; text-align: right; line-height: 1.4; }
.pdf-body { padding: 18px 22px; display: grid; gap: 14px; }
.pdf-body h4 { font-size: .75rem; color: var(--ink); letter-spacing: 0; }
.pdf-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pdf-kpis div { border: 1px solid var(--line); border-radius: 6px; padding: 8px; }
.pdf-kpis b { display: block; color: var(--ink); font-size: .8125rem; }
.pdf-lines i { display: block; height: 6px; border-radius: 3px; background: var(--sand); margin-bottom: 6px; }
.pdf-table { width: 100%; border-collapse: collapse; }
.pdf-table td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.pdf-table td:last-child { text-align: right; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.pdf-badge { position: absolute; right: -8px; bottom: 18%; z-index: 2; }

@media (max-width: 900px) {
  .app-mock { grid-template-columns: 1fr; }
  .am-side { display: none; }
  .am-kpis { grid-template-columns: repeat(2, 1fr); }
  .am-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .insights-hero { padding-top: 56px; }
  .am-main { padding: 16px; }
  .am-top .am-pill { display: none; }
  .pdf-badge { right: 0; }
}

/* Colunas de grade podem encolher abaixo do conteúdo (evita rolagem lateral em telas de 320px) */
.split > *, .hero .container > *, .contact .container > *, .section-head > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.footer-grid > * { min-width: 0; }
.contact-direct a, .footer .contact-list a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
}


/* Aviso de cookies (só aparece quando o Analytics está ligado) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; align-items: center; gap: 16px; font-size: .875rem; color: var(--ink-soft); }
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 600px) { .cookie-bar { flex-direction: column; align-items: stretch; bottom: 88px; } .cookie-actions .btn { flex: 1; } }
