/* WSVTECH · 2026-11-06: continuity of hero media + compact accessible help. */

/* A curated campaign formerly used contain, exposing a straight empty band.
   Cover fills the frame while the original asset remains unchanged. */
html.wsv-classic-commercial body.home .hero .wsv-main-carousel-curated .wsv-main-carousel-layer {
  object-fit:cover!important;
  object-position:center center!important;
}
html.wsv-classic-commercial body.home .hero .wsv-main-carousel-shade {
  background:linear-gradient(180deg,rgba(6,14,28,.04) 0%,rgba(6,14,28,.10) 48%,rgba(6,14,28,.28) 78%,rgba(6,14,28,.60) 100%)!important;
}
html.wsv-classic-commercial body.home .hero .wsv-main-carousel-media {
  pointer-events:auto!important;
  cursor:zoom-in;
}
html.wsv-classic-commercial body.home .hero .wsv-main-carousel-outdoor svg {
  display:block;width:18px;height:18px;
}
html.wsv-classic-commercial body.home .hero .wsv-main-carousel-actions .wsv-main-carousel-outdoor:focus-visible,
html.wsv-classic-commercial body.home .hero .wsv-main-carousel-actions .wsv-main-carousel-outdoor:hover {
  outline:2px solid #d4e7ff;outline-offset:2px;
  background:#21549b!important;
}

/* Compacta o modal sem ocultar os campos nem reduzir alvos de toque. */
body.home .wsv-help-dialog {
  width:min(94vw,444px);
  max-height:calc(100dvh - 24px);
  overflow:visible;
  border-radius:20px;
}
body.home .wsv-help-header {
  padding:14px 19px;
  gap:10px;
  align-items:center;
}
body.home .wsv-help-logo {
  width:42px;height:42px;flex-basis:42px;border-radius:12px;
}
body.home .wsv-help-header h2 {
  font-size:20px;line-height:1.15;margin:3px 0 2px;
}
body.home .wsv-help-header p {font-size:11px}
body.home .wsv-help-close {width:36px;height:36px;flex-basis:36px}
body.home .wsv-help-form {
  gap:6px;
  padding:15px 19px 16px;
}
body.home .wsv-help-form .wsv-help-intro {
  font-size:12px;line-height:1.42;margin:0 0 3px;
}
body.home .wsv-help-form label {
  font-size:11px;line-height:1.25;margin:3px 0 0;
}
body.home .wsv-help-form :is(input,select,textarea) {
  min-height:44px;
  border-radius:10px;
  padding:9px 12px;
  font-size:12px;
  line-height:1.4;
}
body.home .wsv-help-form textarea {
  min-height:72px;height:74px;resize:none;
}
body.home .wsv-help-representative-group {gap:4px}
body.home .wsv-help-representative-note {
  font-size:10px!important;line-height:1.35!important;margin:0!important;
}
body.home .wsv-help-submit {
  min-height:44px;margin-top:4px;padding:10px 12px;
  border-radius:11px;font-size:12px;
}
body.home .wsv-help-form .wsv-help-privacy {
  font-size:10px;line-height:1.35;margin:2px 0 0;
}

@media(max-width:640px) {
  body.home .wsv-help-dialog {
    right:max(8px,env(safe-area-inset-right));
    bottom:max(8px,env(safe-area-inset-bottom));
    width:calc(100vw - 16px - env(safe-area-inset-left) - env(safe-area-inset-right));
    max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));
    border-radius:18px;
  }
  body.home .wsv-help-header {padding:12px 15px}
  body.home .wsv-help-form {padding:13px 15px 14px;gap:5px}
  body.home .wsv-help-form .wsv-help-intro {line-height:1.35}
  body.home .wsv-help-form textarea {min-height:64px;height:68px}
}

/* Zoom, landscape and keyboard reduce usable height: permit scrolling only
   when content truly cannot fit, rather than cutting off the submit button. */
@media(max-height:680px) {
  body.home .wsv-help-dialog {max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain}
  body.home .wsv-help-header {padding-block:10px}
  body.home .wsv-help-form {padding-block:10px;gap:4px}
  body.home .wsv-help-form textarea {min-height:56px;height:58px}
}
@media(prefers-reduced-motion:reduce) {
  html.wsv-classic-commercial body.home .hero .wsv-main-carousel-layer {
    transition:none!important;transform:none!important;
  }
}
