/* STORM — camada mobile (outubro de 2026)
   Estilos adicionais aos estilos originais; o desktop mantém-se. */

/* Evita transbordos em textos compridos e permite grelhas responsivas. */
.container, .section, .section-title, .card, .card .body, .two-col > *, .contact-grid > * { min-width:0; }
.contact-grid a, .contact-grid p, .card p, .history p { overflow-wrap:break-word; }
:where(button,a,input,textarea):focus-visible { outline:3px solid var(--wine); outline-offset:3px; }
#roupa-personalizada, #fardas-equipamento { scroll-margin-top:92px; }

@media (max-width:900px) {
  .site-header { z-index:100; }
  .header-inner { height:68px; gap:12px; }
  .brand { gap:9px; font-size:14px; line-height:1.15; }
  .brand img { width:39px; height:39px; flex-shrink:0; }
  .menu-btn {
    display:inline-flex; align-items:center; justify-content:center; gap:9px;
    min-height:44px; min-width:96px; padding:9px 14px;
    color:var(--wine-dark); border:1px solid var(--line); border-radius:11px;
    font:700 15px/1.2 Inter,Arial,sans-serif; cursor:pointer;
  }
  .menu-btn::before { content:'☰'; font-size:20px; line-height:1; font-weight:400; }
  .menu-btn[aria-expanded='true']::before { content:'×'; font-size:25px; }
  .mobile-nav.open {
    display:block; top:100%; padding:12px max(16px,env(safe-area-inset-right)) 18px max(16px,env(safe-area-inset-left));
    max-height:calc(100vh - 68px); max-height:calc(100dvh - 68px);
    overflow-y:auto; overscroll-behavior:contain;
    box-shadow:0 18px 28px rgba(50,26,34,.12);
    -webkit-overflow-scrolling:touch;
  }
  .mobile-nav > a,
  .mobile-parent-row .mobile-parent {
    display:flex; align-items:center; min-height:48px; padding:11px 12px;
    border-bottom:1px solid var(--line); font-size:16px; font-weight:650;
  }
  .mobile-parent-row { gap:6px; border-bottom:1px solid var(--line); }
  .mobile-parent-row .mobile-parent { border-bottom:0; }
  .mobile-submenu-toggle { min-width:44px; min-height:44px; font-size:20px; }
  .mobile-subnav { margin:5px 0 10px 12px; padding-left:10px; }
  .mobile-subnav a { display:flex; align-items:center; min-height:46px; padding:10px 12px; font-size:15px; line-height:1.3; }
  .section { padding:52px 0; }
  .section-title { margin-bottom:24px; }
  .section-title h2 { font-size:clamp(30px,5vw,43px); }
  .page-hero:not(.at-print-hero-home-like):not(.storm-hero-home-like) { padding:42px 0 30px; }
  .page-hero:not(.at-print-hero-home-like):not(.storm-hero-home-like) h1 { font-size:clamp(34px,6vw,54px); line-height:1.07; }
  .page-hero p { font-size:16px; line-height:1.5; }
  .two-col { gap:30px; }
  .contact-strip { padding:42px 0; }
  .contact-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 22px; }
  .contact-grid > :first-child { grid-column:1/-1; }
  .contact-grid h3 { margin-bottom:8px; }
  .btn, .selector-inner a, .quote-choice { min-height:46px; }
  .catalog-grid, .grid-2 { gap:16px; }
  .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .gallery img { width:100%; height:220px; }
  .antigos-gallery img { height:215px; }
  .gallery.gallery-fit-box figure a, .gallery.gallery-fit-box img { min-height:0; height:215px; }
  .gallery-fit-box-brindes img { object-fit:contain; }
  .location-map iframe { height:310px; }
  .quote-modal-panel { max-height:calc(100dvh - 40px); overflow-y:auto; }
}

@media (max-width:620px) {
  .container { width:calc(100% - 32px); }
  .hero-home-creative { min-height:460px; min-height:min(570px,calc(85svh - 68px)); padding:64px 0 54px; }
  .hero-home-creative .hero-watermark img { max-width:110%; }
  .hero-script.line1 { font-size:clamp(25px,7.1vw,40px) !important; white-space:nowrap; }
  .hero-script.line2 { font-size:clamp(23px,6.6vw,38px) !important; white-space:nowrap; }
  .hero-since { font-size:clamp(20px,4.8vw,28px) !important; }
  .hero-home-creative .actions { margin-top:25px; }
  .page-hero.at-print-hero-home-like,
  .page-hero.storm-hero-home-like { min-height:410px; padding:58px 0; }
  .at-print-hero-home-like h1,
  .storm-hero-home-like h1 { font-size:clamp(39px,10vw,56px); line-height:1.06; margin-bottom:12px; }
  .at-print-hero-home-like p,
  .storm-hero-home-like p { font-size:16px; line-height:1.45; }
  .at-print-hero-bg { background-position:center 65%; }
  .storm-hero-bg { background-position:center 56% !important; }
  .hero-home-creative .actions .btn.primary,
  .at-print-hero-home-like .actions .btn.primary,
  .storm-hero-home-like .actions .btn.primary { min-height:52px; padding:12px 22px; font-size:16px; }
  .section { padding:42px 0; }
  .section-title h2 { font-size:clamp(29px,7.7vw,39px); }
  .section-title p { font-size:15px; }
  .card .body { padding:15px; }
  .card h3 { font-size:18px; }
  .store-grid { gap:14px; }
  .store-card .media { height:150px; }
  .catalog-grid { display:grid; grid-template-columns:1fr; gap:12px; }
  .catalog-grid > .catalog-card { flex-direction:row; align-items:stretch; min-height:134px; }
  .catalog-card .media { flex:0 0 37%; align-self:stretch; aspect-ratio:auto; }
  .catalog-card .media img { object-fit:cover; }
  .catalog-grid > .catalog-card .body { flex:1; padding:13px 12px; justify-content:center; }
  .catalog-grid .catalog-card .body h3 { font-size:17px; line-height:1.2; margin-bottom:5px; }
  .catalog-grid .catalog-card .body p { font-size:13px; line-height:1.4; }
  .catalog-grid .catalog-card .card-link { font-size:13px; padding-top:6px; }
  .social-grid { gap:12px; }
  .social-card { padding:15px; }
  .social-brand-icon { height:46px; width:46px; flex:0 0 46px; }
  .social-card strong { font-size:17px; }
  .gallery, .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .gallery img { height:172px; }
  .gallery figure a { display:block; }
  .gallery figcaption { padding:9px 7px; font-size:13px; line-height:1.3; text-align:center; }
  .product-gallery figure a { display:flex; align-items:center; justify-content:center; }
  #roupa-personalizada .product-gallery figure a,
  #fardas-equipamento .product-gallery figure a { aspect-ratio:4/5; padding:7px; }
  .antigos-gallery img { height:160px; }
  .gallery.gallery-fit-box figure a, .gallery.gallery-fit-box img { height:180px; }
  .gallery.gallery-fit-box img { padding:6px; }
  .gallery-fit-box-brindes img { object-fit:contain; padding:6px; }
  .service-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .service-list div { padding:12px 10px; font-size:14px; min-height:60px; display:flex; align-items:center; justify-content:center; text-align:center; }
  .content-copy h2 { font-size:31px; line-height:1.16; }
  .tile { padding:19px; }
  .catalog-selector .selector-inner { display:grid; grid-template-columns:1fr; padding:14px 0; gap:8px; }
  .catalog-selector a { display:flex; align-items:center; justify-content:center; min-height:44px; text-align:center; font-size:14px; }
  .contact-grid { grid-template-columns:1fr; gap:23px; }
  .contact-grid > :first-child { grid-column:auto; }
  .contact-grid p { font-size:15px; }
  .location-map iframe { height:265px; }
  .executed-work-strip .executed-work-card { flex-basis:min(75vw,275px); }
  .executed-work-card img { height:230px; }
  .notice { font-size:14px; }
  .quote-modal { padding:10px; }
  .quote-modal-panel { padding:24px 18px 18px; border-radius:17px; max-height:calc(100dvh - 20px); }
  .quote-modal-panel h2 { font-size:27px; }
  .quote-choice { padding:13px; }
}

@media (max-width:360px) {
  .container { width:calc(100% - 24px); }
  .brand { font-size:13px; }
  .brand img { width:35px; height:35px; }
  .menu-btn { min-width:88px; padding:8px 10px; }
  .hero-script.line1 { font-size:clamp(23px,7vw,26px) !important; }
  .hero-script.line2 { font-size:clamp(21px,6.6vw,25px) !important; }
  .gallery, .grid-4 { gap:8px; }
  .gallery img, .antigos-gallery img { height:145px; }
  .gallery.gallery-fit-box figure a, .gallery.gallery-fit-box img { height:155px; }
  .catalog-card .media { flex-basis:34%; }
  .catalog-grid .catalog-card .body h3 { font-size:16px; }
  .catalog-grid .catalog-card .body p { font-size:12px; }
}

@media (pointer:coarse) {
  .card:hover, .social-card:hover, .quote-choice:hover { transform:none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .card, .social-card, .quote-choice, .btn, .gallery img, .executed-work-track { transition:none !important; animation:none !important; }
}


/* STORM — Brindes promocionais: ver sempre a fotografia completa em mobile.
   Nunca aplicar object-fit:cover: a imagem não deve ser ampliada/cortada.
   Este ajuste só afeta a galeria de brindes em ecrãs até 900px. */
@media (max-width: 900px) {
  .gallery.gallery-fit-box-brindes figure a {
    display:grid;
    place-items:center;
    width:100%;
    aspect-ratio:1 / 1;
    background:#fff;
    overflow:hidden;
  }
  .gallery.gallery-fit-box-brindes figure a img {
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center;
    padding:8px;
    background:#fff;
    transform:none;
  }
}

/* v57 — melhorias mobile: imagem original proporcional, carrinha visível,
   e símbolo Antigos e Usados compacto junto ao título. */
.storm-mobile-heading .storm-heading-logo { display:none; }
@media (max-width:620px) {
  /* A marca de água tem de manter SEMPRE a proporção 800:637.
     Antes, o atributo height=637 podia manter-se mesmo com a largura reduzida. */
  .hero-home-creative .hero-watermark img {
    display:block;
    width:min(85vw,440px);
    max-width:100%;
    height:auto !important;
    aspect-ratio:800 / 637;
    object-fit:contain;
    flex:0 0 auto;
    opacity:.16;
  }
  .hero-home-creative .hero-watermark { overflow:hidden; }
  .hero-home-creative {
    min-height: min(480px, calc(78svh - 68px));
    padding:56px 0 50px;
  }
  .hero-home-creative .hero-copy-centered {
    width:100%; max-width:100% !important;
  }
  .hero-home-creative .hero-script.line1,
  .hero-home-creative .hero-script.line2 {
    font-size:clamp(23px,6.4vw,32px) !important;
    line-height:1.13;
    letter-spacing:-.03em;
    white-space:normal;
    text-wrap:balance;
    overflow-wrap:normal;
  }
  .hero-home-creative .hero-since {font-size:clamp(18px,5vw,23px) !important;}

  /* Enquadrar a foto pelo lado da carrinha: manter a mesma altura da capa. */
  .page-hero.storm-hero-home-like .storm-hero-bg {
    background-position:98% 56% !important;
    background-size:cover;
  }

  /* O logótipo acompanha o título em vez de ocupar outra linha inteira. */
  .storm-mobile-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:18px;
  }
  .storm-mobile-heading h2 {
    flex:1;
    min-width:0;
    margin:0;
    font-size:clamp(24px,7vw,30px);
    line-height:1.13;
  }
  .storm-mobile-heading .storm-heading-logo {
    display:block;
    width:76px;
    height:76px;
    max-width:24%;
    flex:0 0 auto;
    object-fit:contain;
    border-radius:10px;
  }
  .storm-desktop-logo-wrap {display:none !important;}
  .storm-mobile-heading + p {margin-top:0;}
}
@media (max-width:360px) {
  .storm-mobile-heading {gap:10px;}
  .storm-mobile-heading h2 {font-size:25px;}
  .storm-mobile-heading .storm-heading-logo {width:62px;height:62px;}
}

@media(min-width:621px){.storm-mobile-heading{display:block;}}

/* Preservar a proporção do símbolo também em tablet/desktop. */
.hero-home-creative .hero-watermark img{height:auto;aspect-ratio:800/637;object-fit:contain;}


/* STORM — serviços complementares: logótipos mais baixos, completos e centrados.
   Mantém os cartões e a versão desktop original sem alterações. */
@media (max-width: 900px) {
  .services-grid .service-card .service-media {
    display:flex;
    align-items:flex-end;
    justify-content:center;
    height:148px;
    min-height:148px;
    padding:14px 15px 5px;
    overflow:hidden;
    background:#fff;
    box-sizing:border-box;
  }
  .services-grid .service-card .service-media img {
    display:block;
    width:min(82%,260px);
    max-width:100%;
    height:94px;
    max-height:94px;
    object-fit:contain;
    object-position:center bottom;
    transform:none;
    flex:0 1 auto;
  }
}
@media (max-width: 620px) {
  .services-grid .service-card .service-media {
    height:144px;
    min-height:144px;
    padding:16px 16px 3px;
  }
  .services-grid .service-card .service-media img {
    width:min(82%,260px);
    height:93px;
    max-height:93px;
  }
}

/* Novas fotografias dos trabalhos executados: imagem sempre inteira
   na área do cartão, sem zoom/corte, nos diferentes tamanhos de ecrã. */
.executed-work-strip .executed-work-card.executed-work-new {
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}
.executed-work-strip .executed-work-card.executed-work-new img {
  width:100%;
  height:320px;
  padding:6px;
  object-fit:contain;
  object-position:center;
}
@media (max-width:900px) {
  .executed-work-strip .executed-work-card.executed-work-new img {height:285px;}
}
@media (max-width:620px) {
  .executed-work-strip .executed-work-card.executed-work-new img {height:250px;}
}


/* 2026-10-20 — fotografias novas de Trabalhos já executados MAIORES.
   Alargar apenas os quatro cartões acrescentados recentemente.
   A imagem mantém a proporção original, inteira e sem recortes. */
.executed-work-strip {
  align-items:center;
}
.executed-work-strip .executed-work-card.executed-work-new {
  flex:0 0 470px;
  max-width:100%;
  align-self:center;
}
.executed-work-strip .executed-work-card.executed-work-new img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  padding:4px;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
}
@media(max-width:900px) {
  .executed-work-strip .executed-work-card.executed-work-new {
    flex-basis:410px;
    max-width:100%;
  }
  .executed-work-strip .executed-work-card.executed-work-new img {
    height:auto;
    max-height:none;
  }
}
@media(max-width:620px) {
  .executed-work-strip .executed-work-card.executed-work-new {
    flex-basis:100%;
    max-width:100%;
  }
  .executed-work-strip .executed-work-card.executed-work-new img {
    height:auto;
    max-height:none;
    padding:3px;
  }
}


/* AT Print STORM — galeria de trabalhos executados com cartões uniformes.
   A mesma largura e altura em TODOS os cartões, incluindo os trabalhos novos.
   Nunca ampliar, deformar ou cortar imagens de proporções diferentes. */
.executed-work-strip {
  align-items:stretch;
}
.executed-work-strip .executed-work-card,
.executed-work-strip .executed-work-card.executed-work-new {
  flex:0 0 clamp(280px, 28vw, 365px);
  width:clamp(280px, 28vw, 365px);
  height:auto;
  aspect-ratio:1 / 1;
  max-width:none;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  overflow:hidden;
  background:#fff;
}
.executed-work-strip .executed-work-card img,
.executed-work-strip .executed-work-card.executed-work-new img {
  display:block;
  width:100%;
  height:100%;
  max-height:100%;
  padding:8px;
  margin:0;
  box-sizing:border-box;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
}
@media(max-width:620px) {
  .executed-work-strip .executed-work-card,
  .executed-work-strip .executed-work-card.executed-work-new {
    flex:0 0 min(82vw, 340px);
    width:min(82vw, 340px);
    max-width:none;
  }
  .executed-work-strip .executed-work-card img,
  .executed-work-strip .executed-work-card.executed-work-new img {
    padding:5px;
  }
}
