/* =========================================================
   IAX Locações — estilo
   Tokens no :root; tema escuro via data-theme / sistema.
   ========================================================= */

:root {
  --page: #F4F5F7;
  --panel: #FFFFFF;
  --fg: #06164A;
  --body: #3A4150;
  --muted: #6B7280;
  --edge: rgba(11, 14, 20, .08);
  --edge-strong: rgba(11, 14, 20, .14);
  --field: #F3F4F6;

  --ink: #06164A;          /* azul-marinho IAX (superfícies escuras) */
  --ink-2: #151A23;
  --on-ink: #FFFFFF;

  --accent: #3AA10A;       /* verde IAX */
  --accent-text: #2B7F05;  /* verde p/ textos pequenos */
  --accent-2: #6CCB2E;
  --accent-ink: #FFFFFF;
  --wa: #1FAF5A;

  --glass: rgba(255, 255, 255, .68);
  --glass-edge: rgba(255, 255, 255, .7);
  --shadow-sm: 0 1px 2px rgba(11,14,20,.06), 0 2px 8px rgba(11,14,20,.04);
  --shadow-lg: 0 2px 6px rgba(11,14,20,.05), 0 24px 60px -18px rgba(11,14,20,.22);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.32, 1.15, .45, 1);   /* aproximação de mola p/ entradas */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #040A1C; --panel: #0B1430; --fg: #F3F5F8; --body: #B7BDC8; --muted: #8890A0;
    --edge: rgba(255,255,255,.08); --edge-strong: rgba(255,255,255,.16); --field: #111C3D;
    --ink: #0B1430; --ink-2: #111C3D; --accent: #4DB81A; --accent-text: #6CCB2E;
    --glass: rgba(11, 20, 48, .62); --glass-edge: rgba(255,255,255,.08);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #040A1C; --panel: #0B1430; --fg: #F3F5F8; --body: #B7BDC8; --muted: #8890A0;
  --edge: rgba(255,255,255,.08); --edge-strong: rgba(255,255,255,.16); --field: #111C3D;
  --ink: #0B1430; --ink-2: #111C3D; --accent: #4DB81A; --accent-text: #6CCB2E;
  --glass: rgba(11, 20, 48, .62); --glass-edge: rgba(255,255,255,.08);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 70px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
h1, h2, h3 { color: var(--fg); margin: 0; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--page); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- vidro (só elementos flutuantes) ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-edge);
}

/* ---------- header ---------- */
.nav {
  position: fixed; z-index: 50;
  top: max(12px, env(safe-area-inset-top)); left: 50%;
  translate: -50% 0;
  width: min(calc(100% - 24px), 1120px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), translate .45s var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-lg); }
.nav.is-hidden { translate: -50% calc(-100% - 24px); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand-mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
:root[data-theme="dark"] .brand-mark { color: #1C222D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark { color: #1C222D; } }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font: 800 1.08rem/1 var(--display); letter-spacing: -.02em; }
.brand-name b { font-weight: 600; color: var(--muted); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--body);
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--edge); color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent;
  display: grid; place-items: center; color: var(--fg);
  transition: background .2s, transform .1s var(--ease);
}
.icon-btn:hover { background: var(--edge); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

/* ---------- botões ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .12s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: .9rem; }
.btn-lg { --h: 56px; padding: 0 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--fg); color: var(--page); box-shadow: 0 8px 20px -8px rgba(11,14,20,.45); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(11,14,20,.5); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 28px -10px var(--accent); }
.btn-accent:hover { background: #2E8E07; }
.btn-light { background: #fff; color: #0B0E14; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--edge-strong); }
.btn-ghost:hover { background: var(--edge); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px -10px var(--wa); }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(120px + env(safe-area-inset-top)) 0 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.route path { fill: none; stroke-linecap: round; }
.route-base { stroke: var(--edge-strong); stroke-width: 2; stroke-dasharray: 2 10; }
.route-flow { stroke-width: 3; stroke-dasharray: 160 1400; animation: flow 7s linear infinite; }
.pin { fill: var(--page); stroke: var(--accent); stroke-width: 3; }
@keyframes flow { from { stroke-dashoffset: 1560; } to { stroke-dashoffset: 0; } }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.g1 { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(58,161,10,.45), transparent 65%); }
.g2 { width: 460px; height: 460px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(30,70,190,.32), transparent 65%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fg);
  padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--panel); box-shadow: var(--shadow-sm); border: 1px solid var(--edge);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(58,161,10,.18); }

.display {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 6.4vw, 5.1rem);
  line-height: 1.02; letter-spacing: -.035em;
  margin: 22px 0 18px; max-width: 15ch; text-wrap: balance;
}
.display-sm { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 14ch; margin: 0; }
.hl { background: linear-gradient(100deg, var(--accent-text) 0%, var(--accent) 60%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--body); max-width: 40ch; }

/* ---------- cards de caminho ---------- */
.paths { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 48px; }
.path-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  min-height: 340px;
  scroll-margin-top: 100px;
}
.path-card h2 { font: 700 clamp(1.7rem, 2.8vw, 2.3rem)/1.08 var(--display); letter-spacing: -.03em; margin-top: auto; }
.path-card p { font-size: 1.04rem; max-width: 36ch; }
.path-card .btn { align-self: flex-start; margin-top: 10px; }

.path-rent { background: var(--panel); border: 1px solid var(--edge); box-shadow: var(--shadow-lg); }
.path-own { background: var(--ink); color: rgba(255,255,255,.72); box-shadow: var(--shadow-lg); }
.path-own h2 { color: #fff; }
.path-own::after {
  content: ""; position: absolute; right: -90px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,161,10,.55), transparent 62%); filter: blur(10px); pointer-events: none;
}
:root[data-theme="dark"] .path-own { background: linear-gradient(160deg, #13204A, #0A1230); border: 1px solid rgba(255,255,255,.07); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .path-own { background: linear-gradient(160deg, #13204A, #0A1230); border: 1px solid rgba(255,255,255,.07); } }

.path-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chip { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--field); color: var(--fg); }
.chip-dark { background: rgba(255,255,255,.1); color: #fff; }
.path-icons { display: flex; gap: 10px; color: var(--muted); }
.path-own .path-icons { color: rgba(255,255,255,.5); }
.path-icons svg { height: 26px; width: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.note {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: .9rem; color: var(--muted);
}
.note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* ---------- seções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; scroll-margin-top: 60px; }
.section-head { margin-bottom: 36px; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.kicker-light { color: var(--accent-2); }
.title { font: 800 clamp(1.9rem, 4vw, 3rem)/1.05 var(--display); letter-spacing: -.032em; text-wrap: balance; }
.title-light { color: #fff; }

/* segmented control */
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 999px; background: var(--field); border: 1px solid var(--edge);
  margin-bottom: 28px;
}
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--muted); transition: color .3s var(--ease); white-space: nowrap; }
.seg button[aria-selected="true"] { color: var(--fg); }
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--panel); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--spring);
}
.seg[data-active="own"] .seg-thumb { transform: translateX(100%); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r-md);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.steps.swap .step { animation: stepIn .5s var(--ease) both; }
.steps.swap .step:nth-child(2) { animation-delay: .05s; }
.steps.swap .step:nth-child(3) { animation-delay: .1s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.n { display: inline-block; font: 700 .85rem/1 var(--display); color: var(--accent-text); padding: 8px 10px; border-radius: 10px; background: rgba(58,161,10,.1); margin-bottom: 26px; }
.step h3 { font: 700 1.22rem/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: .98rem; }

/* faixa escura */
.band { padding: 0 var(--gutter); }
.band-inner {
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  background: var(--ink); border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 64px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.band-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 120%, rgba(58,161,10,.35), transparent 70%),
              radial-gradient(400px 200px at 0% -20%, rgba(30,70,190,.15), transparent 70%);
}
.band-inner > * { position: relative; }
.band-text { color: rgba(255,255,255,.68); margin-top: 14px; max-width: 46ch; font-size: 1.04rem; }
:root[data-theme="dark"] .band-inner { border: 1px solid rgba(255,255,255,.07); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--panel); border: 1px solid var(--edge); border-radius: var(--r-md);
  padding: 0 22px; transition: box-shadow .3s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--fg); font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 0 22px; }

/* CTA final */
.final { padding: 0 0 clamp(72px, 10vw, 120px); }
.final-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; border-top: 1px solid var(--edge); padding-top: clamp(48px, 7vw, 80px); }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .92rem; }
:root[data-theme="dark"] .footer { background: #030817; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand .brand-mark { color: #1C222D; }
.footer-brand strong { display: block; color: #fff; font-family: var(--display); }
.footer-brand span { font-size: .84rem; }
.footer-links { display: flex; gap: 14px 28px; flex-wrap: wrap; }
.footer-links .sub { display: block; font-weight: 400; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-links a { text-decoration: none; color: #fff; font-weight: 500; }
.footer-links a:hover { color: var(--accent-2); }
.copy { grid-column: 1 / -1; font-size: .8rem; color: rgba(255,255,255,.38); border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }

/* botão flutuante */
.fab {
  position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); border: 0; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(31,175,90,.7);
  transition: transform .2s var(--ease), opacity .3s;
}
.fab svg { width: 28px; height: 28px; fill: currentColor; }
.fab:active { transform: scale(.92); }
body.sheet-open .fab { opacity: 0; pointer-events: none; }

/* ---------- sheet ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(5,7,10,.45);
  opacity: 0; transition: opacity .35s var(--ease);
}
.scrim.is-open { opacity: 1; }
.sheet {
  position: fixed; z-index: 70;
  left: 50%; top: 50%;
  width: min(520px, calc(100% - 32px));
  max-height: min(88vh, 820px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 30px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.45);
  padding: 34px 30px 30px;
  transform: translate(-50%, -46%) scale(.96); opacity: 0;
  transition: transform .5s var(--spring), opacity .3s var(--ease);
}
.sheet.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.grabber { display: none; }
.sheet-close { position: absolute; top: 14px; right: 14px; background: var(--field); }
.sheet-title { font: 800 1.9rem/1.1 var(--display); letter-spacing: -.03em; }
.sheet-sub { margin: 8px 0 22px; color: var(--muted); font-size: .96rem; }

.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.form[hidden], [hidden] { display: none !important; }
.form .kicker { margin-bottom: 2px; }
.row { display: flex; gap: 12px; }
.row > .field { flex: 1; min-width: 0; }
.row > .grow { flex: 2.2; }
.row > .narrow { flex: 1; }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.field > span, .toggle-group legend { font-size: .84rem; font-weight: 600; color: var(--fg); }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--field); border: 1.5px solid transparent; border-radius: 14px;
  padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none; min-width: 0;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field textarea:focus { outline: none; background: var(--panel); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(58,161,10,.14); }
.err { display: none; font-style: normal; font-size: .8rem; color: #E5484D; }
.field.invalid input { border-color: #E5484D; }
.field.invalid .err { display: block; }

.toggle-group { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toggle-group legend { margin-bottom: 6px; padding: 0; }
.toggle-group label { position: relative; }
.toggle-group input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.toggle-group span {
  display: grid; place-items: center; height: 48px; border-radius: 14px;
  background: var(--field); font-weight: 600; color: var(--muted); border: 1.5px solid transparent;
  transition: all .2s var(--ease);
}
.toggle-group input:checked + span { background: var(--panel); color: var(--fg); border-color: var(--fg); }
.toggle-group input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.form .btn-block { margin-top: 8px; }

/* toast */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: max(24px, env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; color: var(--fg); font-weight: 500; font-size: .92rem;
  box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center;
  transition: transform .45s var(--spring), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* revelação ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .paths { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .path-card h2 { margin-top: 26px; }
  .steps { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(100px + env(safe-area-inset-top)); padding-bottom: 56px; }
  .brand-name b { display: none; }
  .path-card .btn, .band-inner .btn, .final-actions .btn { width: 100%; }
  .final-actions { width: 100%; }
  .btn-lg { white-space: normal; text-align: center; }
  .seg { display: grid; width: 100%; }
  .seg button { padding: 10px 8px; }

  /* sheet vira "bottom sheet" no celular */
  .sheet {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%;
    max-height: 92vh; border-radius: 28px 28px 0 0;
    padding: 14px 20px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%); opacity: 1;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  }
  .sheet.is-open { transform: translateY(0); }
  .sheet.dragging { transition: none; }
  .grabber { display: block; width: 40px; height: 5px; border-radius: 99px; background: var(--edge-strong); margin: 0 auto 18px; }
  .sheet-close { top: 22px; }
  .sheet-title { font-size: 1.6rem; padding-right: 48px; }
}

/* ---------- acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-flow { animation: none; }
  .reveal { transform: none; transition: opacity .3s; }
  .sheet, .sheet.is-open { transition: opacity .2s; }
  .seg-thumb, .toast, .nav { transition-duration: .01s; }
  .steps.swap .step { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--panel); }
}

/* =========================================================
   Marca (logo vetorial) + WhatsApp em destaque
   ========================================================= */
.brand { gap: 10px; }
.brand-logo { height: 26px; width: auto; color: var(--fg); }
.brand-sub { font: 700 .66rem/1 var(--display); letter-spacing: .32em; color: var(--fg); padding-left: 10px; border-left: 1.5px solid var(--edge-strong); }
.footer-logo { width: 150px; height: auto; color: #fff; }
.sheet-logo { width: 92px; height: auto; color: var(--fg); margin-bottom: 14px; }

/* botão de ação do WhatsApp */
.wa-cta {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 16px 36px -12px rgba(31,175,90,.75), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s var(--ease), box-shadow .3s var(--ease), opacity .3s;
  -webkit-tap-highlight-color: transparent;
}
.wa-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(31,175,90,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.wa-cta:active { transform: scale(.96); }
.wa-ico { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.wa-ico svg { width: 24px; height: 24px; fill: currentColor; }
.wa-ico::before, .wa-ico::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); animation: waPulse 2.4s var(--ease) infinite;
}
.wa-ico::after { animation-delay: 1.2s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.wa-txt { display: grid; line-height: 1.15; }
.wa-txt b { font-size: .98rem; font-weight: 700; }
.wa-txt small { font-size: .76rem; opacity: .85; display: flex; align-items: center; gap: 6px; }
.wa-txt small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #B6FFCF; box-shadow: 0 0 0 3px rgba(182,255,207,.25); }
body.sheet-open .wa-cta { opacity: 0; pointer-events: none; }
.wa-cta.is-mini .wa-txt { display: none; }
.wa-cta.is-mini { padding: 7px; }

.btn-wa-solid { background: var(--wa); color: #fff; box-shadow: 0 10px 26px -10px var(--wa); }
.btn-wa-solid svg { width: 20px; height: 20px; fill: currentColor; }
.btn-wa-solid:hover { background: #1A9D50; }

@media (max-width: 600px) {
  .brand-logo { height: 22px; }
  .brand-sub { display: none; }
  .wa-cta { left: 16px; right: 16px; justify-content: center; padding: 6px 18px 6px 6px; }
  .wa-cta .wa-ico { width: 40px; height: 40px; }
  .wa-txt { grid-auto-flow: column; align-items: center; gap: 10px; }
  .wa-txt small { display: none; }
  .final { padding-bottom: 110px; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-ico::before, .wa-ico::after { animation: none; opacity: 0; }
}
.footer-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand > span { font-size: .84rem; }

/* =========================================================
   Fotos (hero, vitrine, faixa, CTA final)
   ========================================================= */
/* hero com foto do Marco das Três Fronteiras */
.hero { padding-top: calc(150px + env(safe-area-inset-top)); }
.hero-bg { inset: 0 0 auto 0; height: clamp(600px, 86vh, 860px); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.04); animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,10,28,.78) 0%, rgba(4,10,28,.45) 45%, rgba(4,10,28,.1) 75%),
    linear-gradient(180deg, rgba(4,10,28,.45) 0%, rgba(4,10,28,0) 30%, rgba(4,10,28,.35) 70%, var(--page) 100%);
}
.hero .eyebrow { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.22); box-shadow: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero .display { color: #fff; text-shadow: 0 2px 30px rgba(4,10,28,.35); }
.hero .hl { background: linear-gradient(100deg, #7EDB3F 0%, #4DB81A 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero .paths { margin-top: clamp(80px, 14vh, 150px); }

/* vitrine */
.showcase { padding-bottom: clamp(40px, 6vw, 72px); }
.showcase-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.showcase-lead { font-size: 1.08rem; margin: 16px 0 26px; max-width: 42ch; }
.photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; background: var(--field); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--fg); }
.photo-note { font-size: .78rem; color: var(--muted); margin-top: 18px; text-align: right; }

/* faixa de proprietários com foto */
.band-inner { min-height: 420px; }
.band-img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; z-index: 0; }
.band-inner::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(6,22,74,.96) 0%, rgba(6,22,74,.82) 45%, rgba(6,22,74,.35) 100%),
              radial-gradient(500px 260px at 95% 110%, rgba(58,161,10,.45), transparent 70%);
}
.band-inner > :not(.band-img) { z-index: 2; }

/* CTA final com foto */
.final-inner {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  border-top: 0; border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 88px) clamp(28px, 5vw, 64px);
  min-height: 420px; align-items: flex-end;
}
.final { padding-left: var(--gutter); padding-right: var(--gutter); }
.final-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.final-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4,10,28,.9) 0%, rgba(4,10,28,.55) 45%, rgba(4,10,28,.15) 100%); }
.final .display-sm { color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .photo-note { text-align: left; }
  .band-inner { min-height: 0; }
  .band-inner::before { background: linear-gradient(180deg, rgba(6,22,74,.97) 0%, rgba(6,22,74,.85) 55%, rgba(6,22,74,.55) 100%); }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(110px + env(safe-area-inset-top)); }
  .hero-bg { height: 620px; }
  .hero-img { object-position: 80% 50%; }
  .hero .paths { margin-top: 64px; }
  .final-inner { min-height: 460px; }
}
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }
@media (max-width: 600px) {
  .hero-shade { background: linear-gradient(180deg, rgba(4,10,28,.72) 0%, rgba(4,10,28,.62) 45%, rgba(4,10,28,.45) 75%, var(--page) 100%); }
}
