/* Dr. Tiago Abreu Ortodontia — drtiagoabreu.com
   Identidade: navy #123B5C + teal #3E9AC6, geometrica sem serifa */

:root{
  --navy:#123B5C;
  --navy-dark:#0E2233;
  --teal:#3E9AC6;
  --teal-light:#5FB4D8;
  --gray:#9AA1A7;
  --offwhite:#F4F8FB;
  --ink:#0E2233;
  --white:#FFFFFF;
  --gradient: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  --radius: 16px;
  --shadow: 0 8px 24px -10px rgba(18,59,92,.18);
  --shadow-hover: 0 14px 32px -8px rgba(18,59,92,.28);
  --container: 1140px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:84px; }
body{
  margin:0;
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
section{ padding:88px 0; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{
  font-family:'Poppins', sans-serif;
  color:var(--navy);
  margin:0 0 16px;
  line-height:1.25;
}
h1{ font-size:clamp(32px, 5vw, 52px); font-weight:700; }
h2{ font-size:clamp(26px, 3.4vw, 36px); font-weight:700; }
h3{ font-size:19px; font-weight:600; }
p{ margin:0 0 16px; color:var(--ink); }

.eyebrow{
  display:inline-block;
  font-family:'Inter', sans-serif;
  font-weight:600;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--teal);
  margin-bottom:14px;
}
.section-head{ max-width:720px; margin:0 auto 48px; text-align:center; }
.section-head p{ color:var(--gray); font-size:17px; }

.text-teal{ color:var(--teal); }

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  border-radius:999px;
  font-family:'Inter', sans-serif;
  font-weight:600;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--gradient);
  color:var(--white);
  box-shadow:0 10px 24px -8px rgba(62,154,198,.55);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 30px -8px rgba(62,154,198,.65); }
.btn-ghost{
  background:transparent;
  color:var(--navy);
  border:1.5px solid #D6E2EA;
}
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal); }
.btn-lg{ padding:18px 36px; font-size:16px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid #E7EEF3;
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.nav-logo{ display:flex; align-items:center; gap:10px; }
.nav-logo img{ height:40px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{
  font-size:14px; font-weight:500; color:var(--navy-dark);
  transition:color .2s ease;
}
.nav-links a:hover{ color:var(--teal); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer;
  width:40px; height:40px; position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; position:absolute; left:8px; right:8px; height:2px; background:var(--navy);
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span{ top:19px; }
.nav-toggle span::before{ top:-8px; }
.nav-toggle span::after{ top:8px; }
.nav-toggle.open span{ background:transparent; }
.nav-toggle.open span::before{ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span::after{ transform:translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ padding:64px 0 80px; overflow:hidden; }
.hero .container{
  display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;
}
.hero-badges{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 28px; }
.badge{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--offwhite);
  border:1px solid #DCE7EF;
  color:var(--navy);
  font-size:13px; font-weight:600;
  padding:8px 14px; border-radius:999px;
}
.badge .dot{ width:6px; height:6px; border-radius:50%; background:var(--teal); }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-media{ position:relative; }
.hero-media img{
  width:100%; border-radius:24px; box-shadow:var(--shadow-hover);
  aspect-ratio:4/5; object-fit:cover;
}
.hero-media::after{
  content:''; position:absolute; inset:-14px; z-index:-1;
  background:var(--gradient); border-radius:30px; opacity:.15;
}

/* ---------- Para o paciente ---------- */
.steps-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:22px;
}
.step-card{
  background:var(--offwhite);
  border-radius:var(--radius);
  padding:28px 24px;
  border:1px solid #E7EEF3;
}
.step-num{
  width:38px; height:38px; border-radius:50%;
  background:var(--gradient); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:'Poppins', sans-serif; font-weight:700; font-size:15px;
  margin-bottom:16px;
}
.step-card p{ font-size:14.5px; color:var(--gray); margin:0; }

/* ---------- Tratamentos ---------- */
.bg-offwhite{ background:var(--offwhite); }
.treat-grid{
  display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:24px;
}
.treat-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid #E7EEF3;
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
}
.treat-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.treat-card.featured{ grid-row:span 1; border-color:var(--teal); }
.treat-media{ aspect-ratio:4/5; overflow:hidden; }
.treat-media img{ width:100%; height:100%; object-fit:cover; }
.treat-body{ padding:22px 22px 26px; }
.treat-tag{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.04em;
  color:var(--teal); text-transform:uppercase; margin-bottom:8px;
}
.treat-body p{ font-size:14.5px; color:var(--gray); margin:0; }

/* ---------- Metodo ---------- */
.metodo .container{
  display:grid; grid-template-columns:.95fr 1.05fr; gap:56px; align-items:center;
}
.metodo-media img{ border-radius:20px; box-shadow:var(--shadow); aspect-ratio:16/9; object-fit:cover; }
.pillars{ display:grid; gap:20px; margin-top:28px; }
.pillar{ display:flex; gap:16px; align-items:flex-start; }
.pillar-icon{
  flex:0 0 auto; width:44px; height:44px; border-radius:12px;
  background:var(--offwhite); color:var(--teal);
  display:flex; align-items:center; justify-content:center;
  font-family:'Poppins', sans-serif; font-weight:700;
  border:1px solid #DCE7EF;
}
.pillar h4{ margin:0 0 4px; font-size:16px; color:var(--navy); }
.pillar p{ margin:0; font-size:14.5px; color:var(--gray); }

/* ---------- Prova social / marquee ---------- */
.pacientes{ background:var(--navy-dark); color:var(--white); }
.pacientes .section-head h2, .pacientes .eyebrow{ color:var(--white); }
.pacientes .eyebrow{ color:var(--teal-light); }
.pacientes .section-head p{ color:#B9C6D1; }

.rail{
  position:relative; width:100%; overflow:hidden;
  -webkit-mask:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);
  mask:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);
  margin-bottom:18px;
}
.track{ display:flex; width:max-content; gap:18px; animation:scroll-l 48s linear infinite; }
.track.rev{ animation:scroll-r 54s linear infinite; }
.rail:hover .track{ animation-play-state:paused; }
@keyframes scroll-l{ 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes scroll-r{ 0%{transform:translateX(-50%)} 100%{transform:translateX(0)} }

.card-photo{
  flex:0 0 auto; width:150px; height:150px; border-radius:16px; overflow:hidden;
  box-shadow:0 8px 24px -10px rgba(0,0,0,.4);
  border:1px solid rgba(255,255,255,.12);
  transition:transform .25s ease;
}
.card-photo:hover{ transform:scale(1.06); }
.card-photo img{ width:100%; height:100%; object-fit:cover; }

.trust-strip{
  display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
  margin-top:36px;
}
.trust-strip .badge{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16); color:var(--white); }
.trust-strip .badge .dot{ background:var(--teal-light); }
.pacientes-note{ text-align:center; color:#8CA0AF; font-size:13px; margin:22px 0 0; }

/* ---------- Sobre ---------- */
.sobre .container{
  display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center;
}
.sobre-media img{
  border-radius:20px; box-shadow:var(--shadow); aspect-ratio:4/5; object-fit:cover;
}
.sobre-cred{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; }
.sobre-family{
  background:var(--offwhite); border:1px solid #E7EEF3; border-radius:var(--radius);
  padding:20px 22px; margin-top:8px;
}
.sobre-family p{ font-size:14.5px; color:var(--gray); margin:0; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{
  border-bottom:1px solid #E7EEF3;
  padding:6px 0;
}
.faq-item summary{
  cursor:pointer; list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 4px; font-family:'Poppins', sans-serif; font-weight:600; color:var(--navy);
  font-size:16px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'+'; font-size:22px; color:var(--teal); font-weight:400; flex:0 0 auto;
  transition:transform .2s ease;
}
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ padding:0 4px 20px; color:var(--gray); font-size:15px; margin:0; }

/* ---------- Contato ---------- */
.contato .container{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;
}
.contato-card{
  background:var(--offwhite); border:1px solid #E7EEF3; border-radius:var(--radius);
  padding:32px;
}
.contato-row{ display:flex; gap:14px; margin-bottom:20px; align-items:flex-start; }
.contato-row .ic{
  flex:0 0 auto; width:38px; height:38px; border-radius:10px;
  background:var(--white); border:1px solid #DCE7EF; color:var(--teal);
  display:flex; align-items:center; justify-content:center;
}
.contato-row .ic svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.contato-row h4{ margin:0 0 4px; font-size:15px; color:var(--navy); }
.contato-row p{ margin:0; font-size:14.5px; color:var(--gray); }
.map-frame{ border-radius:var(--radius); overflow:hidden; border:1px solid #E7EEF3; box-shadow:var(--shadow); }
.map-frame iframe{ width:100%; height:280px; border:0; display:block; }
.clinica-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px; }
.clinica-strip img{ border-radius:12px; aspect-ratio:1/1; object-fit:cover; }

/* ---------- Paginas locais (F4) ---------- */
.crumb{ font-size:13px; color:var(--gray); padding:18px 0 0; }
.crumb a{ color:var(--navy); }
.crumb a:hover{ color:var(--teal); }

.benefit-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.benefit-card{
  background:var(--offwhite);
  border-radius:var(--radius);
  padding:28px 24px;
  border:1px solid #E7EEF3;
}
.benefit-icon{
  width:44px; height:44px; border-radius:12px;
  background:var(--white); color:var(--teal);
  display:flex; align-items:center; justify-content:center;
  border:1px solid #DCE7EF;
  margin-bottom:16px;
}
.benefit-icon svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.benefit-card p{ font-size:14.5px; color:var(--gray); margin:0; }

.cta-band{
  background:var(--gradient);
  border-radius:28px;
  padding:56px 40px;
  text-align:center;
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color:rgba(255,255,255,.85); max-width:520px; margin:0 auto 28px; }
.cta-band .btn-primary{ background:var(--white); color:var(--navy); box-shadow:0 10px 24px -8px rgba(0,0,0,.25); }
.cta-band .btn-primary:hover{ background:var(--offwhite); }

.local-links{ display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.local-links a{
  font-size:13.5px; font-weight:600; color:var(--navy);
  padding:9px 18px; border-radius:999px; border:1px solid #D6E2EA;
}
.local-links a:hover{ border-color:var(--teal); color:var(--teal); }
.local-links a.featured{
  display:inline-flex; align-items:center; gap:7px;
  background:var(--gradient); color:var(--white); border-color:transparent;
  box-shadow:0 8px 20px -8px rgba(62,154,198,.55);
}
.local-links a.featured svg{ width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.local-links a.featured:hover{ color:var(--white); opacity:.92; }

/* ---------- Area do Paciente (F8) ---------- */
.nav-links a.nav-pill{
  background:var(--offwhite); border:1px solid #DCE7EF; border-radius:999px;
  padding:8px 16px; color:var(--navy); font-weight:600;
}
.nav-links a.nav-pill:hover{ border-color:var(--teal); color:var(--teal); }
.nav-links a.nav-pill.active{ background:rgba(62,154,198,.12); border-color:var(--teal); color:var(--teal); }

.benefit-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.benefit-grid.cols-4{ grid-template-columns:repeat(4,1fr); }

.note{
  display:flex; gap:14px; align-items:flex-start;
  background:rgba(62,154,198,.08); border:1px solid rgba(62,154,198,.28);
  border-radius:var(--radius); padding:20px 22px; margin-top:24px;
}
.note .ic{ flex:0 0 auto; width:22px; height:22px; color:var(--teal); margin-top:2px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.note p{ margin:0; font-size:14.5px; color:var(--ink); }
.note b{ color:var(--navy); font-weight:700; }

.cal{
  display:grid; grid-template-columns:.92fr 1.08fr; gap:36px; align-items:start;
  background:var(--offwhite); border:1px solid #E7EEF3; border-radius:var(--radius);
  padding:32px;
}
.cal-form .fld{ margin-bottom:16px; }
.cal-form label{ display:block; font-size:13.5px; font-weight:600; color:var(--navy); margin-bottom:7px; }
.cal-form input{
  width:100%; font-family:'Inter',sans-serif; font-size:15px; color:var(--ink);
  background:var(--white); border:1px solid #D6E2EA; border-radius:10px; padding:12px 14px;
  outline:none; transition:border-color .2s ease, box-shadow .2s ease;
}
.cal-form input:focus{ border-color:var(--teal); box-shadow:0 0 0 3px rgba(62,154,198,.15); }
.cal-form .btn{ width:100%; margin-top:4px; }
.cal-hint{ font-size:12.5px; color:var(--gray); margin-top:12px; line-height:1.5; }
.cal-out h3{ font-size:14.5px; font-weight:700; color:var(--navy); margin-bottom:14px; display:flex; align-items:center; gap:8px; font-family:'Poppins',sans-serif; }
.cal-out h3 svg{ width:17px; height:17px; color:var(--teal); stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.cal-list{ display:flex; flex-direction:column; gap:8px; }
.cal-list li{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:12px 15px; border-radius:12px; background:var(--white); border:1px solid #E7EEF3;
}
.cal-list li .lbl{ font-size:13px; color:var(--gray); }
.cal-list li .d{ font-weight:700; font-size:15px; color:var(--navy); }
.cal-list li .w{ font-size:12px; color:var(--gray); text-transform:capitalize; }
.cal-list li.next{ border-color:var(--teal); background:rgba(62,154,198,.08); }
.cal-list li.next .lbl{ color:var(--teal); font-weight:700; }
.cal-empty{ font-size:14px; color:var(--gray); line-height:1.6; }

/* ---------- Rodape ---------- */
.site-footer{ background:var(--navy-dark); color:#B9C6D1; padding:56px 0 28px; }
.footer-top{
  display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px;
  padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-top img{ height:56px; margin-bottom:18px; }
.footer-top p{ font-size:14px; color:#8CA0AF; }
.footer-col h4{ color:var(--white); font-family:'Poppins',sans-serif; font-size:14px; margin:0 0 16px; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ font-size:14px; color:#B9C6D1; transition:color .2s ease; }
.footer-col a:hover{ color:var(--teal-light); }
.footer-bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px;
  padding-top:22px; font-size:12.5px; color:#7690A0;
}
.footer-bottom a{ color:#7690A0; }
.footer-bottom a:hover{ color:var(--teal-light); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:90;
  width:58px; height:58px; border-radius:50%;
  background:var(--gradient); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px -8px rgba(18,59,92,.55);
}
.wa-float svg{ width:27px; height:27px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.wa-float:hover{ transform:scale(1.06); }

/* ---------- Responsivo ---------- */
@media(max-width:960px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-media{ order:-1; max-width:420px; margin:0 auto; }
  .steps-grid{ grid-template-columns:repeat(2,1fr); }
  .treat-grid{ grid-template-columns:1fr; }
  .metodo .container{ grid-template-columns:1fr; }
  .metodo-media{ order:-1; }
  .sobre .container{ grid-template-columns:1fr; }
  .sobre-media{ max-width:340px; margin:0 auto; }
  .contato .container{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .benefit-grid, .benefit-grid.cols-3, .benefit-grid.cols-4{ grid-template-columns:repeat(2,1fr); }
  .cal{ grid-template-columns:1fr; }
}
@media(max-width:720px){
  .nav-links, .nav-cta{ display:none; }
  .nav-toggle{ display:block; }
  .nav.open .nav-links{
    display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
    background:var(--white); padding:20px 24px; gap:18px; border-bottom:1px solid #E7EEF3;
  }
  section{ padding:64px 0; }
  .steps-grid{ grid-template-columns:1fr; }
  .card-photo{ width:110px; height:110px; }
  .footer-top{ grid-template-columns:1fr; }
  .clinica-strip{ grid-template-columns:repeat(3,1fr); }
  .benefit-grid, .benefit-grid.cols-2, .benefit-grid.cols-3, .benefit-grid.cols-4{ grid-template-columns:1fr; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta a{ text-align:center; }
  .site-footer{ padding-bottom:110px; }
}
