:root{
  --legacy-green:#1abc9c;
  --legacy-green-dark:#0a8a70;
  --legacy-ink:#111;
  --legacy-muted:#5f6563;
  --legacy-soft:#f2faf8;
  --legacy-line:#dceeea;
  --legacy-max:1180px;
}

body{font-family:Montserrat,Arial,sans-serif;color:var(--legacy-ink)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:100;padding:12px 16px;background:#fff;color:#111}

/* Cabeçalho leve da versão original */
body>header,
body>.site-header{
  box-sizing:border-box!important;
  position:relative!important;
  inset:auto!important;
  z-index:30!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-height:100px!important;
  margin:0!important;
  padding:10px 32px!important;
  gap:38px!important;
  background:#fff!important;
  border:0!important;
  box-shadow:0 5px 20px rgba(17,17,17,.035)!important;
}
body>.site-header>.nav{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  gap:38px!important;
}
body>header .logo{display:block!important;width:100px!important;height:auto!important;margin:0!important}
body>header>nav,
body>.site-header>.nav>nav{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  order:0!important;
  display:flex!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  transform:translate(-50%,-50%)!important;
  background:transparent!important;
}
body>header nav .div-son,
body>.site-header>.nav>nav{align-items:center!important;justify-content:center!important;gap:40px!important}
body>header nav a,
body>.site-header>.nav>nav a{
  position:static!important;
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#666!important;
  font-size:1rem!important;
  line-height:1.5!important;
  font-weight:500!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body>header nav a:hover,
body>header nav .a-ativo,
body>.site-header>.nav>nav a:hover,
body>.site-header>.nav>nav a[aria-current="page"]{color:var(--legacy-green)!important;background:transparent!important}
body>header>.button-header,
body>.site-header>.nav>.btn{
  position:static!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-height:42px!important;
  margin:0!important;
  padding:10px 20px!important;
  border:0!important;
  border-radius:5px!important;
  background:var(--legacy-green)!important;
  color:#fff!important;
  font-size:.95rem!important;
  line-height:1.4!important;
  font-weight:500!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body>header>.button-header:hover,
body>.site-header>.nav>.btn:hover{background:var(--legacy-green-dark)!important;transform:translateY(-1px)!important}

/* Páginas internas novas com a mesma linguagem da versão antiga */
.page-hero{
  min-height:460px!important;
  padding:72px 4vw!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  background:linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.46)),url("assets/images/clinica-ambiente-04.jpeg") center/cover!important;
}
.page-hero .content{width:min(820px,100%)!important;max-width:820px!important;margin:0 auto!important}
.page-hero .eyebrow{color:#9ce8d8!important}
.page-hero h1{margin:.4rem 0 1rem!important;color:#fff!important;font-size:clamp(2.2rem,6vw,4.4rem)!important;line-height:1.08!important}
.page-hero .lead{color:rgba(255,255,255,.9)!important;font-size:clamp(1rem,2vw,1.22rem)!important}
.hero-contato .hero-content h1{line-height:1.05!important}
.breadcrumb{max-width:var(--legacy-max)!important}
.section{padding:70px 4vw!important}
.section.soft{background:var(--legacy-soft)!important}
.section>.wrap,.section .wrap{max-width:var(--legacy-max)}
.section h2{color:var(--legacy-ink)}
.card{
  border:1px solid var(--legacy-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(0,0,0,.05)!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}
.card:hover{transform:translateY(-3px)!important;box-shadow:0 13px 28px rgba(0,0,0,.08)!important}
.btn{border-radius:5px!important;background:var(--legacy-green)!important}
.btn:hover{background:var(--legacy-green-dark)!important}
.btn.secondary{border:1px solid var(--legacy-green)!important;background:#fff!important;color:var(--legacy-green-dark)!important}
.notice{border-left-color:var(--legacy-green)!important;background:var(--legacy-soft)!important}

/* Rodapé branco e arejado da versão antiga */
footer,.site-footer{
  min-height:0!important;
  padding:56px 4vw 24px!important;
  background:#fff!important;
  color:#111!important;
  border:0!important;
}
footer *,.site-footer *{color:#111!important}
footer a,.site-footer a{color:#111!important}
footer>h2,.site-footer>h2{
  font-size:clamp(2rem,3.4vw,2.8rem)!important;
  line-height:1.15!important;
  font-weight:800!important;
  margin-bottom:34px!important;
}
footer .footer-grid,.site-footer .footer-grid{width:min(var(--legacy-max),100%)!important;margin:0 auto!important;gap:38px!important}
footer .p-low,.site-footer .legal{
  margin-top:52px!important;
  padding-top:24px!important;
  border-top:1px solid #111!important;
}
.site-footer.compact-footer{padding-top:46px!important}
.site-footer.compact-footer>div{width:min(var(--legacy-max),100%)!important;margin:0 auto!important}
.site-footer.compact-footer h2{font-size:clamp(1.75rem,3vw,2.35rem)!important}
.site-footer.compact-footer .legal{margin-top:34px!important}

/* Chamada de apoio dos serviços */
.servicos-intro .servicos-chamada{
  display:inline-block;
  margin-top:24px!important;
  padding:13px 18px;
  border-left:5px solid var(--legacy-green);
  border-radius:0 6px 6px 0;
  background:var(--legacy-soft);
  color:var(--legacy-green-dark)!important;
  font-size:clamp(1.08rem,2vw,1.3rem)!important;
  line-height:1.45;
  font-weight:800;
}

/* Conteúdo local útil para busca, integrado ao design */
.seo-local{padding:70px 4vw;background:var(--legacy-soft)}
.seo-local .section-heading{max-width:850px;margin:0 auto;text-align:center}
.seo-local .section-heading span{color:var(--legacy-green-dark);font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.seo-local .section-heading h2{margin:10px 0 18px;font-size:clamp(1.8rem,4vw,3rem)}
.seo-local .section-heading p{margin:0 auto 12px;color:var(--legacy-muted);line-height:1.8}
.seo-local .seo-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.seo-local .seo-actions a{padding:11px 20px;border-radius:5px;background:var(--legacy-green);color:#fff;text-decoration:none;font-weight:600}
.seo-local .seo-actions a:last-child{background:#fff;color:var(--legacy-green-dark);border:1px solid var(--legacy-green)}

@media(max-width:900px){
  body>header,body>.site-header{flex-wrap:wrap!important;justify-content:center!important;min-height:0!important;padding:12px 20px 18px!important;gap:12px 20px!important}
  body>.site-header>.nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:12px 20px!important}
  body>header .logo{width:85px!important}
  body>header>nav,body>.site-header>.nav>nav{position:static!important;order:2!important;flex-basis:100%!important;width:100%!important;transform:none!important}
  body>header nav .div-son,body>.site-header>.nav>nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:14px 22px!important}
  body>header>.button-header,body>.site-header>.nav>.btn{order:3!important}
  .page-hero{min-height:400px!important}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:600px){
  body>header,body>.site-header{padding:10px 14px 18px!important}
  body>header .logo{width:76px!important}
  body>header nav a,body>.site-header>.nav>nav a{font-size:.95rem!important}
  body>header>.button-header,body>.site-header>.nav>.btn{padding:10px 14px!important;font-size:.9rem!important}
  .page-hero{min-height:360px!important;padding:56px 5vw!important;text-align:center!important}
  .grid{grid-template-columns:1fr!important}
  .section,.seo-local{padding:52px 5vw!important}
}
