/* ============================================================
   Dra. Isabella Frota — design system
   Paleta escolhida por ela (30/11/2026): vinho, rosa queimado e dourado,
   sobre o creme do logo Coração Feminino 35+.
   ============================================================ */

:root {
  /* ---- PALETA ---- */
  --bg:          #FBF5EE;   /* creme do logo */
  --bg-2:        #F5EAE1;   /* seção alternada */
  --surface:     #FFFDFA;   /* cartões */
  --vinho:       #722D42;
  --vinho-dark:  #4E1C2C;
  --rosa:        #C58B91;   /* rosa queimado */
  --rosa-soft:   #EFD9D8;
  --dourado:     #C6A45B;
  --dourado-hi:  #E6CE92;
  --ink:         #3B1F28;   /* texto */
  --muted:       #75606A;   /* texto secundário */
  --line:        rgba(114, 45, 66, 0.14);
  --line-gold:   rgba(198, 164, 91, 0.45);
  --cta:         #25D366;   /* botão flutuante do WhatsApp */
  --shadow:      0 18px 50px rgba(78, 28, 44, 0.10);

  /* ---- TIPOGRAFIA (serifa do logo + sem serifa limpa) ---- */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Jost", -apple-system, "Segoe UI", sans-serif;

  /* ---- RITMO ---- */
  --pad: clamp(20px, 5vw, 80px);
  --max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--vinho); color: var(--bg); }
strong { font-weight: 500; }

/* textura leve de papel */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 90; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
}

#particles { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1; }

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-mark { text-align: center; }
.pre-heart { width: 58px; margin: 0 auto 18px; display: block; }
.pre-heart path {
  fill: none; stroke: var(--vinho); stroke-width: 2.5;
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: draw 1.6s ease forwards, beat 1.1s ease 1.6s infinite;
  transform-origin: center;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(1); } }
.pre-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--vinho);
}

/* ---------- header ---------- */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: background 0.45s ease, padding 0.45s ease, box-shadow 0.45s ease;
}
#header.scrolled {
  background: rgba(251, 245, 238, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px var(--pad);
  box-shadow: 0 1px 0 var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display); font-size: 23px; font-weight: 600; color: var(--vinho);
}
.brand-text em {
  font-style: normal; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
#header nav { display: flex; gap: 30px; }
#header nav a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s;
}
#header nav a:hover { color: var(--vinho); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 999px;
  border: 1px solid transparent; transition: all 0.35s ease; cursor: pointer;
}
.btn-solid { background: var(--vinho); color: #FFF8F2; }
.btn-solid:hover { background: var(--vinho-dark); box-shadow: 0 10px 30px rgba(114, 45, 66, 0.28); transform: translateY(-2px); }
.btn-ghost { border-color: var(--vinho); color: var(--vinho); background: transparent; }
.btn-ghost:hover { background: var(--vinho); color: #FFF8F2; }
.btn-header { padding: 11px 22px; font-size: 12px; }
.btn-xl { padding: 20px 44px; font-size: 15px; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px var(--pad) 150px; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(197, 139, 145, 0.28) 0%, transparent 65%),
    radial-gradient(40% 50% at 10% 90%, rgba(198, 164, 91, 0.14) 0%, transparent 70%);
}
.ecg {
  position: absolute; left: 0; right: 0; top: 50%;
  width: 100%; height: 22vh; transform: translateY(-40%);
  pointer-events: none; z-index: 1; opacity: 0.55;
  /* some à esquerda: não passa por baixo do texto */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 52%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 52%);
}
.ecg path { fill: none; stroke: var(--dourado); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hero-grid {
  position: relative; z-index: 3; width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 90px); align-items: center;
}
.eyebrow {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--vinho); margin-bottom: 22px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 78px); font-weight: 600; line-height: 1.04;
  color: var(--vinho-dark); margin-bottom: 26px;
}
.hero-content h1 em { font-style: italic; font-weight: 500; color: var(--rosa); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-cred {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding-top: 18px; border-top: 1px solid var(--line-gold); display: inline-block;
}
.hero-cred span { font-family: var(--font-display); text-transform: none; letter-spacing: 0.02em; font-size: 19px; font-weight: 600; color: var(--vinho); margin-right: 10px; }

/* ---------- fotos com espaço reservado ---------- */
.photo {
  position: relative; overflow: hidden;
  border-radius: 999px 999px 24px 24px;   /* arco no topo: lembra o coração do logo */
  background: linear-gradient(160deg, var(--rosa-soft) 0%, var(--rosa) 55%, var(--vinho) 100%);
  box-shadow: var(--shadow);
  outline: 1px solid var(--line-gold); outline-offset: 12px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo.is-placeholder img { display: none; }
.photo.is-placeholder::after {
  content: attr(data-label);
  position: absolute; inset: auto 12% 14% 12%;
  text-align: center; color: #FFF8F2;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5;
}
.photo.is-placeholder::before {
  content: ""; position: absolute; left: 50%; top: 34%;
  width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56'%3E%3Cpath d='M32 52S4 35 4 17A13 13 0 0 1 32 9a13 13 0 0 1 28 8c0 18-28 35-28 35z' fill='none' stroke='%23FFF8F2' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.7;
}
.photo-hero { aspect-ratio: 4 / 5.2; width: 100%; max-width: 460px; justify-self: end; }
.photo-sobre { aspect-ratio: 4 / 5; width: 100%; }

/* ondas do rodapé do logo */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 11vw, 160px); z-index: 2; }
.waves .w1 { fill: var(--rosa); opacity: 0.55; }
.waves .w2 { fill: var(--vinho); }
.waves .w3 { fill: none; stroke: var(--dourado); stroke-width: 2; vector-effect: non-scaling-stroke; }

/* ---------- marquee ---------- */
.marquee { background: var(--vinho); overflow: hidden; padding: 16px 0; position: relative; z-index: 4; }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 21px; font-weight: 500; font-style: italic; color: #FBEFE8; white-space: nowrap; }
.marquee-track i { color: var(--dourado-hi); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- base das seções ---------- */
section { position: relative; z-index: 3; padding: clamp(84px, 11vw, 150px) var(--pad); }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 780px; margin-left: 0; }
section > .section-head { margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.kicker { font-size: 12.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--vinho); margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 600; line-height: 1.1; color: var(--vinho-dark);
}
.section-head h2 em { font-style: italic; font-weight: 500; color: var(--rosa); }
.section-sub { color: var(--muted); margin-top: 18px; max-width: 620px; }

/* ---------- você se reconhece ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px 28px; box-shadow: var(--shadow);
}
.card-num { font-family: var(--font-display); font-size: 16px; color: var(--dourado); letter-spacing: 0.2em; display: block; margin-bottom: 16px; }
.card h3 { font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.2; color: var(--vinho); margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* ---------- programa ---------- */
#programa { background: var(--bg-2); }
.programa-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 70px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.programa-intro .section-head { margin-bottom: 0; }
.programa-logo { width: 100%; border-radius: 24px; mix-blend-mode: multiply; }
.fases { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.fase {
  background: var(--surface); border-radius: 22px; padding: 32px 26px 30px;
  border-top: 3px solid var(--rosa); box-shadow: var(--shadow);
}
.fase:nth-child(2) { border-top-color: var(--dourado); }
.fase:nth-child(3) { border-top-color: var(--vinho); }
.fase:nth-child(4) { border-top-color: var(--vinho-dark); }
.fase-idade { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--vinho); }
.fase h3 { font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.15; color: var(--vinho-dark); margin: 10px 0 12px; }
.fase-obj { font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.fase li { font-size: 14.5px; color: var(--muted); padding: 7px 0 7px 22px; border-top: 1px solid var(--line); position: relative; }
.fase li::before { content: "♡"; position: absolute; left: 0; top: 6px; color: var(--rosa); font-size: 13px; }
.nota { font-size: 14px; color: var(--muted); margin-top: 36px; max-width: 860px; font-style: italic; }

/* ---------- método ---------- */
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.passos::before {
  content: ""; position: absolute; top: 34px; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold) 10%, var(--line-gold) 90%, transparent);
}
.passo { position: relative; }
.passo-num {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line-gold);
  font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--vinho);
  position: relative; z-index: 1;
}
.passo h3 { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--vinho-dark); margin: 18px 0 8px; }
.passo p { font-size: 15.5px; color: var(--muted); }

/* ---------- olhar integral (faixa vinho) ---------- */
#integral { background: var(--vinho); color: #FBEFE8; overflow: hidden; }
#integral::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 85% 20%, rgba(197, 139, 145, 0.35), transparent 70%);
}
#integral .kicker { color: var(--dourado-hi); }
#integral .section-head h2 { color: #FFF8F2; }
#integral .section-head h2 em { color: var(--dourado-hi); }
#integral .section-sub { color: rgba(251, 239, 232, 0.78); }
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); position: relative; }
.pilar { border: 1px solid rgba(230, 206, 146, 0.35); border-radius: 22px; padding: 34px 30px; background: rgba(78, 28, 44, 0.35); }
.pilar h3 { font-family: var(--font-display); font-size: 27px; font-weight: 600; color: var(--dourado-hi); margin-bottom: 12px; line-height: 1.2; }
.pilar p { font-size: 15.5px; color: rgba(251, 239, 232, 0.82); }

/* ---------- família / serviços ---------- */
.servicos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.servico-card {
  border: 1px solid var(--line); background: var(--surface); border-radius: 20px;
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.servico-card:hover { border-color: var(--rosa); transform: translateY(-4px); box-shadow: var(--shadow); }
.servico-card h3 { font-family: var(--font-display); font-size: 25px; font-weight: 600; color: var(--vinho); margin-bottom: 10px; line-height: 1.2; }
.servico-card p { font-size: 15px; color: var(--muted); flex: 1; margin-bottom: 20px; }
.servico-cta { font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vinho); }

/* ---------- sobre ---------- */
#sobre { background: var(--bg-2); }
.sobre-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.sobre-texto .section-head { margin-bottom: 26px; }
.sobre-cred { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.citacao {
  font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4; color: var(--vinho); border-left: 2px solid var(--dourado); padding-left: 22px; margin-bottom: 24px;
}
.sobre-texto > p { color: var(--muted); margin-bottom: 26px; }
.formacao li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.formacao li strong { color: var(--vinho); }

/* ---------- consulta ---------- */
.consulta-box {
  background: var(--surface); border-radius: 28px; border: 1px solid var(--line-gold);
  padding: clamp(34px, 6vw, 72px); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px clamp(30px, 5vw, 70px); align-items: start;
}
.consulta-box .section-head { margin-bottom: 0; grid-row: span 3; }
.consulta-lista li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.consulta-lista li::before { content: "♡"; position: absolute; left: 0; top: 12px; color: var(--rosa); }
.consulta-lista strong { color: var(--vinho); }
.consulta-nota { font-size: 14.5px; color: var(--muted); font-style: italic; margin: 10px 0 6px; }
.consulta-box .btn { justify-self: start; }

/* ---------- onde ---------- */
#onde { background: var(--bg-2); }
.onde-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.onde-grid .section-head { margin-bottom: 24px; }
.onde-linha { color: var(--muted); margin-bottom: 8px; }
.onde-linha strong { color: var(--vinho); }
.onde-grid .btn { margin-top: 20px; }
.mapa { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.25) saturate(0.85); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 24px 44px 24px 0;
  font-family: var(--font-display); font-size: clamp(21px, 2.2vw, 26px); font-weight: 600;
  color: var(--vinho-dark); position: relative; transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 20px;
  color: var(--dourado); font-size: 30px; font-weight: 300; transition: transform 0.35s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--vinho); }
.faq-item p { color: var(--muted); font-size: 16px; padding: 0 44px 26px 0; }

/* ---------- CTA final ---------- */
#contato { text-align: center; background: var(--bg-2); }
#contato .section-head { margin-left: auto; margin-right: auto; }
#contato .section-sub { margin-left: auto; margin-right: auto; }
.contato-box { max-width: 760px; margin: 0 auto; }
.contato-linha { color: var(--muted); font-size: 15px; margin-top: 26px; line-height: 1.9; }
.contato-linha strong { color: var(--vinho); }
.contato-linha a { color: var(--vinho); border-bottom: 1px solid var(--line-gold); }

/* ---------- footer ---------- */
footer {
  position: relative; z-index: 3; background: var(--vinho-dark); color: rgba(251, 239, 232, 0.8);
  padding: 44px var(--pad); display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between; font-size: 13.5px;
}
footer { padding-bottom: 100px; }
@media (min-width: 621px) { footer { padding-bottom: 44px; padding-right: calc(var(--pad) + 70px); } }
footer .legal { max-width: 640px; font-size: 12.5px; line-height: 1.6; color: rgba(251, 239, 232, 0.62); }

/* ---------- botão flutuante ---------- */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%; background: var(--cta);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22); transition: transform 0.3s;
}
.float-cta:hover { transform: scale(1.08); }
.float-cta svg { width: 28px; height: 28px; fill: #fff; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .cards-4, .fases, .passos { grid-template-columns: 1fr 1fr; }
  .passos::before { display: none; }
  .servicos-grid, .pilares { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  #header nav { display: none; }
  .brand-text strong { font-size: 20px; }
  .brand-text em { font-size: 9px; letter-spacing: 0.12em; }
  #hero { padding-top: 110px; padding-bottom: 120px; }
  .hero-grid, .programa-intro, .sobre-grid, .onde-grid, .consulta-box { grid-template-columns: 1fr; }
  .photo-hero { justify-self: center; max-width: 220px; order: -1; outline-offset: 8px; }
  .photo.is-placeholder::after { font-size: 10.5px; inset: auto 8% 10% 8%; }
  .photo-sobre { max-width: 380px; margin: 0 auto; }
  .consulta-box .section-head { grid-row: auto; margin-bottom: 14px; }
  .ecg { top: 30%; -webkit-mask-image: none; mask-image: none; opacity: 0.4; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards-4, .fases, .passos, .servicos-grid, .pilares { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .btn-header { display: none; }
  .hero-cred span { display: block; margin-bottom: 4px; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain { display: none; }
}
