/* CNN Contabilidade V068 — estabilização de layout, sem zoom de hover */
:root{--cnn-navy:#061633;--cnn-blue:#176bdf;--cnn-gold:#d6a544;--cnn-ink:#14263c;--cnn-mute:#53657a}
html{scroll-behavior:smooth;scroll-padding-top:105px}body{overflow-x:clip}body *{box-sizing:border-box}
img,iframe,video,svg{max-width:100%}img{height:auto}button,input,select,textarea{font:inherit;max-width:100%}
button,a{touch-action:manipulation}a,button{outline-offset:3px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f7b42c!important;outline-offset:3px}
.cnn-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.cnn-skip-link{position:fixed;top:-80px;left:14px;background:#fff;color:#061633;padding:12px 18px;border:2px solid #061633;z-index:99999;border-radius:8px}.cnn-skip-link:focus{top:14px}
body.home .header-premium{position:relative;z-index:500}body.home .header-main-premium{min-width:0;gap:18px}
body.home .header-top-premium{height:auto;min-height:30px;flex-wrap:wrap;gap:8px 16px;padding-block:9px}
body.home .header-main-premium .logo-premium{min-width:0}
body.home #nav-menu a{white-space:nowrap}
body.home #inicio .hero-left{word-break:normal}body.home #inicio .hero-right img{aspect-ratio:auto;object-fit:cover}
body.home :is(.services-grid,.quick-features,.content-grid,.certifications-grid,.blog-grid,.news-grid,.tools-mini-grid){min-width:0}
body.home :is(.service-card,.quick-feature,.cert-card,.blog-card,.news-card,.tool-mini-card,.tool-modal-panel,.footer-final){min-width:0;overflow-wrap:anywhere}
body.home :is(.service-card,.quick-feature,.cert-card,.blog-card,.news-card,.tool-mini-card):hover{transform:none!important;scale:1!important;filter:none!important}
body.home :is(.service-card,.quick-feature,.cert-card,.blog-card,.news-card,.tool-mini-card){transition:background-color .15s,border-color .15s,box-shadow .15s!important}
body.home .service-card a,body.home .hero-buttons a,body.home .footer-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
body.home .footer-contact-grid a{color:inherit;text-decoration:underline;text-underline-offset:2px}
body.home .tool-modal-panel{width:min(980px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overscroll-behavior:contain}
body.home .tool-modal-body{max-width:100%;overflow-x:auto}body.home .tool-modal-body :is(input,select,textarea){max-width:100%;min-width:0}
body.home .tools-topbar{flex-wrap:wrap;gap:12px}body.home .tools-search-wrap{min-width:0;flex:1 1 280px}body.home #tools-search{min-width:0;width:100%}
body.home :is(.tool-actions,.tools-tabs,.hero-buttons){max-width:100%}body.home .tool-actions{display:flex;flex-wrap:wrap;gap:10px}
body.home .news-grid .news-card{min-width:0}body.home .news-content{min-width:0}
body.home .florzinha-box{width:min(420px,calc(100vw - 24px));max-height:min(680px,calc(100dvh - 36px));left:auto;right:12px}
body.home .florzinha-lead-form :is(input,select,textarea){max-width:100%;width:100%;min-width:0}
body.home #cnn-speed-dial{z-index:950}
/* Reflow em tablet, sem rolagem horizontal do body */
@media(max-width:1100px){
  body.home .header-top-premium span{font-size:12px}
  body.home .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.home .blog-grid,body.home .news-grid,body.home .certifications-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  body.home .header-main-premium{position:relative;flex-wrap:wrap}
  body.home #nav-menu{min-width:0;max-width:100%;box-sizing:border-box}
  body.home #nav-menu.active{overflow-y:auto;max-height:min(70dvh,490px)}
  body.home .hero#inicio{max-width:100vw}
  body.home .content-grid{grid-template-columns:minmax(0,1fr)}
  body.home .quick-features{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  body.home .header-top-premium{display:none}
  body.home .header-main-premium{padding:12px 16px!important}
  body.home .logo-title strong{font-size:clamp(24px,7vw,34px)}
  body.home .logo-slogan{font-size:11px}
  body.home #inicio .hero-left{padding:42px 20px!important}
  body.home #inicio .hero-right{height:260px!important}
  body.home .services-grid,body.home .blog-grid,body.home .news-grid,body.home .certifications-grid,body.home .quick-features{grid-template-columns:minmax(0,1fr)!important}
  body.home .quick-feature{min-height:0}
  body.home .tools-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
  body.home .tool-mini-card{padding:14px 9px}
  body.home .tools-tabs{display:flex;flex-wrap:wrap;gap:8px}
  body.home .tools-tabs button{white-space:normal}
  body.home .footer-final{padding:36px 20px 55px}
  body.home .footer-contact-grid{grid-template-columns:minmax(0,1fr)!important}
  body.home .tool-modal-panel{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}
  body.home .tool-modal-head{padding:12px 16px}body.home .tool-modal-body{padding:14px!important}
  body.home .tool-actions :is(button,a){flex:1 1 160px;max-width:100%;white-space:normal}
  body.home .cnn-speed-dial{right:12px;bottom:18px}
}
@media(max-width:360px){body.home .tools-mini-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body.home *,body.home *::before,body.home *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* WordPress/plugins may constrain the intrinsic body width on unusual viewports. */
html,body{width:100%!important;min-width:0!important;max-width:100%!important}
/* V069: removidas regras globais de :hover, zoom e transform.
   Elas causavam deslocamento de componentes que dependem de transform. */
