/* ============================================================
   Dr. Carlos Eduardo Scaglia — style.css
   ============================================================ */
:root{
  --gold:#d99b3b;
  --gold-light:#f2b04f;
  --gold-card:#f5b95c;
  --gold-grad:linear-gradient(135deg,#d1912f 0%,#e8b34b 60%,#dfa63f 100%);
  --black:#0e0e0e;
  --dark:#151515;
  --gray-bg:#f2f2f2;
  --text:#333;
  --text-light:#666;
  --white:#fff;
  --radius:18px;
  --font-head:'Poppins',sans-serif;
  --font-body:'Roboto',sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--text);background:var(--white);line-height:1.6;overflow-x:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
h1,h2,h3,h4{font-family:var(--font-head);line-height:1.15}
.container{width:min(1140px,92%);margin:0 auto}

/* ---------- Animação de entrada ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- Botões ---------- */
.btn{display:inline-block;font-family:var(--font-head);font-weight:600;font-size:.85rem;letter-spacing:.02em;padding:.85rem 1.7rem;border-radius:8px;transition:.25s;cursor:pointer;border:none;text-align:center}
.btn-black{background:var(--black);color:var(--white)}
.btn-black:hover{background:var(--gold);color:var(--black)}
.btn-gold{background:var(--gold-light);color:var(--black)}
.btn-gold:hover{background:var(--white)}
.btn-white{background:var(--white);color:var(--black);border-radius:30px;padding:.95rem 2.2rem}
.btn-white:hover{background:var(--gold-light)}
.btn-sm{font-size:.72rem;padding:.55rem 1.1rem;border-radius:20px}

/* ---------- Eyebrows ---------- */
.eyebrow-light{color:#eee;font-size:.72rem;letter-spacing:.12em;font-weight:500;text-transform:uppercase;margin-bottom:.8rem}
.eyebrow-dark{color:#333;font-size:.72rem;letter-spacing:.14em;font-weight:700;text-transform:uppercase;text-align:center}

/* ============ HEADER ============ */
.header{background:var(--white);position:sticky;top:0;z-index:100;box-shadow:0 1px 8px rgba(0,0,0,.06)}
.header-inner{display:flex;align-items:center;gap:2rem;padding:.6rem 0}
.logo{display:flex;align-items:center;gap:.6rem}
.logo-img{height:50px;width:auto;display:block}
.footer .logo-img{height:60px}
.logo-mark{width:46px;height:46px;flex-shrink:0}
.logo-text{font-family:var(--font-head);font-weight:800;font-size:.72rem;line-height:1.15;color:#111;letter-spacing:.02em}
.logo-text-italic{font-style:italic}
.nav{display:flex;gap:1.6rem;margin-left:auto}
.nav a{font-family:var(--font-head);font-size:.72rem;font-weight:600;color:#222;letter-spacing:.04em;transition:.2s}
.nav a:hover{color:var(--gold)}
.header-cta{font-size:.7rem;line-height:1.25;padding:.6rem 1.2rem}
.menu-toggle{display:none;background:none;border:none;font-size:1.6rem;cursor:pointer}

/* ============ HERO ============ */
.hero{background:var(--gray-bg);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:2rem;align-items:end;padding-top:2.5rem}
.hero-photo{position:relative;align-self:end;min-height:560px;display:flex;align-items:flex-end;justify-content:center}
.hero-photo img{position:relative;z-index:2;width:100%;max-width:470px;height:auto;object-fit:contain}
.hero-pedestal{display:none}
.float-card{position:absolute;background:#ffb95e;border-radius:14px;padding:1rem 1.2rem;display:flex;gap:.8rem;align-items:flex-start;box-shadow:0 10px 30px rgba(0,0,0,.15);z-index:3}
.float-card-hero{left:0;bottom:36px;max-width:270px}
.float-card strong{font-family:var(--font-head);font-size:.9rem;color:#111;display:block;margin-bottom:.15rem}
.float-card p{font-size:.72rem;color:#222;line-height:1.4}
.float-icon{background:var(--white);border-radius:10px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.float-icon svg{width:26px;height:26px}
.hero-content{padding:2rem 0 3.5rem}
.hero-eyebrow{font-family:var(--font-head);font-weight:600;color:#111;margin-bottom:.6rem}
.hero-content h1{font-size:clamp(2.2rem,4.6vw,3.6rem);font-weight:800;color:#1c1c1c;margin-bottom:1.2rem}
.hero-text{color:var(--text-light);font-size:.9rem;max-width:480px;margin-bottom:1.6rem}
.hero-stats{display:flex;gap:3.5rem;margin-top:2.2rem}
.stat-number{font-family:var(--font-head);font-weight:800;font-size:2.6rem;color:var(--gold-light);display:block;line-height:1}
.stat-label{font-family:var(--font-head);font-weight:700;color:#1c1c1c;font-size:.95rem}

/* ============ QUEM SOMOS ============ */
.about{background:var(--black);padding:5rem 0}
.about-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:3.5rem;align-items:center}
.about-photo{position:relative}
.about-photo img{border-radius:4px;width:100%;height:560px;object-fit:cover}
.float-card-about{background:var(--white);flex-direction:column;left:-24px;bottom:-30px;max-width:300px;text-align:center;padding:1.2rem 1.4rem}
.float-card-about strong{font-size:1rem}
.float-card-about p{color:#555;font-size:.75rem}
.about-content h2{color:var(--gold-light);font-size:clamp(1.6rem,3vw,2.2rem);font-weight:700;margin-bottom:1.2rem}
.about-content p{color:#c9c9c9;font-size:.85rem;margin-bottom:1.2rem}
.checklist{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.5rem 1.5rem;margin:1.4rem 0 1.8rem}
.checklist li{color:#eee;font-size:.82rem;font-weight:500}
.checklist li::before{content:"✓";color:var(--gold-light);font-weight:700;margin-right:.5rem}

/* ============ TRATAMENTOS ============ */
.treatments-wrap{background:var(--black);padding:3rem 0 5rem}
.treatments-panel{background:var(--gold-grad);border-radius:26px;padding:3.2rem 3rem;display:grid;grid-template-columns:1fr 1.6fr;gap:2.5rem}
.treatments-left h2{color:#1c1c1c;font-size:1.45rem;font-weight:700;margin-bottom:1.4rem}
.treatments-caption{color:#5b4413;font-size:.8rem;margin-top:1rem}
.treatments-photo{margin-top:1.4rem;border-radius:10px;overflow:hidden}
.treatments-photo img{width:100%;height:300px;object-fit:cover}
.treatments-cards{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem}
.t-col{display:flex;flex-direction:column;gap:1.4rem}
.t-col-offset{margin-top:2.6rem}
.t-card{background:var(--white);border-radius:16px;padding:1.5rem 1.4rem;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.t-card h3{font-size:1.02rem;font-weight:700;color:#111;margin-bottom:.5rem}
.t-sub{font-size:.72rem;font-weight:700;color:#111;margin-bottom:.6rem;font-family:var(--font-head)}
.t-card p{font-size:.75rem;color:#555;margin-bottom:1rem}
.t-card .t-sub{color:#111}

/* ============ COMO FUNCIONA ============ */
.how{position:relative;padding:5rem 0;background:#233 url('../images/bg-como-funciona.jpg') center 22%/cover no-repeat}
.how-overlay{position:absolute;inset:0;background:rgba(20,25,20,.45)}
.how-inner{position:relative;z-index:2}
.how h2{color:var(--white);text-align:center;font-size:clamp(1.8rem,3.4vw,2.4rem);font-weight:700;margin-bottom:2.4rem;text-shadow:0 2px 12px rgba(0,0,0,.4)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.how-card{background:var(--gold-card);border-radius:14px;padding:1.4rem;display:flex;gap:.9rem;align-items:flex-start;box-shadow:0 10px 26px rgba(0,0,0,.25)}
.how-icon{background:var(--white);border-radius:10px;width:52px;height:52px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.how-icon svg{width:30px;height:30px}
.how-body h3{font-size:.95rem;font-weight:700;color:#111;margin-bottom:.4rem}
.how-body p{font-size:.72rem;color:#222;margin-bottom:.8rem}
.how-link{font-size:.72rem;font-weight:700;color:#111;text-decoration:underline}
.how-link:hover{color:var(--white)}
.how-cta{text-align:center;margin-top:2.4rem}

/* ============ ANTES E DEPOIS ============ */
.before-after{background:var(--black);padding:5rem 0}
.ba-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:3rem;align-items:center}
.ba-content h2{color:var(--gold-light);font-size:clamp(2rem,4vw,2.9rem);font-weight:800;margin-bottom:1rem}
.ba-text{color:#bbb;font-size:.82rem;margin-bottom:1.6rem;max-width:400px}
.ba-carousel{display:flex;align-items:center;gap:.6rem}
.ba-frame{background:#000;padding:1.4rem 1.6rem;flex:1}
.ba-header{display:flex;justify-content:space-between;padding:0 1rem;margin-bottom:1rem}
.ba-header span{font-family:'Playfair Display',serif;color:var(--white);font-size:1.7rem;letter-spacing:.04em}
.ba-slides{position:relative;overflow:hidden}
.ba-slide{display:none;grid-template-columns:1fr 1fr;gap:.8rem}
.ba-slide.active{display:grid;animation:fade .5s}
@keyframes fade{from{opacity:0}to{opacity:1}}
.ba-slide img{width:100%;height:340px;object-fit:cover}
.ba-caption{text-align:left;margin-top:1.2rem;border-top:1px solid #222;padding-top:1rem}
.ba-caption h4{font-family:'Playfair Display',serif;color:var(--white);font-size:1.25rem;letter-spacing:.03em;margin-bottom:.2rem}
.ba-caption p{font-family:'Playfair Display',serif;color:#c9c9c9;font-size:.7rem;letter-spacing:.06em}
.ba-arrow{background:none;border:none;color:var(--white);font-size:2.2rem;cursor:pointer;line-height:1;padding:.2rem;transition:.2s}
.ba-arrow:hover{color:var(--gold-light)}

/* ============ DEPOIMENTOS ============ */
.testimonials{background:linear-gradient(135deg,#fdfbef 0%,#fcf3c8 45%,#f3d878 100%);padding:5rem 0;text-align:center}
.testimonials h2{font-size:clamp(1.9rem,3.6vw,2.6rem);font-weight:800;color:#1c1c1c;margin:.5rem 0 1.4rem}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;margin-top:3.4rem;text-align:left}
.testi-card{background:var(--gold-card);border-radius:16px;padding:1.5rem;position:relative;box-shadow:0 10px 26px rgba(0,0,0,.08)}
.testi-head{display:flex;align-items:center;gap:1rem;margin-top:-3.2rem;margin-bottom:1.1rem}
.testi-avatar{width:88px;height:88px;border-radius:50%;object-fit:cover;border:4px solid #fdfbef;background:#fff}
.testi-ph{display:flex;align-items:center;justify-content:center;background:#e7e7e7;flex-shrink:0}
.testi-ph svg{width:56px;height:56px}
.testi-head strong{font-family:var(--font-head);font-size:1rem;color:#111;display:block}
.testi-head span{font-size:.78rem;color:#333}
.testi-card>p{font-size:.78rem;color:#222}

/* ============ NA MÍDIA ============ */
.media{background:var(--white);padding:4.5rem 0;text-align:center}
.media h2{font-size:clamp(1.7rem,3.2vw,2.3rem);font-weight:700;color:#1c1c1c;margin-bottom:.6rem}
.media-sub{font-size:.8rem;color:#666;margin-bottom:2.2rem}
.media-logos{display:flex;justify-content:center;align-items:center;gap:3rem;flex-wrap:wrap}
.media-logos img{height:52px;width:auto;object-fit:contain}
.ml{display:inline-flex;align-items:center;filter:grayscale(15%);transition:transform .3s ease,filter .3s ease}
.ml svg{height:50px;width:auto;display:block}
.ml:hover{filter:grayscale(0);transform:translateY(-4px) scale(1.06)}
/* entrada escalonada das logos (igual ao vídeo: surgem ao rolar) */
.media-logos .ml.reveal{opacity:0;transform:translateY(34px) scale(.86)}
.media-logos .ml.reveal.visible{opacity:1;transform:none}
.lg-serif{font-family:'Playfair Display',Georgia,serif}
.lg-sans{font-family:'Poppins',Arial,sans-serif}

/* ============ MAPA ============ */
.map-section{position:relative}
.map-section iframe{width:100%;height:430px;border:0;display:block}
.map-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--black);color:var(--white);display:flex;gap:2.5rem;align-items:center;padding:2.2rem 2.6rem;max-width:620px;width:90%}
.map-card h3{font-size:1.5rem;font-weight:700;flex-shrink:0;max-width:220px}
.map-card-right p{font-size:.75rem;color:#ccc;margin-bottom:1rem}

/* ============ FAQ ============ */
.faq{background:var(--white);padding:5rem 0}
.faq-top{display:grid;grid-template-columns:1fr 1.2fr;gap:3rem;align-items:center;margin-bottom:3rem}
.faq-top h2{font-size:clamp(1.9rem,3.6vw,2.6rem);font-weight:800;color:#1c1c1c;margin-bottom:1.4rem}
.faq-bio p:first-child{font-size:.85rem;color:#111;text-align:center;line-height:1.7}
.faq-bio-small{font-size:.72rem;color:#666;text-align:center;margin-top:1rem}
.accordion{max-width:760px;margin:0 auto}
.acc-item{border:1px solid #e5e5e5;background:var(--white);margin-bottom:.4rem}
.acc-question{width:100%;text-align:left;background:none;border:none;font-family:var(--font-head);font-weight:600;font-size:.78rem;color:#222;padding:1rem 1.2rem;cursor:pointer;position:relative;padding-left:2.4rem;letter-spacing:.02em}
.acc-question::before{content:"+";position:absolute;left:1rem;font-size:1.05rem;font-weight:600}
.acc-item.open .acc-question::before{content:"−"}
.acc-answer{max-height:0;overflow:hidden;transition:max-height .35s ease}
.acc-item.open .acc-answer{max-height:2600px}
.acc-answer p{font-size:.78rem;color:#555;padding:0 1.2rem 1.2rem;line-height:1.7}

/* ============ CTA FINAL ============ */
.cta-final{position:relative;padding:6rem 0;background:#1a1d1a url('../images/bg-cta.jpg') center/cover no-repeat;text-align:center}
.cta-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.25))}
.cta-inner{position:relative;z-index:2}
.cta-eyebrow{color:var(--white);font-family:var(--font-head);font-weight:600;font-size:1.05rem;margin-bottom:.6rem}
.cta-final h2{color:var(--white);font-size:clamp(1.9rem,4.2vw,3rem);font-weight:800;max-width:760px;margin:0 auto 1rem;text-shadow:0 2px 14px rgba(0,0,0,.5)}
.cta-text{color:#ddd;font-size:.78rem;max-width:560px;margin:0 auto 1.8rem}

/* ============ ENDEREÇOS ============ */
.addresses{background:var(--white);padding:3.2rem 0}
.addr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem}
.addr-head{display:flex;align-items:center;gap:.6rem;margin-bottom:.7rem}
.addr-head svg{width:26px;height:26px;flex-shrink:0}
.addr-head strong{font-family:var(--font-head);font-size:.9rem;color:#111}
.addr p{font-size:.78rem;color:#666;margin-bottom:.5rem}
.addr a{color:var(--gold);font-size:.78rem;font-weight:500}
.addr a:hover{text-decoration:underline}

/* ============ FAIXA CTA ============ */
.strip{background:var(--black);padding:2.8rem 0}
.strip-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.strip h3{color:var(--gold-light);font-size:clamp(1.05rem,2vw,1.35rem);font-weight:700;max-width:640px}

/* ============ FOOTER ============ */
.footer{background:var(--white);padding-top:3.5rem}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.1fr 1fr;gap:2.5rem;padding-bottom:3rem}
.f-col strong{font-family:var(--font-head);font-size:.9rem;color:#111;display:block;margin-bottom:.8rem}
.f-desc{font-size:.8rem;color:#555;margin-top:1rem;max-width:260px}
.f-phone{font-family:var(--font-head);font-weight:700;font-size:1.15rem;color:#111;margin-bottom:.8rem}
.f-col p{font-size:.82rem;color:#444}
.btn-whats{display:inline-flex;align-items:center;gap:.5rem;background:#25d366;color:var(--white);font-family:var(--font-head);font-weight:700;font-size:.62rem;line-height:1.2;padding:.55rem 1rem;border-radius:24px;transition:.2s}
.btn-whats:hover{background:#1eb857}
.btn-whats svg{width:22px;height:22px}
.f-social{display:flex;gap:.7rem;margin-bottom:1rem}
.f-social a{display:flex}
.f-social svg{width:22px;height:22px;transition:.2s}
.f-social a:hover svg{stroke:var(--gold)}
.f-tagline{font-size:.72rem;color:#777}
.footer-bottom{background:var(--black);padding:1rem 0;text-align:center}
.footer-bottom p{color:#bbb;font-size:.72rem}
.footer-bottom a{color:var(--gold-light);font-weight:600}

/* ============ WHATSAPP FLUTUANTE ============ */
.whats-float{position:fixed;right:22px;bottom:22px;width:58px;height:58px;background:#25d366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.3);z-index:200;transition:.25s}
.whats-float:hover{transform:scale(1.08)}
.whats-float svg{width:32px;height:32px}

/* ============ RESPONSIVO ============ */
@media (max-width:1024px){
  .treatments-panel{grid-template-columns:1fr;padding:2.4rem 1.8rem}
  .how-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--white);flex-direction:column;padding:1.2rem 6%;gap:1rem;box-shadow:0 12px 20px rgba(0,0,0,.08)}
  .nav.open{display:flex}
  .menu-toggle{display:block;margin-left:auto}
  .header-cta{display:none}
  .hero-grid{grid-template-columns:1fr;align-items:start}
  .hero-content{order:-1;padding-bottom:0}
  .hero-photo{min-height:380px;margin-top:1.5rem}
  .about-grid,.ba-grid,.faq-top{grid-template-columns:1fr}
  .float-card-about{left:10px}
  .testi-grid{grid-template-columns:1fr;gap:3rem}
  .addr-grid{grid-template-columns:1fr}
  .map-card{flex-direction:column;gap:1rem;text-align:center;padding:1.6rem}
  .t-col-offset{margin-top:0}
  .treatments-cards{grid-template-columns:1fr}
}
@media (max-width:560px){
  .how-grid{grid-template-columns:1fr}
  .ba-slide img{height:230px}
  .footer-grid{grid-template-columns:1fr;text-align:center}
  .f-desc{margin-left:auto;margin-right:auto}
  .f-social{justify-content:center}
  .logo{justify-content:center}
  .hero-stats{gap:2rem}
  .strip-inner{justify-content:center;text-align:center}
  .media-logos{gap:1.8rem 2.2rem}
  .ml svg{height:38px}
  .ml{filter:grayscale(0)}
  .map-card{padding:1.4rem 1.2rem}
  .cta-final h2,.testimonials h2,.faq-top h2{font-size:1.9rem}
  .hero-content h1{font-size:2.1rem}
}
