/* ==========================================================================
   DR. PAULO DE JESUS — ajustes do hero e seções novas
   (o hero vem do template odonto-vitrine, em style.css)
   ========================================================================== */
html { scroll-behavior: smooth; }
html, body { height: auto; overflow-x: clip; }
a { color: inherit; }
section[id] { scroll-margin-top: 76px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Hero: credenciais logo de cara */
.hero-cred { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -8px 0 26px; padding: 8px 18px; border-radius: 999px; background: rgba(20, 22, 24, .55); border: 1px solid rgba(186, 193, 201, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #eaecef; }
.hero-cred i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-glow); box-shadow: 0 0 6px var(--cyan-glow); }
.hero-title { max-width: 900px; }
.expert-wrapper { height: 86vh; max-height: 880px; }
.case-card .card-tag { text-transform: none; letter-spacing: .01em; font-size: .78rem; }

/* Seções */
.section { position: relative; padding: 120px 0; background: #070707; overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #d7dbdf; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan-glow)); }
.section-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.01em; margin: 16px 0 18px; color: #fff; }
.section-title em { font-style: italic; font-weight: 400; background: linear-gradient(135deg, #ffffff 20%, #d7dbe0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.section-sub { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); max-width: 640px; }
.section-sub strong { color: #e8e9ea; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::after, .final .eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(-90deg, transparent, var(--cyan-glow)); }
.section-head.center .section-sub { margin: 0 auto; }

/* Faixa de credenciais */
.cred-strip { position: relative; z-index: 2; background: #070707; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred-item { padding: 30px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid rgba(255,255,255,.06); }
.cred-item:first-child { border-left: 0; }
.cred-item strong { font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600; color: #fff; }
.cred-item span { font-size: .85rem; color: var(--text-muted); }

/* Condições */
#condicoes::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(186, 193, 201,.13), transparent 70%); filter: blur(30px); pointer-events: none; }
.cond-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cond-card { position: relative; display: flex; flex-direction: column; padding: 0; border-radius: 20px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-glass); text-align: left; color: #fff; font: inherit; cursor: pointer; transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.cond-card:hover { transform: translateY(-6px); border-color: rgba(186, 193, 201,.5); box-shadow: 0 24px 50px -12px rgba(0,0,0,.9), 0 0 30px rgba(186, 193, 201,.25); }
.cond-card .cond-img { aspect-ratio: 4 / 4.4; overflow: hidden; }
.cond-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.88) saturate(.95); transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.cond-card:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.05); }
.cond-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cond-body h3 { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.cond-body p { font-size: .82rem; line-height: 1.55; color: var(--text-muted); flex: 1; }
.cond-body .cond-more { font-size: .78rem; font-weight: 600; color: #d7dbdf; }

/* Vacinas */
.vacinas { padding: 140px 0; background: #060607; }
.vacinas-bg { position: absolute; inset: 0; background: url("../img/vacinas-bg.webp") center / cover no-repeat; opacity: .55; }
.vacinas-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(6, 6, 7,.92) 30%, rgba(6, 6, 7,.55) 75%, rgba(6, 6, 7,.85)), linear-gradient(180deg, #070707 0%, transparent 18%, transparent 82%, #070707 100%); }
.vacinas-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.btn-glass { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 14px 24px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: all .3s ease; }
.btn-glass svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-glass:hover { background: rgba(186, 193, 201,.22); border-color: var(--cyan-glow); box-shadow: 0 0 24px rgba(186, 193, 201,.4); transform: translateY(-2px); }
.vacinas-list { list-style: none; display: grid; gap: 16px; }
.vacinas-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 26px; border-radius: 20px; background: rgba(21, 22, 23, .62); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.vacinas-list span { font-family: var(--font-serif); font-style: italic; font-size: 1.9rem; line-height: 1; color: #d7dbdf; }
.vacinas-list strong { display: block; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.vacinas-list p { font-size: .9rem; line-height: 1.6; color: var(--text-muted); }

/* Sobre */
.sobre { background: radial-gradient(circle at 25% 50%, #1d1f22 0%, #070707 55%); }
.sobre-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.sobre-foto { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.sobre-glow { position: absolute; left: 50%; bottom: 10%; width: 520px; height: 520px; max-width: 100%; transform: translateX(-50%); background: radial-gradient(circle, rgba(186, 193, 201,.35), rgba(162, 170, 180,.12) 45%, transparent 70%); filter: blur(40px); }
.sobre-foto img { position: relative; width: 100%; max-width: 440px; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.sobre-badge { position: absolute; right: 4%; bottom: 18%; padding: 14px 18px; border-radius: 16px; background: rgba(20, 22, 24,.7); border: 1px solid rgba(186, 193, 201,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; gap: 2px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.sobre-badge strong { font-size: 1rem; }
.sobre-badge span { font-size: .8rem; color: #d7dbdf; font-weight: 600; letter-spacing: .06em; }
.sobre-copy p { font-size: 1rem; line-height: 1.75; color: #dadbdc; margin-bottom: 14px; }
.sobre-copy p strong { color: #fff; }
.sobre-forma { list-style: none; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sobre-forma li { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); font-size: .88rem; color: #e8e9ea; line-height: 1.4; }
.sobre-forma b { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #d7dbdf; margin-bottom: 4px; }

/* Como funciona */
.passos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.passo { position: relative; padding: 30px 24px 28px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border-glass); }
.passo::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(186, 193, 201,.6), transparent); }
.passo span { font-family: var(--font-serif); font-style: italic; font-size: 2.2rem; color: #d7dbdf; line-height: 1; }
.passo h3 { font-size: 1.1rem; font-weight: 700; margin: 16px 0 8px; }
.passo p { font-size: .9rem; line-height: 1.6; color: var(--text-muted); }

/* Depoimentos */
.depo { background: radial-gradient(circle at 80% 30%, #1d1f22 0%, #070707 55%); }
.depo-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.depo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.depo-card { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 15.5; border: 1px solid rgba(255,255,255,.1); }
.depo-card:nth-child(even) { margin-top: 28px; }
.depo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.depo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 11,.92)); }
.depo-card figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: grid; gap: 2px; }
.depo-card figcaption b { font-size: .86rem; }
.depo-card figcaption span { font-size: .72rem; color: #d7dbdf; font-weight: 600; }

/* Final */
.final { position: relative; padding: 140px 0; text-align: center; background: #060606; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.final-glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 520px; max-width: 100%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(186, 193, 201,.3), rgba(162, 170, 180,.1) 50%, transparent 72%); filter: blur(60px); }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .section-sub { margin: 0 auto 34px; }

/* Rodapé */
.footer { background: #040404; border-top: 1px solid rgba(255,255,255,.06); padding: 36px 0 90px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: .85rem; color: var(--text-dim); }
.footer-inner strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: #fff; }
.footer-links { display: flex; gap: 22px; }
.footer-links a, .footer small a { color: #dadbdc; text-decoration: none; }
.footer-links a:hover, .footer small a:hover { color: #fff; }
.footer small { width: 100%; font-size: .75rem; }

/* WhatsApp flutuante */
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(31,168,85,.4); transition: transform .25s; }
.float-wa:hover { transform: scale(1.07); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* Lightbox: ações */
.lightbox-acoes { display: flex; align-items: center; gap: 12px; }
.lightbox-cta { padding: 10px 18px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.lightbox-img { max-height: 60vh; object-position: center 30%; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1100px) {
  .cond-grid { grid-template-columns: repeat(3, 1fr); }
  .vacinas-inner, .sobre-inner, .depo-inner { grid-template-columns: 1fr; gap: 44px; }
  .passos-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-foto { min-height: 0; }
}
@media (max-width: 768px) {
  .section { padding: 84px 0; }
  .vacinas, .final { padding: 96px 0; }
  .wrap { width: calc(100% - 36px); }
  .hero-cred { font-size: .64rem; gap: 7px; padding: 6px 12px; margin: -4px 0 16px; letter-spacing: .04em; }
  .hero-cred .opc { display: none; }
  .expert-wrapper { height: 70vh; max-height: 600px; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .cred-item { padding: 20px 16px; border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .cred-item strong { font-size: 1.02rem; }
  .cond-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cond-body { padding: 12px 12px 14px; }
  .cond-body h3 { font-size: .98rem; }
  .cond-body p { display: none; }
  .passos-grid { grid-template-columns: 1fr; }
  .sobre-forma { grid-template-columns: 1fr; }
  .depo-grid { grid-template-columns: 1fr 1fr; }
  .depo-card:nth-child(even) { margin-top: 0; }
  .lightbox-caption { flex-direction: column; align-items: flex-start; gap: 14px; }
  .float-wa { right: 14px; bottom: 16px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .cards-track, .glow-core { animation: none; }
}

/* Respiro claro no meio da página */
.passos { background: #f3f1ec; color: #141415; }
.passos .eyebrow { color: #9198a1; }
.passos .eyebrow::before, .passos .section-head.center .eyebrow::after { background: linear-gradient(90deg, transparent, #b6bbc2); }
.passos .section-title { color: #141517; }
.passos .section-title em { background: linear-gradient(135deg, #858e9c 10%, #c2c6cc 100%); -webkit-background-clip: text; background-clip: text; }
.passos .passo { background: #fff; border-color: rgba(20, 21, 23,.08); box-shadow: 0 18px 40px rgba(20, 21, 23,.07); }
.passos .passo span { color: #b6bbc2; }
.passos .passo h3 { color: #141517; }
.passos .passo p { color: #a9aaab; }
.vacinas-bg { opacity: .7; }

/* Hero: rosto acima do texto (Dr. Paulo sobe, texto desce) */
.expert-wrapper { bottom: 9vh; height: 80vh; max-height: 820px; }
.expert-wrapper::after { height: 260px; }
.hero-section { padding-bottom: 28px; }
.hero-main-group { margin-bottom: 0; }
.hero-bottom-row { position: absolute; left: 40px; right: 40px; bottom: 34px; margin: 0; }
.hero-badge { text-shadow: 0 2px 14px rgba(0,0,0,.95); }

/* O médico: foto maior, do topo do texto até a base */
.sobre-foto { min-height: 0; align-self: stretch; }
.sobre-foto img { max-width: 620px; width: 112%; margin-top: -40px; }
.sobre-badge { right: 0; bottom: 14%; }
@media (max-width: 1100px) { .sobre-foto img { width: 100%; max-width: 480px; margin-top: 0; } }
@media (max-width: 768px) {
  .expert-wrapper { bottom: 15vh; height: 62vh; }
  .hero-bottom-row { display: none; }
}

/* O médico: enquadrado da cintura pra cima, do título até a base */
.sobre-inner { align-items: stretch; }
.sobre-copy { align-self: center; }
.sobre-foto { align-items: flex-end; }
.sobre-foto img { width: 100%; max-width: 640px; margin-top: 0; }
.sobre-badge { right: 2%; bottom: 12%; }
.sobre-foto img { max-width: 520px; }
