:root {
    --gg-accent: #37c36b;
    --gg-accent-strong: #126f36;
    --gg-accent-soft: rgba(55, 195, 107, 0.16);
    --gg-bg: #07110b;
    --gg-surface: rgba(8, 18, 12, 0.78);
    --gg-surface-strong: rgba(12, 26, 18, 0.92);
    --gg-border: rgba(171, 243, 199, 0.16);
    --gg-text: #f4fff7;
    --gg-muted: rgba(244, 255, 247, 0.72);
    --gg-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.light-theme {
    --gg-accent: #239952;
    --gg-accent-strong: #0f6b36;
    --gg-accent-soft: rgba(35, 153, 82, 0.12);
    --gg-bg: #f3fbf5;
    --gg-surface: rgba(255, 255, 255, 0.88);
    --gg-surface-strong: rgba(244, 251, 246, 0.96);
    --gg-border: rgba(14, 69, 34, 0.14);
    --gg-text: #0b1a12;
    --gg-muted: rgba(11, 26, 18, 0.72);
    --gg-shadow: 0 20px 48px rgba(16, 44, 28, 0.12);
}

body.marketing-page,
body.page-home,
body.page-services,
body.page-contact {
    background:
        radial-gradient(circle at top left, rgba(55, 195, 107, 0.14), transparent 24%),
        radial-gradient(circle at 85% 12%, rgba(110, 201, 255, 0.1), transparent 18%),
        linear-gradient(180deg, #08110c 0%, #0d1d14 42%, #09120d 100%);
    color: var(--gg-text);
    font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
}

body.marketing-page p {
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-justify: inter-word;
    word-spacing: normal;
    line-height: 1.6;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

.light-theme body.marketing-page,
.light-theme body.page-home,
.light-theme body.page-services,
.light-theme body.page-contact {
    background:
        radial-gradient(circle at top left, rgba(35, 153, 82, 0.12), transparent 24%),
        radial-gradient(circle at 85% 12%, rgba(58, 139, 194, 0.1), transparent 18%),
        linear-gradient(180deg, #f4fbf6 0%, #ebf6ef 42%, #f7fcf8 100%);
}

body.marketing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 92%);
    opacity: 0.5;
}

body.marketing-page header {
    background: rgba(6, 14, 10, 0.78);
    backdrop-filter: blur(14px);
    border-top-color: rgba(55, 195, 107, 0.7);
    border-bottom-color: rgba(55, 195, 107, 0.55);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
}

.light-theme body.marketing-page header {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 35px rgba(16, 44, 28, 0.08);
}

body.marketing-page header nav {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

body.marketing-page header nav ul {
    width: auto;
    justify-content: center;
    align-items: center;
    margin: 0;
}

body.marketing-page #theme-toggle,
body.marketing-page .theme-toggle {
    flex: 0 0 auto;
    margin-left: 0;
    align-self: center;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}

body.marketing-page .hamburger {
    flex: 0 0 auto;
    align-self: center;
}

body.marketing-page .user-dropdown {
    min-width: 280px;
    padding: 8px;
    border-radius: 20px;
    border: 1px solid var(--gg-border);
    background:
        linear-gradient(180deg, rgba(8, 18, 12, 0.98), rgba(12, 26, 18, 0.95));
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.light-theme body.marketing-page .user-dropdown {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 244, 0.94));
}

body.marketing-page .user-dropdown__identity {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.light-theme body.marketing-page .user-dropdown__identity {
    background: rgba(20, 40, 28, 0.04);
}

body.marketing-page .user-dropdown__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gg-text);
}

body.marketing-page .user-dropdown__email {
    font-size: 12px;
    color: var(--gg-muted);
    word-break: break-word;
}

body.marketing-page .user-dropdown__divider {
    height: 1px;
    margin: 8px 6px;
    background: var(--gg-border);
}

body.marketing-page .user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
}

body.marketing-page .user-dropdown a i {
    width: 16px;
    text-align: center;
    color: var(--gg-accent);
}

body.marketing-page nav ul li:hover,
body.marketing-page nav ul li.hovered {
    background: rgba(255, 255, 255, 0.92);
}

body.marketing-page .actuel,
body.marketing-page strong {
    color: #9af5ba;
}

.light-theme body.marketing-page .actuel,
.light-theme body.marketing-page strong {
    color: var(--gg-accent-strong);
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-badge,
.page-chip,
.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--gg-border);
    color: var(--gg-text);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.hero-actions,
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-link,
.page-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--gg-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    font-size: 14px;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-link.primary,
.page-cta.primary {
    background: linear-gradient(135deg, var(--gg-accent), #89e3aa);
    color: #072111;
    border-color: transparent;
    font-weight: 700;
}

.hero-link:hover,
.page-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(55, 195, 107, 0.6);
}

body.marketing-page .glass-card,
body.marketing-page .service,
body.marketing-page .contact-card,
body.marketing-page .contact-info,
body.marketing-page .project-card,
body.marketing-page .testimonial,
body.marketing-page .kpi,
body.marketing-page #bienvenue,
body.marketing-page #services,
body.marketing-page #pourquoi,
body.marketing-page #commentBox,
body.marketing-page .contact-map-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(10px);
}

.light-theme body.marketing-page .glass-card,
.light-theme body.marketing-page .service,
.light-theme body.marketing-page .contact-card,
.light-theme body.marketing-page .contact-info,
.light-theme body.marketing-page .project-card,
.light-theme body.marketing-page .testimonial,
.light-theme body.marketing-page .kpi,
.light-theme body.marketing-page #bienvenue,
.light-theme body.marketing-page #services,
.light-theme body.marketing-page #pourquoi,
.light-theme body.marketing-page #commentBox,
.light-theme body.marketing-page .contact-map-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 251, 246, 0.9));
}

body.marketing-page .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.marketing-page.page-ready .reveal,
body.marketing-page .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

body.page-home #content {
    background: transparent;
}

body.page-home #affiche_haut {
    width: 100%;
    max-width: none;
    margin: 120px 0 30px;
    padding: 30px;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(5, 20, 10, 0.88), rgba(16, 44, 28, 0.74));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    align-items: stretch;
}

.light-theme body.page-home #affiche_haut,
.light-theme body.page-services #en-tete,
.light-theme body.page-contact .page-top-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 246, 238, 0.94));
}

body.page-home .titre {
    position: relative;
    padding: 18px 10px 18px 6px;
    width: 100%;
    min-width: 0;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
    background: rgba(6, 18, 11, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

body.page-home .slide_text {
    position: absolute;
    left: 50%;
    top: clamp(76px, 16vh, 140px);
    transform: translateX(-50%);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.03;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
    display: block;
    width: min(92%, 760px);
    text-align: center;
    margin: 0 auto;
    z-index: 2;
}

body.page-home #texte_cabinet {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 250px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gg-muted);
    line-height: 1.8;
    width: min(92%, 760px);
    text-align: center;
    z-index: 2;
}

body.page-home .slideshow-container {
    width: 100%;
    min-height: 560px;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

body.page-home .container {
    width: min(1320px, calc(100% - 24px));
    margin: 0 auto;
    padding: 0;
}

body.page-home #bienvenue,
body.page-home #services,
body.page-home #pourquoi {
    padding: 28px;
    border-radius: 24px;
    margin-bottom: 24px;
}

body.page-home #title,
body.page-home #services h2,
body.page-home #pourquoi h2,
body.page-home #testimonials h2,
body.page-home #comment_section h2,
body.page-home #projects_home h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 14px;
}

body.page-home .bienvenue {
    justify-content: center;
}

body.page-home .bienvenue-item {
    max-width: 380px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.24));
}

body.page-home .boutton-aller-vers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 20px auto 34px;
    width: 100%;
    align-items: stretch;
}

body.page-home .boutton-aller-vers a {
    display: flex;
}

body.page-home .boutton_middle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 220px;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--gg-border);
    box-shadow: none;
    line-height: 1.35;
    white-space: nowrap;
}

body.page-home #services ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    list-style: none;
}

body.page-home .liste_service {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-home .image_illustration_services {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    margin: 0;
}

body.page-home .liste_service p {
    margin: 0;
}

body.page-home .service-title {
    display: block;
    width: 100%;
    text-align: left;
    align-self: flex-start;
}

body.page-home #pourquoi ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
}

body.page-home #pourquoi li {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.7;
}

body.page-home #kpis {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 24px;
    gap: 18px;
}

body.page-home .kpi {
    border-radius: 24px;
    padding: 24px 18px;
}

body.page-home #testimonials,
body.page-home #comment_section,
body.page-home #projects_home {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 26px;
    padding: 30px 24px;
    border-radius: 26px;
}

body.page-home .testimonial {
    border-radius: 22px;
    padding: 24px;
}

body.page-home .project-card {
    max-width: none;
    border-radius: 22px;
}

body.page-services #en-tete,
body.page-contact .page-top-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 120px auto 24px;
    padding: 34px 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(7, 21, 13, 0.9), rgba(19, 63, 39, 0.72));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-services #en-tete h2,
body.page-contact .page-top-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 14px;
}

body.page-services .container,
body.page-contact .container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 28px;
    padding: 0;
}

body.page-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    border-radius: 28px;
    overflow: hidden;
    padding: 6px;
}

body.page-services .service {
    padding: 24px;
    border-radius: 24px;
    margin: 0;
}

body.page-services .service h2 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 14px;
}

body.page-services .service p {
    color: var(--gg-muted);
    line-height: 1.75;
}

body.page-contact .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: stretch;
}

body.page-contact .contact-info,
body.page-contact .contact-card {
    padding: 26px;
    border-radius: 24px;
}

body.page-contact .contact-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

body.page-contact .contact-card p,
body.page-contact .contact-info p {
    color: var(--gg-muted);
    line-height: 1.7;
}

body.page-contact .contact-info p:nth-of-type(2) {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-spacing: normal;
    letter-spacing: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-break: auto;
    text-wrap: pretty;
}

body.page-contact .contact-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-contact .contact-map-card {
    width: min(1180px, calc(100% - 32px));
    margin: 72px auto 28px;
    padding: 18px;
    border-radius: 26px;
}

body.page-contact .geolocalisation,
body.page-contact .geolocalisation iframe {
    width: 100%;
    min-height: 420px;
    border: none;
    border-radius: 22px;
}

body.marketing-page footer {
    margin-top: 32px;
    background: #000;
    border-top-color: rgba(55, 195, 107, 0.5);
    border-bottom-color: rgba(55, 195, 107, 0.5);
}

body.marketing-page footer,
body.marketing-page footer *,
body.marketing-page #Copyright,
body.marketing-page #Copyright * {
    color: #f4fff7 !important;
}

body.marketing-page #Copyright {
    width: 100%;
    text-align: center;
}

body.marketing-page footer a:hover,
body.marketing-page #Copyright a:hover {
    color: #9af5ba !important;
}

.light-theme body.marketing-page #Copyright,
.light-theme body.marketing-page #Copyright *,
.light-theme body.marketing-page #Copyright a {
    color: #000 !important;
}

.light-theme body.marketing-page #Copyright a:hover {
    color: var(--gg-accent-strong) !important;
}

@media (max-width: 1024px) {
    body.page-home #affiche_haut,
    body.page-contact .contact-grid {
        grid-template-columns: 1fr;
    }

    body.page-home #affiche_haut {
        width: 100%;
        padding: 24px;
        justify-items: center;
    }

    body.page-home .titre {
        padding: 6px 0 0;
        align-items: center;
        text-align: center;
        min-height: 430px;
    }

    body.page-home .hero-actions {
        justify-content: center;
    }

    body.page-home .slideshow-container {
        min-height: 360px;
    }

    body.page-home #services ul,
    body.page-services .services-grid,
    body.page-home #pourquoi ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.marketing-page .hamburger,
    body.marketing-page #theme-toggle,
    body.marketing-page .theme-toggle {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        align-self: center;
    }

    body.marketing-page .hamburger {
        margin-top: 0;
    }

    body.marketing-page header {
        align-items: center;
    }

    body.marketing-page header nav {
        align-items: center;
    }

    body.page-home #affiche_haut,
    body.page-services #en-tete,
    body.page-contact .page-top-hero,
    body.page-home #testimonials,
    body.page-home #comment_section,
    body.page-home #projects_home,
    body.page-home #kpis,
    body.page-home .container,
    body.page-services .container,
    body.page-contact .container,
    body.page-contact .contact-map-card {
        width: min(100% - 24px, 1180px);
    }

    body.page-home #services ul,
    body.page-services .services-grid,
    body.page-home #pourquoi ul {
        grid-template-columns: 1fr;
    }

    body.page-home #affiche_haut {
        margin-top: 104px;
        padding: 18px;
        gap: 18px;
        border-radius: 24px;
    }

    body.page-home .titre {
        align-items: stretch;
        text-align: center;
        min-height: 360px;
    }

    body.page-home .slide_text {
        top: 54px;
        width: min(96%, 620px);
    }

    body.page-home #texte_cabinet {
        margin-top: 188px;
        width: min(96%, 620px);
    }

    body.page-home #texte_cabinet {
        padding: 16px;
    }

    body.page-home .hero-actions {
        justify-content: center;
    }

    body.page-home .hero-link {
        font-size: 14px;
        width: 100%;
    }

    body.page-home .boutton-aller-vers a {
        width: 100%;
    }

    body.page-home .slide_text {
        font-size: clamp(28px, 9vw, 46px);
    }

    body.page-home .slideshow-container {
        min-height: 260px;
    }

    body.marketing-page header {
        justify-content: center;
        padding-left: 16px;
        padding-right: 16px;
        gap: 8px;
    }

    body.marketing-page header nav {
        flex: 0 1 auto;
    }
}

@media (max-width: 480px) {
    body.page-home #affiche_haut {
        width: 100%;
        padding: 14px;
        margin-top: 96px;
    }

    body.page-home .titre {
        min-height: 320px;
    }

    body.page-home .slide_text {
        top: 38px;
        width: min(98%, 100%);
        font-size: clamp(24px, 8vw, 36px);
    }

    body.page-home .container,
    body.page-home #testimonials,
    body.page-home #comment_section,
    body.page-home #projects_home,
    body.page-home #kpis {
        width: calc(100% - 16px);
    }

    body.page-home #bienvenue,
    body.page-home #services,
    body.page-home #pourquoi,
    body.page-home #testimonials,
    body.page-home #comment_section,
    body.page-home #projects_home {
        padding: 18px;
    }

    body.page-home #texte_cabinet {
        margin-top: 150px;
        width: min(98%, 100%);
        padding: 14px;
    }
}

body.page-cours .container {
    width: min(1240px, calc(100% - 32px));
    margin: 118px auto 28px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

body.page-cours .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-cours .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-cours .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-preinscription .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-preinscription .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-preinscription .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-cours .cours-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 24px;
    padding: 32px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(90, 192, 151, 0.14), transparent 24%),
        linear-gradient(135deg, rgba(6, 18, 11, 0.92), rgba(15, 53, 32, 0.76));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    margin-bottom: 24px;
    align-items: stretch;
}

.light-theme body.page-cours .cours-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 246, 238, 0.94));
}

body.page-cours .cours-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-cours .cours-hero__content h1 {
    margin: 0;
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 1.04;
    text-align: left;
    background: none;
}

body.page-cours .cours-hero__lead {
    max-width: 720px;
    margin: 0;
    font-size: 17px;
    color: var(--gg-muted);
}

body.page-cours .cours-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.page-cours .cours-metric {
    padding: 18px 16px;
    border-radius: 22px;
    text-align: center;
}

body.page-cours .cours-metric strong {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--gg-text);
}

body.page-cours .cours-metric span {
    color: var(--gg-muted);
    font-size: 14px;
}

body.page-cours .cours-hero__visual {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
    align-content: start;
}

body.page-cours .cours-hero__image {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-cours .cours-session-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.light-theme body.page-cours .cours-session-card {
    background: rgba(255, 255, 255, 0.72);
}

body.page-cours .cours-session-card__label {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gg-accent-soft);
    color: var(--gg-text);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

body.page-cours .cours-session-card h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--gg-text);
}

body.page-cours .cours-session-card p {
    margin: 0;
    color: var(--gg-muted);
}

body.page-cours .cours-session-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

body.page-cours .cours-session-card__meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gg-text);
    font-size: 13px;
}

body.page-cours .cours-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

body.page-cours .cours-overview-card {
    padding: 24px;
    border-radius: 24px;
}

body.page-cours .cours-overview-card i {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: var(--gg-accent-soft);
    color: var(--gg-text);
    font-size: 20px;
}

body.page-cours .cours-overview-card h2,
body.page-cours .cours-anchor-title {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 38px);
    color: var(--gg-text);
    text-align: left;
}

body.page-cours .cours-overview-card p {
    margin: 0;
    color: var(--gg-muted);
}

body.page-cours .cours-intro {
    padding: 28px;
    margin: 0 0 26px;
    border-radius: 26px;
}

body.page-cours #texte_debut {
    margin: 0 0 26px;
    color: var(--gg-muted);
    line-height: 1.85;
}

body.page-cours .trainers-section,
body.page-cours #container_programme,
body.page-cours .cours-gallery-section {
    margin-bottom: 24px;
}

body.page-cours #container_programme {
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-cours #container_programme {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 251, 246, 0.9));
}

body.page-cours .titre1,
body.page-cours .titre2,
body.page-cours .titre3 {
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(14, 43, 27, 0.9), rgba(28, 104, 66, 0.7));
    margin: 0 0 18px;
}

.light-theme body.page-cours .titre1,
.light-theme body.page-cours .titre2,
.light-theme body.page-cours .titre3 {
    background: linear-gradient(135deg, rgba(16, 97, 52, 0.9), rgba(76, 170, 114, 0.72));
}

body.page-cours .titre1 br,
body.page-cours .titre2 br {
    display: none;
}

body.page-cours .formation-accordion {
    border: none;
    display: grid;
    gap: 14px;
    overflow: visible;
}

body.page-cours .formation-item {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--gg-border);
    background: rgba(255, 255, 255, 0.04);
}

body.page-cours .formation-title {
    position: relative;
    padding: 20px 58px 20px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: none;
    font-size: 16px;
    line-height: 1.6;
}

body.page-cours .formation-title::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: #9af5ba;
}

body.page-cours .formation-content {
    padding: 22px;
    color: var(--gg-text);
    background: rgba(6, 16, 10, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.light-theme body.page-cours .formation-content {
    background: rgba(255, 255, 255, 0.96);
    color: var(--gg-text);
}

body.page-cours .formation-content,
body.page-cours .formation-content *:not(strong) {
    color: inherit;
}

body.page-cours .video_container {
    margin-top: 0 !important;
}

body.page-cours #video_pub {
    width: min(100%, 920px);
    border: 1px solid var(--gg-border);
    border-radius: 24px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

body.page-cours .image_calendar {
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

body.page-cours .image_calendar #calendar {
    width: min(100%, 760px);
    border-radius: 18px;
}

body.page-cours .image_calendar #certificat {
    width: min(180px, 38vw);
    margin-top: 0;
}

body.page-cours .boutton-aller-vers {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    border: none;
}

body.page-cours .boutton-aller-vers a {
    margin: 0;
    display: inline-flex;
    text-decoration: none;
}

body.page-cours .boutton_middle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 52px;
    height: auto;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    white-space: nowrap;
}

body.page-cours .carousel-container_programme,
body.page-cours .pdf-container_programme,
body.page-cours .carousel-container_illustre {
    border-radius: 24px;
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-cours .carousel-container_programme {
    top: 0;
    margin-top: 28px;
    height: auto;
    min-height: 320px;
    padding: 24px 54px;
    background: rgba(255, 255, 255, 0.04);
}

body.page-cours .carousel-slide img {
    width: min(100%, 760px);
    border-radius: 18px;
}

body.page-cours .carousel-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 999px;
    background: rgba(6, 16, 10, 0.82);
    border: 1px solid var(--gg-border);
}

body.page-cours .pdf-actions {
    margin-top: 0;
}

body.page-cours .pdf-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gg-border);
}

body.page-cours .pdf-container_programme {
    max-width: 100%;
    min-height: 85vh;
    height: 85vh;
    background: rgba(255, 255, 255, 0.03);
}

body.page-cours .carousel-container_illustre {
    min-width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
}

body.page-cours .carousel-track_illustre img {
    border-color: var(--gg-border);
    border-radius: 18px;
}

body.page-cours .carousel-buttons button {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gg-text);
    border: 1px solid var(--gg-border);
}

body.page-cours .carousel {
    margin-top: 40px;
    margin-bottom: 36px;
}

body.page-cours .carousel-item {
    width: 220px;
    padding: 8px;
    border-color: var(--gg-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

body.page-cours .planning-modal {
    padding: 24px;
}

body.page-cours .planning-modal.is-open {
    animation: coursModalFade 0.32s ease;
}

body.page-cours .planning-modal__backdrop {
    background:
        radial-gradient(circle at top, rgba(55, 195, 107, 0.16), transparent 28%),
        rgba(3, 8, 5, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.page-cours .planning-modal__card {
    width: min(620px, 94vw);
    max-height: min(88vh, 760px);
    padding: 30px 30px 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(113, 220, 166, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.96), rgba(19, 59, 37, 0.86));
    border: 1px solid rgba(171, 243, 199, 0.18);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.light-theme body.page-cours .planning-modal__card {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.95));
    border: 1px solid rgba(14, 69, 34, 0.14);
    box-shadow: 0 24px 60px rgba(16, 44, 28, 0.16);
}

.light-theme body.page-cours .planning-modal__card,
.light-theme body.page-cours .planning-modal__card h3,
.light-theme body.page-cours .planning-modal__session,
.light-theme body.page-cours .planning-modal__date,
.light-theme body.page-cours .planning-modal__label,
.light-theme body.page-cours .planning-modal__formation,
.light-theme body.page-cours .planning-modal__details,
.light-theme body.page-cours .planning-modal__details span,
.light-theme body.page-cours .planning-modal__notes,
.light-theme body.page-cours .planning-modal__price {
    color: #102017;
}

body.page-cours .planning-modal__close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

body.page-cours .planning-modal__close:hover {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.14);
}

.light-theme body.page-cours .planning-modal__close {
    color: #102017;
    background: rgba(16, 44, 28, 0.06);
    border-color: rgba(14, 69, 34, 0.14);
}

body.page-cours .planning-modal__badge {
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
    background: rgba(55, 195, 107, 0.12);
    border-color: rgba(113, 220, 166, 0.35);
}

body.page-cours .planning-modal__card h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.12;
}

body.page-cours .planning-modal__session {
    margin-bottom: 10px;
    color: #b7f7cc;
    font-weight: 700;
}

body.page-cours .planning-modal__date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-cours .planning-modal__info {
    padding: 18px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.light-theme body.page-cours .planning-modal__info {
    background: rgba(255, 255, 255, 0.72);
}

body.page-cours .planning-modal__label {
    font-size: 11px;
    letter-spacing: 0.12em;
    opacity: 0.78;
}

body.page-cours .planning-modal__formation {
    font-size: 20px;
    line-height: 1.35;
}

body.page-cours .planning-modal__price {
    display: inline-flex;
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(55, 195, 107, 0.16);
    color: #effff4;
}

.light-theme body.page-cours .planning-modal__price {
    color: #102017;
    background: rgba(35, 153, 82, 0.14);
}

body.page-cours .planning-modal__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
    opacity: 1;
}

body.page-cours .planning-modal__details span {
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

body.page-cours .planning-modal__notes {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid rgba(113, 220, 166, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 14px 14px 0;
}

body.page-cours .planning-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #06200f;
    box-shadow: 0 18px 34px rgba(55, 195, 107, 0.22);
}

body.page-cours .planning-modal__cta:hover {
    color: #06200f;
    filter: brightness(1.02);
}

@keyframes coursModalFade {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    body.page-cours .cours-hero {
        grid-template-columns: 1fr;
    }

    body.page-cours .cours-overview,
    body.page-cours .cours-hero__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.page-cours .container {
        width: min(100% - 24px, 1240px);
        margin-top: 102px;
    }

    body.page-cours .cours-hero,
    body.page-cours .cours-intro,
    body.page-cours #container_programme {
        padding: 20px;
        border-radius: 24px;
    }

    body.page-cours .cours-overview,
    body.page-cours .cours-hero__metrics {
        grid-template-columns: 1fr;
    }

    body.page-cours .hero-actions,
    body.page-cours .boutton-aller-vers {
        justify-content: center;
    }

    body.page-cours .hero-link,
    body.page-cours .boutton-aller-vers a,
    body.page-cours .boutton_middle {
        width: 100%;
    }

    body.page-cours .cours-hero__content h1,
    body.page-cours .cours-overview-card h2,
    body.page-cours .cours-anchor-title {
        text-align: center;
    }

    body.page-cours .cours-hero__lead {
        text-align: left;
    }

    body.page-cours .carousel-container_programme {
        padding: 20px 44px;
    }

    body.page-cours .pdf-container_programme {
        min-height: 70vh;
        height: 70vh;
    }

    body.page-cours .carousel-track_illustre img {
        width: 100%;
    }

    body.page-cours .carousel-button {
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }

    body.page-cours .planning-modal__details {
        grid-template-columns: 1fr;
    }

    body.page-cours .planning-modal {
        padding: 14px;
        align-items: flex-start;
    }

    body.page-cours .planning-modal__card {
        width: min(100%, 520px);
        max-height: calc(100dvh - 28px);
        margin-top: 8px;
        padding: 18px 16px 16px;
        border-radius: 22px;
    }

    body.page-cours .planning-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    body.page-cours .planning-modal__badge {
        padding: 6px 12px;
        font-size: 10px;
    }

    body.page-cours .planning-modal__card h3 {
        margin-top: 12px;
        margin-bottom: 10px;
        font-size: clamp(20px, 6vw, 26px);
        line-height: 1.18;
    }

    body.page-cours .planning-modal__session {
        margin-bottom: 8px;
        font-size: 13px;
    }

    body.page-cours .planning-modal__date {
        gap: 8px;
        margin-bottom: 12px;
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 13px;
    }

    body.page-cours .planning-modal__info {
        padding: 12px;
        border-radius: 16px;
        margin-bottom: 14px;
    }

    body.page-cours .planning-modal__formation {
        font-size: 17px;
        line-height: 1.3;
    }

    body.page-cours .planning-modal__price {
        margin-top: 4px;
        padding: 7px 10px;
        font-size: 13px;
    }

    body.page-cours .planning-modal__details {
        gap: 8px;
        margin-top: 12px;
    }

    body.page-cours .planning-modal__details span,
    body.page-cours .planning-modal__notes {
        padding: 9px 10px;
        font-size: 12px;
    }

    body.page-cours .planning-modal__notes {
        margin-top: 10px;
    }

    body.page-cours .planning-modal__cta {
        width: 100%;
        min-height: 46px;
        margin-top: 12px;
        font-size: 14px;
    }
}

body.page-preinscription .preinscription-page-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 118px auto 30px;
}

body.page-preinscription .preinscription-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 22px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    margin-bottom: 24px;
}

.light-theme body.page-preinscription .preinscription-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-preinscription .preinscription-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-preinscription .preinscription-hero__content h2 {
    margin: 0;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    color: var(--gg-text);
}

body.page-preinscription .preinscription-hero__content p {
    margin: 0;
    color: var(--gg-muted);
    font-size: 17px;
}

body.page-preinscription .preinscription-hero__aside {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
}

body.page-preinscription .preinscription-highlight {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-preinscription .preinscription-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gg-text);
}

body.page-preinscription .preinscription-highlight span {
    color: var(--gg-muted);
    line-height: 1.6;
}

body.page-preinscription .bloc_register {
    position: relative;
}

body.page-preinscription #formulaire_register {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    width: 100%;
    margin-top: 0;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-preinscription #formulaire_register {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 246, 0.9));
}

body.page-preinscription #formulaire_register h2 {
    grid-column: 1 / -1;
    margin: 0 0 6px;
    font-size: clamp(28px, 3.6vw, 42px);
    color: var(--gg-text);
}

body.page-preinscription .error-message,
body.page-preinscription .success-message,
body.page-preinscription .info-message {
    grid-column: 1 / -1;
    border-radius: 18px;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
}

body.page-preinscription .error-message ul,
body.page-preinscription .success-message ul {
    margin: 0;
    padding-left: 20px;
}

body.page-preinscription #texte_debut,
body.page-preinscription #contenu_form,
body.page-preinscription #affiche_formation {
    align-self: start;
}

body.page-preinscription #texte_debut {
    padding: 24px;
    border: 1px solid var(--gg-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body.page-preinscription #texte_debut,
body.page-preinscription #texte_debut p {
    color: #15231a;
}

body.page-preinscription #texte_debut strong {
    color: var(--gg-accent-strong);
}

body.page-preinscription #texte_debut .formation-accordion {
    margin-top: 18px;
    border: none;
    display: grid;
    gap: 12px;
    overflow: visible;
}

body.page-preinscription #texte_debut .formation-item {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(14, 69, 34, 0.12);
    background: #f7fbf8;
}

body.page-preinscription #texte_debut .formation-title {
    position: relative;
    padding: 18px 52px 18px 18px;
    background: #eef7f0;
    border-bottom: none;
    color: #112017;
}

body.page-preinscription #texte_debut .formation-title::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--gg-accent-strong);
}

body.page-preinscription #texte_debut .formation-content {
    background: #ffffff;
    color: #17261c;
    border-top: 1px solid rgba(14, 69, 34, 0.08);
    padding: 18px;
}

body.page-preinscription #texte_debut .formation-content *:not(strong) {
    color: inherit;
}

body.page-preinscription #texte_debut .video_container {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 18px !important;
}

body.page-preinscription #texte_debut #video_pub {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 18px !important;
    border: 1px solid rgba(14, 69, 34, 0.12);
}

body.page-preinscription #texte_debut .image_calendar {
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

body.page-preinscription #texte_debut .image_calendar #calendar {
    width: min(100%, 620px);
    border-radius: 16px;
}

body.page-preinscription #texte_debut .image_calendar #certificat {
    width: min(160px, 38vw);
    margin-top: 0;
}

body.page-preinscription #affiche_formation {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 24px;
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-preinscription #contenu_form {
    padding: 24px;
    border: 1px solid var(--gg-border);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(6, 18, 11, 0.9), rgba(15, 43, 28, 0.82));
}

.light-theme body.page-preinscription #contenu_form {
    background: linear-gradient(180deg, rgba(247, 252, 248, 0.98), rgba(235, 246, 239, 0.94));
}

body.page-preinscription #contenu_form label,
body.page-preinscription #contenu_form small,
body.page-preinscription #contenu_form .dial-hint,
body.page-preinscription #contenu_form .dial-hint span,
body.page-preinscription #contenu_form #email_verification_feedback,
body.page-preinscription #contenu_form .msg_montant p {
    color: var(--gg-text) !important;
}

.light-theme body.page-preinscription #contenu_form label,
.light-theme body.page-preinscription #contenu_form small,
.light-theme body.page-preinscription #contenu_form .dial-hint,
.light-theme body.page-preinscription #contenu_form .dial-hint span,
.light-theme body.page-preinscription #contenu_form #email_verification_feedback,
.light-theme body.page-preinscription #contenu_form .msg_montant p {
    color: #142218 !important;
}

body.page-preinscription .input_box {
    margin-bottom: 14px;
}

body.page-preinscription .input_box input,
body.page-preinscription .input_box select,
body.page-preinscription .input_box textarea {
    border-radius: 18px;
    border: 1px solid rgba(171, 243, 199, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gg-text);
}

.light-theme body.page-preinscription .input_box input,
.light-theme body.page-preinscription .input_box select,
.light-theme body.page-preinscription .input_box textarea {
    background: rgba(255, 255, 255, 0.96);
    color: #15231a;
    border: 1px solid rgba(14, 69, 34, 0.14);
}

body.page-preinscription .input_box input::placeholder,
body.page-preinscription .input_box textarea::placeholder {
    color: rgba(244, 255, 247, 0.56);
}

.light-theme body.page-preinscription .input_box input::placeholder,
.light-theme body.page-preinscription .input_box textarea::placeholder {
    color: rgba(21, 35, 26, 0.48);
}

body.page-preinscription .input_box input:focus,
body.page-preinscription .input_box select:focus,
body.page-preinscription .input_box textarea:focus {
    border-color: rgba(113, 220, 166, 0.5);
    box-shadow: 0 0 0 4px rgba(55, 195, 107, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.light-theme body.page-preinscription .input_box input:focus,
.light-theme body.page-preinscription .input_box select:focus,
.light-theme body.page-preinscription .input_box textarea:focus {
    background: #ffffff;
}

body.page-preinscription .register_bouton {
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border: none;
    box-shadow: 0 18px 34px rgba(55, 195, 107, 0.2);
}

body.page-preinscription .register_bouton:hover {
    background: linear-gradient(135deg, #44cf78, #b6ffd0);
    color: #072111;
    border: none;
}

body.page-preinscription .msg_montant {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.light-theme body.page-preinscription .msg_montant {
    background: rgba(255, 255, 255, 0.78);
}

body.page-preinscription .planning-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

body.page-preinscription .planning-modal.is-open {
    display: flex;
    animation: coursModalFade 0.32s ease;
}

body.page-preinscription .planning-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(55, 195, 107, 0.16), transparent 28%),
        rgba(3, 8, 5, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.page-preinscription .planning-modal__card {
    position: relative;
    z-index: 1;
    width: min(620px, 94vw);
    max-height: min(88vh, 760px);
    padding: 30px 30px 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(113, 220, 166, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.96), rgba(19, 59, 37, 0.86));
    border: 1px solid rgba(171, 243, 199, 0.18);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.light-theme body.page-preinscription .planning-modal__card {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.95));
    border: 1px solid rgba(14, 69, 34, 0.14);
    box-shadow: 0 24px 60px rgba(16, 44, 28, 0.16);
}

body.page-preinscription .planning-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

body.page-preinscription .planning-modal__badge {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(55, 195, 107, 0.12);
    border: 1px solid rgba(113, 220, 166, 0.35);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.page-preinscription .planning-modal__card h3,
body.page-preinscription .planning-modal__session,
body.page-preinscription .planning-modal__date,
body.page-preinscription .planning-modal__label,
body.page-preinscription .planning-modal__formation,
body.page-preinscription .planning-modal__details,
body.page-preinscription .planning-modal__details span,
body.page-preinscription .planning-modal__notes,
body.page-preinscription .planning-modal__price {
    color: #fff;
}

.light-theme body.page-preinscription .planning-modal__card h3,
.light-theme body.page-preinscription .planning-modal__session,
.light-theme body.page-preinscription .planning-modal__date,
.light-theme body.page-preinscription .planning-modal__label,
.light-theme body.page-preinscription .planning-modal__formation,
.light-theme body.page-preinscription .planning-modal__details,
.light-theme body.page-preinscription .planning-modal__details span,
.light-theme body.page-preinscription .planning-modal__notes,
.light-theme body.page-preinscription .planning-modal__price {
    color: #102017;
}

body.page-preinscription .planning-modal__card h3 {
    margin: 16px 0 12px;
    font-size: clamp(26px, 3vw, 34px);
}

body.page-preinscription .planning-modal__date,
body.page-preinscription .planning-modal__info,
body.page-preinscription .planning-modal__details span,
body.page-preinscription .planning-modal__notes {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

body.page-preinscription .planning-modal__date,
body.page-preinscription .planning-modal__info {
    padding: 14px 16px;
}

body.page-preinscription .planning-modal__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

body.page-preinscription .planning-modal__details span,
body.page-preinscription .planning-modal__notes {
    padding: 11px 12px;
}

body.page-preinscription .planning-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
}

@media (max-width: 1024px) {
    body.page-preinscription .preinscription-hero,
    body.page-preinscription #formulaire_register {
        grid-template-columns: 1fr;
    }

    body.page-preinscription #affiche_formation {
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    body.page-preinscription .preinscription-page-shell {
        width: min(100% - 24px, 1240px);
        margin-top: 102px;
    }

    body.page-preinscription .preinscription-hero,
    body.page-preinscription #formulaire_register,
    body.page-preinscription #texte_debut,
    body.page-preinscription #contenu_form {
        padding: 20px;
        border-radius: 24px;
    }

    body.page-preinscription .hero-actions {
        justify-content: center;
    }

    body.page-preinscription .hero-link {
        width: 100%;
    }

    body.page-preinscription .preinscription-hero__content h2,
    body.page-preinscription #formulaire_register h2 {
        text-align: center;
    }

    body.page-preinscription .planning-modal__details {
        grid-template-columns: 1fr;
    }

    body.page-preinscription .planning-modal {
        padding: 14px;
        align-items: flex-start;
    }

    body.page-preinscription .planning-modal__card {
        width: min(100%, 520px);
        max-height: calc(100dvh - 28px);
        margin-top: 8px;
        padding: 18px 16px 16px;
        border-radius: 22px;
    }

    body.page-preinscription .planning-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    body.page-preinscription .planning-modal__badge {
        padding: 6px 12px;
        font-size: 10px;
    }

    body.page-preinscription .planning-modal__card h3 {
        margin: 12px 0 10px;
        font-size: clamp(20px, 6vw, 26px);
        line-height: 1.18;
    }

    body.page-preinscription .planning-modal__session {
        margin-bottom: 8px;
        font-size: 13px;
    }

    body.page-preinscription .planning-modal__date,
    body.page-preinscription .planning-modal__info {
        padding: 10px 12px;
    }

    body.page-preinscription .planning-modal__date {
        margin-bottom: 12px;
        font-size: 13px;
    }

    body.page-preinscription .planning-modal__formation {
        font-size: 17px;
        line-height: 1.3;
    }

    body.page-preinscription .planning-modal__price {
        margin-top: 4px;
        padding: 7px 10px;
        font-size: 13px;
    }

    body.page-preinscription .planning-modal__details {
        gap: 8px;
        margin-top: 12px;
    }

    body.page-preinscription .planning-modal__details span,
    body.page-preinscription .planning-modal__notes {
        padding: 9px 10px;
        font-size: 12px;
    }

    body.page-preinscription .planning-modal__cta {
        min-height: 46px;
        margin-top: 12px;
        font-size: 14px;
    }
}

body.page-login .login-page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 118px auto 30px;
}

body.page-login .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-login .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-login .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-login .login-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    margin-bottom: 24px;
}

.light-theme body.page-login .login-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-login .login-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-login .login-hero__content h2 {
    margin: 0;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    color: var(--gg-text);
}

body.page-login .login-hero__content p {
    margin: 0;
    color: var(--gg-muted);
    font-size: 17px;
}

body.page-login .login-hero__aside {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
}

body.page-login .login-highlight {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-login .login-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gg-text);
}

body.page-login .login-highlight span {
    color: var(--gg-muted);
    line-height: 1.6;
}

body.page-login .bloc {
    position: static;
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

body.page-login #formulaire_login {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 28px;
    border-radius: 28px;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-login #formulaire_login {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 246, 0.9));
}

body.page-login #formulaire_login h1 {
    margin-bottom: 18px;
    text-align: center;
    color: var(--gg-text);
}

body.page-login .error-message {
    border-radius: 18px;
    padding: 14px 16px;
    text-align: left;
}

body.page-login .error-message li {
    margin-left: 18px;
}

body.page-login .input_box {
    margin-bottom: 14px;
}

body.page-login .input_box input {
    border-radius: 18px;
    border: 1px solid rgba(171, 243, 199, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gg-text);
}

.light-theme body.page-login .input_box input {
    background: rgba(255, 255, 255, 0.96);
    color: #15231a;
    border: 1px solid rgba(14, 69, 34, 0.14);
}

body.page-login .input_box input::placeholder {
    color: rgba(244, 255, 247, 0.56);
}

.light-theme body.page-login .input_box input::placeholder {
    color: rgba(21, 35, 26, 0.48);
}

body.page-login .input_box input:focus {
    border-color: rgba(113, 220, 166, 0.5);
    box-shadow: 0 0 0 4px rgba(55, 195, 107, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.light-theme body.page-login .input_box input:focus {
    background: #ffffff;
}

body.page-login .login_bouton {
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border: none;
    box-shadow: 0 18px 34px rgba(55, 195, 107, 0.2);
}

body.page-login .login_bouton:hover {
    background: linear-gradient(135deg, #44cf78, #b6ffd0);
    color: #072111;
    border: none;
}

body.page-login .registered,
body.page-login .registered p,
body.page-login .registered a {
    color: var(--gg-muted);
}

.light-theme body.page-login .registered,
.light-theme body.page-login .registered p,
.light-theme body.page-login .registered a {
    color: #244333;
}

body.page-login .registered {
    text-align: center;
}

body.page-login .registered a {
    text-decoration: none;
    font-weight: 700;
}

body.page-login .image_login {
    width: 100%;
    height: auto;
    min-height: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-login .image_login img {
    min-height: 100%;
}

@media (max-width: 1024px) {
    body.page-login .login-hero,
    body.page-login .bloc {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-login .login-page-shell {
        width: min(100% - 24px, 1180px);
        margin-top: 102px;
    }

    body.page-login .login-hero,
    body.page-login #formulaire_login {
        padding: 20px;
        border-radius: 24px;
    }

    body.page-login .hero-actions {
        justify-content: center;
    }

    body.page-login .hero-link {
        width: 100%;
    }

    body.page-login .login-hero__content h2 {
        text-align: center;
    }

    body.page-login .image_login {
        min-height: 280px;
    }
}

body.page-register .register-page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 118px auto 30px;
}

body.page-register .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-register .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-register .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-register .register-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    margin-bottom: 24px;
}

.light-theme body.page-register .register-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-register .register-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-register .register-hero__content h2 {
    margin: 0;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    color: var(--gg-text);
}

body.page-register .register-hero__content p {
    margin: 0;
    color: var(--gg-muted);
    font-size: 17px;
}

body.page-register .register-hero__aside {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
}

body.page-register .register-highlight {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-register .register-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gg-text);
}

body.page-register .register-highlight span {
    color: var(--gg-muted);
    line-height: 1.6;
}

body.page-register .bloc_register {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    align-items: stretch;
}

body.page-register #formulaire_register {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    margin-top: 0 !important;
    padding: 28px !important;
    border-radius: 28px !important;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)) !important;
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-register #formulaire_register {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 246, 0.9)) !important;
}

body.page-register .login_part,
body.page-register .login_part p,
body.page-register .login_part a {
    color: var(--gg-muted);
}

.light-theme body.page-register .login_part,
.light-theme body.page-register .login_part p,
.light-theme body.page-register .login_part a {
    color: #244333;
}

body.page-register .success-message,
body.page-register .error-message {
    border-radius: 18px;
    padding: 14px 16px;
    text-align: left;
}

body.page-register .success-message li,
body.page-register .error-message li {
    margin-left: 18px;
}

body.page-register .input_box {
    margin-bottom: 14px;
}

body.page-register #formulaire_register label {
    color: var(--gg-text);
}

.light-theme body.page-register #formulaire_register label {
    color: #15231a;
}

body.page-register .input_box input,
body.page-register .input_box select {
    border-radius: 18px;
    border: 1px solid rgba(171, 243, 199, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gg-text);
}

.light-theme body.page-register .input_box input,
.light-theme body.page-register .input_box select {
    background: rgba(255, 255, 255, 0.96);
    color: #15231a;
    border: 1px solid rgba(14, 69, 34, 0.14);
}

body.page-register .input_box input::placeholder {
    color: rgba(244, 255, 247, 0.56);
}

.light-theme body.page-register .input_box input::placeholder {
    color: rgba(21, 35, 26, 0.48);
}

body.page-register .input_box input:focus,
body.page-register .input_box select:focus {
    border-color: rgba(113, 220, 166, 0.5);
    box-shadow: 0 0 0 4px rgba(55, 195, 107, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.light-theme body.page-register .input_box input:focus,
.light-theme body.page-register .input_box select:focus {
    background: #ffffff;
}

body.page-register .registger_bouton {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border: none;
    box-shadow: 0 18px 34px rgba(55, 195, 107, 0.2);
    font-weight: 700;
}

body.page-register .image_formation {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-register .image_formation img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

body.page-register .success-overlay {
    background: rgba(3, 8, 5, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.page-register .success-card {
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(113, 220, 166, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.95));
    border: 1px solid rgba(14, 69, 34, 0.14);
    box-shadow: 0 24px 60px rgba(16, 44, 28, 0.16);
}

@media (max-width: 1024px) {
    body.page-register .register-hero,
    body.page-register .bloc_register {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-register .register-page-shell {
        width: min(100% - 24px, 1180px);
        margin-top: 102px;
    }

    body.page-register .register-hero,
    body.page-register #formulaire_register {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    body.page-register .hero-actions {
        justify-content: center;
    }

    body.page-register .hero-link {
        width: 100%;
    }

    body.page-register .register-hero__content h2 {
        text-align: center;
    }
}

body.page-forgot-password .forgot-page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 118px auto 30px;
}

body.page-forgot-password .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-forgot-password .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-forgot-password .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-forgot-password .forgot-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    margin-bottom: 24px;
}

.light-theme body.page-forgot-password .forgot-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-forgot-password .forgot-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-forgot-password .forgot-hero__content h2 {
    margin: 0;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    color: var(--gg-text);
}

body.page-forgot-password .forgot-hero__content p {
    margin: 0;
    color: var(--gg-muted);
    font-size: 17px;
}

body.page-forgot-password .forgot-hero__aside {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
}

body.page-forgot-password .forgot-highlight {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-forgot-password .forgot-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gg-text);
}

body.page-forgot-password .forgot-highlight span {
    color: var(--gg-muted);
    line-height: 1.6;
}

body.page-forgot-password .bloc {
    position: static;
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

body.page-forgot-password #formulaire_login {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 28px;
    border-radius: 28px;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-forgot-password #formulaire_login {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 246, 0.9));
}

body.page-forgot-password #formulaire_login h1 {
    margin-bottom: 18px;
    text-align: center;
    color: var(--gg-text);
}

body.page-forgot-password .success-message,
body.page-forgot-password .error-message {
    border-radius: 18px;
    padding: 14px 16px;
    text-align: left;
}

body.page-forgot-password .success-message li,
body.page-forgot-password .error-message li {
    margin-left: 18px;
}

body.page-forgot-password .input_box {
    margin-bottom: 14px;
}

body.page-forgot-password .input_box input {
    border-radius: 18px;
    border: 1px solid rgba(171, 243, 199, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gg-text);
}

.light-theme body.page-forgot-password .input_box input {
    background: rgba(255, 255, 255, 0.96);
    color: #15231a;
    border: 1px solid rgba(14, 69, 34, 0.14);
}

body.page-forgot-password .input_box input::placeholder {
    color: rgba(244, 255, 247, 0.56);
}

.light-theme body.page-forgot-password .input_box input::placeholder {
    color: rgba(21, 35, 26, 0.48);
}

body.page-forgot-password .input_box input:focus {
    border-color: rgba(113, 220, 166, 0.5);
    box-shadow: 0 0 0 4px rgba(55, 195, 107, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.light-theme body.page-forgot-password .input_box input:focus {
    background: #ffffff;
}

body.page-forgot-password .login_bouton {
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border: none;
    box-shadow: 0 18px 34px rgba(55, 195, 107, 0.2);
}

body.page-forgot-password .login_bouton:hover {
    background: linear-gradient(135deg, #44cf78, #b6ffd0);
    color: #072111;
    border: none;
}

body.page-forgot-password .registered,
body.page-forgot-password .registered p,
body.page-forgot-password .registered a {
    color: var(--gg-muted);
}

.light-theme body.page-forgot-password .registered,
.light-theme body.page-forgot-password .registered p,
.light-theme body.page-forgot-password .registered a {
    color: #244333;
}

body.page-forgot-password .registered {
    text-align: center;
}

body.page-forgot-password .registered a {
    text-decoration: none;
    font-weight: 700;
}

body.page-forgot-password .image_login {
    width: 100%;
    height: auto;
    min-height: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-forgot-password .image_login img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width: 1024px) {
    body.page-forgot-password .forgot-hero,
    body.page-forgot-password .bloc {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-forgot-password .forgot-page-shell {
        width: min(100% - 24px, 1180px);
        margin-top: 102px;
    }

    body.page-forgot-password .forgot-hero,
    body.page-forgot-password #formulaire_login {
        padding: 20px;
        border-radius: 24px;
    }

    body.page-forgot-password .hero-actions {
        justify-content: center;
    }

    body.page-forgot-password .hero-link {
        width: 100%;
    }

    body.page-forgot-password .forgot-hero__content h2 {
        text-align: center;
    }

    body.page-forgot-password .image_login {
        min-height: 280px;
    }
}

body.page-dashboard .dashboard-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
}

body.page-dashboard .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-dashboard .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-dashboard .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-dashboard .dashboard-marketing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: 22px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-dashboard .dashboard-marketing-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-dashboard .dashboard-marketing-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-dashboard .dashboard-marketing-hero__title {
    margin: 0;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    color: var(--gg-text);
}

body.page-dashboard .dashboard-marketing-hero__aside {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
}

body.page-dashboard .dashboard-highlight {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-dashboard .dashboard-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gg-text);
}

body.page-dashboard .dashboard-highlight span {
    color: var(--gg-muted);
    line-height: 1.6;
}

body.page-dashboard .dashboard-main {
    padding-top: 110px;
}

body.page-dashboard .dashboard-main .card,
body.page-dashboard .dashboard-hero-card {
    border-radius: 24px;
    border: 1px solid var(--gg-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-dashboard .dashboard-main .card,
.light-theme body.page-dashboard .dashboard-hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 246, 0.9));
}

body.page-dashboard .dashboard-main .card-body {
    padding: 22px;
}

body.page-dashboard .muted-text {
    color: var(--gg-muted) !important;
    opacity: 1;
}

body.page-dashboard .course-card .course-media {
    border-radius: 18px;
    border-color: var(--gg-border);
}

body.page-dashboard .course-card .progress {
    height: 10px !important;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

body.page-dashboard .course-card .progress-bar {
    border-radius: 999px;
}

body.page-dashboard .btn-success,
body.page-dashboard .btn-outline-success,
body.page-dashboard .btn-secondary {
    border-radius: 999px;
    min-height: 48px;
    font-weight: 700;
}

body.page-dashboard .btn-success {
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border: none;
}

body.page-dashboard .btn-outline-success {
    border-color: var(--gg-border);
    color: var(--gg-text);
    background: rgba(255, 255, 255, 0.04);
}

.light-theme body.page-dashboard .btn-outline-success {
    color: #15231a;
}

body.page-dashboard .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--gg-border);
}

body.page-dashboard .alert-theme {
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-dashboard .dashboard-user-menu .user-badge {
    background: linear-gradient(135deg, var(--gg-accent-strong), var(--gg-accent));
}

body.page-dashboard .dashboard-user-menu .user-dropdown {
    border-radius: 18px;
    border-color: var(--gg-border);
    background: rgba(8, 18, 12, 0.98);
    backdrop-filter: blur(12px);
}

.light-theme body.page-dashboard .dashboard-user-menu .user-dropdown {
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 1024px) {
    body.page-dashboard .dashboard-marketing-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-dashboard .dashboard-marketing-hero {
        padding: 20px;
        border-radius: 24px;
    }

    body.page-dashboard .dashboard-marketing-hero__title {
        text-align: center;
    }
}

body.page-paiement .payment-page-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 118px auto 30px;
}

body.page-paiement .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-paiement .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-paiement .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-paiement .payment-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 22px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    margin-bottom: 24px;
}

.light-theme body.page-paiement .payment-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-paiement .payment-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-paiement .payment-hero__content h2 {
    margin: 0;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    color: var(--gg-text);
}

body.page-paiement .payment-hero__content p {
    margin: 0;
    color: var(--gg-muted);
    font-size: 17px;
}

body.page-paiement .payment-hero__aside {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
}

body.page-paiement .payment-highlight {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-paiement .payment-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gg-text);
}

body.page-paiement .payment-highlight span {
    color: var(--gg-muted);
    line-height: 1.6;
}

body.page-paiement .bloc_register {
    position: relative;
}

body.page-paiement #formulaire_register {
    position: relative;
    display: grid;
    gap: 20px;
    width: 100%;
    margin-top: 0;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-paiement #formulaire_register {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 246, 0.9));
}

body.page-paiement #formulaire_register h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--gg-text);
    text-align: center;
}

body.page-paiement .error-message,
body.page-paiement .success-message,
body.page-paiement .info-message {
    border-radius: 18px;
    padding: 14px 16px;
    text-align: left;
}

body.page-paiement .payment-summary,
body.page-paiement .payment-steps,
body.page-paiement #texte_debut,
body.page-paiement #contenu_form {
    border-radius: 24px;
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-paiement .payment-summary {
    background: linear-gradient(180deg, rgba(55, 195, 107, 0.12), rgba(255, 255, 255, 0.04));
    color: var(--gg-text);
    padding: 18px;
    margin: 0;
}

.light-theme body.page-paiement .payment-summary {
    background: linear-gradient(180deg, rgba(35, 153, 82, 0.1), rgba(255, 255, 255, 0.96));
}

body.page-paiement .payment-summary h3,
body.page-paiement .payment-summary .amount,
body.page-paiement .payment-summary .amount small {
    color: inherit;
}

body.page-paiement .payment-summary .amount {
    border-radius: 18px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
}

.light-theme body.page-paiement .payment-summary .amount {
    background: rgba(255, 255, 255, 0.92);
}

body.page-paiement #texte_debut {
    padding: 24px;
    background: rgba(255, 255, 255, 0.96);
}

body.page-paiement #texte_debut,
body.page-paiement #texte_debut p,
body.page-paiement #texte_debut li,
body.page-paiement #texte_debut strong,
body.page-paiement #texte_debut a,
body.page-paiement .payment-steps,
body.page-paiement .payment-steps strong,
body.page-paiement .payment-steps li {
    color: #15231a !important;
}

body.page-paiement .payment-steps {
    background: #f6fbf7;
    padding: 16px 18px;
    margin: 14px 0 18px;
}

body.page-paiement .payment-methods {
    gap: 14px;
}

body.page-paiement .payment-item {
    border-radius: 18px;
    border: 1px solid rgba(14, 69, 34, 0.12);
    background: #f9fcfa;
    padding: 14px 16px;
}

body.page-paiement .payment-details,
body.page-paiement .payment-details strong {
    color: #15231a;
}

body.page-paiement #contenu_form {
    padding: 24px;
    background: linear-gradient(180deg, rgba(6, 18, 11, 0.9), rgba(15, 43, 28, 0.82));
}

.light-theme body.page-paiement #contenu_form {
    background: linear-gradient(180deg, rgba(247, 252, 248, 0.98), rgba(235, 246, 239, 0.94));
}

body.page-paiement #contenu_form label {
    color: var(--gg-text);
}

.light-theme body.page-paiement #contenu_form label {
    color: #15231a;
}

body.page-paiement .input_box {
    margin-bottom: 14px;
}

body.page-paiement .input_box input,
body.page-paiement .input_box select {
    border-radius: 18px;
    border: 1px solid rgba(171, 243, 199, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gg-text);
}

.light-theme body.page-paiement .input_box input,
.light-theme body.page-paiement .input_box select {
    background: rgba(255, 255, 255, 0.96);
    color: #15231a;
    border: 1px solid rgba(14, 69, 34, 0.14);
}

body.page-paiement .input_box input::placeholder {
    color: rgba(244, 255, 247, 0.56);
}

.light-theme body.page-paiement .input_box input::placeholder {
    color: rgba(21, 35, 26, 0.48);
}

body.page-paiement .input_box input:focus,
body.page-paiement .input_box select:focus {
    border-color: rgba(113, 220, 166, 0.5);
    box-shadow: 0 0 0 4px rgba(55, 195, 107, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.light-theme body.page-paiement .input_box input:focus,
.light-theme body.page-paiement .input_box select:focus {
    background: #ffffff;
}

body.page-paiement .register_bouton {
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border: none;
    box-shadow: 0 18px 34px rgba(55, 195, 107, 0.2);
}

body.page-paiement .register_bouton:hover {
    background: linear-gradient(135deg, #44cf78, #b6ffd0);
    color: #072111;
    border: none;
}

@media (max-width: 768px) {
    body.page-paiement .payment-page-shell {
        width: min(100% - 24px, 1240px);
        margin-top: 102px;
    }

    body.page-paiement .payment-hero,
    body.page-paiement #formulaire_register,
    body.page-paiement #texte_debut,
    body.page-paiement #contenu_form {
        padding: 20px;
        border-radius: 24px;
    }

    body.page-paiement .payment-hero {
        grid-template-columns: 1fr;
    }

    body.page-paiement .hero-actions {
        justify-content: center;
    }

    body.page-paiement .hero-link {
        width: 100%;
    }

    body.page-paiement .payment-hero__content h2 {
        text-align: center;
    }
}

body.page-live-replays .replays-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
}

body.page-live-replays .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-live-replays .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-live-replays .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-live-replays .replays-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 22px;
    padding: 30px !important;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-live-replays .replays-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-live-replays .replays-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

body.page-live-replays .replays-hero__title {
    margin: 0;
    font-size: clamp(30px, 4.6vw, 54px);
    line-height: 1.06;
    color: var(--gg-text);
}

body.page-live-replays .replays-hero__aside {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
}

body.page-live-replays .replays-highlight {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-live-replays .replays-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gg-text);
}

body.page-live-replays .replays-highlight span {
    color: var(--gg-muted);
    line-height: 1.6;
}

body.page-live-replays .replay-card {
    border-radius: 24px;
    border: 1px solid var(--gg-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    box-shadow: var(--gg-shadow);
    padding: 20px !important;
}

.light-theme body.page-live-replays .replay-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 246, 0.9));
}

body.page-live-replays .replay-tag {
    background: rgba(55, 195, 107, 0.14);
    border: 1px solid rgba(55, 195, 107, 0.22);
    color: var(--gg-text);
}

body.page-live-replays .alert-theme {
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

body.page-live-replays .btn-success {
    border-radius: 999px;
    min-height: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border: none;
}

body.page-live-replays .dashboard-user-menu .user-badge {
    background: linear-gradient(135deg, var(--gg-accent-strong), var(--gg-accent));
}

body.page-live-replays .dashboard-user-menu .user-dropdown {
    border-radius: 18px;
    border-color: var(--gg-border);
    background: rgba(8, 18, 12, 0.98);
    backdrop-filter: blur(12px);
}

.light-theme body.page-live-replays .dashboard-user-menu .user-dropdown {
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 1024px) {
    body.page-live-replays .replays-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-live-replays .replays-hero {
        padding: 20px !important;
        border-radius: 24px;
    }

    body.page-live-replays .replays-hero__title {
        text-align: center;
    }
}

body.page-view-cours {
    background:
        radial-gradient(circle at top left, rgba(55, 195, 107, 0.08), transparent 22%),
        linear-gradient(180deg, #09120d 0%, #0b1711 100%);
}

.light-theme body.page-view-cours {
    background:
        radial-gradient(circle at top left, rgba(35, 153, 82, 0.08), transparent 22%),
        linear-gradient(180deg, #f5fbf6 0%, #eef7f0 100%);
}

body.page-view-cours .course-shell {
    width: min(1380px, calc(100% - 28px));
    margin: 0 auto;
    padding: 110px 0 34px;
    gap: 18px;
}

body.page-view-cours .course-nav,
body.page-view-cours .course-panel,
body.page-view-cours .surface-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--gg-border);
    border-radius: 24px;
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.light-theme body.page-view-cours .course-nav,
.light-theme body.page-view-cours .course-panel,
.light-theme body.page-view-cours .surface-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 246, 0.92));
}

body.page-view-cours .course-nav {
    padding: 18px;
    gap: 16px;
    top: 104px;
}

body.page-view-cours .nav-title,
body.page-view-cours .quick-stat-label,
body.page-view-cours .overview-label,
body.page-view-cours .section-subtitle {
    letter-spacing: 0.08em;
}

body.page-view-cours .nav-course-card {
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(25, 178, 20, 0.14), rgba(15, 94, 12, 0.08));
    border-color: rgba(25, 178, 20, 0.16);
}

body.page-view-cours .nav-course-card p,
body.page-view-cours .course-hero p,
body.page-view-cours .player-meta small,
body.page-view-cours .module-item-desc,
body.page-view-cours .resource-item span,
body.page-view-cours .overview-note,
body.page-view-cours .empty-state {
    color: var(--gg-muted);
    opacity: 1;
}

body.page-view-cours .quick-stat,
body.page-view-cours .overview-card,
body.page-view-cours .resource-item,
body.page-view-cours .module-item {
    border-radius: 18px;
    border-color: rgba(255, 255, 255, 0.08);
}

body.page-view-cours .module-item {
    padding: 13px;
    gap: 8px;
}

body.page-view-cours .module-item:hover {
    transform: translateY(-1px);
}

body.page-view-cours .module-item.active {
    background: linear-gradient(180deg, rgba(25, 178, 20, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: 0 0 0 1px rgba(25, 178, 20, 0.18);
}

body.page-view-cours .module-item.locked {
    opacity: 0.5;
}

body.page-view-cours .course-panel {
    padding: 18px;
    gap: 18px;
}

body.page-view-cours .course-hero {
    padding: 22px;
    border-radius: 24px;
}

body.page-view-cours .course-hero h1 {
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: -0.02em;
}

body.page-view-cours .course-meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

body.page-view-cours .overview-grid {
    gap: 12px;
}

body.page-view-cours .overview-card {
    padding: 16px;
}

body.page-view-cours .overview-value {
    font-size: clamp(20px, 2vw, 28px);
}

body.page-view-cours .hero-actions {
    gap: 10px;
}

body.page-view-cours .hero-btn,
body.page-view-cours .resource-btn,
body.page-view-cours .module-modal-btn {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    border-color: var(--gg-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gg-text);
}

.light-theme body.page-view-cours .hero-btn,
.light-theme body.page-view-cours .resource-btn,
.light-theme body.page-view-cours .module-modal-btn {
    color: #15231a;
}

body.page-view-cours .hero-btn.primary,
body.page-view-cours .resource-btn.primary,
body.page-view-cours .module-modal-btn.primary {
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border-color: transparent;
}

body.page-view-cours .player-card {
    border-radius: 24px;
}

body.page-view-cours .player-frame {
    border-radius: 20px 20px 0 0;
    background:
        linear-gradient(135deg, rgba(55, 195, 107, 0.12), transparent 45%),
        #050505;
}

body.page-view-cours .player-meta {
    padding: 16px 18px 18px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
}

body.page-view-cours .player-meta-title {
    font-size: 20px;
}

body.page-view-cours .resource-list {
    gap: 10px;
}

body.page-view-cours .resource-item {
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.03);
}

body.page-view-cours .module-modal {
    background: rgba(3, 8, 5, 0.76);
    backdrop-filter: blur(10px);
}

body.page-view-cours .module-modal-card {
    border-radius: 24px;
    border: 1px solid var(--gg-border);
    background: linear-gradient(180deg, rgba(8, 18, 12, 0.98), rgba(12, 26, 18, 0.96));
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-view-cours .module-modal-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 246, 0.94));
}

.light-theme body.page-view-cours .module-modal-title,
.light-theme body.page-view-cours .module-modal-text,
.light-theme body.page-view-cours .module-modal-close {
    color: #15231a;
}

@media (max-width: 1024px) {
    body.page-view-cours .course-shell {
        width: min(100% - 24px, 1380px);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    body.page-view-cours .course-shell {
        padding: 96px 0 28px;
    }

    body.page-view-cours .course-panel,
    body.page-view-cours .course-nav {
        padding: 16px;
        border-radius: 22px;
    }

    body.page-view-cours .course-hero {
        padding: 18px;
        border-radius: 22px;
    }
}

body.page-account .account-shell {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    padding: 110px 0 40px;
}

body.page-account .cours-page-title {
    margin: 0 auto 22px;
    padding: 28px 32px;
    border-radius: 30px;
    border: 1px solid var(--gg-border);
    background:
        radial-gradient(circle at top left, rgba(96, 214, 143, 0.24), transparent 42%),
        linear-gradient(135deg, rgba(9, 24, 14, 0.9), rgba(18, 38, 27, 0.78));
    backdrop-filter: blur(18px);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-account .cours-page-title {
    background:
        radial-gradient(circle at top left, rgba(73, 165, 107, 0.18), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 240, 0.9));
}

body.page-account .cours-page-title h1 {
    margin: 0;
    text-align: center;
    letter-spacing: 0.26em;
    font-size: clamp(28px, 4vw, 48px);
}

body.page-account .account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
    gap: 20px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--gg-border);
    background:
        radial-gradient(circle at top right, rgba(96, 214, 143, 0.2), transparent 34%),
        linear-gradient(140deg, rgba(8, 20, 12, 0.92), rgba(12, 30, 20, 0.78));
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(18px);
}

.light-theme body.page-account .account-hero {
    background:
        radial-gradient(circle at top right, rgba(73, 165, 107, 0.14), transparent 34%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 243, 0.92));
}

body.page-account .account-hero__content {
    display: grid;
    gap: 12px;
    align-content: center;
}

body.page-account .account-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(126, 231, 168, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gg-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.page-account .account-hero__content h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.12;
}

body.page-account .account-hero__content p {
    margin: 0;
    max-width: 64ch;
    color: var(--gg-muted);
    font-size: 15px;
}

body.page-account .account-hero__aside {
    display: grid;
    gap: 14px;
}

body.page-account .account-highlight {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

body.page-account .account-highlight strong {
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.2;
}

body.page-account .account-highlight span {
    color: var(--gg-muted);
    font-size: 14px;
}

body.page-account .account-container {
    max-width: 980px;
}

body.page-account .account-title {
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--gg-muted);
}

body.page-account .account-card {
    border-radius: 24px;
    border: 1px solid var(--gg-border);
    background:
        linear-gradient(180deg, rgba(8, 19, 12, 0.94), rgba(13, 27, 18, 0.88));
    box-shadow: var(--gg-shadow);
    padding: 28px;
}

.light-theme body.page-account .account-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.92));
}

body.page-account .account-card h2 {
    margin-bottom: 18px;
    color: var(--gg-text);
    font-size: 20px;
}

body.page-account .account-input {
    gap: 14px;
}

body.page-account .account-input input {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid var(--gg-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gg-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.light-theme body.page-account .account-input input {
    background: rgba(255, 255, 255, 0.84);
    color: #16251a;
}

body.page-account .account-input input::placeholder {
    color: rgba(232, 242, 236, 0.62);
}

.light-theme body.page-account .account-input input::placeholder {
    color: rgba(34, 52, 40, 0.52);
}

body.page-account .account-input input:focus {
    outline: none;
    border-color: rgba(126, 231, 168, 0.5);
    box-shadow: 0 0 0 4px rgba(76, 196, 123, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.light-theme body.page-account .account-input input:focus {
    background: rgba(255, 255, 255, 0.98);
}

body.page-account .account-button {
    width: fit-content;
    min-width: 190px;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    box-shadow: 0 18px 36px rgba(56, 186, 111, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.page-account .account-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 40px rgba(56, 186, 111, 0.28);
}

body.page-account .account-message {
    border-radius: 18px;
    border: 1px solid var(--gg-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gg-text);
}

body.page-account .account-message.success {
    border-color: rgba(46, 202, 114, 0.36);
    background: rgba(46, 202, 114, 0.12);
}

body.page-account .account-message.error {
    border-color: rgba(226, 92, 108, 0.35);
    background: rgba(226, 92, 108, 0.12);
}

@media (max-width: 900px) {
    body.page-account .account-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-account .account-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 96px;
    }

    body.page-account .cours-page-title,
    body.page-account .account-hero,
    body.page-account .account-card {
        border-radius: 24px;
    }

    body.page-account .cours-page-title,
    body.page-account .account-hero,
    body.page-account .account-card {
        padding: 20px;
    }

    body.page-account .account-container {
        padding: 0 0 36px;
    }

    body.page-account .account-button {
        width: 100%;
    }
}

body.page-certificats .certificates-shell {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    padding: 110px 0 40px;
}

body.page-certificats .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-certificats .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-certificats .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-certificats .certificates-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
    gap: 20px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--gg-border);
    background:
        radial-gradient(circle at top right, rgba(96, 214, 143, 0.2), transparent 34%),
        linear-gradient(140deg, rgba(8, 20, 12, 0.92), rgba(12, 30, 20, 0.78));
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(18px);
}

.light-theme body.page-certificats .certificates-hero {
    background:
        radial-gradient(circle at top right, rgba(73, 165, 107, 0.14), transparent 34%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 243, 0.92));
}

body.page-certificats .certificates-hero__content {
    display: grid;
    gap: 12px;
    align-content: center;
}

body.page-certificats .certificates-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(126, 231, 168, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gg-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.page-certificats .certificates-hero__content h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.12;
}

body.page-certificats .certificates-hero__content p {
    margin: 0;
    max-width: 64ch;
    color: var(--gg-muted);
    font-size: 15px;
}

body.page-certificats .certificates-hero__aside {
    display: grid;
    gap: 14px;
}

body.page-certificats .certificates-highlight {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

body.page-certificats .certificates-highlight strong {
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.2;
}

body.page-certificats .certificates-highlight span {
    color: var(--gg-muted);
    font-size: 14px;
}

body.page-certificats .cert-shell {
    padding-top: 0;
    padding-bottom: 40px;
}

body.page-certificats .cert-card {
    border-radius: 28px;
    border: 1px solid var(--gg-border);
    background:
        linear-gradient(180deg, rgba(8, 19, 12, 0.94), rgba(13, 27, 18, 0.88));
    box-shadow: var(--gg-shadow);
    padding: 28px;
}

.light-theme body.page-certificats .cert-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.92));
}

body.page-certificats .cert-page-subtitle {
    margin-bottom: 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gg-muted);
}

body.page-certificats .cert-item {
    border-radius: 22px;
    border: 1px solid var(--gg-border);
    background: rgba(255, 255, 255, 0.04);
    padding: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.page-certificats .cert-item:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 231, 168, 0.28);
}

.light-theme body.page-certificats .cert-item {
    background: rgba(255, 255, 255, 0.78);
}

body.page-certificats .cert-meta {
    color: var(--gg-muted);
    opacity: 1;
}

body.page-certificats .cert-actions {
    gap: 12px;
}

body.page-certificats .cert-actions .fa-award {
    color: var(--gg-accent) !important;
}

body.page-certificats .btn-outline-success {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border-color: var(--gg-border);
    color: var(--gg-text);
    background: rgba(255, 255, 255, 0.04);
}

body.page-certificats .btn-outline-success:hover {
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    border-color: transparent;
    color: #072111;
}

.light-theme body.page-certificats .btn-outline-success {
    color: #15231a;
}

body.page-certificats .alert-warning {
    border-radius: 18px;
    border: 1px solid rgba(234, 191, 72, 0.3);
    background: rgba(234, 191, 72, 0.12);
    color: var(--gg-text);
}

body.page-certificats .cert-empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 28px 18px;
    border-radius: 22px;
    border: 1px dashed var(--gg-border);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

body.page-certificats .cert-empty-state i {
    font-size: 32px;
    color: var(--gg-accent);
}

body.page-certificats .cert-empty-state p {
    margin: 0;
    color: var(--gg-muted);
}

@media (max-width: 900px) {
    body.page-certificats .certificates-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-certificats .certificates-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 96px;
    }

    body.page-certificats .cours-page-title,
    body.page-certificats .certificates-hero,
    body.page-certificats .cert-card,
    body.page-certificats .cert-item {
        border-radius: 24px;
    }

    body.page-certificats .cours-page-title,
    body.page-certificats .certificates-hero,
    body.page-certificats .cert-card {
        padding: 20px;
    }

    body.page-certificats .cert-shell {
        padding-bottom: 28px;
    }
}

body.page-dashboard-admin .dashboard-admin-shell {
    width: min(100% - 24px, 1440px);
    margin: 0 auto;
    padding: 110px 0 40px;
}

body.page-dashboard-admin .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-dashboard-admin .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-dashboard-admin .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
}

body.page-dashboard-admin .dashboard-admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 22px;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-dashboard-admin .dashboard-admin-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-dashboard-admin .dashboard-admin-hero__content {
    display: grid;
    gap: 16px;
    align-content: center;
}

body.page-dashboard-admin .dashboard-admin-hero__content h2 {
    margin: 0;
    font-size: clamp(30px, 4.2vw, 52px);
    line-height: 1.08;
}

body.page-dashboard-admin .dashboard-admin-hero__content p {
    margin: 0;
    max-width: 68ch;
    color: var(--gg-muted);
}

body.page-dashboard-admin .dashboard-admin-hero__aside {
    display: grid;
    gap: 14px;
    align-content: center;
}

body.page-dashboard-admin .dashboard-admin-highlight {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-dashboard-admin .dashboard-admin-highlight strong {
    font-size: clamp(22px, 3vw, 34px);
}

body.page-dashboard-admin .dashboard-admin-highlight span {
    color: var(--gg-muted);
}

body.page-dashboard-admin .dashboard-admin-main {
    padding: 0;
}

body.page-dashboard-admin .nav-tabs {
    gap: 10px;
    border-bottom: none;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

body.page-dashboard-admin .nav-tabs .nav-link {
    border: 1px solid var(--gg-border);
    border-radius: 999px;
    color: var(--gg-text);
    background: rgba(255, 255, 255, 0.04);
}

body.page-dashboard-admin .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
    border-color: transparent;
}

body.page-dashboard-admin .tab-content,
body.page-dashboard-admin .bloc_filtres,
body.page-dashboard-admin .bloc_tableau,
body.page-dashboard-admin .finance-group-card {
    border-radius: 24px;
}

body.page-dashboard-admin .bloc_filtres,
body.page-dashboard-admin .bloc_tableau,
body.page-dashboard-admin .finance-group-card {
    background:
        linear-gradient(180deg, rgba(8, 19, 12, 0.94), rgba(13, 27, 18, 0.88)) !important;
    border: 1px solid var(--gg-border) !important;
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-dashboard-admin .bloc_filtres,
.light-theme body.page-dashboard-admin .bloc_tableau,
.light-theme body.page-dashboard-admin .finance-group-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.92)) !important;
}

body.page-dashboard-admin .bloc_filtres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    align-items: start;
}

body.page-dashboard-admin .bloc_filtres h1,
body.page-dashboard-admin .bloc_filtres h2 {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

body.page-dashboard-admin .bloc_filtres label {
    display: block;
    margin-bottom: 2px;
    line-height: 1.2;
    transform: translateY(0);
}

body.page-dashboard-admin .bloc_filtres .form-select,
body.page-dashboard-admin .bloc_filtres .form-control {
    min-height: 46px;
    margin-top: 0;
    border-radius: 14px;
    border: 1px solid var(--gg-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gg-text);
}

.light-theme body.page-dashboard-admin .bloc_filtres .form-select,
.light-theme body.page-dashboard-admin .bloc_filtres .form-control {
    background: rgba(255, 255, 255, 0.88);
    color: #15231a;
}

body.page-dashboard-admin .finance-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    align-items: end;
}

body.page-dashboard-admin .finance-toolbar > div {
    min-width: 0;
}

body.page-dashboard-admin .finance-toolbar .btn,
body.page-dashboard-admin .finance-toolbar a.btn {
    width: 100%;
    min-height: 46px;
}

body.page-dashboard-admin .custom-table {
    overflow: hidden;
    border-radius: 18px;
}

body.page-dashboard-admin .custom-table td,
body.page-dashboard-admin .custom-table th {
    vertical-align: middle;
}

@media (max-width: 1024px) {
    body.page-dashboard-admin .dashboard-admin-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-dashboard-admin .dashboard-admin-shell {
        width: min(100% - 16px, 1440px);
        padding-top: 96px;
    }

    body.page-dashboard-admin .dashboard-admin-hero,
    body.page-dashboard-admin .bloc_filtres,
    body.page-dashboard-admin .bloc_tableau {
        padding: 18px;
        border-radius: 22px;
    }

    body.page-dashboard-admin .nav-tabs {
        gap: 8px;
    }
}

body.page-evaluation-admin .eval-admin-shell {
    width: min(100% - 24px, 1360px);
    margin: 0 auto;
    padding: 110px 0 40px;
}

body.page-evaluation-admin .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-evaluation-admin .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-evaluation-admin .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
}

body.page-evaluation-admin .evaluation-admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 22px;
    padding: 30px;
    margin-bottom: 22px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(55, 195, 107, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(7, 20, 12, 0.95), rgba(19, 59, 37, 0.8));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-evaluation-admin .evaluation-admin-hero {
    background:
        radial-gradient(circle at top right, rgba(35, 153, 82, 0.12), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(234, 246, 238, 0.94));
}

body.page-evaluation-admin .evaluation-admin-hero__content {
    display: grid;
    gap: 16px;
    align-content: center;
}

body.page-evaluation-admin .evaluation-admin-hero__content h2 {
    margin: 0;
    font-size: clamp(30px, 4.1vw, 52px);
    line-height: 1.08;
}

body.page-evaluation-admin .evaluation-admin-hero__content p {
    margin: 0;
    max-width: 68ch;
    color: var(--gg-muted);
}

body.page-evaluation-admin .evaluation-admin-hero__aside {
    display: grid;
    gap: 14px;
    align-content: center;
}

body.page-evaluation-admin .evaluation-admin-highlight {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-evaluation-admin .evaluation-admin-highlight strong {
    font-size: clamp(22px, 3vw, 34px);
}

body.page-evaluation-admin .evaluation-admin-highlight span {
    color: var(--gg-muted);
}

body.page-evaluation-admin .eval-shell {
    margin-top: 0;
    padding: 0;
}

body.page-evaluation-admin .eval-card {
    border-radius: 26px;
    border: 1px solid var(--gg-border);
    background:
        linear-gradient(180deg, rgba(8, 19, 12, 0.94), rgba(13, 27, 18, 0.88));
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-evaluation-admin .eval-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.92));
}

body.page-evaluation-admin .eval-input,
body.page-evaluation-admin .eval-textarea,
body.page-evaluation-admin .eval-select {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid var(--gg-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gg-text);
}

.light-theme body.page-evaluation-admin .eval-input,
.light-theme body.page-evaluation-admin .eval-textarea,
.light-theme body.page-evaluation-admin .eval-select {
    background: rgba(255, 255, 255, 0.88);
    color: #15231a;
}

body.page-evaluation-admin .eval-btn {
    min-height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111;
}

body.page-evaluation-admin .eval-btn.outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--gg-text);
    border: 1px solid var(--gg-border);
}

body.page-evaluation-admin .question-table {
    border-radius: 18px;
    overflow: hidden;
}

body.page-evaluation-admin .question-table th {
    background: rgba(55, 195, 107, 0.18);
}

body.page-evaluation-admin .question-table td,
body.page-evaluation-admin .question-table th {
    vertical-align: top;
}

body.page-evaluation-admin .eval-alert {
    border-radius: 16px;
}

@media (max-width: 1024px) {
    body.page-evaluation-admin .evaluation-admin-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.page-evaluation-admin .eval-admin-shell {
        width: min(100% - 16px, 1360px);
        padding-top: 96px;
    }

    body.page-evaluation-admin .evaluation-admin-hero,
    body.page-evaluation-admin .eval-card {
        padding: 18px;
        border-radius: 22px;
    }
}

body.page-mail-admin .mailer-shell {
    width: min(100% - 20px, 1560px);
    margin: 0 auto;
    padding: 110px 0 40px;
}

body.page-mail-admin .mailer-grid {
    grid-template-columns: minmax(360px, 520px) minmax(520px, 1fr);
    gap: 24px;
}

body.page-mail-admin .mailer-hero,
body.page-mail-admin .mailer-panel,
body.page-mail-admin .mailer-info-box {
    border-radius: 24px !important;
    border: 1px solid var(--gg-border) !important;
    background:
        linear-gradient(180deg, rgba(8, 19, 12, 0.94), rgba(13, 27, 18, 0.88)) !important;
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-mail-admin .mailer-hero,
.light-theme body.page-mail-admin .mailer-panel,
.light-theme body.page-mail-admin .mailer-info-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.92)) !important;
}

body.page-mail-admin .mailer-subtitle,
body.page-mail-admin .mailer-label,
body.page-mail-admin .mailer-muted,
body.page-mail-admin .mailer-inline-note,
body.page-mail-admin .recipient-item small,
body.page-mail-admin .mailer-info-box ul {
    color: var(--gg-muted) !important;
}

body.page-mail-admin .mailer-badge,
body.page-mail-admin .recipient-item,
body.page-mail-admin .mailer-alert,
body.page-mail-admin .mailer-job-actions form {
    border-radius: 18px;
}

body.page-mail-admin .mailer-badge {
    background: rgba(55, 195, 107, 0.14) !important;
    border-color: rgba(55, 195, 107, 0.26) !important;
    color: var(--gg-text) !important;
}

body.page-mail-admin .mailer-input,
body.page-mail-admin .mailer-textarea {
    border-radius: 14px;
    border: 1px solid var(--gg-border);
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--gg-text) !important;
}

.light-theme body.page-mail-admin .mailer-input,
.light-theme body.page-mail-admin .mailer-textarea {
    background: rgba(255, 255, 255, 0.88) !important;
    color: #15231a !important;
}

body.page-mail-admin .mailer-btn,
body.page-mail-admin .mailer-submit {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba) !important;
    color: #072111 !important;
    border: none !important;
}

body.page-mail-admin .mailer-btn.outline,
body.page-mail-admin .mailer-stop {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--gg-text) !important;
    border: 1px solid var(--gg-border) !important;
}

body.page-mail-admin .recipient-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.light-theme body.page-mail-admin .recipient-item {
    background: rgba(255, 255, 255, 0.74) !important;
}

body.page-mail-admin .mailer-alert-success {
    background: rgba(46, 202, 114, 0.12) !important;
    border-color: rgba(46, 202, 114, 0.36) !important;
}

body.page-mail-admin .mailer-alert-error {
    background: rgba(226, 92, 108, 0.12) !important;
    border-color: rgba(226, 92, 108, 0.35) !important;
}

@media (max-width: 768px) {
    body.page-mail-admin .mailer-shell {
        width: min(100% - 16px, 1560px);
        padding-top: 96px;
    }
}

body.page-reset-password,
body.page-login-build-cours,
body.page-preinscription-success,
body.page-projets,
body.page-evaluation,
body.page-verify-certificate,
body.page-verify-receipt,
body.page-error {
    background:
        radial-gradient(circle at top, rgba(55, 195, 107, 0.16), transparent 38%),
        linear-gradient(180deg, #07120b 0%, #0b1910 48%, #102318 100%);
    min-height: 100vh;
}

.light-theme body.page-reset-password,
.light-theme body.page-login-build-cours,
.light-theme body.page-preinscription-success,
.light-theme body.page-projets,
.light-theme body.page-evaluation,
.light-theme body.page-verify-certificate,
.light-theme body.page-verify-receipt,
.light-theme body.page-error {
    background:
        radial-gradient(circle at top, rgba(55, 195, 107, 0.10), transparent 34%),
        linear-gradient(180deg, #f7fbf8 0%, #edf6ef 52%, #e4efe6 100%);
}

body.page-reset-password .reset-page-shell,
body.page-login-build-cours .login-build-shell,
body.page-preinscription-success .success-page-shell,
body.page-projets .projects-page-shell,
body.page-evaluation .eval-page-shell,
body.page-verify-certificate .verify-page-shell,
body.page-verify-receipt .verify-page-shell,
body.page-error .error-page-shell {
    width: calc(100% - 20px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 116px 0 48px;
}

body.page-reset-password .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-reset-password .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-reset-password .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-evaluation .cours-page-title {
    margin-bottom: 18px;
    padding: 18px 24px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(10, 32, 20, 0.82), rgba(41, 128, 78, 0.42)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.light-theme body.page-evaluation .cours-page-title {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 235, 211, 0.78)),
        rgba(255, 255, 255, 0.8);
}

body.page-evaluation .cours-page-title h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 0.04em;
    color: var(--gg-text);
    background: none;
}

body.page-reset-password .reset-hero,
body.page-login-build-cours .login-build-hero,
body.page-preinscription-success .success-hero,
body.page-projets .projects-hero,
body.page-evaluation .evaluation-hero,
body.page-verify-certificate .verify-hero,
body.page-verify-receipt .verify-hero,
body.page-error .error-hero {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--gg-border);
    background:
        linear-gradient(135deg, rgba(10, 28, 18, 0.94), rgba(18, 46, 29, 0.82));
    box-shadow: var(--gg-shadow);
    backdrop-filter: blur(18px);
}

.light-theme body.page-reset-password .reset-hero,
.light-theme body.page-login-build-cours .login-build-hero,
.light-theme body.page-preinscription-success .success-hero,
.light-theme body.page-projets .projects-hero,
.light-theme body.page-evaluation .evaluation-hero,
.light-theme body.page-verify-certificate .verify-hero,
.light-theme body.page-verify-receipt .verify-hero,
.light-theme body.page-error .error-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 248, 242, 0.92));
}

body.page-reset-password .reset-hero__content,
body.page-login-build-cours .login-build-hero__content,
body.page-preinscription-success .success-hero__content,
body.page-projets .projects-hero > div,
body.page-evaluation .evaluation-hero__content,
body.page-verify-certificate .verify-hero__content,
body.page-verify-receipt .verify-hero__content,
body.page-error .error-hero__content {
    display: grid;
    gap: 12px;
}

body.page-reset-password .reset-hero__content h2,
body.page-login-build-cours .login-build-hero__content h2,
body.page-preinscription-success .success-hero__content h2,
body.page-evaluation .evaluation-hero__content h2,
body.page-verify-certificate .verify-hero__content h2,
body.page-verify-receipt .verify-hero__content h2,
body.page-error .error-hero__content h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

body.page-reset-password .reset-hero__content p,
body.page-login-build-cours .login-build-hero__content p,
body.page-preinscription-success .success-hero__content p,
body.page-projets .projects-hero p,
body.page-evaluation .evaluation-hero__content p,
body.page-verify-certificate .verify-hero__content p,
body.page-verify-receipt .verify-hero__content p,
body.page-error .error-hero__content p {
    margin: 0;
    color: var(--gg-muted);
    max-width: 68ch;
}

body.page-evaluation .evaluation-hero__content p {
    width: 100%;
    max-width: 100%;
}

body.page-reset-password .bloc,
body.page-login-build-cours .bloc,
body.page-preinscription-success .succes,
body.page-evaluation .eval-card,
body.page-verify-certificate .verify-card,
body.page-verify-receipt .verify-card,
body.page-error .succes {
    border-radius: 28px !important;
    border: 1px solid var(--gg-border) !important;
    background:
        linear-gradient(180deg, rgba(8, 19, 12, 0.94), rgba(13, 27, 18, 0.88)) !important;
    box-shadow: var(--gg-shadow);
    color: var(--gg-text);
}

.light-theme body.page-reset-password .bloc,
.light-theme body.page-login-build-cours .bloc,
.light-theme body.page-preinscription-success .succes,
.light-theme body.page-evaluation .eval-card,
.light-theme body.page-verify-certificate .verify-card,
.light-theme body.page-verify-receipt .verify-card,
.light-theme body.page-error .succes {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.92)) !important;
    color: #122117;
}

body.page-preinscription-success .succes,
body.page-error .succes {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 30px 28px;
}

body.page-preinscription-success .succes h2,
body.page-error .succes h2,
body.page-verify-certificate .verify-card h1,
body.page-verify-receipt .verify-card h1,
body.page-evaluation .eval-card h1 {
    color: inherit;
}

body.page-verify-certificate .verify-card,
body.page-verify-receipt .verify-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px;
    width: min(100%, 820px);
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
}

body.page-verify-receipt .receipt-card {
    text-align: center;
}

body.page-verify-receipt .receipt-card .logo {
    width: 132px;
    max-width: 100%;
    margin-bottom: 18px;
}

body.page-verify-certificate .receipt-card .logo {
    width: 132px;
    max-width: 100%;
    margin-bottom: 18px;
}

body.page-verify-receipt .receipt-card .status {
    margin: 20px 0;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 700;
}

body.page-verify-receipt .receipt-card .status.success {
    background: rgba(46, 202, 114, 0.12);
    color: #9af5ba;
}

body.page-verify-receipt .receipt-card .status.error {
    background: rgba(226, 92, 108, 0.12);
    color: #ffb7c1;
}

.light-theme body.page-verify-receipt .receipt-card .status.success {
    color: #126b38;
}

.light-theme body.page-verify-receipt .receipt-card .status.error {
    color: #a32638;
}

body.page-verify-receipt .receipt-card .ref {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Consolas", "Courier New", monospace;
}

.light-theme body.page-verify-receipt .receipt-card .ref {
    background: rgba(17, 41, 26, 0.05);
    border-color: rgba(17, 41, 26, 0.10);
}

body.page-verify-receipt .receipt-card .btn,
body.page-verify-certificate .verify-card .btn,
body.page-error .btn,
body.page-preinscription-success .btn,
body.page-preinscription-success .btn-paiement,
body.page-projets .btn-primary,
body.page-projets .btn-secondary,
body.page-evaluation .btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(55, 195, 107, 0.24);
    background: linear-gradient(135deg, var(--gg-accent), #9af5ba);
    color: #072111 !important;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(25, 178, 20, 0.16);
}

body.page-verify-certificate .verify-card .btn,
body.page-verify-receipt .verify-card .btn {
    background: linear-gradient(135deg, #1ea84a 0%, #dff6e7 100%);
}

body.page-projets .projects-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

body.page-projets .projects-grid {
    gap: 24px;
}

body.page-projets .project-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--gg-border);
    background:
        linear-gradient(180deg, rgba(8, 19, 12, 0.94), rgba(13, 27, 18, 0.88));
    box-shadow: var(--gg-shadow);
}

.light-theme body.page-projets .project-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.92));
}

body.page-projets .project-card__body {
    display: grid;
    gap: 14px;
    padding: 22px;
}

body.page-evaluation .eval-card {
    padding: 28px;
}

body.page-evaluation .question-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.light-theme body.page-evaluation .question-card {
    background: rgba(17, 41, 26, 0.04);
}

body.page-evaluation .eval-alert {
    border-radius: 18px;
    background: rgba(55, 195, 107, 0.14);
    border: 1px solid rgba(55, 195, 107, 0.24);
}

body.page-error .succes,
body.page-preinscription-success .succes {
    text-align: center;
}

body.page-error .succes p,
body.page-preinscription-success .succes p,
body.page-verify-certificate .verify-card p,
body.page-verify-receipt .verify-card p {
    color: var(--gg-muted);
}

body.page-verify-certificate .verify-card {
    text-align: center;
}

body.page-verify-certificate .verify-row {
    display: grid;
    gap: 12px;
}

body.page-verify-certificate .verify-card .status {
    margin: 4px 0 10px;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 700;
}

body.page-verify-certificate .verify-card .status.success {
    background: rgba(46, 202, 114, 0.12);
    color: #9af5ba;
}

.light-theme body.page-verify-certificate .verify-card .status.success {
    color: #126b38;
}

body.page-verify-certificate .verify-card .footer {
    margin-top: 4px;
    color: var(--gg-muted);
    font-size: 13px;
    width: 100%;
    text-align: center;
}

body.page-verify-certificate .verify-card h1,
body.page-verify-receipt .verify-card h1 {
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.15;
    word-break: break-word;
}

body.page-verify-certificate .verify-card p,
body.page-verify-receipt .verify-card p,
body.page-verify-certificate .verify-card .ref,
body.page-verify-receipt .verify-card .ref {
    overflow-wrap: break-word;
    word-break: break-word;
}

body.page-verify-certificate .verify-card .btn,
body.page-verify-receipt .verify-card .btn {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    text-align: center;
}

body.page-verify-certificate .verify-card .ref,
body.page-verify-receipt .verify-card .ref {
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-error .succes::before {
    content: "";
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.26), transparent 42%),
        linear-gradient(135deg, rgba(55, 195, 107, 0.28), rgba(12, 52, 28, 0.86));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

@media (max-width: 900px) {
    body.page-projets .projects-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 768px) {
    body.page-reset-password .reset-page-shell,
    body.page-login-build-cours .login-build-shell,
    body.page-preinscription-success .success-page-shell,
    body.page-projets .projects-page-shell,
    body.page-evaluation .eval-page-shell,
    body.page-verify-certificate .verify-page-shell,
    body.page-verify-receipt .verify-page-shell,
    body.page-error .error-page-shell {
        width: calc(100% - 16px);
        max-width: 1280px;
        padding-top: 96px;
    }

    body.page-reset-password .reset-hero,
    body.page-login-build-cours .login-build-hero,
    body.page-preinscription-success .success-hero,
    body.page-projets .projects-hero,
    body.page-evaluation .evaluation-hero,
    body.page-verify-certificate .verify-hero,
    body.page-verify-receipt .verify-hero,
    body.page-error .error-hero,
    body.page-reset-password .bloc,
    body.page-login-build-cours .bloc,
    body.page-preinscription-success .succes,
    body.page-evaluation .eval-card,
    body.page-verify-certificate .verify-card,
    body.page-verify-receipt .verify-card,
    body.page-error .succes {
        padding: 20px;
        border-radius: 22px !important;
    }

    body.page-verify-certificate .verify-card,
    body.page-verify-receipt .verify-card {
        width: 100%;
        padding: 20px;
    }

    body.page-verify-certificate .verify-card .status,
    body.page-verify-receipt .receipt-card .status {
        font-size: 16px;
        padding: 14px 16px;
    }

    body.page-verify-certificate .verify-card .btn,
    body.page-verify-receipt .verify-card .btn {
        width: 100%;
        min-height: 50px;
        padding: 12px 18px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    body.page-verify-certificate .verify-page-shell,
    body.page-verify-receipt .verify-page-shell {
        width: calc(100% - 10px);
        max-width: 1280px;
        padding-top: 88px;
    }

    body.page-verify-certificate .verify-card,
    body.page-verify-receipt .verify-card {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        border-radius: 18px !important;
    }

    body.page-verify-certificate .verify-card h1,
    body.page-verify-receipt .verify-card h1 {
        font-size: 22px;
    }

    body.page-verify-certificate .verify-card .logo,
    body.page-verify-receipt .receipt-card .logo {
        width: 82px;
        margin-left: auto;
        margin-right: auto;
    }

    body.page-verify-certificate .verify-card .ref,
    body.page-verify-receipt .verify-card .ref {
        font-size: 13px;
        padding: 12px;
        width: 100%;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }

    body.page-verify-certificate .verify-card .btn,
    body.page-verify-receipt .verify-card .btn {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    body.page-verify-certificate .verify-card .footer,
    body.page-verify-receipt .verify-card .footer {
        width: 100%;
        text-align: center;
    }
}
