/* ==========================================================================
   Lojão das Cadeiras — folha de estilo compartilhada (index.html + produtos.html)
   Design system extraído das landings originais (GreatPages):
   laranja #FF5F00, Montserrat 800 nos títulos, botões pílula, cards radius 10.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --laranja: #FF5F00;
  --laranja-escuro: #CF4D00;
  --laranja-claro: #FFF1E8;
  --branco: #FFFFFF;
  --cinza-1: #F8F8F8;
  --cinza-2: #F6F6F6;
  --borda-neutra: #DADADA;
  --preto: #000000;
  --texto-suave: #444444;
  --azul-menu: #1A1D95;
  --verde-zap: #00C800;

  --fonte: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --raio-card: 10px;
  --raio-pilula: 100px;
  --largura-max: 1200px;
  --gutter: 24px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.6;
  color: var(--preto);
  background: var(--branco);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.2; }
p { margin: 0; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--azul-menu);
  outline-offset: 3px;
}

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

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.secao { padding: 72px 0; }
.secao--cinza1 { background: var(--cinza-1); }
.secao--cinza2 { background: var(--cinza-2); }

.secao__titulo {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.25;
  color: var(--laranja);
  text-align: center;
  max-width: 18ch;
  margin: 0 auto;
}

.secao__subtitulo {
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.8;
  text-align: center;
  max-width: 46ch;
  margin: 20px auto 0;
  color: var(--texto-suave);
}

/* ---------- 3b. Ícones (sprite SVG de traço) ---------- */
.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--cheio { fill: currentColor; stroke: none; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--raio-pilula);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  padding: 15px 34px;
  min-height: 54px;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--laranja { background: var(--laranja); color: var(--branco); }
.btn--laranja:hover { background: var(--laranja-escuro); box-shadow: 0 8px 22px rgba(255, 95, 0, .28); }

.btn--branco { background: var(--branco); color: var(--laranja-escuro); }
.btn--branco:hover { background: #FFF6F0; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }

.btn--contorno {
  background: transparent;
  color: var(--laranja);
  border-color: var(--laranja);
}
.btn--contorno:hover { background: var(--laranja); color: var(--branco); }

.btn--pequeno { font-size: 14px; padding: 11px 24px; min-height: 42px; }
.btn--bloco { width: 100%; }

.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- 5. Header ---------- */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--branco);
  border-bottom: 1px solid #EFEFEF;
}

.cabecalho__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cabecalho__logo img { width: 216px; height: auto; }

.nav__lista {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__lista a {
  font-size: 18px;
  font-weight: 500;
  color: var(--azul-menu);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.nav__lista a:hover,
.nav__lista a[aria-current="page"] { border-bottom-color: var(--laranja); color: var(--laranja); }

.cabecalho__cta { flex: none; }
/* o CTA que vive dentro do nav só aparece no menu mobile */
.cabecalho__nav > .btn { display: none; }

.hamburguer {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--borda-neutra);
  border-radius: 10px;
  background: var(--branco);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.hamburguer span {
  display: block;
  position: relative;
  width: 22px; height: 2px;
  background: var(--laranja);
  transition: background-color .2s ease;
}
.hamburguer span::before,
.hamburguer span::after {
  content: '';
  position: absolute;
  left: 0; width: 22px; height: 2px;
  background: var(--laranja);
  transition: transform .25s ease, top .2s ease;
}
.hamburguer span::before { top: -7px; }
.hamburguer span::after { top: 7px; }
.hamburguer[aria-expanded="true"] span { background: transparent; }
.hamburguer[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hamburguer[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background-color: #E9E6E2;
  background-image: url('../img/comum-hero-bg-cozinha-conjunto-branco-desktop-2386a86f.jpg');
  background-size: cover;
  background-position: center right;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,0) 62%);
}
.hero .container { position: relative; z-index: 1; }

.hero__conteudo { max-width: 660px; padding: 60px 0; }

.hero__titulo {
  display: inline-block;
  background: var(--laranja);
  color: var(--branco);
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.05;
  padding: 18px 26px 20px;
  border-radius: 0;
  margin-left: -1000px;
  padding-left: 1000px;
}

.hero__texto {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  max-width: 34ch;
  margin: 26px 0 30px;
  color: var(--preto);
}

.hero__seta {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--laranja);
  font-size: 14px;
  font-weight: 600;
}
.hero__seta svg { width: 26px; height: 26px; animation: descer 1.8s ease-in-out infinite; }
@keyframes descer {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Hero curto da página de produtos */
.hero--curto { min-height: 360px; }
.hero--curto .hero__conteudo { padding: 40px 0; }

/* ---------- 7. Categorias ---------- */
.categorias__grade {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.categoria {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  aspect-ratio: 1 / 1;
  background: var(--branco);
  border: 1px solid var(--borda-neutra);
  border-radius: var(--raio-card);
  padding: 18px;
  text-align: center;
  font-size: 14px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.categoria:hover {
  border-color: var(--laranja);
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.07);
}
.categoria svg { width: 58px; height: 58px; color: var(--laranja); }
.categoria__nome { font-weight: 600; }

/* ---------- 8. Modelos exclusivos ---------- */
.modelos__grade {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.modelos__titulo {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.25;
  color: var(--laranja);
  max-width: 19ch;
}
.modelos__texto {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 22px;
  max-width: 46ch;
  color: var(--texto-suave);
}
.modelos__destaque {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 28px;
  color: var(--preto);
}
.modelos__cotacao {
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  margin-top: 8px;
  color: var(--texto-suave);
}
.modelos__cta { margin-top: 28px; }

.modelos__fotos {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modelos__fotos img {
  width: 40%;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.16));
}
.modelos__fotos img:nth-child(1) { z-index: 1; }
.modelos__fotos img:nth-child(2) { width: 46%; margin: 0 -13%; z-index: 3; }
.modelos__fotos img:nth-child(3) { z-index: 2; }

/* ---------- 9. Feature banquetas (faixa laranja) ---------- */
.feature {
  background: var(--laranja);
  color: var(--branco);
  padding: 72px 0;
  overflow: hidden;
}
.feature__grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature__titulo {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.25;
  color: var(--branco);
  max-width: 13ch;
}
.feature__texto {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  margin: 20px 0 30px;
  max-width: 40ch;
}
.feature__lista {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 30px;
  font-size: 15px;
}
.feature__lista li { display: flex; align-items: center; gap: 8px; }
.feature__lista svg { width: 18px; height: 18px; color: var(--branco); flex: none; }
.feature__foto img { width: 100%; filter: drop-shadow(0 22px 34px rgba(0,0,0,.22)); }

/* ---------- 10. Ofertas ---------- */
.ofertas__grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 52px;
  align-items: stretch;
}

.oferta {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border: 1px solid var(--laranja);
  border-radius: var(--raio-card);
  padding: 26px 24px 28px;
}
.oferta__foto {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.oferta__foto img { max-height: 240px; width: auto; object-fit: contain; }

.oferta__cabecalho { display: flex; align-items: center; gap: 14px; }
.oferta__num {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--laranja);
  color: var(--branco);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.oferta__nome { font-size: 20px; font-weight: 700; }
.oferta__desc { font-size: 14px; font-weight: 400; color: var(--texto-suave); }
.oferta__pedido {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  margin: 20px 0 24px;
  color: var(--texto-suave);
}
.oferta .btn { margin-top: auto; font-size: 16px; padding-inline: 18px; }

.oferta__selo {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--laranja);
  color: var(--branco);
  border-radius: var(--raio-pilula);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 16px;
}

/* Card central em destaque */
.oferta--destaque {
  background: var(--laranja);
  border-color: var(--laranja);
  color: var(--branco);
}
.oferta--destaque .oferta__num { background: var(--branco); color: var(--laranja); }
.oferta--destaque .oferta__desc,
.oferta--destaque .oferta__pedido { color: rgba(255,255,255,.92); }
.oferta--destaque .oferta__selo { background: var(--branco); color: var(--laranja); }

/* ---------- 11. Selos de confiança ---------- */
.selos { padding: 60px 0 70px; background: var(--branco); }
.selos__grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: center;
}
.selo svg { width: 56px; height: 56px; color: var(--laranja); margin: 0 auto 12px; }
.selo p { font-size: 16px; font-weight: 500; }

.selos__frete {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}
.selos__frete strong { display: block; font-weight: 700; }
.selos__frete span { color: var(--texto-suave); }

/* ---------- 12. Grade do catálogo ---------- */
.catalogo__grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.produto {
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border: 1px solid var(--laranja);
  border-radius: var(--raio-card);
  padding: 20px 18px 22px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.produto:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(255,95,0,.16); }
.produto__foto {
  height: 210px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.produto__foto img { max-height: 210px; width: auto; object-fit: contain; }
.produto__nome { font-size: 20px; font-weight: 700; }
.produto__desc { font-size: 14px; font-weight: 400; color: var(--texto-suave); margin-top: 4px; }
.produto__acao {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--laranja);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.produto__acao svg { width: 16px; height: 16px; }

/* ---------- 13. Faixa de CTA final ---------- */
.faixa-cta {
  background: var(--laranja);
  color: var(--branco);
  padding: 56px 0;
  text-align: center;
}
.faixa-cta h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.3; max-width: 22ch; margin: 0 auto; }
.faixa-cta p { font-weight: 400; margin: 16px auto 28px; max-width: 50ch; }

/* ---------- 14. Footer ---------- */
.rodape {
  background: var(--branco);
  border-top: 1px solid #EFEFEF;
  padding: 40px 0;
  text-align: center;
}
.rodape img { width: 127px; margin: 0 auto 14px; }
.rodape__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 14px;
  font-size: 14px;
}
.rodape__links a:hover { color: var(--laranja); }
.rodape p { font-size: 12px; line-height: 2; color: var(--texto-suave); }

/* ---------- 15. WhatsApp flutuante ---------- */
.zap-flutuante {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--verde-zap);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.24);
  animation: pulsar 2.2s infinite;
}
.zap-flutuante svg { width: 34px; height: 34px; color: var(--branco); }
@keyframes pulsar {
  0%   { box-shadow: 0 6px 18px rgba(0,0,0,.24), 0 0 0 0 rgba(0,200,0,.6); }
  70%  { box-shadow: 0 6px 18px rgba(0,0,0,.24), 0 0 0 20px rgba(0,200,0,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,.24), 0 0 0 0 rgba(0,200,0,0); }
}

/* ---------- 16. Reveal on scroll ----------
   Só esconde se o JS estiver ativo (classe .js no <html>): sem JS, tudo visível. */
.js .revelar { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .revelar.visivel { opacity: 1; transform: none; }

/* ---------- 17. Responsivo ---------- */
@media (max-width: 1080px) {
  .categorias__grade { grid-template-columns: repeat(3, 1fr); }
  .catalogo__grade { grid-template-columns: repeat(2, 1fr); }
  .nav__lista { gap: 22px; }
  .cabecalho__logo img { width: 180px; }
}

@media (max-width: 900px) {
  .secao { padding: 56px 0; }

  /* menu mobile */
  .hamburguer { display: flex; }
  .cabecalho__nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--branco);
    border-bottom: 1px solid #EFEFEF;
    box-shadow: 0 14px 26px rgba(0,0,0,.10);
    display: none;
    padding: 12px 24px 22px;
  }
  .cabecalho__nav.aberto { display: block; }
  .cabecalho { position: sticky; }
  .cabecalho__inner { position: relative; }
  .nav__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__lista a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #EFEFEF;
    font-size: 17px;
  }
  .nav__lista a:hover, .nav__lista a[aria-current="page"] { border-bottom-color: #EFEFEF; }
  .nav__lista li:last-child a { border-bottom: 0; }
  .cabecalho__cta { display: none; }
  .cabecalho__nav .btn { display: inline-flex; width: 100%; margin-top: 14px; }

  .hero {
    background-image: url('../img/p523510-hero-bg-cozinha-conjunto-branco-mobile-361d6ed4.jpg');
    background-position: center;
    min-height: 520px;
    align-items: flex-end;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.78) 100%);
  }
  .hero__conteudo { max-width: none; padding: 40px 0 46px; }
  .hero__titulo { margin-left: -40px; padding-left: 40px; }
  .hero__texto { color: var(--branco); max-width: none; }
  .hero__seta { color: var(--branco); }
  .hero--curto { min-height: 300px; }

  .modelos__grade { grid-template-columns: 1fr; gap: 30px; }
  .modelos__titulo, .modelos__texto { max-width: none; }
  .feature__grade { grid-template-columns: 1fr; gap: 26px; }
  .feature__grade > div:first-child { order: 2; }
  .feature__foto { order: 1; }
  .feature__titulo, .feature__texto { max-width: none; }

  .ofertas__grade { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .selos__grade { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .categorias__grade { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .catalogo__grade { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .btn { font-size: 16px; padding: 14px 26px; }
  .hero__titulo { margin-left: -18px; padding-left: 18px; padding-right: 18px; }
  .cabecalho__logo img { width: 156px; }
  .oferta__foto, .oferta__foto img { height: 200px; max-height: 200px; }
}

/* ---------- 18. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .revelar { opacity: 1; transform: none; }
  .btn:hover, .produto:hover, .categoria:hover { transform: none; }
}

/* ---------- 19. Impressão ---------- */
@media print {
  .zap-flutuante, .hamburguer, .cabecalho__cta { display: none !important; }
}
