/* DEV DOMAIN: estabilizacao responsiva. Sobrescreve apenas comportamentos de layout. */
*, *::before, *::after { box-sizing: border-box; }
img, svg, video { max-width:100%; }
button, input, textarea, select { font:inherit; }
:where(.container, .nav, .contact-grid, .services-grid, .testimonials-grid, .footer-grid) > * { min-width:0; }
:where(.btn,.cta,.cta-btn,.svc-cta,.pkg-cta,.drawer-cta,.svc-card-link) { overflow-wrap:break-word; }
/* Informacoes de projetos e depoimentos, sem esmagar os identificadores. */
.testimonial-author { display:flex;align-items:center;gap:12px;text-align:left;min-width:0; }
.testimonial-avatar { flex:0 0 44px!important; min-width:44px!important; width:44px!important; height:44px!important; aspect-ratio:1; border-radius:50%!important;display:grid;place-items:center;font-size:12px!important;line-height:1!important;letter-spacing:-.025em;white-space:nowrap;overflow:hidden; }
.testimonial-info { min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:3px;overflow-wrap:break-word;text-align:left; }
.testimonial-name,.testimonial-role { display:block;max-width:100%;overflow-wrap:break-word; }
.results-proof-section .testimonial-card { text-align:left; }
/* Botoes legiveis sem cortar textos de outras linguas. */
:where(.btn,.cta,.cta-btn,.svc-cta,.pkg-cta,.drawer-cta) { max-width:100%; white-space:normal; }
:where(.btn,.cta,.cta-btn,.svc-cta,.pkg-cta) svg { flex-shrink:0; }
@media (max-width: 900px) {
  .services-grid,.testimonials-grid { min-width:0; }
  .svc-card,.testimonial-card,.pkg-card { min-width:0;max-width:100%; }
  .svc-card .svc-result { max-width:100%;white-space:normal;overflow-wrap:break-word; }
}
@media (max-width: 768px) {
  html,body{max-width:100%;overflow-x:clip;}
  body { padding-bottom:calc(22px + env(safe-area-inset-bottom,0px)); }
  header { z-index:100!important; }
  header .container.nav { min-height:64px!important;gap:12px!important; }
  header .brand img { width:auto!important;max-width:min(48vw,152px)!important;height:auto!important;max-height:40px!important;object-fit:contain!important; }
  .hamb { flex:0 0 44px; }
  .drawer { position:fixed!important;inset:0 0 0 auto!important;width:min(88vw,350px)!important;max-width:calc(100vw - 30px)!important;height:100dvh!important;max-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;padding:12px 14px calc(26px + env(safe-area-inset-bottom,0px))!important;display:flex!important;flex-direction:column!important;gap:0!important;background:#0d1720!important; }
  .drawer-head { position:sticky!important;top:-12px;z-index:5;background:#0d1720;padding:12px 0!important;min-height:56px;margin-bottom:2px!important;border-bottom:1px solid rgba(120,160,190,.17); }
  .drawer-head strong {font-size:16px!important;}
  .drawer ul{display:grid!important;align-content:start!important;gap:6px!important;margin:8px 0 12px!important;padding:0!important;flex:0 0 auto!important;}
  .drawer li{list-style:none!important;min-width:0!important;margin:0!important;}
  .drawer a.drawer-link,.drawer .drawer-group>summary{font-size:14px!important;line-height:1.35!important;min-height:45px!important;padding:11px 13px!important;display:flex!important;align-items:center!important;border-radius:12px!important;overflow-wrap:break-word!important;}
  .drawer .drawer-group-links {margin:4px 0 2px 8px!important;padding:5px 0 5px 9px!important;gap:5px!important;}
  .drawer .drawer-group-links>a.drawer-link{font-size:13px!important;min-height:40px!important;padding:9px 11px!important;}
  .drawer .drawer-group summary .chevron{height:16px!important;width:16px!important;flex:0 0 16px!important;}
  .drawer .drawer-cta,.drawer>.cta { min-height:44px!important;flex:0 0 auto!important;white-space:normal!important;font-size:13px!important;line-height:1.4!important;padding:12px!important;margin:8px 0 12px!important;text-align:center!important;justify-content:center;}
  .drawer:not(.open) { pointer-events:none!important; }
  .scrim.show {z-index:1100!important;}
  .drawer.open {z-index:1200!important;pointer-events:auto!important;}
  body.dd-menu-open {overflow:hidden!important;}
  body.dd-menu-open .whats-float, body.dd-menu-open .gtranslate_wrapper { opacity:0!important;visibility:hidden!important;pointer-events:none!important; }
  .whats-float {width:46px!important;height:46px!important;right:12px!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;box-shadow:0 5px 18px rgba(37,211,102,.26)!important;}
  .whats-float svg {width:25px!important;height:25px!important;}
  .gtranslate_wrapper {left:10px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;transform:scale(.72)!important;transform-origin:bottom left!important;}
  .gt_float_switcher {border-radius:12px!important;}
  .svc-card {max-width:100%;}
  .svc-card.featured::before {position:static!important;inset:auto!important;align-self:flex-start!important;margin:15px 18px 0!important;max-width:calc(100% - 36px)!important;font-size:10px!important;line-height:1.25!important;padding:6px 11px!important;z-index:1;order:0;}
  .svc-card.featured>.svc-card-top {order:1;padding-top:15px!important;}
  .svc-card.featured>.svc-card-link {order:2;}
  .svc-card-top {min-width:0;padding:22px 20px 0!important;}
  .svc-card-bottom {padding:0 20px 20px!important;}
  .svc-card .chip {max-width:100%;font-size:10px!important;letter-spacing:.045em!important;white-space:normal;line-height:1.35;padding:6px 11px!important;margin-bottom:14px!important;}
  .svc-card h3 {font-size:clamp(19px,5.4vw,23px)!important;line-height:1.3!important;overflow-wrap:break-word;}
  .svc-card .svc-desc {font-size:14px!important;line-height:1.6!important;}
  .svc-card .svc-result {font-size:12px!important;line-height:1.4!important;padding:10px 12px!important;}
  .svc-card-link {padding:14px 20px!important;line-height:1.4!important;gap:12px;min-height:49px;}
  .svc-card-link svg {flex:0 0 18px!important;}
  .testimonial-card {padding:22px 20px!important;overflow:hidden;}
  .testimonial-text {font-size:14px!important;line-height:1.65!important;margin-bottom:15px!important;text-align:left!important;}
  .testimonial-result {display:block!important;width:100%!important;margin:0 0 17px!important;font-size:13px!important;line-height:1.45!important;text-align:left!important;padding:11px 13px!important;overflow-wrap:break-word;}
  .testimonial-author {display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important;column-gap:12px!important;}
  .testimonial-avatar{flex:none!important;}
  .testimonial-name{font-size:14px!important;line-height:1.35!important;}
  .testimonial-role{font-size:12px!important;line-height:1.5!important;}
  .results-proof-section .section-sub:last-child{font-size:12px!important;line-height:1.6!important;}
  .svc-features li,.pkg-features li {overflow-wrap:break-word;}
  :where(.btn,.cta,.cta-btn,.svc-cta,.pkg-cta) {min-height:46px;line-height:1.35!important;text-align:center;justify-content:center;}
  :where(.btn,.cta,.cta-btn,.svc-cta,.pkg-cta) svg {width:18px;height:18px;}
}
@media (max-width:420px){
 .testimonial-card{padding:20px 17px!important;}
 .svc-card-top{padding-left:18px!important;padding-right:18px!important;}
 .svc-card-link{padding-left:18px!important;padding-right:18px!important;}
 .svc-card.featured::before{margin-left:18px!important;}
 .drawer {width:calc(100vw - 25px)!important;max-width:calc(100vw - 25px)!important;}
}
@media (prefers-reduced-motion:reduce){.drawer{transition:none!important}}
