/* ==========================================================================
   Dra. Tanise Nunes Carvalho — Landing Page
   Paleta e conceito: docs/MANUAL DE MARCA.pdf
   ========================================================================== */

:root {
  --blue: #265D96;
  --blue-dark: #1e4c7a;
  --navy: #152F48;
  --wine: #934C57;
  --teal: #03666B;
  --beige: #E9DED4;
  --pink: #D87F84;
  --sage: #7E9990;

  --ink: #2b2a28;
  --paper: #FFFDFB;

  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px -12px rgba(21, 47, 72, 0.25);
  --shadow-sm: 0 6px 16px -8px rgba(21, 47, 72, 0.25);

  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--font);
  color: var(--navy);
  margin: 0 0 18px 0;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.32; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }

h1 .h1-strong { font-weight: 700; }
h1 .h1-light {
  display: inline-block;
  font-weight: 400;
  color: #55565c;
}
h1 .h1-accent {
  position: relative;
  color: var(--wine);
  white-space: nowrap;
}
h1 .h1-accent svg {
  position: absolute;
  left: -2%;
  bottom: -0.1em;
  width: 104%;
  height: 0.16em;
  overflow: visible;
}

p { margin: 0 0 16px 0; }

a { color: inherit; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
  margin: 0 0 10px 0;
}
.kicker--light { color: var(--pink); }

.h-light { color: #fff; }

.tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px 0;
}
.tagline--light { color: var(--beige); }

.lede { max-width: 700px; }
.lede p { color: #4a4744; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(38, 93, 150, 0.55);
}
.btn-light {
  background: #fff;
  color: var(--blue);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(0,0,0,0.25);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.btn-pulse { position: relative; }
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(38, 93, 150, 0.55);
  animation: pulse-ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(38, 93, 150, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(38, 93, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 93, 150, 0); }
}
.btn-pulse--light::after { animation-name: pulse-ring-light; }
@keyframes pulse-ring-light {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 20px 0;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px 8px 24px;
  border: 1px solid rgba(21, 47, 72, 0.07);
  box-shadow: 0 0 0 1px rgba(21, 47, 72, 0.03), 0 8px 28px rgba(21, 47, 72, 0.16);
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.nav-cta--mobile { display: none; }
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
}
.main-nav a.btn { color: #fff; }
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
} 
.main-nav ul a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige);
  border: none;
  cursor: pointer;
  padding: 0;

  margin-right: 10px;
}
.menu-toggle span {
  display: block;
  width: 16px;
  flex: none;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background: linear-gradient(180deg, #fff 0%, var(--beige) 100%);
  overflow: hidden;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco svg, .hero-deco .deco-dot { position: absolute; }
.deco-star--sage  { top: 14%; left: 6%; }
.deco-star--pink  { top: 62%; left: 3%; }
.deco-star--sage2 { top: 20%; right: 8%; }
.deco-dot--a { top: 30%; left: 12%; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.deco-dot--b { top: 75%; right: 14%; width: 14px; height: 14px; border-radius: 50%; background: var(--sage); }

/* TESTE: foto com fundo ilustrado ocupando o hero inteiro (ver docs/CHANGELOG.md) */
@media (min-width: 861px) {
  .hero.hero--bg-test {
    background: #f6f1ed url('../assets/img/herov2.png') right center / contain no-repeat;
  }
  .hero.hero--bg-test .hero-deco,
  .hero.hero--bg-test .hero-photo {
    display: none;
  }
  .hero.hero--bg-test .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero.hero--bg-test .hero-copy {
    max-width: clamp(420px, 55vw, 720px);
  }
  .hero.hero--bg-test .hero-sub {
    max-width: clamp(380px, 50vw, 640px);
  }
  /* nessa faixa a coluna de texto (clamp acima) ainda é estreita demais pras 3
     colunas caberem sem espremer — volta a empilhar até sobrar espaço de verdade */
  .hero.hero--bg-test .hero-cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1180px) {
  .hero.hero--bg-test .hero-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-sub { font-size: 1.08rem; color: #4a4744; max-width: 560px; }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 26px 0 28px;
}
.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mini-card-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-card-icon svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.mini-card-icon--wine { background: rgba(147, 76, 87, 0.12); color: var(--wine); }
.mini-card-icon--sage { background: rgba(126, 153, 144, 0.16); color: var(--sage); }
.mini-card-icon--blue { background: rgba(38, 93, 150, 0.1); color: var(--blue); }
.mini-card:hover .mini-card-icon svg { transform: scale(1.15); }
.mini-card strong { display: block; font-size: 0.86rem; color: var(--navy); margin-bottom: 2px; }
.mini-card span { font-size: 0.78rem; line-height: 1.4; color: #6b6863; }

.credentials { margin-top: 16px; font-size: 0.88rem; color: var(--wine); font-weight: 600; letter-spacing: 0.02em; }

.hero-photo-frame {
  max-width: 420px;
  margin: 0 auto;
}

/* ==========================================================================
   Sections generic
   ========================================================================== */
.section { padding: 80px 0; position: relative; z-index: 0; overflow: hidden; }

/* Elementos soltos da marca (estrela, coração, bolinha) no fundo de algumas
   seções — sempre atrás do conteúdo (z-index negativo) e bem discretos. */
.bg-icon { position: absolute; z-index: -1; pointer-events: none; }
.section--beige { background: var(--beige); }
.section--dark { background: var(--navy); color: #f2ece4; }
.section--dark p, .section--dark li { color: #d9d2c8; }
.section--cta {
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.section--cta p { color: #eaf0f7; }

/* Autoridade (fundo escuro) */
#autoridade .bg-icon--1 { top: 6%; right: 6%; width: 170px; opacity: 0.07; }
#autoridade .bg-icon--2 { bottom: 4%; left: -30px; width: 90px; opacity: 0.09; transform: rotate(-12deg); }

/* Frase de destaque (fundo escuro) */
#frase .bg-icon--1 { top: 28%; left: 5%; width: 56px; opacity: 0.14; transform: rotate(-8deg); }

/* Sobre a Dra. Tanise */
#sobre .bg-icon--1 { top: 6%; right: 4%; width: 70px; opacity: 0.12; transform: rotate(8deg); }

/* Como funciona */
#como-funciona .bg-icon--1 { top: 12%; left: 2%; width: 46px; opacity: 0.5; }
#como-funciona .bg-icon--2 { top: 22%; left: 6.5%; width: 20px; opacity: 0.4; }
#como-funciona .bg-icon--3 { bottom: 14%; right: 4%; width: 120px; opacity: 0.06; transform: rotate(-6deg); }

/* Dúvidas */
#duvidas .bg-icon--1 { bottom: 6%; right: 5%; width: 100px; opacity: 0.1; transform: rotate(10deg); }

/* CTA final */
.section--cta .bg-icon--1 { top: 8%; left: 6%; width: 60px; opacity: 0.16; transform: rotate(-10deg); }
.section--cta .bg-icon--2 { bottom: 10%; right: 7%; width: 90px; opacity: 0.14; transform: rotate(14deg); }

/* Em telas estreitas os elementos de fundo precisam ser bem menores (e alguns
   saem do caminho do texto) pra não virar a coisa "gritante" que já corrigimos
   nos mini-cards do Hero */
@media (max-width: 640px) {
  #autoridade .bg-icon--1 { width: 78px; top: 3%; right: 3%; }
  #autoridade .bg-icon--2 { width: 50px; }
  #frase .bg-icon--1 { width: 34px; }
  #sobre .bg-icon--1 { width: 38px; }
  #como-funciona .bg-icon--1,
  #como-funciona .bg-icon--2 { display: none; }
  #como-funciona .bg-icon--3 { width: 70px; opacity: 0.05; }
  #duvidas .bg-icon--1 { width: 56px; }
  .section--cta .bg-icon--1 { width: 38px; }
  .section--cta .bg-icon--2 { width: 52px; }
}

.reinforce {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  border-left: 4px solid var(--pink);
  padding-left: 16px;
  margin: 30px 0;
}

.signal-list {
  list-style: none;
  margin: 26px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.signal-list li {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 51 48'%3E%3Cpath fill='%237E9990' fill-opacity='0.14' d='M25.5 0 31 17.2h18.1L34.5 27.8 40 45 25.5 34.4 11 45l5.5-17.2L2 17.2h18.1z'/%3E%3C/svg%3E") no-repeat right -12px bottom -16px / 76px 72px;
  border-radius: var(--radius-sm);
  padding: 14px 18px 14px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  color: var(--navy);
}
.signal-list li::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 8px; height: 8px;
  background: var(--pink);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}
.card {
  background: var(--beige);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card::after {
  content: "";
  position: absolute;
  top: -22px;
  right: -22px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-image: radial-gradient(rgba(38, 93, 150, 0.45) 1.4px, transparent 1.6px);
  background-size: 11px 11px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.card[data-reveal].is-visible:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.card strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 1.05rem; }
.card p { margin: 0; color: #55524d; font-size: 0.94rem; }

/* Quotes / autoridade */
.quote {
  border-left: 4px solid var(--pink);
  padding-left: 20px;
  margin: 28px 0;
}
.quote p { font-style: italic; color: #ece6dd; font-size: 1.05rem; }
.quote cite { color: var(--pink); font-style: normal; font-weight: 600; font-size: 0.9rem; }
.quote--big { border-left-color: var(--sage); margin: 30px 0 40px; }
.quote--big p { font-size: 1.3rem; color: #fff; font-weight: 500; }

/* Frase de destaque isolada (motto, sem citação/autoria) entre "Quando
   procurar" e "Uma avaliação completa" */
.quote-banner { text-align: center; padding: 60px 0; }
.quote-standalone { max-width: 680px; margin: 0 auto; }
.quote-standalone p {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}
.quote-standalone .brand-divider { justify-content: center; margin-top: 22px; }
.script-tagline {
  font-family: 'Caveat', cursive;
  font-size: 2.1rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--pink);
  margin: 18px 0 0;
}

/* mini divisor da logo: traços coloridos + coração */
.brand-divider { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.brand-divider .bd-line { display: inline-block; width: 26px; height: 2px; border-radius: 2px; }
.brand-divider .bd-line--1 { background: var(--beige); }
.brand-divider .bd-line--2 { background: var(--blue); }
.brand-divider .bd-line--3 { background: var(--pink); }
.brand-divider .bd-line--4 { background: var(--sage); }
.brand-divider .bd-heart { width: 13px; height: 13px; flex: none; }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.credentials-block {
  margin-top: 46px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.credentials-block strong { display: block; color: #fff; margin-bottom: 12px; font-size: 1rem; }
.credentials-block ul { margin: 0; padding-left: 20px; }
.credentials-block li { margin-bottom: 8px; }

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-photo-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 340px;
  margin: 0 auto;
  border: 6px solid #fff;
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 36px 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--beige);
}
.timeline::after {
  content: "";
  position: absolute;
  left: 19px; top: 6px;
  width: 2px;
  height: var(--progress, 0%);
  background: var(--blue);
  transition: height 0.4s ease;
}
.timeline li {
  display: flex;
  gap: 20px;
  padding-bottom: 30px;
  position: relative;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease;
}
.timeline li.is-visible .timeline-num {
  background: var(--blue);
  color: #fff;
}
.timeline strong { display: block; color: var(--navy); margin-bottom: 4px; }
.timeline p { margin: 0; color: #5c5955; font-size: 0.94rem; }

/* FAQ accordion */
.accordion { margin-top: 30px; }
.accordion-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.accordion-item[data-reveal].is-visible:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(21, 47, 72, 0.3);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.accordion-icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-icon::before { width: 14px; height: 2px; }
.accordion-icon::after { width: 2px; height: 14px; transition: transform 0.3s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel p { padding: 0 20px 18px; margin: 0; color: #55524d; }

/* CTA final */
.cta-final { max-width: 640px; margin: 0 auto; }
.cta-final h2 { margin-bottom: 14px; }

@media (min-width: 700px) {
  .cta-final { max-width: 820px; }
}

/*Assinatura*/
.assinatura img{
  width: 100%;
}
/* Footer */
.site-footer {
  background: var(--navy);
  color: #cfd6de;
  padding: 50px 0 40px;
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo {
  height: 150px;
  width: auto;
  margin-bottom: 10px;
}
.site-footer a { color: #fff; text-decoration: underline; }

/* Botão flutuante de WhatsApp — fixo em qualquer tamanho de tela */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: pulse-ring-whatsapp 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring-whatsapp {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 480px) {
  .whatsapp-float { width: 52px; height: 52px; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); }
  .whatsapp-float svg { width: 27px; height: 27px; }
}

/* ==========================================================================
   Scroll reveal — sistema próprio (sem libs externas)
   Reanima toda vez que o elemento volta a entrar na tela, não só na primeira vez.
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js [data-reveal="left"] { transform: translateX(-40px); }
html.js [data-reveal="right"] { transform: translateX(40px); }
html.js [data-reveal="zoom"] { transform: scale(0.85); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }

/* Sem JS (ou se algo falhar antes do reveal rodar), o conteúdo aparece normalmente */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn-pulse::after { animation: none; }
  .float-a, .float-b, .float-c { animation: none; }
  html { scroll-behavior: auto; }
}

/* Floating decorative shapes */
.float-a { animation: float-a 6s ease-in-out infinite; }
.float-b { animation: float-b 7s ease-in-out infinite; }
.float-c { animation: float-c 5s ease-in-out infinite; }
@keyframes float-a { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes float-b { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(12px) rotate(-8deg); } }
@keyframes float-c { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.15); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 30px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -12px 0 30px -18px rgba(0,0,0,0.35);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 20px; }
  .main-nav ul a { font-size: 1.05rem; }
  .nav-cta { width: 100%; }
  .nav-cta--desktop { display: none; }
  .nav-cta--mobile { display: block; }
  .menu-toggle { display: flex; }

  .section { padding: 60px 0; }
  .hero { padding: 120px 0 60px; }
  /* nessa largura o hero é uma coluna só e bem alta (texto + foto embaixo);
     as estrelinhas soltas do fundo acabam caindo em cima do texto, então
     saem daqui (no desktop com hero--bg-test elas já ficam ocultas também) */
  .hero-deco { display: none; }
}

@media (min-width: 640px) {
  .hero-cards { grid-template-columns: repeat(3, 1fr); }
  .signal-list { grid-template-columns: 1fr 1fr; }
  .card-grid--6 { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 861px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
  .card-grid--6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero { padding: 190px 0 110px; }
}
