/* =========================================================================
   Super Loc — Teófilo Otoni (MG)
   Site institucional + vitrine de e-commerce. Locação, venda e manutenção
   de equipamentos para construção civil desde 2013.

   Stack: HTML + CSS + JavaScript puro (sem build).
   Tokens e sistema visual documentados em DESIGN.md.

   Sumário
   1. Tokens (:root)              8. Vitrine giratória (destaque)
   2. Reset / base               9. Faixa de confiança + Marcas
   3. Tipografia / utilidades   10. Categorias (bento)
   4. Botões                    11. Produtos / Lançamentos
   5. Acessibilidade            12. Quem somos / CTA / Rodapé
   6. Header / navegação        13. WhatsApp flutuante + revelação
   7. Hero                      14. Páginas internas (catálogo/produto/form)
                                15. Responsivo  16. Movimento reduzido
   ========================================================================= */

/* =========================================================================
   1. TOKENS
   ========================================================================= */
:root {
  /* Marca (identidade fixa) */
  --azul: #009ed6;
  --azul-700: #0a6e97;
  --azul-900: #063c54;
  --amarelo: #f8e840;
  --amarelo-700: #9a8b00;
  --grafite: #21272a;

  /* Tinta / superfícies (contraste verificado) */
  --ink: #2b3236;          /* corpo de texto — ~7:1 no branco */
  --muted: #56626b;        /* texto secundário — ~4.6:1 no branco */
  --branco: #ffffff;
  --cinza-claro: #f4f6f8;  /* superfície fria (croma puxado p/ azul) */
  --cinza-2: #eef1f4;
  --linha: #e2e7eb;
  --whatsapp: #25d366;
  --whatsapp-700: #128c4a;

  /* Sombras */
  --sombra-sm: 0 4px 14px rgba(11, 33, 46, 0.07);
  --sombra: 0 14px 34px rgba(11, 33, 46, 0.12);
  --sombra-lg: 0 28px 64px rgba(11, 33, 46, 0.22);

  /* Raios */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --r-xl: 40px;
  --pill: 999px;

  /* Espaçamento fluido */
  --space-1: clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --space-2: clamp(0.75rem, 0.6rem + 0.6vw, 1rem);
  --space-3: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  --space-4: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --space-5: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --space-6: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  --space-7: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(18px, 4vw, 32px);
  --header-h: 76px;
  --bar-h: 30px; /* altura aproximada da barra de projeto Zenith */

  /* Tipografia */
  --display: "Montserrat Alternates", "Segoe UI", system-ui, sans-serif;
  --corpo: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);   /* ease-out quart */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.28s var(--ease-soft);
  --vitrine-intervalo: 1500ms;

  /* Escala de z-index semântica */
  --z-float: 40;
  --z-menu: 90;
  --z-header: 100;
  --z-dropdown: 120;
  --z-skip: 1000;
}

/* =========================================================================
   2. RESET / BASE
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--corpo);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  color: var(--ink);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Better image rendering on high dpi mobile */
img {
  image-rendering: -webkit-optimize-contrast;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:target {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* =========================================================================
   3. TIPOGRAFIA / UTILIDADES
   ========================================================================= */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--grafite);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.secao {
  padding-block: var(--space-7);
}

.secao--cinza {
  background: var(--cinza-claro);
}

.secao__cabecalho {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-6);
}

.secao__titulo {
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.85rem);
}

.secao__titulo .ac {
  color: var(--azul);
}

.secao__intro {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.15rem);
  max-width: 60ch;
  margin-inline: auto;
}

.cor-azul {
  color: var(--azul);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   4. BOTÕES
   ========================================================================= */
.btn {
  --btn-bg: var(--grafite);
  --btn-fg: var(--branco);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--corpo);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.9em 1.5em;
  border-radius: var(--pill);
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), background var(--t),
    color var(--t), border-color var(--t);
}

.btn svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra);
}

.btn:active {
  transform: translateY(-1px);
}

.btn--whatsapp {
  --btn-bg: var(--whatsapp);
}
.btn--whatsapp:hover {
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

.btn--amarelo {
  --btn-bg: var(--amarelo);
  --btn-fg: var(--grafite);
}
.btn--amarelo:hover {
  box-shadow: 0 14px 30px rgba(248, 232, 64, 0.5);
}

.btn--azul {
  --btn-bg: var(--azul);
}

.btn--contorno {
  --btn-bg: transparent;
  --btn-fg: var(--branco);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--contorno:hover {
  --btn-bg: var(--branco);
  --btn-fg: var(--azul-700);
  border-color: var(--branco);
}

.btn--contorno-azul {
  --btn-bg: transparent;
  --btn-fg: var(--azul-700);
  border-color: var(--azul);
}
.btn--contorno-azul:hover {
  --btn-bg: var(--azul);
  --btn-fg: var(--branco);
}

.btn--bloco {
  width: 100%;
}

.btn--pequeno {
  font-size: 0.92rem;
  padding: 0.7em 1.2em;
}

/* Link com seta */
.link-seta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--azul-700);
}
.link-seta svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--t);
}
.link-seta:hover svg {
  transform: translateX(4px);
}

/* =========================================================================
   5. ACESSIBILIDADE
   ========================================================================= */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: var(--z-skip);
  background: var(--grafite);
  color: var(--branco);
  padding: 0.7em 1.1em;
  border-radius: var(--r-sm);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform var(--t);
}
.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 4px;
}
/* contraste do foco sobre superfícies azuis/amarelas */
.hero :focus-visible,
.faixa :focus-visible,
.cta :focus-visible,
.cat-feature :focus-visible {
  outline-color: var(--grafite);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.65);
}

/* =========================================================================
   6. HEADER / NAVEGAÇÃO
   ========================================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
  transition: box-shadow var(--t);
}
.header.is-scrolled {
  box-shadow: var(--sombra-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  height: var(--header-h);
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 46px;
  width: auto;
  max-height: 46px;
}

/* Logo shrink on mobile */
@media (max-width: 620px) {
  .logo img {
    height: 36px;
    max-height: 36px;
  }
}
.logo__txt {
  display: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 0.9;
}
.logo__txt .s {
  color: var(--azul);
}
.logo__txt .l {
  color: var(--amarelo-700);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
}

.nav__link,
.nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  padding: 6px 0;
  transition: color var(--t);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--azul);
  transition: width var(--t);
}
.nav__link:hover,
.nav__toggle:hover,
.nav__link[aria-current="page"] {
  color: var(--azul-700);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}

/* Dropdown */
.nav__item {
  position: relative;
}
.nav__toggle svg {
  width: 15px;
  height: 15px;
  transition: transform var(--t);
}
.nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 256px;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--r);
  box-shadow: var(--sombra);
  padding: 8px;
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__toggle[aria-expanded="true"] + .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  transition: background var(--t), color var(--t);
}
.dropdown a svg {
  width: 18px;
  height: 18px;
  color: var(--azul);
  flex-shrink: 0;
}
.dropdown a:hover {
  background: var(--cinza-claro);
  color: var(--azul-700);
}

/* Busca */
.busca {
  flex: 1;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cinza-claro);
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: 9px 18px;
  transition: border-color var(--t), background var(--t);
}
.busca:focus-within {
  border-color: var(--azul);
  background: var(--branco);
}
.busca svg {
  width: 19px;
  height: 19px;
  color: var(--muted);
  flex-shrink: 0;
}
.busca input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.busca input::placeholder {
  color: var(--muted);
}

/* Ações (carrinho, conta, hamburger) */
.acoes {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  flex-shrink: 0;
}
.carrinho {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carrinho__valor {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
}
.icone-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grafite);
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t), transform var(--t);
}
.icone-btn:hover {
  color: var(--azul-700);
  background: var(--cinza-claro);
  transform: translateY(-2px);
}
.icone-btn svg {
  width: 24px;
  height: 24px;
}
.icone-btn__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--azul-700);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: var(--pill);
  display: grid;
  place-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--grafite);
  border-radius: 3px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menu mobile (overlay) */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--branco);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
}
.menu-mobile.is-aberto {
  transform: translateX(0);
  visibility: visible;
}
.menu-mobile a {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grafite);
  padding: 15px 4px;
  border-bottom: 1px solid var(--linha);
}
.menu-mobile a.btn {
  font-family: var(--corpo);
  color: var(--branco);
  border-bottom: none;
  margin-top: 20px;
}
.menu-mobile a.btn--amarelo {
  color: var(--grafite);
}
.menu-mobile__busca {
  margin-bottom: 18px;
  max-width: none;
}

/* =========================================================================
   6b. CARRINHO (drawer de orçamento — demonstração, localStorage)
   ========================================================================= */
/* Badge de contagem sobre o ícone do carrinho (reusa .icone-btn__badge). */
.icone-btn__badge[hidden] {
  display: none;
}
@keyframes badge-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.icone-btn__badge.is-pop {
  animation: badge-pop 0.4s var(--ease);
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.cart-modal.is-aberto {
  visibility: visible;
  pointer-events: auto;
}
.cart-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 33, 46, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}
.cart-modal.is-aberto .cart-modal__overlay {
  opacity: 1;
}
.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: var(--branco);
  box-shadow: -24px 0 64px rgba(11, 33, 46, 0.28);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
}
.cart-modal.is-aberto .cart-drawer {
  transform: translateX(0);
}
.cart-drawer__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px var(--space-4);
  border-bottom: 1px solid var(--linha);
}
.cart-drawer__topo h2 {
  font-size: 1.3rem;
}
.cart-drawer__fechar {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grafite);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background var(--t);
}
.cart-drawer__fechar:hover {
  background: var(--cinza-claro);
}
.cart-drawer__fechar svg {
  width: 24px;
  height: 24px;
}
.cart-drawer__corpo {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--linha);
}
.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  background: var(--cinza-claro);
  display: grid;
  place-items: center;
  padding: 6px;
}
.cart-item__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.cart-item__cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--azul-700);
}
.cart-item__nome {
  font-family: var(--corpo);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--grafite);
  margin-top: 2px;
}
.cart-item__qtd {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.cart-item__qtd button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--linha);
  background: var(--branco);
  color: var(--grafite);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.cart-item__qtd button:hover {
  border-color: var(--azul);
  color: var(--azul-700);
}
.cart-item__qtd span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.cart-item__remover {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  border-radius: 8px;
  transition: color var(--t), background var(--t);
}
.cart-item__remover:hover {
  color: #c62f2f;
  background: rgba(198, 47, 47, 0.08);
}
.cart-item__remover svg {
  width: 18px;
  height: 18px;
}
.cart-vazio {
  text-align: center;
  margin: auto;
  padding: var(--space-5) var(--space-2);
  color: var(--muted);
}
.cart-vazio svg {
  width: 52px;
  height: 52px;
  color: var(--linha);
  stroke-width: 1.6;
  margin: 0 auto var(--space-3);
}
.cart-vazio strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--grafite);
  margin-bottom: 6px;
}
.cart-vazio a {
  color: var(--azul-700);
  font-weight: 700;
  text-decoration: underline;
}
.cart-drawer__rodape {
  border-top: 1px solid var(--linha);
  padding: var(--space-3) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-drawer__resumo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--muted);
}
.cart-drawer__resumo strong {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--grafite);
}
.cart-drawer__limpar {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  padding: 4px;
  align-self: center;
  transition: color var(--t);
}
.cart-drawer__limpar:hover {
  color: #c62f2f;
}

/* =========================================================================
   7. HERO
   ========================================================================= */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--azul-700) 0%, var(--azul-900) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* halo de luz */
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
  pointer-events: none;
}
.hero::after {
  /* trama sutil de "planta baixa" */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 60px);
  /* Hero compacto: padding enxuto para que a faixa amarela logo abaixo
     funcione como o fechamento natural da seção (sem sobra de espaço). */
  padding-block: clamp(26px, 4vw, 56px);
}

/* Extra responsive for hero on small phones */
@media (max-width: 420px) {
  .hero__inner {
    gap: 18px;
    padding-block: 18px 22px;
  }
  .hero__titulo {
    font-size: clamp(1.95rem, 1.6rem + 3.5vw, 2.8rem);
  }
  .hero__texto {
    font-size: 0.96rem;
    margin-top: 10px;
  }
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--grafite);
  background: var(--amarelo);
  padding: 7px 15px;
  border-radius: var(--pill);
  margin-bottom: var(--space-3);
}
.hero__titulo {
  color: #fff;
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4rem);
  line-height: 1.04;
}
.hero__texto {
  margin-top: var(--space-3);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  max-width: 52ch;
}
.hero__acoes {
  margin-top: var(--space-4);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__prova {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}
.hero__prova strong {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--amarelo);
  display: block;
  line-height: 1;
}
.hero__prova-divisor {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.25);
}

/* Entrada coreografada (somente com JS; conteúdo visível sem JS) */
.js .hero__conteudo > * {
  opacity: 0;
  animation: subir 0.7s var(--ease) both;
}
.js .hero__tag { animation-delay: 0.05s; }
.js .hero__titulo { animation-delay: 0.12s; }
.js .hero__texto { animation-delay: 0.22s; }
.js .hero__acoes { animation-delay: 0.32s; }
.js .hero__prova { animation-delay: 0.42s; }
.js .vitrine { animation: aparecer-vitrine 0.9s var(--ease) 0.2s both; }

@keyframes subir {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes aparecer-vitrine {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================================
   8. VITRINE GIRATÓRIA (destaque principal)
   ========================================================================= */
.vitrine {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 420px);
  max-width: 420px;
  margin-inline: auto;
  background: radial-gradient(circle at 50% 42%, #fdf282 0%, var(--amarelo) 58%, #ecd71f 100%);
  border-radius: var(--r-xl);
  box-shadow: var(--sombra-lg);
  overflow: hidden;
  isolation: isolate;
}
.vitrine::before {
  /* trama de planta baixa sobre o amarelo */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(33, 39, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 39, 42, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.vitrine::after {
  /* brilho de canto */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 42%);
  pointer-events: none;
}
.vitrine__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grafite);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: var(--pill);
}
.vitrine__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amarelo);
}
.vitrine__palco {
  position: absolute;
  /* Mais respiro na base: as peças ficam acima da legenda (pílula) e dos dots,
     sem que cabos, alças ou pontas cruzem o texto. */
  inset: 7% 8% 22%;
  z-index: 2;
}
.vitrine__item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.9);
  filter: blur(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    filter 0.4s var(--ease);
  pointer-events: none;
}
.vitrine__item.is-ativo {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.vitrine__chao {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 62%;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(33, 39, 42, 0.32), transparent 70%);
  border-radius: 50%;
  animation: sombra-flutua 4.2s var(--ease-soft) infinite;
}
.vitrine__foto {
  /* Preenche o palco com altura definida (inset:0) — assim os max-height em %
     das fotos passam a valer e as peças ficam centralizadas de verdade. */
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: flutua 4.2s var(--ease-soft) infinite;
}
.vitrine__foto img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(33, 39, 42, 0.28));
}
/* Enquadramento fino das 3 peças no palco amarelo. As fotos têm proporções bem
   diferentes; ajustamos max-width/max-height (com object-fit: contain, sem corte)
   para igualar a massa visual, deixar margens folgadas — assim a flutuação nunca
   encosta nas bordas — e manter tudo centralizado. */
/* Martelete HR2470 (900×545, horizontal): preenche a largura do palco. */
.vitrine__item:nth-child(1) .vitrine__foto img {
  max-width: 100%;
  max-height: 92%;
}
/* Furadeira de Impacto Makita — a foto original tem a ferramenta muito baixa no canvas.
   Ajuste para centralizar no meio do quadro amarelo (igual ao martelete e rompedor).
   translateY controla a altura: valores mais negativos sobem mais.
   -14% atual (testado). Tente -10%, -12%, -16% se precisar ajustar. */
.vitrine__item:nth-child(2) .vitrine__foto img {
  max-width: 93%;
  max-height: 91%;
  object-position: 50% 38%;
  transform: translateY(-14%);
}
/* Rompedor HM1802 (530×522, quase quadrado/diagonal): altura limitada p/ flutuar limpo. */
.vitrine__item:nth-child(3) .vitrine__foto img {
  max-width: 82%;
  max-height: 86%;
}
@keyframes flutua {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes sombra-flutua {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateX(-50%) scale(0.84); opacity: 0.32; }
}
.vitrine__nome {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 3;
  max-width: 86%;
  text-align: center;
  background: rgba(33, 39, 42, 0.9);
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 18px;
  border-radius: var(--pill);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s var(--ease-soft);
}
.vitrine__nome.is-trocando {
  opacity: 0;
}
.vitrine__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 9px;
}
.vitrine__dot {
  position: relative;
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: var(--pill);
  background: rgba(33, 39, 42, 0.28);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.4s var(--ease), background 0.3s var(--ease-soft);
}
.vitrine__dot.is-ativo {
  width: 32px;
  background: rgba(33, 39, 42, 0.3);
}
.vitrine__dot.is-ativo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grafite);
  border-radius: var(--pill);
  transform-origin: left;
  animation: progresso var(--vitrine-intervalo) linear forwards;
}
.vitrine.is-pausada .vitrine__foto,
.vitrine.is-pausada .vitrine__chao,
.vitrine.is-pausada .vitrine__dot.is-ativo::after {
  animation-play-state: paused;
}
@keyframes progresso {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Softer float for small screens (defined globally so mobile override can reference) */
@keyframes flutuaMobile {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* =========================================================================
   9. FAIXA DE CONFIANÇA + MARCAS
   ========================================================================= */
.faixa {
  background: var(--amarelo);
  color: var(--grafite);
}
.faixa__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 28px);
  padding-block: var(--space-4);
}
.faixa__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: clamp(0.92rem, 0.85rem + 0.3vw, 1.05rem);
}
.faixa__item svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  stroke: var(--grafite);
}

.marcas {
  padding-block: var(--space-6);
  /* Fundo cinza escuro: fecha o bloco "categorias + marcas" como uma seção
     única e autônoma, dando contraste premium às logos. */
  background: #1f2428;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.marcas__rotulo {
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
}
.marcas__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 52px);
}

/* Uniform logo containers — all brands sit in the same height slot
   so they appear the same visual size. Buffalo is used as the reference. */
.marcas__grid .marca {
  height: 36px;                 /* uniform height — Buffalo used as the visual size reference */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .marcas__grid .marca {
    height: 28px;
  }
  .marcas__grid {
    gap: 16px 26px;
  }
}

.marcas__grid .marca img {
  max-height: 100%;
  width: auto;
  height: auto;
  /* Normalize all to white on dark background */
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: opacity var(--t), transform var(--t);
}

/* Allow the wide Makita script logo to use its natural proportion at full height */
.marcas__grid .marca img[alt="Makita"] {
  max-width: 195px;
}

.marcas__grid .marca img:hover {
  opacity: 1;
  transform: scale(1.06);
}

/* =========================================================================
   10. CATEGORIAS (bento assimétrico)
   ========================================================================= */
.categorias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(14px, 1.6vw, 22px);
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra);
  border-color: transparent;
}
.cat-card__icone {
  width: 56px;
  height: 56px;
  border-radius: var(--r);
  background: rgba(0, 158, 214, 0.1);
  color: var(--azul);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.cat-card__icone svg {
  width: 30px;
  height: 30px;
}
.cat-card h3 {
  font-size: 1.2rem;
}
.cat-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.cat-card .link-seta {
  font-size: 0.92rem;
  margin-top: 6px;
}

/* Card-destaque "Locação" (2x2) */
.cat-feature {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  overflow: hidden;
  background: linear-gradient(150deg, var(--azul-700) 0%, var(--azul-900) 120%);
  color: #fff;
  border: none;
  /* Sem a imagem do rompedor, o conteúdo é centralizado para preencher o card. */
  justify-content: center;
  min-height: 280px;
}
.cat-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%);
}
.cat-feature h3 {
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  position: relative;
}
.cat-feature p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  position: relative;
  max-width: 36ch;
}
.cat-feature .cat-card__icone {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.cat-feature .link-seta {
  color: var(--amarelo);
  position: relative;
}
.cat-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-lg);
}

/* =========================================================================
   11. PRODUTOS / LANÇAMENTOS
   ========================================================================= */
.produtos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.produto-card {
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra);
  border-color: transparent;
}
.produto-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--branco);
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 26px);
  border-bottom: 1px solid var(--linha);
}
.produto-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* funde o branco do estúdio à superfície clara */
  transition: transform var(--t);
}
.produto-card:hover .produto-card__media img {
  transform: scale(1.05);
}
.produto-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--azul-700);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: var(--pill);
}
.produto-card__corpo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: clamp(16px, 1.8vw, 20px);
  flex: 1;
}
.produto-card__cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul-700);
}
.produto-card__nome {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--grafite);
}
.produto-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}
.produto-card__acoes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.produto-card__acoes .link-seta {
  align-self: center;
  font-size: 0.9rem;
}

.lancamentos__rodape {
  text-align: center;
  margin-top: var(--space-6);
}

/* =========================================================================
   12. QUEM SOMOS / CTA / RODAPÉ
   ========================================================================= */
.sobre__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.sobre__conteudo h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
}
.sobre__conteudo p {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 1.05rem;
}
.sobre__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--linha);
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem);
  font-weight: 800;
  color: var(--azul);
  line-height: 1;
}
.stat__label {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 6px;
  max-width: 16ch;
}
.sobre__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--azul-700), var(--azul-900));
  border-radius: var(--r-xl);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--sombra);
}
.sobre__visual::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: rgba(248, 232, 64, 0.22);
  border-radius: 50%;
  bottom: -80px;
  right: -60px;
}
.selo {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
}
.selo strong {
  font-family: var(--display);
  display: block;
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  line-height: 1;
}
.selo span {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
}

.selo span:first-child {
  margin-bottom: -0.2em;
}

.selo span:last-child {
  margin-top: -0.1em;
}

.cta {
  background: var(--amarelo);
}
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-6);
}
.cta__texto h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.3rem);
}
.cta__texto p {
  color: #4a4730;
  margin-top: 8px;
  font-size: 1.08rem;
}

.footer {
  background: var(--grafite);
  color: rgba(255, 255, 255, 0.78);
  padding-top: var(--space-7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: var(--space-6);
}
.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: var(--space-3);
}
.footer__sobre img {
  height: 50px;
  width: auto;
  background: #fff;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  margin-bottom: var(--space-3);
}
.footer__sobre p {
  font-size: 0.95rem;
  max-width: 34ch;
}
.footer__redes {
  display: flex;
  gap: 10px;
  margin-top: var(--space-3);
}
.footer__redes a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  transition: background var(--t), transform var(--t);
}
.footer__redes a:hover {
  background: var(--azul);
  transform: translateY(-3px);
}
.footer__redes svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.footer__links li {
  margin-bottom: 11px;
}
.footer__links a,
.footer__contato a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--t);
}
.footer__links a:hover,
.footer__contato a:hover {
  color: var(--amarelo);
}
.footer__contato li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.footer__contato svg {
  width: 20px;
  height: 20px;
  color: var(--amarelo);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer__contato strong {
  color: #fff;
  font-weight: 600;
}
.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

/* =========================================================================
   13. WHATSAPP FLUTUANTE + REVELAÇÃO
   ========================================================================= */
.whatsapp-flutuante {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: var(--z-float);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  transition: transform var(--t);
}
.whatsapp-flutuante::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulso 2.6s var(--ease-soft) infinite;
}
.whatsapp-flutuante:hover {
  transform: scale(1.08);
}
.whatsapp-flutuante svg {
  width: 32px;
  height: 32px;
  color: #fff;
  position: relative;
}
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Revelação ao rolar — só esconde quando há JS (conteúdo visível sem JS) */
.js .revelar {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .revelar.is-visivel {
  opacity: 1;
  transform: translateY(0);
}
.js .revelar[data-delay="1"] { transition-delay: 0.08s; }
.js .revelar[data-delay="2"] { transition-delay: 0.16s; }
.js .revelar[data-delay="3"] { transition-delay: 0.24s; }

/* =========================================================================
   14. PÁGINAS INTERNAS (catálogo / produto / orçamento)
   ========================================================================= */
.pagina-topo {
  background: linear-gradient(150deg, var(--azul-700) 0%, var(--azul-900) 100%);
  color: #fff;
  padding-block: var(--space-6);
}
.pagina-topo__inner {
  position: relative;
  z-index: 1;
}
.migalhas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-2);
}
.migalhas a:hover {
  color: #fff;
  text-decoration: underline;
}
.migalhas [aria-current] {
  color: var(--amarelo);
}
.pagina-topo h1 {
  color: #fff;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
}
.pagina-topo p {
  margin-top: var(--space-2);
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
}

/* Barra de filtros */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}
.filtros__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chip {
  background: var(--branco);
  border: 1px solid var(--linha);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 16px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.chip:hover {
  border-color: var(--azul);
  color: var(--azul-700);
}
.chip.is-ativo {
  background: var(--azul-700);
  border-color: var(--azul-700);
  color: #fff;
}
.filtros__busca {
  max-width: 320px;
  flex: 1;
  min-width: 220px;
}
.filtros__contagem {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: var(--space-3);
}
.sem-resultado {
  text-align: center;
  padding: var(--space-6);
  color: var(--muted);
}
.sem-resultado strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--grafite);
  margin-bottom: 8px;
}

/* Produto (detalhe) */
.produto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.produto__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cinza-claro);
  border: 1px solid var(--linha);
  border-radius: var(--r-xl);
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 56px);
}
.produto__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.produto__cat {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul-700);
}
.produto__nome {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  margin-top: 6px;
}
.produto__marca {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.produto__desc {
  margin-top: var(--space-3);
  color: var(--ink);
  font-size: 1.05rem;
}
.produto__specs {
  margin-top: var(--space-4);
  border-top: 1px solid var(--linha);
}
.produto__specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--linha);
  font-size: 0.95rem;
}
.produto__specs dt {
  color: var(--muted);
}
.produto__specs dd {
  font-weight: 600;
  text-align: right;
}
.produto__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-4);
}
.produto__nota {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Formulário de orçamento */
.form-orcamento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.campo {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: var(--space-3);
}
.campo label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grafite);
}
.campo label .req {
  color: var(--azul-700);
}
.campo input,
.campo select,
.campo textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--branco);
  border: 1.5px solid var(--linha);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color var(--t), box-shadow var(--t);
}
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(0, 158, 214, 0.18);
}
.campo textarea {
  resize: vertical;
  min-height: 110px;
}
.campo--erro input,
.campo--erro select,
.campo--erro textarea {
  border-color: #d23b3b;
}
.campo__erro {
  font-size: 0.85rem;
  color: #c62f2f;
  min-height: 1em;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-nota {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}
.form-nota a {
  color: var(--azul-700);
  font-weight: 600;
  text-decoration: underline;
}
.form-aside {
  background: var(--cinza-claro);
  border: 1px solid var(--linha);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.form-aside h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}
.form-aside ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-2);
}
.form-aside li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}
.form-aside svg {
  width: 20px;
  height: 20px;
  color: var(--whatsapp-700);
  flex-shrink: 0;
}
.aviso {
  background: rgba(0, 158, 214, 0.08);
  border: 1px solid rgba(0, 158, 214, 0.25);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--azul-700);
  margin-top: var(--space-3);
}

/* =========================================================================
   BARRA DE PROJETO ZENITHA (para hospedagem em /projetos/ )
   ========================================================================= */
.projeto-bar {
  background: #1f2529;
  color: #e6e9ec;
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 150;
}
.projeto-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.projeto-bar span {
  opacity: 0.95;
}
.projeto-bar strong {
  color: #fff;
  font-weight: 600;
}
.projeto-bar a {
  color: #f8e840;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.projeto-bar a:hover {
  text-decoration: underline;
  color: #fff;
}

/* =========================================================================
   15. RESPONSIVO
   ========================================================================= */
@media (max-width: 1080px) {
  .busca {
    max-width: 240px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 68px;
  }
  .nav,
  .busca,
  .carrinho__valor {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .header__inner {
    justify-content: space-between;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-5);
  }
  .hero__conteudo {
    order: 2;
  }
  .hero__texto,
  .cat-feature p {
    margin-inline: auto;
    max-width: 42ch;
  }
  .hero__acoes,
  .hero__prova {
    justify-content: center;
  }
  .vitrine {
    order: 1;
    width: min(88vw, 340px);
    max-width: 340px;
  }
  /* Safer positioning for vitrine images on tablet/mobile */
  .vitrine__palco {
    inset: 8% 9% 24%;
  }
  .vitrine__item:nth-child(2) .vitrine__foto img {
    transform: translateY(-8%);
    object-position: 50% 42%;
  }
  .faixa__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .categorias__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-feature {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 220px;
  }
  .sobre__inner,
  .produto,
  .form-orcamento {
    grid-template-columns: 1fr;
  }
  .sobre__visual {
    order: -1;
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }
  .form-aside {
    position: static;
  }

  /* Produto detail */
  .produto__media {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .faixa__inner {
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }
  .faixa__item {
    font-size: 0.86rem;
  }
  .faixa__item svg {
    width: 24px;
    height: 24px;
  }
  .categorias__grid {
    grid-template-columns: 1fr;
  }
  .cat-feature {
    grid-column: span 1;
  }
  .produtos__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .produto-card__media {
    padding: 12px;
  }
  .produto__media {
    padding: 14px;
  }
  /* Improve image visibility on mobile (avoid too pale due to blend) */
  .produto-card__media img,
  .produto__media img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .cta__inner {
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .acoes .icone-btn--conta {
    display: none;
  }

  /* ====== VITRINE MOBILE TWEAKS ====== */
  .vitrine {
    width: min(92vw, 300px);
    max-width: 300px;
    border-radius: var(--r-lg);
  }
  .vitrine__palco {
    /* Give images more breathing room on small screens */
    inset: 9% 10% 26%;
  }
  .vitrine__nome {
    font-size: 0.78rem;
    padding: 6px 14px;
    bottom: 48px;
    max-width: 90%;
  }
  .vitrine__dots {
    bottom: 14px;
    gap: 7px;
  }
  .vitrine__dot {
    width: 9px;
    height: 9px;
  }
  .vitrine__dot.is-ativo {
    width: 26px;
  }
  .vitrine__badge {
    font-size: 0.68rem;
    padding: 4px 10px;
    top: 12px;
    left: 12px;
  }
  .vitrine__chao {
    height: 18px;
    width: 56%;
  }
  /* Remove aggressive positioning that pushes images off-screen on mobile */
  .vitrine__item:nth-child(2) .vitrine__foto img {
    max-width: 90%;
    max-height: 88%;
    object-position: 50% 50%;
    transform: none;
  }
  .vitrine__item:nth-child(3) .vitrine__foto img {
    max-width: 78%;
    max-height: 82%;
  }
  .vitrine__item:nth-child(1) .vitrine__foto img {
    max-width: 96%;
    max-height: 90%;
  }
  /* Softer floating motion on phones */
  .vitrine__foto {
    animation: flutuaMobile 5.5s var(--ease-soft) infinite;
  }
}

@media (max-width: 380px) {
  .produtos__grid {
    grid-template-columns: 1fr;
  }

  .vitrine {
    width: min(94vw, 260px);
    max-width: 260px;
  }
  .vitrine__palco {
    inset: 8% 9% 30%;
  }
  .vitrine__nome {
    font-size: 0.72rem;
    bottom: 42px;
  }

  .produto-card__media {
    padding: 10px;
  }

  /* Tighter header on tiny phones */
  :root {
    --header-h: 58px;
  }
  .logo img {
    height: 32px;
    max-height: 32px;
  }
}

/* =========================================================================
   16. MOVIMENTO REDUZIDO
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .hero__conteudo > *,
  .js .vitrine,
  .js .revelar {
    opacity: 1 !important;
    transform: none !important;
  }
  .vitrine__item {
    filter: none !important;
  }
  .whatsapp-flutuante::before {
    display: none;
  }
}
