/* ══════════════════════════════════════════
   COMPLEXE SCOLAIRE SEKOU FOFANA
   Feuille de style principale — style.css
══════════════════════════════════════════ */

/* ══════════════════════════════ BANNIÈRE ALERTE ══════════════════════════════ */

.alerte-banner {
    background: linear-gradient(135deg, #4A148C, #6A1B9A);
    color: white;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 5%;
    border-bottom: 3px solid #FFD700;
}

.alerte-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alerte-texte {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alerte-texte strong {
    font-size: 16px;
    color: #FFD700;
    letter-spacing: 0.3px;
}

.alerte-texte span {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

@media (max-width: 600px) {
    .alerte-banner { padding: 14px 4%; gap: 12px; }
    .alerte-icon { font-size: 26px; }
    .alerte-texte strong { font-size: 14px; }
    .alerte-texte span { font-size: 13px; }
}

:root {
    --bleu: #0D47A1;
    --bleu-mid: #1565C0;
    --bleu-light: #1E88E5;
    --bleu-pale: #E3F2FD;
    --orange: #F57C00;
    --orange-light: #FF9800;
    --orange-pale: #FFF3E0;
    --or: #FFD700;
    --blanc: #FFFFFF;
    --creme: #FAFAFA;
    --dark: #0A1628;
    --gris: #546E7A;
    --bordure: #BBDEFB;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 120px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--creme);
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 110px;
    /* navbar 70px + bandeau 40px */
}

.bg-light {
    background: var(--bleu-pale);
}

.bg-blue {
    background: var(--bleu);
}

.body-text {
    font-size: 15px;
    color: var(--gris);
    line-height: 1.75;
    margin-bottom: 16px;
    font-weight: 300;
}


/* ══════════════════════════════ NAVBAR ══════════════════════════════ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 71, 161, 0.97);
    backdrop-filter: blur(12px);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-icon {
    height: 42px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.72rem;
    line-height: 1.3;
    font-weight: 500;
    opacity: 0.95;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 7px 11px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--orange-light);
}

.nav-links a.nav-active {
    color: var(--or) !important;
}

.nav-cta {
    background: var(--orange) !important;
    color: var(--blanc) !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
}

.nav-cta:hover {
    background: var(--orange-light) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav.nav-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}


/* ══════════════════════════════ HERO ══════════════════════════════ */

#hero {
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(10, 22, 40, 0.88) 0%, rgba(13, 71, 161, 0.75) 50%, rgba(10, 22, 40, 0.9) 100%), url('../images/ecole.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 5% 80px;
    position: relative;
    overflow: hidden;
    margin-top: -110px;
    padding-top: 170px;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(245, 124, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 124, 0, 0.15);
    border: 1px solid rgba(245, 124, 0, 0.4);
    color: var(--orange-light);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease both;
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title span {
    color: var(--orange);
}

.hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
    font-weight: 300;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
    background: var(--orange);
    color: var(--blanc);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 124, 0, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(245, 124, 0, 0.25);
    animation: fadeUp 0.8s 0.4s ease both;
}

.hero-stat {
    padding: 22px 48px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--orange);
    display: block;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}


/* ══════════════════════════════ SECTIONS ══════════════════════════════ */

section {
    padding: 90px 5%;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-tag.light {
    color: var(--orange-light);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--bleu-mid);
}

.section-title.light {
    color: var(--blanc);
}

.section-title.light span {
    color: var(--orange);
}

.section-subtitle {
    font-size: 16px;
    color: var(--gris);
    line-height: 1.7;
    max-width: 560px;
    font-weight: 300;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.75);
}

.section-header {
    margin-bottom: 56px;
}


/* ══════════════════════════════ À PROPOS ══════════════════════════════ */

#apropos {
    background: var(--blanc);
}

.apropos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.apropos-image {
    position: relative;
}

.apropos-img-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 11px;
    display: block;
}

.apropos-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bleu);
    color: var(--blanc);
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.3);
}

.apropos-img-badge strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--orange);
}

.apropos-img-badge span {
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apropos-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.value-card {
    background: var(--bleu-pale);
    padding: 18px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--orange);
}

.value-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--bleu);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-card p {
    font-size: 13px;
    color: var(--gris);
    line-height: 1.5;
}


/* ══════════════════════════════ NIVEAUX ══════════════════════════════ */

.niveaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.niveau-card {
    background: var(--blanc);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid var(--bordure);
}

.niveau-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13, 71, 161, 0.14);
}

.niveau-card-header {
    padding: 28px 24px 20px;
    background: var(--bleu);
    position: relative;
    overflow: hidden;
}

.niveau-card-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.niveau-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.niveau-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--blanc);
}

.niveau-card-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.niveau-card-body {
    padding: 20px 24px;
}

.niveau-card-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.niveau-card-body ul li {
    font-size: 14px;
    color: var(--gris);
    display: flex;
    align-items: center;
    gap: 8px;
}

.niveau-card-body ul li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}


/* ══════════════════════════════ INSCRIPTION ══════════════════════════════ */

#inscription {
    position: relative;
    overflow: hidden;
}

#inscription::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

#inscription::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 220px;
    height: 220px;
    background: rgba(245, 124, 0, 0.06);
    border-radius: 50%;
}

.inscription-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.inscription-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--orange);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.inscription-form {
    background: var(--blanc);
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.inscription-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--bordure);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: var(--creme);
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--bleu-light);
    background: var(--blanc);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-form:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-form {
    width: 100%;
    padding: 14px;
    background: var(--bleu);
    color: var(--blanc);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
}

.btn-form:hover {
    background: var(--bleu-mid);
    transform: translateY(-1px);
}


/* ══════════════════════════════ ACTUALITÉS ══════════════════════════════ */

#actualites {
    background: var(--blanc);
}

.actu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.actu-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bordure);
    transition: all 0.3s;
    background: var(--blanc);
}

.actu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(13, 71, 161, 0.1);
}

.actu-img-placeholder {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    flex-shrink: 0;
}

.actu-img-placeholder--vert  { background: #1B5E20; }
.actu-img-placeholder--bleu  { background: #1565C0; }
.actu-img-placeholder--lblue { background: #1E88E5; }

.actu-body {
    padding: 22px;
}

.actu-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
    margin-bottom: 8px;
    display: block;
}

.actu-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 10px;
}

.actu-body p {
    font-size: 13.5px;
    color: var(--gris);
    line-height: 1.65;
}

.actu-date {
    font-size: 12px;
    color: var(--gris);
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* ══════════════════════════════ GALERIE ══════════════════════════════ */

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

.galerie-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gris);
    font-size: 15px;
    padding: 40px 0;
}

.galerie-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.galerie-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.galerie-item:hover img {
    transform: scale(1.05);
}

.galerie-item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    background: rgba(13, 71, 161, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.3s;
}

.galerie-item:hover::after {
    opacity: 1;
}


/* ══════════════════════════════ CONTACT ══════════════════════════════ */

#contact {
    background: var(--blanc);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-info-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--bleu-pale);
    border: 1.5px solid var(--bordure);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.contact-item-text p {
    font-size: 14px;
    color: var(--gris);
    line-height: 1.5;
}

.contact-item-text p a {
    color: var(--gris);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item-text p a:hover {
    color: var(--bleu-mid);
}

.contact-map {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bordure);
    background: var(--bleu-pale);
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-map-pin {
    font-size: 48px;
}

.contact-map-city {
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
}

.contact-map-name {
    color: var(--gris);
    font-size: 13px;
    text-align: center;
}

.contact-map-btn {
    background: var(--bleu);
    color: var(--blanc);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-map-btn:hover {
    background: var(--bleu-mid);
}


/* ══════════════════════════════ ANIMATIONS ══════════════════════════════ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.25s;
}

.delay-3 {
    transition-delay: 0.35s;
}


/* ══════════════════════════════ LIGHTBOX ══════════════════════════════ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 10px;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--orange);
}


/* ══════════════════════════════ LANGUAGE TOGGLE ══════════════════════════════ */

.lang-toggle {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* ══════════════════════════════ WHATSAPP ══════════════════════════════ */

.btn-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9997;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}


/* ══════════════════════════════ BACK TO TOP ══════════════════════════════ */

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--bleu);
    color: var(--blanc);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bleu-mid);
    transform: translateY(-3px);
}

/* ══════════════════════════════ TOAST ══════════════════════════════ */

.toast {
    position: fixed;
    top: 120px;
    right: 24px;
    background: var(--bleu);
    color: var(--blanc);
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s;
    z-index: 9999;
    border-left: 4px solid var(--orange);
    max-width: calc(100vw - 48px);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}


/* ══════════════════════════════ RESPONSIVE ══════════════════════════════ */

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .apropos-grid,
    .inscription-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .galerie-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
    .hero-stats {
        display: none;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 4%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .apropos-values {
        grid-template-columns: 1fr;
    }
    .apropos-img-badge {
        right: 0;
        bottom: -15px;
    }
    body {
        padding-top: 110px;
    }
}