/* ============================================================
   FEFCO — Design System (Thème clair / sombre)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Saira:wght@500;600;700;800&display=swap');

/* ---------- Variables : Thème clair (défaut) ---------- */
:root {
  --primary: #B3125B;
  --primary-strong: #8F0E47;
  --primary-soft: rgba(179, 18, 91, 0.08);
  --accent: #D4A24C;
  --accent-strong: #B9862F;
  --ink: #241A22;
  --muted: #6E5F6B;
  --bg: #FAF6F3;
  --surface: #FFFFFF;
  --surface-2: #F3EDEA;
  --border: rgba(36, 26, 34, 0.12);
  --shadow: 0 18px 45px rgba(36, 26, 34, 0.12);
  --shadow-sm: 0 6px 18px rgba(36, 26, 34, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --hero-overlay: linear-gradient(120deg, rgba(26,8,18,.82) 0%, rgba(26,8,18,.55) 55%, rgba(26,8,18,.15) 100%);
  --ok: #1E7B4D; --warn: #B45309; --err: #B91C1C;
  --topbar-bg: #241A22; --topbar-text: rgba(255,255,255,.72);
}

/* ---------- Variables : Thème sombre ---------- */
[data-theme="dark"] {
  --primary: #E5488A;
  --primary-strong: #F06CA0;
  --primary-soft: rgba(229, 72, 138, 0.14);
  --accent: #E5B85C;
  --accent-strong: #F0CD8A;
  --ink: #F2EAEF;
  --muted: #B9A8B5;
  --bg: #16101A;
  --surface: #1F1724;
  --surface-2: #2A2030;
  --border: rgba(242, 234, 239, 0.12);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(31, 23, 36, 0.82);
  --hero-overlay: linear-gradient(120deg, rgba(10,4,9,.88) 0%, rgba(10,4,9,.6) 55%, rgba(10,4,9,.25) 100%);
  --topbar-bg: #0E0A12; --topbar-text: rgba(255,255,255,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  transition: background .35s ease, color .35s ease;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .font-display { font-family: 'Saira', sans-serif; letter-spacing: -0.01em; }
img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-strong); }
::selection { background: var(--primary); color: #fff; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.text-muted-c { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Inter'; font-weight: 600; font-size: .92rem;
  padding: .78rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-strong)); color: #fff; box-shadow: 0 10px 24px rgba(179,18,91,.35); }
.btn-primary:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(179,18,91,.4); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: var(--primary-soft); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: #241A22; }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: .5rem 1.1rem; font-size: .82rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Badges / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft);
  border: 1px solid var(--border); border-radius: 999px; padding: .35rem 1rem; margin-bottom: 1.1rem;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; margin: 0 0 1rem; line-height: 1.15; }
.section-lead { color: var(--muted); font-size: 1.02rem; max-width: 640px; }
.text-center .section-lead { margin-inline: auto; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--topbar-bg); color: var(--topbar-text);
  font-size: .78rem; padding: .42rem 0; position: relative; z-index: 60;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar a { color: var(--topbar-text); } .topbar a:hover { color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.1rem; }
.topbar .socials { display: flex; gap: .85rem; align-items: center; }
.topbar .socials a { font-size: .85rem; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .35s ease;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: .5rem; }
.logo { display: flex; align-items: center; gap: .65rem; font-family: 'Saira'; font-weight: 800; font-size: 1.55rem; color: var(--ink); }
.logo b { color: var(--primary); }
.logo .logo-badge { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-strong)); color: #fff; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .88rem; padding: .45rem .7rem; border-radius: 10px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-right { display: flex; align-items: center; gap: .6rem; }

/* Dropdown */
.nav-item { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .5rem; opacity: 0; transform: translateY(8px);
  pointer-events: none; transition: .25s; z-index: 70;
}
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown-menu a { display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; color: var(--ink); font-size: .88rem; font-weight: 500; }
.dropdown-menu a:hover { background: var(--primary-soft); color: var(--primary); }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.05rem;
  display: grid; place-items: center; transition: transform .2s, box-shadow .2s;
}
.theme-toggle:hover { transform: rotate(-12deg) scale(1.06); box-shadow: var(--shadow-sm); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Burger */
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; cursor: pointer; color: var(--ink); font-size: 1.1rem; }
@media (max-width: 1024px) {
  .burger { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow); max-height: 75vh; overflow: auto;
  }
  .nav-links.open { display: flex; animation: slideDown .3s ease; }
  .nav-links a { padding: .7rem .8rem; }
  .dropdown-menu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: none; border-left: 2px solid var(--primary); border-radius: 0; margin-left: .8rem; padding: .25rem 0 .25rem .6rem; min-width: 0; display: none; }
  .nav-item.open .dropdown-menu { display: block; }
  .nav-right .btn { display: none; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero / Slider ---------- */
.hero { position: relative; overflow: hidden; background: #1a0812; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .8s ease; background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-inner { position: relative; min-height: clamp(480px, 78vh, 720px); display: flex; align-items: center; background: var(--hero-overlay); }
.hero-content { max-width: 660px; padding: 4rem 0; color: #fff; }
.hero-content .eyebrow { background: rgba(255,255,255,.12); color: #ffd9ec; border-color: rgba(255,255,255,.25); }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.08; margin: 0 0 1.1rem; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.85); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.6rem; }
.hero-nav { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 5; }
.hero-dot { width: 34px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero-dot.active { background: #fff; width: 54px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.3); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: .2s; }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero-arrow.prev { left: 1.2rem; } .hero-arrow.next { right: 1.2rem; }
@media (max-width: 640px) { .hero-arrow { display: none; } }

/* ---------- Cards génériques ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; overflow: hidden;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* Stats */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.stat { background: var(--surface); padding: 1.4rem 1rem; text-align: center; }
.stat-num { font-family: 'Saira'; font-size: 1.9rem; font-weight: 800; color: var(--primary); }
.stat-lbl { font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: .25rem; }
@media (max-width: 760px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* Secteurs grid */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 1.4rem; }
.sector-card { display: flex; flex-direction: column; }
.sector-img { position: relative; height: 170px; overflow: hidden; }
.sector-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sector-card:hover .sector-img img { transform: scale(1.08); }
.sector-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55)); }
.sector-chip { position: absolute; z-index: 2; bottom: .7rem; left: .8rem; color: #fff; font-weight: 700; font-size: .8rem; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.3); padding: .3rem .75rem; border-radius: 999px; }
.sector-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.sector-body h3 { font-size: 1.02rem; margin: 0; line-height: 1.3; }
.sector-body p { font-size: .85rem; color: var(--muted); margin: 0; flex: 1; }
.progress { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--primary)); width: 0; transition: width 1.4s cubic-bezier(.22,1,.36,1); }
.progress-lbl { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); font-weight: 700; margin-top: .3rem; }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.news-card { display: flex; flex-direction: column; }
.news-img { height: 190px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 1.2rem 1.3rem 1.4rem; display:flex; flex-direction: column; gap: .55rem; flex: 1; }
.news-meta { display: flex; gap: .6rem; align-items: center; font-size: .72rem; color: var(--muted); font-weight: 600; }
.news-cat { color: var(--primary); background: var(--primary-soft); padding: .18rem .6rem; border-radius: 99px; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.news-body h3 { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.news-body h3 a { color: var(--ink); } .news-body h3 a:hover { color: var(--primary); }
.news-body p { font-size: .86rem; color: var(--muted); margin: 0; flex: 1; }

/* Article */
.article-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.article-hero img { width: 100%; height: clamp(240px, 42vw, 430px); object-fit: cover; display: block; }
.article-body { font-size: 1.02rem; line-height: 1.85; color: var(--ink); }
.article-body p { margin: 0 0 1.2rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
.team-card { text-align: center; padding-bottom: 1.1rem; }
.team-photo { height: 230px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-body { padding: .9rem .8rem 0; }
.team-body h3 { font-size: .98rem; margin: 0 0 .2rem; }
.team-role { color: var(--primary); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.team-social { display: flex; gap: .4rem; justify-content: center; margin-top: .6rem; }
.team-social a { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: .75rem; transition: .2s; }
.team-social a:hover { background: var(--primary); color: #fff; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.testi-card { padding: 1.6rem; position: relative; }
.testi-quote { font-size: 2.2rem; color: var(--accent); font-family: Georgia, serif; line-height: .6; margin-bottom: .9rem; }
.testi-card p { font-size: .95rem; line-height: 1.75; color: var(--ink); font-style: italic; }
.testi-foot { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.testi-foot img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-name { font-weight: 700; font-size: .9rem; }
.testi-role { font-size: .72rem; color: var(--muted); }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.partner-card { padding: 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.partner-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent-strong)); }
.partner-card h3 { font-size: 1.05rem; margin: 0; }
.partner-card p { font-size: .84rem; color: var(--muted); margin: 0; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--surface-2);
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s, background .2s; outline: none; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }

/* Alerts / flash */
.alert { border-radius: var(--radius-sm); padding: .85rem 1.1rem; font-size: .9rem; font-weight: 600; border: 1px solid transparent; margin-bottom: 1rem; display: flex; gap: .6rem; align-items: flex-start; }
.alert-success { background: rgba(30,123,77,.12); color: var(--ok); border-color: rgba(30,123,77,.3); }
.alert-error { background: rgba(185,28,28,.12); color: var(--err); border-color: rgba(185,28,28,.3); }
.alert-info { background: var(--primary-soft); color: var(--primary); border-color: var(--border); }

/* Rejoindre / paralax band */
.join-band { position: relative; background-size: cover; background-position: center; color: #fff; }
.join-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(179,18,91,.92), rgba(36,10,30,.78)); }
.join-band > .container { position: relative; }

/* Page header */
.page-header { position: relative; padding: 5.5rem 0 4rem; overflow: hidden; background-size: cover; background-position: center; color: #fff; }
.page-header::before { content:''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(22,6,16,.9), rgba(22,6,16,.55)); }
.page-header .container { position: relative; }
.breadcrumb { display: flex; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.85); } .breadcrumb a:hover { color:#fff; }
.page-header h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0; font-weight: 800; }

/* Evenements */
.event-item { display: grid; grid-template-columns: 84px 1fr; gap: 1.2rem; padding: 1.3rem; align-items: center; }
.event-date { text-align: center; background: var(--primary-soft); border-radius: var(--radius-sm); padding: .6rem .3rem; }
.event-day { font-family: 'Saira'; font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.event-month { font-size: .68rem; text-transform: uppercase; font-weight: 800; color: var(--muted); letter-spacing: .08em; }
@media (max-width: 640px) { .event-item { grid-template-columns: 1fr; } .event-date { display:flex; gap:.6rem; align-items:center; justify-content:center; } }

/* Gallery lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.gallery-item { border: none; padding: 0; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,6,10,.85); display: none; align-items: center; justify-content: center; padding: 2rem; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; animation: fadeIn .3s; }
.lightbox img { max-width: min(1000px, 94vw); max-height: 86vh; border-radius: var(--radius-sm); box-shadow: 0 0 80px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* Vidéos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.video-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; }
.video-body { padding: 1rem 1.1rem 1.2rem; }
.video-body h3 { font-size: .98rem; margin: 0 0 .3rem; }
.video-body p { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--topbar-bg); color: rgba(255,255,255,.75); padding: 3.5rem 0 1.2rem; font-size: .88rem; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .9rem; }
.footer a { color: rgba(255,255,255,.75); } .footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.55); }
.footer .logo { color: #fff; }
.newsletter-form { display: flex; gap: .5rem; margin-top: .7rem; }
.newsletter-form input { flex: 1; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; padding: .6rem .8rem; border-radius: 10px; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .progress-bar { transition: none; } }

/* Pagination */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.page-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-weight: 700; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 900px) { .about-split, .join-split { grid-template-columns: 1fr !important; } }

