/* =========================================================
   Design tokens — fonte de verdade: specs/design.md
   ========================================================= */
:root {
  /* Paleta "amanhecer" */
  --madrugada: #120C09;
  --terra: #24160F;
  --areia: #F3EEE7;
  --carvao: #1C130E;
  --aurora: #F28C28;
  --brasa: #D9541E;
  --dourado: #F5C46B;
  --offwhite: #F5EFE6;
  --areia-fosca: #CEC1B2;
  --cafe: #1E1510;
  --cafe-medio: #6B5A4E;
  --linha: rgba(245, 239, 230, 0.12);

  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(1.875rem, 1.4rem + 2.2vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
  --fs-h3: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-body: clamp(0.9375rem, 0.92rem + 0.1vw, 1rem);
  --fs-small: 0.875rem;
  --fs-label: clamp(0.6875rem, 0.67rem + 0.08vw, 0.75rem);

  /* Espaçamento (base 8) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section-y: clamp(48px, 32px + 4vw, 80px);
  --gutter: 16px;

  /* Raios */
  --r-pill: 999px;
  --r-card: 16px;
  --r-final: 24px;
  --r-photo: 20px;

  --glow: 0 8px 32px rgba(242, 140, 40, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--madrugada);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-family: var(--font-body); }
p { margin: 0 0 var(--s-4); }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: calc(1080px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.center { text-align: center; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--aurora); color: var(--cafe);
  padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); font-weight: 700;
}
.skip-link:focus { top: var(--s-4); }
:focus-visible { outline: 2px solid var(--aurora); outline-offset: 3px; }

/* Destaque: Aurora no escuro, Brasa no claro (contraste) */
.hl { color: var(--aurora); }
.hero .hl, .section--light .hl { color: var(--brasa); }

.label {
  font-weight: 700; font-size: var(--fs-label);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cafe); margin-bottom: var(--s-4);
}

/* Marcação de conteúdo pendente (remover antes de publicar) */
.todo {
  display: inline-block;
  border: 1px dashed currentColor; border-radius: 6px;
  padding: 0 6px; font-size: 0.9em; opacity: 0.85;
  color: var(--dourado);
}
.hero .todo { color: var(--brasa); }

/* =========================================================
   Botões
   ========================================================= */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: var(--s-3) var(--s-7);
  border: 0; border-radius: var(--r-pill);
  font-family: var(--font-body); cursor: pointer; text-align: center;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.btn--primary { background: var(--aurora); color: var(--cafe); box-shadow: 0 6px 24px rgba(242, 140, 40, 0.25); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--brasa); color: var(--offwhite); box-shadow: var(--glow); }
.btn--primary:active { transform: translateY(1px); }
.btn__main { font-weight: 700; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.btn__sub { font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.btn--wide { width: 100%; padding-inline: var(--s-5); }

/* =========================================================
   Bloco 1 · Topo (claro, foto à direita)
   ========================================================= */
.hero {
  background: linear-gradient(180deg, #F6F2EC, var(--areia));
  color: var(--cafe);
  padding-top: var(--s-7);
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--s-5); align-items: end; }
.hero__text { padding-bottom: var(--s-7); }
.hero__logo { display: block; margin-bottom: var(--s-4); }
.hero__logo img { width: clamp(140px, 110px + 6vw, 190px); height: auto; }
.hero__title {
  color: var(--cafe); margin-bottom: var(--s-4); max-width: 16ch;
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem); line-height: 1.04; letter-spacing: -0.025em;
}
.hero__sub {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem); line-height: 1.25;
  color: var(--cafe); max-width: 26ch; margin-bottom: var(--s-3); text-wrap: balance;
}
.hero__lead { font-size: 1.0625rem; color: var(--cafe-medio); max-width: 44ch; margin-bottom: var(--s-5); }

/* Linha compacta de informações; quebra entre itens, nunca dentro de um item */
.facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px;
  margin-bottom: var(--s-4);
  font-weight: 700; font-size: 0.9375rem; color: var(--cafe);
}
.facts li { white-space: nowrap; }
.facts li::before { content: "•"; color: var(--brasa); margin-right: 6px; }

.cta-group__free {
  font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brasa); margin-bottom: var(--s-2);
}
.cta-group__note { font-size: 0.875rem; color: var(--cafe-medio); max-width: 46ch; margin: var(--s-3) 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-4); max-width: 560px; }
.chip {
  border: 1px solid rgba(30, 21, 16, 0.18);
  background: rgba(255, 255, 255, 0.45);
  border-radius: var(--r-pill);
  padding: 3px 11px;
  font-size: 0.8125rem; font-weight: 500; line-height: 1.5; color: var(--cafe);
}

.hero__info {
  display: flex; gap: var(--s-3); align-items: flex-start;
  border-left: 2px solid var(--brasa);
  padding-left: var(--s-3);
  font-size: var(--fs-small); color: var(--cafe-medio);
  margin-bottom: var(--s-5);
}
.hero__info b { color: var(--cafe); }
.hero__info-icon { color: var(--brasa); line-height: 1.6; }

.hero__price {
  font-weight: 700; font-size: var(--fs-label);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brasa); margin-bottom: var(--s-3);
}
.hero__trust { font-size: 0.75rem; color: var(--cafe-medio); margin: var(--s-3) 0 0; }

.hero__media { align-self: end; }
.photo-placeholder {
  display: grid; place-items: center; text-align: center;
  font-weight: 700; letter-spacing: 0.14em; font-size: var(--fs-label);
}
.photo-placeholder small { font-weight: 500; letter-spacing: 0.04em; }
.photo-placeholder--hero {
  aspect-ratio: 4 / 5; width: 100%; max-width: 420px; margin-inline: auto;
  border-radius: var(--r-photo) var(--r-photo) 0 0;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(242, 140, 40, 0.16), transparent 70%),
    linear-gradient(180deg, #E5DCD1 0%, #EDE6DD 70%, var(--areia) 100%);
  border: 1px dashed rgba(30, 21, 16, 0.25); border-bottom: 0;
  color: var(--cafe-medio);
}

@media (min-width: 900px) {
  .hero { padding-top: var(--s-8); }
  .hero__grid { grid-template-columns: 1.25fr 0.75fr; gap: var(--s-7); }
  .hero__text { padding-bottom: var(--s-8); }
  .photo-placeholder--hero { max-width: none; }
}

/* =========================================================
   Seções escuras
   ========================================================= */
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--madrugada); }
.section--earth { background: var(--terra); }
.section--light { background: var(--areia); color: var(--cafe); }
.section--light h2 { color: var(--cafe); }
.section__title { text-align: center; max-width: 22ch; margin: 0 auto var(--s-6); }

/* Textura de linhas verticais finas + grão, só nos fundos escuros */
.section--dark::before, .section--earth::before, .section--final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(245, 239, 230, 0.018) 0 1px, transparent 1px 6px);
}
.section > .container { position: relative; }

/* =========================================================
   Bloco 2 · Corpo, alma e espírito
   ========================================================= */
.intro { max-width: 640px; margin: 0 auto var(--s-6); text-align: center; }
.intro > p { color: var(--areia-fosca); font-size: 1.0625rem; }
.intro > p b { color: var(--offwhite); }
.verse {
  margin: var(--s-5) auto 0; max-width: 560px;
  padding-top: var(--s-4);
  border-top: 1px solid var(--linha);
}
.verse blockquote { margin: 0; }
.verse p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.5; color: var(--offwhite); margin-bottom: var(--s-2); }
.verse figcaption { font-size: 0.8125rem; color: var(--areia-fosca); display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; align-items: center; }

.dimensions { display: grid; gap: var(--s-4); max-width: 980px; margin: 0 auto var(--s-5); }
@media (min-width: 820px) { .dimensions { grid-template-columns: repeat(3, 1fr); } }
.dimension {
  background: rgba(245, 239, 230, 0.035);
  border-radius: var(--r-card);
  padding: var(--s-5);
}
.dimension__title { font-family: var(--font-display); font-size: 1.625rem; color: var(--offwhite); margin-bottom: var(--s-1); }
.dimension__lead { color: var(--offwhite); font-weight: 500; margin-bottom: var(--s-3); }
.dimension__list { display: grid; gap: var(--s-2); }
.dimension__list li { position: relative; padding-left: var(--s-4); font-size: 0.9375rem; line-height: 1.5; color: var(--areia-fosca); }
.dimension__list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--areia-fosca); }

.plan {
  max-width: 640px; margin: var(--s-6) auto 0;
  text-align: center;
}
.plan__tag { font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--aurora); margin-bottom: var(--s-2); }
.plan__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem); color: var(--offwhite); margin-bottom: var(--s-3); }
.plan p:last-child { color: var(--areia-fosca); margin: 0 auto; max-width: 60ch; }

/* =========================================================
   Bloco 3 · O que vem incluído + Quem conduz
   ========================================================= */
.features {
  max-width: 860px; margin: 0 auto;
  border-top: 1px solid var(--linha);
  display: grid;
}
.feature {
  position: relative;
  padding: var(--s-5) var(--s-4) var(--s-5) var(--s-4);
  border-bottom: 1px solid var(--linha);
}
.feature:last-child { border-bottom: 0; }
.feature__icon {
  position: absolute; right: var(--s-4); top: var(--s-4);
  width: 44px; height: 44px;
  fill: none; stroke: var(--aurora); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round;
  opacity: 0.85;
}
.feature h3 { color: var(--offwhite); font-size: 1rem; margin-bottom: var(--s-2); padding-right: 56px; }
.feature p { font-size: 0.9375rem; color: var(--areia-fosca); margin: 0; }
.feature p b { color: var(--offwhite); }
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature { border-bottom: 0; border-right: 1px solid var(--linha); padding-top: var(--s-6); }
  .feature:last-child { border-right: 0; }
}

.about { display: grid; gap: var(--s-5); align-items: center; max-width: 860px; }
.photo-placeholder--about {
  aspect-ratio: 1 / 1; width: 100%; max-width: 220px;
  border-radius: var(--r-photo);
  background: linear-gradient(160deg, #DCD2C6, #CBBFB1);
  border: 1px dashed rgba(30, 21, 16, 0.25);
  color: var(--cafe-medio);
}
.about__title { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); margin-bottom: var(--s-3); }
.about__text p { font-size: 1.0625rem; color: var(--cafe-medio); margin: 0; }
@media (min-width: 720px) { .about { grid-template-columns: 220px 1fr; gap: var(--s-7); } }

/* =========================================================
   Bloco 4 · Inscrição
   ========================================================= */
.section--final {
  background:
    radial-gradient(50% 40% at 50% 70%, rgba(217, 84, 30, 0.18), transparent 70%),
    var(--madrugada);
}
.badge {
  display: inline-block;
  background: var(--aurora); color: var(--cafe);
  border-radius: var(--r-pill);
  padding: 4px 14px; margin-bottom: var(--s-4);
  font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase;
}
.final-card {
  max-width: 420px; margin-inline: auto;
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--aurora);
  border-radius: var(--r-final);
  background: linear-gradient(180deg, #2B1A11 0%, var(--carvao) 70%);
  box-shadow: 0 0 80px rgba(217, 84, 30, 0.22);
}
.final-card__title {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.final-card__lead { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--offwhite); margin-bottom: var(--s-4); text-wrap: balance; }
.final-card__info { color: var(--areia-fosca); font-size: 0.9375rem; margin-bottom: var(--s-5); }
.final-card__info b { color: var(--offwhite); }
.final-card__note { color: var(--areia-fosca); font-size: 0.875rem; margin: var(--s-3) 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .final-card { animation: glow 6s ease-in-out infinite; }
  @keyframes glow { 50% { box-shadow: 0 0 110px rgba(217, 84, 30, 0.32); } }
}

/* Rodapé */
.footer { border-top: 1px solid var(--brasa); padding-block: var(--s-6) var(--s-9); background: var(--madrugada); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); }
.footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--s-5); font-size: 0.8125rem; color: var(--areia-fosca); align-items: center; }
.footer__nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer__nav a:hover { color: var(--aurora); }
.footer__copy { font-size: 0.75rem; color: var(--areia-fosca); margin: var(--s-4) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--linha); }
@media (min-width: 900px) { .footer { padding-block: var(--s-6); } }

/* Barra fixa no celular */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgba(18, 12, 9, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--linha);
  transform: translateY(110%);
  transition: transform 300ms var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Página de política de privacidade */
.legal { max-width: calc(720px + var(--gutter) * 2); }
.legal h1 { margin-bottom: var(--s-5); }
.legal h2 { font-size: 1.25rem; margin-top: var(--s-7); }
.legal p { color: var(--areia-fosca); }
.legal .label { color: var(--aurora); }
.legal a { text-decoration: none; }

/* =========================================================
   Movimento
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Bloco 4 · Dúvidas frequentes
   ========================================================= */
.section--faq { padding-top: 0; }
.faq { display: grid; gap: var(--s-3); max-width: 680px; margin-inline: auto; }
.faq__item { border: 1px solid var(--linha); border-radius: var(--r-card); background: var(--carvao); padding: 0 var(--s-5); }
.faq__item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: 56px; padding-block: var(--s-3); font-weight: 700; font-size: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--aurora); font-size: 1.4rem; line-height: 1; transition: transform 200ms var(--ease); flex-shrink: 0; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--areia-fosca); padding-bottom: var(--s-4); margin: 0; }

/* =========================================================
   Versão publicada x versão de revisão (?revisao)
   ========================================================= */
.review-banner {
  position: sticky; top: 0; z-index: 60; margin: 0;
  background: var(--dourado); color: var(--cafe);
  text-align: center; font-size: 0.8125rem; font-weight: 700; padding: 6px var(--gutter);
}
html:not(.modo-revisao) .todo,
html:not(.modo-revisao) .todo-only,
html:not(.modo-revisao) [data-pendente] { display: none !important; }
/* Espaços das fotos: sem contorno tracejado na versão publicada */
html:not(.modo-revisao) .photo-placeholder { border-color: transparent; }
/* Dúvidas: some inteira enquanto todas as respostas estiverem pendentes */
html:not(.modo-revisao) .section--faq:not(:has(.faq__item:not([data-pendente]))) { display: none; }

/* =========================================================
   Ajustes de celular
   ========================================================= */
@media (max-width: 599px) {
  .hero { padding-top: var(--s-6); }
  .hero__text { padding-bottom: var(--s-5); }
  .hero__title { font-size: 2.5rem; }
  .facts { font-size: 0.875rem; }
  .btn--hero { width: 100%; }
  .photo-placeholder--hero { max-width: 300px; }
  .section__title { font-size: 1.625rem; }
  .chip { font-size: 0.8125rem; }
  .hero__info, .hero__trust { font-size: 0.875rem; }
  .photo-placeholder--about { max-width: 160px; }
  .feature { padding-inline: 0; }
  .feature__icon { right: 0; }
}

/* Fotos reais de Claudionor Rocha */
.photo { display: block; width: 100%; height: auto; object-fit: cover; }
.photo--hero {
  aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto;
  object-position: 50% 35%;
  border-radius: var(--r-photo) var(--r-photo) 0 0;
}
.photo--about {
  aspect-ratio: 4 / 5; max-width: 220px;
  object-position: 40% 40%;
  border-radius: var(--r-photo);
}
@media (min-width: 900px) { .photo--hero { max-width: none; } }
@media (max-width: 599px) {
  .photo--hero { max-width: 300px; }
  .photo--about { max-width: 200px; }
}

/* Logo na chamada final (versão clara, sobre o escuro) */
.final-card__title { line-height: 0; }
.final-card__logo { display: block; width: clamp(170px, 140px + 6vw, 230px); height: auto; margin: 0 auto; }
