/* =========================================================
   531 Group | Assessoria em licitações | v1
   Estrutura: tokens, base, componentes, seções, responsivo.
   Para trocar a imagem hero, veja o bloco "IMAGEM HERO".
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink-950: #070e1f;
  --ink-900: #0a1429;
  --ink-800: #0e1b38;
  --navy: #172b52;
  --navy-2: #1f3766;

  --paper: #f3f5f9;
  --paper-2: #e6eaf2;
  --white: #ffffff;

  --text-d: #eaeff8;
  --muted-d: #a9b8d2;
  --line-d: rgba(234, 239, 248, 0.13);

  --text: #0e1b38;
  --muted: #475672;
  --line: #d3d9e6;

  --gold: #c9a227;
  --gold-hi: #e2c253;
  --gold-ink: #7a5f0c;
  --go: #237a47;
  --warn: #c9573d;
  --amber: #9a6b00;

  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  --radius: 2px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --hdr: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
  scrollbar-color: #2b4172 var(--ink-900);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  caret-color: var(--gold);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--ink-900); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: #2b4172; border: 2px solid var(--ink-900); }
::-webkit-scrollbar-thumb:hover { background: #3a5594; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.band--paper :focus-visible { outline-color: var(--navy-2); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink-900); padding: 10px 16px; font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Tipografia ---------- */
.h1, .h2 { font-weight: 500; letter-spacing: -0.032em; text-wrap: balance; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: 1.04; }
.h2 { font-size: clamp(1.85rem, 3.5vw, 3.05rem); line-height: 1.1; max-width: 20ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.lead--dark { color: var(--muted-d); }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent; --fg: var(--text-d); --bd: var(--line-d);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 26px; min-height: 52px;
  font: 600 0.78rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--fg); background: var(--bg);
  border: 1px solid var(--bd); border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}
.btn--gold { --bg: var(--gold); --fg: var(--ink-900); --bd: var(--gold); }
.btn--gold:hover { --bg: var(--gold-hi); --bd: var(--gold-hi); }
.btn--ghost:hover { --bd: var(--gold); --fg: var(--gold-hi); }
.btn--sm { padding: 12px 18px; min-height: 44px; font-size: 0.7rem; }
.btn--lg { padding: 21px 32px; min-height: 60px; font-size: 0.84rem; }
.btn:active { transform: translateY(1px); }
.arrow { position: relative; width: 22px; height: 1px; background: currentColor; flex: none; transition: width 0.3s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 30px; }

/* ---------- Cabeçalho ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.hdr.is-solid { background: var(--ink-900); border-color: var(--line-d); }
.hdr__row { height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__logo { display: block; flex: none; }
.hdr__logo img { height: 46px; width: auto; }
.hdr__nav { display: flex; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; }
.hdr__nav a { color: var(--muted-d); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 0; position: relative; transition: color 0.2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.hdr__nav a:hover { color: var(--white); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__actions { display: flex; align-items: center; gap: 12px; }
.hdr__menu { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-d); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.hdr__menu-bars, .hdr__menu-bars::before { content: ""; display: block; width: 18px; height: 1px; background: var(--white); position: relative; transition: transform 0.3s var(--ease); }
.hdr__menu-bars::before { position: absolute; top: -6px; left: 0; }
.hdr__menu[aria-expanded="true"] .hdr__menu-bars { transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-bars::before { transform: translateY(6px) rotate(-90deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-800); color: var(--text-d); padding-top: calc(var(--hdr) + clamp(36px, 6vw, 84px)); }
.hero__lines { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.hero__lines span { border-left: 1px solid var(--line-d); transform-origin: top; }
.hero__lines span:first-child { border-left-color: transparent; }
.hero__diagonal { position: absolute; right: 8%; top: -30%; width: 2px; height: 170%; background: linear-gradient(180deg, transparent, var(--gold) 45%, transparent); transform: rotate(28deg); opacity: 0.7; pointer-events: none; }

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__title { font-weight: 500; font-size: clamp(2.3rem, 4.25vw, 4.2rem); line-height: 1.05; letter-spacing: -0.038em; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .tl { display: block; }
.hero__title-in { display: block; }
.hero__title .accent { color: var(--gold-hi); }
.hero__lede { margin-top: clamp(22px, 3vw, 34px); max-width: 52ch; font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.58; color: var(--muted-d); text-wrap: pretty; }
.hero__actions { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; width: 100%; max-width: 470px; justify-self: end; }

/* ---------- IMAGEM HERO ---------- */
.hero-media {
  --hero-image: url("../assets/hero.jpg");
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-d);
  background: var(--hero-image) center bottom / cover no-repeat, radial-gradient(120% 80% at 50% 20%, #20396b, #0f1d3d 70%);
  position: relative;
  overflow: hidden;
}
.hero-media--placeholder {
  background:
    linear-gradient(142deg, transparent 0 49.6%, rgba(201, 162, 39, 0.5) 49.6% 50.1%, transparent 50.1%),
    repeating-linear-gradient(0deg, rgba(234, 239, 248, 0.06) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(234, 239, 248, 0.06) 0 1px, transparent 1px 36px),
    linear-gradient(180deg, #1c3360, #132447);
}
.hero-media__tag { position: absolute; left: 16px; bottom: 14px; font: 500 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-d); }
/* Para a imagem definitiva: .hero-media { --hero-image: url("../assets/hero.jpg"); } e remova a classe --placeholder do HTML. */

.float { position: absolute; background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 28px 48px -18px rgba(3, 8, 20, 0.7), 0 2px 6px rgba(3, 8, 20, 0.3); }
.float--parecer { left: -64px; top: auto; bottom: -50px; width: 268px; }
.float--portais { right: -28px; bottom: -78px; width: 262px; background: var(--navy); color: var(--text-d); border: 1px solid rgba(234, 239, 248, 0.2); }
.float__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.float__head .mono { color: var(--muted); }
.float__title { margin: 14px 0 12px; font-size: 0.98rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.float__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.86rem; }
.float__rows dt { color: var(--muted); }
.float__rows dd { font-weight: 600; }
.float__note { margin-top: 12px; font-size: 0.62rem; color: var(--muted); }
.float__label { color: var(--gold-hi); margin-bottom: 10px; }
.portals li { padding: 8px 0 8px 18px; font-size: 0.86rem; border-top: 1px solid var(--line-d); position: relative; color: var(--text-d); }
.portals li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }

.badge { display: inline-flex; align-items: center; gap: 7px; font: 600 0.72rem var(--mono); letter-spacing: 0.1em; padding: 4px 10px 4px 8px; border-radius: var(--radius); color: var(--white); background: var(--go); }
.badge i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.badge--lg { font-size: 1rem; padding: 8px 16px 8px 12px; }

.hero__bodies { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-d); }
.hero__bodies .mono { color: var(--gold-hi); }
.hero__bodies ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hero__bodies li { font-size: 0.95rem; color: var(--text-d); display: flex; align-items: center; gap: 28px; }
.hero__bodies li:not(:last-child)::after { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Faixas ---------- */
.band { position: relative; padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.band--paper { background: var(--paper); color: var(--text); }
.band--navy { background: var(--ink-800); color: var(--text-d); }
.band > .wrap { position: relative; }
.band__lines { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; }
.band__lines span { border-left: 1px solid rgba(234, 239, 248, 0.07); }
.band__lines span:first-child { border-left: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.split__body > .lead { margin-bottom: 40px; }
.ledger li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
.ledger li:last-child { border-bottom: 1px solid var(--line); }
.ledger strong { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.ledger span { color: var(--muted); font-size: 0.98rem; }

/* Método */
.method__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.method__head p { color: var(--muted-d); max-width: 44ch; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; counter-reset: s; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; }
.steps::before { right: 0; background: var(--line-d); }
.steps::after { width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); height: 2px; top: -0.5px; }
.step { position: relative; padding-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.step::before { content: ""; position: absolute; left: 0; top: -5px; width: 10px; height: 10px; background: var(--ink-800); border: 1px solid var(--gold); transform: rotate(45deg); transition: background 0.4s; }
.step.is-on::before { background: var(--gold); }
.step__n { color: var(--gold-hi); }
.step h3 { font-size: 1.28rem; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.step p { font-size: 0.96rem; color: var(--muted-d); line-height: 1.55; }
.step__out { margin-top: auto; min-height: 50px; padding-top: 14px; border-top: 1px solid var(--line-d); color: var(--text-d); font-size: 0.66rem; }
.method__foot { margin-top: clamp(40px, 6vw, 72px); max-width: 74ch; padding-top: 28px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 0.98rem; }

/* Parecer */
.par__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.par__head p { color: var(--muted); max-width: 44ch; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 70px -40px rgba(14, 27, 56, 0.45), 0 2px 8px rgba(14, 27, 56, 0.06); overflow: hidden; }
.panel__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 13px 22px; background: var(--ink-800); color: var(--text-d); }
.panel__fake { color: var(--gold-hi); }
.panel__grid { display: grid; grid-template-columns: 1fr 1.05fr 1.25fr 1fr; }
.panel__col { padding: 26px 24px 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel__col:first-child { border-left: 0; }
.panel__h { font: 600 0.74rem var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.panel__small { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.kv div { padding: 9px 0; border-top: 1px solid var(--line); }
.kv dt { font-size: 0.76rem; color: var(--muted); }
.kv dd { font-size: 0.97rem; font-weight: 500; line-height: 1.35; }
.verdict { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 6px; }
.verdict p { font-size: 0.9rem; line-height: 1.5; color: var(--text); }
.scores { display: flex; flex-direction: column; gap: 14px; }
.scores li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: baseline; font-size: 0.92rem; line-height: 1.35; }
.scores em { font-style: normal; color: var(--muted); grid-column: 2; grid-row: 1; }
.scores .bar { grid-row: 2; }
.bar { grid-column: 1 / -1; display: block; height: 4px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--v) * 1%); background: var(--ink-800); transition: width 1.1s var(--ease) 0.2s; }
.bar--warn i { background: var(--warn); }

.ruler { position: relative; height: 150px; margin: 6px 0 4px; }
.ruler__line { position: absolute; left: 0; right: 0; top: 78px; height: 4px; background: linear-gradient(90deg, var(--paper-2) 0 36%, var(--gold) 36% 62%, var(--paper-2) 62% 100%); }
.ruler__mark { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; height: 80px; text-align: center; }
.ruler__mark:nth-child(1) { transform: none; align-items: flex-start; }
.ruler__mark:nth-child(4) { transform: translateX(-100%); align-items: flex-end; }
.ruler__mark b { font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.ruler__mark em { font-style: normal; color: var(--muted); }
.ruler__mark::after { content: ""; flex: 1; width: 1px; background: var(--ink-800); }
.ruler__mark:nth-child(1)::after { align-self: flex-start; }
.ruler__mark:nth-child(4)::after { align-self: flex-end; }
.ruler__mark--floor b { color: var(--go); }
.ruler__mark--target b { color: var(--gold-ink); }
.ruler::after { content: "zona de lance"; position: absolute; left: 36%; width: 26%; top: 98px; text-align: center; font: 500 0.64rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }

.checks { display: flex; flex-direction: column; }
.checks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-size: 0.92rem; line-height: 1.35; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 17px; height: 17px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 11px; }
.checks .ok::before { background-color: var(--go); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='M2.5 6.4l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.checks .due::before { background-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M6 2.8V6l2.2 1.4'/%3E%3C/svg%3E"); }
.checks .miss::before { background-color: var(--warn); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='M3.4 3.4l5.2 5.2M8.6 3.4L3.4 8.6'/%3E%3C/svg%3E"); }

/* Mercado */
.market__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 104px); align-items: start; }
.market__intro { display: flex; flex-direction: column; gap: 28px; }
.market__intro p { color: var(--muted-d); max-width: 52ch; }
.figures { width: 100%; border-collapse: collapse; }
.figures tr { border-top: 1px solid var(--line-d); }
.figures tr:last-child { border-bottom: 1px solid var(--line-d); }
.figures th { text-align: left; font-weight: 400; color: var(--muted-d); font-size: 0.95rem; line-height: 1.45; padding: 24px 24px 24px 0; vertical-align: middle; width: 48%; }
.figures td { text-align: right; font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 3.1rem); letter-spacing: -0.03em; color: var(--white); padding: 20px 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.market__src { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted-d); max-width: 96ch; line-height: 1.55; }

/* Perfis */
.profiles { margin-top: clamp(36px, 5vw, 64px); }
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 12px clamp(20px, 4vw, 56px); padding: clamp(24px, 3vw, 38px) 0; border-top: 1px solid var(--line); align-items: baseline; }
.profile:last-child { border-bottom: 1px solid var(--line); }
.profile h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; }
.profile p { color: var(--muted); }
.profile__go { color: var(--gold-ink); line-height: 1.5; }

/* Clientes */
.names { margin: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.names li { padding: 18px 0; border-top: 1px solid var(--line-d); font-size: clamp(1.5rem, 3.6vw, 2.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; transition: color 0.3s, padding-left 0.4s var(--ease); }
.names li:last-child { border-bottom: 1px solid var(--line-d); }
.names li:hover { color: var(--gold-hi); padding-left: 14px; }
.names__more { color: var(--muted-d); font-weight: 300; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.quote { padding: 26px 28px 28px; border: 1px solid var(--line-d); border-top: 2px solid var(--gold); border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.quote__flag { color: var(--gold-hi); }
.quote blockquote p { font-size: 1.15rem; line-height: 1.5; color: var(--muted-d); font-weight: 300; }
.quote figcaption { font-size: 0.9rem; color: var(--muted-d); margin-top: auto; }
.quote figcaption b { color: var(--white); font-weight: 500; }

/* Dúvidas */
.split--faq { align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1px; background: var(--navy-2); transition: transform 0.35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--navy-2); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); max-width: 62ch; }

/* CTA final */
.final { padding-bottom: clamp(80px, 11vw, 150px); }
.hero__diagonal--final { right: 26%; opacity: 0.3; }
.final__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 7vw, 112px); align-items: end; }
.final .h1 { max-width: 17ch; }
.final .lead { margin: 26px 0 38px; }
.contact div { padding: 16px 0; border-top: 1px solid var(--line-d); }
.contact div:last-child { border-bottom: 1px solid var(--line-d); }
.contact dt { color: var(--gold-hi); margin-bottom: 4px; }
.contact dd { font-size: 1.1rem; line-height: 1.4; }
.contact a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); padding-bottom: 2px; }
.contact a:hover { background-size: 100% 1px; }

/* Rodapé */
.ftr { background: var(--ink-950); color: var(--muted-d); padding: 40px 0; }
.ftr__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.ftr img { height: 42px; width: auto; }
.ftr p { font-size: 0.9rem; line-height: 1.55; }
.ftr__small { margin-left: auto; font-size: 0.78rem !important; text-align: right; max-width: 52ch; }

/* Barra fixa no celular */
.dock { display: none; }

/* ---------- Movimento ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__title-in { transform: translateY(108%); animation: rise 1.1s var(--ease) 0.15s forwards; }
.js .hero__lede, .js .hero__actions, .js .hero__bodies { opacity: 0; animation: fade 0.9s var(--ease) forwards; }
.js .hero__lede { animation-delay: 0.65s; }
.js .hero__actions { animation-delay: 0.8s; }
.js .hero__bodies { animation-delay: 1.15s; }
.js .hero__lines span { transform: scaleY(0); animation: draw 1.5s var(--ease) forwards; }
.js .hero__lines span:nth-child(2) { animation-delay: 0.1s; }
.js .hero__lines span:nth-child(3) { animation-delay: 0.2s; }
.js .hero__lines span:nth-child(4) { animation-delay: 0.3s; }
.js .hero__lines span:nth-child(5) { animation-delay: 0.4s; }
.js .hero__lines span:nth-child(6) { animation-delay: 0.5s; }
.js .hero-media, .js .float { opacity: 0; animation: fade 1s var(--ease) forwards; }
.js .hero-media { animation-delay: 0.4s; }
.js .float--parecer { animation-name: floatIn; animation-delay: 0.95s; }
.js .float--portais { animation-name: floatIn; animation-delay: 1.15s; }
.js .panel:not(.is-in) .bar i { width: 0; }

@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { transform: scaleY(1); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__lede, .js .hero__actions, .js .hero__bodies, .js .hero-media, .js .float { opacity: 1; transform: none; }
  .js .hero__title-in, .js .hero__lines span { transform: none; }
  .js .panel:not(.is-in) .bar i { width: calc(var(--v) * 1%); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .float--parecer { left: -36px; }
  .float--portais { right: -12px; }
  .panel__grid { grid-template-columns: 1fr 1fr; }
  .panel__col:nth-child(3) { border-left: 0; }
  .panel__col:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 1024px) {
  .hdr__menu { display: inline-flex; }
  .hdr__row { gap: 16px; }
  .hdr__actions { margin-left: auto; }
  .hdr__nav { position: fixed; inset: var(--hdr) 0 auto 0; margin: 0; background: var(--ink-900); flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line-d); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; }
  .hdr__nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .hdr__nav a { padding: 16px 0; border-top: 1px solid var(--line-d); font-size: 0.9rem; }
  .hdr__nav a::after { display: none; }
  .hdr.is-open { background: var(--ink-900); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: start; max-width: 520px; margin: 24px 0 28px 40px; }
  .hero__lines { grid-template-columns: repeat(4, 1fr); }
  .hero__lines span:nth-child(n+5) { display: none; }

  .split, .method__head, .par__head, .market__grid, .final__grid { grid-template-columns: 1fr; }
  .market__grid .market__src { grid-column: auto; }
  .h2 { max-width: 24ch; }

  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .steps::before { right: auto; left: 0; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { left: -0.5px; top: 0; width: 2px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { padding: 0 0 36px 28px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { left: -33px; top: 4px; }
  .step__out { margin-top: 6px; max-width: 34ch; }

  .profile { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .ftr__small { margin-left: 0; text-align: left; }
}

@media (max-width: 760px) {
  :root { --hdr: 68px; }
  body { font-size: 1rem; padding-bottom: 76px; }
  .hdr__actions .btn { display: none; }
  .hdr__logo img { height: 42px; }
  .hero__visual { max-width: none; margin: 20px 0 28px 0; }
  .hero__visual { display: flex; flex-direction: column; }
  .float { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .float--parecer { width: min(300px, 86%); margin: -88px 0 0 14px; }
  .float--portais { width: min(280px, 82%); margin: 12px 0 0 auto; }
  .hero__bodies { flex-direction: column; align-items: flex-start; }
  .hero__bodies li { gap: 16px; }
  .hero__bodies ul { gap: 6px 16px; }
  .ledger li { grid-template-columns: 1fr; }
  .panel__grid { grid-template-columns: 1fr; }
  .panel__col { border-left: 0 !important; border-top: 1px solid var(--line); }
  .panel__col:first-child { border-top: 0; }
  .figures th { width: 52%; font-size: 0.86rem; padding-right: 14px; }
  .figures td { font-size: clamp(1.4rem, 7vw, 2rem); }
  .faq summary { font-size: 1.05rem; }
  .btn--lg { width: 100%; justify-content: space-between; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }

  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; align-items: center; justify-content: space-between; gap: 14px; padding: 0 22px; min-height: 54px; background: var(--gold); color: var(--ink-900); font: 600 0.78rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); box-shadow: 0 14px 30px -10px rgba(3, 8, 20, 0.7); transition: transform 0.4s var(--ease), opacity 0.3s; }
  .dock.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (max-width: 420px) {
  .hero__title { font-size: clamp(2.2rem, 11vw, 2.6rem); }
  .names li { font-size: 1.35rem; }
}

/* Planos (sem valores, CTA por plano) */
.band--mist { background: var(--paper-2); color: var(--ink-800); }
.band--mist :focus-visible { outline-color: var(--ink-800); }
.plans__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 60px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.plan--feat { background: var(--ink-800); color: var(--text-d); border-color: var(--ink-800); }
.plan h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.plan__sub { color: var(--muted); font-size: 0.95rem; }
.plan--feat .plan__sub { color: var(--muted-d); }
.plan__cap { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em; padding-bottom: 18px; border-bottom: 2px solid var(--gold); }
.plan__cap span { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.plan--feat .plan__cap span { color: var(--muted-d); }
.plan__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; flex: 1; }
.plan__list li { position: relative; padding-left: 20px; font-size: 0.96rem; line-height: 1.5; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--gold); }
.plan .btn { align-self: stretch; justify-content: space-between; }
.btn--ink { --bg: var(--ink-800); --fg: var(--white); --bd: var(--ink-800); }
.btn--ink:hover { --bg: var(--ink-900); --bd: var(--gold); }
.plans__note { margin-top: 24px; font-size: 0.88rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 1024px) { .plans { grid-template-columns: 1fr; } .plans__head { grid-template-columns: 1fr; } }
