
:root{
  --wine:#810812;
  --wine2:#aa0e19;
  --wine-dark:#3a0105;
  --ink:#171313;
  --muted:#6e6663;
  --paper:#fff;
  --ivory:#f7f3f0;
  --rose:#ead6d4;
  --line:rgba(91,6,11,.13);
  --shadow:0 28px 80px rgba(58,1,5,.12);
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit}
.shell{width:min(calc(100% - 42px),var(--max));margin-inline:auto}
.section{padding:clamp(86px,9vw,132px) 0}
.soft{background:var(--ivory)}
.dark{color:#fff;background:linear-gradient(135deg,#210003 0%,var(--wine-dark) 40%,var(--wine) 100%)}
.skip{position:absolute;left:-9999px;top:8px;padding:10px;background:#fff;z-index:999}.skip:focus{left:8px}
.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 16px;color:var(--wine);font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;font-weight:900}
.eyebrow::before{content:"";width:40px;height:2px;background:currentColor}
.eyebrow.light{color:#f0c9cc}
h1,h2{margin:0;font-family:"Arial Narrow","Helvetica Neue Condensed",Arial,sans-serif;text-transform:uppercase;line-height:.98;letter-spacing:-.045em;font-weight:950;text-wrap:balance}
h1{font-size:clamp(3.5rem,6vw,6.5rem)}
h2{font-size:clamp(2.4rem,4.5vw,4.6rem)}
h3{margin:0;line-height:1.15}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 24px;border-radius:999px;text-decoration:none;font-weight:900;border:1px solid transparent;background:linear-gradient(135deg,var(--wine),var(--wine2));color:#fff;box-shadow:0 12px 30px rgba(129,8,18,.18);transition:transform .22s ease,box-shadow .22s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(129,8,18,.24)}
.btn-sm{min-height:46px;padding:0 20px}
.btn-outline{background:#fff;color:var(--wine);border-color:rgba(129,8,18,.2);box-shadow:none}
.btn-light{background:#fff;color:var(--wine);box-shadow:none}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.42);box-shadow:none}

.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.93);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;min-width:0}
.brand-heart{width:49px;height:58px;object-fit:contain}
.brand-text{min-width:0}
.brand-text strong{display:block;font-family:Georgia,serif;font-size:1.03rem;line-height:1.1}
.brand-text small{display:block;margin-top:4px;color:var(--muted);font-size:.63rem;letter-spacing:.13em;text-transform:uppercase}
.desktop-nav{display:flex;align-items:center;gap:23px}
.desktop-nav>a:not(.btn){text-decoration:none;color:var(--muted);font-size:.9rem;font-weight:800}
.mobile-header-cta{display:none}

.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,#fff 0 59%,#f3eae7 59%)}
.hero-arc{position:absolute;z-index:0;right:-240px;top:-340px;width:780px;height:1180px;border:42px solid var(--wine);border-left-color:rgba(129,8,18,.16);border-radius:50%;transform:rotate(9deg);pointer-events:none}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(390px,.88fr) minmax(0,1.12fr);gap:62px;align-items:center;min-height:calc(100vh - 82px);padding:26px 0}
.hero-photo-card{position:relative;height:min(78vh,720px);min-height:600px;border-radius:175px 28px 28px 28px;overflow:hidden;background:#eee3df;box-shadow:var(--shadow)}
.hero-photo-card>img{width:100%;height:100%;object-fit:contain;object-position:center top;background:linear-gradient(145deg,#f1eae7,#e4d8d5)}
.hero-photo-label{position:absolute;left:22px;right:22px;bottom:22px;padding:17px 19px;border-radius:20px;background:linear-gradient(135deg,rgba(57,1,5,.97),rgba(132,8,17,.97));color:#fff;box-shadow:0 18px 46px rgba(45,0,3,.25)}
.hero-photo-label strong{display:block;font-family:Georgia,serif;font-size:1.02rem}.hero-photo-label span{display:block;margin-top:5px;color:rgba(255,255,255,.76);font-size:.73rem}
.hero-copy{min-width:0}
.hero-copy h1 em{display:block;color:var(--wine);font-style:normal}
.hero-lead{margin:23px 0 0;max-width:710px;color:var(--muted);font-size:clamp(1.03rem,1.6vw,1.25rem)}
.credentials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px}
.credential-card{position:relative;overflow:hidden;min-height:126px;padding:19px 19px 17px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.9);box-shadow:0 10px 28px rgba(59,0,4,.055)}
.credential-card::after{content:"";position:absolute;right:-36px;top:-36px;width:82px;height:82px;border:11px solid rgba(129,8,18,.06);border-radius:50%}
.credential-abbr{display:block;color:var(--wine);font-family:Georgia,serif;font-size:1.55rem;font-weight:700;line-height:1}
.credential-card p{margin:9px 0 0;color:var(--muted);font-size:.79rem;line-height:1.42}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
.trustline{display:flex;flex-wrap:wrap;gap:10px 21px;margin-top:20px;color:var(--muted);font-size:.84rem;font-weight:750}
.trustline span{position:relative;padding-left:15px}.trustline span::before{content:"";position:absolute;left:0;top:.58em;width:6px;height:6px;border-radius:50%;background:var(--wine)}

.philosophy-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:88px;align-items:start}
.manifesto{margin:0;color:var(--wine-dark);font-family:Georgia,serif;font-size:clamp(1.55rem,2.9vw,2.35rem);line-height:1.42}
.role-statement{margin:32px 0 0;color:var(--wine);font-family:Georgia,serif;font-size:clamp(1.55rem,2.7vw,2.25rem);line-height:1.38}

.section-heading{display:flex;align-items:end;justify-content:space-between;gap:44px;margin-bottom:42px}
.section-heading>div{max-width:720px}.section-heading>p{margin:0;max-width:480px;color:var(--muted);font-size:1.02rem}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{position:relative;overflow:hidden;min-height:290px;padding:30px;border:1px solid var(--line);border-radius:28px;background:#fff;transition:transform .25s ease,box-shadow .25s ease}
.service-card::after{content:"";position:absolute;right:-65px;top:-65px;width:145px;height:145px;border:18px solid rgba(129,8,18,.055);border-radius:50%}
.service-card:hover{transform:translateY(-5px);box-shadow:0 22px 56px rgba(64,0,4,.1)}
.round-icon{width:51px;height:51px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--wine-dark),var(--wine2));font-weight:900;margin-bottom:24px}
.service-card h3{font-size:1.25rem}.service-card p{color:var(--muted);font-size:.94rem}.service-card b{display:block;margin-top:18px;color:var(--wine);font-size:.73rem;letter-spacing:.09em;text-transform:uppercase}

.premium-band{padding:0 0 80px;background:var(--ivory)}
.premium-band-inner{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;gap:42px;align-items:center;padding:48px 54px;border-radius:32px;color:#fff;background:linear-gradient(120deg,var(--wine-dark),var(--wine) 70%,var(--wine2));box-shadow:var(--shadow)}
.premium-band-inner::after{content:"";position:absolute;right:-180px;top:-180px;width:390px;height:390px;border:45px solid rgba(255,255,255,.08);border-radius:50%}
.premium-band-inner>*{position:relative;z-index:1}.premium-band-inner h2{font-size:clamp(2rem,3.7vw,3.7rem)}.premium-band-inner p{max-width:780px;color:rgba(255,255,255,.77)}

.consult-grid{display:grid;grid-template-columns:1fr 1fr;gap:76px;align-items:center}
.steps{margin-top:32px}.step{display:grid;grid-template-columns:46px 1fr;gap:16px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.16)}
.step>span{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.38);display:grid;place-items:center;font-family:Georgia,serif}
.step h3{font-size:1rem}.step p{margin:4px 0 0;color:rgba(255,255,255,.7);font-size:.9rem}
.clinic-card{padding:39px;border-radius:34px;background:#fff;color:var(--ink);box-shadow:0 28px 75px rgba(18,0,1,.35)}
.clinic-card h3{font-family:"Arial Narrow",Arial,sans-serif;text-transform:uppercase;font-size:2rem;line-height:1.05}
.clinic-card ul{list-style:none;padding:0;margin:25px 0 26px}.clinic-card li{position:relative;padding-left:30px;margin:17px 0;color:var(--muted)}.clinic-card li::before{content:"✓";position:absolute;left:0;color:var(--wine);font-weight:900}.clinic-card .btn{width:100%}

.formation-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:78px;align-items:center}
.formation-photo{margin:0;border-radius:35px;overflow:hidden;background:#eee;box-shadow:var(--shadow)}
.formation-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top}
.formation-intro{margin:22px 0 0;color:var(--muted);font-size:1.06rem;max-width:760px}
.timeline{display:grid;gap:14px;margin-top:29px}.timeline>div{display:grid;grid-template-columns:42px 1fr;gap:14px}.timeline>div>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--wine);color:#fff;font-size:.8rem;font-weight:900}.timeline p{margin:0;color:var(--muted);font-size:.89rem}.timeline strong{display:block;color:var(--ink);margin-bottom:3px}.registry{margin-top:25px;color:var(--muted);font-size:.84rem;font-weight:800}

.exam-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.exam-card{position:relative;overflow:hidden;min-height:175px;padding:25px;border:1px solid var(--line);border-radius:24px;background:#fff}
.exam-card::after{content:"";position:absolute;right:-58px;top:-58px;width:130px;height:130px;border:17px solid rgba(129,8,18,.055);border-radius:50%}
.exam-card small{color:var(--wine);font-weight:900;letter-spacing:.11em;text-transform:uppercase}.exam-card h3{margin-top:24px;font-family:"Arial Narrow",Arial,sans-serif;text-transform:uppercase;font-size:1.4rem}.exam-card p{color:var(--muted);font-size:.88rem}.availability{margin:19px 0 0;color:var(--muted);font-size:.84rem}

.faq-shell{max-width:980px}.faq-heading{text-align:center;max-width:760px;margin:auto}.faq-heading .eyebrow{justify-content:center}
.faq{margin-top:39px}.faq details{border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;list-style:none;padding:22px 6px;font-weight:900;display:flex;justify-content:space-between;gap:20px}.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:"+";font-size:1.45rem;color:var(--wine);font-weight:400}.faq details[open] summary::after{content:"–"}.faq details p{margin:0;padding:0 6px 23px;color:var(--muted)}

.contact-section{padding-top:78px}.contact-card{position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;padding:clamp(40px,6vw,72px);border-radius:36px;color:#fff;background:linear-gradient(125deg,var(--wine-dark),var(--wine) 66%,var(--wine2));box-shadow:var(--shadow)}
.contact-card::after{content:"";position:absolute;right:-270px;top:-230px;width:520px;height:520px;border:58px solid rgba(255,255,255,.07);border-radius:50%}
.contact-card>*{position:relative;z-index:1}.contact-card>div:first-child>p:not(.eyebrow){color:rgba(255,255,255,.74);font-size:1.03rem;max-width:610px}.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
.contact-data{display:grid;gap:18px;align-content:center}.contact-data p{margin:0;color:rgba(255,255,255,.77);font-size:.92rem}.contact-data strong{display:block;color:#fff;margin-bottom:3px}.contact-data a{text-decoration:none}

footer{padding:34px 0 110px}.footer-inner{display:flex;justify-content:space-between;gap:30px;color:var(--muted);font-size:.81rem}.footer-inner p{margin:0}
.mobile-bar{display:none}

.reveal{opacity:0;transform:translateY(16px);transition:opacity .65s ease,transform .65s ease}.reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.btn,.service-card{transition:none}}

@media(max-width:1000px){
  .desktop-nav{display:none}.mobile-header-cta{display:inline-flex}
  .hero{background:#fff}.hero-arc{right:-430px;top:-220px}
  .hero-grid{grid-template-columns:1fr;min-height:auto;gap:28px;padding:26px 0 60px}
  .hero-photo-card{order:-1;width:min(100%,680px);height:auto;min-height:0;aspect-ratio:4/5;margin-inline:auto;border-radius:120px 24px 24px 24px}
  .hero-copy{order:0}
  .hero-copy h1{font-size:clamp(3.2rem,9vw,5.7rem)}
  .credentials-grid{grid-template-columns:repeat(2,1fr)}
  .philosophy-grid,.consult-grid,.formation-grid,.contact-card{grid-template-columns:1fr}
  .service-grid,.exam-grid{grid-template-columns:repeat(2,1fr)}
  .premium-band-inner{grid-template-columns:1fr}
  .section-heading{align-items:flex-start;flex-direction:column}
  .formation-photo{max-width:580px;margin-inline:auto}
}
@media(max-width:640px){
  .shell{width:min(calc(100% - 28px),var(--max))}
  .site-header{position:relative}
  .header-inner{height:84px;gap:10px}
  .brand-heart{width:42px;height:50px}
  .brand-text strong{font-size:.87rem;max-width:215px}
  .brand-text small{font-size:.56rem}
  .mobile-header-cta{min-height:44px;padding:0 15px;font-size:.8rem}
  .section{padding:72px 0}
  .hero-grid{padding-top:18px}
  .hero-photo-card{width:100%;aspect-ratio:4/5;border-radius:78px 20px 20px 20px}
  .hero-photo-label{left:15px;right:15px;bottom:15px;padding:14px 15px}.hero-photo-label strong{font-size:.92rem}.hero-photo-label span{font-size:.66rem}
  .hero-copy h1{font-size:clamp(2.75rem,13vw,4.4rem);line-height:.94}
  .hero-lead{font-size:1rem}
  .credentials-grid{grid-template-columns:1fr;gap:10px}
  .credential-card{min-height:auto;padding:18px}.credential-abbr{font-size:1.6rem}.credential-card p{font-size:.8rem}
  .hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .btn{width:100%}
  .trustline{display:grid;gap:9px}
  .philosophy-grid{gap:30px}.manifesto{font-size:1.55rem}.role-statement{font-size:1.7rem}
  .service-grid,.exam-grid{grid-template-columns:1fr}.service-card{min-height:auto}.section-heading{gap:20px}
  .premium-band{padding-bottom:60px}.premium-band-inner{padding:34px 26px}.premium-band-inner .btn{width:100%}
  .consult-grid{gap:38px}.clinic-card{padding:29px 24px}.clinic-card h3{font-size:1.7rem}
  .formation-grid{gap:34px}.formation-photo{width:100%}.formation-copy h2{font-size:2.8rem}
  .timeline>div{grid-template-columns:38px 1fr}
  .contact-card{padding:34px 25px}.contact-actions{display:grid}.contact-actions .btn{width:100%}
  footer{padding-bottom:100px}.footer-inner{flex-direction:column;gap:12px}
  .mobile-bar{position:fixed;z-index:100;display:grid;grid-template-columns:1fr 1fr;gap:8px;left:0;right:0;bottom:0;padding:9px 13px calc(9px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);backdrop-filter:blur(15px)}
  .mobile-bar a{min-height:50px;border-radius:999px;display:grid;place-items:center;text-decoration:none;font-weight:900}
  .mobile-call{border:1px solid rgba(129,8,18,.22);color:var(--wine)}
  .mobile-wa{background:linear-gradient(135deg,var(--wine),var(--wine2));color:#fff}
}


/* v14 - refinamentos solicitados */
.contact-card .eyebrow,
.contact-card .eyebrow.light{
  color:#f7d7d9;
}
.contact-card .eyebrow::before,
.contact-card .eyebrow.light::before{
  background:currentColor;
}
@media(max-width:1000px){
  .credentials-grid{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:640px){
  .credentials-grid{grid-template-columns:1fr}
  .contact-card .eyebrow,
  .contact-card .eyebrow.light{
    color:#ffffff;
  }
}




/* v17 — experiência da consulta redesenhada */
.consultation-premium{
  position:relative;
  overflow:hidden;
}
.consultation-premium::after{
  content:"";
  position:absolute;
  right:-260px;
  top:-240px;
  width:560px;
  height:560px;
  border:58px solid rgba(255,255,255,.055);
  border-radius:50%;
  pointer-events:none;
}
.consultation-layout{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  gap:76px;
  align-items:start;
}
.consultation-copy h2{
  max-width:720px;
}
.consultation-visual{
  display:grid;
  gap:24px;
  align-content:start;
}
.video-card-premium{
  overflow:hidden;
  border-radius:30px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 28px 70px rgba(0,0,0,.28);
}
.video-shell{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#140002;
}
.consult-video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  background:#140002;
}
.video-shell::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(23,0,2,.32),transparent 45%);
  pointer-events:none;
}
.video-play{
  position:absolute;
  z-index:3;
  left:50%;
  top:50%;
  width:76px;
  height:76px;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  background:rgba(129,8,18,.92);
  color:#fff;
  box-shadow:0 15px 40px rgba(0,0,0,.28);
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,opacity .2s ease;
}
.video-play:hover{
  transform:translate(-50%,-50%) scale(1.05);
  background:#a50e19;
}
.video-play.is-hidden{
  opacity:0;
  pointer-events:none;
}
.video-play-icon{
  position:absolute;
  left:31px;
  top:24px;
  width:0;
  height:0;
  border-top:14px solid transparent;
  border-bottom:14px solid transparent;
  border-left:21px solid #fff;
}
.video-copy{
  padding:19px 22px 21px;
}
.video-kicker{
  display:block;
  color:#fff;
  font-family:Georgia,serif;
  font-size:1.12rem;
  font-weight:700;
}
.video-copy p{
  margin:6px 0 0;
  color:rgba(255,255,255,.7);
  font-size:.9rem;
}
.clinic-card-compact{
  padding:30px;
}
.clinic-card-compact h3{
  font-size:1.75rem;
}
.clinic-card-compact ul{
  margin:20px 0 22px;
}
.clinic-card-compact li{
  margin:14px 0;
  font-size:.92rem;
}

@media(max-width:1050px){
  .consultation-layout{
    grid-template-columns:1fr;
    gap:42px;
  }
  .consultation-visual{
    grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);
    gap:20px;
    align-items:start;
  }
}
@media(max-width:760px){
  .consultation-visual{
    grid-template-columns:1fr;
  }
  .video-card-premium{
    max-width:620px;
    width:100%;
    margin-inline:auto;
  }
  .video-shell{
    aspect-ratio:9/14;
  }
  .consult-video{
    object-fit:cover;
  }
  .video-play{
    width:68px;
    height:68px;
  }
  .video-play-icon{
    left:28px;
    top:21px;
    border-top-width:13px;
    border-bottom-width:13px;
    border-left-width:19px;
  }
}


/* v19 — correção real do posicionamento da foto principal */
@media(min-width:1001px){
  .hero-grid{
    align-items:start;
    min-height:calc(100vh - 82px);
    padding-top:24px;
  }

  .hero-photo-card{
    align-self:start;
    margin-top:8px;
    height:calc(100vh - 122px);
    min-height:560px;
    max-height:720px;
  }

  .hero-photo-card>img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center top;
  }

  .hero-copy{
    align-self:start;
    padding-top:4px;
  }
}

/* Notebooks com menor altura: reduzimos a foto para que caiba inteira
   acima da dobra, sem alterar sua proporção. */
@media(min-width:1001px) and (max-height:780px){
  .hero-photo-card{
    height:calc(100vh - 108px);
    min-height:0;
    max-height:none;
  }

  .hero-grid{
    padding-top:14px;
  }
}

/* Mobile: mantém a foto como primeiro elemento e sem deslocamentos artificiais. */
@media(max-width:1000px){
  .hero-photo-card{
    transform:none;
    margin-top:0;
    margin-bottom:0;
  }
}


/* v20 — experiência da consulta sobe + seção elegante de localização */
.location-section{
  padding-top:76px;
  background:#fff;
}
.location-card{
  overflow:hidden;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  min-height:520px;
  border:1px solid var(--line);
  border-radius:36px;
  background:linear-gradient(135deg,#fff 0 44%,#f7f1ee 44% 100%);
  box-shadow:var(--shadow);
}
.location-copy{
  position:relative;
  z-index:2;
  padding:clamp(38px,5vw,64px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.location-copy::after{
  content:"";
  position:absolute;
  right:-105px;
  top:-105px;
  width:220px;
  height:220px;
  border:28px solid rgba(129,8,18,.055);
  border-radius:50%;
  pointer-events:none;
}
.location-copy h2{
  max-width:620px;
  font-size:clamp(2.3rem,4vw,4rem);
}
.location-intro{
  max-width:610px;
  margin:22px 0 0;
  color:var(--muted);
  font-size:1.02rem;
}
.location-details{
  display:grid;
  gap:15px;
  margin-top:28px;
}
.location-details p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
}
.location-details strong{
  display:block;
  color:var(--ink);
  margin-bottom:3px;
}
.location-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:28px;
}
.map-frame-wrap{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background:#eee;
}
.map-frame-wrap::before{
  content:"";
  position:absolute;
  z-index:2;
  left:-1px;
  top:0;
  bottom:0;
  width:34px;
  background:linear-gradient(to right,#f7f1ee,rgba(247,241,238,0));
  pointer-events:none;
}
.map-frame{
  display:block;
  width:100%;
  height:100%;
  min-height:520px;
  filter:saturate(.82) contrast(.96);
}

@media(max-width:980px){
  .location-card{
    grid-template-columns:1fr;
  }
  .map-frame-wrap,
  .map-frame{
    min-height:440px;
  }
  .map-frame-wrap::before{display:none}
}
@media(max-width:640px){
  .location-section{
    padding-top:58px;
  }
  .location-card{
    border-radius:28px;
  }
  .location-copy{
    padding:32px 24px;
  }
  .location-copy h2{
    font-size:2.6rem;
  }
  .location-actions{
    display:grid;
  }
  .location-actions .btn{
    width:100%;
  }
  .map-frame-wrap,
  .map-frame{
    min-height:360px;
  }
}


/* v21 — CTA de ligação no cabeçalho */
.btn-header-call{
  background:#fff;
  color:var(--wine);
  border-color:rgba(129,8,18,.24);
  box-shadow:none;
}
.btn-header-call:hover{
  background:#fff8f7;
  color:var(--wine);
  box-shadow:0 8px 22px rgba(129,8,18,.09);
}
.mobile-header-actions{
  display:none;
  align-items:center;
  gap:8px;
}
@media(max-width:1000px){
  .mobile-header-actions{
    display:flex;
  }
  .mobile-header-cta{
    display:inline-flex;
  }
}
@media(max-width:640px){
  .mobile-header-actions{
    gap:6px;
    flex:0 0 auto;
  }
  .mobile-header-actions .btn{
    min-height:42px;
    padding:0 12px;
    font-size:.76rem;
  }
  .header-inner{
    gap:8px;
  }
  .brand{
    min-width:0;
    flex:1 1 auto;
  }
  .brand-text strong{
    max-width:180px;
  }
}


/* v22 — identificação visual do WhatsApp no CTA Agendar */
.wa-btn-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:block;
}
header .js-wa.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
@media(max-width:640px){
  header .js-wa.btn .wa-btn-icon{
    width:16px;
    height:16px;
    flex-basis:16px;
  }
  header .js-wa.btn{
    gap:5px;
  }
}


/* v30 — APENAS conteúdo abaixo do cabeçalho. Cabeçalho permanece 100% v22. */
.consultation-flow{
  position:relative;
  z-index:1;
}
.consultation-heading{
  margin-bottom:28px;
}
.consultation-eyebrow{
  font-size:clamp(1rem,1.35vw,1.16rem);
  letter-spacing:.18em;
}
.experience-video-feature{
  margin-bottom:58px;
}
.video-card-feature{
  width:min(100%,1040px);
  margin-inline:auto;
}
.video-card-feature .video-shell{
  aspect-ratio:16/9;
}
.consultation-content-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(380px,.82fr);
  gap:68px;
  align-items:start;
}
.consultation-copy h2{
  max-width:760px;
}
.clinic-card-flow{
  align-self:start;
  margin-top:8px;
}
@media(max-width:1000px){
  .hero-arc{display:none !important;}
}
@media(max-width:960px){
  .experience-video-feature{margin-bottom:42px}
  .consultation-content-grid{
    grid-template-columns:1fr;
    gap:38px;
  }
  .clinic-card-flow{margin-top:0}
}
@media(max-width:640px){
  .consultation-heading{margin-bottom:20px}
  .consultation-eyebrow{font-size:1.04rem}
  .experience-video-feature{margin-bottom:34px}
  .video-card-feature{border-radius:24px}
  .video-card-feature .video-shell{aspect-ratio:9/14}
  .consultation-copy h2{font-size:clamp(2.55rem,12vw,4rem)}
}


/* v31 — limpeza do hero e correção real da faixa decorativa no mobile */
@media(max-width:1000px){
  .hero::before{
    display:none !important;
    content:none !important;
  }
  .hero::after{
    display:none !important;
    content:none !important;
  }
}

@media(max-width:640px){
  .hero::before,
  .hero::after{
    display:none !important;
    content:none !important;
  }
}




/* v33 — vídeo HQ vertical, sem zoom, com play customizado */
.video-card-feature{
  width:min(100%,560px) !important;
  margin-inline:auto;
  overflow:hidden;
  border-radius:30px;
}

.video-card-feature .video-shell{
  position:relative;
  width:100%;
  aspect-ratio:9/16 !important;
  overflow:hidden;
  border-radius:30px;
  background:#120002;
}

.video-card-feature .consult-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center center !important;
  background:#120002;
}

.video-play{
  position:absolute;
  z-index:5;
  left:50%;
  top:50%;
  width:78px;
  height:78px;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.62);
  border-radius:50%;
  background:rgba(129,8,18,.93);
  color:#fff;
  box-shadow:0 16px 42px rgba(0,0,0,.32);
  cursor:pointer;
  display:block !important;
  transition:transform .2s ease,opacity .2s ease,background .2s ease;
}

.video-play:hover{
  transform:translate(-50%,-50%) scale(1.05);
  background:rgba(154,9,21,.97);
}

.video-play.is-hidden{
  opacity:0;
  pointer-events:none;
}

.video-play-icon{
  display:block !important;
  position:absolute;
  left:32px;
  top:24px;
  width:0;
  height:0;
  border-top:15px solid transparent;
  border-bottom:15px solid transparent;
  border-left:22px solid #fff;
}

@media(max-width:640px){
  .video-card-feature{
    width:min(100%,430px) !important;
  }
  .video-card-feature .video-shell{
    border-radius:24px;
  }
  .video-play{
    width:68px;
    height:68px;
  }
  .video-play-icon{
    left:28px;
    top:21px;
    border-top-width:13px;
    border-bottom-width:13px;
    border-left-width:19px;
  }
}


/* v34 — CTA Agendar na barra inferior mobile */
.mobile-bar .mobile-wa{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.mobile-bar-wa-icon{
  width:19px;
  height:19px;
  flex:0 0 19px;
  color:#fff;
}
.mobile-bar .mobile-wa span{
  display:inline-block;
}


/* v36 — hero editorial com apresentação médica e credenciais */
.hero-copy{
  align-self:center;
}

.hero-bio{
  margin-top:22px;
  max-width:760px;
}

.hero-bio p{
  margin:0;
}

.hero-bio-primary{
  color:var(--ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1rem,1.25vw,1.12rem);
  line-height:1.58;
}

.hero-bio-secondary{
  margin-top:13px !important;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.62;
}

.credentials-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:11px !important;
  margin-top:20px !important;
}

.credential-card{
  min-height:106px !important;
  padding:16px 17px 15px !important;
}

.credential-abbr{
  font-size:1.45rem !important;
}

.credential-card p{
  margin-top:7px !important;
  font-size:.76rem !important;
  line-height:1.38 !important;
}

.credential-experience{
  background:linear-gradient(135deg,#fff,rgba(129,8,18,.035));
}

/* Mantém a experiência da consulta próxima: menos espaço entre hero e bloco seguinte. */
.hero-grid{
  padding-bottom:18px !important;
}

.consultation-premium{
  padding-top:64px !important;
}

@media(max-width:1000px){
  .hero-grid{
    gap:22px !important;
    padding-bottom:36px !important;
  }

  .hero-bio{
    margin-top:18px;
  }

  .credentials-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .credential-card{
    min-height:112px !important;
  }

  .consultation-premium{
    padding-top:54px !important;
  }
}

@media(max-width:640px){
  .hero-grid{
    padding-top:14px !important;
    padding-bottom:28px !important;
  }

  .hero-copy h1{
    margin-bottom:0;
  }

  .hero-bio{
    margin-top:17px;
  }

  .hero-bio-primary{
    font-size:1rem;
    line-height:1.55;
  }

  .hero-bio-secondary{
    margin-top:11px !important;
    font-size:.89rem;
    line-height:1.56;
  }

  .credentials-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    margin-top:17px !important;
  }

  .credential-card{
    min-height:0 !important;
    padding:14px 13px 13px !important;
    border-radius:17px !important;
  }

  .credential-abbr{
    font-size:1.28rem !important;
  }

  .credential-card p{
    font-size:.72rem !important;
    line-height:1.34 !important;
  }

  .consultation-premium{
    padding-top:46px !important;
  }

  .consultation-heading{
    margin-bottom:16px !important;
  }
}


/* v37 — refinamento do hero */
.hero-copy h1{
  font-size:clamp(2.7rem,4.6vw,4.7rem) !important;
  line-height:.98 !important;
  max-width:720px;
}

.credential-abbr-hospital{
  font-size:1.12rem !important;
  line-height:1.08;
  letter-spacing:-.02em;
}

@media(max-width:640px){
  .hero-copy h1{
    font-size:clamp(2.25rem,10.5vw,3.25rem) !important;
    line-height:1 !important;
  }

  .credential-abbr-hospital{
    font-size:.94rem !important;
    line-height:1.08;
  }
}


/* v38 — exames entre experiência da consulta e "Uma forma diferente de cuidar" */
.exam-convenience{
  width:min(100%,760px);
  margin:24px auto 30px;
  padding:18px 24px;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:8px;
  border-top:1px solid rgba(129,8,18,.16);
  border-bottom:1px solid rgba(129,8,18,.16);
  text-align:center;
  color:var(--wine);
}
.exam-convenience span,
.exam-convenience strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.15rem,1.8vw,1.55rem);
  line-height:1.25;
}
.exam-convenience span{
  font-weight:400;
}
.exam-convenience strong{
  font-weight:700;
}

@media(max-width:640px){
  .exam-convenience{
    margin:18px auto 24px;
    padding:15px 10px;
    display:block;
  }
  .exam-convenience span,
  .exam-convenience strong{
    font-size:1.15rem;
  }
  .exam-convenience strong{
    display:block;
    margin-top:2px;
  }
}


/* v40 — reparo seguro: somente box redundante removido; CTA fecha exames */
.exams-cta{
  display:flex;
  justify-content:center;
  margin:30px auto 0;
}
.exams-cta .btn{
  min-width:280px;
  padding:15px 30px;
  box-shadow:0 14px 30px rgba(129,8,18,.16);
}
@media(max-width:640px){
  .exams-cta{
    margin-top:24px;
  }
  .exams-cta .btn{
    width:100%;
    min-width:0;
  }
}


/* v41 — experiência da consulta: composição editorial responsiva
   Desktop: vídeo e conteúdo trabalham como um único bloco.
   Mobile: vídeo primeiro, conteúdo logo abaixo. */
@media (min-width: 961px){
  .consultation-flow{
    display:grid;
    grid-template-columns:minmax(320px, .72fr) minmax(520px, 1.28fr);
    grid-template-areas:
      "heading heading"
      "video content";
    column-gap:clamp(52px,6vw,96px);
    row-gap:26px;
    align-items:start;
    max-width:1180px;
    margin-inline:auto;
  }

  .consultation-heading{
    grid-area:heading;
    margin:0 0 4px !important;
  }

  .experience-video-feature{
    grid-area:video;
    margin:0 !important;
    width:100%;
    align-self:start;
  }

  .video-card-feature{
    width:100% !important;
    max-width:430px;
    margin:0 auto !important;
  }

  .video-card-feature .video-shell{
    aspect-ratio:9/14 !important;
    max-height:600px;
  }

  .consultation-content-grid{
    grid-area:content;
    display:block !important;
    margin:0 !important;
  }

  .consultation-copy{
    max-width:690px;
    padding-top:8px;
  }

  .consultation-copy h2{
    font-size:clamp(3.15rem,4.4vw,5rem);
    line-height:.92;
    max-width:660px;
    margin:0 0 34px;
    text-wrap:balance;
  }

  .consultation-copy .steps{
    max-width:650px;
  }

  .consultation-copy .step{
    padding-block:15px;
  }
}

@media (max-width: 960px){
  .consultation-flow{
    display:block;
  }

  .consultation-heading{
    margin-bottom:20px !important;
  }

  .experience-video-feature{
    margin-bottom:32px !important;
  }

  .video-card-feature{
    width:min(100%,520px) !important;
    margin-inline:auto !important;
  }

  .video-card-feature .video-shell{
    aspect-ratio:9/14 !important;
  }

  .consultation-content-grid{
    display:block !important;
  }

  .consultation-copy{
    max-width:680px;
    margin-inline:auto;
  }
}

@media (max-width: 640px){
  .consultation-premium{
    padding-top:42px !important;
    padding-bottom:54px !important;
  }

  .consultation-heading{
    margin-bottom:16px !important;
  }

  .consultation-eyebrow{
    font-size:.92rem !important;
    letter-spacing:.17em;
  }

  .experience-video-feature{
    margin-bottom:28px !important;
  }

  .video-card-feature{
    width:100% !important;
    max-width:430px !important;
  }

  .video-card-feature .video-shell{
    aspect-ratio:9/13 !important;
    max-height:72vh;
  }

  .consultation-copy h2{
    font-size:clamp(2.55rem,11.5vw,3.8rem) !important;
    line-height:.94;
    margin-bottom:24px;
    text-wrap:balance;
  }

  .consultation-copy .step{
    padding-block:13px;
  }
}


/* v42 — hero robusto também com zoom reduzido no desktop.
   O conteúdo deixa de depender da altura artificial de 100vh. */
@media (min-width:1001px){
  .hero-grid{
    min-height:0 !important;
    align-items:start !important;
    padding-top:28px !important;
    padding-bottom:48px !important;
  }

  .hero-photo-card{
    align-self:start !important;
    margin-top:0 !important;
    height:clamp(560px,72vh,720px) !important;
    min-height:0 !important;
    max-height:720px !important;
  }

  .hero-copy{
    align-self:start !important;
    padding-top:18px !important;
    margin-top:0 !important;
  }
}

/* Em telas muito largas / navegador com zoom reduzido, mantém a primeira
   dobra como uma composição única em vez de espalhar os elementos na altura. */
@media (min-width:1500px){
  .hero-grid{
    grid-template-columns:minmax(390px,.82fr) minmax(560px,1.18fr) !important;
    gap:clamp(54px,5vw,88px) !important;
    padding-top:34px !important;
    padding-bottom:54px !important;
  }

  .hero-photo-card{
    height:680px !important;
  }

  .hero-copy{
    padding-top:24px !important;
  }

  .hero-copy h1{
    font-size:clamp(3.4rem,4vw,4.7rem) !important;
  }
}


/* v43 — barra inferior exclusiva para dispositivos móveis/touch.
   Mesmo com zoom alto no computador, ela não deve aparecer. */
.mobile-bar{
  display:none !important;
}

@media (max-width: 820px) and (hover: none) and (pointer: coarse){
  .mobile-bar{
    display:flex !important;
  }
}

/* Segurança extra para computadores/notebooks com mouse/trackpad,
   independentemente do nível de zoom do navegador. */
@media (hover: hover) and (pointer: fine){
  .mobile-bar{
    display:none !important;
  }
}


/* v45 — perfil Google integrado à própria identificação da foto */
.hero-google-profile{
  display:inline-block;
  margin-top:8px;
  color:inherit;
  font-size:.74rem;
  line-height:1.25;
  font-weight:700;
  text-decoration:none;
  opacity:.92;
  transition:opacity .18s ease, transform .18s ease;
}

.hero-google-profile:hover{
  opacity:1;
  transform:translateX(2px);
  text-decoration:underline;
  text-underline-offset:3px;
}

.hero-google-profile span{
  display:inline-block;
  margin-left:2px;
}

@media(max-width:640px){
  .hero-google-profile{
    margin-top:7px;
    font-size:.72rem;
  }
}


/* v46 — auditoria final de estabilidade */
@media (min-width:1001px){
  .hero-grid{align-items:start !important;}
  .hero-photo-card,.hero-copy{min-width:0;}
}
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr !important;}
  .hero-photo-card{width:min(100%,620px);margin-inline:auto;}
  .hero-copy{width:100%;}
}
@media (max-width:420px){
  .shell{width:min(calc(100% - 28px),var(--max));}
  .credentials-grid{grid-template-columns:1fr 1fr !important;}
  .credential-card{overflow-wrap:anywhere;}
}


/* ==========================================================
   v47 FINAL — Ritmo vertical harmonizado
   Objetivo: reduzir a extensão da página sem compactar demais.
   ========================================================== */

/* Ritmo base das seções */
main > section{
  scroll-margin-top:92px;
}

/* Seções editoriais comuns */
.section,
.services,
.exams-section,
.preop-section,
.location-section,
.faq-section{
  padding-top:72px !important;
  padding-bottom:72px !important;
}

/* Hero: mantém presença premium, mas reduz sobra inferior */
.hero-grid{
  padding-bottom:38px !important;
}

/* Experiência da consulta: bloco importante, ligeiramente mais generoso */
.consultation-premium{
  padding-top:58px !important;
  padding-bottom:64px !important;
}

/* Exames vêm logo após experiência: aproxima sem colar */
#exames{
  padding-top:62px !important;
  padding-bottom:66px !important;
}

/* Assinatura editorial dos exames */
.exam-convenience{
  margin-top:20px !important;
  margin-bottom:24px !important;
}

/* CTA de exames */
.exams-cta{
  margin-top:24px !important;
}

/* Títulos e introduções */
.section-head,
.section-header{
  margin-bottom:34px !important;
}

.section-kicker,
.eyebrow{
  margin-bottom:10px !important;
}

/* Grades e cards */
.cards-grid,
.services-grid,
.exams-grid,
.preop-grid{
  gap:18px !important;
}

.card,
.service-card,
.exam-card{
  padding-top:24px !important;
  padding-bottom:24px !important;
}

/* FAQ e localização não precisam de grandes respiros */
#faq{
  padding-top:64px !important;
  padding-bottom:68px !important;
}

#localizacao{
  padding-top:64px !important;
  padding-bottom:64px !important;
}

/* Evita margens acumuladas entre elementos finais de uma seção */
section > .container > *:last-child{
  margin-bottom:0;
}

/* Tablet */
@media (max-width:1000px){
  .section,
  .services,
  .exams-section,
  .preop-section,
  .location-section,
  .faq-section{
    padding-top:58px !important;
    padding-bottom:58px !important;
  }

  .consultation-premium{
    padding-top:50px !important;
    padding-bottom:56px !important;
  }

  #exames{
    padding-top:54px !important;
    padding-bottom:58px !important;
  }

  .section-head,
  .section-header{
    margin-bottom:28px !important;
  }
}

/* Mobile: rolagem mais curta, ainda com separação visual clara */
@media (max-width:640px){
  .section,
  .services,
  .exams-section,
  .preop-section,
  .location-section,
  .faq-section{
    padding-top:46px !important;
    padding-bottom:46px !important;
  }

  .hero-grid{
    padding-bottom:26px !important;
  }

  .consultation-premium{
    padding-top:42px !important;
    padding-bottom:48px !important;
  }

  #exames{
    padding-top:46px !important;
    padding-bottom:50px !important;
  }

  .section-head,
  .section-header{
    margin-bottom:24px !important;
  }

  .cards-grid,
  .services-grid,
  .exams-grid,
  .preop-grid{
    gap:13px !important;
  }

  .card,
  .service-card,
  .exam-card{
    padding-top:20px !important;
    padding-bottom:20px !important;
  }

  .exam-convenience{
    margin-top:16px !important;
    margin-bottom:20px !important;
  }

  .exams-cta{
    margin-top:20px !important;
  }

  #faq,
  #localizacao{
    padding-top:46px !important;
    padding-bottom:50px !important;
  }
}


/* ==========================================================
   v48 FINAL — Hero mais compacto e alinhado à fotografia
   ========================================================== */

/* Desktop: reduz apenas o título principal para que texto + credenciais
   terminem visualmente próximos à base da fotografia. */
.hero h1,
.hero-title,
.hero-copy h1{
  font-size:clamp(3.25rem, 4.65vw, 5.35rem) !important;
  line-height:.91 !important;
  letter-spacing:-.045em !important;
  margin-bottom:18px !important;
}

/* O texto corrido ganha um pouco mais de largura útil e ritmo compacto. */
.hero-copy > p,
.hero-text > p{
  line-height:1.52;
}

/* Tablet */
@media (max-width:1000px){
  .hero h1,
  .hero-title,
  .hero-copy h1{
    font-size:clamp(2.9rem, 7vw, 4.25rem) !important;
    line-height:.92 !important;
    margin-bottom:16px !important;
  }
}

/* Mobile: título significativamente mais econômico em altura,
   preservando impacto editorial e leitura confortável. */
@media (max-width:640px){
  .hero h1,
  .hero-title,
  .hero-copy h1{
    font-size:clamp(2.55rem, 11.2vw, 3.35rem) !important;
    line-height:.91 !important;
    letter-spacing:-.04em !important;
    margin-bottom:15px !important;
  }
}


/* ==========================================================
   v49 FINAL — correção efetiva da escala do título do hero
   A v48 usou uma escala que, em telas largas, ficou praticamente
   igual/maior que a anterior. Aqui a redução é deliberada.
   ========================================================== */

.hero h1,
.hero-title,
.hero-copy h1{
  font-size:clamp(2.85rem, 3.55vw, 4.05rem) !important;
  line-height:.92 !important;
  letter-spacing:-.04em !important;
  max-width:680px !important;
  margin-bottom:16px !important;
}

@media (min-width:1500px){
  .hero-copy h1{
    font-size:clamp(3rem, 3.45vw, 4rem) !important;
    line-height:.91 !important;
  }
}

@media (max-width:1000px){
  .hero h1,
  .hero-title,
  .hero-copy h1{
    font-size:clamp(2.55rem, 6.1vw, 3.65rem) !important;
    line-height:.93 !important;
  }
}

@media (max-width:640px){
  .hero h1,
  .hero-title,
  .hero-copy h1{
    font-size:clamp(2.05rem, 8.8vw, 2.8rem) !important;
    line-height:.94 !important;
    letter-spacing:-.035em !important;
    margin-bottom:13px !important;
  }
}


/* ==========================================================
   v50 FINAL — alinhamento vertical do hero com o topo da foto
   ========================================================== */

/* Desktop: faz a coluna de conteúdo começar praticamente na mesma linha
   visual do topo da fotografia. */
@media (min-width:1001px){
  .hero-grid{
    align-items:start !important;
  }

  .hero-copy{
    align-self:start !important;
    padding-top:0 !important;
    margin-top:-2px !important;
  }

  .hero-copy .eyebrow,
  .hero-copy .section-kicker{
    margin-top:0 !important;
  }
}

/* Em telas largas, elimina o recuo extra que vinha empurrando
   "Cardiologista em Londrina" para baixo. */
@media (min-width:1500px){
  .hero-copy{
    padding-top:0 !important;
    margin-top:-4px !important;
  }
}

/* Tablet/mobile: aproxima também o título do topo da composição,
   sem colar demais. */
@media (max-width:1000px){
  .hero-copy{
    padding-top:0 !important;
    margin-top:0 !important;
  }
}


/* ==========================================================
   v51 FINAL — barra inferior mobile centralizada e proporcional
   ========================================================== */

/* Mantém oculta fora de mobile/touch. */
.mobile-bar{
  display:none !important;
}

@media (max-width:820px) and (hover:none) and (pointer:coarse){
  .mobile-bar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) !important;
    align-items:center;
    gap:10px !important;

    left:50% !important;
    right:auto !important;
    transform:translateX(-50%);
    width:min(calc(100% - 24px), 520px) !important;

    padding:9px 0 calc(9px + env(safe-area-inset-bottom)) !important;
    background:rgba(255,255,255,.97);
    border-top:1px solid var(--line);
    backdrop-filter:blur(15px);
  }

  .mobile-bar a{
    width:100% !important;
    min-width:0 !important;
    min-height:52px !important;
    margin:0 !important;
    padding:0 16px !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:999px;
    box-sizing:border-box;
    text-align:center;
    font-size:1rem;
    line-height:1;
  }

  .mobile-bar .mobile-call{
    justify-self:stretch;
  }

  .mobile-bar .mobile-wa{
    justify-self:stretch;
  }

  .mobile-bar-wa-icon{
    width:19px !important;
    height:19px !important;
    flex:0 0 19px;
  }
}

/* Telefones muito estreitos: mantém equilíbrio sem apertar texto. */
@media (max-width:380px) and (hover:none) and (pointer:coarse){
  .mobile-bar{
    grid-template-columns:minmax(0,.9fr) minmax(0,1.45fr) !important;
    gap:8px !important;
    width:calc(100% - 16px) !important;
  }

  .mobile-bar a{
    min-height:50px !important;
    padding:0 12px !important;
    font-size:.94rem;
  }
}

/* Desktop/notebook nunca exibe a barra, mesmo com zoom. */
@media (hover:hover) and (pointer:fine){
  .mobile-bar{
    display:none !important;
  }
}


/* v52 FINAL — introdução mais direta e compacta */
.hero-bio{
  margin-top:18px !important;
}
.hero-bio-primary{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(.98rem,1.15vw,1.08rem) !important;
  line-height:1.55 !important;
  color:var(--ink);
}
@media(max-width:640px){
  .hero-bio{
    margin-top:14px !important;
  }
  .hero-bio-primary{
    font-size:.95rem !important;
    line-height:1.52 !important;
  }
}

/* ==========================================================
   v53 FINAL — faixa decorativa sempre atrás dos boxes
   ========================================================== */
.hero{ isolation:isolate; }
.hero::before,
.hero::after{
  z-index:0 !important;
  pointer-events:none !important;
}
.hero-grid,
.hero-photo-card,
.hero-copy,
.hero-bio,
.credentials-grid,
.credential-card{
  position:relative;
  z-index:2;
}
.credential-card{
  background:#ffffff !important;
  overflow:hidden;
}
.credential-experience{
  background:linear-gradient(135deg,#ffffff 0%,#fffafa 100%) !important;
}


/* ==========================================================
   v54 FINAL — decoração estável em qualquer nível de zoom
   As elipses absolutas eram dimensionadas em pixels e mudavam
   visualmente de posição conforme o viewport efetivo do navegador.
   ========================================================== */

/* Remove a elipse física do hero. */
.hero-arc{
  display:none !important;
}

/* Remove também a elipse da experiência da consulta, que formava
   uma continuação visual instável na passagem entre as seções. */
.consultation-premium::after{
  display:none !important;
  content:none !important;
}

/* Mantém profundidade visual por meio de gradientes presos ao fundo
   da própria seção, sem objetos que atravessem suas bordas. */
.hero{
  background:
    radial-gradient(circle at 92% 12%, rgba(129,8,18,.055) 0, rgba(129,8,18,0) 31%),
    linear-gradient(90deg,#ffffff 0 59%,#f3eae7 59%) !important;
}

.consultation-premium{
  background:
    radial-gradient(circle at 94% 8%, rgba(255,255,255,.045) 0, rgba(255,255,255,0) 28%),
    linear-gradient(135deg,#390005 0%,#62000a 56%,#810812 100%) !important;
}

/* Mobile continua limpo e sem decoração atravessando conteúdo. */
@media(max-width:1000px){
  .hero{
    background:
      radial-gradient(circle at 100% 4%, rgba(129,8,18,.04) 0, rgba(129,8,18,0) 30%),
      #ffffff !important;
  }
}


/* ==========================================================
   v55 FINAL — hero mais direto: título + credenciais
   ========================================================== */

/* Texto biográfico removido: o hero passa a comunicar por
   posicionamento, foto e credenciais. */
.hero-bio{
  display:none !important;
}

/* Desktop: os boxes crescem e ocupam a largura total sob o título,
   alinhando visualmente a coluna direita com a base da fotografia. */
@media(min-width:1001px){
  .hero-copy{
    display:flex;
    flex-direction:column;
    min-height:100%;
  }

  .credentials-grid{
    margin-top:24px !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
    width:100%;
  }

  .credential-card{
    min-height:132px !important;
    padding:22px 22px 20px !important;
    border-radius:22px !important;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }

  .credential-abbr{
    font-size:1.52rem !important;
    line-height:1.05 !important;
  }

  .credential-abbr-hospital{
    font-size:1.2rem !important;
    line-height:1.08 !important;
  }

  .credential-card p{
    margin-top:10px !important;
    font-size:.84rem !important;
    line-height:1.45 !important;
  }
}

/* Telas muito largas: amplia levemente para reforçar alinhamento com a foto. */
@media(min-width:1500px){
  .credential-card{
    min-height:140px !important;
    padding:24px 24px 22px !important;
  }

  .credential-card p{
    font-size:.86rem !important;
  }
}

/* Tablet: mantém dois por linha e reduz um pouco a altura. */
@media(max-width:1000px) and (min-width:641px){
  .credentials-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    margin-top:20px !important;
  }

  .credential-card{
    min-height:118px !important;
    padding:19px !important;
  }
}

/* Mobile: 2x2 compacto, mas com boxes mais presentes e leitura melhor.
   Isso reduz a altura total do hero e aproxima a experiência da consulta. */
@media(max-width:640px){
  .credentials-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
    margin-top:18px !important;
  }

  .credential-card{
    min-height:112px !important;
    padding:15px 13px 14px !important;
    border-radius:18px !important;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }

  .credential-abbr{
    font-size:1.24rem !important;
    line-height:1.05 !important;
  }

  .credential-abbr-hospital{
    font-size:.9rem !important;
    line-height:1.08 !important;
  }

  .credential-card p{
    margin-top:7px !important;
    font-size:.69rem !important;
    line-height:1.34 !important;
  }

  .hero-grid{
    padding-bottom:22px !important;
  }

  .consultation-premium{
    padding-top:38px !important;
  }
}
