/* ==========================================================================
   Faria Studio — identidade visual
   CSS puro (sem @apply) para funcionar igual nos modos CDN e build do Tailwind.
   Base preta/grafite; neon só como acento.
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --graphite: #1c1c1f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #e8e8ec;
  --muted: #a1a1aa;
  --cyan: #00e5ff;
  --blue: #0066ff;
  --red: #ff2020;
  --purple: #8a2be2;
  --amber: #ffb144;
  --wood: #4a2e1f;
  --header-h: 68px;
  /* Margem lateral do conteúdo: ~20px (320) · 24px (375) · 28px (414+) · 28px (tablet) · 40px (desktop) */
  --gutter: clamp(20px, 6.5vw, 28px);
  /* Motion design — padrões compartilhados */
  --dur-1: 160ms;   /* hover, foco */
  --dur-2: 280ms;   /* botões, menus, modais */
  --dur-3: 650ms;   /* entradas ao rolar */
  --dur-4: 1100ms;  /* entrada da capa */
  --ease-out: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --radius-btn: 6px;
}
@media (min-width: 1024px) { :root { --gutter: 40px; } }
.gutter { padding-inline: var(--gutter); }
.bleed { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
@media (min-width: 1024px) { :root { --header-h: 84px; } }

/* [hidden] vence utilitários de display (flex, grid...) usados em filtros e menus. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { background: var(--ink); color: var(--text); overflow-x: hidden; }
::selection { background: rgba(255, 32, 32, 0.55); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: #000; padding: 10px 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Fotografia ---------- */
.ph-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, var(--pos, 50% 50%)); }
@media (min-width: 768px) { .ph-img { object-position: var(--pos, 50% 50%); } }
.ph-contain { object-fit: contain; }
.zoom > picture img, .zoom > img { transition: transform 0.7s ease; }
.group:hover .zoom > picture img, .group:hover .zoom > img { transform: scale(1.035); }
.shade-b { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 6, 7, 0.92) 100%); pointer-events: none; }
.shade-l { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.75) 35%, rgba(10, 10, 10, 0.1) 70%); pointer-events: none; }

/* Capa: foto fixa. Mobile: gradiente só na base, texto abaixo do rosto. Desktop: leitura à esquerda. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
/* Mobile: foto em cima (rosto livre), texto logo abaixo sobre o gradiente da base da foto */
/* Proporção ~1:1 abaixo do header: mostra ~57% da largura da foto 16:9 — cantora + logo neon juntas */
.hero-media { position: relative; margin-top: var(--header-h); aspect-ratio: 1.02 / 1; max-height: 62svh; width: 100%; }
@media (min-width: 640px) { .hero-media { aspect-ratio: 16 / 10; max-height: 70svh; } }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--ink) 0%, rgba(10, 10, 10, 0.55) 22%, rgba(10, 10, 10, 0) 48%, rgba(10, 10, 10, 0.45) 100%); }
.hero-body { position: relative; margin-top: -3rem; }
@media (min-width: 1024px) {
  .hero { display: flex; align-items: center; min-height: min(92vh, 860px); }
  .hero-media { position: absolute; inset: 0; margin-top: 0; aspect-ratio: auto; max-height: none; z-index: -1; }
  .hero-media::after { background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.6) 32%, rgba(10, 10, 10, 0) 58%),
    linear-gradient(0deg, var(--ink) 0%, transparent 25%); }
  .hero-body { margin-top: 0; }
}.display-xl { font-family: Anton, Impact, sans-serif; text-transform: uppercase; line-height: 0.95; font-size: clamp(2.5rem, 11vw, 5.75rem); text-wrap: balance; }
.display-lg { font-family: Anton, Impact, sans-serif; text-transform: uppercase; line-height: 0.98; font-size: clamp(2.1rem, 8.5vw, 4rem); text-wrap: balance; }
.lead { font-size: 1rem; line-height: 1.65; color: #d4d4d8; }
@media (min-width: 640px) { .lead { font-size: 1.0625rem; } }
.section { padding-block: 4.5rem; }
@media (min-width: 1024px) { .section { padding-block: 6.5rem; } }

/* Preço Next Stage */
.strike { position: relative; display: inline-block; color: #a1a1aa; }
.strike::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 2px; background: var(--red); transform: rotate(-8deg); }

/* Produções (vídeos) */
.prod-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #111; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.3s; }
button.prod-thumb:hover img { transform: scale(1.03); opacity: 0.85; }
.prod-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 999px; color: #fff; background: rgba(0, 0, 0, 0.45); border: 1.5px solid rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform 0.2s, background 0.2s; }
.prod-play svg { width: 20px; height: 20px; margin-left: 3px; }
button.prod-thumb:hover .prod-play { transform: scale(1.06); background: var(--red); border-color: var(--red); }
.prod-time { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 3px; font-size: 11px; font-variant-numeric: tabular-nums; color: #fff; background: rgba(0, 0, 0, 0.7); }
/* Grain sutil */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Logo ---------- */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { display: block; filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.15)); }
.session-logo { mix-blend-mode: screen; }

/* ---------- Header ---------- */
.site-header { transition: background-color 0.3s, border-color 0.3s; border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.45) 60%, rgba(10, 10, 10, 0) 100%); }
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(10, 10, 10, 0.88); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav-link {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #d4d4d8; transition: color 0.2s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform 0.25s; }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
/* Next Stage no menu: mesmo estilo dos links + marcador vermelho (destaque moderado, sem badge) */
.nav-featured { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; padding: 6px 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; transition: color var(--dur-1); }
.nav-featured::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--red); box-shadow: 0 0 10px rgba(255, 32, 32, 0.8); }
.nav-featured::after { content: ""; position: absolute; left: 14px; right: 0; bottom: -3px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
.nav-featured:hover::after, .nav-featured.is-active::after { transform: scaleX(1); }
.nav-featured svg { display: none; }
/* Menu mobile com transição */
.mobile-menu {
  position: absolute; inset-inline: 0; top: 100%; max-height: calc(100svh - var(--header-h));
  overflow-y: auto; overscroll-behavior: contain; background: rgba(10, 10, 10, 0.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; visibility: visible; transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s; }
.mobile-featured {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 0.8rem 1rem;
  border-radius: var(--radius-btn); border: 1px solid var(--line-strong); border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.03);
}
.mobile-featured svg.text-amber { color: var(--red); }

/* ---------- Botões (sistema único) ----------
   .btn + variante: primary (vermelho) · secondary (contorno) · whats (contorno + ícone verde)
   tamanho: padrão 48px · .btn-sm 40px (navegação/compacto)                                  */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: var(--radius-btn); border: 1px solid transparent;
  font-family: Anton, Impact, sans-serif; font-size: 0.92rem; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
              background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2);
  cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-primary { color: #fff; background: #e8191e; border-color: #ff3b3b;
  box-shadow: 0 10px 26px -14px rgba(255, 32, 32, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary::after { /* reflexo que atravessa no hover */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out); }
.btn-primary:hover { background: #ff2a2f; box-shadow: 0 14px 34px -12px rgba(255, 32, 32, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary, .btn-cyan, .btn-whats { color: #fff; background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.32); }
.btn-secondary:hover, .btn-cyan:hover, .btn-whats:hover { border-color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.07); }
.btn-whats svg:first-child { color: #25d366; }
.btn-sm, .btn-cyan { min-height: 40px; padding: 0 1rem; font-size: 0.8rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; transition: all 0.2s; }
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-btn--plain { border-color: transparent; }
.play-btn { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.85); color: #fff; background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: all 0.2s; }
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
a.play-btn:hover, button.play-btn:hover { border-color: var(--cyan); transform: scale(1.05); }

/* ---------- Tipografia ---------- */
.eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.eyebrow-line { display: inline-flex; align-items: center; gap: 0.75rem; }
.eyebrow-line::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.spaced { letter-spacing: 0.32em; text-transform: uppercase; }
.text-gradient-red { background: linear-gradient(180deg, #ff6a5a 0%, #ff2020 55%, #c4100f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose-faria p + p { margin-top: 1rem; }

/* ---------- Cards ---------- */
.card { position: relative; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, rgba(28, 28, 31, 0.85), rgba(14, 14, 16, 0.92)); transition: border-color 0.25s, transform 0.25s; }
.card-hover:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
.card-red { border-color: rgba(255, 32, 32, 0.7); box-shadow: 0 0 0 1px rgba(255, 32, 32, 0.2), 0 18px 40px -24px rgba(255, 32, 32, 0.6); }

.badge-ep { display: inline-block; padding: 3px 10px; border: 1.5px solid var(--red); border-radius: 4px; font-family: Anton, Impact, sans-serif; font-size: 0.82rem; letter-spacing: 0.1em; color: #ff5a5a; background: rgba(10, 10, 10, 0.65); }
.chip { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1rem; border-radius: 4px; border: 1px solid var(--line-strong); background: rgba(10, 10, 10, 0.55); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #e4e4e7; }
.filter-btn { padding: 0.5rem 1rem; border-radius: 4px; border: 1px solid var(--line-strong); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #d4d4d8; transition: all 0.2s; min-height: 40px; }
.filter-btn:hover { border-color: #fff; color: #fff; }
.filter-btn[aria-pressed="true"] { border-color: var(--red); color: #fff; background: rgba(255, 32, 32, 0.9); }

.bracket-frame { position: relative; padding: 0.6rem 1.6rem 0.5rem; }
.bracket-frame::before, .bracket-frame::after { content: ""; position: absolute; width: 40px; height: 40px; border: 2px solid #e2694f; }
.bracket-frame::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.bracket-frame::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Pilares */
.pillar + .pillar { border-left: 1px solid var(--line); }
@media (max-width: 767px) {
  .pillar:nth-child(odd) { border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* Timeline */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--red), rgba(0, 229, 255, 0.8)); }
.timeline__dot { position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 999px; background: var(--ink); border: 2px solid var(--cyan); }
.timeline__dot--ep { border-color: var(--red); background: var(--red); }
.timeline__dot--now { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 177, 68, 0.2); }

/* Galeria editorial */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 12px; } }
@media (min-width: 1280px) { .gallery-grid { grid-auto-rows: 230px; } }
.g-item { position: relative; overflow: hidden; border-radius: 4px; background: #111; grid-row: span 1; }
.g-item--wide { grid-column: span 2; }
.g-item--tall { grid-row: span 2; }
.g-item--big { grid-column: span 2; grid-row: span 2; }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 0.8rem 0.6rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8)); opacity: 0; transform: translateY(6px); transition: all 0.25s; }
.g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .g-item figcaption { opacity: 1; transform: none; } }

/* Carrossel */
.carousel-track { scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }

/* Formulários */
.field-label { display: block; margin-bottom: 0.45rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #d4d4d8; }
.field { width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; border-radius: 4px; background: rgba(28, 28, 31, 0.7); border: 1px solid var(--line-strong); color: #fff; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field::placeholder { color: #71717a; }
.field:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15); }
.field[aria-invalid="true"] { border-color: var(--red); }
select.field { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
select.field option { background: #1c1c1f; }
input[type="date"].field, input[type="time"].field { color-scheme: dark; }
.field-error { margin-top: 0.4rem; font-size: 0.82rem; color: #ff7b7b; }

/* Opções (radio em card) do agendamento */
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: block; height: 100%; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(28, 28, 31, 0.6); padding: 1rem; transition: border-color 0.2s, background 0.2s; }
.choice:hover .choice__box { border-color: rgba(255, 255, 255, 0.4); }
.choice input:checked + .choice__box { border-color: var(--red); background: rgba(255, 32, 32, 0.08); box-shadow: inset 0 0 0 1px var(--red); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: Anton, Impact, sans-serif; font-size: 0.9rem; color: #fff; }

/* FAQ */
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { transition: transform 0.2s; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }

html.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* WhatsApp flutuante — acima da tab bar no mobile, respeitando a área segura */
.wa-float {
  position: fixed; right: 14px; z-index: 45; display: flex; align-items: flex-end; gap: 10px;
  bottom: calc(16px + env(safe-area-inset-bottom));
}
@media (min-width: 1280px) { .wa-float { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); } }
.wa-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; color: #fff; background: #25d366;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12); transition: transform 0.2s, background 0.2s;
}
.wa-btn:hover { transform: translateY(-2px); background: #22c55e; }
.wa-bubble {
  position: relative; max-width: 230px; padding: 0.75rem 0.9rem; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(22, 22, 25, 0.96); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.8);
  animation: wa-in 0.35s ease both;
}
.wa-bubble__close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; color: #a1a1aa; }
.wa-bubble__close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 767px) { .wa-bubble { display: none !important; } }
@keyframes wa-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Modais (vídeo e lightbox) — entrada suave */
.modal[hidden] { display: none; }
.modal:not([hidden]) { animation: modal-bg var(--dur-2) var(--ease-out) both; }
.modal:not([hidden]) > * { animation: modal-in var(--dur-2) var(--ease-out) both; }
@keyframes modal-bg { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
.lightbox img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; object-fit: contain; }

/* ==========================================================================
   FARIA STUDIO — LIVE ATMOSPHERE
   Luzes de palco com transform/opacity (GPU), sem blur pesado. Pausadas fora da tela
   (.is-live via IntersectionObserver). Mobile: menos luzes e sem fachos. Respeita reduced-motion.
   ========================================================================== */
.atmo { position: relative; isolation: isolate; }
.atmo > .light { position: absolute; z-index: -1; pointer-events: none; border-radius: 999px; opacity: 0.55;
  will-change: transform, opacity; animation-play-state: paused; }
.atmo.is-live > .light { animation-play-state: running; }
.light--red  { background: radial-gradient(closest-side, rgba(255, 32, 32, 0.38), rgba(255, 32, 32, 0.12) 45%, transparent 72%); }
.light--blue { background: radial-gradient(closest-side, rgba(0, 102, 255, 0.36), rgba(0, 102, 255, 0.1) 45%, transparent 72%); }
.light--cyan { background: radial-gradient(closest-side, rgba(0, 229, 255, 0.22), transparent 70%); }
.drift-a { animation: drift-a 22s var(--ease-io) infinite alternate; }
.drift-b { animation: drift-b 27s var(--ease-io) infinite alternate; }
.breathe { animation: breathe 9s var(--ease-io) infinite alternate; }
@keyframes drift-a { from { transform: translate3d(-6%, -4%, 0) scale(1); } to { transform: translate3d(8%, 6%, 0) scale(1.15); } }
@keyframes drift-b { from { transform: translate3d(6%, 4%, 0) scale(1.1); } to { transform: translate3d(-8%, -6%, 0) scale(0.95); } }
@keyframes breathe { from { opacity: 0.35; transform: scale(0.96); } to { opacity: 0.75; transform: scale(1.04); } }

/* Fachos de luz (refletores) — só desktop */
.beam { position: absolute; top: -10%; z-index: 0; width: 34%; height: 120%; pointer-events: none; opacity: 0;
  transform-origin: 50% 0; mix-blend-mode: screen; display: none; }
.beam--red  { left: 52%; background: linear-gradient(180deg, rgba(255, 40, 60, 0.22), transparent 70%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
.beam--blue { left: 70%; background: linear-gradient(180deg, rgba(40, 120, 255, 0.2), transparent 70%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
@media (min-width: 1024px) {
  .beam { display: block; animation: beam-in 1.6s 0.4s var(--ease-out) forwards, sweep 16s 2s var(--ease-io) infinite alternate; animation-play-state: paused; }
  .atmo.is-live .beam { animation-play-state: running; }
  .beam--blue { animation-duration: 1.6s, 21s; }
}
@keyframes beam-in { to { opacity: 1; } }
@keyframes sweep { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@media (max-width: 767px) { .atmo > .light--extra { display: none; } .atmo > .light { opacity: 0.4; } }

/* Entrada da capa (uma vez, curta) */
.enter { opacity: 0; transform: translateY(14px); animation: enter var(--dur-4) var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes enter { to { opacity: 1; transform: none; } }
.hero-media picture { display: block; height: 100%; animation: hero-zoom 2.4s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.045); opacity: 0.6; } to { transform: none; opacity: 1; } }

/* Logo: acende uma vez no carregamento (sem flicker contínuo) */
.brand-logo img { animation: logo-on 1.4s var(--ease-out) both; }
@keyframes logo-on { 0% { opacity: 0; } 35% { opacity: 0.85; } 45% { opacity: 0.55; } 100% { opacity: 1; } }

/* Moldura luminosa (Next Stage) */
.glow-frame { position: relative; isolation: isolate; }
.glow-frame::before { content: ""; position: absolute; inset: -8% -6%; z-index: -1; border-radius: 30%;
  background: radial-gradient(40% 50% at 25% 35%, rgba(255, 32, 32, 0.35), transparent 70%),
              radial-gradient(45% 55% at 78% 70%, rgba(0, 102, 255, 0.35), transparent 70%);
  animation: breathe 8s var(--ease-io) infinite alternate; animation-play-state: paused; }
.atmo.is-live .glow-frame::before { animation-play-state: running; }
.glow-frame > :first-child { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }

/* Transições entre seções (luz → sombra) */
.seam-top { position: relative; }
.seam-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 32, 32, 0.5), rgba(0, 102, 255, 0.5), transparent); opacity: 0.6; }

/* Cards de produção / Session: profundidade e luz na borda */
.lift { transition: transform var(--dur-2) var(--ease-out); }
.prod-thumb, .ep-media { transition: box-shadow var(--dur-2) var(--ease-out); }
@media (hover: hover) {
  .lift:hover { transform: translateY(-4px); }
  .lift:hover .prod-thumb, .lift:hover .ep-media { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 40px -18px rgba(255, 32, 32, 0.55), 0 10px 40px -20px rgba(0, 102, 255, 0.6); }
}
.lift:active { transform: scale(0.985); }
.badge-ep { transition: box-shadow var(--dur-2), color var(--dur-2); }
.lift:hover .badge-ep { color: #fff; box-shadow: 0 0 18px rgba(255, 32, 32, 0.55); }

/* Entradas ao rolar: fade-up (padrão), clip (fotos), stagger (filhos em sequência).
   Regras de segurança — o conteúdo NUNCA pode ficar invisível por causa da animação:
   1. O estado oculto só existe com `.motion-ready`, classe colocada pelo próprio main.js quando ele
      roda. Se o JS falhar ou não carregar, tudo aparece normalmente.
   2. O efeito "clip" é aplicado aos FILHOS. O elemento observado mantém área real: o Chrome considera
      o clip-path do próprio alvo no IntersectionObserver — um alvo 100% recortado nunca "entra" na
      tela e ficava invisível para sempre (era a causa das fotos sumidas no desktop/Chrome).
   3. main.js revela de imediato o que já está na tela ou acima dela, e tem uma checagem de reserva
      no scroll/resize caso o observer não dispare. */
.motion-ready [data-reveal]:not(.is-visible):not([data-reveal="clip"]) { opacity: 0; transform: translateY(18px); }
.motion-ready [data-reveal] { transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms); }
.motion-ready [data-reveal="clip"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-out); }
/* Estado final com folga negativa: não recorta sombras e brilhos depois da animação. */
.motion-ready [data-reveal="clip"].is-visible > * { clip-path: inset(-60px -60px -60px -60px); }
.motion-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(16px); }
.motion-ready .reveal { transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
[data-parallax] { will-change: transform; }

/* ==========================================================================
   Painel administrativo — funcional primeiro; microinterações discretas
   ========================================================================== */
.adm-body { background: #0c0c0e; }
.adm-card { border: 1px solid var(--line); border-radius: 10px; background: #141417; }
.adm-stat { transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.adm-stat:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.adm-nav a { display: flex; align-items: center; gap: 0.7rem; min-height: 42px; padding: 0 0.9rem; border-radius: 8px; color: #a1a1aa; font-size: 0.9rem; transition: background var(--dur-1), color var(--dur-1); }
.adm-nav a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.adm-nav a[aria-current="page"] { background: rgba(255, 32, 32, 0.12); color: #fff; box-shadow: inset 2px 0 0 var(--red); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.adm-table th { text-align: left; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #71717a; font-weight: 600; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
.adm-table tr { transition: background var(--dur-1); }
.adm-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; border: 1px solid var(--line-strong); color: #d4d4d8; }
.pill--new { border-color: rgba(255, 32, 32, 0.6); color: #ff8a8a; background: rgba(255, 32, 32, 0.08); }
.pill--ok { border-color: rgba(34, 197, 94, 0.5); color: #86efac; background: rgba(34, 197, 94, 0.08); }
.pill--warn { border-color: rgba(255, 177, 68, 0.5); color: #fcd34d; background: rgba(255, 177, 68, 0.08); }
.pill--ns { border-color: rgba(0, 102, 255, 0.6); color: #93c5fd; background: rgba(0, 102, 255, 0.1); }
.adm-flash { animation: modal-in var(--dur-2) var(--ease-out) both; }
.adm-progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.adm-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e8191e, #ff5a5a); transition: width 300ms var(--ease-out); }
.adm-details > summary { list-style: none; cursor: pointer; }
.adm-details > summary::-webkit-details-marker { display: none; }
.adm-details[open] > div { animation: modal-in var(--dur-2) var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-reveal], [data-reveal="clip"] > *, .enter { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .beam { display: none !important; }
}
/* Luz sobre a foto da capa (somar luz, não escurecer) */
.hero > .light { mix-blend-mode: screen; }

