/* ==========================================================================
   Dra. Andreia Farias — Nutricionista da Fertilidade
   style.css — v2 — paleta oficial: #6b7144 (verde) · #d8b1a3 (blush)
   ========================================================================== */

:root {
  --cream: #f8f4ee;
  --cream-alt: #f1e9df;
  --olive: #6b7144;
  --olive-dark: #454a2b;
  --olive-darker: #2f321e;
  --blush: #d8b1a3;
  --blush-light: #f1ddd3;
  --ink: #2e2b25;
  --ink-soft: #5c574c;
  --white: #ffffff;

  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 32px rgba(46, 43, 37, 0.08);
  --shadow-card: 0 8px 24px rgba(46, 43, 37, 0.06);

  --container-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--olive-darker); margin: 0 0 16px; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p { margin: 0 0 16px; color: var(--ink-soft); }

em { font-style: italic; color: var(--olive); }

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--olive);
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: block;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--blush-light); }

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

.section { padding: 96px 0; scroll-margin-top: 24px; }
.section--soft { background: var(--cream-alt); }

#inicio, #projeto-a-dois, #sobre, #depoimentos, #faq, #contato { scroll-margin-top: 24px; }

.todo-tag {
  background: var(--blush-light);
  color: var(--olive-dark);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-style: normal;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary { background: var(--blush); color: var(--olive-darker); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); background: var(--blush-light); }
.btn--ghost { border: 1.5px solid var(--olive); color: var(--olive-dark); }
.btn--ghost:hover { background: var(--olive); color: var(--white); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ==========================================================================
   Marca fixa + menu — NUNCA mudam de comportamento com o scroll.
   Isso corrige o bug da v1 (o menu "aparecia sozinho"): antes, o menu
   trocava de `position: static` pra `position: fixed` exatamente no
   momento em que cruzava um limite de scroll, e essa troca simultânea
   fazia o navegador animar de um `transform` desatualizado — resultando
   num flash do menu aberto. Agora o painel (.nav-drawer__panel) É SEMPRE
   position:fixed, do primeiro ao último pixel da página; só o `transform`
   muda, e só por causa de um clique explícito (nunca por scroll).
   ========================================================================== */
.site-brand-fixed {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 205;
  display: flex;
  align-items: center;
}
.site-brand-fixed img { height: 50px; width: auto; }

.menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 210;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(248, 244, 238, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--olive-darker);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(46, 43, 37, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  height: 100vh;
  width: min(86vw, 380px);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  padding: 48px 44px;
  box-shadow: var(--shadow-soft);
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.nav-drawer.is-open .nav-drawer__backdrop { opacity: 1; pointer-events: auto; }
.nav-drawer.is-open .nav-drawer__panel { transform: translateX(0); }

.nav-drawer__links { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.nav-drawer__links a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--olive-darker);
}
.nav-drawer__links a:hover { color: var(--olive); }
.nav-drawer__cta { margin-top: 6px; }
.nav-drawer__social {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ---------- Hero (tela cheia, sem header, sem CTA) ---------- */
.hero--full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 96px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  /* Placeholder de "foto de fundo" até termos a foto institucional real: um
     degradê com tom fotográfico + um véu mais claro à esquerda (onde fica o
     texto) que vai clareando pra manter a legibilidade do título. */
  background:
    linear-gradient(100deg, var(--cream) 0%, rgba(248, 244, 238, 0.94) 32%, rgba(248, 244, 238, 0.55) 52%, rgba(248, 244, 238, 0.12) 70%, transparent 88%),
    linear-gradient(155deg, var(--blush-light) 0%, var(--cream-alt) 45%, var(--olive) 150%);
  z-index: -1;
}
.hero__grid {
  display: flex;
  align-items: center;
  width: 100%;
}
.hero__content { max-width: 620px; }
.hero__content h1 { max-width: 14ch; }

/* ---------- Foto do hero (degradê já vem pronto no arquivo da imagem) ---------- */
.hero__photo {
  display: none; /* só aparece a partir do breakpoint de desktop largo, ver media query abaixo */
  flex-shrink: 0;
  width: 500px;
  position: relative;
}
.hero__photo picture,
.hero__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Photo placeholders (até termos as fotos institucionais) ---------- */
.photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--blush-light), var(--cream-alt) 60%, var(--olive) 140%);
  border: 1.5px dashed rgba(107, 113, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--olive-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--olive-dark);
  animation: hint-bounce 2.2s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Seção pinada (efeito de scroll) ---------- */
.pin-reveal {
  position: relative;
  height: 220vh;
}
.pin-reveal__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-alt);
}
.pin-reveal__text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  color: var(--olive-darker);
}
.pin-reveal__word {
  display: inline-block;
  opacity: 0.16;
  transition: opacity 0.15s linear;
}

/* Fotos do casal/família que entram deslizando pelos cantos enquanto rola
   dentro da seção pinada — escondidas em telas estreitas (não cabem sem
   brigar com o texto central), controladas via JS (--p vai de 0 a 1). */
.pin-reveal__photo {
  display: none;
  position: absolute;
  z-index: 1;
  width: clamp(220px, 25vw, 380px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(50, 42, 26, 0.18);
  pointer-events: none;
  --p: 0;
  opacity: var(--p);
  will-change: transform, opacity;
}
.pin-reveal__photo picture,
.pin-reveal__photo img {
  display: block;
  width: 100%;
  height: auto;
}
/* Ponto de chegada: bem perto da frase, no canto superior-esquerdo-de-centro,
   vindo de fora à esquerda — o texto (z-index acima) sempre fica por cima. */
.pin-reveal__photo--1 {
  top: 27%;
  left: 27%;
  transform: translate(calc(-50% + (1 - var(--p)) * -55vw), calc(-50% + (1 - var(--p)) * 30px));
}
/* Ponto de chegada: bem perto da frase, no canto inferior-direito-de-centro,
   vindo de fora à direita. */
.pin-reveal__photo--2 {
  top: 73%;
  left: 73%;
  transform: translate(calc(-50% + (1 - var(--p)) * 55vw), calc(-50% + (1 - var(--p)) * -30px));
}

@media (min-width: 900px) {
  .pin-reveal__photo { display: block; }
}

/* ---------- Pain points ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.pain-card p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.reassurance {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--olive-darker);
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- Sobre (seção única) ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--blush-light), var(--cream-alt) 60%, var(--olive) 140%);
  overflow: hidden;
  position: relative;
}
.about__media picture,
.about__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.credentials-strip span {
  background: var(--blush-light);
  color: var(--olive-darker);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.sobre-sub { margin-top: 96px; }
.sobre-sub__title {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

/* ---------- Cards grid (Diferenciais / Áreas / Passos) ---------- */
.diff-grid, .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
/* Áreas de atuação: são 4 cards — grid próprio (4 numa linha no desktop,
   2x2 no tablet) pra nunca sobrar um item "solto" numa linha desalinhada. */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.diff-card, .area-card, .step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.diff-card:hover, .area-card:hover, .step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.diff-card p, .area-card p { font-size: 0.95rem; margin: 0; }

.area-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blush-light);
  color: var(--olive-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.step-card { text-align: center; }
.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---------- Missão / Visão / Valores (painel contido dentro da seção única) ---------- */
.mvv-panel {
  margin-top: 96px;
  background: var(--olive-darker);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
}
.mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.mvv__text { font-size: 1.02rem; color: rgba(248, 244, 238, 0.85); }
.values-list { display: flex; flex-direction: column; gap: 10px; }
.values-list li {
  position: relative;
  padding-left: 22px;
  color: var(--cream);
  font-weight: 600;
}
.values-list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blush);
}
/* Valores: é uma lista de tópicos curtos (não um parágrafo), então o bloco
   inteiro (rótulo + itens) fica centralizado, com o "pingo" ao lado de cada
   palavra em vez de recuado à esquerda. */
.mvv__values { text-align: center; }
.mvv__values .values-list { align-items: center; }
.mvv__values .values-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
}
.mvv__values .values-list li::before { position: static; top: auto; left: auto; flex-shrink: 0; }

/* ---------- Depoimentos ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonials-grid--v2 { grid-template-columns: repeat(4, 1fr); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(155deg, var(--blush-light), var(--cream-alt) 60%, var(--olive) 140%);
  border: 1.5px dashed rgba(107, 113, 68, 0.4);
}
.testimonial-card__text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
}
.testimonial-card__name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--olive-dark);
}

/* ---------- FAQ Accordion ---------- */
.accordion__item {
  border-bottom: 1px solid rgba(107, 113, 68, 0.2);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--olive-darker);
}
.accordion__icon {
  flex: none;
  font-size: 1.4rem;
  color: var(--olive);
  transition: transform 0.25s ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion__panel p { padding: 0 4px 22px; margin: 0; }

/* ---------- Como funciona + CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--blush-light), var(--cream-alt));
}
.cta-final__inner {
  max-width: 640px;
  margin: 72px auto 0;
  text-align: center;
}
.cta-final__inner h2 { margin-bottom: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--olive-darker); color: var(--cream); padding: 64px 0 32px; }
.footer p { color: rgba(248, 244, 238, 0.82); font-size: 0.92rem; margin: 0 0 6px; }
.footer a:hover { color: var(--blush); }

.footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: left;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248, 244, 238, 0.15);
}
.footer__logo { height: 120px; width: auto; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.95; }
.footer__tagline { max-width: 420px; margin: 0; font-size: 0.95rem; }

.footer__legal {
  text-align: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(248, 244, 238, 0.15);
}
.footer__legal p { font-size: 0.82rem; opacity: 0.75; margin: 0 0 6px; }

/* Links discretos (WhatsApp, e-mail, endereço): idênticos ao texto ao redor
   em repouso — só revelam que são clicáveis no hover (sublinhado + cursor). */
.footer__subtle-link { text-decoration: none; text-underline-offset: 2px; }
.footer__subtle-link:hover { text-decoration: underline; color: var(--blush); }

.footer__bottom { padding-top: 24px; }
.footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  text-align: left;
}
.footer__copyright { margin: 0; }
.footer__disclaimer { font-size: 0.8rem; opacity: 0.7; margin: 28px auto 0; text-align: center; white-space: nowrap; }
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(248, 244, 238, 0.65);
  text-decoration: none;
  flex-shrink: 0;
}
.footer__credit-logo { height: 26px; width: auto; opacity: 0.92; transition: opacity 0.2s ease; }
.footer__credit:hover .footer__credit-logo { opacity: 1; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pin-reveal__word { opacity: 1 !important; }
  .pin-reveal__photo { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .hero__content h1 { max-width: none; }
  .diff-grid, .areas-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid--v2 { grid-template-columns: repeat(2, 1fr); }
  .mvv__grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__top { flex-direction: column; text-align: center; gap: 20px; }
  .footer__logo { margin: 0 auto; }
  .footer__tagline { max-width: 440px; margin: 0 auto; }
  .footer__bottom-row { flex-direction: column; text-align: center; gap: 14px; }
  .footer__disclaimer { white-space: normal; max-width: 420px; }
}

@media (max-width: 720px) {
  .site-brand-fixed img { height: 38px; }
  .menu-toggle { width: 46px; height: 46px; top: 16px; right: 16px; }
  .site-brand-fixed { top: 16px; left: 16px; }
  .nav-drawer__panel { padding: 40px 30px; }

  .hero--full { padding: 96px 0 96px; }
  .pin-reveal { height: 180vh; }

  .pain-grid, .diff-grid, .areas-grid, .steps-grid, .testimonials-grid--v2 { grid-template-columns: 1fr; }
  .mvv-panel { padding: 40px 24px; }
  .section { padding: 72px 0; }
  .sobre-sub { margin-top: 64px; }
  /* Dá espaço pro botão flutuante do WhatsApp não tampar a última linha do rodapé */
  .footer { padding-bottom: 96px; }
}

/* A foto do hero só entra em telas largas o bastante pra caber ao lado do texto
   sem espremer nada — abaixo disso o hero fica só com o texto, como já era. */
@media (min-width: 1180px) {
  .hero__grid { justify-content: space-between; gap: 40px; }
  .hero__photo { display: block; }
}
@media (min-width: 1440px) {
  .hero__photo { width: 580px; }
}
