/* Velas Santa Cruz — site novo
   Identidade da embalagem: tinta azul sobre parafina branca, papelão kraft
   e a chama como ponto de luz. */

@font-face { font-family: "Libre Caslon Display"; src: url("fonts/caslon-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("fonts/caslon-text-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --tinta: #10195f;
  --tinta-fundo: #0a1042;
  --tinta-suave: #3e4677;
  --linha: rgba(16, 25, 95, 0.18);
  --parafina: #f4f5f1;
  --branco: #fff;
  --kraft: #c7a676;
  --chama: #f2a02b;
  --chama-forte: #e58a1f;

  --titulo: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --citacao: "Libre Caslon Text", Georgia, serif;
  --texto: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --largura: 76rem;
  --margem: 1.25rem;
  --raio: 1.25rem;
  --suave: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 48rem) { :root { --margem: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--parafina);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 34em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--chama); outline-offset: 3px; }

.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: var(--margem); top: -4rem; z-index: 100; background: var(--tinta); color: #fff; padding: .6rem 1rem; }
.pular:focus { top: .5rem; }
.miolo { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); }

.progresso {
  position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--chama), var(--chama-forte));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Botões ---------- */
.botao {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .7rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--texto); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--suave), background-color .2s, color .2s, box-shadow .25s;
}
.botao span { position: relative; z-index: 1; }
.botao:hover { transform: translateY(-2px); }
.botao:active { transform: translateY(0); }
.botao-chama { background: var(--chama); color: var(--tinta-fundo); box-shadow: 0 8px 24px -8px rgba(242, 160, 43, .7); }
.botao-chama:hover { background: #ffb445; box-shadow: 0 12px 30px -8px rgba(242, 160, 43, .85); }
.botao-claro { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.botao-claro:hover { background: #fff; color: var(--tinta); }
.botao-tinta { background: var(--tinta); color: #fff; }
.botao-tinta:hover { background: #1d2a85; }
.botao-vazado { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.botao-vazado:hover { background: var(--tinta); color: #fff; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--linha);
  transition: transform .35s var(--suave), box-shadow .3s;
}
.topo.is-rolado { box-shadow: 0 10px 30px -18px rgba(10, 16, 66, .5); }
.topo.is-oculto { transform: translateY(-100%); }
.topo-miolo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.topo-logo img { width: 8.5rem; transition: width .3s var(--suave); }
.topo.is-rolado .topo-logo img { width: 7.5rem; }
.menu ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.menu a { position: relative; font-weight: 600; text-decoration: none; padding: .35rem 0; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--chama-forte);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--suave);
}
.menu a:hover::after, .menu a.is-atual::after { transform: scaleX(1); }
.topo-fone { min-height: 2.6rem; padding: .45rem 1.1rem; font-size: .9375rem; }
@media (max-width: 47.99rem) {
  .menu { display: none; }
  .topo-logo img { width: 7.5rem; }
}
@media (min-width: 48rem) { .topo-logo img { width: 10rem; } }

/* ---------- Abertura ---------- */
.abertura {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 40%, #1b2a8f 0%, var(--tinta) 45%, var(--tinta-fundo) 100%);
  color: #fff;
  padding: 7.5rem 0 5rem;
  min-height: 100svh;
  display: grid; align-items: center;
}
.abertura-brilho {
  position: absolute; width: 60rem; height: 60rem; right: -14rem; top: -8rem;
  background: radial-gradient(circle, rgba(255, 190, 80, .28) 0%, rgba(255, 190, 80, .08) 35%, transparent 62%);
  animation: respirar 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes respirar { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.faiscas i {
  position: absolute; bottom: -1rem; width: 6px; height: 6px; border-radius: 50%;
  background: #ffd27a; box-shadow: 0 0 10px 2px rgba(255, 200, 100, .8);
  opacity: 0; animation: subir 9s linear infinite;
}
.faiscas i:nth-child(1) { left: 8%;  animation-delay: 0s;   animation-duration: 10s; }
.faiscas i:nth-child(2) { left: 22%; animation-delay: 2.5s; animation-duration: 12s; width: 4px; height: 4px; }
.faiscas i:nth-child(3) { left: 38%; animation-delay: 5s;   animation-duration: 9s; }
.faiscas i:nth-child(4) { left: 55%; animation-delay: 1s;   animation-duration: 11s; width: 4px; height: 4px; }
.faiscas i:nth-child(5) { left: 66%; animation-delay: 3.5s; animation-duration: 13s; }
.faiscas i:nth-child(6) { left: 78%; animation-delay: 6s;   animation-duration: 10s; width: 8px; height: 8px; }
.faiscas i:nth-child(7) { left: 88%; animation-delay: 4s;   animation-duration: 12s; width: 4px; height: 4px; }
.faiscas i:nth-child(8) { left: 95%; animation-delay: 7.5s; animation-duration: 9s; }
@keyframes subir {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translate3d(2.5rem, -110svh, 0); opacity: 0; }
}

.abertura-grade { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .abertura-grade { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }

.sobretitulo {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.25rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #ffd27a;
}
.sobretitulo::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.sobretitulo-escuro { color: var(--chama-forte); }

.titulao {
  font-size: clamp(3.4rem, 1.4rem + 8.2vw, 7.6rem);
  line-height: .96; letter-spacing: -.012em; margin-bottom: 1.5rem;
}
.titulao .linha { display: block; }
.titulao .linha > span {
  display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(6px);
  animation: palavra .9s var(--suave) forwards; animation-delay: calc(var(--i) * .12s + .15s);
}
.titulao .luz {
  color: #ffd27a;
  text-shadow: 0 0 .35em rgba(255, 190, 80, .65), 0 0 1.1em rgba(255, 170, 60, .4);
}
@keyframes palavra { to { opacity: 1; transform: none; filter: none; } }

.abertura-p { font-size: 1.1875rem; color: rgba(255, 255, 255, .82); max-width: 28em; margin-bottom: 2rem; }

/* Palco da vela */
.palco {
  position: relative; justify-self: center;
  width: min(86vw, 34rem); aspect-ratio: 1;
  display: grid; place-items: center;
  --tx: 0; --ty: 0;
}
.disco {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #fffdf6 0%, #f4f5f1 55%, #dfe2ee 100%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6), 0 0 0 10px rgba(255, 255, 255, .06);
  transform: translate3d(calc(var(--tx) * -6px), calc(var(--ty) * -6px), 0);
  transition: transform .25s ease-out;
}
.aneis i {
  position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(255, 210, 122, .5);
  animation: anel 6s ease-out infinite;
}
.aneis i:nth-child(2) { animation-delay: 3s; }
@keyframes anel { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }

/* Slides da abertura: troca a cada 3 s, esmaecendo.
   A foto se mescla ao disco (multiply) para o fundo branco sumir;
   a chama fica numa camada própria, sem mesclagem. */
.palco { animation: entrar 1.1s var(--suave) both .3s; }
@keyframes entrar { from { opacity: 0; translate: 0 3rem; } to { opacity: 1; translate: 0 0; } }
.hero-foto {
  position: absolute; z-index: 1; left: 50%; top: 15%; height: 70%;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: translate3d(calc(-50% + var(--tx) * 10px), calc(var(--ty) * 8px), 0);
  transition: opacity .9s ease, transform .25s ease-out;
}
.hero-foto.is-ativo { opacity: 1; }
.hero-foto img { height: 100%; width: auto; max-width: none; }
.hero-luz { mix-blend-mode: normal; z-index: 2; }
.chip { transition: opacity .3s ease; }
.chip.troca { opacity: 0; }

/* Chama */
.chama {
  position: absolute; z-index: 2; left: var(--pavio-x, 50%); top: 2%;
  width: 34%; aspect-ratio: 40 / 70;
  transform: translate(-50%, -94%);
  transform-origin: 50% 100%;
  pointer-events: none;
  animation: tremer 2.4s ease-in-out infinite;

}
.chama::before {
  content: ""; position: absolute; left: 50%; top: 60%; width: 520%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 70, .55) 0%, rgba(255, 190, 70, .18) 35%, transparent 65%);
  animation: halo 3.1s ease-in-out infinite;
}
.chama svg { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 10px rgba(255, 170, 50, .9)); }
@keyframes tremer {
  0%, 100% { transform: translate(-50%, -94%) scale(1, 1) rotate(0deg); }
  18% { transform: translate(-50%, -94%) scale(.94, 1.06) rotate(-2.2deg); }
  37% { transform: translate(-50%, -94%) scale(1.05, .95) rotate(1.6deg); }
  58% { transform: translate(-50%, -94%) scale(.96, 1.04) rotate(-1deg); }
  79% { transform: translate(-50%, -94%) scale(1.03, .98) rotate(2deg); }
}
@keyframes halo { 0%, 100% { opacity: .85; scale: 1; } 50% { opacity: 1; scale: 1.12; } }

.chip {
  position: absolute; z-index: 3; padding: .5rem .9rem; border-radius: 999px;
  background: #fff; color: var(--tinta); font-size: .875rem; font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
  animation: flutuar 5s ease-in-out infinite;
}
.chip-a { left: -2%; top: 24%; }
.chip-b { right: -2%; bottom: 20%; animation-delay: 1.6s; }
@keyframes flutuar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.6rem; } }
.selo { position: absolute; z-index: 3; width: 6.5rem; height: 6.5rem; right: 4%; top: 2%; animation: girar 22s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
@media (min-width: 60rem) { .selo { width: 7.5rem; height: 7.5rem; } .chip-a { left: -6%; } .chip-b { right: -4%; } }

/* ---------- Seções ---------- */
.secao { padding: 5rem 0; }
.secao-cabeca { margin-bottom: 2.5rem; }
.secao-cabeca h2 { font-size: clamp(2.4rem, 1.7rem + 2.8vw, 4rem); margin-bottom: 1rem; }
.secao-cabeca p { font-size: 1.125rem; color: var(--tinta-suave); }

/* Aparecer ao rolar */
[data-reveal] { opacity: 0; transform: translateY(1.75rem); transition: opacity .8s var(--suave), transform .8s var(--suave); transition-delay: var(--d, 0s); }
[data-reveal].is-visivel { opacity: 1; transform: none; }
.abertura [data-reveal] { opacity: 0; }
.abertura [data-reveal].is-visivel { opacity: 1; }

/* ---------- Vitrine de produtos ---------- */
.produtos { background: var(--branco); }
.vitrine { display: grid; gap: 2rem; --cor: #e9ebf7; }
@media (min-width: 60rem) { .vitrine { grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; } }

.vitrine-palco {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--cor); border-radius: 2rem;
  aspect-ratio: 1 / 1.08; width: 100%;
  display: grid; place-items: center;
  transition: background-color .6s var(--suave);
}
.vitrine-numero {
  position: absolute; z-index: -1; left: 50%; top: 50%; translate: -50% -50%;
  font-family: var(--titulo); font-size: clamp(14rem, 36vw, 26rem); line-height: 1;
  color: rgba(16, 25, 95, .07);
  -webkit-text-stroke: 0; user-select: none;
  transition: opacity .35s, transform .6s var(--suave);
}
.vitrine-numero.troca { opacity: 0; transform: scale(.85); }
.sombra {
  position: absolute; left: 50%; bottom: 12%; width: 42%; height: 4%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(10, 16, 66, .35), transparent);
  filter: blur(6px); z-index: 0;
}
.vitrine-foto {
  position: absolute; left: 50%; bottom: 14%; z-index: 1;
  height: 68%; translate: -50% 0;
  opacity: 0; transform: translateY(2.5rem) scale(.9) rotate(-3deg); filter: blur(8px);
  transition: opacity .55s var(--suave), transform .75s var(--suave), filter .55s var(--suave);
  pointer-events: none;
  animation: respiro-produto 6s ease-in-out infinite;
}
.vitrine-foto.is-ativo { opacity: 1; transform: none; filter: none; }
.vitrine-foto { mix-blend-mode: multiply; }
.vitrine-foto img { height: 100%; width: auto; max-width: none; }
.vitrine-luz { mix-blend-mode: normal; z-index: 2; }
.vitrine-foto .chama-g { width: 30%; }
@keyframes respiro-produto { 0%, 100% { translate: -50% 0; } 50% { translate: -50% -.5rem; } }
.vitrine-foto .chama { top: 3%; }

/* Fotos de fundo preto e madeira: ocupam o quadro inteiro */
.vitrine-cheia {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; max-width: none;
  object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity .6s var(--suave), transform 1.2s var(--suave);
  pointer-events: none;
}
.vitrine-cheia.is-ativo { opacity: 1; transform: none; }

/* Navegação das fotos dentro da imagem */
.fotos-nav {
  position: absolute; z-index: 5; left: 50%; bottom: 1rem; translate: -50% 0;
  display: flex; align-items: center; gap: .15rem; padding: .25rem;
  border-radius: 999px; background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -10px rgba(10, 16, 66, .5);
}
.fotos-nav button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--tinta); }
.fn-seta { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; transition: background-color .2s; }
.fn-seta:hover { background: rgba(16, 25, 95, .08); }
.fn-seta svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fn-ponto { position: relative; width: 1.5rem; height: 2rem; }
.fn-ponto::before {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: .45rem; height: .45rem; border-radius: 999px; background: var(--tinta); opacity: .3;
  transition: width .3s var(--suave), opacity .3s;
}
.fn-ponto:hover::before { opacity: .6; }
.fn-ponto.is-ativo::before { width: 1.2rem; opacity: 1; }

.abas { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.aba {
  flex: none; min-height: 2.75rem;
  padding: .6rem 1.15rem; border: 2px solid var(--linha); border-radius: 999px;
  background: transparent; color: var(--tinta); font: 600 .9375rem/1.1 var(--texto); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--suave);
}
.aba:hover { border-color: var(--tinta); transform: translateY(-2px); }
.aba.is-ativo { background: var(--tinta); border-color: var(--tinta); color: #fff; }

.painel > * { animation: painel-entra .55s var(--suave) both; }
.painel > *:nth-child(2) { animation-delay: .05s; }
.painel > *:nth-child(3) { animation-delay: .1s; }
.painel > *:nth-child(4) { animation-delay: .15s; }
.painel > *:nth-child(5) { animation-delay: .2s; }
.painel > *:nth-child(6) { animation-delay: .25s; }
@keyframes painel-entra { from { opacity: 0; transform: translateY(.9rem); } }
.painel-familia { margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--chama-forte); }
.painel h3 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin-bottom: .75rem; }
.painel-texto { color: var(--tinta-suave); font-size: 1.125rem; }
.painel-nota { font-size: .9375rem; color: var(--tinta-suave); margin: 1rem 0 1.5rem; }

.medidas { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums lining-nums; margin-top: 1rem; }
.medidas th, .medidas td { text-align: left; vertical-align: top; padding: .7rem .75rem .7rem 0; border-top: 1px solid var(--linha); }
.medidas thead th { border-top: 0; padding-top: .25rem; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--tinta-suave); }
.medidas tbody th { font-weight: 600; }
.medidas small { display: block; font-size: .8125rem; color: var(--tinta-suave); }
.medidas tbody tr:last-child th, .medidas tbody tr:last-child td { border-bottom: 1px solid var(--linha); }

.nota-medidas { margin: 3rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--linha); font-size: .9375rem; color: var(--tinta-suave); max-width: none; }

/* ---------- Números ---------- */
.numeros { background: var(--tinta); color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden; }
.numeros::before {
  content: ""; position: absolute; inset: -40% 20% auto auto; width: 30rem; height: 30rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 80, .18), transparent 65%);
}
.numeros-grade { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; text-align: center; }
@media (min-width: 48rem) { .numeros-grade { grid-template-columns: repeat(4, 1fr); } }
.numeros b { display: block; font-family: var(--titulo); font-weight: 400; font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem); line-height: 1; color: #ffd27a; font-variant-numeric: lining-nums tabular-nums; }
.numeros span { display: block; margin-top: .5rem; font-size: .9375rem; color: rgba(255, 255, 255, .8); }

/* ---------- Lojistas ---------- */
.lojistas { background: var(--kraft); }
.lojistas .secao-cabeca p { color: var(--tinta); }
.lojistas-topo { display: grid; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.lojistas-topo .secao-cabeca { margin-bottom: 0; }
.lojistas-topo .acoes { margin-top: 2rem; }

.calc {
  display: grid; gap: 1.5rem; margin-bottom: 3rem; padding: 1.5rem;
  background: var(--branco); border-radius: 1.5rem; box-shadow: 0 24px 50px -30px rgba(10, 16, 66, .5);
}
@media (min-width: 48rem) { .calc { grid-template-columns: 1fr 1.2fr; padding: 2rem 2.25rem; gap: 3rem; align-items: center; } }
.calc h3 { font-size: 1.9rem; margin-bottom: 1.25rem; }
.calc label { display: block; font-size: .875rem; font-weight: 700; margin: 1rem 0 .4rem; }
.calc select, .calc input {
  width: 100%; min-height: 3rem; padding: .5rem .9rem; border: 2px solid var(--linha); border-radius: .75rem;
  background: var(--parafina); color: var(--tinta); font: 600 1rem var(--texto);
}
.calc select:focus, .calc input:focus { border-color: var(--tinta); outline: none; }
.calc-qtd { display: flex; gap: .5rem; }
.calc-qtd input { text-align: center; }
.calc-qtd button {
  flex: none; width: 3rem; border: 0; border-radius: .75rem; background: var(--tinta); color: #fff;
  font-size: 1.4rem; cursor: pointer; transition: background-color .2s, transform .15s;
}
.calc-qtd button:hover { background: #1d2a85; }
.calc-qtd button:active { transform: scale(.94); }
.calc-saida { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 0; }
.calc-saida div { background: var(--parafina); border-radius: 1rem; padding: 1rem .9rem; text-align: center; }
.calc-saida dt { font-size: .8125rem; font-weight: 700; color: var(--tinta-suave); }
.calc-saida dd { margin: .3rem 0 0; font-family: var(--titulo); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.calc-saida dd span { transition: color .3s; }
.calc-saida dd.pulsa span { color: var(--chama-forte); }

.tabela-rolagem { overflow-x: auto; }
.caixas { width: 100%; min-width: 36rem; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.caixas caption { text-align: left; font-family: var(--titulo); font-size: 1.75rem; padding-bottom: .75rem; }
.caixas th, .caixas td { text-align: left; vertical-align: top; padding: .85rem 1rem .85rem 0; border-top: 1px solid rgba(16, 25, 95, .3); transition: background-color .2s; }
.caixas thead th { border-top: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta); font-size: .875rem; font-weight: 700; }
.caixas tbody th { font-weight: 600; }
.caixas tbody tr:hover > * { background: rgba(255, 255, 255, .35); }
.caixas tbody tr:last-child th, .caixas tbody tr:last-child td { border-bottom: 2px solid var(--tinta); }

/* ---------- Quem somos ---------- */
.historia { background: var(--parafina); overflow: hidden; }
.historia-grade { display: grid; gap: 2.5rem; align-items: center; }
.historia-desenho { margin: 0; justify-self: center; }
.historia-desenho img { width: 9rem; animation: balanca 7s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes balanca { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.historia-texto p { font-size: 1.125rem; }
.historia blockquote { margin: 2rem 0 0; padding: 0; }
.historia blockquote p { font-family: var(--citacao); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.25; margin-bottom: .5rem; }
.historia blockquote footer { font-size: .9375rem; color: var(--tinta-suave); }
@media (min-width: 60rem) {
  .historia-grade { grid-template-columns: .7fr 1.3fr; gap: 4rem; }
  .historia-desenho img { width: 17rem; }
}

/* ---------- Contato ---------- */
.contato { background: var(--tinta-fundo); color: #fff; padding: 4.5rem 0 2rem; }
.contato-grade { display: grid; gap: 2.5rem; }
.contato-logo img { width: 13rem; }
.contato-canais { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .75rem; font-size: 1.1875rem; }
.contato-canais span { display: block; font-size: .875rem; color: rgba(255, 255, 255, .75); }
.contato-canais a { font-weight: 600; text-underline-offset: .2em; overflow-wrap: anywhere; }
.contato address { font-style: normal; font-size: 1.0625rem; }
.contato address a { display: inline-block; margin-top: .5rem; font-weight: 600; text-underline-offset: .2em; }
.legal { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .875rem; color: rgba(255, 255, 255, .75); max-width: none; }
@media (min-width: 60rem) { .contato-grade { grid-template-columns: .9fr 1.2fr 1fr; gap: 3rem; } }

/* Tabela das caixas no celular */
@media (max-width: 39.99rem) {
  .caixas { min-width: 0; }
  .caixas thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .caixas tbody tr { display: block; padding: .85rem 0; border-top: 1px solid rgba(16, 25, 95, .3); }
  .caixas tbody tr:first-child { border-top: 2px solid var(--tinta); }
  .caixas tbody tr:last-child { border-bottom: 2px solid var(--tinta); }
  .caixas tbody th, .caixas tbody td, .caixas tbody tr:last-child th, .caixas tbody tr:last-child td { display: flex; gap: 1rem; padding: .15rem 0; border: 0; }
  .caixas tbody th { font-size: 1.0625rem; padding-bottom: .35rem; }
  .caixas tbody td::before { content: attr(data-rotulo); flex: 0 0 6.5rem; font-weight: 600; }
  .vitrine-palco { aspect-ratio: 1 / 1.12; border-radius: 1.5rem; }
  .secao { padding: 3.5rem 0; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal], .titulao .linha > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .faixa-trilho { animation: none; }
}

@media (min-width: 48rem) { .abas { flex-wrap: wrap; overflow: visible; } }
.vitrine > *, .lojistas-topo > *, .calc > * { min-width: 0; }

/* Botão da Amazon: ao lado do orçamento */
.painel .acoes { margin-top: .25rem; }
.botao-amazon { background: var(--chama); color: var(--tinta-fundo); }
.botao-amazon:hover { background: #ffb445; }
