/* =========================================================
   Pare Seguro — Home
   Base escura (grafite do logo) e branca; o amarelo da marca
   entra como destaque: preço, CTA e detalhes. Títulos em
   Raleway, texto em Open Sans.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --yellow: oklch(0.863 0.176 89.8);      /* #FFCB05 — amarelo da van/fachada */
  --yellow-hi: oklch(0.9 0.16 92);
  --yellow-soft: oklch(0.965 0.045 92);   /* fundo de ícone / destaque leve */
  --red-brand: oklch(0.603 0.235 27);     /* #ED1C24 — só no logo e detalhes */
  --ink: oklch(0.244 0.006 0.6);          /* #231F20 — grafite do logo */
  --ink-deep: oklch(0.2 0.006 0.6);
  --ink-2: oklch(0.3 0.007 0.6);
  --ink-3: oklch(0.38 0.008 0.6);

  /* Neutros (croma zero) */
  --white: oklch(1 0 0);
  --surface: oklch(0.972 0 0);
  --line: oklch(0.9 0 0);
  --muted: oklch(0.46 0.008 358);         /* 7:1 sobre branco */
  --on-ink: oklch(0.97 0 0);
  --on-ink-muted: oklch(0.8 0.004 0);     /* 9:1 sobre grafite */
  --on-ink-line: oklch(1 0 0 / 0.12);

  /* Tipografia */
  --font-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-body: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.1vw, 3rem);
  --fs-h1: clamp(2.2rem, 1.35rem + 3vw, 3.75rem);

  /* Espaço */
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Camadas */
  --z-sticky: 100;
  --z-menu: 110;
  --z-cta: 120;
  --z-consent: 130;

  --header-h: 76px;
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.015em; text-wrap: balance;
  font-variant-numeric: lining-nums; /* Raleway usa números antigos por padrão */
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
strong, b { font-weight: 700; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .feature :focus-visible, .transfer :focus-visible, .best :focus-visible,
.final-cta :focus-visible, .site-footer :focus-visible, .sticky-cta :focus-visible, .promo-bar :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars svg { width: 15px; height: 15px; }
.stars-lg svg { width: 26px; height: 26px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.975rem; line-height: 1.1;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s, box-shadow .25s var(--ease-out), transform .2s var(--ease-out);
}
.btn .ico { transition: transform .3s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.925rem; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.025rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 28px -14px oklch(0.863 0.176 89.8 / 0.9); }
.btn-accent:hover { background: var(--yellow-hi); box-shadow: 0 14px 32px -14px oklch(0.863 0.176 89.8 / 1); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: oklch(1 0 0 / 0.45); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Barra promo ---------- */
.promo-bar { background: var(--ink-deep); color: var(--on-ink-muted); font-size: 0.875rem; text-align: center; padding: 9px var(--gutter); line-height: 1.45; }
.promo-bar strong { color: var(--yellow); }
.promo-bar a { color: var(--white); font-weight: 700; text-underline-offset: 3px; margin-left: 6px; }
.promo-bar a:hover { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: oklch(1 0 0 / 0.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid oklch(0.9 0 0 / 0.7); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.main-nav a { display: block; padding: 8px 0; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink-2); background: linear-gradient(var(--yellow), var(--yellow)) left 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.main-nav a:hover { color: var(--ink); background-size: 100% 2px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-icon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; font-weight: 600; font-size: 0.925rem; text-decoration: none; color: var(--ink-2); }
.btn-icon .ico { width: 22px; height: 22px; }
.btn-icon:hover { color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle .ico { width: 20px; height: 20px; }

@media (max-width: 1180px) { .wa-label { display: none; } }
@media (max-width: 959px) {
  :root { --header-h: 64px; }
  .brand img { height: 48px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; inset: 100% 0 auto 0; z-index: var(--z-menu);
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px oklch(0.244 0.006 0.6 / 0.35);
    display: none;
  }
  .main-nav[data-open] { display: block; animation: menu-in .35s var(--ease-out); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { padding: 14px 0; font-size: 1.1rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
  .header-actions { margin-left: auto; gap: 8px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, oklch(0.2 0.006 0.6 / 0.94) 0%, oklch(0.2 0.006 0.6 / 0.86) 36%, oklch(0.2 0.006 0.6 / 0.35) 66%, oklch(0.2 0.006 0.6 / 0.1) 100%),
    linear-gradient(0deg, oklch(0.2 0.006 0.6 / 0.55), transparent 40%);
}
@media (max-width: 899px) {
  .hero-bg { object-position: 78% 50%; }
  .hero::before { background: linear-gradient(180deg, oklch(0.2 0.006 0.6 / 0.62) 0%, oklch(0.2 0.006 0.6 / 0.9) 46%, oklch(0.2 0.006 0.6 / 0.96) 100%); }
}
.hero-inner { display: flex; align-items: center; min-height: clamp(560px, 78vh, 740px); padding-block: clamp(40px, 7vw, 96px); }
.hero-copy { max-width: 640px; }

.rating {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  padding: 7px 14px; border-radius: 999px;
  background: oklch(1 0 0 / 0.08); border: 1px solid oklch(1 0 0 / 0.16);
  font-size: 0.875rem; line-height: 1.35; color: var(--on-ink-muted); text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background-color .25s;
}
.rating strong { color: var(--white); }
.rating:hover { background: oklch(1 0 0 / 0.14); }

.hero h1 { margin-top: 22px; font-size: var(--fs-h1); line-height: 1.06; color: var(--white); max-width: 16em; }
.hero-lede { margin-top: 18px; font-size: var(--fs-lg); line-height: 1.6; max-width: 40ch; color: var(--on-ink-muted); }

.hero-deal { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 36px; margin-top: 34px; }
.price { display: grid; line-height: 1; }
.price-from { font-size: 0.9rem; font-weight: 600; color: var(--on-ink-muted); }
.price-value { margin-top: 6px; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.4rem, 2.5rem + 3.4vw, 5rem); letter-spacing: -0.03em; color: var(--yellow); font-variant-numeric: lining-nums tabular-nums; }
.price-cur { font-size: 0.38em; vertical-align: 1.05em; margin-right: 0.14em; letter-spacing: 0; }
.price-note { margin-top: 10px; font-size: 0.9rem; color: var(--on-ink-muted); }
.price-ast { font-size: 0.45em; vertical-align: 0.95em; margin-left: 0.04em; letter-spacing: 0; }
.hero-deal .price-note { max-width: 34ch; line-height: 1.45; }
.off { display: inline-block; padding: 3px 9px 2px; border-radius: 999px; background: oklch(0.863 0.176 89.8 / 0.16); color: var(--yellow); font-weight: 700; font-size: 0.8125rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Entrada do hero: só roda com a aba visível (classe .anim no <html>) */
.anim .hero-bg { animation: settle 2.4s var(--ease-out) both; }
.anim .hero-copy > * { animation: rise .9s var(--ease-expo) backwards; }
.anim .hero-copy > :nth-child(2) { animation-delay: .08s; }
.anim .hero-copy > :nth-child(3) { animation-delay: .16s; }
.anim .hero-copy > :nth-child(4) { animation-delay: .26s; }
@keyframes settle { from { transform: scale(1.07); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Destaques ---------- */
.highlights { border-bottom: 1px solid var(--line); }
.highlights-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.highlights-list li { display: flex; align-items: flex-start; gap: 14px; padding: 22px 12px 22px 0; font-size: 0.9rem; line-height: 1.4; color: var(--muted); }
.highlights-list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.highlights-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
.highlights-list strong { display: block; margin-bottom: 2px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); }
.highlights-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--yellow-soft); color: var(--ink); stroke-width: 1.7; }
@media (max-width: 520px) {
  .highlights-list li { flex-direction: column; gap: 10px; }
}
@media (min-width: 960px) {
  .highlights-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .highlights-list li { padding: 30px 24px; border-top: 0 !important; }
  .highlights-list li + li { border-left: 1px solid var(--line); padding-left: 24px; }
  .highlights-list li:first-child { padding-left: 0; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: 16px; font-size: var(--fs-lg); color: var(--muted); max-width: 58ch; }

/* ---------- Diferenciais ---------- */
.feature { display: grid; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink); }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }
.feature-media { overflow: hidden; }
.feature-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.feature-copy { padding: clamp(28px, 4.5vw, 64px); align-self: center; }
.feature-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em; }
.feature-tag .ico { width: 18px; height: 18px; stroke-width: 2.1; }
.feature h3 { margin-top: 20px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.45rem); max-width: 14em; line-height: 1.12; color: var(--white); }
.feature p { margin-top: 16px; font-size: var(--fs-lg); color: var(--on-ink-muted); max-width: 46ch; }
.checks { display: grid; gap: 10px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checks .ico { margin-top: 2px; color: var(--yellow); stroke-width: 2.2; }
.feature .checks li { color: var(--on-ink); }

.perks { display: grid; gap: 16px; margin-top: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .perks { grid-template-columns: 1.2fr 1.2fr 1fr; } }
.perk-stack { display: grid; gap: 16px; }
@media (min-width: 640px) and (max-width: 1039px) { .perk-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
.perk { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.perk img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.perk-body { padding: 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.perk-body .ico { width: 24px; height: 24px; color: var(--ink); }
.perk-body h3 { font-size: 1.2rem; }
.perk-body p { grid-column: 1 / -1; margin-top: 10px; color: var(--muted); font-size: 0.975rem; line-height: 1.55; }
.perk:not(.perk-photo) { justify-content: center; background: var(--yellow-soft); }
.perk-stack .perk-body { padding: 22px 24px; }

.extras { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.extras li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); }
.extras .ico { width: 22px; height: 22px; color: var(--ink-3); }

/* ---------- Como funciona ---------- */
.how { background: var(--surface); }
.steps { display: grid; gap: 40px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); } }
.step { position: relative; }
.step-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.step-num {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 20px;
  border-radius: 50%; background: var(--ink); border: 4px solid var(--surface); color: var(--yellow);
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1; font-variant-numeric: lining-nums;
}
.step h3 { margin-top: 16px; font-size: var(--fs-h3); }
.step p { margin-top: 8px; color: var(--muted); max-width: 40ch; }
@media (min-width: 860px) {
  .step { container-type: inline-size; }
  .step:not(:last-child) .step-num::after {
    content: ""; position: absolute; left: calc(100% + 12px); top: 50%; height: 2px; transform: translateY(-50%);
    width: calc(100cqw + clamp(20px, 2.6vw, 36px) - 96px);
    background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); opacity: .25;
  }
}
.return-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(40px, 4vw, 56px); padding: 18px 22px;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); line-height: 1.55;
}
.return-note .ico { width: 24px; height: 24px; margin-top: 1px; color: var(--ink); }
.return-note a { font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Traslado ---------- */
.transfer { background: var(--ink); color: var(--on-ink); }
.transfer-grid { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .transfer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.transfer h2 { font-size: var(--fs-h2); color: var(--white); }
.transfer-lede { margin-top: 16px; font-size: var(--fs-lg); color: var(--on-ink-muted); max-width: 48ch; }

.board { margin-top: 32px; border-top: 1px solid var(--on-ink-line); }
.board-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--on-ink-line); }
.board-row span { color: var(--on-ink-muted); font-size: 0.95rem; }
.board-row strong { color: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); font-variant-numeric: lining-nums; text-align: right; }
.fine { margin-top: 12px; font-size: 0.85rem; color: var(--on-ink-muted); }

.rules { display: grid; gap: 10px; margin: 26px 0 34px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-ink-muted); line-height: 1.5; }
.rules .ico { color: var(--yellow); margin-top: 3px; stroke-width: 2.2; }

.transfer-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }

/* ---------- Preços ---------- */
.prices { background: var(--white); }
.prices-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; max-width: none; }
.prices-head > div { max-width: 640px; }

.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 0.925rem; color: var(--ink-2); white-space: nowrap; transition: background-color .25s var(--ease-out), color .25s; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg label:hover input:not(:checked) + span { color: var(--ink); background: var(--white); }

/* Alternância descoberta / coberta (CSS puro com :has) */
.prices .v-c { display: none; }
.prices:has(#vaga-coberta:checked) .v-c { display: revert; }
.prices:has(#vaga-coberta:checked) .v-d { display: none; }

.prices-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 960px) { .prices-grid { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); } }

.best { display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 44px); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink); }
.best-tag { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; }
.best-label { margin-top: 22px; color: var(--on-ink-muted); font-weight: 600; }
.best-value { margin-top: 4px; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.6rem, 2.8rem + 3vw, 5.25rem); line-height: 1; letter-spacing: -0.03em; color: var(--yellow); font-variant-numeric: lining-nums tabular-nums; }
.best-value .cur { font-size: 0.36em; vertical-align: 1.1em; margin-right: 0.14em; letter-spacing: 0; }
.best-value small { display: block; margin-top: 10px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0; color: var(--on-ink); }
.best-total { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--on-ink-line); color: var(--on-ink-muted); line-height: 1.55; }
.best-total strong { color: var(--white); }
.best-counter { display: block; font-size: 0.9rem; }
.checks-light { margin: 22px 0 28px; }
.checks-light li { color: var(--on-ink); font-size: 0.975rem; }
.best .btn { margin-top: auto; }

.periods { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.periods-title { font-size: 1.3rem; }
.period-table { width: 100%; margin-top: 14px; border-collapse: collapse; }
.period-table thead th { padding: 0 0 10px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); text-align: left; }
.period-table thead th:last-child { text-align: right; }
.period-table tbody tr { border-top: 1px solid var(--line); }
.period-table tbody th { padding: 15px 16px 15px 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; font-variant-numeric: lining-nums; white-space: nowrap; vertical-align: middle; }
.period-table tbody th small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.825rem; color: var(--muted); }
.period-table td { width: 100%; padding: 15px 0; vertical-align: middle; }
.pv { display: flex; align-items: center; gap: 16px; }
.period-table b { flex: none; min-width: 6.2ch; text-align: right; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; font-variant-numeric: lining-nums tabular-nums; }
.bar { position: relative; flex: 1; height: 8px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 99px; background: var(--ink-3); transform-origin: left; }
.period-table .is-best .bar i { background: var(--yellow); }
.period-table .is-best b { font-size: 1.35rem; }
.period-table .is-best th small { color: var(--ink); font-weight: 700; }
.td-plain .pv { justify-content: flex-end; gap: 8px; }
.td-plain b { min-width: 0; }
.td-plain .per { font-size: 0.85rem; color: var(--muted); }
.periods-note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

.price-notes { display: grid; gap: 8px 32px; margin-top: 28px; }
@media (min-width: 860px) { .price-notes { grid-template-columns: 1fr 1fr; } }
.price-notes li { position: relative; padding-left: 18px; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.price-notes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink-3); }

@media (max-width: 520px) {
  .seg { width: 100%; }
  .seg span { padding: 0 12px; }
  .period-table thead { display: none; }
  .period-table tbody tr { display: grid; padding: 14px 0; }
  .period-table tbody th { padding: 0 0 8px; font-size: 1rem; }
  .period-table tbody th small { display: inline; margin-left: 8px; }
  .period-table td { padding: 0; }
  .pv { gap: 14px; }
}

/* ---------- Avaliações ---------- */
.reviews { background: var(--surface); }
.reviews-grid { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } .score { position: sticky; top: calc(var(--header-h) + 32px); } }
.score .score-value { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 3.8rem + 5vw, 8rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.score .stars { margin-top: 14px; }
.score h2 { margin-top: 22px; font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); }
.score p { margin-top: 12px; color: var(--muted); font-size: var(--fs-lg); max-width: 40ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.link-arrow .ico { transition: transform .3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(3px); }

.quotes { display: grid; gap: 16px; }
@media (min-width: 700px) { .quotes { grid-template-columns: 1fr 1fr; } .quote-feature { grid-column: 1 / -1; } }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: var(--white); }
.quote blockquote { margin: 0; }
.quote blockquote p { line-height: 1.65; color: var(--ink-2); }
.quote figcaption { display: grid; font-size: 0.875rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); font-size: 0.95rem; }
.quote-feature { padding: clamp(28px, 4vw, 48px); }
.quote-feature blockquote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; color: var(--ink); letter-spacing: -0.005em; }

/* ---------- Pátio ---------- */
.yard { padding-block: var(--section-y); }
.yard-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: 32px; }
.yard-head h2 { font-size: var(--fs-h2); max-width: 15em; }
.yard-head p { color: var(--muted); font-size: var(--fs-lg); max-width: 40ch; }
.yard-strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: thin;
}
@media (min-width: 1240px) { .yard-strip { padding-inline: calc((100vw - 1240px) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - 1240px) / 2 + var(--gutter)); } }
.yard-strip img { flex: none; height: clamp(240px, 30vw, 400px); width: auto; object-fit: cover; border-radius: var(--radius); scroll-snap-align: start; }
.yard-strip img:nth-child(4) { width: clamp(240px, 26vw, 360px); }

/* ---------- Dúvidas ---------- */
.faq { background: var(--surface); }
.faq-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); } .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-aside h2 { font-size: var(--fs-h2); }
.faq-aside p { margin: 14px 0 26px; font-size: var(--fs-lg); color: var(--muted); max-width: 34ch; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 22px 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.35; cursor: pointer; list-style: none; font-variant-numeric: lining-nums; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 30px; height: 30px; margin-top: -2px; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 12h12M12 6v12'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--line); transition: transform .35s var(--ease-out), background-color .25s, border-color .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); border-color: var(--yellow); }
.faq-list summary:hover::after { border-color: var(--ink); }
.faq-list details p { padding: 0 50px 24px 0; color: var(--muted); max-width: 68ch; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }

/* ---------- Como chegar ---------- */
.location-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .location-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; } }
.location h2 { font-size: var(--fs-h2); }
.location address { margin-top: 20px; font-size: var(--fs-lg); line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; }
.facts dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.facts a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.location-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.location-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-top: 30px; }
.map { position: relative; min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }

/* ---------- CTA final ---------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: oklch(0.2 0.006 0.6 / 0.84); }
.final-inner { display: grid; justify-items: center; padding-block: clamp(72px, 9vw, 128px); }
.final-cta h2 { font-size: var(--fs-h2); color: var(--white); max-width: 18em; }
.final-cta h2 span { color: var(--yellow); white-space: nowrap; }
.final-cta p { margin: 16px 0 32px; font-size: var(--fs-lg); color: var(--on-ink-muted); max-width: 52ch; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-ink-muted); font-size: 0.95rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-block: clamp(48px, 6vw, 72px) 40px; border-bottom: 1px solid var(--on-ink-line); }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-brand img { height: 66px; width: auto; }
.footer-brand p { max-width: 36ch; line-height: 1.55; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 40px; }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-title { margin-bottom: 14px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); }
.footer-cols p { line-height: 1.7; }
.footer-muted { margin-top: 8px; color: var(--yellow); font-weight: 600; font-size: 0.9rem; }
.footer-list { display: grid; gap: 2px; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; transition: color .2s; word-break: break-word; }
.footer-list a:hover { color: var(--white); }
.footer-list .ico { width: 18px; height: 18px; color: var(--yellow); }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--on-ink-line); color: var(--white); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--on-ink-line); font-size: 0.85rem; }
.footer-bottom a { color: var(--white); }
@media (max-width: 959px) { .site-footer { padding-bottom: 72px; } }

/* ---------- Barra fixa (celular) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-cta);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: oklch(0.2 0.006 0.6 / 0.96); backdrop-filter: blur(10px); color: var(--white);
  box-shadow: 0 -12px 30px -14px oklch(0.2 0.006 0.6 / 0.6);
  transition: transform .45s var(--ease-out);
}
.sticky-cta p { display: grid; line-height: 1.15; }
.sticky-cta span { font-size: 0.8rem; color: var(--on-ink-muted); }
.sticky-cta strong { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--yellow); font-variant-numeric: lining-nums; }
.sticky-cta .btn { min-width: 140px; }
.sticky-cta[data-hidden] { transform: translateY(110%); }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Revelações ao rolar (aprimoramento progressivo) ----------
   Conteúdo visível por padrão; onde há suporte a scroll-driven
   animations, ganha uma entrada suave. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .feature, .perk, .step, .board-row, .best, .periods, .quote, .score, .faq-list details, .location-copy, .map, .final-inner, .yard-head {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .perk:nth-child(2), .step:nth-child(2), .quote:nth-child(2) { animation-range: entry 8% entry 73%; }
    .perk:nth-child(3), .step:nth-child(3), .quote:nth-child(3) { animation-range: entry 16% entry 81%; }
    .perk:nth-child(4) { animation-range: entry 24% entry 89%; }
    .bar i { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .feature-media img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes drift { from { transform: scale(1.08) translateY(-2%); } to { transform: scale(1.08) translateY(2%); } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   Páginas de texto (normas internas, políticas)
   Mesmo header e rodapé da home; o conteúdo vira uma coluna
   de leitura com índice lateral no desktop.
   ========================================================= */
.doc-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5.5vw, 76px) clamp(32px, 4.5vw, 60px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); }
.doc-head h1 { margin-top: 16px; font-size: clamp(2rem, 1.45rem + 2.3vw, 3.25rem); max-width: 18em; }
.doc-lede { margin-top: 16px; font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.doc-meta { margin-top: 20px; font-size: 0.875rem; color: var(--muted); }

.doc-layout { display: grid; gap: 36px; padding-block: clamp(36px, 5vw, 80px) clamp(64px, 8vw, 120px); }
@media (min-width: 960px) {
  .doc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); }
  .doc-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.doc-toc { font-size: 0.925rem; }
.doc-toc-title { margin-bottom: 10px; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.doc-toc ol { display: grid; }
.doc-toc a { display: block; padding: 7px 0; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.doc-toc a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 959px) {
  .doc-toc { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .doc-toc a { padding: 6px 0; }
}

.doc { max-width: 70ch; }
.doc section + section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.doc h2 { font-size: var(--fs-h3); line-height: 1.2; }
.doc h3 { margin-top: 30px; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.doc p, .doc ul, .doc ol, .doc .doc-table { margin-top: 14px; }
.doc h2 + p, .doc h2 + ul, .doc h3 + p, .doc h3 + ul { margin-top: 12px; }
.doc ul > li { position: relative; padding-left: 24px; }
.doc ul > li + li { margin-top: 8px; }
.doc ul > li::before { content: ""; position: absolute; left: 3px; top: 0.66em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px oklch(0.244 0.006 0.6 / 0.28); }
.doc a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

.doc-note { margin-top: 20px; padding: 16px 20px; border: 1px solid oklch(0.863 0.176 89.8 / 0.55); border-radius: var(--radius-sm); background: var(--yellow-soft); }
.doc-note strong { display: block; margin-bottom: 2px; }

.doc-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.doc-table th, .doc-table td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table thead th { padding-top: 0; font-size: 0.8125rem; font-weight: 700; color: var(--muted); border-bottom-color: var(--ink); }
.doc-table tbody th { font-weight: 700; }
@media (max-width: 599px) {
  .doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc-table tr { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .doc-table th, .doc-table td { display: block; padding: 0; border: 0; }
  .doc-table td { margin-top: 4px; color: var(--muted); }
}

/* Dado que o cliente ainda precisa informar (remover antes de publicar) */
.fill { padding: 1px 6px; border-radius: 4px; background: var(--yellow-soft); outline: 1px dashed var(--ink-3); font-weight: 600; }

.doc-help {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: 56px; padding: clamp(24px, 3.2vw, 36px); border-radius: var(--radius);
  background: var(--ink); color: var(--on-ink-muted);
}
.doc-help h2 { font-size: 1.35rem; color: var(--white); }
.doc-help p { margin-top: 6px; max-width: 44ch; }
.doc-help-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-help :focus-visible { outline-color: var(--yellow); }

.doc-related { margin-top: 40px; }
.doc-related h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.doc-related ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.doc-related ul > li { padding: 0; }
.doc-related ul > li + li { margin-top: 0; }
.doc-related ul > li::before { content: none; }
.doc-related a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.925rem; text-decoration: none; transition: border-color .2s, background-color .2s; }
.doc-related a:hover { border-color: var(--ink); background: var(--surface); }
.doc-related .ico { width: 18px; height: 18px; }

.footer-list a[aria-current="page"] { color: var(--white); }
@media (max-width: 959px) { .page-doc .site-footer { padding-bottom: 0; } }


/* ---------- Aviso de cookies (Consent Mode) ----------
   Criado pelo main.js só quando o visitante ainda não escolheu. Fica por cima da barra fixa do celular. */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: var(--z-consent);
  display: grid; gap: 14px; padding: 18px 20px 20px;
  background: var(--ink); color: var(--on-ink-muted); border: 1px solid var(--on-ink-line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px oklch(0.2 0.006 0.6 / 0.6);
  font-size: 0.925rem; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.05rem; color: var(--white); }
.cookie-banner a { color: var(--white); text-underline-offset: 3px; }
.cookie-banner :focus-visible { outline-color: var(--yellow); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 600px) {
  .cookie-banner { left: auto; right: 24px; bottom: 24px; max-width: 400px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner { animation: cookie-in .6s var(--ease-expo); }
}
@keyframes cookie-in { from { transform: translateY(18px); } }

/* "Preferências de cookies": botão com cara de link (rodapé e política) */
.footer-list button, .link-btn {
  padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
}
.footer-list button { padding: 6px 0; text-align: left; transition: color .2s; }
.footer-list button:hover { color: var(--white); }
.link-btn { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; color: var(--ink); }
.link-btn:hover { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
