/* ============================================================
   JOANA MARQUES — Sales Page · v3
   PRETO #030303 · DOURADO METAL · BRANCO
   ============================================================ */

@property --a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --black: #030303;
  --black-2: #080808;
  --graphite: #101010;
  --white: #FFFFFF;
  --off: #F5F5F2;
  --gold-dark: #8A6728;
  --gold-mid: #B88A2E;
  --gold: #D4AF37;
  --gold-2: #E6C968;
  --gold-light: #F4DE8A;
  --text: #F5F5F2;
  --muted: #A29B8F;
  --ink: #0B0B0B;
  --line: rgba(212, 175, 55, 0.16);
  --line-strong: rgba(212, 175, 55, 0.45);
  --metal: linear-gradient(180deg, #F4DE8A 0%, #D4AF37 42%, #B88A2E 68%, #8A6728 100%);
  --metal-text: linear-gradient(180deg, #F8E9AE 0%, #D4AF37 55%, #96702B 100%);
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
  --bar-h: 0px;
}

html.has-bar { --bar-h: 46px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(96px + var(--bar-h)); }

body {
  position: relative;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(80px, 9vw, 130px) 0; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.no-line::before { display: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.01em; }

.gold-text {
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h2 { font-size: clamp(32px, 4.6vw, 54px); margin-top: 18px; }
.h2 em, h1 em { font-style: italic; color: var(--gold); }

.kicker {
  font-size: clamp(12px, 1.25vw, 15px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off);
}

.section-head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p.sub { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* Palavra gigante de fundo */
.bg-word {
  position: absolute;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 24vw, 330px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ---------- Botões (energia dourada) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 19px 34px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.btn-gold {
  background: var(--metal);
  color: #140e02;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 6px rgba(90, 62, 15, 0.45),
    0 12px 34px rgba(0, 0, 0, 0.55),
    0 6px 24px rgba(212, 175, 55, 0.24);
}
/* reflexo que atravessa */
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: sweep 5s ease-in-out infinite;
  z-index: 2;
}
@keyframes sweep {
  0%, 72% { left: -80%; }
  88%, 100% { left: 140%; }
}
/* corrente de energia na orla */
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--a),
    transparent 0deg 258deg,
    rgba(255, 248, 214, 0.25) 288deg,
    #FFF6CE 312deg,
    #F4DE8A 330deg,
    rgba(244, 222, 138, 0.2) 352deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: energia 3.2s linear infinite;
  z-index: 3;
  pointer-events: none;
}
@keyframes energia { to { --a: 360deg; } }
.btn-gold:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 6px rgba(90, 62, 15, 0.45),
    0 18px 46px rgba(0, 0, 0, 0.6),
    0 10px 38px rgba(212, 175, 55, 0.38);
}
/* micro faíscas (injetadas via JS) */
.btn-gold .spark {
  position: absolute;
  left: var(--x, 50%);
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF6CE 0%, #D4AF37 70%);
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.95));
  opacity: 0;
  animation: spark 3.6s var(--d, 0s) ease-out infinite;
  pointer-events: none;
  z-index: 4;
}
@keyframes spark {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
  6%   { opacity: 1; }
  30%  { transform: translate(3px, -13px) scale(1); opacity: 0.9; }
  55%  { transform: translate(-2px, -22px) scale(0.4); opacity: 0; }
  100% { opacity: 0; }
}
.btn-ghost {
  background: transparent;
  color: var(--off);
  border: 1px solid rgba(245, 245, 242, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
}
.btn-dark {
  background: #0D0D0D;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 30px rgba(11, 11, 11, 0.28);
}
.btn-dark:hover { transform: translateY(-2px) scale(1.015); border-color: var(--gold); }
.btn-block { width: 100%; }

/* ---------- Raios de energia (página inteira → CTA final) ---------- */
.energy-rays {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.energy-rays .ray {
  position: absolute;
  width: 2px;
  height: 34vh;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.35) 38%,
    rgba(255, 246, 206, 0.9) 52%,
    rgba(212, 175, 55, 0.45) 66%,
    transparent 100%
  );
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.75));
  opacity: 0;
  animation: ray-fall var(--rd, 6s) linear var(--rdel, 0s) infinite;
}
@keyframes ray-fall {
  0%   { transform: translateY(-32vh); opacity: 0; }
  10%  { opacity: 0.8; }
  72%  { opacity: 0.7; }
  100% { transform: translateY(72vh); opacity: 0; }
}

/* ---------- Barra de urgência ---------- */
.urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 14px;
  background: linear-gradient(90deg, #050505, #0E0B06 50%, #050505);
  border-bottom: 1px solid var(--line-strong);
}
.urgency-bar .u-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.urgency-bar .u-timer {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 64px;
  text-align: center;
}
.urgency-bar .u-cta {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #140e02;
  background: var(--metal);
  padding: 7px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.urgency-bar .u-cta:hover { filter: brightness(1.08); }
.urgency-bar .u-timer.u-hot { animation: hot-pulse 0.9s ease-in-out infinite alternate; }
@keyframes hot-pulse {
  from { filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.4)); transform: scale(1); }
  to   { filter: drop-shadow(0 0 10px rgba(244, 222, 138, 0.95)); transform: scale(1.06); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  z-index: 60;
  padding: 18px 0;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(3, 3, 3, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--white);
}
.brand strong { font-weight: 800; }
.brand span { color: var(--gold); }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-light); }
.btn-header {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #140e02;
  background: var(--metal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 22px rgba(212, 175, 55, 0.25);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-header:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 12px 28px rgba(212, 175, 55, 0.35); }

/* ---------- Fotos com profundidade 3D ---------- */
.photo-3d { position: relative; }
.photo-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(0.4) saturate(1.1);
  transform: translate(4%, 6%) scale(1.06);
  opacity: 0.85;
  border-radius: inherit;
}
.edge {
  position: absolute;
  inset: 20px -14px -14px 20px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}
.edge::after {
  content: "";
  position: absolute;
  top: -5px; right: -5px;
  width: 30px; height: 30px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

/* ---------- Câmera 3D ---------- */
.cam3d { position: absolute; pointer-events: none; z-index: 5; }
.cam3d .floaty {
  perspective: 1000px;
  animation: float3d 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes float3d {
  from { transform: translateY(-8px) rotateZ(-1deg) scale(0.99); }
  to   { transform: translateY(8px) rotateZ(1deg) scale(1.01); }
}
.cam3d .tilt-inner { position: relative; transform-style: preserve-3d; transition: transform 0.1s linear; }
.cam3d .cam-img {
  position: relative;
  width: 100%;
  z-index: 2;
  filter: saturate(1.05) contrast(1.05)
    drop-shadow(0 36px 48px rgba(0, 0, 0, 0.8))
    drop-shadow(0 10px 28px rgba(212, 175, 55, 0.16));
}
.cam3d .cam-ghost {
  position: absolute;
  left: 7%;
  top: 12%;
  width: 100%;
  z-index: 1;
  opacity: 0.4;
  filter: blur(16px) brightness(0.5) saturate(1.15);
  transform: scale(1.06);
}
.cam3d .cam-flare {
  position: absolute;
  z-index: 3;
  width: 15%;
  aspect-ratio: 1;
  left: 17%;
  top: 40%;
  background: radial-gradient(circle, rgba(255, 248, 218, 0.95), rgba(244, 222, 138, 0.3) 42%, transparent 72%);
  mix-blend-mode: screen;
  animation: flare-breathe 7s ease-in-out infinite alternate;
}
@keyframes flare-breathe {
  from { opacity: 0.55; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1.12); }
}
.cam3d .cam-floor {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -13%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.85) 0%, transparent 68%);
  filter: blur(5px);
  animation: floor-pulse 7s ease-in-out infinite alternate;
}
@keyframes floor-pulse {
  from { transform: scaleX(0.88); opacity: 0.55; }
  to   { transform: scaleX(1.06); opacity: 0.9; }
}
/* ---------- Reveal (bidirecional) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-sdir="up"] .reveal { transform: translateY(-34px); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.rv-img { transform: translateY(30px) scale(0.95); }
html[data-sdir="up"] .rv-img { transform: translateY(-24px) scale(0.96); }
.rv-img.in { transform: none; }

/* ---------- HERO ---------- */
.hero {
  padding: calc(clamp(120px, 15vh, 170px) + var(--bar-h)) 0 0;
  overflow: hidden;
  background:
    radial-gradient(1100px 640px at 76% 34%, rgba(184, 138, 46, 0.14), transparent 62%),
    radial-gradient(760px 520px at 6% 90%, rgba(138, 103, 40, 0.08), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--black);
}
.hero-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  width: min(var(--container), 92%);
  margin-inline: auto;
}
.hero-copy { padding-bottom: clamp(56px, 8vh, 100px); position: relative; z-index: 2; }
.hero .kicker { margin-top: 4px; }
.hero h1 {
  font-size: clamp(42px, 5.4vw, 74px);
  color: var(--white);
  margin-top: 16px;
}
.hero h1 .gold-text { font-style: italic; }
.hero-lines {
  margin-top: 26px;
  display: grid;
  gap: 9px;
}
.hero-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CFC9BE;
}
.hero-lines li::before { content: ""; width: 20px; height: 1px; background: var(--gold); flex: none; }
.hero .small-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-spots {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero-stage { position: relative; align-self: center; z-index: 1; }

/* Card da Joana: moldura dourada, sombra dourada e aura discreta */
.hero-card {
  position: relative;
  margin: 0 0 0 auto;
  width: min(520px, 100%);
  aspect-ratio: 944 / 752;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow:
    0 0 0 1px rgba(3, 3, 3, 0.9),
    0 26px 60px rgba(0, 0, 0, 0.6),
    0 0 42px rgba(212, 175, 55, 0.22),
    0 0 90px rgba(184, 138, 46, 0.14);
  isolation: isolate;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
/* véu para casar a foto clara com o preto da página */
.hero-card .hc-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.18) 0%, transparent 22% 72%, rgba(3, 3, 3, 0.35) 100%),
    radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(3, 3, 3, 0.22) 100%);
  pointer-events: none;
}
/* aura: luz dourada a contornar o card, muito discreta */
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--a),
    transparent 0deg 250deg,
    rgba(244, 222, 138, 0.28) 292deg,
    rgba(255, 246, 206, 0.8) 316deg,
    rgba(244, 222, 138, 0.24) 340deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: energia 7s linear infinite;
  z-index: 2;
  pointer-events: none;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background: radial-gradient(50% 46% at 50% 50%, rgba(212, 175, 55, 0.2), transparent 70%);
  filter: blur(16px);
  animation: aura-respira 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aura-respira {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}
.hero-stage .ring-deco {
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  left: -6%;
  top: -16%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.14);
  pointer-events: none;
}
.hero-stage .diag-deco {
  position: absolute;
  width: 150%;
  height: 1px;
  left: -30%;
  top: 20%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.35), transparent);
  transform: rotate(-24deg);
  pointer-events: none;
}
/* Memória cinematográfica: Lisboa viva, fundida ao lado direito */
.memory {
  position: relative;
  margin-left: auto;
  margin-right: -14%;
  width: 126%;
  aspect-ratio: 4 / 3.7;
  overflow: hidden;
  pointer-events: none;
}
.memory-tower {
  position: absolute;
  left: -12%;
  top: -12%;
  width: 128%;
  height: 120%;
  object-fit: cover;
  object-position: 36% 28%;
  filter: saturate(1.16) contrast(1.1) brightness(0.92);
  opacity: 0.96;
  -webkit-mask-image: radial-gradient(115% 96% at 56% 44%, #000 42%, rgba(0, 0, 0, 0.55) 66%, transparent 84%);
  mask-image: radial-gradient(115% 96% at 56% 44%, #000 42%, rgba(0, 0, 0, 0.55) 66%, transparent 84%);
  animation: memoria-respira 16s ease-in-out infinite alternate;
}
/* escultura orgânica: dissolve para o texto à esquerda e para o preto em volta */
.memory-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #030303 0%, rgba(3, 3, 3, 0.75) 10%, transparent 40%),
    linear-gradient(270deg, rgba(3, 3, 3, 0.8) 0%, transparent 18%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.85) 0%, rgba(3, 3, 3, 0.25) 16%, transparent 32%),
    linear-gradient(0deg, rgba(3, 3, 3, 0.9) 0%, rgba(3, 3, 3, 0.3) 18%, transparent 38%);
}
@keyframes memoria-respira {
  from { transform: scale(1); }
  to   { transform: scale(1.015); }
}
.memory-leak {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56% 44% at 80% 14%, rgba(244, 222, 138, 0.26), transparent 70%),
    radial-gradient(40% 34% at 8% 66%, rgba(184, 138, 46, 0.14), transparent 70%);
  mix-blend-mode: screen;
  animation: leak-pulse 9s ease-in-out infinite alternate;
}
@keyframes leak-pulse {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}
.memory-grain {
  position: absolute;
  inset: -2%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
}
.cutout-glow {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 4%;
  width: 62%;
  height: 64%;
  background: radial-gradient(50% 46% at 55% 55%, rgba(212, 175, 55, 0.3), rgba(184, 138, 46, 0.08) 55%, transparent 75%);
  filter: blur(14px);
  pointer-events: none;
}
.hero-cutout {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 0;
  width: min(410px, 70%);
  filter: saturate(1.05) contrast(1.05) brightness(1.02)
    drop-shadow(0 26px 44px rgba(0, 0, 0, 0.72)) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.5));
  transform-origin: 50% 100%;
}
.hero-stage .gold-frame {
  position: absolute;
  inset: 24px -16px -16px 24px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
  z-index: 0;
}
.hero-stage .gold-frame::after {
  content: "";
  position: absolute;
  top: -5px; right: -5px;
  width: 34px; height: 34px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}
.hero-halo {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -8%;
  top: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.26), rgba(184, 138, 46, 0.07) 45%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}
.hero-cam3d {
  width: clamp(120px, 11vw, 168px);
  right: -6%;
  bottom: -8%;
  top: auto;
  opacity: 0.92;
}
.hero-scroll {
  position: absolute;
  left: max(4%, calc((100% - var(--container)) / 2));
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Progressão (cards de acesso exclusivo) ---------- */
.progression {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #060606, var(--black));
  overflow: hidden;
}
/* fundo infinito: linhas douradas em movimento perpétuo */
.progression::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(212, 175, 55, 0.055) 0 1px, transparent 1px),
    linear-gradient(115deg, rgba(212, 175, 55, 0.03) 0 1px, transparent 1px);
  background-size: 110px 110px, 46px 46px;
  animation: bg-infinito 16s linear infinite;
  pointer-events: none;
}
@keyframes bg-infinito {
  to { background-position: 220px 110px, -92px 46px; }
}
.progression::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(820px 460px at 50% 42%, rgba(184, 138, 46, 0.1), transparent 70%);
  animation: bg-breathe 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes bg-breathe {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}
.progression .container { position: relative; z-index: 1; }
/* câmera igual à do hero, no lado esquerdo desta secção */
.prog-cam3d {
  width: clamp(120px, 11vw, 168px);
  left: 2%;
  top: auto;
  bottom: 8px;
  z-index: 1;
}
/* câmera virada para o lado oposto (espelhada) */
.prog-cam3d .cam-img,
.prog-cam3d .cam-ghost { transform: scaleX(-1); }
.prog-cam3d .cam-ghost { transform: scaleX(-1) scale(1.06); }
.prog-cam3d .cam-flare { left: auto; right: 17%; }

.lock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
  align-items: stretch;
}
.lock-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0D0C09, #070605);
  border: 1px solid var(--line-strong);
  padding: 18px;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lock-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), 0 10px 36px rgba(212, 175, 55, 0.16);
}
/* corrente de energia contínua na borda */
.lock-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  background: conic-gradient(
    from var(--a),
    transparent 0deg 244deg,
    rgba(255, 248, 214, 0.25) 280deg,
    #FFF6CE 310deg,
    #F4DE8A 330deg,
    rgba(244, 222, 138, 0.2) 352deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: energia 3.6s linear infinite;
  pointer-events: none;
  z-index: 3;
}
.lock-card:nth-child(2)::before { animation-delay: -1.2s; }
.lock-card:nth-child(3)::before { animation-delay: -2.4s; }
.lock-cta { width: 100%; padding: 16px 18px; margin-bottom: 16px; }
.lock-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  background: var(--graphite);
}
.lock-media::before {
  content: "";
  position: absolute;
  inset: -14px;
  background-image: var(--img);
  background-size: cover;
  background-position: center 20%;
  filter: blur(7px) brightness(0.38) saturate(0.85);
  transition: filter 0.45s ease;
}
.lock-card:hover .lock-media::before { filter: blur(3px) brightness(0.5) saturate(0.95); }
.lock-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(65% 60% at 50% 46%, rgba(3, 3, 3, 0.1), rgba(3, 3, 3, 0.6) 100%);
}
.lock-icon {
  position: relative;
  z-index: 2;
  width: clamp(44px, 4.6vw, 60px);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 14px rgba(212, 175, 55, 0.45));
  animation: lock-glow 3.4s ease-in-out infinite alternate;
}
@keyframes lock-glow {
  from { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 8px rgba(212, 175, 55, 0.3)); transform: scale(0.98); }
  to   { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(212, 175, 55, 0.65)); transform: scale(1.03); }
}
.lock-label {
  position: relative;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.lock-sub {
  position: relative;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.66);
}
.lock-info { padding: 16px 4px 6px; display: flex; align-items: baseline; gap: 12px; }
.lock-info .lock-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex: none;
}
.lock-info h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.lock-info p { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
/* faíscas contínuas nas bordas dos cards */
.lock-card .spark { bottom: auto; top: -2px; }
.lock-card .spark.s-b { top: auto; bottom: -2px; animation-name: spark-down; }
@keyframes spark-down {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
  6%   { opacity: 1; }
  30%  { transform: translate(-3px, 13px) scale(1); opacity: 0.9; }
  55%  { transform: translate(2px, 22px) scale(0.4); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Impacto (branco, viewport) ---------- */
.impact {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.impact > .container { position: relative; z-index: 2; }

/* brilho dourado suave a respirar */
.impact .imp-glow {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(212, 175, 55, 0.16), transparent 70%),
    radial-gradient(34% 30% at 84% 74%, rgba(184, 138, 46, 0.13), transparent 72%),
    radial-gradient(52% 44% at 50% 50%, rgba(244, 222, 138, 0.14), transparent 76%);
  animation: imp-respira 11s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes imp-respira {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.03); }
}
/* linhas douradas elegantes, muito finas */
.impact .imp-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(112deg, rgba(184, 138, 46, 0.13) 0 1px, transparent 1px),
    linear-gradient(112deg, rgba(184, 138, 46, 0.07) 0 1px, transparent 1px);
  background-size: 190px 190px, 74px 74px;
  -webkit-mask-image: radial-gradient(85% 75% at 50% 50%, #000 25%, transparent 88%);
  mask-image: radial-gradient(85% 75% at 50% 50%, #000 25%, transparent 88%);
  pointer-events: none;
}
/* arcos dourados finos, como ornamento editorial */
.impact .imp-arc {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(184, 138, 46, 0.22);
  pointer-events: none;
}
.impact .imp-arc-a {
  width: min(660px, 62vw);
  aspect-ratio: 1;
  left: -12%;
  top: -18%;
  border-color: rgba(184, 138, 46, 0.18);
}
.impact .imp-arc-b {
  width: min(520px, 52vw);
  aspect-ratio: 1;
  right: -10%;
  bottom: -20%;
  border-color: rgba(212, 175, 55, 0.2);
}
/* laço de luz que atravessa a secção lentamente */
.impact .imp-shine {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 26%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(244, 222, 138, 0.34), rgba(255, 246, 206, 0.22), transparent);
  filter: blur(6px);
  transform: skewX(-14deg);
  animation: imp-shine 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes imp-shine {
  0%, 62% { left: -30%; opacity: 0; }
  70% { opacity: 1; }
  100% { left: 108%; opacity: 0; }
}
/* faíscas douradas discretas */
.impact .imp-sparkle {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 206, 0.95), rgba(212, 175, 55, 0.85) 55%, transparent 72%);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.65);
  opacity: 0;
  animation: imp-brilho 6s ease-in-out infinite;
  pointer-events: none;
}
.impact .s1 { left: 14%; top: 26%; animation-delay: 0s; }
.impact .s2 { left: 86%; top: 34%; animation-delay: 1.6s; }
.impact .s3 { left: 22%; top: 74%; animation-delay: 3.1s; }
.impact .s4 { left: 74%; top: 18%; animation-delay: 4.4s; }
@keyframes imp-brilho {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  8% { opacity: 1; transform: scale(1.15); }
  18% { opacity: 0.25; transform: scale(0.85); }
  26% { opacity: 0.9; transform: scale(1); }
  40% { opacity: 0; transform: scale(0.6); }
}
.impact h2 { font-size: clamp(36px, 5.6vw, 72px); color: var(--ink); }
.impact h2 .dim { color: rgba(11, 11, 11, 0.35); }
.impact h2 .gold-dark-text {
  background: linear-gradient(180deg, #B88A2E, #8A6728);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.impact p {
  max-width: 560px;
  margin: 28px auto 0;
  color: #4A4640;
  font-size: 17px;
}
.impact .btn { margin-top: 38px; }

/* ---------- Cursos (sequência horizontal cinematográfica) ---------- */
.courses { background: var(--black); overflow: hidden; }
/* fundo infinito da zona dos cursos */
.courses::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(115deg, rgba(212, 175, 55, 0.05) 0 1px, transparent 1px),
    linear-gradient(115deg, rgba(212, 175, 55, 0.028) 0 1px, transparent 1px);
  background-size: 110px 110px, 46px 46px;
  animation: bg-infinito 16s linear infinite;
  pointer-events: none;
}
.courses::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(900px 520px at 50% 50%, rgba(184, 138, 46, 0.08), transparent 70%);
  animation: bg-breathe 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.courses-hwrap { position: relative; z-index: 1; }
.courses .hhead { padding-top: clamp(64px, 8vw, 110px); margin-inline: auto; }
.course-row {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding: clamp(52px, 6vw, 88px) 0;
}
.course-panel + .course-panel .course-row { border-top: 1px solid rgba(212, 175, 55, 0.12); }

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .courses::before, .courses::after { display: none; }
  .courses-hwrap { height: auto; }
  .courses-sticky {
    position: relative;
    height: auto;
    padding: clamp(70px, 9vh, 110px) 0 clamp(60px, 8vh, 100px);
    overflow: hidden;
  }
  /* fundo infinito preso à faixa visível */
  .courses-sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
      linear-gradient(115deg, rgba(212, 175, 55, 0.07) 0 1px, transparent 1px),
      linear-gradient(115deg, rgba(212, 175, 55, 0.035) 0 1px, transparent 1px);
    background-size: 110px 110px, 46px 46px;
    animation: bg-infinito 14s linear infinite;
    pointer-events: none;
  }
  .courses-sticky::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(880px 500px at 50% 54%, rgba(184, 138, 46, 0.12), transparent 70%);
    animation: bg-breathe 9s ease-in-out infinite alternate;
    pointer-events: none;
  }
  .courses .hhead {
    position: relative;
    width: min(820px, 92%);
    margin: 0 auto clamp(34px, 4vh, 56px);
    padding-top: 0;
    z-index: 4;
    /* congelado: sem animação de entrada nem parallax */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  /* fluxo n8n: nós em zigzag ligados por conectores */
  .courses-track {
    position: relative;
    z-index: 2;
    display: block;
    height: auto;
    width: min(1180px, 92%);
    margin-inline: auto;
    perspective: 1500px;
  }
  /* partículas douradas a meia velocidade */
  .courses-sticky .dust {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
      radial-gradient(rgba(244, 222, 138, 0.5) 1px, transparent 1.6px),
      radial-gradient(rgba(212, 175, 55, 0.35) 1px, transparent 1.6px);
    background-size: 340px 280px, 214px 258px;
    background-position: 0 0, 120px 80px;
    opacity: 0.4;
    translate: calc(var(--hshift, 0px) * 2.4) 0;
    animation: dust-drift 26s linear infinite alternate;
    pointer-events: none;
  }
  @keyframes dust-drift {
    to { background-position: -70px -40px, 60px 40px; }
  }
  .courses-sticky::before { translate: var(--hshift, 0px) 0; }
  .courses-sticky .gold-exit {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
    z-index: 3;
  }
  .course-panel {
    width: clamp(330px, 34vw, 440px);
    height: auto;
    display: flex;
    align-items: stretch;
    padding: 0;
    margin: 0;
  }
  /* 01 à esquerda · 02 à direita · 03 à esquerda */
  #curso-1 { margin-right: auto; }
  #curso-2 { margin-left: auto; }
  #curso-3 { margin-right: auto; }
  .course-panel .course-row {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 22px;
    border-top: 0 !important;
    background: linear-gradient(180deg, #0C0B09, #070605);
    border: 1px solid var(--line-strong);
    transform-style: preserve-3d;
    will-change: transform, filter;
    transition: filter 0.35s ease;
  }
  /* card 01 + câmera formam uma peça só: a moldura passa para o conjunto */
  .branch-row .course-panel .course-row {
    background: none;
    border: 0;
    padding: 0;
  }
  .branch-row .course-panel .course-row::after { content: none; }
  /* luz que contorna a borda no hover */
  .course-panel .course-row::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: conic-gradient(
      from var(--a),
      transparent 0deg 232deg,
      rgba(255, 248, 214, 0.3) 276deg,
      #FFF6CE 308deg,
      #F4DE8A 330deg,
      rgba(244, 222, 138, 0.25) 352deg,
      transparent 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: energia 2.6s linear infinite;
    pointer-events: none;
    z-index: 4;
  }
  .course-panel .course-row:hover::after { opacity: 1; }
  .course-panel .course-media { order: -1; }
  .course-panel .course-media .photo { max-height: 300px; aspect-ratio: 4 / 3.2; }
  .course-panel .course-media .edge { inset: 12px -8px -8px 12px; }
  .course-panel .course-copy { margin-top: 22px; }
  .course-panel .course-copy .num { font-size: clamp(54px, 5vw, 74px); }
  .course-panel .course-copy h3 { font-size: clamp(19px, 1.6vw, 24px); margin-top: 12px; }
  .course-panel .course-copy .product { font-size: 10.5px; letter-spacing: 0.18em; margin-top: 12px; }
  .course-panel .course-benefits { gap: 8px; margin-top: 16px; }
  .course-panel .course-benefits li { font-size: 13.5px; }
  .course-panel .course-copy .btn { margin-top: 20px; width: 100%; padding: 15px 16px; font-size: 11.5px; }
  .course-panel .course-tagline { font-size: 9.5px; padding: 6px 11px; margin-bottom: 12px; }
}
.course-row.flip .course-media { order: -1; }
.course-copy { position: relative; }
.course-copy .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(90px, 11vw, 150px);
  font-weight: 800;
  line-height: 0.85;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.course-copy h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--white);
  margin-top: 20px;
  max-width: 560px;
  text-transform: uppercase;
  line-height: 1.04;
}
.course-copy h3 em { font-style: italic; color: var(--gold); }
.course-copy .product {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.course-copy .product::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.course-benefits { margin-top: 22px; display: grid; gap: 11px; max-width: 470px; }
.course-benefits li { display: flex; gap: 14px; font-size: 15px; color: #CFC9BE; }
.course-benefits li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--gold); margin-top: 11px; }
.price-row { margin-top: 24px; }
.price-row .price {
  font-family: var(--font-display);
  font-size: 36px;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-row small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }
.course-copy .btn { margin-top: 28px; }
.course-tagline {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 999px;
}
.course-media { position: relative; }
/* cards dos cursos: estáticos ao rolar (sem parallax nem deslize de entrada) */
.course-row.reveal,
.course-media.rv-img,
.course-media .photo img,
.course-media .edge {
  transform: none !important;
  transition: opacity 0.6s ease !important;
}
.course-media .photo {
  position: relative;
  aspect-ratio: 4 / 4.6;
  max-height: 560px;
  width: 100%;
  overflow: hidden;
  background: var(--graphite);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7);
}
.course-media .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
}
.course-media .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 3, 3, 0.5), transparent 42%);
}
.course-media .cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 245, 242, 0.85);
}

/* ---------- Câmera digital com LCD (ao lado do curso 01) ---------- */
.branch-row { display: block; }
.branch-link { display: none; }
.dcam-wrap { margin-top: 30px; perspective: 1600px; }
.dcam-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.dcam {
  position: relative;
  transform-style: preserve-3d;
  animation: dcam-float 9s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes dcam-float {
  from { transform: translateY(-4px) rotateY(-2deg); }
  to   { transform: translateY(4px) rotateY(2deg); }
}
/* corpo da câmera */
.dcam-body {
  position: relative;
  padding: 40px 20px 22px;
  border-radius: 20px 20px 26px 26px;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.15s linear;
  background:
    radial-gradient(120% 60% at 50% 0%, #35342F 0%, #22221E 32%, #141412 70%),
    linear-gradient(180deg, #26251F, #131311 60%, #0C0C0A);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 6px rgba(0, 0, 0, 0.9),
    inset 6px 0 14px rgba(0, 0, 0, 0.5),
    0 30px 60px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(212, 175, 55, 0.08);
}
/* textura granulada do corpo */
.dcam-body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='cg'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23cg)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.13;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* brilho na aresta superior */
.dcam-body::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}
/* visor / pentaprisma */
.dcam-vf {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 30px;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, #2C2B26, #1A1A17 65%, #121210);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 14px rgba(0, 0, 0, 0.6);
}
.dcam-vf i {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 60px;
  height: 15px;
  border-radius: 3px;
  background: linear-gradient(180deg, #0A0A09, #171714);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* sapata */
.dcam-shoe {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(180deg, #4A4941, #2A2924);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* dial de modos */
.dcam-dial {
  position: absolute;
  top: 6px;
  right: 74px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(#3A3932 0deg 6deg, #22221D 6deg 12deg),
    radial-gradient(circle, #2E2D28, #191916);
  box-shadow:
    inset 0 0 0 3px #1B1B17,
    inset 0 2px 4px rgba(255, 255, 255, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.7);
}
.dcam-shutter {
  position: absolute;
  top: 12px;
  right: 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #6B6A5E, #35352E 60%, #1D1D19);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 9px rgba(0, 0, 0, 0.7);
}
.dcam-brand {
  position: absolute;
  top: 14px;
  left: 26px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: rgba(212, 175, 55, 0.55);
}
/* botões laterais */
.dcam-left, .dcam-right {
  position: absolute;
  top: 76px;
  bottom: 30px;
  width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.dcam-left { left: 12px; }
.dcam-right { right: 12px; justify-content: center; gap: 12px; }
.dcam-left .dk, .dcam-right .dk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #46453D, #23231F 65%, #151513);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 7px rgba(0, 0, 0, 0.7);
}
.dcam-right .dk.sm { width: 17px; height: 17px; }
.dcam-wheel {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 30%, #2A2924 31%, #1A1A16 70%),
    conic-gradient(#33322B, #22221D, #33322B, #22221D, #33322B);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 10px rgba(0, 0, 0, 0.75);
}
.dcam-wheel i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #4E4D44, #232320);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
/* correias */
.dcam-strap {
  position: absolute;
  top: 26px;
  width: 16px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, #3A3932, #1E1E1A);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  z-index: -1;
}
.dcam-strap.l { left: -8px; }
.dcam-strap.r { right: -8px; }
.dcam-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -26px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.8), transparent 70%);
  filter: blur(10px);
}

/* ---- LCD ---- */
.dcam-screen {
  position: relative;
  margin: 0 66px;
  padding: 7px;
  border-radius: 6px;
  background: linear-gradient(180deg, #171714, #0B0B09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 4px 10px rgba(0, 0, 0, 0.85);
}
.lcd {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: none;
  border-radius: 3px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #101318 0%, #08090C 55%, #050607 100%);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12), inset 0 0 40px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}
/* HUD */
.lcd-hud {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 13px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: rgba(233, 233, 228, 0.62);
  flex: none;
}
.lcd-hud.top { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.lcd-hud.bottom {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  justify-content: space-between;
}
.lcd-hud .hud-af { color: var(--gold-2); }
.lcd-hud .hud-status { color: rgba(233, 233, 228, 0.55); letter-spacing: 0.2em; }
.lcd.locked .hud-status { color: var(--gold-light); }
.lcd.locked .hud-status::before {
  content: "● ";
  color: var(--gold);
}
.hud-pages { display: inline-flex; gap: 5px; }
.hud-pages .pg {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease;
}
.hud-pages .pg.on { background: var(--gold); box-shadow: 0 0 6px rgba(212, 175, 55, 0.8); }
.hud-batt {
  position: relative;
  width: 20px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}
.hud-batt::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
}
.hud-batt b {
  position: absolute;
  inset: 1.5px;
  width: 66%;
  background: var(--gold);
  border-radius: 1px;
}
/* páginas */
.lcd-stage { position: relative; flex: 1; padding: 14px 15px; overflow: hidden; }
.lcd-page {
  position: absolute;
  inset: 14px 15px;
  columns: 2;
  column-gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lcd-page.is-on { opacity: 1; pointer-events: auto; }
.lcd-page .lp-block { break-inside: avoid; margin-bottom: 13px; }
.lp-block h4 {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.lp-block ul { margin-top: 6px; display: grid; gap: 4px; }
.lp-block li {
  position: relative;
  padding-left: 12px;
  font-size: 11px;
  line-height: 1.38;
  color: rgba(245, 245, 242, 0.9);
}
.lp-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
/* escrita progressiva */
.lcd-page .lp-block h4,
.lcd-page .lp-block li { clip-path: inset(0 100% 0 0); }
.lcd-page.write .lp-block h4,
.lcd-page.write .lp-block li { animation: ar-materialize 0.5s cubic-bezier(0.2, 1, 0.3, 1) forwards; }

/* ---- Realidade aumentada: texto projetado sobre o LCD ---- */
@keyframes ar-materialize {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateZ(0) translateY(3px) scale(0.985);
    filter: blur(3px);
    text-shadow: 0 0 16px rgba(244, 222, 138, 0.9);
  }
  45% {
    opacity: 1;
    filter: blur(0.6px);
    text-shadow: 0 0 12px rgba(244, 222, 138, 0.7), 1px 0 rgba(96, 210, 255, 0.35), -1px 0 rgba(255, 120, 90, 0.22);
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: none;
    filter: blur(0);
    text-shadow: 0 0 9px rgba(244, 222, 138, 0.3), 0 0 20px rgba(212, 175, 55, 0.14);
  }
}
/* halo permanente + cintilar holográfico */
.lcd-page .lp-block li {
  text-shadow: 0 0 9px rgba(244, 222, 138, 0.26), 0 0 20px rgba(212, 175, 55, 0.12);
}
.lcd-page .lp-block h4 {
  text-shadow: 0 0 12px rgba(244, 222, 138, 0.5), 0 0 26px rgba(212, 175, 55, 0.22);
  animation: ar-flicker 5.5s ease-in-out infinite;
}
@keyframes ar-flicker {
  0%, 92%, 100% { opacity: 1; }
  94% { opacity: 0.72; }
  96% { opacity: 1; }
  97.5% { opacity: 0.85; }
}
/* marcadores AR nos cabeçalhos */
.lcd-page .lp-block h4 { position: relative; padding-left: 10px; }
.lcd-page .lp-block h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 6px;
  width: 5px;
  border: 1px solid rgba(244, 222, 138, 0.7);
  border-right: 0;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
/* varrimento holográfico e retícula do LCD */
.lcd-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: repeating-linear-gradient(
    180deg,
    rgba(244, 222, 138, 0.045) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: screen;
  pointer-events: none;
}
.lcd-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 26%;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(244, 222, 138, 0.1) 45%, rgba(255, 246, 206, 0.16) 52%, transparent);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: ar-scan 7s linear infinite;
}
@keyframes ar-scan {
  0% { top: -30%; opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 104%; opacity: 0; }
}
@keyframes lcd-write {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
/* foco: conteúdo desfocado até o AF travar */
.lcd-stage { filter: blur(8px); transition: filter 0.45s ease; }
.lcd.focusing .lcd-stage { filter: blur(4px); }
.lcd.locked .lcd-stage { filter: blur(0); }
/* caixa de autofoco */
.af-box {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 27%;
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%) scale(2.3);
  transform-origin: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.3, 1, 0.4, 1), border-color 0.3s ease, opacity 0.3s ease;
}
.af-box::before, .af-box::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: inherit;
  border-style: solid;
}
.af-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.af-box::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.lcd.focusing .af-box {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.48);
  animation: af-hunt 0.9s ease-in-out;
}
@keyframes af-hunt {
  0%, 100% { transform: translate(-50%, -50%) scale(1.48); }
  30% { transform: translate(-53%, -47%) scale(1.52); }
  60% { transform: translate(-47%, -53%) scale(1.44); }
}
.lcd.locked .af-box {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
  animation: af-lock 0.5s ease-out;
}
@keyframes af-lock {
  0% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  40% { box-shadow: 0 0 26px rgba(244, 222, 138, 0.9); }
  100% { box-shadow: 0 0 14px rgba(212, 175, 55, 0.55); }
}
/* flash dourado ao travar o foco */
.lcd-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(244, 222, 138, 0.3), transparent 70%);
  opacity: 0;
  pointer-events: none;
}
.lcd.locked .lcd-flash { animation: lcd-flash 0.55s ease-out; }
@keyframes lcd-flash {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}
/* LCD em modo vídeo */
.lcd-video .lcd-stage { padding: 0; filter: blur(8px); }
.lcd-video.focusing .lcd-stage { filter: blur(4px); }
.lcd-video.locked .lcd-stage { filter: blur(0); }
.lcd-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lcd-video .lcd-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: repeating-linear-gradient(180deg, rgba(244, 222, 138, 0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.lcd-video .lcd-stage::after { content: none; }
/* LCD em modo realidade aumentada: cena em movimento + camada de dados */
.lcd-ar .lcd-stage { padding: 0; filter: blur(8px); }
.lcd-ar.focusing .lcd-stage { filter: blur(4px); }
.lcd-ar.locked .lcd-stage { filter: blur(0); }
.lcd-ar .lcd-stage::before { content: none; }
.lcd-ar .lcd-stage::after { content: none; }

/* painel de logótipos dentro do ecrã */
.brandwall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(6px, 1.4vw, 14px);
  padding: clamp(16px, 3vw, 30px) clamp(14px, 2.6vw, 26px) clamp(30px, 5vw, 44px);
  background:
    radial-gradient(120% 90% at 50% 0%, #17110A 0%, #0A0805 60%, #050403 100%);
}
/* cada marca numa placa clara: as cores originais mantêm-se legíveis no ecrã escuro */
.bw-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(5px, 1.1vw, 11px);
  background: #F5F5F2;
  border-radius: 3px;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 175, 55, 0.3),
    0 0 14px rgba(212, 175, 55, 0.12);
  opacity: 0;
}
.bw-slot.bw-missing { background: none; box-shadow: none; }
/* contain garante que o logótipo inteiro cabe, seja qual for o seu formato */
.bw-slot img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
/* logo ainda por fornecer: lugar marcado, nunca inventado */
.bw-missing::after {
  content: "";
  position: absolute;
  inset: 14% 8%;
  border: 1px dashed rgba(212, 175, 55, 0.34);
}
.lcd-ar.locked .bw-slot { animation: ar-materialize 0.5s ease forwards; }
.lcd-ar.locked .bw-slot:nth-child(1) { animation-delay: 0.9s; }
.lcd-ar.locked .bw-slot:nth-child(2) { animation-delay: 1.02s; }
.lcd-ar.locked .bw-slot:nth-child(3) { animation-delay: 1.14s; }
.lcd-ar.locked .bw-slot:nth-child(4) { animation-delay: 1.26s; }
.lcd-ar.locked .bw-slot:nth-child(5) { animation-delay: 1.38s; }
.lcd-ar.locked .bw-slot:nth-child(6) { animation-delay: 1.5s; }
.lcd-ar.locked .bw-slot:nth-child(7) { animation-delay: 1.62s; }
.lcd-ar.locked .bw-slot:nth-child(8) { animation-delay: 1.74s; }
.bw-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.4vw, 20px);
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: rgba(244, 222, 138, 0.72);
  white-space: nowrap;
  opacity: 0;
}
.lcd-ar.locked .bw-caption { animation: ar-materialize 0.55s ease 1.9s forwards; }
@media (max-width: 767px) {
  /* o ecrã fica estreito e vertical: uma marca por linha, para se ler */
  .brandwall {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 14px 30px;
  }
  .bw-slot { padding: 5px 10px; }
  .bw-caption { font-size: 6.5px; letter-spacing: 0.16em; bottom: 9px; }
}

.hud-rec { display: inline-flex; align-items: center; gap: 6px; color: #FF6B5A; }
.hud-rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF3B2F;
  box-shadow: 0 0 8px rgba(255, 59, 47, 0.9);
  animation: rec-blink 1.6s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0.15; }
}

/* vidro do LCD */
.lcd-glass {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.09) 0%, transparent 26%),
    linear-gradient(200deg, transparent 62%, rgba(255, 255, 255, 0.05) 88%);
  pointer-events: none;
}

@media (min-width: 1100px) {
  /* card único: curso 01 + câmera dentro da mesma moldura */
  .branch-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 26px clamp(22px, 2.2vw, 34px);
    background: linear-gradient(180deg, #0C0B09, #070605);
    border: 1px solid var(--line-strong);
    transition: filter 0.35s ease;
  }
  /* dentro da caixa única a coluna do curso fica encostada à borda:
     as margens automáticas do zigzag deixam de se aplicar */
  .branch-row .course-panel {
    flex: 0 0 clamp(320px, 27vw, 390px);
    margin: 0;
  }
  /* card 02: câmera à esquerda, curso à direita */
  .branch-row.flip { flex-direction: row-reverse; }
  /* luz dourada a contornar a peça inteira no hover */
  .branch-row::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: conic-gradient(
      from var(--a),
      transparent 0deg 232deg,
      rgba(255, 248, 214, 0.3) 276deg,
      #FFF6CE 308deg,
      #F4DE8A 330deg,
      rgba(244, 222, 138, 0.25) 352deg,
      transparent 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: energia 2.6s linear infinite;
    pointer-events: none;
    z-index: 4;
  }
  .branch-row:hover::after { opacity: 1; }
  .dcam-wrap {
    flex: 0 1 clamp(430px, 40vw, 560px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .dcam-wrap .lcd { aspect-ratio: auto; min-height: 430px; }
  .dcam-wrap .dcam-screen { margin: 0 46px; }
  .dcam-wrap .lp-block li { font-size: 10.5px; line-height: 1.4; }
  .dcam-wrap .lp-block h4 { font-size: 9px; letter-spacing: 0.14em; }
  .dcam-wrap .lcd-page { column-gap: 20px; }
  .dcam-wrap .dcam-left, .dcam-wrap .dcam-right { width: 40px; }
  .dcam-wrap .dcam-left .dk, .dcam-wrap .dcam-right .dk { width: 17px; height: 17px; }
  .dcam-wrap .dcam-wheel { width: 34px; height: 34px; }
  .dcam-wrap .dcam-wheel i { width: 13px; height: 13px; }
  .dcam-wrap .dcam-dial { width: 34px; height: 34px; right: 58px; }
  .dcam-wrap .dcam-shutter { width: 20px; height: 20px; right: 22px; }
  .dcam-wrap .dcam-vf { width: 104px; height: 24px; top: -18px; }
  .dcam-wrap .dcam-shoe { width: 42px; top: -24px; }
  /* conector n8n horizontal: card 01 → câmera */
  .branch-link {
    display: block;
    position: relative;
    flex: 0 0 clamp(54px, 5vw, 86px);
    align-self: center;
    height: 110px;
  }
  .branch-link svg { width: 100%; height: 100%; overflow: visible; }
  .branch-link .bl-base {
    fill: none;
    stroke: rgba(212, 175, 55, 0.28);
    stroke-width: 1.6;
    stroke-dasharray: 7 9;
    vector-effect: non-scaling-stroke;
  }
  .branch-link .bl-pulse {
    fill: none;
    stroke: #F4DE8A;
    stroke-width: 2.4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 6px rgba(244, 222, 138, 0.9));
    stroke-dasharray: 22 400;
    stroke-dashoffset: 422;
    animation: bl-energia 2.2s linear infinite;
  }
  @keyframes bl-energia {
    from { stroke-dashoffset: 422; }
    to   { stroke-dashoffset: 0; }
  }
  .branch-link .bl-node {
    position: absolute;
    top: calc(50% - 5px);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--metal);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16), 0 0 14px rgba(212, 175, 55, 0.6);
    animation: fl-node-pulse 2.2s ease-in-out infinite;
  }
  .branch-link .bl-node-a { left: -5px; }
  .branch-link .bl-node-b { right: -5px; }
}
/* nós ancorados nas caixas: saída da câmera 01 → entrada na câmera 02 */
.fl-cam .fl-node-a { left: calc(70.2% - 5px); }
.fl-cam .fl-node-b { left: calc(29.8% - 5px); }
@media (max-width: 1099px) {
  .dcam-wrap { max-width: 640px; margin-inline: auto; }
  .lcd { aspect-ratio: auto; min-height: 420px; }
}
@media (max-width: 767px) {
  .dcam-wrap { width: 90vw; max-width: none; margin-inline: auto; }
  .dcam-body { padding: 32px 12px 18px; }
  .dcam-screen { margin: 0 42px; }
  .lcd { aspect-ratio: auto; min-height: 500px; }
  .lcd-hud { gap: 8px; font-size: 8px; letter-spacing: 0.1em; padding: 8px 10px; }
  .lcd-stage { padding: 12px 12px; }
  .lcd-page { inset: 12px 12px; gap: 12px; }
  .lp-block li { font-size: 11.5px; line-height: 1.4; }
  .lp-block h4 { font-size: 9.5px; letter-spacing: 0.16em; }
  .dcam-left, .dcam-right { width: 38px; }
  .dcam-left .dk, .dcam-right .dk { width: 17px; height: 17px; }
  .dcam-wheel { width: 34px; height: 34px; }
  .dcam-vf { width: 96px; }
  .lp-block li { font-size: 12px; }
}
/* ---------- Conectores de fluxo (n8n) ---------- */
.flow-link {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(120px, 15vh, 190px);
  pointer-events: none;
}
.flow-link svg { width: 100%; height: 100%; overflow: visible; }
.flow-link .fl-base {
  fill: none;
  stroke: rgba(212, 175, 55, 0.28);
  stroke-width: 1.6;
  stroke-dasharray: 7 9;
  vector-effect: non-scaling-stroke;
}
.flow-link .fl-pulse {
  fill: none;
  stroke: #F4DE8A;
  stroke-width: 2.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(244, 222, 138, 0.9));
  stroke-dasharray: 26 1000;
  stroke-dashoffset: 1026;
  opacity: 0;
}
.flow-link.live .fl-pulse {
  opacity: 1;
  animation: fl-energia 2.6s linear infinite;
}
.flow-link.fl-left.live .fl-pulse { animation-delay: 0.5s; }
.flow-link.fl-exit.live .fl-pulse { animation-delay: 1s; }
@keyframes fl-energia {
  from { stroke-dashoffset: 1026; }
  to   { stroke-dashoffset: 0; }
}
/* nós de ligação (pontos dourados) */
.flow-link .fl-node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--metal);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16), 0 0 14px rgba(212, 175, 55, 0.6);
}
.flow-link .fl-node-a { top: -5px; }
.flow-link .fl-node-b { bottom: -5px; }
.fl-right .fl-node-a { left: calc(14% - 5px); }
.fl-right .fl-node-b { left: calc(86% - 5px); }
.fl-left .fl-node-a { left: calc(82.7% - 5px); }
.fl-left .fl-node-b { left: calc(17.4% - 5px); }
.fl-exit .fl-node-a { left: calc(70.2% - 5px); }
.flow-link.live .fl-node {
  animation: fl-node-pulse 2.6s ease-in-out infinite;
}
@keyframes fl-node-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16), 0 0 12px rgba(212, 175, 55, 0.5); }
  50% { transform: scale(1.25); box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.1), 0 0 22px rgba(244, 222, 138, 0.95); }
}

/* ---------- Bónus ---------- */
.bonus { overflow: hidden; }
.bonus .bg-word {
  top: -2%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(100px, 17vw, 240px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.2);
}
.bonus-shell {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(720px 420px at 85% 0%, rgba(184, 138, 46, 0.12), transparent 60%),
    linear-gradient(180deg, #0C0A07, #070605);
  padding: clamp(34px, 5vw, 70px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  overflow: hidden;
}
/* borda dourada animada da shell */
.bonus-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  background: conic-gradient(
    from var(--a),
    transparent 0deg 250deg,
    rgba(244, 222, 138, 0.35) 290deg,
    #F4DE8A 318deg,
    rgba(244, 222, 138, 0.3) 346deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: energia 5s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.bonus-visual { position: relative; min-height: 300px; }
.bonus-cam3d {
  position: absolute;
  width: min(300px, 82%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
}
.bonus-copy h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--white); margin-top: 16px; }
.bonus-badge {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 16px;
}
.bonus-copy p { color: var(--muted); margin-top: 16px; max-width: 480px; }
.bonus-copy .btn { margin-top: 28px; }

/* ---------- Poder (Joana + mão + câmera) ---------- */
.power {
  background:
    radial-gradient(900px 640px at 28% 55%, rgba(138, 103, 40, 0.14), transparent 65%),
    var(--black);
  overflow: hidden;
}
.power-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}
.power-visual { position: relative; }
.power-visual .power-img {
  width: min(520px, 100%);
  margin-inline: auto;
  display: block;
  -webkit-mask-image: radial-gradient(135% 115% at 50% 40%, #000 62%, transparent 96%);
  mask-image: radial-gradient(135% 115% at 50% 40%, #000 62%, transparent 96%);
}
.power-cam3d {
  width: clamp(170px, 17vw, 260px);
  right: 1.5%;
  top: 4%;
}
.power-copy .lead-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gold);
  margin-top: 22px;
}
.power-copy h2 { color: var(--white); text-transform: uppercase; font-size: clamp(28px, 3.6vw, 46px); }
.power-copy h2 .gold-text { font-style: italic; }
.power-copy p { color: var(--muted); margin-top: 18px; max-width: 480px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.link-more::after { content: "→"; transition: transform 0.25s ease; color: var(--gold); }
.link-more:hover::after { transform: translateX(6px); }

/* ---------- Autoridade (branco) ---------- */
.about {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  overflow: hidden;
}
.about .bg-word {
  top: 8%;
  right: -4%;
  color: rgba(11, 11, 11, 0.045);
}
.about::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 55%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 103, 40, 0.5), transparent);
  transform: rotate(-16deg);
  pointer-events: none;
}
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
}
.about-media { position: relative; }
.about-media .photo {
  position: relative;
  aspect-ratio: 418 / 690;
  max-height: 640px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 11, 11, 0.22);
}
.about-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.about-media .edge { border-color: rgba(138, 103, 40, 0.45); }
.about-media .edge::after { border-color: #8A6728; }
.about .eyebrow { color: var(--gold-dark); }
.about .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-dark)); }
.about h2 { font-size: clamp(40px, 5.4vw, 64px); color: var(--ink); }
.about .role {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B6459;
}
.about p { margin-top: 18px; color: #3E3A34; font-size: 16px; max-width: 540px; }
.about .creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B6459;
}
.about .creds span { display: inline-flex; align-items: center; gap: 10px; }
.about .creds span::before { content: ""; width: 6px; height: 6px; background: var(--gold-mid); transform: rotate(45deg); }
.about .ig-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.about .handle { font-weight: 700; font-size: 14.5px; color: #3E3A34; }

/* ---------- Oferta ---------- */
.offer { background: linear-gradient(180deg, var(--black), #070604 60%, var(--black)); }
#countdown { margin: 0 auto 48px; text-align: center; }
#countdown .cd-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.cd-grid { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.cd-cell { min-width: 86px; padding: 18px 10px 14px; background: #0A0906; border: 1px solid var(--line-strong); }
.cd-cell b {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cd-cell span { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.offer-spots { text-align: center; margin: -20px 0 34px; }
.offer-list { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.offer-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(90deg, #0E0C09, #080706);
  border: 1px solid var(--line);
  padding: 24px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.offer-row:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 8px 30px rgba(212, 175, 55, 0.12);
}
.offer-row .num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  flex: none;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.offer-row .info { flex: 1; min-width: 0; }
.offer-row .info small {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.offer-row .info strong { font-size: 16.5px; font-weight: 600; color: var(--off); }
.offer-row .price-row { margin: 0; text-align: right; }
.offer-row .price { font-size: 26px; }
.offer-row .btn { flex: none; padding: 15px 24px; }
.offer-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 28px; }
.offer-note a { color: var(--gold-light); font-weight: 700; }
.offer-note a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { background: var(--black); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq-item {
  background: linear-gradient(180deg, #0E0D0B, #090908);
  border: 1px solid rgba(212, 175, 55, 0.12);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--off);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-item .faq-body b { color: var(--off); }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding: clamp(110px, 15vw, 190px) 0;
  background-image:
    radial-gradient(900px 520px at 50% 50%, rgba(138, 103, 40, 0.18), transparent 70%),
    linear-gradient(rgba(3, 3, 3, 0.9), rgba(3, 3, 3, 0.97)),
    url("../assets/joana-dark.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, center 30%;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.final-cta h2 { font-size: clamp(32px, 5vw, 60px); color: var(--white); position: relative; z-index: 1; text-transform: uppercase; line-height: 1.08; }
.final-cta h2 .dim { color: rgba(245, 245, 242, 0.42); }
.final-cta h2 .gold-text { font-style: italic; }
.final-cta .hero-ctas { justify-content: center; position: relative; z-index: 1; }
.final-cam3d {
  width: clamp(150px, 14vw, 220px);
  right: 5%;
  bottom: 6%;
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.site-footer { padding: 54px 0 120px; border-top: 1px solid rgba(212, 175, 55, 0.1); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 245, 242, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  color: #6F6961;
  font-size: 12.5px;
}

/* ---------- Botão "aceitar termos" em forma de câmera ---------- */
.cam-accept {
  position: relative;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: rgba(212, 175, 55, 0.62);
  opacity: 0.8;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.cam-accept:hover { color: var(--gold-light); opacity: 1; transform: translateY(-1px); }
/* corpo da câmera */
.cam-accept .ca-body {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.04), rgba(3, 3, 3, 0.3));
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
/* visor/pentaprisma no topo, para ler como câmera */
.cam-accept .ca-body::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 26px;
  width: 18px;
  height: 5px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), transparent);
  transition: border-color 0.25s ease;
}
.cam-accept:hover .ca-body,
.cam-accept:hover .ca-body::before { border-color: rgba(212, 175, 55, 0.75); }
.cam-accept:hover .ca-body { box-shadow: 0 0 18px rgba(212, 175, 55, 0.18); }
.cam-accept .ca-icon { width: 18px; height: 13px; flex: none; }
.cam-accept .ca-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* estado aceite */
.cam-accept.accepted { color: var(--gold-light); cursor: default; }
.cam-accept.accepted .ca-body {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}
.cam-accept.accepted .ca-icon { animation: ca-flash 0.55s ease-out; }
@keyframes ca-flash {
  0% { filter: drop-shadow(0 0 0 rgba(255, 246, 206, 0)); }
  35% { filter: drop-shadow(0 0 12px rgba(255, 246, 206, 0.95)); }
  100% { filter: drop-shadow(0 0 0 rgba(255, 246, 206, 0)); }
}

/* ---------- Consentimento RGPD antes do checkout ---------- */
.rgpd {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 3, 3, 0.82);
  backdrop-filter: blur(5px);
  animation: rgpd-in 0.28s ease;
}
@keyframes rgpd-in { from { opacity: 0; } to { opacity: 1; } }
.rgpd-box {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 42px) clamp(22px, 3.4vw, 38px) clamp(24px, 3vw, 32px);
  background: linear-gradient(180deg, #0C0B09, #060505);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  text-align: center;
  animation: rgpd-rise 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rgpd-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.rgpd-box h3 {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin: 10px 0 14px;
}
.rgpd-box > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted, #A9A29A);
  margin-bottom: 20px;
}
.rgpd-box strong { color: var(--gold-light); font-weight: 600; }
/* caixa de consentimento */
.rgpd-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  text-align: left;
  padding: 14px 15px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(212, 175, 55, 0.04);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.rgpd-check:hover { border-color: rgba(212, 175, 55, 0.5); }
.rgpd-check:has(input:checked) {
  border-color: rgba(212, 175, 55, 0.62);
  background: rgba(212, 175, 55, 0.08);
}
.rgpd-check input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--gold);
  cursor: pointer;
}
.rgpd-check span {
  font-size: 12.5px;
  line-height: 1.6;
  color: #C8C2B9;
}
.rgpd-check a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.rgpd-go { width: 100%; margin-top: 18px; }
.rgpd-go:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.35); }
.rgpd-cancel {
  display: block;
  margin: 14px auto 0;
  padding: 4px 8px;
  background: none;
  border: 0;
  color: #6F6961;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}
.rgpd-cancel:hover { color: #B8B1A7; }
.rgpd-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  color: #6F6961;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.rgpd-x:hover { color: var(--gold-light); }

/* ---------- Notificação de inscrições (prova social) ---------- */
.proof {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 68;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: min(320px, calc(100vw - 44px));
  padding: 10px 15px 10px 11px;
  background: linear-gradient(140deg, rgba(14, 11, 6, 0.97), rgba(6, 5, 3, 0.97));
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.proof.show { opacity: 1; transform: translateY(0) scale(1); }
/* fotografia (ou iniciais) do aluno */
.proof-avatar {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, #241B0C, #0C0905);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}
.proof-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* selo com ícone de câmera */
.proof-cam {
  position: absolute;
  left: 40px;
  bottom: 8px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--metal);
  border: 1px solid rgba(6, 5, 3, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.proof-cam svg { width: 12px; height: 12px; fill: #120C02; }
.proof-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proof-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proof-meta {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(244, 222, 138, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  /* acima da barra fixa de CTA, para não a tapar */
  .proof { left: 14px; right: 14px; bottom: 84px; max-width: none; padding: 9px 13px 9px 10px; }
  .proof-name { font-size: 12.5px; }
  .proof-meta { font-size: 10px; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(6, 6, 6, 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.05); border-color: var(--gold); }
.wa-fab svg { width: 25px; height: 25px; fill: var(--gold-light); }

/* ---------- Barra fixa mobile ---------- */
.mobile-cta {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 65;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(3, 3, 3, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-strong);
}
.mobile-cta .btn {
  width: min(430px, 100%);
  margin-inline: auto;
  padding: 16px 10px;
}

/* ---------- Popup ---------- */
.popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.popup.open { opacity: 1; }
.popup-box {
  position: relative;
  width: min(520px, 100%);
  background: linear-gradient(180deg, #0C0A07, #060505);
  border: 1px solid var(--line-strong);
  padding: clamp(30px, 5vw, 48px);
  text-align: center;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.popup.open .popup-box { transform: none; }
.popup-box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  background: conic-gradient(
    from var(--a),
    transparent 0deg 250deg,
    rgba(244, 222, 138, 0.35) 290deg,
    #F4DE8A 318deg,
    rgba(244, 222, 138, 0.3) 346deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: energia 4s linear infinite;
  pointer-events: none;
}
.popup-x {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  color: var(--muted);
  line-height: 1;
  padding: 6px;
  z-index: 2;
}
.popup-x:hover { color: var(--gold-light); }
.popup-box .eyebrow { justify-content: center; }
.popup-box h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--white);
  margin-top: 14px;
  line-height: 1.25;
}
.popup-extras {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.popup-extras .p-timer {
  font-family: var(--font-display);
  font-size: 30px;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.popup-extras .p-spots {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
}
.popup-box .btn { margin-top: 24px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-cam3d { right: -14px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  /* tablet/iPad mantém a organização do desktop (imagem à direita) */
  .hero { padding-top: calc(104px + var(--bar-h)); }
  .hero-grid { grid-template-columns: 42fr 58fr; gap: clamp(20px, 3vw, 36px); }
  .hero h1 { font-size: clamp(30px, 4.6vw, 44px); }
  .hero-card { width: min(430px, 100%); }
  .hero-cam3d { width: clamp(96px, 13vw, 128px); right: -4%; bottom: -6%; }
  .hero-scroll { display: none; }
  .lock-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .prog-cam3d { width: clamp(96px, 16vw, 130px); left: 1%; top: auto; bottom: 24px; opacity: 0.9; }
  .impact { min-height: 0; }
  .course-row { grid-template-columns: 1fr; gap: 26px; padding: 54px 0; }
  .course-row.flip .course-media { order: 0; }
  .course-media .photo { max-height: 440px; aspect-ratio: 4 / 4.2; }
  /* mobile: fluxo vertical com conectores centrados */
  .courses-track { display: block; width: 92%; margin-inline: auto; }
  .course-panel { width: 100%; }
  .course-panel .course-row { border-top: 0 !important; padding: 10px 0 16px; }
  /* mobile: card 01 + câmera continuam a ser uma peça só */
  .branch-row {
    padding: 18px 16px 24px;
    background: linear-gradient(180deg, #0C0B09, #070605);
    border: 1px solid var(--line-strong);
  }
  .branch-row .dcam-wrap { width: 100%; margin-top: 22px; }
  .courses-sticky .dust, .courses-sticky .gold-exit { display: none; }
  .flow-link { height: 92px; }
  .flow-link svg { display: none; }
  .flow-link::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1.6px;
    margin-left: -0.8px;
    background:
      linear-gradient(180deg, rgba(212, 175, 55, 0.35) 0 6px, transparent 6px 14px) 0 0 / 100% 14px repeat-y;
  }
  .flow-link.live::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    height: 26px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: linear-gradient(180deg, transparent, #F4DE8A, transparent);
    filter: drop-shadow(0 0 6px rgba(244, 222, 138, 0.9));
    animation: fl-drop 2.6s linear infinite;
  }
  @keyframes fl-drop {
    from { top: -26px; opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    to   { top: 100%; opacity: 0; }
  }
  .fl-right .fl-node-a, .fl-left .fl-node-a, .fl-exit .fl-node-a,
  .fl-right .fl-node-b, .fl-left .fl-node-b { left: calc(50% - 5px); }
  .power-grid { grid-template-columns: 1fr; }
  .power-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .power-cam3d { right: 2%; top: 2%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin-inline: auto; width: 100%; }
  .about .bg-word { font-size: clamp(90px, 26vw, 160px); top: 2%; }
  .bonus-shell { grid-template-columns: 1fr; }
  .bonus-visual { order: -1; min-height: 250px; }
  .bonus-cam3d { width: min(240px, 72%); }
  .faq-grid { grid-template-columns: 1fr; }
  .offer-row { flex-wrap: wrap; }
  .offer-row .btn { width: 100%; }
  .offer-row .price-row { text-align: left; }
  .final-cam3d { display: none; }
  .urgency-bar { gap: 10px; }
  .urgency-bar .u-label { font-size: 9.5px; letter-spacing: 0.14em; }
}

@media (max-width: 767px) {
  /* telemóvel: imagem POR CIMA da escrita */
  .hero { padding-top: calc(96px + var(--bar-h)); }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .hero-stage { order: -1; margin: 0 auto; width: 100%; }
  .hero-card { margin-inline: auto; width: min(420px, 92%); }
  .hero-copy { padding-bottom: 8px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .hero-cam3d { width: clamp(84px, 24vw, 116px); right: 2%; bottom: -7%; }
  .mobile-cta { display: flex; }
  .wa-fab { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  .site-footer { padding-bottom: 140px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .cd-cell { min-width: 72px; }
  .popup { align-items: end; padding: 0; }
  .popup-box {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
}

@media (max-width: 520px) {
  .urgency-bar .u-label { display: none; }
  .brand { font-size: 15px; letter-spacing: 0.04em; }
  .btn-header { padding: 10px 12px; font-size: 10px; letter-spacing: 0.08em; }
  .header-inner { gap: 10px; }
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .rv-img { opacity: 1; transform: none; }
  .btn-gold::after, .btn-gold .spark, .bonus-shell::before, .popup-box::before,
  .lock-card::before, .lock-card .spark, .progression::before, .progression::after,
  .energy-rays, .impact .imp-shine, .impact .imp-sparkle { display: none; }
  .lcd-page .lp-block h4, .lcd-page .lp-block li { clip-path: none !important; animation: none !important; }
  .lcd-stage { filter: none !important; }
  .lcd-stage::after { display: none; }
  .dcam { animation: none !important; }
}
