/* ==========================================================================
   NutroGerações — Dra. Roberta Naumann
   Design system: dourado-mostarda + cream + serif elegante (boutique clínica)
   ========================================================================== */

:root {
  /* Paleta da marca (design-guide.md) */
  --gold:        #B8902F;  /* dourado-mostarda quente */
  --gold-dark:   #7A6A2E;  /* dourado escuro fosco (linhas, botões) */
  --gold-soft:   #C9A961;  /* dourado claro para detalhes sobre escuro */
  --cream:       #FAF6EE;  /* cream/areia clara */
  --cream-2:     #F3ECDD;  /* cream levemente mais quente p/ alternar seções */
  --ink:         #2E2A1F;  /* marrom-grafite (texto sobre claro) */
  --ink-soft:    #5C5446;  /* texto secundário */
  --olive:       #6B7A4E;  /* verde-oliva mate (acento botânico) */
  --line:        rgba(122, 106, 46, 0.22);
  --line-strong: rgba(122, 106, 46, 0.45);

  /* Tipografia */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;
  --script:"Cormorant Garamond", "EB Garamond", Georgia, serif;

  --maxw: 1140px;
  --radius: 10px;
  --shadow: 0 2px 18px rgba(46, 42, 31, 0.08);
  --shadow-card: 0 6px 30px rgba(46, 42, 31, 0.07);
}

/* Reset --------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }

/* Tipografia ---------------------------------------------------------------*/
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
p  { margin: 0 0 1.1em; }
.lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.75; }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 1rem;
  display: inline-block;
}
.script {
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--gold-dark);
  line-height: 1.2;
}

/* Layout -------------------------------------------------------------------*/
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--cream2 { background: var(--cream-2); }
.section--gold {
  background: var(--gold);
  color: var(--cream);
}
.section--gold h1, .section--gold h2, .section--gold h3 { color: var(--cream); }
.section--gold .eyebrow { color: rgba(250, 246, 238, 0.78); }
.section--ink { background: #211E16; color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--cream); }

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

/* Ornamento botânico (separador) ------------------------------------------*/
.leaf {
  display: block;
  width: 46px;
  height: auto;
  margin: 0 0 22px;
  color: var(--gold-dark);
}
.leaf.center { margin-left: auto; margin-right: auto; }
.section--gold .leaf { color: var(--gold-soft); }

/* Botões -------------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold-dark); color: var(--cream); }
.btn--primary:hover { background: var(--ink); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--gold-dark); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--gold-dark); color: var(--cream); border-color: var(--gold-dark); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--on-gold-ghost { background: transparent; color: var(--cream); border-color: rgba(250,246,238,.55); }
.btn--on-gold-ghost:hover { background: var(--cream); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* Header / Nav -------------------------------------------------------------*/
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.brand__sub { font-family: var(--sans); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-dark); }
.nav__cta { margin-left: 4px; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav__toggle svg { width: 26px; height: 26px; }

/* Hero ---------------------------------------------------------------------*/
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 520px; }
.hero__photo {
  position: relative;
  justify-self: center;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: auto -6% -4% -6%;
  height: 78%;
  background: radial-gradient(60% 60% at 50% 60%, rgba(184,144,47,.20), transparent 70%);
  z-index: 0;
}
.hero__disc {
  position: relative;
  z-index: 1;
  width: min(420px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold) 0%, #a87f25 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__disc img { height: 94%; width: auto; max-width: 90%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 20px rgba(0,0,0,.18)); }

.hero__tagline {
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  color: var(--gold-dark);
  margin: 0 0 1.2rem;
  line-height: 1.2;
}

/* Faixa de credenciais -----------------------------------------------------*/
.creds {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}
.creds__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  align-items: center;
  justify-content: center;
  padding: 22px 0;
}
.creds__item {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}
.creds__item strong { color: var(--ink); font-weight: 600; }
.creds__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Cards / grids ------------------------------------------------------------*/
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.section--cream2 .card { background: #fff; }
.card__ico { width: 40px; height: 40px; color: var(--gold-dark); margin-bottom: 16px; }
.card h3 { font-size: 1.35rem; margin-bottom: .35em; }
.card p { font-size: .98rem; color: var(--ink-soft); margin: 0; }

/* Lista de fases (vida) ----------------------------------------------------*/
.phases { display: grid; gap: 0; }
.phase {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase__label { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-dark); }
.phase__body h3 { font-size: 1.3rem; margin-bottom: .3em; }
.phase__body p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Pilares (numbered) -------------------------------------------------------*/
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  border: 1px solid rgba(250,246,238,.22);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: rgba(250,246,238,.04);
}
.pillar__n { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-soft); display: block; margin-bottom: 6px; }
.pillar h3 { color: var(--cream); font-size: 1.15rem; margin: 0 0 .3em; }
.pillar p { font-size: .9rem; color: rgba(250,246,238,.72); margin: 0; }

/* Split (texto + imagem/lista) --------------------------------------------*/
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--narrow { gap: 44px; }
.split__media .disc-frame {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(160deg, var(--cream-2), #e8ddc6);
  box-shadow: var(--shadow-card);
  display: flex; align-items: flex-end; justify-content: center;
}
.split__media .disc-frame img { height: 96%; width: auto; max-width: 92%; object-fit: contain; object-position: center bottom; }

/* Checklist -----------------------------------------------------------------*/
.check { display: grid; gap: 14px; }
.check li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; }
.check li svg { width: 22px; height: 22px; color: var(--olive); margin-top: 3px; }
.check li strong { color: var(--ink); }

/* Card como link -----------------------------------------------------------*/
a.card { display: block; color: inherit; }
a.card:hover { color: inherit; }
a.card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
a.card .card__arrow { width: 20px; height: 20px; color: var(--gold-dark); flex: none; transition: transform .18s ease; }
a.card:hover .card__arrow { transform: translateX(3px); }

/* FAQ (acordeão) -----------------------------------------------------------*/
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 0; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold-dark);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 40px 22px 0; color: var(--ink-soft); }

/* LP hero ------------------------------------------------------------------*/
.lp-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 6vw, 72px); }
.lp-hero .leaf { margin-bottom: 18px; }
.lp-hero .eyebrow { margin-bottom: .9rem; }
.lp-hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); max-width: 13ch; }
.lp-hero .hero__tagline { margin-top: .2rem; }
.lp-hero .lead { max-width: 640px; }
.lp-hero .btn-row { margin-top: 28px; }

/* Citação ------------------------------------------------------------------*/
.quote { text-align: center; }
.quote p {
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  line-height: 1.3;
  color: var(--gold-dark);
  max-width: 820px;
  margin: 0 auto;
}
.section--gold .quote p { color: var(--cream); }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 26px; }
.section--gold .quote cite { color: rgba(250,246,238,.8); }

/* Diferença / tabela comparativa ------------------------------------------*/
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.compare__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--cream); }
.compare__col--feature { background: var(--gold); color: var(--cream); border-color: var(--gold); }
.compare__col h3 { font-size: 1.3rem; }
.compare__col--feature h3 { color: var(--cream); }
.compare__col p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.compare__col--feature p { color: rgba(250,246,238,.9); }

/* CTA final band -----------------------------------------------------------*/
.cta-band { text-align: center; }
.cta-band .script { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; display: block; }

/* Contato / info -----------------------------------------------------------*/
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 22px; }
.info-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.info-item__ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold-dark);
}
.info-item__ico svg { width: 22px; height: 22px; }
.info-item h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 4px; }
.info-item p, .info-item a { margin: 0; font-size: 1.05rem; color: var(--ink); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.9) contrast(.98); }

/* Footer -------------------------------------------------------------------*/
.footer { background: #211E16; color: rgba(250,246,238,.78); padding: 64px 0 32px; }
.footer a { color: rgba(250,246,238,.78); }
.footer a:hover { color: var(--gold-soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(250,246,238,.12); }
.footer__brand img { width: 64px; height: 64px; margin-bottom: 16px; }
.footer__brand p { font-size: .95rem; max-width: 300px; }
.footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 16px; }
.footer__links { display: grid; gap: 10px; font-size: .95rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .8rem; color: rgba(250,246,238,.5); }
.footer__bottom a { color: rgba(250,246,238,.6); }

/* WhatsApp flutuante -------------------------------------------------------*/
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Page hero pequeno (páginas internas) ------------------------------------*/
.page-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero .eyebrow { margin-bottom: .8rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { max-width: 620px; }

/* Reveal -------------------------------------------------------------------*/
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsivo ---------------------------------------------------------------*/
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .split, .info-grid, .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__grid { padding-top: 40px; }
  .hero__photo { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links .nav__cta { margin: 14px 0 0; justify-content: center; }
  .nav__toggle { display: inline-flex; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 8px; }
  .phase__label { font-size: 1.3rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
