/* ============================================================
   AnestFast — site cinemático
   Paleta e tipografia fiéis ao app (DESIGN.md do projeto)
   ============================================================ */

:root {
  --petrol: #15414f;
  --petrol-deep: #0d2e38;
  --abyss: #081e26;
  --sage: #4a9d8c;
  --sage-dark: #3c8576;
  --sage-bright: #6fc0b0;   /* sage iluminado, só sobre fundos escuros */
  --mint: #e9f3f1;
  --mint-soft: #f2f8f7;
  --hairline: #cfe6e1;
  --muted: #52707b; /* tingido de petróleo; ≥4.5:1 sobre branco e menta */
  --amber: #e0a83a;
  --danger: #8a1f1f;
  --paper: #ffffff;
  --ink-on-dark: #e6f2ef;
  --muted-on-dark: #9dbcc0;
  --hairline-on-dark: rgba(207, 230, 225, 0.18);

  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, sans-serif;

  --container: 1120px;
  --radius: 12px;
  --shadow-card: 0 1px 2.5px rgba(20, 18, 16, 0.05);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--petrol);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: fixed; top: -100%; left: 1rem; z-index: 100;
  background: var(--petrol); color: var(--mint);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 8px;
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 0; }

/* ---------- type ---------- */
h1, h2, h3, .act-num, .cta-title { font-family: var(--serif); }
h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.015em;
  max-width: 17ch;
}
h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { max-width: 58ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.eyebrow--sage { color: var(--sage-bright); }

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  max-width: 46ch;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- topbar ---------- */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  color: var(--mint);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand-mark { width: 40px; height: 40px; }
.brand-word {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-word em { font-style: italic; font-weight: 400; color: var(--sage-bright); }
.store-pill {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--mint);
  border: 1px solid var(--hairline-on-dark);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(6px);
  background: rgba(13, 46, 56, 0.35);
  transition: border-color 0.25s, background 0.25s;
}
.store-pill:hover { border-color: var(--sage); background: rgba(60, 133, 118, 0.25); }

/* ---------- trace (traçado vital global) ---------- */
#trace {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 15;
  overflow: visible;
}
#trace-path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
  filter: drop-shadow(0 0 6px rgba(74, 157, 140, 0.45));
}
@media (max-width: 859px) {
  #trace-path { stroke-width: 1.5; opacity: 0.35; filter: none; }
}

/* ---------- cenas ---------- */
.scene {
  position: relative;
  padding-block: clamp(5rem, 13vh, 9rem);
}
.scene--abyss {
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(74, 157, 140, 0.14), transparent 60%),
    linear-gradient(180deg, var(--petrol-deep), var(--abyss));
  color: var(--ink-on-dark);
}
.scene--petrol {
  background: linear-gradient(180deg, var(--petrol-deep) 0%, #10353f 100%);
  color: var(--ink-on-dark);
}
.scene--mint { background: var(--mint); }
.scene--paper { background: var(--paper); }
.scene--tight { padding-block: clamp(3rem, 7vh, 5rem); }
.scene--center { text-align: center; }
.scene--center h2, .scene--center p { margin-inline: auto; }

.scene--abyss p, .scene--petrol p { color: var(--muted-on-dark); }
.scene--abyss h1, .scene--abyss h2, .scene--petrol h2,
.scene--abyss h3, .scene--petrol h3 { color: var(--ink-on-dark); }
.scene--abyss h1 em, .scene--abyss h2 em, .scene--petrol h2 em { color: var(--sage-bright); }
.scene--mint h2 em, .scene--paper h2 em { color: var(--sage-dark); }
.scene--abyss .lead { color: #c3dcd8; }

.scene-title { margin-bottom: 2rem; }

/* ---------- hero ---------- */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: 7rem 9rem;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 30, 38, 0.62) 0%,
    rgba(8, 30, 38, 0.35) 45%,
    rgba(8, 30, 38, 0.94) 100%);
}
.hero-copy { position: relative; z-index: 5; }
.hero-copy h1 { margin-bottom: 1.4rem; }
.hero-copy .eyebrow { margin-bottom: 1.6rem; }
.hero-actions { margin-top: 2.2rem; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--mint);
  background: rgba(233, 243, 241, 0.06);
  border: 1px solid var(--hairline-on-dark);
  border-radius: 14px;
  padding: 0.7rem 1.3rem;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  background: rgba(74, 157, 140, 0.14);
}
.store-badge:active { transform: scale(0.98); }
.apple-glyph { width: 26px; height: 26px; }
.store-badge small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted-on-dark);
}
.store-badge strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
}

#hero-canvas {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 24vh;
  min-height: 130px;
  z-index: 4;
  opacity: 0.9;
}
.scroll-hint {
  position: absolute;
  bottom: 1.3rem; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px; height: 26px;
  margin: 0.5rem auto 0;
  background: linear-gradient(180deg, var(--sage), transparent);
  animation: hint-drop 2.2s var(--ease-out) infinite;
}
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ---------- split scenes ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--rev .split-copy { order: 2; }
  .split--rev .media { order: 1; }
}
.split-copy h2 { margin-bottom: 1.2rem; }

.stat-line {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat-num--sage { color: var(--sage-dark); }
.stat-note {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- media / placeholders ---------- */
.media { position: relative; }
.media img, .media-ph {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--hairline);
}
.media-ph {
  background:
    radial-gradient(90% 120% at 20% 10%, rgba(74, 157, 140, 0.35), transparent 55%),
    linear-gradient(155deg, var(--petrol) 0%, var(--petrol-deep) 55%, var(--sage-dark) 130%);
}
.media-ph--dark,
.scene--petrol .media-ph,
.scene--abyss .media-ph { border-color: var(--hairline-on-dark); }

/* ---------- atos ---------- */
.acts {
  display: grid;
  gap: clamp(2.5rem, 6vh, 4rem);
  margin-top: 1rem;
}
.act {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
  border-top: 1px solid var(--hairline-on-dark);
  padding-top: clamp(1.6rem, 4vh, 2.6rem);
}
.act-num {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  font-style: italic;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(159, 199, 191, 0.55);
}
.act-body h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 0.55rem;
}
.act-body p { color: var(--muted-on-dark); }
.act-icon {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--hairline-on-dark);
  border-radius: 12px;
  color: var(--sage-bright);
  margin-bottom: 0.9rem;
}
.act-icon svg { width: 26px; height: 26px; }
.media--act { grid-column: 1 / -1; max-width: 560px; }
.media--act .media-ph, .media--act img { aspect-ratio: 16 / 10; }
@media (min-width: 860px) {
  .act { grid-template-columns: auto 1fr minmax(0, 380px); }
  .media--act { grid-column: 3; grid-row: 1; }
}

/* ---------- ficha ---------- */
.ficha-intro { margin-bottom: 3rem; }
.ficha-intro h2 { margin-bottom: 1.1rem; }
.ficha-doc { width: min(92vw, 640px); }

/* ---------- temas em órbita (cilindro 3D) ---------- */
#ficha { overflow: hidden; }

.orb-stage {
  width: 100%;
  height: min(54vh, 470px);
  margin-top: clamp(1rem, 4vh, 2.5rem);
  perspective: 1300px;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}
.orb-stage:active { cursor: grabbing; }
.orb-cyl {
  position: relative;
  width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.card3d {
  position: absolute;
  transform-style: preserve-3d;
}
.card3d-clip {
  position: absolute; inset: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 60px -18px rgba(0, 0, 0, 0.55);
  backface-visibility: hidden;
}
.card3d-clip--back { transform: rotateY(180deg); }
.card3d-clip img { width: 100%; height: auto; display: block; }
/* véu que escurece os cards de trás (opacity roda no compositor) */
.card3d-clip::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--abyss);
  opacity: var(--dim, 0);
  pointer-events: none;
}
.orb-label {
  backface-visibility: hidden;
  position: absolute; left: 0; right: 0; bottom: -26px; text-align: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--mint); opacity: 0.85;
}
.orb-glow {
  position: absolute; left: 50%; bottom: 4%;
  width: min(620px, 80vw); height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(50% 100% at 50% 50%, rgba(74, 157, 140, 0.22), transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.orb-hint {
  text-align: center;
  max-width: none;
  margin-inline: auto;
  color: var(--muted-on-dark);
  font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase;
  margin-top: 5.4rem;
}
.orb-ctrl { display: none; gap: 0.6rem; justify-content: center; margin-top: 1.4rem; }
.orb-ctrl button {
  font: 700 1rem/1 var(--sans); color: var(--mint);
  background: rgba(233, 243, 241, 0.06); border: 1px solid var(--hairline-on-dark);
  border-radius: 999px; width: 44px; height: 44px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .orb-ctrl { display: flex; }
  .orb-cyl { transition: transform 0.5s ease; }
}

/* ---------- meus números (dashboard preview) ---------- */
.num-intro { max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.num-intro h2 { margin: 0 auto 1.1rem; }
.num-intro p { margin-inline: auto; }

.num-dash {
  max-width: 880px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: 0 24px 60px -28px rgba(13, 46, 56, 0.4), 0 3px 12px rgba(13, 46, 56, 0.06);
  padding: clamp(1.1rem, 3vw, 1.8rem);
}
.num-dash-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.num-chips { display: flex; gap: 0.5rem; flex: 1; max-width: 460px; }
.num-chip {
  flex: 1; text-align: center;
  padding: 0.5rem 0.4rem;
  border-radius: 11px;
  border: 1.5px solid var(--hairline);
  background: var(--paper);
  font: 700 0.9rem var(--sans);
  color: var(--petrol);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.num-chip:hover { border-color: var(--sage); }
.num-chip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.num-chip small { display: block; font-size: 0.66rem; font-weight: 700; opacity: 0.72; margin-top: 1px; }
.num-sim {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-dark); background: var(--mint); border: 1px solid var(--hairline);
  padding: 0.35rem 0.7rem; border-radius: 999px; white-space: nowrap;
}

.num-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem; margin-bottom: 1rem; }
@media (max-width: 560px) { .num-kpis { grid-template-columns: 1fr 1fr; } }
.num-kpi {
  background: var(--mint-soft);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0.85rem 0.6rem;
  text-align: center;
}
.num-kpi b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--petrol); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.05; }
.num-kpi span { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.num-kpi i { display: block; font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--muted); margin-top: 0.15rem; }

.num-plot { border-top: 1px solid var(--hairline); padding-top: 1rem; }
.num-cap { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.num-cap h3 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-dark); margin: 0; }
.num-cap span { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
#num-chart { display: block; width: 100%; height: auto; }
#num-chart text { font-family: var(--sans); }

.num-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 1.1rem; margin-top: 0.9rem; }
@media (max-width: 560px) { .num-legend { grid-template-columns: 1fr; } }
.num-leg {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.35rem; border-radius: 9px;
  cursor: pointer; border: none; background: none; font: inherit; text-align: left; width: 100%;
  transition: background 0.12s, opacity 0.15s;
}
.num-leg:hover { background: var(--mint); }
.num-leg .dot { width: 11px; height: 11px; border-radius: 3.5px; flex: none; }
.num-leg .txt { flex: 1; min-width: 0; }
.num-leg .nm { display: block; font-size: 0.84rem; font-weight: 700; color: var(--petrol); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num-leg .ms { display: block; font-size: 0.68rem; font-weight: 600; color: var(--muted); margin-top: 1px; }
.num-leg .n { font-size: 0.82rem; font-weight: 800; color: var(--petrol); font-variant-numeric: tabular-nums; }
.num-leg .pc { font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.num-legend.picked .num-leg { opacity: 0.36; }
.num-legend.picked .num-leg.on { opacity: 1; background: var(--mint); }

.num-foot { text-align: center; font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  #num-chart .num-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: num-draw 1.1s cubic-bezier(.2,.7,.3,1) forwards; }
  @keyframes num-draw { to { stroke-dashoffset: 0; } }
  #num-chart .num-tip { opacity: 0; animation: num-fade 0.4s ease 0.9s forwards; }
  @keyframes num-fade { to { opacity: 1; } }
}

/* ---------- relatório mensal (páginas do PDF) ---------- */
#relatorio h2 { margin-bottom: 1.1rem; }
.rel-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2.4rem;
}
@media (max-width: 720px) { .rel-pages { grid-template-columns: 1fr; } }
.rel-page { margin: 0; }
.rel-page a { display: block; border-radius: 10px; }
.rel-page img {
  width: 100%; height: auto;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 60px -24px rgba(13, 46, 56, 0.38), 0 3px 12px rgba(13, 46, 56, 0.08);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  background: #fff;
}
.rel-page a:hover img {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px -24px rgba(13, 46, 56, 0.45), 0 6px 18px rgba(13, 46, 56, 0.12);
}
.rel-note { font-size: 0.82rem; color: var(--muted); font-style: italic; margin-top: 1.2rem; }

/* ---------- legal ---------- */
.legal-card {
  max-width: 780px;
  margin-inline: auto;
  background: var(--mint-soft);
  border: 1.5px solid var(--sage);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.legal-card .eyebrow { color: var(--sage-dark); margin-bottom: 0.8rem; }
.legal-card p { max-width: none; font-size: 1rem; }

/* ---------- CTA ---------- */
.cta-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink-on-dark);
  max-width: 20ch;
  margin-inline: auto;
}
.cta-title em { color: var(--sage-bright); font-style: italic; font-weight: 400; }
#cta .hero-actions { margin-top: 2.4rem; }
#cta .store-badge { margin-inline: auto; }
.cta-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--muted-on-dark);
}

/* ---------- footer ---------- */
#footer {
  background: var(--abyss);
  color: var(--mint);
  padding-block: 3rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
}
.brand--footer { flex-direction: column; align-items: flex-start; display: flex; gap: 0.4rem; }
.brand--footer .brand-mark { width: 34px; height: 34px; }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
}
.footer-nav { display: flex; gap: 1.6rem; align-items: baseline; }
.footer-nav a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-on-dark);
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}
.footer-nav a:hover { color: var(--sage-bright); border-color: var(--sage); }
.footer-copy { font-size: 0.82rem; color: var(--muted-on-dark); }

/* ---------- reveals (gated em html.js) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
}
html.js [data-reveal].in {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition:
    opacity 0.9s var(--ease-out) calc(var(--stagger, 0) * 110ms),
    transform 0.9s var(--ease-out) calc(var(--stagger, 0) * 110ms),
    filter 0.7s var(--ease-out) calc(var(--stagger, 0) * 110ms);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .scroll-hint::after { animation: none; }
  .feature, .store-badge { transition: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .topbar { padding-inline: 1.25rem; }
  .store-pill { display: none; }
  #hero { padding-bottom: 11rem; }
  .act { grid-template-columns: 1fr; }
  .act-num { -webkit-text-stroke-width: 1.2px; }
}

/* ── Lightbox da ficha ─────────────────────────────── */
body.lb-lock { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 300; animation: lbIn 0.26s ease; }
.lb[hidden] { display: none; }
.lb-bg {
  position: absolute; inset: 0;
  background: rgba(5, 24, 30, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb-scroll {
  position: absolute; inset: 0;
  overflow: auto;
  display: flex;
  padding: clamp(14px, 3.5vh, 34px);
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lb-scroll::-webkit-scrollbar { display: none; }
.lb-scroll img {
  display: block; margin: auto; flex: none;
  max-width: min(92vw, 1150px);
  max-height: 82svh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  animation: lbImgIn 0.3s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.lb.zoom .lb-scroll img {
  max-width: none; max-height: none;
  cursor: zoom-out;
  border-radius: 2px;
  animation: none;
}
.lb-btn {
  appearance: none; border: 1px solid rgba(207, 230, 225, 0.28);
  background: rgba(13, 46, 56, 0.78); color: var(--mint, #e9f3f1);
  border-radius: 999px; padding: 0.6rem 1.15rem;
  font: 600 0.83rem/1 inherit; font-family: inherit;
  letter-spacing: 0.04em; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lb-btn:hover { background: rgba(21, 65, 79, 0.92); border-color: rgba(207, 230, 225, 0.5); }
.lb-close {
  position: absolute; top: max(14px, env(safe-area-inset-top));
  right: 16px; width: 46px; height: 46px; padding: 0;
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
}
.lb-bar {
  position: absolute; left: 0; right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex; justify-content: center; align-items: center;
  gap: 0.6rem; flex-wrap: wrap; padding-inline: 1rem;
  pointer-events: none;
}
.lb-bar > * { pointer-events: auto; }
.lb-cap {
  color: var(--hairline, #cfe6e1);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(13, 46, 56, 0.78); border: 1px solid rgba(207, 230, 225, 0.18);
  border-radius: 999px; padding: 0.62rem 1.05rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card3d { cursor: pointer; }
.card3d img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
@keyframes lbIn { from { opacity: 0; } }
@keyframes lbImgIn { from { opacity: 0; transform: scale(0.94); } }
@media (prefers-reduced-motion: reduce) {
  .lb, .lb-scroll img { animation: none; }
}

/* ── Idiomas (PT · ES) ─────────────────────────────── */
.topbar-right { display: flex; align-items: center; gap: 0.7rem; }
.lang-pill {
  display: inline-grid; place-items: center;
  min-width: 2.5rem; height: 2.15rem; padding: 0 0.65rem;
  border: 1px solid rgba(207, 230, 225, 0.35);
  border-radius: 999px;
  color: var(--mint, #e9f3f1);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lang-pill:hover { background: rgba(233, 243, 241, 0.12); border-color: rgba(207, 230, 225, 0.6); }
