/* =========================================================
   Guia Prático · Primeiros dias  |  Landing page
   Paleta do ebook (vinho / rosé) + tipografia do portfólio
   raineriasouza.com.br (Playfair Display + Plus Jakarta Sans).
   Estratégia de cor: vinho "noturno" nas seções de decisão
   (hero, oferta, fechamento) e claro nas seções de leitura.
   Mel (honey) é a cor exclusiva dos botões de compra.
   ========================================================= */

:root {
  /* Vinho (cor da marca no ebook: #8a3a4a) */
  --wine-950: oklch(0.22 0.05 8);
  --wine-900: oklch(0.29 0.07 8);
  --wine-800: oklch(0.37 0.095 8);
  --wine-700: oklch(0.42 0.11 8);
  --wine-600: oklch(0.47 0.12 8);
  --wine-500: oklch(0.58 0.11 8);

  /* Rosé: só como acento sobre o vinho (itálico do título, qualificações) */
  --rose-300: oklch(0.83 0.055 8);

  /* Neutros (fundos claros): branco com um toque mínimo de vinho, só para
     não ficar cinza frio. A cor da página vem do vinho, do mel e das fotos. */
  --gray-300: oklch(0.83 0.006 8);
  --gray-200: oklch(0.9 0.005 8);
  --gray-150: oklch(0.93 0.004 8);
  --gray-100: oklch(0.955 0.003 8);
  --gray-50:  oklch(0.978 0.002 8);
  --white:    oklch(1 0 0);

  /* Mel: só para o botão de compra (contraste com vinho e com claro) */
  --honey-300: oklch(0.86 0.105 78);
  --honey-200: oklch(0.9 0.09 82);

  --ink:      oklch(0.28 0.025 8);
  --ink-soft: oklch(0.43 0.03 8);
  --on-wine:  oklch(0.97 0.012 8);
  --on-wine-soft: oklch(0.86 0.03 8);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0:  clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-3:  clamp(2.2rem, 1.6rem + 2.6vw, 3.8rem);

  --space-s: clamp(1rem, .8rem + 1vw, 1.5rem);
  --space-m: clamp(1.5rem, 1.2rem + 1.5vw, 2.75rem);
  --space-l: clamp(4.5rem, 3.2rem + 5vw, 8.5rem);

  --radius: 24px;
  --radius-sm: 14px;
  --wrap: 1180px;

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

  --z-sticky: 20;
  --z-header: 30;
  --z-consent: 40;

  --shadow-card: 0 30px 70px -36px oklch(0.25 0.06 8 / 0.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
a { color: inherit; }
strong { font-weight: 700; }
code { font-size: .85em; }

:focus-visible { outline: 3px solid var(--wine-500); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .inside :focus-visible, .offer :focus-visible, .closing :focus-visible,
.sticky-buy :focus-visible, .footer :focus-visible { outline-color: var(--honey-300); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--mid { width: min(100% - 2rem, 980px); }
.wrap--narrow { width: min(100% - 2rem, 780px); }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--wine-800);
}
.h2 em { font-style: italic; font-weight: 500; color: var(--wine-500); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--wine-600); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8rem 1.4rem;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1.2 var(--sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .i { transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .i { transform: translateX(3px); }
.btn[href^="#"]:hover .i { transform: translateY(3px); }
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 60px; padding: 1rem 2rem; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--honey { --bg: var(--honey-300); --fg: var(--wine-950); box-shadow: 0 16px 34px -16px oklch(0.12 0.05 8 / .9); }
.btn--honey:hover { --bg: var(--honey-200); box-shadow: 0 20px 40px -16px oklch(0.12 0.05 8 / .95); }
.btn--wine { --bg: var(--wine-600); --fg: var(--white); }
.btn--wine:hover { --bg: var(--wine-700); }
.btn--ghost { --bg: transparent; --fg: var(--wine-700); box-shadow: inset 0 0 0 1.5px var(--gray-300); }
.btn--ghost:hover { --bg: var(--gray-100); }

.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Topbar (sem menu: um objetivo por página) ---------- */
.topbar { position: absolute; inset: 0 0 auto; z-index: var(--z-header); color: var(--on-wine); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; min-height: 44px; margin: 0; }
.brand__mark {
  width: 38px; height: 38px; flex: none;
  background: currentColor;
  -webkit-mask: url("../img/logo-mask.png") center / contain no-repeat;
  mask: url("../img/logo-mask.png") center / contain no-repeat;
  font-size: 0;
}
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; }
.topbar__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  color: var(--wine-700); font-weight: 600; font-size: .9375rem; text-decoration: none;
  background: var(--white); box-shadow: inset 0 0 0 1.5px var(--gray-300);
}

/* =========================================================
   HERO: vinho "noturno", promessa + compra na primeira tela
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: 6rem;
  background: var(--wine-900); color: var(--on-wine);
}
.hero__grid { display: grid; gap: 3rem; }

/* Qualificações (o nome já está na barra do topo) */
.hero__creds { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: var(--step--1); font-weight: 600; line-height: 1.4; color: var(--rose-300); }
.hero__creds li { display: inline-flex; align-items: center; gap: .9rem; }
.hero__creds li + li::before { content: ""; width: 1px; height: 1em; background: oklch(0.83 0.055 8 / .45); }
@media (max-width: 479px) {
  .hero__creds { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .hero__creds li + li::before { content: none; }
}

.hero__title {
  margin-top: 1.1rem;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 1.4rem + 3vw, 4.1rem); line-height: 1.04; letter-spacing: -0.024em;
  color: var(--on-wine);
}
.hero__title em { display: block; margin-top: .08em; font-style: italic; font-weight: 500; color: var(--rose-300); }
.hero__lead { margin-top: 1.4rem; max-width: 46ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--on-wine-soft); }
.hero__buy { margin-top: 2.25rem; display: grid; gap: .9rem; }
.hero__terms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; font-size: var(--step--1); color: var(--on-wine-soft); }
.hero__terms li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__terms li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--honey-300); }
.hero__note { font-size: .75rem; color: oklch(0.8 0.03 8); text-align: center; }

/* Retrato recortado, encostado na base do hero, com halo rosé atrás */
.hero__figure { position: relative; isolation: isolate; justify-self: center; align-self: end; width: min(90vw, 440px); }
/* granulado sutil que some de cima para baixo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(oklch(1 0 0 / .14) .6px, transparent .6px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.hero__portrait { display: block; width: 100%; height: auto; }
img.hero__portrait { width: auto; max-width: 100%; max-height: min(88svh, 780px); margin-inline: auto; }
.ph.ph--on-dark {
  border: 1.5px dashed oklch(1 0 0 / .3); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
  color: var(--on-wine-soft);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, oklch(1 0 0 / .05) 14px 15px);
}
.ph.ph--on-dark strong { color: var(--on-wine); }
.ph.ph--on-dark .ph__tag { background: var(--honey-300); color: var(--wine-950); }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: fade-up .9s var(--ease-expo) both; }
  .hero__copy > :nth-child(1) { animation-delay: .05s; }
  .hero__copy > :nth-child(2) { animation-delay: .15s; }
  .hero__copy > :nth-child(3) { animation-delay: .27s; }
  .hero__copy > :nth-child(4) { animation-delay: .39s; }
  .hero__portrait { animation: portrait-in 1.4s .15s var(--ease-expo) both; }
}
@keyframes portrait-in { from { opacity: 0; transform: translateY(32px); } }
@keyframes settle-in { from { transform: scale(1.08); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }

/* =========================================================
   Revelação ao rolar
   O conteúdo é visível por padrão; o JS adiciona .js-reveal e
   marca .is-in quando cada bloco entra na tela.
   ========================================================= */
.js-reveal [data-reveal] {
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo), clip-path 1.2s var(--ease-expo);
  transition-delay: var(--d, 0ms);
}
.js-reveal [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.js-reveal [data-reveal="image"]:not(.is-in) { opacity: 0; transform: scale(1.03); clip-path: inset(10% 0 0 0 round var(--radius)); }
.js-reveal [data-reveal="image"].is-in { clip-path: inset(0 0 0 0 round 0); }
.js-reveal [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(48px); }

/* ---------- Dúvidas de madrugada ---------- */
.night { padding: var(--space-l) 0; background: var(--white); }
.night__grid { display: grid; gap: var(--space-m); align-items: center; }
.night .h2 { max-width: 20ch; }
.night__lead { margin-top: 1.25rem; max-width: 46ch; color: var(--ink-soft); }
.night__photo { justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-card); }

/* Placeholder de imagem (trocar pela imagem final) */
.ph {
  display: grid; place-content: center; justify-items: center; gap: .5rem;
  padding: 2rem; text-align: center;
  border: 1.5px dashed var(--gray-300); color: var(--ink-soft);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, oklch(0.9 0.005 8 / .5) 14px 15px), var(--white);
  box-shadow: none;
}
.ph__tag { padding: .25rem .7rem; border-radius: 999px; background: var(--wine-600); color: var(--white); font-size: .75rem; font-weight: 700; }
.ph strong { font: 600 var(--step-1)/1.25 var(--serif); color: var(--wine-800); }
.ph small { max-width: 32ch; font-size: .8125rem; line-height: 1.5; }

.searches { list-style: none; margin-top: var(--space-m); display: grid; gap: .75rem; }
.searches li {
  display: flex; align-items: center; gap: .9rem;
  padding: .95rem 1.35rem; border-radius: 999px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 0 0 1px var(--gray-200), 0 14px 30px -24px oklch(0.25 0.06 8 / .5);
  font-weight: 500; line-height: 1.35;
}
.searches .i { color: var(--wine-600); width: 1.25rem; height: 1.25rem; stroke-width: 2; }

/* ---------- Sem critério x com o guia ---------- */
.shift { padding: var(--space-l) 0; background: var(--gray-50); }
.shift__title { max-width: 22ch; }
.shift__table { margin-top: var(--space-m); display: grid; gap: .75rem; }
.shift__row { display: grid; gap: .5rem; }
/* Mobile: o cabeçalho real da tabela fica só para leitores de tela (não some da árvore de acessibilidade)
   e cada célula ganha um rótulo visual decorativo, ignorado pelo leitor (content: "..." / ""). */
.shift__row--head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shift__row > span { line-height: 1.45; }
.shift__row > span:first-child { padding: 0 .25rem; color: oklch(0.36 0.025 8); font-size: var(--step--1); }
.shift__row > span:last-child {
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--gray-100); color: var(--wine-800); font-weight: 600;
}
.shift__row:not(.shift__row--head) > span::before {
  display: block; margin-bottom: .2rem; font-size: .8125rem; font-weight: 700; letter-spacing: .01em;
}
.shift__row:not(.shift__row--head) > span:first-child::before { content: "Sem uma referência"; content: "Sem uma referência" / ""; color: var(--ink); }
.shift__row:not(.shift__row--head) > span:last-child::before { content: "Com o guia"; content: "Com o guia" / ""; color: var(--wine-600); }

/* ---------- O que você encontra ---------- */
.inside { padding: var(--space-l) 0; background: var(--wine-900); color: var(--on-wine); }
.inside__grid { display: grid; gap: var(--space-m); align-items: center; }
.inside__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px oklch(0.08 0.04 8 / .9); }
.inside__photo.ph { border-bottom: 1.5px dashed oklch(1 0 0 / .3); border-radius: var(--radius); box-shadow: none; }
.inside__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.inside .h2 { max-width: 20ch; color: var(--on-wine); }
.themes { margin: var(--space-m) 0 0; display: grid; }
.themes div { padding: 1.1rem 0; border-top: 1px solid oklch(1 0 0 / .14); }
.themes dt { font: 600 var(--step-1)/1.3 var(--serif); color: var(--on-wine); }
.themes dd { margin: .3rem 0 0; color: var(--on-wine-soft); max-width: 52ch; }
.inside__bonus {
  margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: oklch(0.22 0.05 8 / .55); box-shadow: inset 0 0 0 1px oklch(1 0 0 / .12);
  color: var(--on-wine-soft); font-size: var(--step--1); line-height: 1.55;
}
.inside__bonus strong { color: var(--honey-300); }

/* ---------- Momentos (sequência real: antes, primeiros dias, semanas) ---------- */
.moments { padding: var(--space-l) 0; background: var(--gray-50); }
.moments__title { max-width: 24ch; }
.moments__list { list-style: none; margin-top: var(--space-m); display: grid; gap: 2rem; counter-reset: m; }
.moments__list li { position: relative; counter-increment: m; padding-left: 3.75rem; }
.moments__list li::before {
  content: counter(m); position: absolute; left: 0; top: -.15rem;
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--wine-700); color: var(--on-wine);
  font: italic 600 1.2rem/1 var(--serif);
}
.moments__list li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.3rem; top: 2.75rem; bottom: -1.9rem; width: 1px; background: var(--gray-300);
}
.moments__when { display: block; font: 600 var(--step-1)/1.3 var(--serif); color: var(--wine-800); }
.moments__list p { margin-top: .4rem; color: var(--ink-soft); max-width: 40ch; }

/* ---------- Depoimentos (desligado por padrão) ---------- */
.testimonials { padding: var(--space-l) 0; background: var(--gray-50); }
.testimonials__list { list-style: none; margin-top: var(--space-m); display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonials__list li { padding: 1.5rem; border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 0 0 1px var(--gray-200); }
.testimonials blockquote { margin: 0; font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; }
.testimonials__who { margin-top: .75rem; font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }

/* ---------- Quem escreveu (retrato no arco) ---------- */
.about { padding: var(--space-l) 0; background: var(--white); }
.about__grid { display: grid; gap: var(--space-m); align-items: end; }
.about__photo { position: relative; justify-self: center; width: min(78vw, 400px); }
.about__photo::before {
  content: ""; position: absolute; inset: 18% 4% 0;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--gray-100);
}
.about__photo img {
  position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, #000 84%, transparent);
}
.about .h2 { max-width: 20ch; }
.about__lead { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.about__copy > p:not(.about__lead):not(.about__social) { margin-top: 1rem; color: var(--ink-soft); max-width: 58ch; }
.creds { list-style: none; margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.creds li { padding: .4rem .85rem; border-radius: 999px; background: var(--gray-100); color: var(--wine-800); font-size: var(--step--1); font-weight: 600; }
.about__social { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-200); font-size: var(--step--1); color: var(--ink-soft); }
.about__social strong { color: var(--wine-700); }
.about__handle { font-weight: 700; color: var(--wine-600); }

/* ---------- Oferta ---------- */
.offer {
  padding: var(--space-l) 0; background: var(--wine-900); color: var(--on-wine);
  position: relative; isolation: isolate; overflow: hidden;
}
.offer::before {
  content: ""; position: absolute; z-index: -1; width: 70vmax; aspect-ratio: 1; left: -25vmax; bottom: -35vmax; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(0.47 0.12 8 / .5), transparent 70%);
}
.offer__grid { display: grid; gap: var(--space-m); align-items: center; }
.offer__title { font: 600 var(--step-2)/1.15 var(--serif); letter-spacing: -0.015em; max-width: 18ch; }
.offer__items { list-style: none; margin-top: var(--space-m); display: grid; gap: 1.25rem; }
.offer__items li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; line-height: 1.45; color: var(--on-wine-soft); font-size: var(--step--1); }
.offer__items strong { display: block; margin-bottom: .15rem; color: var(--on-wine); font-size: var(--step-0); }
.offer__items .i { margin-top: .1em; width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 50%; background: var(--honey-300); color: var(--wine-950); stroke-width: 2.8; }

.offer__buy {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  border-radius: var(--radius);
  background: oklch(0.22 0.05 8 / .55);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .12), 0 40px 80px -40px oklch(0.08 0.04 8 / .9);
  text-align: center;
}
.price { font: 300 clamp(3.5rem, 2.8rem + 3.2vw, 4.75rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--on-wine); font-variant-numeric: lining-nums; }
.price__cur { font-weight: 400; font-size: .32em; vertical-align: 1.25em; margin-right: .15em; letter-spacing: 0; color: var(--on-wine-soft); }
.price__cents { font-size: .5em; vertical-align: .7em; }
.price__note { margin-bottom: 1.5rem; font-size: .75rem; color: oklch(0.8 0.03 8); }
.price__alt { margin: .6rem 0 .25rem; color: var(--on-wine-soft); font-size: var(--step--1); }
.offer__secure { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .8125rem; line-height: 1.4; color: var(--on-wine-soft); }
.offer__secure .i { color: var(--honey-300); }
.guarantee {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid oklch(1 0 0 / .12);
  display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center; text-align: left;
  font-size: var(--step--1); line-height: 1.5; color: var(--on-wine-soft);
}
.guarantee strong { color: var(--on-wine); }
.guarantee__seal { width: 52px; height: 52px; }
.guarantee__seal circle:first-child { fill: var(--honey-300); }
.guarantee__seal circle:last-of-type { fill: none; stroke: var(--wine-800); stroke-width: 1.5; stroke-dasharray: 3 3; }
.guarantee__seal text { fill: var(--wine-950); font: italic 600 22px var(--serif); }

/* ---------- FAQ (uma aberta por vez) ---------- */
.faq { padding: var(--space-l) 0; background: var(--white); }
.faq__list { margin-top: var(--space-m); border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 1rem 0;
  font-weight: 700; font-size: var(--step-0); color: var(--ink);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gray-100) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23893949' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .45s var(--ease-expo), background-color .25s;
}
.faq details[open] summary { color: var(--wine-700); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--gray-200); }
.faq summary:hover { color: var(--wine-700); }
.faq__a { padding: 0 0 1.4rem; max-width: 64ch; color: var(--ink-soft); }
.faq__a a { color: var(--wine-600); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__a { animation: fade-up .55s var(--ease-expo); }
}
.faq__more { margin-top: 1.5rem; color: var(--ink-soft); }
.faq__more a { color: var(--wine-600); font-weight: 700; text-underline-offset: 4px; }

/* ---------- Fechamento ---------- */
/* Fechamento + rodapé = altura da tela (--footer-h vem do main.js; sem JS, fica a tela inteira) */
.closing { padding: clamp(2.5rem, 7svh, 8.5rem) 0; background: var(--wine-950); color: var(--on-wine); text-align: center; min-height: calc(100vh - var(--footer-h, 0px)); min-height: calc(100svh - var(--footer-h, 0px)); display: grid; align-content: center; }
.closing__inner { display: grid; justify-items: center; gap: 1.5rem; }
.closing__title { font: 600 var(--step-3)/1.1 var(--serif); letter-spacing: -0.02em; max-width: 18ch; margin-bottom: .75rem; }
.closing__title em { display: block; font-style: italic; font-weight: 500; color: var(--rose-300); }
.closing__terms { font-size: var(--step--1); color: var(--on-wine-soft); }
.closing__note { max-width: 52ch; margin-top: 1rem; font-size: .8125rem; color: oklch(0.8 0.03 8); }

/* ---------- Rodapé ---------- */
.footer { background: var(--wine-950); color: var(--on-wine-soft); padding: 2rem 0 7rem; font-size: .875rem; border-top: 1px solid oklch(1 0 0 / .1); }
.footer__inner { display: grid; gap: .75rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer nav a, .footer nav .linklike { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-wine); text-underline-offset: 3px; }
.footer__legal { font-size: .8125rem; color: oklch(0.8 0.03 8); }

/* ---------- Barra fixa (mobile) ---------- */
.sticky-buy {
  position: fixed; z-index: var(--z-sticky); left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: oklch(0.22 0.05 8 / .97); color: var(--on-wine);
  border-top: 1px solid oklch(1 0 0 / .1);
  box-shadow: 0 -12px 30px -18px oklch(0.1 0.05 8 / .6);
  transform: translateY(110%);
  transition: transform .5s var(--ease-expo);
}
.sticky-buy[hidden] { display: flex; visibility: hidden; }
.sticky-buy.is-on { transform: none; visibility: visible; }
.sticky-buy__price { display: grid; line-height: 1.2; }
.sticky-buy__price strong { font: 300 1.45rem/1.1 var(--sans); letter-spacing: -0.02em; }
.sticky-buy__price span { font-size: .8125rem; color: var(--on-wine-soft); }
.sticky-buy .btn { flex: none; }

/* ---------- Consentimento ---------- */
.consent {
  position: fixed; z-index: var(--z-consent); left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 420px; padding: 1.1rem 1.2rem;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px -20px oklch(0.2 0.06 8 / .5), 0 0 0 1px var(--gray-200);
  font-size: .9rem; line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent__title { font-weight: 700; margin-bottom: .25rem; }
.consent a { color: var(--wine-600); font-weight: 600; }
.consent__status { margin-top: .6rem; padding: .5rem .7rem; border-radius: 10px; background: var(--gray-100); color: var(--wine-800); font-weight: 600; font-size: .85rem; }
.consent__status[hidden] { display: none; }
.consent__actions { margin-top: .9rem; display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) { animation: fade-up .6s .8s var(--ease-expo) both; }
}
@media (max-width: 959px) {
  .has-sticky .consent { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 720px) {
  .shift__row--head { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .shift__table { position: relative; isolation: isolate; gap: 0; }
  .shift__table::before {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% + .75rem); right: 0;
    border-radius: var(--radius); background: var(--gray-100);
  }
  .shift__row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .shift__row > span { padding: 1.15rem 1.5rem !important; }
  .shift__row > span:first-child { font-size: var(--step-0); border-bottom: 1px solid var(--gray-200); }
  .shift__row:not(.shift__row--head) > span:first-child::before,
  .shift__row:not(.shift__row--head) > span:last-child::before { content: none; }
  .shift__row > span:last-child { background: none; border-radius: 0; border-bottom: 1px solid var(--gray-300); }
  .shift__row:last-child > span { border-bottom: 0; }
  .shift__row--head > span { padding-block: 1.5rem .5rem !important; font-size: var(--step--1) !important; font-weight: 700; border-bottom: 0 !important; }
  .shift__row--head > span:first-child { color: var(--ink); }
  .shift__row--head > span:last-child { color: var(--wine-700); font-weight: 700; }

  .about__grid { grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); }
  .about__photo { justify-self: stretch; width: auto; }
  .about__copy { padding-bottom: 2rem; }

  .moments__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .moments__list li { padding: 4rem 0 0; }
  .moments__list li:not(:last-child)::after { left: 3.4rem; right: -1.75rem; top: 1.3rem; bottom: auto; width: auto; height: 1px; }
}

/* Hero lado a lado: telas largas e não muito "em pé" (iPad Pro em pé usa o layout empilhado) */
@media (min-width: 960px) and (min-aspect-ratio: 4/5) {
  .hero { min-height: 100vh; min-height: 100svh; display: grid; padding-top: 0; }
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 3rem; min-height: inherit; }
  .hero__copy { align-self: center; padding-block: 6rem 4rem; }
  .hero__title { max-width: 13.5em; }
  .hero__buy { justify-items: start; }
  .hero__terms { justify-content: flex-start; }
  .hero__note { text-align: left; }
  .hero__figure { width: 100%; max-width: 540px; justify-self: end; }
}

@media (min-width: 960px) {
  .night__grid { grid-template-columns: 7fr 5fr; gap: 5rem; }
  .night__photo { justify-self: end; }
  .searches { max-width: 560px; }
  .searches li:nth-child(even) { margin-left: 2.5rem; }

  .inside__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }

  .offer__grid { grid-template-columns: 7fr 5fr; gap: 5rem; }

  .sticky-buy { display: none !important; }
  .footer { padding-bottom: 2rem; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__legal { grid-column: 1 / -1; }
}

@media (max-width: 959px), (max-aspect-ratio: 4/5) {
  /* Mobile e tablet: o hero ocupa a tela inteira; o texto tem a altura que precisa e o
     retrato (em cima) preenche o espaço que sobra. Em telas muito baixas a foto tem um
     mínimo e o hero passa um pouco da tela. */
  .hero {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column;
    padding-top: 4.5rem; padding-bottom: 2.25rem;
  }
  .hero__grid { flex: 1; display: flex; flex-direction: column; gap: 0; }
  .hero__figure {
    order: -1; flex: 1 1 0; min-height: max(26svh, 200px); width: 100%; align-self: stretch;
  }
  /* Imagem absoluta: o Safari não resolve height:100% em item flex sem altura definida
     e deixava a foto na altura natural, cobrindo o texto. */
  img.hero__portrait {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
    margin: 0; object-fit: contain; object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 98%);
  }
  /* flex: none: o Safari encolhia o texto (flex-shrink) para dar altura à foto, e o texto
     vazava por cima dela. O texto fica sempre com a altura que precisa. */
  .hero__copy { flex: none; margin-top: -1.5rem; position: relative; z-index: 1; }
  .hero__buy { justify-items: start; }
  .hero__terms { justify-content: flex-start; }
}
/* Tablet em pé (layout empilhado, a partir de 600px): bloco de texto centralizado
   embaixo da foto, sem vão vazio na lateral */
@media (min-width: 600px) and (max-width: 959px), (min-width: 600px) and (max-aspect-ratio: 4/5) {
  .hero__copy { max-width: 40rem; margin-inline: auto; text-align: center; }
  .hero__creds { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__buy { justify-items: center; }
  .hero__terms { justify-content: center; }
}
/* Celular: botão em largura total e selos centralizados */
@media (max-width: 599px) {
  .hero__buy { justify-items: stretch; }
  .hero__terms { justify-content: center; }
}

/* Notebook / tablet deitado: colunas iguais para a foto não ficar pequena ao lado do texto */
@media (min-width: 960px) and (max-width: 1439px) and (min-aspect-ratio: 4/5) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); }
  .hero__title { font-size: clamp(2.6rem, 1.2rem + 2.6vw, 3.9rem); }
}

/* Monitores largos: o hero usa mais largura e o retrato cresce com a tela */
@media (min-width: 1440px) and (min-aspect-ratio: 4/5) {
  .topbar .wrap, .hero__grid { width: min(100% - 14vw, 1600px); }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4vw; }
  .hero__figure { max-width: none; }
  img.hero__portrait { max-height: 92svh; }
  .hero__title { font-size: clamp(4.1rem, 1.2rem + 3vw, 5.75rem); }
  .hero__lead { font-size: clamp(1.2rem, .8rem + .45vw, 1.45rem); max-width: 44ch; }
  .hero__creds, .hero__terms { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Páginas auxiliares (privacidade, obrigado, 404) ----------
   Mesma linguagem da landing: faixa vinho com granulado e título em serifa,
   leitura em fundo claro, rodapé vinho. O rodapé fica sempre na base da tela. */
.page-simple { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-simple .footer { padding-bottom: 2rem; margin-top: auto; }

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 7rem 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: var(--wine-900); color: var(--on-wine);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(oklch(1 0 0 / .14) .6px, transparent .6px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-hero--full { flex: 1; display: grid; align-content: center; }
.page-hero__eyebrow { font-size: var(--step--1); font-weight: 600; line-height: 1.4; color: var(--rose-300); }
.page-hero h1 {
  margin-top: .9rem; max-width: 16em;
  font: 600 clamp(2.2rem, 1.4rem + 2.8vw, 3.9rem)/1.05 var(--serif); letter-spacing: -0.024em;
  color: var(--on-wine);
}
.page-hero h1 em { display: block; margin-top: .08em; font-style: italic; font-weight: 500; color: var(--rose-300); }
.page-hero__lead { margin-top: 1.25rem; max-width: 46ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--on-wine-soft); }
.page-hero .btn { margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .wrap > * { animation: fade-up .9s var(--ease-expo) both; }
  .page-hero .wrap > :nth-child(2) { animation-delay: .1s; }
  .page-hero .wrap > :nth-child(3) { animation-delay: .2s; }
  .page-hero .wrap > :nth-child(4) { animation-delay: .3s; }
}

.doc { padding: var(--space-l) 0; }
.doc h2 { margin-top: 2.5rem; font: 600 var(--step-1)/1.3 var(--serif); color: var(--wine-800); }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul { margin-top: 1rem; color: var(--ink-soft); max-width: 68ch; }
.doc h2 + p, .doc h2 + ul { margin-top: .6rem; }
.doc ul { padding-left: 1.2rem; }
.doc li + li { margin-top: .35rem; }
.doc a:not(.btn) { color: var(--wine-600); font-weight: 600; text-underline-offset: 3px; }
.doc .btn { margin-top: 2.25rem; color: var(--white); }
.doc--soft { background: var(--gray-50); }
.steps { list-style: none; padding: 0 !important; display: grid; gap: 1.25rem; counter-reset: s; max-width: 60ch !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; color: var(--ink); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--wine-700); color: var(--on-wine); font: italic 600 1.2rem/1 var(--serif); }
.doc__aside { margin-top: 2.5rem; padding: 1.5rem 1.6rem; border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 0 0 1px var(--gray-200); max-width: 68ch; }
.doc__aside h2 { margin-top: 0; }
