/* =========================================================
   Dra. Audrey Reiter — reconstrução fiel ao original
   Fontes reais embutidas (Fraunces, TT Hoves, Open Sans).
   Tamanhos de fonte e cores calibrados a partir do site no ar.
   ========================================================= */

/* ---------- Fontes (self-hosted) ---------- */
@font-face { font-family:"Fraunces"; src:url("fonts/fraunces-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Fraunces"; src:url("fonts/fraunces-600.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Fraunces"; src:url("fonts/fraunces-400italic.woff2") format("woff2"); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:"TT Hoves"; src:url("fonts/tthoves-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"TT Hoves"; src:url("fonts/tthoves-700.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Open Sans Local"; src:url("fonts/opensans-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }

:root {
  --ink: #323232;
  --ink-soft: #454545;
  --head: #faf6fe;
  --nav-ink: #304254;      /* cor dos links do menu (original) */
  --whats: #25d366;
  --whats-dark: #1da851;
  --maxw: 1180px;
  --radius: 26px;
  --shadow: 0 20px 50px rgba(83, 52, 120, .20);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "TT Hoves", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-crm: "Open Sans Local", var(--font-sans);
  /* Cores dos fundos (extraídas do design original do Canva) */
  --grad-a: #d596ff;   /* roxo   */
  --grad-b: #54cfbf;   /* teal   */
  --solid: #55d4c1;    /* teal sólido das últimas seções + rodapé */
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Base = teal sólido das últimas seções/rodapé (#55d4c1).
     Hero e seções do meio pintam o próprio fundo por cima (ver .hero e #especialidades). */
  background: var(--solid);
  min-height: 100vh;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
img { max-width: 100%; display: block; }

/* ---------- Tipografia ----------
   Tamanhos-alvo (desktop) medidos no original:
   h1 80px · subtítulo 36px · CRM 22.7px · parágrafo hero 26.7px
   h2 seções 48–58px · itens/corpo 24px · depoimento nome 25px · nav 15px */
h1, h2 { font-family: var(--font-serif); color: var(--head); font-weight: 600; line-height: 1.1; margin: 0 0 .35em; letter-spacing: -.03em; text-shadow: 0 2px 16px rgba(84, 50, 120, .18); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }
a { color: inherit; text-decoration: none; }

/* ===================== HEADER ===================== */
/* Original: barra branca sólida, links 15px/700, cor #304254 */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(96,60,130,.08); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(96,60,130,.14); }
.header-inner { display: flex; align-items: center; justify-content: flex-end; height: 52px; }
.nav-list { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; align-items: center; }
.nav-list a { color: var(--nav-ink); font-weight: 700; font-size: 15px; transition: color .18s; }
.nav-list a:hover { color: #8b5cd0; }
.nav-toggle, .nav-burger { display: none; }

/* ===================== HERO ===================== */
/* Canva: "Gradiente circular de 0% 0%" — #fcfefe → #d596ff → #54cfbf */
.hero {
  padding: 54px 0 76px;
  background: radial-gradient(circle at 0% 0%, #fcfefe 0%, var(--grad-a) 50%, var(--grad-b) 100%);
}
.hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }

/* Card da foto: formato orgânico (clip-path #heroShape) igual ao original,
   com moldura branca fina e sombra que acompanha o recorte. */
.hero-photo { display: flex; justify-content: center; }
.photo-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0;
  aspect-ratio: 324 / 500.31;
  padding: 14px;
  background: rgba(255,255,255,.6);
  clip-path: url(#heroShape);
  filter: drop-shadow(0 24px 44px rgba(83, 52, 120, .30));
}
.photo-main { width: 100%; height: 100%; object-fit: cover; clip-path: url(#heroShape); }
.photo-logo { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 46%; height: auto; opacity: .97; filter: drop-shadow(0 2px 6px rgba(255,255,255,.6)); }

.hero-text h1 { margin-bottom: .06em; white-space: nowrap; }
.hero-text .subtitle { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--head); line-height: 1.28; margin: 0 0 .18em; letter-spacing: -.03em; }
.hero-text .crm { font-family: var(--font-crm); font-size: clamp(1.05rem, 1.6vw, 1.417rem); color: rgba(255,255,255,.94); letter-spacing: 0; margin-bottom: 1.35rem; }
.hero-text p { color: #ffffff; font-size: clamp(1.15rem, 1.9vw, 1.667rem); line-height: 1.38; max-width: 32ch; text-shadow: 0 1px 8px rgba(78,46,112,.18); }
.credentials { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.credentials li { color: #fff; font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.667rem); line-height: 1.32; padding-left: 24px; position: relative; margin-bottom: 8px; text-shadow: 0 1px 8px rgba(78,46,112,.2); }
.credentials li::before { content: "•"; position: absolute; left: 2px; color: #fff; }

/* ===================== SEÇÕES ===================== */
.section { padding: 66px 0; scroll-margin-top: 60px; }
.hero { scroll-margin-top: 60px; }
/* Canva: "Especialidades" (Sobre Meu Trabalho) e "Recomendações" (Depoimentos)
   usam gradiente linear de 90° (= horizontal, esquerda→direita): #d596ff → #54cfbf.
   Diferenciais e Agendamento herdam o teal sólido do body (#55d4c1). */
#especialidades, #recomendacoes {
  background: linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 100%);
}
/* Tamanhos de h2 por seção, iguais ao original */
#recomendacoes h2, #diferenciais h2 { font-size: clamp(2.1rem, 4.6vw, 3.333rem); }
#agendamento h2 { font-size: clamp(2.2rem, 5vw, 3.667rem); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.col-text { position: relative; z-index: 1; }
.framed-photo { position: relative; margin: 0; }
.framed-photo .photo-main-sec { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 11 / 12; object-fit: cover; display: block; }
.photo-brand { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 58%; max-width: 320px; opacity: .96; filter: drop-shadow(0 3px 10px rgba(0,0,0,.3)); pointer-events: none; }
/* Sobre Meu Trabalho — só no desktop: coluna da foto mais larga e foto preenchendo a altura do texto (igual ao print).
   No mobile mantém 1 coluna (foto abaixo do texto) via o media query max-width:880. */
@media (min-width: 881px) {
  #especialidades .two-col { grid-template-columns: 1fr 1.12fr; align-items: stretch; }
  #especialidades .col-photo, #especialidades .framed-photo { display: flex; width: 100%; }
  #especialidades .photo-main-sec { height: 100%; min-height: 520px; aspect-ratio: auto; object-position: center; }
}

/* Marca d'água decorativa (ícone do logo) atrás dos blocos de texto (hero + Sobre Meu Trabalho) */
.hero-text { position: relative; z-index: 1; }
.hero-text::before, #especialidades .col-text::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 250px; height: 250px; max-width: 70%;
  background: url("img/mark.png") no-repeat center / contain;
  opacity: .07;
}
.hero-text::before { left: 54%; top: 50%; transform: translate(-50%, -50%); }
#especialidades .col-text::before { left: -20px; top: 70px; }
.mt { margin-top: 2rem; }
.text-center { text-align: center; }

.dot-list { list-style: none; padding: 0; margin: 0; }
.dot-list li { color: var(--ink); font-size: clamp(1.15rem, 1.7vw, 1.5rem); margin-bottom: 12px; padding-left: 22px; position: relative; line-height: 1.55; }
.dot-list li::before { content: "•"; position: absolute; left: 0; color: #7a4fc0; font-weight: 700; }

/* ===================== DEPOIMENTOS (sem cartão, como o original) ===================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 34px; margin-top: 46px; }
.tcard { margin: 0; }
.tname { font-weight: 700; color: #fff; font-size: clamp(1.2rem, 1.8vw, 1.583rem); margin-bottom: 5px; }
.stars { color: #ffffff; letter-spacing: 4px; font-size: 1.15rem; margin-bottom: 12px; opacity: .95; }
.tcard blockquote { margin: 0; color: #fff; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.4; text-shadow: 0 1px 6px rgba(78,46,112,.18); }

/* ===================== DIFERENCIAIS ===================== */
.feature { margin-bottom: 26px; }
.feature h3 { font-family: var(--font-sans); color: var(--ink); font-weight: 700; font-size: clamp(1.2rem, 1.7vw, 1.5rem); margin: 0 0 6px; }
.feature p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.333rem); line-height: 1.36; margin: 0; }

/* ===================== AGENDAMENTO ===================== */
.agenda-lead { color: var(--ink-soft); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.4; max-width: 44ch; margin: 0 0 1.6rem; }
.loc { margin-bottom: 28px; }
.loc h3 { font-family: var(--font-sans); color: var(--ink); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.083rem); margin: 0 0 6px; }
.loc p { color: var(--ink-soft); margin: 0 0 16px; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.4; }
/* Título da teleconsulta é longo: mantém em uma linha no desktop */
.loc.tele h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
@media (min-width: 640px) { .loc.tele h3 { white-space: nowrap; } }

/* CTA WhatsApp em pílula */
.btn-whats { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--whats); color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.25rem); box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .18s, background .18s; }
.btn-whats:hover { background: var(--whats-dark); transform: translateY(-2px); }
.btn-whats svg { flex: none; }

/* CTA Instagram em pílula (conteúdo / conhecer a Dra.) */
.btn-insta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.2rem); background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 10px 24px rgba(188,24,136,.4); transition: transform .18s, box-shadow .18s; }
.btn-insta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(188,24,136,.5); }
.btn-insta svg { flex: none; }
.insta-btns { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* WhatsApp flutuante (agendamento rápido) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 62px; height: 62px; border-radius: 50%; background: var(--whats); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(37,211,102,.5); transition: transform .18s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { position: relative; z-index: 1; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: waPulse 2.6s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* Como chegar (mapa) */
.como-chegar { margin-top: 48px; }
.como-chegar h3 { font-family: var(--font-sans); color: var(--ink); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 0 0 6px; }
.como-chegar p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin: 0 0 16px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ===================== CREDENCIAIS ===================== */
.cred-lead { color: var(--ink-soft); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 62ch; margin: 0 auto 2rem; }
.cred-avatar { position: relative; z-index: 2; display: block; width: 134px; height: 134px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; border: 5px solid #fff; box-shadow: 0 12px 30px rgba(83, 52, 120, .28); background: #f7f2fb; margin: 0 auto; }
.cred-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); padding-top: 92px; margin: -67px auto 0; }
.cred-name { font-family: var(--font-serif); font-weight: 600; color: var(--ink); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; text-align: center; margin: 0 0 6px; }
.cred-role { font-family: var(--font-sans); font-weight: 700; color: #7a4fc0; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; text-align: center; margin: 0 0 28px; }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cred-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #f7f2fb; border-radius: 16px; border: 1px solid rgba(122,79,192,.12); }
.cred-label { font-weight: 700; color: #7a4fc0; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.cred-value { font-family: var(--font-serif); color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.15; }
.cred-tag { color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.cred-tag.ok { color: var(--whats-dark); }
.cred-cta { text-align: center; margin-top: 28px; }
.btn-cfm { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: #7a4fc0; color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.2rem); box-shadow: 0 10px 24px rgba(122,79,192,.35); transition: transform .18s, background .18s; }
.btn-cfm:hover { background: #6a41ab; transform: translateY(-2px); }
.btn-cfm svg { flex: none; }
.cred-hint { color: var(--ink-soft); font-size: 1rem; margin: 14px 0 0; }
@media (max-width: 1100px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== PRIMEIRA CONSULTA ===================== */
.prep-lead { color: var(--ink-soft); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 62ch; margin: 0 auto 2.4rem; }
.prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prep-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 26px 24px; }
.prep-ico { font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.prep-card h3 { font-family: var(--font-sans); color: var(--ink); font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin: 0 0 8px; }
.prep-card p { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.4; margin: 0; }

/* ===================== FOOTER ===================== */
.site-footer { padding: 40px 0 64px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-logo { height: 110px; width: auto; }
.social { display: inline-flex; align-items: center; gap: 9px; color: #274a44; font-weight: 600; font-size: 1.1rem; }
.social:hover { color: #14342e; }
.copyright { color: #2c5650; font-size: .95rem; margin: 0; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 880px) {
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; cursor: pointer; }
  .nav-burger span { display: block; height: 3px; width: 24px; background: var(--nav-ink); border-radius: 2px; transition: .25s; }
  .nav-list { position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; gap: 0; align-items: stretch; background: #fff; max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: 0 12px 24px rgba(96,60,130,.14); }
  .nav-toggle:checked ~ .nav-list { max-height: 420px; }
  .nav-list li { border-top: 1px solid rgba(120,80,150,.12); }
  .nav-list a { display: block; padding: 15px 26px; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding: 36px 0 48px; }
  .hero-text { text-align: center; }
  .hero-text p, .credentials { margin-left: auto; margin-right: auto; }
  .hero-text p { max-width: none; }
  .credentials { display: inline-block; text-align: left; }
  .hero-photo { order: -1; }
  /* nas seções internas, foto depois do texto */
  #especialidades .col-photo, #agendamento .col-photo { order: 2; }
  .testimonials { grid-template-columns: 1fr; gap: 32px; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred-avatar { width: 112px; height: 112px; }
  .cred-card { margin-top: -56px; padding-top: 78px; }
  .prep-grid { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero-text::before, #especialidades .col-text::before { display: none; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .photo-card { max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
