:root {
    --bg-slate-900: #0b1220;
    --bg-cyan-950: #06303b;
    --bg-emerald-950: #053327;

    --slate-50: #f8fafc;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-600: #475569;
    --slate-900: #0f172a;

    --cyan-300: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;

    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;

    --white-10: rgba(255, 255, 255, 0.1);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-30: rgba(255, 255, 255, 0.3);
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;
    background: var(--slate-50);
    color: #0f172a;
}

/* Helpers */
.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}
.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}
.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}
.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-slate-300 {
    color: var(--slate-300) !important;
}
.text-slate-600 {
    color: var(--slate-600) !important;
}
.text-slate-900 {
    color: var(--slate-900) !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.text-gradient {
    background: linear-gradient(
        90deg,
        var(--cyan-300),
        var(--emerald-300),
        var(--cyan-400)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 18px;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ===== Navbar ===== */
.site-navbar {
    transition: all 0.25s ease;
    padding: 18px 0;
    background: rgba(3, 20, 33, 0.2); /* état top (sur hero) */
    backdrop-filter: blur(6px);
}

.site-navbar.is-scrolled {
    background: rgba(220, 228, 230, 0.92); /* comme ta capture */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.site-logo {
    height: 36px;
    width: auto;
}

/* liens */
.site-navlink {
    font-weight: 600;
    border-radius: 999px;
    padding: 10px 16px !important;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.85);
}

.site-navbar.is-scrolled .site-navlink {
    color: #213245;
}

.site-navlink:hover {
    opacity: 0.95;
}

/* lien actif "pill" */
.site-navlink.is-active {
    background: rgba(255, 255, 255, 0.92);
    color: #0a8f5b !important;
    border: 1px solid rgba(10, 143, 91, 0.15);
}

.site-navbar.is-scrolled .site-navlink.is-active {
    background: rgba(255, 255, 255, 0.95);
}

/* Navbar */
.site-header .navbar {
    background: transparent;
}
.brand-logo {
    height: 28px;
    width: auto;
}
.nav-pill {
    padding: 8px 14px !important;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
}
.nav-pill:hover {
    background: rgba(255, 255, 255, 0.1);
}
.nav-pill.active {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* small emerald button */
.btn-emerald {
    background: var(--emerald-500);
    color: #fff;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 10px;
    font-weight: 700;
}
.btn-emerald:hover {
    background: var(--emerald-600);
    color: #fff;
}

/* HERO */
.hero {
    min-height: 92vh;
    padding-top: 110px;
    padding-bottom: 80px;
    background: linear-gradient(
        135deg,
        var(--bg-slate-900),
        var(--bg-cyan-950),
        var(--bg-emerald-950)
    );
}

.hero-inner {
    padding-top: 20px;
}

.hero-title {
    font-size: clamp(36px, 5.4vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.5;
}

/* blobs (blur circles like Tailwind) */
.hero-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.75;
    animation: pulse 4s ease-in-out infinite;
}
.hero-blob-1 {
    width: 320px;
    height: 320px;
    left: 6%;
    top: 14%;
    background: rgba(16, 185, 129, 0.18);
}
.hero-blob-2 {
    width: 420px;
    height: 420px;
    right: 6%;
    bottom: 12%;
    background: rgba(34, 211, 238, 0.2);
    animation-delay: 0.7s;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

.glass-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.badge-soft-emerald {
    display: inline-block;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald-300);
    font-weight: 700;
    font-size: 14px;
}
.badge-soft-emerald2 {
    display: inline-block;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--emerald-700);
    font-weight: 700;
    font-size: 14px;
}
.badge-white-soft {
    display: inline-block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--emerald-700);
    font-weight: 800;
    font-size: 14px;
}

.count-box {
    min-width: 86px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 576px) {
    .count-box {
        min-width: 118px;
        padding: 16px 18px;
    }
}
.count-value {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.count-label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan-300);
}

.btn-gradient {
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(
        90deg,
        var(--cyan-500),
        var(--emerald-500),
        #0891b2
    );
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}
.btn-gradient:hover {
    color: #fff;
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 42px rgba(16, 185, 129, 0.22);
}

.btn-glass {
    border-radius: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.glass-mini {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.2s ease;
}
.glass-mini:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon-sq {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.icon-sq-cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--emerald-600));
}
.icon-sq-emerald {
    background: linear-gradient(135deg, var(--emerald-500), #0891b2);
}
.icon-sq-cyan2 {
    background: linear-gradient(135deg, #0891b2, var(--emerald-500));
}

.hero-arrow {
    bottom: 26px;
    animation: bounce 1.6s ease-in-out infinite;
    opacity: 0.9;
}
@keyframes bounce {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

/* ORG link */
.link-emerald {
    color: var(--emerald-600);
    text-decoration: none;
}
.link-emerald:hover {
    color: var(--emerald-700);
}

.bg-slate-50 {
    background: var(--slate-50) !important;
}

/* "Pourquoi" cards */
.card-soft {
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s ease;
}
.card-soft:hover {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card-grad-emerald {
    background: linear-gradient(135deg, var(--emerald-600), #0891b2);
}
.card-dark {
    background: #0f172a;
}
.shadow-xl {
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18) !important;
}

.line-soft {
    width: 44px;
    height: 1px;
    background: rgba(16, 185, 129, 0.35);
    display: inline-block;
}

/* Soft green section background */
.bg-soft-gradient {
    background: linear-gradient(135deg, #f8fafc, #ecfdf5);
}

.hover-lift {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

/* Partners */
.partner-card {
    background: linear-gradient(135deg, #f8fafc, #ecfdf5);
    border: 1px solid #e2e8f0;
}
.partner-logo {
    height: 74px;
    width: auto;
    object-fit: contain;
}

/* CTA dark */
.cta-dark {
    background: linear-gradient(135deg, #0b1220, #0a3b4a, #064c3a);
}
.cta-logo {
    height: 110px;
    width: auto;
}
.text-cyan-50 {
    color: rgba(236, 254, 255, 0.92) !important;
}

.btn-light-emerald {
    background: linear-gradient(90deg, #ffffff, #ecfdf5);
    color: var(--emerald-700);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
}
.btn-light-emerald:hover {
    color: var(--emerald-700);
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.16);
    transform: translateY(-1px);
}

.btn-outline-emerald {
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: rgba(236, 254, 255, 0.92);
    background: transparent;
}
.btn-outline-emerald:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(236, 254, 255, 0.95);
}

/* bouton inscription */
.site-btn-inscription {
    background: #0b8f5b;
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    padding: 10px 18px;
    box-shadow: 0 10px 20px rgba(11, 143, 91, 0.2);
}
.site-btn-inscription:hover {
    filter: brightness(0.95);
    color: #fff;
}

/* ===== Footer premium (bleu marine) ===== */
.site-footer {
    background: linear-gradient(135deg, #0b5b63 0%, #071a2f 55%, #061226 100%);
    color: rgba(255, 255, 255, 0.82);
}

.footer-logo {
    height: 56px;
    width: auto;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-text {
    max-width: 420px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}
.footer-links a:hover {
    color: #7cf2c5;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer-contact i {
    color: #1fe3b5;
    font-size: 1.1rem;
}

.footer-sep {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.65);
}

/* Reveal animation (simple) */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   ABOUT PAGE (Hero + Sections)
========================= */

/* HERO (fond sombre gradient) */
.page-hero {
    background: linear-gradient(
        135deg,
        var(--bg-slate-900),
        var(--bg-cyan-950),
        var(--bg-emerald-950)
    );
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Légères lueurs (subtiles) */
.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.22;
    pointer-events: none;
}
.page-hero::before {
    background: #25e0b8;
    left: -160px;
    top: -140px;
}
.page-hero::after {
    background: #2bbcff;
    right: -180px;
    bottom: -160px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.hero-pill {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(210, 255, 236, 0.9);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-title {
    margin-top: 18px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.12;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.gradient-text {
    background: linear-gradient(90deg, #41d9ff, #27f0c3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 820px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Chips */
.hero-chip {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Sections */
.section-white {
    background: #fff;
    padding: 90px 0;
}
.section-gray {
    background: #f7f9fb;
    padding: 90px 0;
}

.section-head {
    margin-bottom: 44px;
}
.section-h2 {
    font-weight: 900;
    color: #0d1b2a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.section-lead {
    max-width: 860px;
    line-height: 1.8;
}

/* Badge soft */
.badge-soft {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: #e9fbf2;
    color: #0a8f5b;
    font-weight: 800;
    font-size: 0.85rem;
}

/* Cards */
.card-gradient {
    border-radius: 18px;
    background: linear-gradient(135deg, #0b8f5b 0%, #0aa8b1 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}
.card-gradient-title {
    color: #fff;
    font-weight: 900;
    font-size: 1.15rem;
}
.card-gradient-text {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
}

/* white soft card */
.card-soft {
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eef2f6;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.06);
}
.card-soft-title {
    font-weight: 900;
    color: #0d1b2a;
    font-size: 1rem;
    margin-bottom: 6px;
}
.card-soft-text {
    color: #5b6675;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* lite cards (résultats attendus) */
.card-lite {
    border-radius: 14px;
    background: #f7f9fb;
    border: 1px solid #e7edf3;
    box-shadow: 0 10px 18px rgba(16, 24, 40, 0.04);
}
.card-lite-title {
    font-weight: 900;
    color: #0d1b2a;
    font-size: 1rem;
    margin-bottom: 6px;
}
.card-lite-text {
    color: #5b6675;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive padding */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 110px 0 70px;
    }
    .section-white,
    .section-gray {
        padding: 70px 0;
    }
}

/* =========================
   PROGRAMME PAGE (match capture)
========================= */
.page-programme .programme-hero {
    /* plus "court" que le hero home, comme la capture */
    padding: 120px 0 70px;
}
.page-programme .programme-hero::before,
.page-programme .programme-hero::after {
    /* lueurs plus discrètes pour coller à la capture */
    opacity: 0.14;
}
.page-programme .programme-pill {
    padding: 10px 16px;
    font-weight: 700;
}

/* titres du programme */
.page-programme .programme-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.12;
    font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}
.page-programme .programme-subtitle {
    color: rgba(255, 255, 255, 0.68);
    max-width: 860px;
    line-height: 1.75;
    font-size: 1.05rem;
}

/* headings "Temps forts" / "Agenda par jour" en vert, comme la capture */
.page-programme .programme-section-title {
    color: #0b8f5b;
}
.page-programme .programme-section-subtitle {
    max-width: 860px;
}

/* ===== Temps forts cards ===== */
.page-programme .programme-feature-card {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eef2f6;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.06);
    padding: 26px 22px;
    text-align: center;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}
.page-programme .programme-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}
.page-programme .programme-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0aa8b1, #0b8f5b);
    box-shadow: 0 10px 22px rgba(11, 143, 91, 0.18);
}
.page-programme .programme-feature-title {
    font-weight: 900;
    color: #0d1b2a;
    font-size: 1rem;
    margin-bottom: 6px;
}
.page-programme .programme-feature-text {
    color: #5b6675;
    line-height: 1.65;
    font-size: 0.9rem;
}

/* ===== Agenda ===== */
.page-programme .programme-agenda {
    padding-top: 70px; /* la section-gray a déjà du padding, on ajuste finement */
}
.page-programme .programme-agenda-wrap {
    max-width: 920px; /* largeur centrée comme la capture */
}

/* Tabs */
.page-programme .programme-tab {
    border: 1px solid #dce4e6;
    background: #fff;
    color: #23324a;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 18px rgba(16, 24, 40, 0.03);
    transition: all 0.15s ease;
}
.page-programme .programme-tab:hover {
    background: #f1f5f9;
}
.page-programme .programme-tab.is-active {
    background: #0b8f5b;
    border-color: #0b8f5b;
    color: #fff;
    box-shadow: 0 12px 24px rgba(11, 143, 91, 0.18);
}

/* Day header (bar cyan -> emerald) */
.page-programme .programme-dayhead {
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        rgba(34, 211, 238, 0.12),
        rgba(16, 185, 129, 0.1)
    );
    padding: 22px 22px;
    border: 1px solid rgba(16, 185, 129, 0.12);
    margin-bottom: 18px;
}
.page-programme .programme-dayhead-title {
    font-weight: 900;
    color: #0d1b2a;
    font-size: 1.05rem;
}
.page-programme .programme-dayhead-date {
    margin-top: 6px;
    color: #5b6675;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Agenda list + cards */
.page-programme .programme-list {
    display: grid;
    gap: 16px;
}
.page-programme .programme-item {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eef2f6;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.06);
    padding: 16px 18px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.page-programme .programme-time {
    width: 86px;
    text-align: center;
    flex: 0 0 auto;
}
.page-programme .programme-time .t-start {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0b8f5b;
    line-height: 1;
}
.page-programme .programme-time .t-start.t-cyan {
    color: #0aa8b1;
}
.page-programme .programme-time .t-end {
    margin-top: 4px;
    font-size: 0.72rem;
    color: #97a3b4;
    font-weight: 800;
}
.page-programme .programme-content {
    flex: 1 1 auto;
    min-width: 0;
}
.page-programme .programme-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.page-programme .programme-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}
.page-programme .programme-badge.badge-emerald {
    background: #ecfdf5;
    color: #0b8f5b;
    border: 1px solid rgba(11, 143, 91, 0.16);
}
.page-programme .programme-badge.badge-cyan {
    background: #ecfeff;
    color: #0a7c96;
    border: 1px solid rgba(6, 182, 212, 0.18);
}
.page-programme .programme-badge.badge-blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.16);
}
.page-programme .programme-note {
    color: #7b8797;
    font-weight: 700;
    font-size: 0.9rem;
}
.page-programme .programme-item-title {
    font-weight: 900;
    margin: 0;
    color: #0d1b2a;
    font-size: 1.02rem;
}
.page-programme .programme-item-text {
    color: #5b6675;
    margin-top: 4px;
    line-height: 1.6;
    font-size: 0.92rem;
}

/* Mobile */
@media (max-width: 575.98px) {
    .page-programme .programme-item {
        padding: 14px 14px;
        gap: 12px;
    }
    .page-programme .programme-time {
        width: 70px;
    }
    .page-programme .programme-time .t-start {
        font-size: 1.25rem;
    }
}

/* =========================
   INSCRIPTION PAGE (match capture)
========================= */

.page-inscription .insc-hero {
    padding: 120px 0 80px; /* comme la capture */
}

/* titres hero */
.page-inscription .insc-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.12;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}
.page-inscription .insc-subtitle {
    color: rgba(255, 255, 255, 0.68);
    max-width: 820px;
    line-height: 1.75;
    font-size: 1.05rem;
}
.page-inscription .insc-pill {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: rgba(210, 255, 236, 0.92);
}

/* section fond clair (emerald -> white -> cyan) */
.page-inscription .insc-section {
    padding: 70px 0 90px;
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 45%, #ecfeff 100%);
}

/* cards */
.page-inscription .insc-card {
    border-radius: 18px;
}
.page-inscription .insc-card-white {
    background: #fff;
    border: 1px solid rgba(16, 185, 129, 0.18);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
    padding: 26px 26px;
}
.page-inscription .insc-card-dark {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    padding: 26px 26px;
}
.page-inscription .insc-card-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
    padding: 34px 34px;
}

/* left card typography */
.page-inscription .insc-card-title {
    font-weight: 900;
    color: #0d1b2a;
    margin: 0 0 10px;
    font-size: 1.25rem;
}
.page-inscription .insc-card-text {
    color: #5b6675;
    line-height: 1.75;
}

/* bullets */
.page-inscription .insc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    color: #5b6675;
    font-size: 0.92rem;
}
.page-inscription .insc-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.7;
}
.page-inscription .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 7px;
    flex: 0 0 auto;
}
.page-inscription .dot-emerald {
    background: var(--emerald-500);
}
.page-inscription .dot-cyan {
    background: var(--cyan-500);
}

/* help card */
.page-inscription .insc-help-title {
    font-weight: 800;
    margin: 0 0 8px;
    font-size: 1.05rem;
}
.page-inscription .insc-help-text {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.page-inscription .insc-help-line {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    font-size: 0.92rem;
}
.page-inscription .insc-help-label {
    color: rgba(124, 242, 197, 0.95);
    font-weight: 800;
    min-width: 52px;
}
.page-inscription .insc-help-value {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

/* form head chip */
.page-inscription .insc-form-head {
    margin-bottom: 20px;
}
.page-inscription .insc-chip {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--emerald-700);
    font-weight: 900;
    font-size: 0.72rem;
    border: 1px solid rgba(16, 185, 129, 0.16);
    margin-bottom: 12px;
}
.page-inscription .insc-form-title {
    font-weight: 900;
    color: #0d1b2a;
    margin: 0 0 8px;
    font-size: 1.35rem;
}
.page-inscription .insc-form-lead {
    color: #5b6675;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* inputs */
.page-inscription .insc-label {
    font-weight: 800;
    color: #23324a;
    font-size: 0.86rem;
    margin-bottom: 8px;
}
.page-inscription .insc-input {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    box-shadow: none;
}
.page-inscription .insc-input:focus {
    border-color: rgba(16, 185, 129, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.15);
}

/* submit button */
.page-inscription .insc-submit {
    background: #0b8f5b;
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
    padding: 12px 22px;
    border: 0;
    box-shadow: 0 14px 28px rgba(11, 143, 91, 0.18);
}
.page-inscription .insc-submit:hover {
    filter: brightness(0.96);
    color: #fff;
}
.page-inscription .insc-submit:disabled {
    opacity: 0.75;
}

/* alerts spacing */
.page-inscription .insc-alert {
    border-radius: 14px;
    padding: 12px 14px;
}

/* responsive */
@media (max-width: 991.98px) {
    .page-inscription .insc-card-form {
        padding: 26px 22px;
    }
    .page-inscription .insc-card-white,
    .page-inscription .insc-card-dark {
        padding: 22px 20px;
    }
}

/* =========================
   AUTH (Register/Login)
========================= */
.auth-section {
    background: linear-gradient(135deg, #ecfdf5, #ffffff, #ecfeff);
    padding: 80px 0;
}

.auth-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eaf0f6;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.form-control-premium {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 14px !important;
}

.form-control-premium:focus {
    border-color: rgba(16, 185, 129, 0.55) !important;
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.14) !important;
}

.auth-help {
    color: #64748b;
    line-height: 1.7;
}

.auth-note {
    font-size: 0.92rem;
    color: #64748b;
}

.auth-tip {
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #ecfdf5);
    border: 1px solid rgba(16, 185, 129, 0.18);
}

/* =========================
   ADMIN LAYOUT (premium)
========================= */

.admin-shell {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #f8fafc, #ffffff, #ecfeff);
}

/* Sidebar */
.admin-sidebar {
    width: 290px;
    flex: 0 0 290px;
    background: rgba(255, 255, 255, 0.82);
    border-right: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 18px 14px;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1200;
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 6px 12px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.admin-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--emerald-600), #0891b2);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.18);
}

.admin-brand-title {
    font-weight: 900;
    color: var(--slate-900);
    line-height: 1.1;
}
.admin-brand-subtitle {
    font-size: 12px;
    margin-top: 2px;
}

/* Nav */
.admin-nav {
    margin-top: 8px;
    display: grid;
    gap: 8px;
    padding: 6px;
}

.admin-navlink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    color: #1f2a37;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
    border: 1px solid transparent;
}

.admin-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: rgba(6, 182, 212, 0.25);
}

.admin-navlink:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.admin-navlink.is-active {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.1);
}
.admin-navlink.is-active .admin-dot {
    background: rgba(16, 185, 129, 0.85);
}

/* Footer sidebar (logout) */
.admin-sidebar-foot {
    margin-top: auto;
    padding: 10px 6px 6px;
}

.admin-logout-btn {
    border: 0;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 16px 34px rgba(185, 28, 28, 0.2);
}
.admin-logout-btn:hover {
    filter: brightness(0.96);
    color: #fff;
}

/* Main area */
.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-content {
    padding: 18px;
}

.admin-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(226, 232, 240, 1);
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.admin-icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

/* KPI */
.kpi-card {
    border-radius: 18px;
}
.kpi-label {
    font-weight: 900;
    color: var(--slate-900);
    font-size: 14px;
}
.kpi-value {
    font-weight: 900;
    font-size: 34px;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    line-height: 1.1;
}

.kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
}
.kpi-icon-emerald {
    background: linear-gradient(135deg, var(--emerald-600), #0891b2);
}
.kpi-icon-cyan {
    background: linear-gradient(135deg, var(--cyan-500), var(--emerald-600));
}
.kpi-icon-dark {
    background: linear-gradient(135deg, #0f172a, #1f2937);
}

/* Overlay */
.admin-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    z-index: 1100;
}

/* Mobile behavior */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-110%);
        transition: transform 0.22s ease;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    }

    .admin-shell.is-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-shell.is-open .admin-overlay {
        display: block;
    }

    .admin-content {
        padding: 14px;
    }
}

/* ===== Admin Dates table actions ===== */
.admin-table thead th {
    border-bottom: 1px solid #e7edf3;
}
.admin-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.04);
}

.admin-icon-action {
    border-radius: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.admin-icon-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.1);
}

.admin-icon-edit {
    color: #0891b2;
}
.admin-icon-delete {
    color: #dc2626;
}
.admin-icon-delete:hover {
    border-color: rgba(220, 38, 38, 0.25);
}

/* ===== Admin Agenda (cards + actions) ===== */
.admin-flash {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 18px rgba(16, 24, 40, 0.06);
}
.admin-flash-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.25);
}
.admin-flash-error,
.admin-flash-danger {
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.22);
}

.admin-icon-action {
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #0f172a;
    padding: 8px 10px;
    box-shadow: 0 10px 18px rgba(16, 24, 40, 0.06);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}
.admin-icon-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(16, 24, 40, 0.1);
    background: rgba(248, 250, 252, 0.9);
}

.admin-icon-danger {
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.18);
    background: rgba(220, 38, 38, 0.06);
}
.admin-icon-danger:hover {
    background: rgba(220, 38, 38, 0.1);
}

.agenda-card .agenda-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: #0b6b76;
}

.admin-action-icon {
    border-radius: 14px;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: rgba(220, 38, 38, 0.95); /* rouge premium */
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}
.admin-action-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.1);
    background: rgba(220, 38, 38, 0.06);
}
