/* ==========================================================================
   Raquel Cruz Aromaterapia — Landing Page v3 (copy nova, 9 seções)
   Paleta: creme/papel + verde-sálvia + bordô (extraída do logo real)
   Tipografia: Piazzolla (display serifada) + Public Sans (texto)
   Assinatura visual: petal-frame — moldura em forma de pétala, ecoando
   a pétala central bordô do logo (flor de lótus).
   Direção de arte: ritmo editorial por alternância de fundo (papel/papel
   escuro/painel) entre seções, coluna estreita, respiro tipográfico.
   ========================================================================== */

:root {
  /* cor — paleta base */
  --paper: #F6F1E8;
  --paper-deep: #EEE7D8;
  --ink: #29231D;
  --ink-soft: #5B5147;
  --ink-deep: #1D1712;
  --sage: #445A40;
  --sage-deep: #2E3D2B;
  --sage-line: #C8CFBE;
  --sage-tint: #E4E9DC;
  --bordo: #6B2737;
  --bordo-deep: #4E1D28;
  --bordo-soft: #8C4453;
  --bordo-tint: #F0DEDD;
  --final-bg: #3A1B22;
  --final-ink: #F3E9E4;

  /* tipografia */
  --font-display: "Piazzolla", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* escala */
  --measure: 62ch;
  --radius-soft: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.15em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center-heading { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--bordo); color: #fff;
  padding: 0.7em 1.2em; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--bordo);
  outline-offset: 3px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--sage);
  margin: 0 0 0.9em;
}
.eyebrow--center { text-align: center; }
.eyebrow--onlight { color: var(--sage-line); }

.lede { font-size: 1.08rem; }

.closing-line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: 1.08rem;
}

/* ---------- leaf mark (ícone-assinatura) ---------- */
.leaf-mark {
  display: inline-block;
  width: 16px;
  height: 22px;
  margin-right: 0.6em;
  flex: none;
  background: var(--sage);
  clip-path: url(#petal-frame);
  vertical-align: middle;
}
.leaf-mark--lg { width: 30px; height: 42px; background: var(--bordo); margin: 0 0 0.9em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-soft);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  line-height: 1.3;
}
.btn-primary { background: var(--bordo); color: var(--paper); }
.btn-primary:hover { background: var(--bordo-deep); }

.btn-header {
  background: transparent;
  color: var(--bordo);
  border-color: var(--bordo);
  font-size: 1rem;
  padding: 0.75em 1.3em;
  white-space: nowrap;
}
.btn-header:hover { background: var(--bordo); color: var(--paper); }

.btn-offer {
  background: transparent;
  color: var(--bordo);
  border-color: var(--bordo);
  font-size: 1rem;
  padding: 0.75em 1.4em;
  width: 100%;
  margin-top: auto;
}
.btn-offer:hover { background: var(--bordo); color: var(--paper); }

.btn-final {
  background: var(--paper);
  color: var(--bordo-deep);
  font-size: 1.05rem;
  padding: 1.1em 2.2em;
}
.btn-final:hover { background: #fff; transform: translateY(-1px); }

.btn-cookie {
  background: var(--bordo);
  color: var(--paper);
  padding: 0.75em 1.4em;
  font-size: 1rem;
}
.btn-cookie:hover { background: var(--bordo-deep); }

.btn-microcopy {
  display: block;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  font-style: italic;
}
.btn-microcopy--onfinal { color: #D9C7C3; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sage-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: var(--ink);
}
/* Logo é o único elemento de marca no header (sem texto ao lado) — dimensionada
   grande de propósito (pedido explícito, 3ª rodada de ajuste). A logo é um selo
   completo (ícone + "aromaterapia integrativa" em arco + "Raquel Cruz" por
   extenso) já dentro do arquivo — por isso object-fit: contain sem crop
   circular, senão o texto do selo fica cortado. */
.brand-mark img { width: 84px; height: 84px; object-fit: contain; border-radius: 0; }
.main-nav { display: none; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0.9em;
}
.main-nav a:hover { color: var(--bordo); }

/* ---------- petal frame (elemento de assinatura) ---------- */
.petal-frame {
  clip-path: url(#petal-frame);
  background: var(--bordo);
  padding: 7px;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin: 0 auto;
}
.petal-frame img {
  clip-path: url(#petal-frame);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.petal-frame--flip { transform: scaleX(-1); }
.petal-frame--flip img { transform: scaleX(-1); }
.petal-frame--tight { max-width: 300px; }
.petal-frame--tight img { object-position: center 18%; }
.petal-frame--sage { background: var(--sage); }

/* ==========================================================================
   RITMO EDITORIAL — alternância de fundo entre seções (papel / papel
   escuro / painel escuro no CTA final), coluna estreita, tipografia com
   respiro. Cada seção tem sua classe própria.
   ========================================================================== */

.section { padding: 4.5rem 0; scroll-margin-top: 4.5rem; }
.tone-deep { background: var(--paper-deep); }

/* ---------- SEÇÃO 1 · HERO ---------- */
.hero { padding: 2.6rem 0 3.6rem; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}
/* Mobile: texto e CTA vêm ANTES da foto (ordem natural do HTML) — o CTA do
   WhatsApp precisa aparecer sem rolar a tela. A foto grande só entra depois. */
.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  color: var(--bordo);
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  line-height: 1.3;
}
.hero-copy h1 {
  font-size: clamp(2rem, 6.8vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}
.hero-copy .btn-primary { margin-top: 0.4rem; }

/* ---------- SEÇÃO 2 · DORES-ESPELHO ---------- */
.mirror-section { padding: 4.5rem 0; }
.mirror-list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.mirror-list li {
  display: flex;
  align-items: flex-start;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
}
.mirror-list .leaf-mark { margin-top: 0.25em; }
.mirror-closing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--bordo-deep);
  line-height: 1.6;
}
.mirror-cta-link {
  margin-top: 1.3rem;
  text-align: left;
  white-space: normal;
}
.mirror-cta-link::after { content: "→"; }

/* ---------- SEÇÃO 3 · A VIRADA ---------- */
.turn {
  background: linear-gradient(180deg, var(--bordo-tint) 0%, var(--paper) 100%);
  padding: 4.6rem 0;
  text-align: center;
  scroll-margin-top: 4.5rem;
}
.turn h2 {
  font-size: clamp(1.5rem, 4.2vw, 2.1rem);
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.8em;
}
.turn p { max-width: 50ch; margin-left: auto; margin-right: auto; }
.turn .btn-primary { margin-top: 0.8rem; }

/* ---------- SEÇÃO 4 · A EXPERIÊNCIA ---------- */
.experience-section .closing-line { display: block; margin: 1.4em 0 1.6em; }

/* ---------- SEÇÃO 5 · AUTORIDADE ---------- */
.credencial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}
.credential-list {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.credential-list li {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.disclaimer-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--sage-line);
  padding-top: 1rem;
  margin-top: 0.4rem;
}

/* ---------- SEÇÃO 6 · CAMINHOS DE CUIDADO (oferta em grid) ---------- */
.offers-section h2 { margin-bottom: 0.4em; }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-top: 2.6rem;
}
.offer-card {
  background: var(--paper);
  border: 1px solid var(--sage-line);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.offer-card h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.offer-card p { font-size: 1rem; }
.offer-card-audience {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bordo-deep);
  font-size: 1rem;
}
.offer-card-media {
  margin: -2rem -2rem 1.4rem;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.offer-card-media img { width: 100%; height: 220px; object-fit: cover; object-position: center 30%; }

/* ---------- SEÇÃO 7 · PROVA SOCIAL ---------- */
.proof {
  background: var(--paper-deep);
  padding: 5rem 0;
}
.proof h2 { margin-bottom: 2.4rem; }
.reviews-slider { margin: 2.4rem 0 0.6rem; overflow-x: hidden; }
.reviews-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.3rem 0.3rem 0.6rem;
  margin: 0 -0.3rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.google-review-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.08);
  padding: 1.6rem 1.8rem;
  flex: 0 0 min(420px, 84vw);
  scroll-snap-align: center;
  text-align: left;
}
.google-review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.google-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.google-review-avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.google-review-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
}
.google-review-stars {
  display: flex;
  gap: 2px;
  color: #FBBC04;
  margin-bottom: 0.9rem;
}
.google-review-text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.6rem;
}
.reviews-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sage-line);
  background: var(--paper);
  color: var(--bordo);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.reviews-arrow:hover { background: var(--bordo); color: var(--paper); border-color: var(--bordo); }
.reviews-dots { display: flex; align-items: center; gap: 0.2rem; }
.reviews-dot {
  width: 24px;
  height: 24px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reviews-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage-line);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.reviews-dot.is-active::before { background: var(--bordo); transform: scale(1.15); }

.proof-video {
  background: var(--bordo-deep);
  border-radius: 10px;
  padding: 2.2rem;
  text-align: center;
  color: var(--paper);
  max-width: 640px;
  margin: 0 auto;
}
.video-embed-title { font-family: var(--font-display); font-size: 1.2rem; display: block; margin-bottom: 0.4em; }
.video-embed-slot {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
}

/* ---------- SEÇÃO 8 · FAQ ---------- */
.faq-list { margin-top: 2rem; border-top: 1px solid var(--sage-line); }
.faq-item { border-bottom: 1px solid var(--sage-line); padding: 1.2rem 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bordo);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.9rem; padding-right: 1.6rem; }

/* ---------- SEÇÃO 9 · CTA FINAL ---------- */
.section-final {
  background: var(--final-bg);
  color: var(--final-ink);
  padding: 5.5rem 0;
  text-align: center;
}
.final-mark {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.6rem;
  padding: 6px;
  background: var(--paper);
  border-radius: 10px;
  object-fit: contain;
  opacity: 0.96;
}
.section-final h2 { color: var(--final-ink); font-size: clamp(1.7rem, 5vw, 2.5rem); }
.section-final p { color: #D9C7C3; }
.section-final .btn-final { margin-top: 1.6rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--sage-line);
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1rem;
}
.footer-legal a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 1rem;
}
.footer-legal a:hover { color: var(--bordo); }
.footer-bottom {
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.footer-bottom p { font-size: 1rem; color: var(--ink-soft); margin: 0 0 0.4em; text-align: center; }
.footer-disclaimer { font-style: italic; }

/* ---------- WhatsApp float button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bordo);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(41, 35, 29, 0.28);
  z-index: 60;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.whatsapp-float:hover { background: var(--bordo-deep); transform: translateY(-2px) scale(1.03); }
body.cookie-open .whatsapp-float { transform: translateY(-136px); }
@media (min-width: 640px) {
  body.cookie-open .whatsapp-float { transform: translateY(-92px); }
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 80;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(140%);
  transition: transform 0.4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 1rem; line-height: 1.35; color: #E8E1D6; }
.cookie-banner a { color: var(--final-ink); text-decoration: underline; }
.cookie-actions { display: flex; align-items: center; gap: 0.75rem; justify-content: flex-end; }
.cookie-close {
  background: transparent;
  border: none;
  color: #E8E1D6;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}

/* ---------- scroll reveal ---------- */
body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  body.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Breakpoints — mobile-first
   ========================================================================== */

/* Tablet (>= 640px) */
@media (min-width: 640px) {
  .offer-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* Desktop (>= 900px) */
@media (min-width: 900px) {
  .main-nav { display: flex; align-items: center; }

  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .hero-figure { order: 0; }
  .hero-copy h1 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); }

  .credencial-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }

  .section { padding: 6.5rem 0; }
  .mirror-section { padding: 6rem 0; }
  .turn { padding: 6rem 0; }
  .proof { padding: 6.5rem 0; }
  .section-final { padding: 7.5rem 0; }
}

/* Desktop grande (>= 1280px) */
@media (min-width: 1280px) {
  .petal-frame { max-width: 460px; }
  .petal-frame--tight { max-width: 320px; }
}
