/* =========================================================
   LOJA DIVINÓPOLIS FITNESS
   Estrutura modelada de movementbh.com.br, cores do logo da loja.
   Onde a referência usa verde, aqui entra o vermelho da marca.
   Onde ela usa preto, entra o navy.
   Fontes: Roboto Condensed (títulos) + Roboto (corpo).
   ========================================================= */

:root {
  /* ---- Cores do logo, medidas no PDF original ----
     #283090 azul da marca | #700810 vinho do corredor | #688890 aco da barra FITNESS */
  --navy: #283090;              /* azul do logo: so em elemento, nunca chapado em area grande */
  --navy-escuro: #101736;       /* fundo profundo das faixas escuras */
  --navy-fundo: #0b1026;        /* o mais escuro do gradiente */
  --vermelho: #8f1d24;          /* vinho da marca, clareado o suficiente pra virar acao */
  --vermelho-escuro: #700810;   /* o vinho exato do logo, usado no hover */
  --azul-claro: #9aa9d6;
  --aco: #688890;               /* cinza-azulado da barra do logo */
  --azul-palido: #eaecf7;

  /* ---- Superfícies (fundo branco, como a referência) ---- */
  --branco: #ffffff;
  --claro: #f5f7fa;
  --linha: #dde3ec;
  --linha-escura: rgba(255, 255, 255, 0.16);

  /* ---- Texto ---- */
  --tinta: #16233a;
  --tinta-media: #4a5a75;
  --tinta-suave: #5a6880;
  --tinta-clara: rgba(255, 255, 255, 0.86);

  --wpp: #25d366;
  --erro: #c4202e;

  /* ---- Fontes ---- */
  --f-titulo: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --f-corpo: 'Roboto', system-ui, sans-serif;

  /* ---- Escala tipográfica ---- */
  --t-2xs: 0.75rem;
  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);

  /* Títulos: clamp calibrado entre 390 e 1440px */
  --h1: clamp(2.125rem, 1.35rem + 3.17vw, 4.125rem);
  --h2: clamp(1.75rem, 1.32rem + 1.75vw, 2.875rem);

  /* ---- Ritmo ---- */
  --secao: clamp(4rem, 2.9rem + 4.5vw, 7rem);
  --gap-titulo: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --header-h: 82px;

  --r-1: 8px;
  --r-2: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-ui: cubic-bezier(0.32, 0.72, 0, 1);
  --t-rapida: 0.18s;
  --t-media: 0.32s;

  /* Chanfro das faixas escuras, o recurso visual da referência */
  --chanfro: polygon(0 3.2vw, 100% 0, 100% calc(100% - 3.2vw), 0 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  background: var(--branco);
  color: var(--tinta);
  font-family: var(--f-corpo);
  font-size: var(--t-md);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--vermelho); color: #fff; }

h1, h2, h3, .h2 { font-family: var(--f-titulo); line-height: 1.1; text-wrap: balance; }

:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; border-radius: 3px; }
/* Em fundo navy o vermelho perde contraste: o anel vira branco */
.hero :focus-visible, .assist :focus-visible, .contato :focus-visible, .footer :focus-visible {
  outline-color: #fff;
}
#conteudo:focus { outline: none; }

.frame { width: min(1280px, 92vw); margin-inline: auto; }
.frame.narrow { width: min(860px, 92vw); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--vermelho); color: #fff; padding: 0.8rem 1.3rem; font-weight: 700;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* =========== Tipografia =========== */
.h2 { font-size: var(--h2); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1rem; }
.h2 em { font-style: normal; color: var(--vermelho); }
.h2-claro { color: #fff; }
.h2-claro em { color: var(--azul-claro); }
.aco { color: var(--aco); }

.lead { font-size: var(--t-lead); color: var(--tinta-suave); max-width: 62ch; line-height: 1.6; }

.head { margin-bottom: var(--gap-titulo); }
.head-c { text-align: center; }
.head-c .lead { margin-inline: auto; }

/* =========== Botões =========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--vermelho);
  color: #fff;
  font-family: var(--f-titulo);
  font-weight: 700; font-size: var(--t-s);
  letter-spacing: 0.02em;
  padding: 0.95rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t-media) var(--ease-ui),
              transform var(--t-media) var(--ease-ui),
              box-shadow var(--t-media) var(--ease-ui),
              border-color var(--t-media) var(--ease-ui),
              color var(--t-media) var(--ease-ui);
}
.btn:hover {
  background: var(--vermelho-escuro);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(22, 35, 58, 0.18), 0 12px 28px -8px rgba(196, 32, 46, 0.42);
}
.btn:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(22, 35, 58, 0.18); transition-duration: 0.08s; }

.btn-lg { padding: 1.1rem 2.4rem; font-size: var(--t-md); }
.btn-sm { padding: 0.7rem 1.5rem; font-size: var(--t-s); }
.btn-block { width: 100%; }

/* Contorno claro, para usar sobre o navy */
.btn-linha, .btn-linha-claro {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5);
}
.btn-linha:hover, .btn-linha-claro:hover {
  background: rgba(255, 255, 255, 0.1); border-color: #fff; box-shadow: none; color: #fff;
}
/* Contorno escuro, para usar sobre o branco */
.btn-linha-escuro {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-linha-escuro:hover { background: var(--navy); color: #fff; box-shadow: none; }

.btn-wpp { background: var(--wpp); color: #05331a; }
.btn-wpp:hover { background: #1fbb59; box-shadow: 0 2px 6px rgba(22, 35, 58, 0.18), 0 12px 28px -8px rgba(37, 211, 102, 0.45); }
.ico-btn { width: 19px; height: 19px; fill: currentColor; flex: none; }

/* =========== Header =========== */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: height var(--t-media) var(--ease-ui), box-shadow var(--t-media), border-color var(--t-media);
}
.header.is-stuck { height: 68px; border-bottom-color: var(--linha); box-shadow: 0 4px 20px rgba(22, 35, 58, 0.07); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-acao { display: flex; align-items: center; gap: 0.5rem; }

.brand { display: block; flex: none; }
.brand-mark { width: 200px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  font-family: var(--f-titulo);
  font-size: var(--t-md); font-weight: 400;
  color: var(--tinta);
  position: relative; padding: 0.2rem 0;
  transition: color var(--t-rapida) var(--ease-ui);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--vermelho);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-media) var(--ease-ui);
}
.nav a:hover { color: var(--vermelho); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; border-radius: 8px;
  transition: background var(--t-rapida) var(--ease-ui);
}
.burger:hover { background: var(--claro); }
.burger span {
  display: block; height: 2px; width: 25px; margin: 5px auto;
  background: var(--navy); border-radius: 2px;
  transition: transform var(--t-media) var(--ease-ui), opacity var(--t-rapida);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========== 1. Hero =========== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4.5rem) 0 6.5rem;
  color: #fff;
  overflow: hidden;
}
/* Fachada real da loja ao fundo, desfocada.
   Os gradientes por cima garantem o contraste do texto e mantêm o navy da marca. */
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(11, 16, 38, .96) 0%, rgba(11, 16, 38, .93) 30%, rgba(11, 16, 38, .58) 58%, rgba(11, 16, 38, .5) 78%, rgba(11, 16, 38, .66) 100%),
    radial-gradient(70% 70% at 78% 20%, rgba(40, 48, 144, 0.38), transparent 64%),
    radial-gradient(60% 60% at 8% 90%, rgba(143, 29, 36, 0.24), transparent 65%),
    url('assets/img/hero-bg-v3.webp') right center / cover no-repeat,
    linear-gradient(160deg, #16204a 0%, var(--navy-escuro) 52%, var(--navy-fundo) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.6vw), 0 100%);
}

@media (max-width: 760px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(11, 16, 38, .9) 0%, rgba(11, 16, 38, .78) 34%, rgba(11, 16, 38, .72) 62%, rgba(11, 16, 38, .88) 100%),
      radial-gradient(70% 50% at 70% 12%, rgba(40, 48, 144, 0.34), transparent 64%),
      url('assets/img/hero-bg-mobile-v3.webp') center center / cover no-repeat,
      linear-gradient(160deg, #16204a 0%, var(--navy-escuro) 52%, var(--navy-fundo) 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.6vw), 0 100%);
  }
}
/* Fio vermelho acompanhando o chanfro, o detalhe da referência */
.hero::after {
  content: '';
  position: absolute; inset-inline: 0; bottom: 0; height: 4.4vw;
  background: var(--vermelho);
  clip-path: polygon(0 calc(100% - 4px), 100% calc(100% - 3.6vw - 4px), 100% calc(100% - 3.6vw), 0 100%);
  pointer-events: none;
}
.hero-in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 640px);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { font-size: var(--h1); font-weight: 700; margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--azul-claro); }
.hero-sub { font-size: var(--t-lead); color: var(--tinta-clara); max-width: 46ch; margin-bottom: 2rem; line-height: 1.6; }

.hero-contatos { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 2.2rem; }
.hero-contatos li { display: flex; align-items: center; gap: 0.9rem; }
.hero-contatos a {
  font-family: var(--f-titulo); font-size: 1.4rem; font-weight: 700;
  transition: color var(--t-rapida) var(--ease-ui);
}
.hero-contatos a:hover { color: var(--azul-claro); }
.ico {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ico svg { width: 20px; height: 20px; fill: #fff; }
.ico-wpp { background: rgba(37, 211, 102, 0.16); border-color: rgba(37, 211, 102, 0.4); }
.ico-wpp svg { fill: var(--wpp); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-visual { position: relative; }
.hero-contorno {
  position: absolute; inset: -18px -18px 18px 18px;
  border: 2px solid var(--vermelho);
  border-radius: var(--r-2);
  pointer-events: none;
}

/* Hero anima por CSS na carga, sem esperar o JS */
.hero h1, .hero-sub, .hero-contatos, .hero-ctas, .hero-visual {
  opacity: 0; transform: translateY(18px);
  animation: sobe 0.55s var(--ease) forwards;
}
.hero h1 { animation-delay: 0.04s; }
.hero-sub { animation-delay: 0.1s; }
.hero-contatos { animation-delay: 0.16s; }
.hero-ctas { animation-delay: 0.22s; }
.hero-visual { animation-delay: 0.14s; }
@keyframes sobe { to { opacity: 1; transform: translateY(0); } }

.hero-seta {
  position: absolute; left: 50%; bottom: 4.6vw; transform: translateX(-50%);
  width: 46px; height: 46px; z-index: 3;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--vermelho);
  box-shadow: 0 8px 22px rgba(196, 32, 46, 0.42);
  animation: pula 2.2s ease-in-out infinite;
}
.hero-seta svg { width: 24px; height: 24px; fill: #fff; }
@keyframes pula { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* =========== Placeholders de foto =========== */
.ph {
  position: relative;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(22, 35, 58, 0.03) 0 12px, transparent 12px 24px),
    var(--azul-palido);
  border: 1px dashed #b8c5d8;
  border-radius: var(--r-2);
  color: #7d8ca5;
}
.ph span {
  font-family: var(--f-titulo);
  font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase;
}
.ph-hero { aspect-ratio: 4 / 3; }
.ph-sobre { aspect-ratio: 4 / 3; }

/* =========== Seções =========== */
/* overflow: clip contém a marca d'água, que é maior que a seção de propósito.
   Sem isso ela estoura a página na horizontal. `clip` não cria contexto de
   rolagem como `hidden`, então não quebra o scroll-behavior das âncoras. */
.secao { padding: var(--secao) 0; position: relative; overflow: clip; }
.secao-clara { background: var(--claro); }

/* Marca d'água do símbolo, o recurso de fundo da referência */
.marca-dagua {
  position: absolute; right: -8%; top: 8%;
  width: 46vw; max-width: 620px; aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 26%, rgba(22, 35, 58, 0.035) 26% 30%, transparent 30%),
    radial-gradient(circle at 50% 22%, rgba(22, 35, 58, 0.035) 0 9%, transparent 9%),
    radial-gradient(circle at 76% 66%, rgba(22, 35, 58, 0.035) 0 9%, transparent 9%),
    radial-gradient(circle at 24% 66%, rgba(22, 35, 58, 0.035) 0 9%, transparent 9%);
  pointer-events: none;
}

/* 2. Sobre */
.sobre-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.sobre-visual { position: relative; }
/* Moldura deslocada: duas camadas, como na referência */
.sobre-visual .ph { border-radius: 40px 8px 40px 8px; position: relative; z-index: 2; }
.moldura {
  position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--vermelho);
  border-radius: 40px 8px 40px 8px;
  z-index: 1;
}
.sobre-texto > p { color: var(--tinta-suave); margin-bottom: 2rem; max-width: 60ch; }

.passos { list-style: none; display: grid; gap: 1.5rem; margin-bottom: 2.2rem; }
.passos li { display: grid; grid-template-columns: 46px 1fr; gap: 1.1rem; align-items: start; }
.passo-n {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid var(--linha); border-radius: 50%;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.15rem;
  color: var(--navy);
}
.passos h3 { font-size: 1.3rem; font-weight: 700; color: var(--vermelho); margin-bottom: 0.3rem; }
.passos p { font-size: var(--t-s); color: var(--tinta-suave); }

.numeros {
  display: grid; grid-template-columns: 1fr 1fr;
  background: linear-gradient(120deg, var(--navy) 0%, #1c2470 100%); color: #fff;
  border-radius: var(--r-2);
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.num-destaque { padding: 1.5rem 1.2rem; text-align: center; }
.num-destaque + .num-destaque { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.num-destaque strong {
  display: block;
  font-family: var(--f-titulo); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1;
}
.num-destaque span { display: block; font-size: var(--t-s); line-height: 1.35; margin-top: 0.4rem; color: rgba(255, 255, 255, 0.85); }

.num-linha {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 2px solid var(--navy); border-radius: var(--r-2);
  overflow: hidden;
}
.num-linha div {
  padding: 1rem 1.2rem; text-align: center;
  font-family: var(--f-titulo); font-size: var(--t-md); line-height: 1.3; color: var(--navy);
}
.num-linha div + div { border-left: 2px solid var(--navy); }

/* 3. Produtos */
.produtos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.produto {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--r-2);
  padding: 1.4rem;
  display: flex; flex-direction: column; text-align: center;
  transition: transform var(--t-media) var(--ease-ui), box-shadow var(--t-media) var(--ease-ui), border-color var(--t-media);
}
.produto:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 16px 44px -12px rgba(22, 35, 58, 0.22);
}
.produto h3 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.produto p { font-size: var(--t-s); color: var(--tinta-suave); margin-bottom: 1.4rem; flex: 1; }

.produtos-cta {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin-top: 2.8rem;
}

/* 4. Assistência: faixa navy chanfrada */
.assist {
  position: relative;
  background:
    radial-gradient(65% 70% at 82% 18%, rgba(40, 48, 144, 0.42), transparent 62%),
    linear-gradient(160deg, #16204a 0%, var(--navy-fundo) 100%);
  color: #fff;
  padding: calc(var(--secao) + 3vw) 0;
  clip-path: var(--chanfro);
  margin-block: -1px;
}
.assist-in {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.assist p { color: var(--tinta-clara); max-width: 56ch; margin-bottom: 1.8rem; }
.assist-lista { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 2.2rem; }
.assist-lista li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: var(--t-s); color: var(--tinta-clara);
}
.assist-lista li::before {
  content: ''; flex: none;
  width: 20px; height: 20px; margin-top: 0.3rem;
  background: var(--vermelho);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 5. Marcas */
/* Flex-wrap centralizado: com grid auto-fit, as 9 marcas caíam 7 + 2
   e a segunda linha ficava encostada à esquerda, o que lê como bug. */
.marcas {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem;
}
.marcas li {
  flex: 1 1 190px; max-width: 250px;
  display: grid; place-items: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--linha);
  border-radius: var(--r-1);
  background: #fff;
  font-family: var(--f-titulo);
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy);
  transition: border-color var(--t-media), transform var(--t-media) var(--ease-ui), color var(--t-media);
}
.marcas li:hover { border-color: var(--vermelho); color: var(--vermelho); transform: translateY(-3px); }
.marcas-nota { text-align: center; margin-top: 2rem; color: var(--tinta-suave); font-size: var(--t-s); }
.marcas-nota a {
  color: var(--vermelho); font-weight: 700;
  border-bottom: 1px solid rgba(196, 32, 46, 0.4);
  transition: border-color var(--t-rapida);
}
.marcas-nota a:hover { border-color: var(--vermelho); }

/* 6. Acordeão */
.acordeao { display: grid; gap: 0.6rem; }
.acordeao details {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--r-1);
  transition: border-color var(--t-rapida), box-shadow var(--t-media);
}
.acordeao details[open] { border-color: var(--vermelho); box-shadow: 0 8px 24px -12px rgba(22, 35, 58, 0.2); }
.acordeao summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 3.2rem 1.15rem 1.35rem;
  font-family: var(--f-titulo); font-size: 1.2rem; font-weight: 700;
  color: var(--navy); line-height: 1.35;
  position: relative;
  transition: color var(--t-rapida) var(--ease-ui);
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary:hover { color: var(--vermelho); }
.acordeao summary::after {
  content: ''; position: absolute; right: 1.4rem; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--vermelho); border-bottom: 2px solid var(--vermelho);
  transform: rotate(45deg);
  transition: transform var(--t-media) var(--ease-ui);
}
.acordeao details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acordeao details div {
  padding: 0 1.35rem 1.3rem;
  color: var(--tinta-suave); font-size: var(--t-s);
  line-height: 1.7; max-width: 68ch;
}

@supports (interpolate-size: allow-keywords) {
  html { interpolate-size: allow-keywords; }
  .acordeao details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size var(--t-media) var(--ease-ui), content-visibility var(--t-media) allow-discrete;
  }
  .acordeao details[open]::details-content { block-size: auto; }
}

/* 7. Contato */
.contato {
  position: relative;
  background:
    radial-gradient(60% 65% at 15% 20%, rgba(40, 48, 144, 0.38), transparent 62%),
    linear-gradient(160deg, #16204a 0%, var(--navy-fundo) 100%);
  color: #fff;
  padding: calc(var(--secao) + 3vw) 0 var(--secao);
  clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}
.contato-in {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.contato-texto > p { color: var(--tinta-clara); margin-bottom: 2rem; max-width: 48ch; }
.contato-endereco { margin-top: 2rem; }
.contato-endereco h3 {
  font-size: var(--t-s); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--azul-claro); margin-bottom: 0.3rem;
}
.contato-endereco p { color: var(--tinta-clara); font-size: var(--t-s); margin-bottom: 1.2rem; }
.pendente { color: #ffd0a8; font-style: italic; }

.form {
  background: #fff;
  border-radius: var(--r-2);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  box-shadow: 0 26px 60px -24px rgba(0, 0, 0, 0.5);
  color: var(--tinta);
}
.form-titulo {
  grid-column: 1 / -1;
  font-family: var(--f-titulo); font-size: 1.45rem; font-weight: 700;
  color: var(--navy); line-height: 1.2;
}
.form label { display: grid; gap: 0.35rem; }
.form label.full, .form .btn, .form-nota, .form-status { grid-column: 1 / -1; }
.form label > span {
  font-size: var(--t-2xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tinta-suave);
}
.form .req { color: var(--vermelho); }
.form input, .form select {
  background-color: #fff;
  border: 1px solid #aab6c8;      /* 3.1:1 sobre o branco: a fronteira precisa ser visível */
  border-radius: var(--r-1);
  padding: 0.8rem 0.95rem;
  font-size: var(--t-md);          /* 16px+: abaixo disso o iOS dá zoom ao focar */
  width: 100%;
  transition: border-color var(--t-rapida) var(--ease-ui), box-shadow var(--t-rapida) var(--ease-ui);
}
.form input::placeholder { color: #8c99ab; }
.form input:hover, .form select:hover { border-color: #7d8ca5; }
.form input:focus, .form select:focus {
  border-color: var(--vermelho);
  box-shadow: 0 0 0 3px rgba(196, 32, 46, 0.15);
}
.form input[aria-invalid="true"] { border-color: var(--erro); box-shadow: 0 0 0 3px rgba(196, 32, 46, 0.15); }
.form select {
  appearance: none; cursor: pointer;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23c4202e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px auto;
}
.form option { color: #16233a; background: #fff; }

.form .erro-msg {
  display: flex; align-items: center; gap: 0.4rem;
  font-style: normal; font-size: var(--t-s); line-height: 1.4;
  color: var(--erro); margin-top: 0.1rem;
}
.form .erro-msg::before { content: '\26A0'; }
.form .erro-msg[hidden] { display: none; }
.form-nota { font-size: var(--t-2xs); color: var(--tinta-suave); margin: 0; line-height: 1.5; }
.form-status { font-size: var(--t-s); color: var(--navy); margin: 0; font-weight: 500; }
.form-status:empty { display: none; }

/* =========== Footer =========== */
.footer { background: var(--navy-escuro); color: rgba(255, 255, 255, 0.75); padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer-in {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 2.5rem; padding-bottom: 3rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h2 {
  font-family: var(--f-titulo);
  font-size: var(--t-s); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--azul-claro); margin-bottom: 0.6rem;
}
.footer-col a, .footer-col span { font-size: var(--t-s); transition: color var(--t-rapida) var(--ease-ui); }
.footer-col a { width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand-mark { width: 190px; margin-bottom: 1rem; }
.footer-brand p { font-size: var(--t-s); max-width: 36ch; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%;
  transition: border-color var(--t-rapida), background var(--t-rapida), transform var(--t-media) var(--ease-ui);
}
.socials a:hover { border-color: var(--vermelho); background: rgba(196, 32, 46, 0.18); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: #fff; }

.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.13); padding: 1.3rem 0; }
.footer-base p { font-size: var(--t-xs); text-align: center; color: rgba(255, 255, 255, 0.62); }

/* =========== Conversão fixa =========== */
.float-wpp {
  position: fixed; left: 20px; bottom: 20px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wpp);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.36);
  transform: scale(0);
  transition: transform 0.45s var(--ease), box-shadow var(--t-media);
}
.float-wpp.is-on { transform: scale(1); }
.float-wpp.is-on:hover { transform: scale(1.08); }
.float-wpp.is-on:active { transform: scale(0.96); transition-duration: 0.08s; }
.float-wpp svg { width: 30px; height: 30px; fill: #05331a; }

.barra-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: none; gap: 0.6rem;
  padding: 0.65rem 0.8rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(22, 41, 77, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.barra-mobile.is-on { transform: translateY(0); }
.barra-mobile .btn { flex: 1; padding: 0.9rem 1rem; }
.barra-mobile .btn-wpp { flex: 1.6; }

/* =========== Reveal =========== */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal], .hero h1, .hero-sub, .hero-contatos, .hero-ctas, .hero-visual { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-seta { animation: none; }
}

/* =========== Responsivo =========== */
@media (max-width: 1080px) {
  .produtos { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --chanfro: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%); }

  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 82vw);
    background: #fff;
    border-left: 1px solid var(--linha);
    box-shadow: -20px 0 50px rgba(22, 35, 58, 0.14);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 890;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.25rem; }
  .burger { display: block; position: relative; z-index: 895; }
  .btn-sm { display: none; }
  body.menu-open { overflow: hidden; }

  .hero-in, .sobre-grid, .assist-in, .contato-in { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-contorno { inset: -12px -12px 12px 12px; }
  .moldura { inset: 16px -16px -16px 16px; }
  .form { grid-template-columns: 1fr; }

  .barra-mobile { display: flex; }
  .float-wpp { display: none; }
  body { padding-bottom: 80px; }
  .hero-seta { display: none; }
}

@media (max-width: 620px) {
  .produtos { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 2rem; }
  .numeros, .num-linha { grid-template-columns: 1fr; }
  .num-destaque + .num-destaque { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .num-linha div + div { border-left: 0; border-top: 2px solid var(--navy); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn, .produtos-cta .btn { width: 100%; }
  .produtos-cta { flex-direction: column; }
  .hero-contatos a { font-size: 1.2rem; }
}

/* =========================================================
   Blocos novos: imagens reais, carrossel, ficha e marcas
   ========================================================= */

/* Hero: produto em destaque com contorno deslocado */
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: auto;
  border-radius: var(--r-2);
  position: relative; z-index: 2;
}
.hero-contorno {
  position: absolute; inset: -18px -18px 18px 18px;
  border: 2px solid var(--vermelho);
  border-radius: var(--r-2);
  z-index: 1; pointer-events: none;
}

/* Palavras que trocam no h1, a animação do original */
.troca { display: inline-grid; }
.troca-item {
  grid-area: 1 / 1;
  color: var(--azul-claro);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.troca-item.is-on { opacity: 1; transform: translateY(0); }

/* Sobre: foto com moldura deslocada */
.sobre-visual { position: relative; }
.sobre-visual img {
  width: 100%; height: auto;
  border-radius: 40px 8px 40px 8px;
  position: relative; z-index: 2;
}
.moldura {
  position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--vermelho);
  border-radius: 40px 8px 40px 8px;
  z-index: 1; pointer-events: none;
}

/* Faixa de marcas, entre o sobre e os produtos */
.marcas-faixa {
  background: linear-gradient(100deg, var(--navy-escuro), #1a2358);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  color: #fff;
}
.marcas-titulo {
  font-family: var(--f-titulo); font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  text-align: center; margin-bottom: 1.6rem;
}
.marcas {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.7rem;
}
.marcas li {
  flex: 0 1 auto;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--r-pill);
  font-family: var(--f-titulo);
  font-size: var(--t-s); font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color var(--t-media), background var(--t-media), transform var(--t-media) var(--ease-ui);
}
.marcas li:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* Produtos: cards com carrossel */
.produtos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.produto {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--r-2);
  padding: 1.4rem;
  display: flex; flex-direction: column; text-align: center;
  transition: transform var(--t-media) var(--ease-ui), box-shadow var(--t-media) var(--ease-ui), border-color var(--t-media);
}
.produto:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 16px 44px -12px rgba(22, 35, 58, 0.22); }
.produto h3 { font-size: 1.45rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; text-transform: uppercase; }
.produto > p { font-size: var(--t-s); color: var(--tinta-suave); margin-bottom: 1.2rem; flex: 1; }

.carrossel { position: relative; margin-bottom: 1.1rem; }
.carrossel-trilho {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--r-1);
  background: #fff;
}
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel-trilho img {
  flex: 0 0 100%;
  width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  scroll-snap-align: center;
}
.carrossel-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.7rem; }
.carrossel-dots button {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%; border: 1px solid var(--navy);
  background: transparent; cursor: pointer;
  transition: background var(--t-rapida), transform var(--t-rapida);
}
.carrossel-dots button[aria-selected="true"] { background: var(--navy); transform: scale(1.25); }

/* Ficha técnica dentro do card */
.ficha { margin-bottom: 1rem; text-align: left; }
.ficha summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--navy); border-radius: var(--r-pill);
  font-family: var(--f-titulo); font-weight: 700; font-size: var(--t-s);
  color: var(--navy);
  transition: background var(--t-rapida) var(--ease-ui), color var(--t-rapida) var(--ease-ui);
}
.ficha summary::-webkit-details-marker { display: none; }
.ficha summary::after { content: '+'; font-size: 1.15rem; line-height: 1; }
.ficha[open] summary::after { content: '\2212'; }
.ficha summary:hover { background: var(--navy); color: #fff; }
.ficha dl { margin-top: 0.9rem; display: grid; gap: 0; }
.ficha dl > div {
  display: grid; grid-template-columns: 40% 1fr; gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linha);
  font-size: var(--t-s);
}
.ficha dl > div:last-of-type { border-bottom: 0; }
.ficha dt { font-weight: 700; color: var(--navy); }
.ficha dd { color: var(--tinta-suave); }
.ficha-nota { font-size: var(--t-2xs); color: var(--tinta-suave); margin-top: 0.7rem; font-style: italic; }

@supports (interpolate-size: allow-keywords) {
  .ficha::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size var(--t-media) var(--ease-ui), content-visibility var(--t-media) allow-discrete;
  }
  .ficha[open]::details-content { block-size: auto; }
}

/* Card "E também" */
.produto-lista { justify-content: flex-start; }
.lista-extra { list-style: none; text-align: left; margin-bottom: 1.3rem; flex: 1; }
.lista-extra li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--linha);
  font-size: var(--t-s); color: var(--tinta-suave);
}
.lista-extra li:last-child { border-bottom: 0; }
.lista-extra li::before {
  content: ''; flex: none;
  width: 7px; height: 7px; margin-top: 0.6rem;
  background: var(--vermelho); transform: rotate(45deg);
}

.produtos-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.8rem; }

/* Assistência: imagem real */
.assist-visual img { width: 100%; height: auto; border-radius: var(--r-2); }
.assist-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Galeria de ambientes */
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.galeria figure { margin: 0; overflow: hidden; border-radius: var(--r-2); }
.galeria img {
  width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.galeria figure:hover img { transform: scale(1.06); }

@media (max-width: 1080px) {
  .produtos { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .assist-ctas { flex-direction: column; }
  .assist-ctas .btn { width: 100%; }
}
@media (max-width: 620px) {
  .produtos { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; }
  .marcas li { font-size: var(--t-xs); padding: 0.6rem 1rem; }
}

/* =========== Logo real (imagem do PDF da marca) =========== */
.brand-mark { width: clamp(150px, 14vw, 200px); height: auto; }
.header.is-stuck .brand-mark { width: clamp(132px, 12vw, 168px); }
.brand-mark { transition: width var(--t-media) var(--ease-ui); }

/* No rodape escuro o logo (azul sobre transparente) sumiria:
   entra num cartao branco, que e o tratamento honesto pra logo colorido. */
.footer-brand .brand-mark {
  width: 210px;
  background: #fff;
  padding: 0.85rem 1rem;
  border-radius: var(--r-1);
  margin-bottom: 1.1rem;
}

/* =========================================================
   Dobra "Sobre": efeito de camadas, que a foto original trazia
   pre-renderizado em verde. Refeito em CSS, na cor da marca.
   ========================================================= */
.sobre-visual {
  position: relative;
  /* o container inclina de leve, como no original */
  isolation: isolate;
}
.sobre-visual img {
  width: 100%; height: auto;
  border-radius: 44px 10px 44px 10px;
  position: relative; z-index: 2;
  box-shadow: 0 24px 50px -22px rgba(11, 16, 38, 0.45);
}
/* camada 1: bloco escuro atras, deslocado pro canto oposto */
.sobre-visual::before {
  content: '';
  position: absolute; inset: -18px 18px 18px -18px;
  border-radius: 44px 10px 44px 10px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-escuro) 100%);
  z-index: 1;
}
/* camada 2: contorno vinho deslocado pro outro lado */
.moldura {
  position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--vermelho);
  border-radius: 44px 10px 44px 10px;
  z-index: 0; pointer-events: none;
}

@media (max-width: 900px) {
  .sobre-visual::before { inset: -12px 12px 12px -12px; }
  .moldura { inset: 14px -14px -14px 14px; }
}

/* =========================================================
   SHOWROOM — fotos reais da loja + vídeo de apresentação
   ========================================================= */

.showroom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 0.3rem + 0.7vw, 0.9rem);
  margin-bottom: clamp(3rem, 2.2rem + 3vw, 5rem);
}

.sr-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-2);
  background: var(--navy-fundo);
  aspect-ratio: 3 / 4;
  box-shadow: 0 1px 2px rgba(16, 23, 54, .06), 0 18px 40px -28px rgba(16, 23, 54, .55);
}

/* grid uniforme: 8 fotos, 4 por linha. A fachada em destaque repetiria o hero. */

.sr-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.sr-item:hover img { transform: scale(1.04); }

.sr-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem 0.9rem 0.7rem;
  font-family: var(--f-titulo);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(11, 16, 38, .82), transparent);
  pointer-events: none;
}

/* ---- bloco do vídeo ---- */
.sr-video-bloco {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(1.75rem, 1.2rem + 2.6vw, 3.75rem);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-radius: var(--r-2);
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(40, 48, 144, .38), transparent 62%),
    linear-gradient(150deg, var(--navy-escuro), var(--navy-fundo));
  color: var(--tinta-clara);
  overflow: hidden;
}

/* chips dos segmentos atendidos */
.sr-chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 1.4rem 0 1.6rem;
}
.sr-chips li {
  font-family: var(--f-titulo);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--linha-escura);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* três fatos que sustentam o convite */
.sr-fatos {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.6rem + 1.6vw, 2.5rem);
  margin-top: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--linha-escura);
}
.sr-fatos strong {
  display: block;
  font-family: var(--f-titulo);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}
.sr-fatos span { font-size: var(--t-xs); color: rgba(255, 255, 255, 0.62); line-height: 1.4; display: block; }

.sr-video-visual { position: relative; }

.sr-video-visual video {
  width: 100%; height: auto;
  display: block;
  border-radius: var(--r-2);
  background: #000;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.sr-som {
  position: absolute; left: 0.7rem; bottom: 0.7rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border: 0; border-radius: var(--r-pill);
  background: rgba(11, 16, 38, .72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--f-corpo);
  font-size: var(--t-2xs);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.sr-som:hover { background: var(--vermelho); }

.sr-video-texto h3 {
  font-family: var(--f-titulo);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.85rem;
}
.sr-video-texto p { margin-bottom: 0.9rem; max-width: 54ch; }
.sr-video-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

@media (max-width: 1080px) { .showroom { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 900px) {
  .showroom { grid-template-columns: repeat(2, 1fr); }
  .sr-video-bloco { grid-template-columns: 1fr; }
  .sr-video-visual { max-width: 300px; margin-inline: auto; }
  .sr-video-texto { text-align: center; }
  .sr-video-texto p { margin-inline: auto; }
  .sr-chips { justify-content: center; }
  .sr-fatos { grid-template-columns: 1fr; gap: 0.9rem; text-align: center; }
  .sr-video-ctas { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sr-item img { transition: none; }
  .sr-item:hover img { transform: none; }
}

/* =========================================================
   PRODUTOS — marca, specs de destaque e ficha em modal
   ========================================================= */

.prod-marca {
  display: inline-block;
  font-family: var(--f-titulo);
  font-size: var(--t-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vermelho);
  margin-bottom: 0.3rem;
}

.prod-specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}
.prod-specs li { text-align: center; }
.prod-specs strong {
  display: block;
  font-family: var(--f-titulo);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.prod-specs span { font-size: 0.7rem; color: var(--tinta-suave); line-height: 1.3; display: block; }

.produto .btn + .btn { margin-top: 0.55rem; }

.produtos-nota {
  text-align: center;
  font-size: var(--t-s);
  color: var(--tinta-suave);
  max-width: 70ch;
  margin: clamp(2rem, 1.5rem + 1.5vw, 3rem) auto 0;
}

/* ---------- modal da ficha técnica ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1500;
  display: grid; place-items: center;
  padding: clamp(0.75rem, 0.4rem + 1.6vw, 2.5rem);
}
.modal-fundo {
  position: absolute; inset: 0;
  background: rgba(11, 16, 38, 0.62);
  backdrop-filter: blur(3px);
  animation: modalFundo 0.25s var(--ease-ui);
}
@keyframes modalFundo { from { opacity: 0; } }

.modal-caixa {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 900px);
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--r-2);
  box-shadow: 0 30px 80px -20px rgba(11, 16, 38, 0.55);
  overflow: hidden;
  animation: modalSobe 0.32s var(--ease-ui);
}
@keyframes modalSobe { from { opacity: 0; transform: translateY(22px) scale(0.985); } }

.modal-topo {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.75rem) clamp(1.1rem, 0.8rem + 1vw, 2rem) 1rem;
  border-bottom: 1px solid var(--linha);
}
.modal-topo h3 {
  font-family: var(--f-titulo);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 700;
  color: var(--tinta);
  line-height: 1.15;
}
.modal-topo .prod-marca { margin-bottom: 0.15rem; }

.modal-fechar {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--linha);
  border-radius: 50%;
  background: #fff;
  color: var(--tinta-media);
  cursor: pointer;
  transition: var(--t-rapida) var(--ease-ui);
}
.modal-fechar svg { width: 20px; height: 20px; fill: currentColor; }
.modal-fechar:hover { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }

.modal-corpo {
  overflow-y: auto;
  padding: clamp(1rem, 0.7rem + 1vw, 1.6rem) clamp(1.1rem, 0.8rem + 1vw, 2rem);
  overscroll-behavior: contain;
}

.ficha-grupo + .ficha-grupo { margin-top: 1.6rem; }
.ficha-grupo h4 {
  font-family: var(--f-titulo);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermelho);
  padding-bottom: 0.5rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--linha);
}
.ficha-grupo dl { margin: 0; }
.ficha-grupo dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.ficha-grupo dl > div + div { border-top: 1px solid color-mix(in srgb, var(--linha) 55%, transparent); }
.ficha-grupo dt { font-size: var(--t-s); color: var(--tinta-suave); }
.ficha-grupo dd { font-size: var(--t-s); color: var(--tinta); font-weight: 500; margin: 0; }

.modal-rodape {
  padding: clamp(1rem, 0.7rem + 1vw, 1.5rem) clamp(1.1rem, 0.8rem + 1vw, 2rem);
  border-top: 1px solid var(--linha);
  background: var(--claro);
}
.modal-rodape .btn { width: 100%; }
.modal-rodape p {
  font-size: var(--t-2xs);
  color: var(--tinta-suave);
  margin-top: 0.75rem;
  text-align: center;
  line-height: 1.5;
}

body.modal-aberto { overflow: hidden; }

@media (max-width: 560px) {
  .ficha-grupo dl > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .prod-specs strong { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .modal-fundo, .modal-caixa { animation: none; }
}

/* =========================================================
   PÁGINA DE EQUIPAMENTOS — migalhas e filtro de categoria
   ========================================================= */

.pagina-topo { padding-top: calc(var(--header-h) + clamp(2rem, 1.5rem + 2vw, 3.5rem)); }

.migalhas {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: var(--t-s);
  color: var(--tinta-suave);
  margin-bottom: 1.25rem;
}
.migalhas a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.migalhas a:hover { color: var(--vermelho); }
.migalhas span[aria-hidden] { color: var(--linha); }

.filtros {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1rem;
}
.filtro {
  font-family: var(--f-titulo);
  font-size: var(--t-s);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--linha);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--tinta-media);
  cursor: pointer;
  transition: var(--t-rapida) var(--ease-ui);
}
.filtro:hover { border-color: var(--navy); color: var(--navy); }
.filtro[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.filtro-contagem {
  font-size: var(--t-s);
  color: var(--tinta-suave);
  margin-bottom: var(--gap-titulo);
}

.produto.oculto { display: none; }

@media (max-width: 560px) {
  .filtros { gap: 0.4rem; }
  .filtro { padding: 0.5rem 1rem; font-size: var(--t-xs); }
}

/* itens ainda sem ficha do fabricante */
.prod-sem-ficha {
  font-size: var(--t-xs);
  color: var(--tinta-suave);
  text-align: center;
  padding: 0.85rem 0;
  margin: 0 0 1.1rem;
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}
