/* =====================================================================
   VAZ PRINTING — styles.css
   Layout híbrido: header/produtos CLAROS (logótipo e produtos visíveis)
   + hero/secções de destaque ESCUROS (energia da marca).
   ---------------------------------------------------------------------
   ✏️ Cores da marca: bloco :root logo abaixo.
   ===================================================================== */

:root {
  --navy-900: #0a1628;
  --navy-800: #0d2144;
  --navy-700: #132c58;
  --gold:     #f5a623;
  --brand:    #1e6fd9;
  --brand-lt: #3b8ef0;
  --mist:     #f4f6fa;
  --line:     #e3e8f0;
  --ink:      #0a1628;
  --ink-60:   rgba(10, 22, 40, 0.62);
  --ink-45:   rgba(10, 22, 40, 0.45);
}

* { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }

*:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Âncoras não ficam escondidas sob o header fixo */
section[id], main[id] { scroll-margin-top: 6rem; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* =====================================================================
   BOTÕES
   ===================================================================== */
.btn-gold, .btn-outline, .btn-whatsapp, .btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; border-radius: .7rem; line-height: 1;
  cursor: pointer; text-align: center; border: none;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #ffb944);
  color: #1a1200; box-shadow: 0 6px 18px rgba(245,166,35,.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245,166,35,.5); }

.btn-outline {
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,.07); color: #fff; border: 1.5px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #1eb954);
  color: #04310f; box-shadow: 0 6px 18px rgba(37,211,102,.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,211,102,.5); }

/* =====================================================================
   SECÇÃO 01 · TOP BAR
   ===================================================================== */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.75); }
.topbar-link {
  display: inline-flex; align-items: center; gap: .4rem;
  white-space: nowrap; transition: color .2s ease;
}
.topbar-link:hover { color: var(--gold); }

/* =====================================================================
   LOGIN (Google) — barra do topo
   ===================================================================== */
.auth-zona { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.auth-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .6rem; border-radius: .45rem; cursor: pointer;
  background: #fff; border: 1px solid rgba(255,255,255,.2);
  color: #3c4043; font-size: .72rem; font-weight: 700;
  transition: opacity .2s ease;
}
.auth-btn:hover { opacity: .88; }
.auth-user { display: inline-flex; align-items: center; gap: .4rem; }
.auth-user img { width: 1.35rem; height: 1.35rem; border-radius: 999px; }
.auth-nome { font-size: .72rem; font-weight: 700; color: #fff; }
.auth-sair, .auth-painel {
  background: none; border: none; cursor: pointer; padding: 0;
  font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.55);
  text-decoration: underline; white-space: nowrap;
}
.auth-sair:hover, .auth-painel:hover { color: var(--gold); }
.auth-painel { color: var(--gold); }

/* Histórico de encomendas do cliente */
.hist-linha {
  padding: .7rem .85rem; border-radius: .7rem;
  background: var(--mist); border: 1px solid var(--line);
}
.hist-topo { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.hist-data { font-size: .72rem; color: var(--ink-45); }
.hist-total { font-size: .9rem; color: var(--brand); }
.hist-itens { font-size: .78rem; color: var(--ink-60); margin-top: .25rem; }

/* Seletor de idioma */
.lang-wrap { position: relative; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .6rem; border-radius: .45rem;
  background: rgba(255,255,255,.08); color: #fff;
  font-weight: 700; font-size: .72rem; letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.12); cursor: pointer;
  transition: background .2s ease;
}
.lang-btn:hover { background: rgba(255,255,255,.16); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 70;
  min-width: 11rem; padding: .35rem;
  background: #fff; border: 1px solid var(--line); border-radius: .7rem;
  box-shadow: 0 18px 40px rgba(10,22,40,.22);
}
.lang-menu li { list-style: none; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .55rem .7rem; border-radius: .45rem;
  background: none; border: none; cursor: pointer;
  font-size: .875rem; font-weight: 600; color: var(--ink); text-align: left;
  transition: background .15s ease;
}
.lang-menu button:hover { background: var(--mist); }
.lang-menu button .code { font-size: .7rem; color: var(--ink-45); font-weight: 700; }
.lang-menu button.is-active { background: rgba(30,111,217,.1); color: var(--brand); }

/* =====================================================================
   SECÇÃO 02 · HEADER (claro, sticky)
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10,22,40,.1); }
.site-header.scrolled nav { height: 4.25rem; }
.site-header nav { transition: height .3s ease; }
.site-header.scrolled img { height: 2.5rem; }
.site-header img { transition: height .3s ease; }

.nav-link { position: relative; color: var(--ink-60); transition: color .2s ease; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -.45rem;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: .6rem;
  background: var(--mist); border: 1px solid var(--line); color: var(--ink);
  cursor: pointer;
}
.mobile-link {
  display: block; padding: .7rem .5rem; border-radius: .5rem;
  color: var(--ink); transition: background .2s ease, color .2s ease;
}
.mobile-link:hover { background: var(--mist); color: var(--brand); }

/* =====================================================================
   SECÇÃO 03 · HERO (escuro)
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 75% 0%, rgba(30,111,217,.3), transparent 60%),
    linear-gradient(165deg, #0a1628 0%, #0d2144 55%, #0a1628 100%);
  color: #fff;
}
.hero-orb {
  position: absolute; border-radius: 999px; filter: blur(60px);
  pointer-events: none; animation: breathe 9s ease-in-out infinite;
}
.hero-orb-1 { top: -12%; right: -6%; width: 46vw; max-width: 620px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30,111,217,.45), transparent 65%); }
.hero-orb-2 { bottom: -18%; left: -8%; width: 38vw; max-width: 500px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245,166,35,.22), transparent 65%);
  animation-delay: -4s; }
@keyframes breathe { 0%,100% { opacity:.7; transform: scale(1); } 50% { opacity:1; transform: scale(1.1); } }

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 35%, transparent 100%);
}
.hero-fade {
  position: absolute; inset-inline: 0; bottom: 0; height: 6rem;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; margin-bottom: 1.5rem;
  border-radius: 999px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #ffd88a;
}
.badge .dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--gold); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-family: 'Anton', Impact, sans-serif; font-weight: 400;
  text-transform: uppercase; line-height: .98; letter-spacing: .01em;
  font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.72);
  max-width: 34rem; margin-bottom: 2rem;
}
.hero.text-center .hero-sub, .hero .text-center .hero-sub { margin-inline: auto; }
@media (max-width: 1023px) { .hero-sub { margin-inline: auto; } }

/* Mockup 3D animado */
.hero-stage { perspective: 1200px; display: flex; justify-content: center; }
.hero-card {
  position: relative; width: min(100%, 26rem); padding: 2rem 2rem 1.25rem;
  border-radius: 1.75rem;
  background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  transition: transform .25s ease;
}
@keyframes float {
  0%,100% { transform: rotateX(6deg) rotateY(-10deg) translateY(0); }
  50%     { transform: rotateX(6deg) rotateY(-10deg) translateY(-14px); }
}
.hero-card-glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(30,111,217,.5), transparent 45%, rgba(245,166,35,.35));
  opacity: .5; filter: blur(14px); z-index: -1;
}
/* Foto do modelo dentro do cartão do hero */
.hero-product {
  transform: translateZ(45px);
  border-radius: 1.1rem; overflow: hidden;
  background: rgba(255,255,255,.06);
  aspect-ratio: 62 / 83;
  transition: opacity .45s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.hero-product img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-product svg { width: 100%; height: auto; display: block; }
.hero-card-label { text-align: center; margin-top: .85rem; transform: translateZ(25px); }
.hero-legenda {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .2rem;
}
.hero-card-slogan {
  font-family: 'Anton', Impact, sans-serif; text-transform: uppercase;
  letter-spacing: .05em; color: var(--gold); font-size: 1.05rem;
}

/* =====================================================================
   SECÇÃO 03B · MARQUEE — faixa dourada em movimento contínuo
   ===================================================================== */
.marquee {
  position: relative; z-index: 5;
  background: linear-gradient(90deg, var(--gold), #ffb944);
  transform: rotate(-1.2deg) scale(1.02);
  margin: -1.2rem 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(245,166,35,.3);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content; padding: .65rem 0;
  animation: marquee-slide 24s linear infinite;
}
.marquee-track span {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--navy-900); white-space: nowrap;
}
.marquee-track i { font-style: normal; color: rgba(10,22,40,.5); }
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* =====================================================================
   SECÇÕES — fundos
   ===================================================================== */
.section-light { background: #fff;      padding: 5rem 0; }
.section-mist  { background: var(--mist); padding: 5rem 0; }
.section-dark  { background: linear-gradient(165deg, #0a1628, #0d2144); color: #fff; padding: 5rem 0; }
@media (min-width: 640px) { .section-light, .section-mist, .section-dark { padding: 6.5rem 0; } }

.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3.5rem; }
.eyebrow {
  display: inline-block; color: var(--brand); font-weight: 800;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: .75rem;
}
.section-dark .eyebrow { color: var(--gold); }
.section-title {
  font-family: 'Anton', Impact, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.02;
}
.section-sub { color: var(--ink-60); margin-top: .9rem; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }

/* =====================================================================
   FOTOS DE PRODUTO — mockup fotográfico + camada de cor
   A foto é de uma peça branca; a cor é aplicada por cima em 'multiply',
   recortada pela própria foto (é assim que os mockups profissionais
   mudam de cor sem precisar de uma foto por cada cor).
   ===================================================================== */
.foto-prod {
  position: relative; display: block; width: 100%; height: 100%;
  isolation: isolate;   /* impede que o multiply afete o fundo da página */
}
.foto-prod img {
  display: block; width: 100%; height: 100%;
  object-fit: contain; user-select: none; -webkit-user-drag: none;
}
.foto-tinta {
  position: absolute; inset: 0; pointer-events: none;
  mix-blend-mode: multiply;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

/* =====================================================================
   SECÇÃO 04 · CARTÕES DE PRODUTO (com inclinação 3D no hover)
   ===================================================================== */
.produto-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
  overflow: hidden; cursor: pointer; text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  transform-style: preserve-3d;
}
.produto-card:hover { border-color: var(--brand); box-shadow: 0 18px 40px rgba(10,22,40,.14); }
.produto-media {
  background: var(--mist); padding: 1rem; aspect-ratio: 1;
  display: grid; place-items: center;
}
.produto-media svg { width: 100%; height: 100%; transition: transform .35s ease; }
.produto-card:hover .produto-media svg { transform: scale(1.07) translateZ(30px); }
.produto-body { padding: .9rem 1rem 1.1rem; }
.produto-nome { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.produto-preco { color: var(--ink-45); font-size: .8rem; margin-top: .25rem; }
.produto-preco strong { color: var(--brand); font-size: 1rem; }
.produto-cta {
  margin-top: .7rem; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; font-weight: 700; color: var(--gold);
  opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease;
}
.produto-card:hover .produto-cta { opacity: 1; transform: translateY(0); }
/* Em ecrãs táteis o CTA está sempre visível */
@media (hover: none) { .produto-cta { opacity: 1; transform: none; } }

/* =====================================================================
   SECÇÃO 05 · CONFIGURADOR
   ===================================================================== */
/* Grelha do configurador.
   TELEMÓVEL: ordem do HTML → inputs, pré-visualização (resultado), quantidade.
   DESKTOP: pré-visualização fixa à esquerda; inputs e quantidade à direita. */
.conf-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) {
  .conf-grid {
    grid-template-columns: 1fr 1fr; gap: 2rem;
    grid-template-areas: "preview inputs" "preview qty";
  }
  .conf-preview { grid-area: preview; }
  .conf-inputs  { grid-area: inputs; }
  .conf-qty     { grid-area: qty; }
}
.conf-inputs, .conf-qty { display: flex; flex-direction: column; gap: 1.5rem; }

.preview-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 1.25rem;
  padding: 1.25rem; box-shadow: 0 10px 30px rgba(10,22,40,.07);
}
@media (min-width: 1024px) { .preview-panel { position: sticky; top: 7rem; } }
.preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.preview-tag {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: rgba(30,111,217,.1); padding: .3rem .6rem; border-radius: 999px;
}
.preview-name { font-weight: 700; font-size: .9rem; color: var(--ink-60); }

/* Seletor de vistas (Frente / Lado / Costas) */
.side-switch {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .3rem;
  padding: .28rem; margin-bottom: .75rem;
  background: var(--mist); border: 1px solid var(--line); border-radius: .7rem;
}
.side-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .5rem .5rem; border-radius: .5rem; border: none; cursor: pointer;
  background: transparent; color: var(--ink-60);
  font-size: .85rem; font-weight: 700; transition: all .2s ease;
}
.side-btn:hover { color: var(--brand); }
.side-btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(10,22,40,.12); }
/* Pontinho verde = esse lado já tem design */
.side-dot { width: .45rem; height: .45rem; border-radius: 999px; background: #178f47; }
.side-dot[hidden] { display: none; }

.preview-stage {
  background: var(--mist); border-radius: 1rem; padding: 1.5rem;
  display: grid; place-items: center; perspective: 900px;
}
.preview-mockup {
  position: relative; width: 100%; max-width: 26rem; aspect-ratio: 1;
  transition: transform .18s ease; transform-style: preserve-3d;
}
.preview-svg { position: absolute; inset: 0; }
.preview-svg svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 24px rgba(10,22,40,.16)); }

/* Caixa da estampagem: LOCAL FIXO + TAMANHO REAL.
   O cliente escolhe o local e o tamanho — nada se arrasta. */
.print-box { position: absolute; display: grid; place-items: center; }
.print-box img {
  width: 100%; height: 100%; object-fit: contain;
  display: block; user-select: none; -webkit-user-drag: none;
}
/* Guia do local ainda por preencher */
.print-box.guia {
  border: 1.5px dashed rgba(30,111,217,.55);
  background: rgba(30,111,217,.07); border-radius: .2rem;
}
/* Realce do local em que se está a trabalhar */
.print-box.ativa { outline: 2px solid rgba(30,111,217,.5); outline-offset: 2px; border-radius: .2rem; }

/* Medida em cm — sempre visível junto à estampagem */
.print-medida {
  position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: .6rem; font-weight: 800; line-height: 1;
  padding: .18rem .4rem; border-radius: .28rem; white-space: nowrap;
  box-shadow: 0 2px 7px rgba(10,22,40,.28);
  pointer-events: none;
}
.print-box.guia .print-medida { background: rgba(30,111,217,.8); }

.drag-hint {
  display: flex; align-items: center; gap: .45rem;
  font-size: .76rem; color: var(--ink-45); margin-top: .8rem;
}

/* =====================================================================
   POSIÇÕES DE ESTAMPAGEM — um cartão por posição, com o seu upload
   ===================================================================== */
.pos-list { display: flex; flex-direction: column; gap: .6rem; }
.pos-card {
  border: 1.5px solid var(--line); border-radius: .8rem;
  background: var(--mist); overflow: hidden; transition: all .2s ease;
}
.pos-card.tem-design { border-color: var(--brand); background: rgba(30,111,217,.05); }
.pos-card.is-ativa { box-shadow: 0 0 0 3px rgba(30,111,217,.18); border-color: var(--brand); }
.pos-head {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .85rem; cursor: pointer; width: 100%;
  background: none; border: none; text-align: left;
}
.pos-nome { font-weight: 700; font-size: .88rem; color: var(--ink); flex: 1; }
.pos-vista {
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-45); background: #fff; border: 1px solid var(--line);
  padding: .15rem .45rem; border-radius: 999px;
}
.pos-check {
  width: 1.3rem; height: 1.3rem; border-radius: 999px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 2px solid var(--line); background: #fff; color: #fff;
  font-size: .7rem; font-weight: 800;
}
.pos-card.tem-design .pos-check { background: #178f47; border-color: #178f47; }
.pos-body { padding: 0 .85rem .85rem; }
.pos-file {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; padding: .6rem; border-radius: .55rem; cursor: pointer;
  border: 1.5px dashed var(--line); background: #fff;
  font-size: .8rem; font-weight: 600; color: var(--brand);
  transition: border-color .2s ease, background .2s ease;
}
.pos-file:hover { border-color: var(--brand); background: rgba(30,111,217,.06); }
.pos-info {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  font-size: .78rem; font-weight: 600; margin-bottom: .5rem;
}
.pos-info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-sizes { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.pos-size {
  padding: .3rem .55rem; border-radius: .4rem; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .72rem; font-weight: 700; color: var(--ink-60);
  transition: all .15s ease;
}
.pos-size:hover { border-color: var(--brand); color: var(--brand); }
.pos-size.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* =====================================================================
   ENCOMENDA — várias seleções (cores/tamanhos/produtos diferentes)
   ===================================================================== */
.order-badge {
  margin-left: auto; font-size: .7rem; font-weight: 800;
  background: var(--gold); color: #1a1200;
  padding: .15rem .5rem; border-radius: 999px;
}
.order-list { display: flex; flex-direction: column; gap: .5rem; }
.order-empty {
  font-size: .82rem; color: var(--ink-45); text-align: center;
  padding: 1.25rem .75rem; border: 1.5px dashed var(--line); border-radius: .7rem;
}
.order-line {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .7rem; border-radius: .7rem;
  background: var(--mist); border: 1px solid var(--line);
}
.order-thumb {
  width: 2.6rem; height: 2.6rem; flex-shrink: 0; border-radius: .45rem;
  background: #fff; border: 1px solid var(--line); padding: .15rem;
}
.order-thumb svg { width: 100%; height: 100%; }
.order-txt { flex: 1; min-width: 0; }
.order-t1 { font-size: .82rem; font-weight: 700; color: var(--ink); }
.order-t2 { font-size: .72rem; color: var(--ink-45); }
.order-val { font-size: .84rem; font-weight: 800; color: var(--brand); white-space: nowrap; }
.order-del {
  width: 1.8rem; height: 1.8rem; flex-shrink: 0; border-radius: .4rem;
  background: none; border: 1px solid var(--line); color: #d92d20;
  cursor: pointer; font-size: 1rem; line-height: 1;
  transition: all .2s ease;
}
.order-del:hover { background: #d92d20; border-color: #d92d20; color: #fff; }

/* Aviso "adicionado à encomenda" */
.toast {
  position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%) translateY(1rem);
  z-index: 80; padding: .7rem 1.2rem; border-radius: 999px;
  background: #178f47; color: #fff; font-size: .85rem; font-weight: 700;
  box-shadow: 0 10px 26px rgba(23,143,71,.4);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.steps-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem;
}
.step-title {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1rem; margin-bottom: .9rem;
}
.step-num {
  display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800; flex-shrink: 0;
}

/* Chips de produto */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .5rem .85rem; border-radius: .6rem; cursor: pointer;
  background: var(--mist); border: 1.5px solid transparent;
  font-size: .82rem; font-weight: 600; color: var(--ink-60);
  transition: all .2s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Sub-blocos dentro de um passo (corte, gola, tamanho) */
.sub-block { margin-top: .9rem; }
.sub-block[hidden] { display: none; }
.sub-label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-45); margin-bottom: .45rem;
}
.chip-sm { padding: .38rem .7rem; font-size: .78rem; }

/* Seletor de modelo/variante (da tabela de preços) */
.variante-select {
  width: 100%; margin-top: .8rem;
  padding: .65rem 2.4rem .65rem .85rem;
  font-size: .88rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: .6rem;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231e6fd9' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.05rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.variante-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,111,217,.16); }
.variante-select[hidden] { display: none; }

/* Amostras de cor */
.swatch-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.swatch {
  width: 2.4rem; height: 2.4rem; border-radius: .6rem; cursor: pointer;
  border: 2px solid var(--line); position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,111,217,.22); transform: scale(1.08); }

/* Upload */
.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: 1.5rem 1rem; border-radius: .8rem; cursor: pointer; text-align: center;
  border: 2px dashed var(--line); background: var(--mist);
  transition: border-color .2s ease, background .2s ease;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--brand); background: rgba(30,111,217,.06); }
.design-info {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  margin-top: .7rem; padding: .55rem .75rem; border-radius: .5rem;
  background: rgba(30,111,217,.08); font-size: .82rem; font-weight: 600;
}
.link-danger { color: #d92d20; font-weight: 700; background: none; border: none; cursor: pointer; flex-shrink: 0; }
.link-danger:hover { text-decoration: underline; }

.slider-row { margin-top: 1rem; }
.slider-row label { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-60); margin-bottom: .45rem; }
.slider-row input[type="range"] { width: 100%; accent-color: var(--brand); }

/* Quantidade */
.qty-row { display: flex; align-items: center; gap: .5rem; }
.qty-btn {
  width: 2.6rem; height: 2.6rem; border-radius: .6rem; flex-shrink: 0;
  background: var(--mist); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: all .2s ease;
}
.qty-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
#qtd-input {
  flex: 1; min-width: 0; height: 2.6rem; text-align: center;
  border: 1px solid var(--line); border-radius: .6rem; font-weight: 700; font-size: 1rem;
  color: var(--ink); background: #fff;
}

/* Escalões de desconto por quantidade */
.tier-label { font-size: .78rem; font-weight: 700; color: var(--ink-60); margin: 1rem 0 .5rem; }
.tier-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
@media (max-width: 420px) { .tier-strip { grid-template-columns: repeat(2, 1fr); } }
.tier {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: .55rem .25rem; border-radius: .6rem;
  border: 1.5px solid var(--line); background: var(--mist);
  cursor: pointer; transition: all .2s ease;
}
.tier:hover { border-color: var(--brand); transform: translateY(-2px); }
.tier.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(30,111,217,.3); }
.tier-range { font-size: .66rem; font-weight: 700; opacity: .75; white-space: nowrap; }
.tier-price { font-size: .82rem; font-weight: 800; }
.tier-hint {
  display: flex; align-items: center; gap: .35rem;
  font-size: .76rem; font-weight: 700; color: #b87a12; margin-top: .55rem;
}
.price-save span, .price-save strong { color: #178f47; }

.price-box { margin-top: 1rem; padding: 1rem; border-radius: .8rem; background: var(--mist); }
.price-line { display: flex; justify-content: space-between; align-items: baseline; font-size: .88rem; color: var(--ink-60); }
.price-line + .price-line { margin-top: .5rem; }
.price-total { font-size: 1rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.price-total strong { font-family: 'Anton', Impact, sans-serif; font-size: 1.8rem; color: var(--brand); line-height: 1; }
.price-note { font-size: .7rem; color: var(--ink-45); margin-top: .6rem; }

/* =====================================================================
   SECÇÃO 06 · GALERIA
   ===================================================================== */
.galeria-item {
  position: relative; overflow: hidden; border-radius: 1rem; cursor: pointer;
  background: var(--mist); border: 1px solid var(--line); aspect-ratio: 1;
  display: grid; place-items: center; padding: 1.5rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.galeria-item svg { width: 100%; height: 100%; transition: transform .45s ease; }
.galeria-item:hover { border-color: var(--brand); box-shadow: 0 16px 36px rgba(10,22,40,.13); }
.galeria-item:hover svg { transform: scale(1.08); }
.galeria-cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem 1rem .9rem;
  background: linear-gradient(to top, rgba(10,22,40,.88), transparent);
  color: #fff; font-weight: 700; font-size: .9rem;
  opacity: 0; transform: translateY(8px); transition: all .3s ease;
}
.galeria-item:hover .galeria-cap { opacity: 1; transform: translateY(0); }
@media (hover: none) { .galeria-cap { opacity: 1; transform: none; } }

/* =====================================================================
   SECÇÃO 06B · COMO FUNCIONA — 4 passos, SEM FOTOGRAFIAS
   Só tipografia + números + ícones. O fundo é feito de gradientes,
   não há nenhuma imagem carregada nesta secção.
   ===================================================================== */
.processo {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  padding: 4.5rem 0 4rem;
}
/* Brilhos de fundo (puro CSS) */
.processo::before,
.processo::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(90px); opacity: .5;
}
.processo::before {
  width: 34rem; height: 34rem; top: -14rem; left: -10rem;
  background: radial-gradient(circle, rgba(30,111,217,.55), transparent 70%);
}
.processo::after {
  width: 30rem; height: 30rem; bottom: -14rem; right: -8rem;
  background: radial-gradient(circle, rgba(245,166,35,.35), transparent 70%);
}
.processo > div { position: relative; z-index: 1; }
.processo .eyebrow { color: var(--gold); }
.section-sub-dark { color: rgba(255,255,255,.7); }

.passos {
  margin-top: 3rem; list-style: none; padding: 0;
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .passos { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .passos { grid-template-columns: repeat(4, 1fr); } }

.passo {
  position: relative; padding: 1.9rem 1.4rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.passo:hover {
  transform: translateY(-5px);
  border-color: rgba(245,166,35,.5);
  background: rgba(255,255,255,.08);
}
/* Seta a ligar os passos (só no alinhamento de 4 colunas) */
@media (min-width: 1024px) {
  .passo:not(:last-child)::after {
    content: ''; position: absolute; top: 50%; right: -.72rem;
    width: .5rem; height: .5rem; margin-top: -.25rem;
    border-top: 2px solid rgba(245,166,35,.55);
    border-right: 2px solid rgba(245,166,35,.55);
    transform: rotate(45deg);
  }
}
.passo-num {
  position: absolute; top: .7rem; right: 1rem;
  font-family: 'Anton', Impact, sans-serif; font-size: 2.6rem; line-height: 1;
  color: rgba(255,255,255,.09); letter-spacing: .02em;
}
.passo-ico {
  width: 2.9rem; height: 2.9rem; border-radius: .8rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30,111,217,.35), rgba(245,166,35,.25));
  border: 1px solid rgba(255,255,255,.16);
  color: var(--gold);
}
.passo-ico svg { width: 1.5rem; height: 1.5rem; }
.passo h3 {
  margin-top: 1rem; color: #fff; font-weight: 700; font-size: 1.06rem; line-height: 1.3;
}
.passo p {
  margin-top: .4rem; color: rgba(255,255,255,.62);
  font-size: .875rem; line-height: 1.55;
}
.processo-morada {
  margin: 2.5rem auto 0; width: fit-content;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .85rem; font-weight: 600;
}

/* =====================================================================
   SECÇÃO 07 · CHECKLISTS (secção escura)
   ===================================================================== */
.check-item, .service-item { display: flex; align-items: flex-start; gap: .85rem; }
.check-item { font-size: 1.02rem; color: rgba(255,255,255,.88); }
.service-item h3 { font-weight: 700; font-size: 1.05rem; }
.service-item p { color: rgba(255,255,255,.6); font-size: .875rem; margin-top: .15rem; }
.check {
  flex-shrink: 0; width: 1.5rem; height: 1.5rem; margin-top: .15rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ffb944);
  box-shadow: 0 0 12px rgba(245,166,35,.35); position: relative;
}
.check::after {
  content: ""; position: absolute; left: .52rem; top: .3rem;
  width: .36rem; height: .7rem; border: solid #1a1200; border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.stat { font-family: 'Anton', Impact, sans-serif; font-size: clamp(2rem,4.5vw,3rem); line-height: 1; color: var(--gold); }
.stat-label { color: rgba(255,255,255,.6); font-size: .8rem; margin-top: .4rem; text-transform: uppercase; letter-spacing: .08em; }

/* =====================================================================
   SECÇÃO 08 · TRUST BAR
   ===================================================================== */
.trust { text-align: center; }
.trust-ico {
  width: 3.25rem; height: 3.25rem; margin: 0 auto .9rem; display: grid; place-items: center;
  border-radius: .9rem; background: rgba(30,111,217,.1); color: var(--brand);
}
.trust-ico svg { width: 1.6rem; height: 1.6rem; }
.trust h3 { font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
.trust p { color: var(--ink-45); font-size: .84rem; }

/* =====================================================================
   SECÇÃO 09 · CONTACTO
   ===================================================================== */
.contact-card {
  display: block; padding: 1.35rem; border-radius: 1rem;
  background: #fff; border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 16px 34px rgba(10,22,40,.13); }
.contact-card h3 { font-weight: 700; font-size: 1rem; margin-bottom: .1rem; }
.contact-card p { font-size: .78rem; color: var(--ink-45); margin-bottom: .35rem; }
.cc-ico {
  width: 2.6rem; height: 2.6rem; border-radius: .7rem; display: grid; place-items: center;
  background: rgba(30,111,217,.1); color: var(--brand); margin-bottom: .8rem;
}
.cc-ico svg { width: 1.35rem; height: 1.35rem; }
.cc-val { font-size: .86rem; font-weight: 600; color: var(--brand); }
.contact-card-wa .cc-ico { background: rgba(37,211,102,.14); color: #1eb954; }
.contact-card-wa .cc-val { color: #1eb954; }

.address-card { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; }
.map-frame {
  border-radius: 1rem; overflow: hidden; border: 1px solid var(--line);
  height: 17rem; background: var(--mist);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Formulário */
.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.75rem;
  scroll-margin-top: 6.5rem;   /* não fica escondido sob o header fixo */
  transition: box-shadow .4s ease, border-color .4s ease;
}
/* Brilho breve ao chegar pelo botão "Pedir orçamento" */
.quote-form.destaque {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,166,35,.22), 0 16px 40px rgba(10,22,40,.12);
}
.field { display: flex; flex-direction: column; }
.field label { font-size: .8rem; font-weight: 700; margin-bottom: .4rem; color: var(--ink-60); }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; font-size: .92rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: .6rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,111,217,.16);
}
.field select {
  appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231e6fd9' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.05rem;
}
.field input[type="file"] { padding: .5rem .85rem; }
.field input[type="file"]::file-selector-button {
  background: var(--brand); color: #fff; border: none; padding: .4rem .8rem;
  border-radius: .4rem; margin-right: .75rem; font-weight: 600; cursor: pointer;
}
.field .hint { font-size: .74rem; color: var(--ink-45); margin-top: .4rem; }
.field .err { font-size: .74rem; color: #d92d20; margin-top: .35rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217,45,32,.14);
}
.field.invalid .err { display: block; }

/* =====================================================================
   SECÇÃO 10 · FOOTER
   ===================================================================== */
.footer { background: var(--navy-900); color: #fff; padding: 4rem 0 6.5rem; }
@media (min-width: 640px) { .footer { padding-bottom: 3rem; } }
/* Pastilha clara para o logótipo se ver sobre o fundo escuro */
.logo-chip {
  display: inline-block; background: #fff; border-radius: .9rem;
  padding: .7rem 1rem; box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.logo-chip img { height: 3rem; width: auto; display: block; }
.footer-slogan {
  font-family: 'Anton', Impact, sans-serif; text-transform: uppercase;
  color: var(--gold); font-size: 1.35rem; margin-top: 1.1rem; line-height: 1.15;
}
.footer-title { font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.footer-link { transition: color .2s ease; }
a.footer-link:hover { color: var(--gold); }
.qr-box {
  width: 108px; height: 108px; background: #fff; border-radius: .7rem; padding: 7px;
  display: grid; place-items: center;
}
.qr-box img, .qr-box canvas { width: 100% !important; height: 100% !important; display: block; }

/* =====================================================================
   SECÇÃO 11 · WHATSAPP FLUTUANTE
   ===================================================================== */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70;
  width: 3.5rem; height: 3.5rem; display: grid; place-items: center;
  border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #25d366, #1eb954);
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .25s ease;
}
.wa-float svg { width: 1.75rem; height: 1.75rem; position: relative; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37,211,102,.6); }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 999px; background: #25d366; z-index: -1;
  animation: ripple 2.2s ease-out infinite;
}
@keyframes ripple { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }

/* =====================================================================
   PRÉ-VISUALIZAÇÃO 3D — peça a rodar sobre manequim
   ===================================================================== */
.v3d {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; padding: 1.25rem;
  background: radial-gradient(circle at 50% 30%, rgba(19,44,88,.96), rgba(6,13,26,.98));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s ease;
}
.v3d.show { opacity: 1; }
.v3d[hidden] { display: none; }
.v3d-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; width: 100%; max-width: 34rem; }

.v3d-stage {
  width: min(78vw, 26rem); aspect-ratio: 1;
  perspective: 1400px;
  cursor: grab; touch-action: none;
  display: grid; place-items: center;
}
.v3d-stage.dragging { cursor: grabbing; }
.v3d-rotor {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.22,.9,.3,1);
}
.v3d-rotor.no-anim { transition: none; }
.v3d-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
/* Duas faces: frente (0°) e costas (180°) — a peça vira ao arrastar */
.v3d-face[data-ang="0"]   { transform: rotateY(0deg)   translateZ(14px); }
.v3d-face[data-ang="180"] { transform: rotateY(180deg) translateZ(14px); }
.v3d-svg { position: absolute; inset: 0; }
.v3d-svg svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
.v3d-prints { position: absolute; inset: 0; }
.v3d-prints .v3d-print { position: absolute; }
.v3d-prints img { position: absolute; left: 50%; top: 50%; display: block; object-fit: contain; }

.v3d-bar {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  width: 100%;
}
.v3d-hint {
  display: inline-flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 600;
}
.v3d-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.v3d-btn {
  padding: .55rem 1.1rem; border-radius: .6rem; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; font-size: .85rem; font-weight: 700;
  transition: all .2s ease;
}
.v3d-btn:hover { background: rgba(255,255,255,.2); border-color: var(--gold); }
.v3d-btn.is-active { background: var(--gold); border-color: var(--gold); color: #1a1200; }

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1.5rem;
  background: rgba(6,13,26,.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-content { max-width: 90vw; text-align: center; }
#lightbox-body {
  background: #fff; border-radius: 1.25rem; padding: 2rem;
  width: min(80vw, 30rem); aspect-ratio: 1; display: grid; place-items: center;
}
#lightbox-body svg { width: 100%; height: 100%; }
#lightbox-caption { color: #fff; font-weight: 700; margin-top: 1rem; font-size: 1.05rem; }
.lightbox-close {
  position: absolute; top: 1.1rem; right: 1.25rem;
  width: 2.9rem; height: 2.9rem; font-size: 1.9rem; line-height: 1;
  color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; cursor: pointer; transition: all .2s ease;
}
.lightbox-close:hover { background: var(--gold); color: #1a1200; transform: rotate(90deg); }

body.no-scroll { overflow: hidden; }
