/* ----- Variables & Design Tokens ----- */
:root {
    /* Colors */
    --primary: #0a2540;       /* Deep Navy Blue */
    --primary-light: #16365a;
    --accent: #f59e0b;        /* Vibrant Gold/Amber */
    --accent-hover: #d97706;
    
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xl: 5rem;
    --spacing-l: 3rem;
    --spacing-m: 1.5rem;
    --spacing-s: 0.75rem;

    /* Effects */
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }
.mt-l { margin-top: var(--spacing-l); }
.mt-xl { margin-top: var(--spacing-xl); }
.w-100 { width: 100%; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent);
    cursor: pointer;
    text-align: center;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Section Headers */
.section-header { margin-bottom: var(--spacing-l); }
.subtitle {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}
.divider-left {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    border-radius: 2px;
}
.bg-dark .title { color: var(--white); }

/* ----- Navbar ----- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    z-index: 1001;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    font-size: 0.82rem;
}
.top-bar-slogan {
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.top-bar-motto {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}
.top-bar-slogan i {
    color: var(--accent);
    margin-right: 6px;
}
.top-bar-contact {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}
.top-bar-contact i {
    color: var(--accent);
    margin-right: 6px;
}
.top-bar-contact:hover {
    color: var(--accent);
}
.navbar {
    position: fixed;
    top: 38px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 5%;
    background-color: rgba(255, 255, 255, 0.98);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    font-size: 2.5rem;
    color: var(--primary);
}
.logo-text h1 {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    margin: 0;
}
.logo-text span {
    display: block;
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo-text .logo-tagline {
    font-size: 0.68rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Liste "Nos directions" */
.dir-group {
    margin-top: 14px;
}
.dir-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--accent);
}
.dir-group-title i {
    color: var(--accent);
}
.directions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.directions-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    transition: all 0.25s ease;
}
.directions-list li:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(5, 30, 56, 0.08);
    transform: translateX(3px);
}
.directions-list .dir-icon {
    color: var(--accent);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.directions-list .dir-name {
    font-weight: 600;
    color: var(--primary);
    flex: 1;
}
.directions-list .dir-phone {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}
.directions-list .dir-phone:hover {
    color: var(--accent);
}
.map-title {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}
.admin-section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 28px;
    position: relative;
}
.admin-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
}
.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}
.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active:not(.btn-primary)::after {
    width: 100%;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ----- Hero Slider ----- */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 8s linear;
    transform: scale(1.05); /* Slight zoom for ken burns effect */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.4) 60%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.slide-content {
    max-width: 600px;
    color: var(--white);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content .badge {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--accent);
}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots .dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

/* Floating Info Box on Slider */
.floating-info-box {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    z-index: 10;
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
    color: var(--white);
    animation: fadeInRight 1s ease-out 0.8s backwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translate(50px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

.info-box-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.floating-info-box h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.floating-info-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
    .floating-info-box {
        display: none; /* Cache la boite sur les petits écrans pour ne pas surcharger */
    }
}

/* ----- Info Ticker ----- */
.info-ticker-wrapper {
    background-color: rgba(10, 37, 64, 0.85); /* Deep blue with glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 15;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.15);
}
.ticker-label {
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
    position: relative;
    font-size: 0.9rem;
}
.ticker-content-wrapper {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
}
.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}
.ticker-content span {
    padding: 0 40px;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ticker-content span i {
    color: var(--accent);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ----- Pourquoi Nous Choisir ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--accent);
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.feature-card:hover .icon-wrapper {
    background: var(--accent);
    color: var(--white);
}
.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----- Académie ----- */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .academy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .academy-grid {
        grid-template-columns: 1fr;
    }
}
.academy-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}
.academy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}
.academy-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
    transition: var(--transition);
}
.academy-card:hover .academy-img {
    transform: scale(1.03);
}
.academy-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--white);
    position: relative;
    z-index: 2;
}
.academy-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.academy-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.academy-content .btn-outline {
    margin-top: auto;
}

/* ----- Actualité ----- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Réduit de 30px à 15px */
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    font-size: 0.9rem; /* Réduction globale de la taille du texte */
}
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.news-img {
    height: 130px; /* Réduit encore à 130px */
    width: 100%;
    background-size: cover;
    background-position: center;
}
/* Adding random colorful gradients for placeholder news images to make it look premium */
.news-card:nth-child(1) .news-img { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.news-card:nth-child(2) .news-img { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.news-card:nth-child(3) .news-img { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.news-card:nth-child(4) .news-img { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.news-content {
    padding: 12px; /* Réduit encore à 12px */
}
.news-date {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}
.news-content h3 {
    font-size: 0.95rem; /* Réduit encore à 0.95rem */
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.news-content p {
    color: var(--text-muted);
    font-size: 0.8rem; /* Réduit encore à 0.8rem */
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.read-more:hover { color: var(--accent); }
.read-more i { transition: transform 0.3s; }
.read-more:hover i { transform: translateX(5px); }

/* ----- Activités Extra ----- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--accent);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.activity-icon {
    width: 65px;
    height: 65px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}
.activity-card:hover .activity-icon {
    background: var(--accent);
    color: var(--white);
}
.activity-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.activity-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* ----- Calendrier des Devoirs & Modal ----- */
.calendar-btn {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 15px 25px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.calendar-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.calendar-btn i {
    font-size: 1.3rem;
    color: var(--accent);
}
.calendar-btn:hover i {
    color: var(--white);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 11000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}
.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover { color: var(--accent); }
.modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
}
.calendar-table th, .calendar-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.calendar-table th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
}
.calendar-table tbody tr:hover {
    background-color: #f8fafc;
}

/* ----- Nos Prodiges ----- */
.prodiges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .prodiges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .prodiges-grid {
        grid-template-columns: 1fr;
    }
}
.prodige-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.prodige-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--accent);
}
.prodige-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.prodige-avatar {
    width: 90px;
    height: 90px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.prodige-info h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.prodige-stats {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}
.stat-item .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-item .value small {
    font-size: 0.8rem;
    font-weight: normal;
}
.prodige-info .classe {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ----- Nos Clubs ----- */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.club-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.club-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.club-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.club-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(10, 37, 64, 0.4) 100%);
}
.club-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.club-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.club-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* ----- Vidéos Youtube ----- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}
.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.video-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.video-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.bg-gray-700 { background-color: #334155; }
.bg-gray-600 { background-color: #475569; }

.play-btn-pulse {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    padding-left: 4px; /* optical alignment for play icon */
    position: relative;
    transition: var(--transition);
}
.video-thumbnail:hover .play-btn-pulse {
    transform: scale(1.1);
    background: var(--accent);
}
.play-btn-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.video-info {
    padding: 20px;
}
.video-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.video-info p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ----- Contact ----- */
.contact-upper-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}
.contact-img {
    height: 100%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}
.contact-middle {
    padding-right: 20px;
}
.contact-main-title {
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
}
.contact-phone {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}
.contact-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}
.contact-info-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.contact-list {
    list-style: none;
    padding: 0;
}
.contact-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.contact-list li .bullet {
    color: var(--accent);
    margin-right: 8px;
    font-size: 1.2rem;
}
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.timing-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
}
.timing-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.timing-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}
.timing-row:last-child { border-bottom: none; }
.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.map-link {
    display: inline-block;
    position: absolute;
    top: 10px; left: 10px;
    background: var(--white);
    color: var(--primary);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
}
.map-link:hover { color: var(--accent); }

.contact-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

/* Administration Row */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.admin-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
}
.admin-highlight {
    background-color: var(--bg-light);
}
.admin-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.admin-details h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.badge-info {
    background: var(--primary-light);
    color: var(--white);
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.admin-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}
.admin-level {
    display: block;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 2px;
}
.admin-email {
    font-size: 0.85rem;
    color: var(--accent);
}
.admin-email:hover {
    text-decoration: underline;
}

/* ----- Footer ----- */
footer {
    background-color: var(--primary-light);
    color: var(--white);
    padding-top: var(--spacing-l);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}
.footer-brand p {
    color: #cbd5e1;
    margin-top: 1rem;
    max-width: 400px;
}
.logo-foot {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-foot i { color: var(--accent); }
.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-bottom {
    background-color: var(--primary);
    padding: 20px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ----- Settings Drawer ----- */
.settings-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.settings-overlay.active {
    opacity: 1;
    visibility: visible;
}
.settings-drawer {
    position: fixed;
    top: 0; right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 10600;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.settings-drawer.active {
    right: 0;
}
.settings-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.settings-header h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}
.settings-header h3 i {
    color: var(--accent);
}
.settings-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 35px; height: 35px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.settings-close-btn:hover {
    background: var(--accent);
}
.settings-content {
    padding: 30px 25px;
    overflow-y: auto;
    flex-grow: 1;
}
.settings-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}
.settings-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
}
.settings-option:hover {
    border-color: var(--primary);
    background: rgba(5, 30, 56, 0.02);
    transform: translateY(-2px);
}
.opt-icon {
    width: 45px; height: 45px;
    border-radius: 8px;
    background: rgba(5, 30, 56, 0.05);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}
.opt-text h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 3px;
}
.opt-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ----- Responsive Design ----- */
@media (max-width: 992px) {
    .slide-content h2 { font-size: 2.8rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .top-bar { display: none; }
    .navbar { top: 0; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: block; }
    
    .ticker-label { display: none; }
    .slide-overlay { padding-left: 5%; padding-right: 5%; text-align: center; }
    .slide-content h2 { font-size: 2.2rem; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 1rem auto; }
}

/* ===== News Flash Popup ===== */
.news-flash {
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translate(-50%, -420px);
    width: 92%;
    max-width: 470px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    border-top: 4px solid #1dc8ff;
    box-shadow: 0 18px 55px rgba(5, 30, 56, 0.28);
    padding: 18px 20px;
    z-index: 9000;
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
.news-flash.show {
    transform: translate(-50%, 0);
    opacity: 1;
}
.news-flash-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1dc8ff, #0aa9e0);
    color: #fff;
    font-size: 1.3rem;
}
.news-flash-body { flex: 1; }
.news-flash-tag {
    display: inline-block;
    background: rgba(29, 200, 255, 0.15);
    color: #0a8fc0;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.news-flash-tag i { margin-right: 4px; }
.news-flash-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.45;
}
.news-flash-body strong { color: #0a8fc0; }
.news-flash-body .wave-inline {
    height: 22px;
    vertical-align: middle;
    margin: 0 3px;
}
.news-flash-close {
    background: none;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    flex-shrink: 0;
    align-self: flex-start;
    transition: color 0.2s ease;
}
.news-flash-close:hover { color: var(--primary); }
@media (max-width: 992px) {
    .news-flash { top: 78px; }
}

/* ===== Pages Établissement ===== */
.etab-hero {
    padding: 200px 5% 90px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.etab-hero-content { max-width: 840px; margin: 0 auto; }
.etab-hero-type {
    display: inline-block;
    background: rgba(245, 158, 11, 0.18);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}
.etab-hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0.3rem 0 0.6rem;
}
.etab-hero-ville {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.etab-hero-ville i { color: var(--accent); margin-right: 6px; }
.etab-hero-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin-bottom: 2rem;
}
.etab-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 30px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-ghost:hover { background: #fff; color: var(--primary); }

.etab-about-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
    align-items: start;
}
.etab-about .subtitle { color: var(--accent); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.8rem; }
.etab-about-title {
    font-size: 2rem;
    color: var(--primary);
    margin: 6px 0 14px;
}
.etab-creation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.etab-about > p {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.02rem;
    margin-bottom: 22px;
}
.etab-values h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.value-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.value-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--accent);
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
}
.value-chips i { color: var(--accent); }

.etab-succession {
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 12px 35px rgba(5, 30, 56, 0.18);
}
.etab-succession h3 {
    color: #fff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 4px;
}
.etab-succession h3 i { color: var(--accent); }
.succession-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    margin: 0 0 18px;
}
.succession-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.succession-list::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(255, 255, 255, 0.18);
}
.succession-list li {
    position: relative;
    padding: 0 0 18px 26px;
}
.succession-list li:last-child { padding-bottom: 0; }
.succession-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 2px var(--accent);
}
.succession-list .succ-name {
    display: block;
    font-weight: 600;
    font-size: 0.98rem;
}
.succession-list .succ-periode {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}
@media (max-width: 992px) {
    .etab-about-grid { grid-template-columns: 1fr; gap: 28px; }
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.staff-grid .admin-profile {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(5, 30, 56, 0.06);
    padding: 20px 24px;
    min-width: 300px;
    transition: all 0.25s ease;
}
.staff-grid .admin-profile:hover {
    box-shadow: 0 10px 28px rgba(5, 30, 56, 0.13);
    transform: translateY(-4px);
}
.etab-empty {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 34px;
    max-width: 620px;
    margin: 0 auto;
}
.etab-empty i { color: var(--accent); margin-right: 8px; }
.etab-cta {
    background: var(--primary);
    color: #fff;
    padding: 72px 5%;
    text-align: center;
}
.etab-cta h2 { color: #fff; font-size: 2rem; margin-bottom: 0.5rem; }
.etab-cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.6rem; }

@media (max-width: 992px) {
    .etab-hero { padding-top: 130px; }
    .etab-hero h1 { font-size: 2.2rem; }
}

/* ============================================================
   RÉSULTATS AUX EXAMENS
   ============================================================ */

/* --- Bandeau au-dessus du slide --- */
.results-banner {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-bottom: 3px solid var(--accent);
    position: relative;
    z-index: 2;
    /* compense le header fixe (top-bar 38px + navbar ~80px) pour ne pas être recouvert */
    margin-top: 118px;
}
/* le slider remonte sous le bandeau (il gérait sa hauteur en 100vh sous header fixe) */
.results-banner + .hero-slider {
    height: calc(100vh - 118px);
    min-height: 520px;
}
@media (max-width: 768px) {
    .results-banner { margin-top: 100px; }
    .results-banner + .hero-slider { height: calc(100vh - 100px); }
}
.results-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 32px;
    padding: 12px 20px;
}
.results-banner-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.results-banner-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.results-banner-item:hover { transform: translateY(-2px); }
.results-banner-item .rb-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.results-banner-item .rb-cap {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.results-banner-item.rb-soon .rb-num {
    font-size: 1rem;
    color: var(--accent);
    font-style: italic;
}

/* --- Section complète --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.result-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.result-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.result-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent);
    font-size: 1.6rem;
}
.result-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}
.result-num-soon {
    font-size: 1.6rem;
    color: var(--accent);
    font-style: italic;
}
.result-card h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.result-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}
.result-card-soon {
    border-top-color: #cbd5e1;
    background: #f8fafc;
}

@media (max-width: 992px) {
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .results-banner-label { width: 100%; justify-content: center; }
    .results-banner-inner { gap: 14px 24px; }
}
@media (max-width: 520px) {
    .results-grid { grid-template-columns: 1fr; }
}
