/*
Theme Name: Essencial Odonto
Description: Tema WordPress reconstruído fielmente a partir da referência V32.
Version: 2.1.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: essencial-odonto
*/
.video-card video{display:block;width:100%;max-width:100%;height:auto}
.eo-notice{margin:0 0 22px;padding:14px 16px;border-radius:8px;background:#f4eadc;color:#3b352f}
.eo-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:none;margin:0}
.eo-form>input[type="hidden"],.eo-form>.eo-honeypot{display:none!important}
.eo-form .eo-field{margin:0;min-width:0}
.eo-form .eo-field:has(textarea){grid-column:1/-1}
.eo-form label{display:flex;flex-direction:column;gap:7px;font-weight:700}
.eo-form input,.eo-form select,.eo-form textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;font:inherit;padding:12px 13px;border:1px solid #cfc3b2;border-radius:8px;background:#fff;color:#23211f}
.eo-form textarea{min-height:110px;resize:vertical}
.eo-form .eo-cta{justify-self:start;display:inline-flex;padding:13px 20px;border:0;border-radius:999px;background:#3b352f;color:#fff;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:680px){.eo-form{grid-template-columns:1fr}.eo-form .eo-field:has(textarea){grid-column:auto}}
.footer-social-links{display:flex;gap:10px;align-items:center;margin:14px 0 0}
.footer-icon-link{display:inline-flex;width:42px;height:42px;border-radius:50%;align-items:center;justify-content:center}
.footer-icon-link svg{width:22px;height:22px}
.footer-icon-link.instagram{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.footer-icon-link.facebook{background:#1877f2}

/* V32 visual reconciliation: keep the complete footer block centered everywhere. */
footer .footer-meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
footer .footer-copy{text-align:center}
footer .footer-social-links{justify-content:center;align-items:center}

/* Keep the Cursos & Consultoria testimonial player compact on desktop. */
.depoimentos-section .video-card{width:100%;max-width:460px;margin:0 auto}
.depoimentos-section .video-card video{display:block;width:100%;max-width:100%;height:auto}

/* Implantes-only hero crop, matching the approved V32 framing. */
.hero-media img[src*="hero-implantes"]{object-position:72% 18%!important}
@media(max-width:860px){.hero-media img[src*="hero-implantes"]{object-position:78% 18%!important}}

/* QA 2.0.7: contain the global brand assets on the two affected pages only. */
body.page-id-13 > footer .footer-meta > img,
body.privacy-policy > footer .footer-meta > img{
  display:block;
  width:auto!important;
  max-width:min(220px,100%)!important;
  height:auto!important;
  margin:0 auto 12px;
}

body.privacy-policy > header .wrap.nav,
body.privacy-policy > footer .wrap.footer-meta{
  width:min(1140px,calc(100% - 40px));
  margin-left:auto;
  margin-right:auto;
}

body.privacy-policy > header .brand{
  display:flex;
  align-items:center;
  flex:0 1 auto;
  max-width:min(220px,45vw);
}

body.privacy-policy > header .brand img{
  display:block;
  width:auto!important;
  max-width:100%!important;
  height:46px!important;
  object-fit:contain;
}

@media(max-width:860px){
  body.privacy-policy > header .nav-links{display:none!important}
  body.privacy-policy > header .nav.open .nav-links{display:flex!important}
}

/* Localized Cursos/Perícia responsive reconciliation. */
header .brand img{
  display:block;
  width:auto!important;
  height:46px!important;
  max-width:150px!important;
  max-height:60px!important;
  object-fit:contain;
}
footer .footer-meta > img{
  display:block;
  width:auto!important;
  height:auto!important;
  max-width:min(180px,70vw)!important;
  margin:0 auto 12px;
}
@media(max-width:860px){
  header .brand img{max-width:120px!important;max-height:52px!important;height:auto!important}
  #pericia{padding:96px 0 64px!important}
  #pericia h1{margin-top:0}
  footer .footer-meta,.footer-copy{text-align:center}
  .footer-social-links{justify-content:center;align-items:center;gap:12px}
}

/* Scoped floating contact control for Cursos and Perícia. */
.eo-floating-whatsapp{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:90;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  padding:0;
  border-radius:999px;
  background:#25d366;
  color:#fff;
  box-shadow:0 8px 24px rgba(16,45,29,.26);
  text-decoration:none;
}
.eo-floating-whatsapp:hover,.eo-floating-whatsapp:focus-visible{background:#1fb75a;color:#fff}
.eo-whatsapp-icon{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center}
.eo-whatsapp-icon svg{display:block;width:100%;height:100%;fill:currentColor}
@media(max-width:480px){.eo-floating-whatsapp{right:16px;bottom:16px;width:54px;height:54px}.eo-whatsapp-icon{width:28px;height:28px}}
