/*
  Identidade visual — tema teal (valores provisórios, projeto sem design system prévio).
  Direção: acolhedora e leve, em tons de verde-azulado.
  Fontes: Cormorant Garamond (títulos, como nos materiais da cliente) e Nunito Sans (corpo).
  Para trocar a cor da marca, altere apenas os tokens em :root.
*/

:root {
  --teal-600: #0f5e57;
  --teal-700: #0e4a47;
  --teal-900: #1d403f;
  --teal-blue: #174c5c;
  --surface: #f4f8f7;
  --surface-deep: #e3eeed;
  --tint-100: #d6e7e5;
  --tint-300: #9fc3bf;
  --ink-soft: #4a6564;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 1.25rem;
  --radius-pill: 999px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --shadow: 0 10px 30px -12px rgb(29 64 63 / 0.25);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--teal-900);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-900);
  margin: 0 0 var(--space-2);
}
h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 var(--space-2); }

a { color: var(--teal-600); }

:focus-visible {
  outline: 3px solid var(--teal-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.section { padding-block: var(--space-5); }
@media (min-width: 48rem) { .section { padding-block: var(--space-6); } }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-1);
  color: var(--teal-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn--primary { background: var(--teal-600); color: var(--surface); }
.btn--primary:hover { background: var(--teal-900); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Cabeçalho e navegação */
.site-header {
  position: static;
  top: 0;
  z-index: 20;
  background: rgb(244 248 247 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tint-100);
}
.js-menu .site-header { position: sticky; }
.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-900);
  text-decoration: none;
}
/* Sem JavaScript o menu fica sempre aberto; o script ativa .js-menu para esconder/mostrar */
.menu-toggle { display: none; }
.js-menu .menu-toggle { display: inline-flex; }
.menu-toggle {
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 2px solid var(--tint-300);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--teal-900);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.site-nav { width: 100%; padding-bottom: var(--space-2); }
.js-menu .site-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  padding: var(--space-2) 1rem var(--space-3);
  background: var(--surface);
  border-bottom: 1px solid var(--tint-100);
}
.js-menu .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 0.7rem 0;
  color: var(--teal-900);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--teal-blue); }

@media (min-width: 62rem) {
  .menu-toggle, .js-menu .menu-toggle { display: none; }
  .site-header, .js-menu .site-header { position: sticky; }
  .site-nav, .js-menu .site-nav {
    display: block;
    position: static;
    width: auto;
    padding: 0;
    background: none;
    border: 0;
  }
  .site-nav ul { display: flex; gap: var(--space-3); }
  .site-nav a { padding: 0.4rem 0; font-size: 0.95rem; }
}

/* Hero */
.hero { padding-block: var(--space-4) var(--space-5); background: linear-gradient(180deg, var(--tint-100), var(--surface)); }
.hero__grid { display: grid; gap: var(--space-4); align-items: center; }
.hero__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.hero__photo { margin: 0; }
.hero__photo img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  border-radius: 45% 55% 50% 50% / 38% 38% 62% 62%;
  background: var(--tint-300);
  box-shadow: var(--shadow);
}
.btn--ghost { color: var(--teal-600); border-color: var(--tint-300); background: transparent; }
.btn--ghost:hover { border-color: var(--teal-600); }

@media (min-width: 62rem) {
  .hero { padding-block: var(--space-5) var(--space-6); }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* Botão flutuante de WhatsApp (somente no celular) */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--teal-600);
  color: var(--surface);
  box-shadow: var(--shadow);
}
@media (min-width: 62rem) { .whatsapp-float { display: none; } }

/* Seções de conteúdo */
.section--tint { background: var(--surface-deep); }
.section__head { max-width: 40rem; margin-bottom: var(--space-4); }
.section__head p { color: var(--ink-soft); }

.grid { display: grid; gap: var(--space-3); }
@media (min-width: 40rem) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 39.99rem) { .grid--3 { grid-template-columns: 1fr; } }

.card {
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--tint-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--ink-soft); }

.about { display: grid; gap: var(--space-4); align-items: center; }
.about__photo { margin: 0; }
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius);
  background: var(--tint-300);
  box-shadow: var(--shadow);
}
.about__crn { font-weight: 700; color: var(--teal-blue); }
@media (min-width: 62rem) { .about { grid-template-columns: 0.8fr 1.2fr; } }

.steps {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}
.steps li { position: relative; padding-top: 3.5rem; counter-increment: passo; }
.steps li::before {
  content: counter(passo);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--teal-blue);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
}
.steps p { margin: 0; color: var(--ink-soft); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Depoimentos */
.quote {
  position: relative;
  margin: 0;
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--tint-100);
  border-radius: var(--radius);
}
.quote blockquote { margin: var(--space-2) 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; }
.quote figcaption { color: var(--ink-soft); font-weight: 600; }
.badge {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--tint-100);
  color: var(--teal-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Perguntas frequentes */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--tint-300); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--teal-blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 var(--space-2); color: var(--ink-soft); }

/* Contato */
.contact { display: grid; gap: var(--space-4); align-items: start; }
.contact__list { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.contact__list li { margin-bottom: 0.5rem; }
.contact__map iframe { width: 100%; height: 22rem; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 62rem) { .contact { grid-template-columns: 1fr 1fr; } }

/* Rodapé */
.site-footer { padding-block: var(--space-4); background: var(--teal-900); color: var(--surface); font-size: 0.95rem; }
.site-footer a { color: var(--tint-300); }
.site-footer h2 { color: var(--surface); font-size: 1.2rem; }
.site-footer p { margin-bottom: 0.5rem; }
.privacy { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--ink-soft); }
.site-footer__copy { margin-top: var(--space-3); color: var(--tint-300); }

/* Animação ao rolar: só esconde quando o script confirmou que vai revelar */
.js .reveal { opacity: 0; transform: translateY(1rem); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Foco visível sobre o rodapé escuro */
.site-footer :focus-visible { outline-color: var(--surface); }

/* Identidade real: logo, assinatura, planos e lista do que inclui */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { width: auto; height: 2.2rem; }
.hero__photo img { object-position: center top; }
.about__signature { width: min(14rem, 70%); height: auto; margin-top: var(--space-2); }
.plan__price { margin-top: var(--space-2); color: var(--teal-600); font-weight: 700; }
.plan__note { max-width: 44rem; margin: var(--space-3) 0 var(--space-4); color: var(--ink-soft); }
.includes-block h3 { margin-bottom: var(--space-2); }
.includes { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.includes li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3rem;
  background: #fff;
  border: 1px solid var(--tint-100);
  border-radius: var(--radius);
}
.includes li::before {
  content: "\2713";
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--teal-600);
  color: var(--surface);
  font-size: 0.85rem;
  font-weight: 700;
}
@media (min-width: 48rem) { .includes { grid-template-columns: repeat(2, 1fr); } }
.site-footer__logo { width: auto; height: 2.6rem; margin-bottom: var(--space-2); }
