/* =========================================================
   CONFRARIA CRIMINAL — preto & vermelho
   ========================================================= */
:root {
  --black: #070707;
  --ink: #0e0e0f;
  --panel: #141416;
  --panel-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.08);
  --red: #c1121f;
  --red-hot: #e5262f;
  --blood: #6d0a10;
  --white: #f5f3f0;
  --muted: #a3a0a0;
  --radius: 18px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px rgba(229, 38, 47, 0.35), 0 20px 50px -10px rgba(193, 18, 31, 0.45);
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

.container { width: min(1200px, 92vw); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  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='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: var(--black);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__logo { width: 140px; animation: pulseLogo 1.4s var(--ease) infinite alternate; border-radius: 50%; }
.preloader__bar { width: 160px; height: 2px; margin: 28px auto 0; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--red-hot); animation: loadbar 1s ease-in-out infinite; }
@keyframes pulseLogo { from { transform: scale(0.94); filter: drop-shadow(0 0 0 transparent); } to { transform: scale(1); filter: drop-shadow(0 0 30px rgba(229,38,47,0.6)); } }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Scroll progress / cursor ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1200; background: linear-gradient(90deg, var(--blood), var(--red-hot)); box-shadow: 0 0 12px var(--red-hot); }
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(193,18,31,0.16), transparent 65%);
  transition: opacity 0.3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, height 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(7, 7, 7, 0.82); backdrop-filter: blur(14px); border-color: var(--line); --header-h: 64px; height: 64px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; font-size: 1.05rem; }
.brand img { width: 50px; height: 50px; border-radius: 50%; transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.3em; color: var(--red-hot); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #d9d6d3; white-space: nowrap;
  transition: color 0.3s;
}
@media (min-width: 1101px) and (max-width: 1320px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 0.78rem; letter-spacing: 0.02em; }
  .nav a::after { left: 9px; right: 9px; }
  .nav a.nav__cta { margin-left: 6px; padding: 9px 16px; }
  .brand span { font-size: 0.95rem; }
}
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red-hot); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.nav__cta { margin-left: 10px; background: var(--red); border-radius: 999px; color: #fff; padding: 9px 20px; }
.nav a.nav__cta::after { display: none; }
.nav a.nav__cta:hover { background: var(--red-hot); box-shadow: var(--glow); }
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 1300; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: radial-gradient(circle at 80% 10%, rgba(193,18,31,0.35), transparent 50%), var(--black);
    clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path 0.7s var(--ease);
  }
  .nav.open { clip-path: circle(150% at calc(100% - 40px) 38px); }
  .nav a { font-family: var(--display); font-size: 1.5rem; text-transform: none; }
  .nav a.nav__cta { margin: 16px 0 0; font-family: var(--body); font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  background: var(--bg); color: #fff; overflow: hidden; isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-hot); transform: translateY(101%); transition: transform 0.45s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: var(--glow); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; border: 1px solid rgba(255,255,255,0.25); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--black); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Section heads ---------- */
section { position: relative; padding: 120px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red-hot); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.title { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; margin: 14px 0 18px; letter-spacing: 0.01em; }
.title em { font-style: normal; color: var(--red-hot); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 80px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 75% 40%, rgba(193,18,31,0.32), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(109,10,16,0.5), transparent 50%), var(--black); }
.hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 60px; }
.hero h1 { font-family: var(--display); font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1; margin: 18px 0 22px; letter-spacing: 0.01em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.24s; }
.hero h1 .red { color: var(--red-hot); }
@keyframes rise { to { transform: translateY(0); } }
.typed { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #d9d6d3; min-height: 2.2em; }
.typed b { color: #fff; border-right: 2px solid var(--red-hot); padding-right: 4px; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__social { display: flex; gap: 18px; margin-top: 46px; color: var(--muted); font-size: 0.85rem; align-items: center; }
.hero__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transition: 0.3s; }
.hero__social a:hover { border-color: var(--red-hot); color: #fff; background: var(--red); transform: translateY(-3px); }
.hero__social svg { width: 18px; height: 18px; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.seal { position: absolute; inset: 14%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 120px rgba(193,18,31,0.45); overflow: hidden; z-index: 2; transition: transform 0.2s ease-out; }
.seal img { width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(229,38,47,0.35); animation: spin 40s linear infinite; }
.orbit--2 { inset: 6%; border-style: solid; border-color: rgba(255,255,255,0.06); animation-duration: 60s; animation-direction: reverse; }
.orbit__text { position: absolute; inset: -4%; animation: spin 30s linear infinite; }
.orbit__text text { fill: var(--muted); font-size: 11px; letter-spacing: 6px; font-family: var(--body); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.floater { position: absolute; z-index: 3; width: 30%; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.12); animation: float 6s ease-in-out infinite; }
.floater img { width: 100%; height: 100%; object-fit: cover; }
.floater--a { top: -4%; right: -16%; transform: rotate(6deg); }
.floater--b { bottom: 0; left: -16%; animation-delay: -3s; transform: rotate(-5deg); }
@keyframes float { 50% { translate: 0 -14px; } }
.badge-live { position: absolute; z-index: 4; bottom: -6%; right: -10%; background: rgba(14,14,15,0.9); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: 0.8rem; box-shadow: var(--shadow); max-width: 220px; }
@media (max-width: 900px) {
  .floater { width: 24%; }
  .floater--a { top: -6%; right: -2%; }
  .floater--b { bottom: -2%; left: -2%; }
  .badge-live { bottom: -8%; right: 0; padding: 8px 12px; max-width: 190px; }
}
.badge-live strong { display: block; font-size: 0.95rem; }
.badge-live .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); margin-right: 6px; box-shadow: 0 0 0 0 rgba(229,38,47,0.7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(229,38,47,0); } 100% { box-shadow: 0 0 0 0 rgba(229,38,47,0); } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,0.3); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--red-hot); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__actions, .hero__social { justify-content: center; }
  .hero__visual { max-width: 360px; order: -1; }
  .eyebrow { justify-content: center; }
}

/* ---------- Marquee ---------- */
.marquee { padding: 0; background: var(--red); overflow: hidden; transform: rotate(-1.5deg); margin: -10px -20px 0; border-block: 1px solid var(--red-hot); }
.marquee__track { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: 1.25rem; font-weight: 700; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-size: 0.9rem; color: rgba(0,0,0,0.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink); padding: 38px 28px; transition: background 0.4s; }
.stat:hover { background: linear-gradient(160deg, rgba(193,18,31,0.25), var(--ink)); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About / pillars ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); transition: border-color 0.3s, transform 0.4s var(--ease); }
.pillar:hover { border-color: rgba(229,38,47,0.5); transform: translateX(8px); }
.pillar__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--blood)); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { margin: 0 0 4px; font-size: 1.1rem; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.quote { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; margin: 30px 0 0; padding-left: 24px; border-left: 3px solid var(--red-hot); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Zanone ---------- */
.zanone { background: linear-gradient(180deg, var(--black), #120507 50%, var(--black)); }
.zanone__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.zanone__photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.zanone__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); transition: transform 1.2s var(--ease), filter 0.6s; }
.zanone__photo:hover img { transform: scale(1.06); filter: none; }
.zanone__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,7,7,0.9)); }
.zanone__tag { position: absolute; left: 22px; bottom: 22px; z-index: 2; display: flex; gap: 14px; align-items: center; }
.zanone__tag img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--red-hot); }
.zanone__tag strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.zanone__tag span { font-size: 0.8rem; color: var(--muted); }
.motto { display: inline-block; margin-top: 10px; font-family: var(--display); letter-spacing: 0.2em; color: var(--red-hot); font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: #dcd9d6; background: rgba(255,255,255,0.02); }
@media (max-width: 900px) { .zanone__grid { grid-template-columns: 1fr; gap: 40px; } .zanone__photo { max-width: 460px; } }

/* ---------- Tabs (cursos) ---------- */
.tabs__nav { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; border: 1px solid var(--line); border-radius: 999px; width: fit-content; margin-bottom: 40px; position: relative; background: var(--ink); }
.tabs__nav button { position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.tabs__nav button[aria-selected="true"] { color: #fff; }
.tabs__ink { position: absolute; top: 6px; bottom: 6px; border-radius: 999px; background: var(--red); transition: left 0.45s var(--ease), width 0.45s var(--ease); box-shadow: 0 8px 24px -8px var(--red-hot); }
.tab-panel { display: none; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.tab-panel.active { display: grid; animation: fadeUp 0.6s var(--ease); }
.tab-panel__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.tab-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel h3 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 12px; line-height: 1.15; }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; color: #dcd9d6; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 12l5 5 9-10'/></svg>") center/12px no-repeat; }
.meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.9rem; }
.meta span { display: inline-flex; gap: 8px; align-items: center; }
.meta svg { width: 16px; height: 16px; color: var(--red-hot); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .tab-panel.active { grid-template-columns: 1fr; }
  .tabs__nav { flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs__nav::-webkit-scrollbar { display: none; }
  .tabs__nav button { white-space: nowrap; flex: none; }
}

/* ---------- Countdown / next event banner ---------- */
.next { padding: 0; }
.next__card { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 50px; border-radius: 28px; overflow: hidden; background: linear-gradient(120deg, var(--blood), #2a0306 60%, var(--ink)); border: 1px solid rgba(229,38,47,0.3); }
.next__card::before { content: ""; position: absolute; width: 500px; height: 500px; right: -150px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(229,38,47,0.45), transparent 65%); }
.next__card > * { position: relative; }
.next__card h3 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; margin: 10px 0; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 18px 6px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #e7c5c7; }
@media (max-width: 860px) { .next__card { grid-template-columns: 1fr; padding: 30px; } }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); transition: 0.3s; }
.filter:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.filter.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Gallery ---------- */
.gallery { columns: 4 240px; column-gap: 14px; }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 10px; } .gallery .gallery__item { margin-bottom: 10px; } .gallery .gallery__cap { font-size: 0.78rem; padding: 12px; } }
.gallery__item { position: relative; break-inside: avoid; margin-bottom: 14px; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--panel); transition: opacity 0.4s, transform 0.4s var(--ease); }
.gallery__item.hide { display: none; }
.gallery__item img { width: 100%; transition: transform 0.8s var(--ease), filter 0.5s; }
.gallery__item:hover img { transform: scale(1.07); filter: brightness(0.55); }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 18px; font-size: 0.9rem; font-weight: 500; transform: translateY(100%); transition: transform 0.5s var(--ease); background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; }
.gallery__cap small { display: block; color: var(--red-hot); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Lightbox / modal ---------- */
.lightbox, .modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; background: rgba(4,4,4,0.94); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; padding: 20px; }
.lightbox.open, .modal.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); text-align: center; transform: scale(0.94); transition: transform 0.4s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 78vh; margin: auto; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox figcaption { margin-top: 16px; color: #dcd9d6; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.lightbox figcaption a { color: var(--red-hot); font-weight: 600; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); border: 1px solid var(--line); transition: 0.3s; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; top: 32px; left: 30px; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.2em; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; } }

.modal__box { position: relative; width: min(980px, 100%); max-height: 90vh; overflow: auto; background: var(--ink); border: 1px solid var(--line); border-radius: 22px; transform: translateY(30px); transition: transform 0.45s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__box .lb-close { position: fixed; top: 20px; right: 20px; z-index: 3; background: rgba(14,14,15,0.85); backdrop-filter: blur(6px); }
@media (max-width: 640px) {
  .modal { padding: 0; align-items: end; }
  .modal__box { max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .modal--video { align-items: center; padding: 0 10px; }
  .modal--video .modal__box { border-radius: 14px; }
  .modal__box .lb-close { top: 12px; right: 12px; width: 44px; height: 44px; }
}
.modal--video .modal__box { background: #000; overflow: hidden; }
.video-frame { aspect-ratio: 16/9; width: 100%; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
@media (max-width: 600px) {
  .videos { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: -4vw; padding-inline: 4vw; scroll-padding-inline: 4vw; scrollbar-width: none; }
  .videos::-webkit-scrollbar { display: none; }
  .video-card { scroll-snap-align: start; }
}
.video-card { text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--ink); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s; }
.video-card:hover { transform: translateY(-6px); border-color: rgba(229,38,47,0.5); }
.video-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.video-card:hover .video-card__thumb img { transform: scale(1.08); }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 40%, rgba(0,0,0,0.6)); }
.video-card__play i { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--red); box-shadow: 0 0 0 0 rgba(229,38,47,0.6); transition: transform 0.4s var(--ease); }
.video-card:hover .video-card__play i { transform: scale(1.15); animation: ping 1.4s infinite; }
.video-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card__dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.8); padding: 2px 8px; border-radius: 6px; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.video-card__body { padding: 16px 18px 20px; }
.video-card__body small { color: var(--red-hot); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.68rem; font-weight: 600; }
.video-card__body, .video-card__thumb { display: block; }
.video-card__body strong { display: block; font-size: 1rem; line-height: 1.4; margin: 6px 0 0; font-weight: 600; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
@media (max-width: 600px) {
  .shop { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop .product__img { padding: 12px; }
  .shop .product__body { padding: 12px; }
  .shop .product__body h3 { font-size: 0.86rem; }
  .shop .product__price { font-size: 1.1rem; }
  .shop .product .btn--sm { padding: 8px 10px; font-size: 0.8rem; }
}
.product { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: border-color 0.3s, box-shadow 0.3s; }
.product:hover { border-color: rgba(229,38,47,0.5); box-shadow: var(--glow); }
.product__img { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #2a2a2e, #121214); display: grid; place-items: center; padding: 20px; overflow: hidden; }
.product__img img { max-height: 100%; object-fit: contain; transition: transform 0.6s var(--ease); }
.product:hover .product__img img { transform: scale(1.08) translateZ(30px); }
.product__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__body small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.product__body h3 { font-size: 0.98rem; margin: 0; line-height: 1.35; flex: 1; }
.product__price { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: #fff; }
.product__flag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--red); padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.info-row { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); transition: border-color 0.3s; }
.info-row:hover { border-color: rgba(229,38,47,0.5); }
.info-row svg { flex: none; width: 24px; height: 24px; color: var(--red-hot); margin-top: 2px; }
.info-row strong { display: block; }
.info-row span, .info-row a { color: var(--muted); font-size: 0.95rem; }
.info-row a:hover { color: #fff; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 220px; filter: grayscale(1) invert(0.92) contrast(0.9); }
.map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.form { display: grid; gap: 14px; padding: 34px; border-radius: 22px; background: linear-gradient(160deg, rgba(193,18,31,0.14), var(--ink) 40%); border: 1px solid var(--line); }
.form h3 { font-family: var(--display); font-size: 1.6rem; margin: 0 0 6px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; padding: 22px 16px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.4); outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; padding-top: 22px; }
.field select option { background: var(--ink); }
.field label { position: absolute; left: 16px; top: 16px; color: var(--muted); font-size: 0.95rem; pointer-events: none; transition: 0.25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red-hot); box-shadow: 0 0 0 4px rgba(229,38,47,0.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); }
.form__note { font-size: 0.8rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } .form { padding: 24px; } }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--black), #0b0304); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red-hot); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); transition: color 0.3s; }
.footer a:hover { color: #fff; }
.footer p { color: var(--muted); font-size: 0.92rem; }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1000; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1fae54; box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: ping 2.2s infinite; transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span { position: absolute; right: 72px; white-space: nowrap; background: var(--panel-2); padding: 8px 14px; border-radius: 10px; font-size: 0.85rem; opacity: 0; transform: translateX(10px); transition: 0.3s; pointer-events: none; }
.wa-float:hover span { opacity: 1; transform: none; }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 1000; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: 0.4s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal].in { opacity: 1; transform: none; }

/* =========================================================
   PALESTRAS
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + 90px) 0 90px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; filter: grayscale(1) contrast(1.2); transform: scale(1.1); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 20%, rgba(7,7,7,0.6)), linear-gradient(0deg, var(--black), transparent 40%), radial-gradient(circle at 80% 30%, rgba(193,18,31,0.4), transparent 50%); }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; margin: 18px 0; }
.breadcrumbs { display: flex; gap: 8px; color: var(--muted); font-size: 0.85rem; }
.breadcrumbs a:hover { color: #fff; }

.spot { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid rgba(229,38,47,0.35); background: var(--ink); box-shadow: var(--glow); }
.spot__img { position: relative; min-height: 420px; }
.spot__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot__body { padding: 44px; display: flex; flex-direction: column; gap: 18px; background: linear-gradient(140deg, rgba(109,10,16,0.55), transparent 60%); }
.spot__body h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; margin: 0; }
.spot__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } .spot__img { min-height: 300px; } .spot__body { padding: 28px; } }

.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; width: fit-content; }
.status--soon { background: rgba(229,38,47,0.16); color: #ff6b72; border: 1px solid rgba(229,38,47,0.4); }
.status--live { background: var(--red); color: #fff; }
.status--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ping 1.4s infinite; }
.status--done { background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid var(--line); }

.agenda__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; align-items: center; }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; padding: 12px 16px 12px 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink); outline: none; transition: border-color 0.3s; }
.search input:focus { border-color: var(--red-hot); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.view-toggle button { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 0.85rem; display: flex; gap: 6px; align-items: center; }
.view-toggle button.active { background: var(--panel-2); color: #fff; }
.view-toggle svg { width: 16px; height: 16px; }

.agenda__layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
@media (max-width: 1000px) { .agenda__layout { grid-template-columns: 1fr; } }
.events { display: grid; gap: 16px; }
.events.grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); cursor: pointer; text-align: left; transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; animation: fadeUp 0.5s var(--ease) both; }
.event:hover { border-color: rgba(229,38,47,0.55); transform: translateY(-3px); background: linear-gradient(90deg, rgba(193,18,31,0.1), var(--ink)); }
.event.flash { box-shadow: var(--glow); border-color: var(--red-hot); }
.event__date { width: 110px; height: 110px; border-radius: 14px; overflow: hidden; position: relative; display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, var(--red), var(--blood)); }
.event__date img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.event__date span { position: relative; line-height: 1; }
.event__date b { display: block; font-family: var(--display); font-size: 2.2rem; }
.event__date small { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.event__content { display: block; }
.event__title { display: block; margin: 6px 0 6px; font-size: 1.1rem; line-height: 1.3; }
.event__sub { display: block; margin: 0; color: var(--muted); font-size: 0.9rem; }
.event__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.3s; }
.event:hover .event__arrow { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.event__arrow svg { width: 18px; height: 18px; }
.events.grid .event { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; }
.events.grid .event__date { width: 100%; height: 190px; border-radius: 0; }
.events.grid .event__date img { opacity: 0.55; }
.events.grid .event__content { padding: 18px 20px 22px; }
.events.grid .event__arrow { display: none; }
@media (max-width: 640px) { .event { grid-template-columns: 80px 1fr; } .event__date { width: 80px; height: 80px; } .event__date b { font-size: 1.6rem; } .event__arrow { display: none; } }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

.cal { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal__head strong { font-family: var(--display); font-size: 1.1rem; text-transform: capitalize; }
.cal__head button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.3s; }
.cal__head button:hover { background: var(--red); border-color: var(--red); }
.cal__head svg { width: 16px; height: 16px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.85rem; }
.cal__grid .dow { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.1em; padding: 6px 0; }
.cal__day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; color: #cfcbc8; position: relative; }
.cal__day.out { opacity: 0.25; }
.cal__day.today { outline: 1px solid rgba(255,255,255,0.4); }
.cal__day.has { background: var(--red); color: #fff; font-weight: 700; cursor: pointer; transition: transform 0.2s; }
.cal__day.has:hover { transform: scale(1.12); background: var(--red-hot); }
.cal__day.has.past { background: rgba(193,18,31,0.3); }
.cal__legend { display: flex; gap: 16px; margin-top: 16px; font-size: 0.75rem; color: var(--muted); }
.cal__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--red); vertical-align: middle; }
.cal__legend i.past { background: rgba(193,18,31,0.3); }
.cal__jump { margin-top: 14px; width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); transition: 0.3s; }
.cal__jump:hover { color: #fff; border-color: var(--red-hot); }

.ev-modal { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.ev-modal__img { position: relative; background: #000; }
.ev-modal__img > img { position: sticky; top: 0; width: 100%; height: auto; max-height: 90vh; object-fit: contain; }
.ev-modal__img .placeholder-img { min-height: 320px; }
.ev-modal__body { padding: 38px; display: grid; gap: 16px; align-content: start; }
.ev-modal__body h2 { font-family: var(--display); font-size: 1.8rem; line-height: 1.15; margin: 0; }
.ev-modal__body p { color: #d4d0cd; margin: 0; }
.ev-modal__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ev-modal__thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.add-cal { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 800px) { .ev-modal { grid-template-columns: 1fr; } .ev-modal__img > img { position: static; max-height: 46vh; } .ev-modal__body { padding: 26px; } }

.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle, rgba(193,18,31,0.35), var(--ink) 70%); }
.placeholder-img img { width: 46%; max-width: 160px; height: auto !important; min-height: 0 !important; position: static !important; opacity: 0.9 !important; border-radius: 50%; object-fit: contain; }

.temas { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.tema { position: relative; padding: 30px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.3s; }
.tema::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(229,38,47,0.18), transparent 40%); opacity: 0; transition: opacity 0.3s; }
.tema:hover { border-color: rgba(229,38,47,0.45); }
.tema:hover::before { opacity: 1; }
.tema > * { position: relative; }
.tema__num { position: absolute; right: 22px; top: 14px; font-family: var(--display); font-size: 3.6rem; color: rgba(255,255,255,0.04); }
.tema__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--blood)); margin-bottom: 20px; }
.tema__icon svg { width: 26px; height: 26px; }
.tema h3 { font-size: 1.18rem; margin: 0 0 10px; line-height: 1.3; }
.tema p { color: var(--muted); font-size: 0.95rem; margin: 0 0 18px; }
.tema__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.8rem; color: #cfcbc8; border-top: 1px solid var(--line); padding-top: 16px; }
.tema__foot button { color: var(--red-hot); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tema__foot button svg { width: 14px; height: 14px; transition: transform 0.3s; }
.tema__foot button:hover svg { transform: translateX(4px); }

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); translate: -50% 0; }
.timeline__fill { position: absolute; left: 50%; top: 0; width: 2px; background: linear-gradient(var(--red-hot), var(--blood)); translate: -50% 0; height: 0; box-shadow: 0 0 12px var(--red-hot); }
.tl-item { position: relative; width: 50%; padding: 0 44px 50px; }
.tl-item:nth-child(odd) { margin-left: 50%; }
.tl-item:nth-child(even) { text-align: right; }
.tl-item::before { content: ""; position: absolute; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--black); border: 3px solid var(--red-hot); z-index: 1; }
.tl-item:nth-child(odd)::before { left: -8px; }
.tl-item:nth-child(even)::before { right: -8px; }
.tl-item time { color: var(--red-hot); font-weight: 700; letter-spacing: 0.12em; font-size: 0.8rem; text-transform: uppercase; }
.tl-item h3 { margin: 6px 0; font-size: 1.15rem; }
.tl-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.tl-item button { margin-top: 10px; color: #fff; font-size: 0.85rem; font-weight: 600; border-bottom: 1px solid var(--red-hot); }
@media (max-width: 760px) {
  .timeline::before, .timeline__fill { left: 8px; }
  .tl-item, .tl-item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 40px 40px; text-align: left; }
  .tl-item:nth-child(even) { text-align: left; }
  .tl-item::before, .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.photo-strip .gallery__item { margin: 0; height: 100%; }
.photo-strip .gallery__item img { height: 100%; object-fit: cover; }
.photo-strip .gallery__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.photo-strip .gallery__item:nth-child(6n + 4) { grid-row: span 2; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

.invite { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.invite ol { counter-reset: s; list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.invite li { counter-increment: s; display: flex; gap: 16px; color: #d4d0cd; }
.invite li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 700; color: var(--red-hot); font-size: 1.3rem; min-width: 36px; }
@media (max-width: 900px) { .invite { grid-template-columns: 1fr; } }

.toast { position: fixed; left: 50%; bottom: 30px; translate: -50% 0; z-index: 1600; padding: 14px 22px; border-radius: 12px; background: var(--panel-2); border: 1px solid rgba(229,38,47,0.5); box-shadow: var(--shadow); font-size: 0.9rem; opacity: 0; transform: translateY(20px); transition: 0.4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
