/* =============================================================
   Styles globaux pour mobile - Amélioration de la lisibilité
   ============================================================= */

/* Améliorations générales pour mobile */
@media (max-width: 768px) {

    /* Amélioration de la lisibilité générale */
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Titres principaux */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    /* Paragraphes */
    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Boutons */
    button,
    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }

    /* Liens */
    a {
        font-size: 1rem;
    }

    /* Formulaires */
    input,
    select,
    textarea {
        font-size: 16px;
        /* Évite le zoom automatique sur iOS */
        padding: 0.875rem;
    }

    /* Labels */
    label {
        font-size: 0.95rem;
        font-weight: 600;
    }

    /* Navigation */
    .nav-menu-item {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }

    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Breakpoint tablette */
@media (max-width: 1024px) and (min-width: 769px) {

    /* Optimisations pour tablettes */
    body {
        font-size: 17px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 1.625rem;
    }

    /* Formulaires */
    input,
    select,
    textarea {
        font-size: 16px;
        padding: 0.875rem;
    }

    /* Navigation */
    .nav-menu-item {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {

    /* Améliorations pour très petits écrans */
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.95rem;
    }

    button,
    .btn {
        font-size: 0.85rem;
        padding: 0.625rem 1.25rem;
    }

    /* Formulaires */
    input,
    select,
    textarea {
        font-size: 16px;
        /* Évite le zoom automatique sur iOS */
        padding: 0.75rem;
    }

    /* Labels */
    label {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Navigation */
    .nav-menu-item {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    /* Cartes et conteneurs */
    .card {
        padding: 1rem;
    }

    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* =============================================================
   Navigation globale - réduire l'espacement des liens de menu
   Affecte: Accueil, À propos, Projets, Actualités, Espace commercial, Contact
   ============================================================= */
/* Réduit l'espacement horizontal imposé par space-x-8 dans le header */
header nav.space-x-8> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0 !important;
    margin-left: 0.75rem !important;
    /* plus serré */
    margin-right: 0 !important;
}

/* Réduit le padding interne de chaque item du menu */
.nav-menu-item {
    padding: 0.25rem 0.5rem !important;
    /* py-1 px-2 */
}

/* =============================================================
   Espace commercial (Commerce Space)
   Section: Cartes d'annonces + Boutons d'action
   Repères rapides:
   - .annonce-card        → conteneur principal de la carte
   - .annonce-image       → bloc image à gauche (carré)
   - .annonce-content     → zone centrale (fond bleu, texte blanc)
   - .annonce-actions     → colonne de boutons à droite
   - .btn-annonce         → style de base des deux boutons
   - .btn-annonce--lock   → variante avec icône cadenas
   Remarque: Ces classes reflètent le design actuel de la page
             resources/views/commerce_space.blade.php.
             Elles peuvent remplacer les styles inline si souhaité.
   ============================================================= */

/* Conteneur principal de la carte d'annonce (fond bleu foncé + bordure bleue) */
.annonce-card {
    margin: 10px;
    background-color: #1e3a8a;
    /* proche de Tailwind bg-blue-900 */
    border: 2px solid #1e40af;
    /* proche de Tailwind border-blue-800 */
    border-radius: 0.5rem;
    /* ~ rounded-lg */
    overflow: hidden;
    color: #ffffff;
}

/* Bloc image à gauche (carré blanc bordé de bleu) */
.annonce-image {
    width: 12rem;
    /* w-48 */
    height: 12rem;
    /* h-48 */
    background: #ffffff;
    border: 2px solid #1e40af;
    /* border-blue-800 */
    display: block;
    flex-shrink: 0;

}

.annonce-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
    /* remplir tout le cadre sans déformation */
    display: block !important;
}

/* Zone centrale de contenu (titre, description, date) */
.annonce-content {
    background-color: #1e3a8a;
    /* fond bleu foncé */
    color: #ffffff;
    /* texte blanc */
    padding: 1.5rem;
    /* p-6 */
}

/* Colonne de boutons à droite (même largeur que l'image) */
.actions-annonce {
    background-color: #1e748a !important;
    width: 20rem;
    /* w-48 */
    /* p-4 */
    display: flex;
    flex-direction: row !important;
    gap: 0.75rem;
    /* ~ space-y-3 */
}

/* Boutons d'annonce: même largeur/hauteur, centrés, fond teal */
.btn-annonce {
    width: 100%;
    height: 5rem;
    /* h-20 */
    background-color: #14b8a6 !important;
    /* teal-500 */
    color: #ffffff;
    border-radius: 0.5rem;
    /* rounded-lg */
    display: block;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    /* font-medium */
    transition: background-color 150ms ease;
}

.btn-annonce:hover {
    background-color: #0d9488;
    /* teal-600 */
}

/* Variante avec icône cadenas au-dessus du texte */
.btn-annonce--lock {
    flex-direction: column;
    /* icône au-dessus du texte */
}

/* Couleur de l'icône cadenas (jaune) */
.btn-annonce--lock .icon-lock {
    color: #fbbf24;
    /* amber-400 */
    margin-bottom: 0.5rem;
    /* mb-2 */
}

/* Espacement vertical entre les cartes d'annonce */
.annonces-stack {
    display: grid;
    row-gap: 2rem;
    /* space-y-8 */
}

.bg-gray-800 {
    background-color: #133867;

}

.bg-gray-800 span {
    padding-right: 20px;
}

.flex-shrink-0 img {
    width: 180px;
    height: 60px;
    flex-shrink: 0;
}

/* Ajustement du header pour les menus pleine hauteur */
header {
    height: 64px;
}

header nav {
    height: 100%;
}

header nav a {
    height: 100%;
}

/* Header auth buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
}

.btn-auth.signup {
    background-color: #0a1d35;
    color: #ffffff !important;
    border-color: #133867;
}

.btn-auth.signup:hover {
    background-color: #0f2e55;
    border-color: #ffffff;
}

/* .btn-auth.login {
    background-color: transparent;
    color: #ffffff !important;
    border-color: #133867;
}

.btn-auth.login:hover {
    background-color: rgba(19, 56, 103, 0.06);
} */

/* Styles pour le menu actif */
.nav-menu-item {
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
}

.nav-menu-item.active {
    background-color: #133867;
    color: white !important;
    border-radius: 0;
    padding: 0 16px;
    height: 100%;
}

.nav-menu-item.active:hover {
    background-color: #133867;
    color: white !important;
}

/* Styles pour les états hover des menus */
.nav-menu-item:hover {
    background-color: #133867;
    color: #ffffff !important;
    border-radius: 0;
    padding: 0 16px;
    height: 100%;
    transition: all 0.3s ease;
}

/* Style spécifique pour le menu Accueil (page active) */
.nav-menu-item.accueil-active {
    background-color: #133867;
    color: white !important;
    border-radius: 0;
    padding: 0 16px;
    height: 100%;
}

/* Style spécifique pour le menu Contact (page active) */
.nav-menu-item.contact-active {
    background-color: #133867;
    color: white !important;
    border-radius: 0;
    padding: 0 16px;
    height: 100%;
}

/* Styles pour la page Contact */
.contact-hero {
    background: linear-gradient(135deg, #133867 0%, #1e4a8a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Styles pour les boutons de la section hero */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: flex-start;
    align-items: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 160px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #133867;
    border-color: #ffffff;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.hero-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: #1a202c;
}

.form-input:focus {
    outline: none;
    border-color: #133867;
    background: white;
    box-shadow: 0 0 0 4px rgba(19, 56, 103, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.form-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: #1a202c;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #133867;
    background: white;
    box-shadow: 0 0 0 4px rgba(19, 56, 103, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #133867 0%, #1e4a8a 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(19, 56, 103, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
}

.contact-info-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #133867;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #133867 0%, #1e4a8a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}

.contact-details p,
.contact-details a {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #133867;
}

.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 20px;
}

.map-description {
    font-size: 1.1rem;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.map-iframe {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: none;
}

.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: none;
    align-items: center;
    gap: 10px;
}

.error-message {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: none;
    align-items: center;
    gap: 10px;
}

.success-message.is-visible,
.error-message.is-visible {
    display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .hero-btn {
        min-width: auto;
        width: 100%;
        max-width: 280px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 30px 20px;
    }

    .contact-form-title,
    .contact-info-title,
    .map-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .map-iframe {
        height: 350px;
    }

    .contact-hero {
        padding: 60px 0;
    }

    .contact-section {
        padding: 60px 0;
    }

    .map-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 15px;
    }

    .contact-form-container {
        padding: 25px 15px;
    }

    .contact-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        align-self: center;
    }
}

/* Styles pour le Carousel */
.slider-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    margin-bottom: 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-item {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    background: none;
    padding: 4rem 3rem;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    animation: none;
    margin-left: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Animation d'apparition séquentielle pour les éléments du slider */
.slider-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    line-height: 1.1;
    color: white;
    text-transform: uppercase;
    animation: none;
    transform: none;
    opacity: 1;
    max-width: 80%;
    word-wrap: break-word;
}

.slider-description {
    font-size: 1.3rem;
    line-height: 1.7;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    font-weight: 400;
    opacity: 1;
    max-width: 70%;
    margin: 0 0 2.5rem 0;
    animation: none;
    transform: none;
    color: white;
}

.slider-btn {
    background: #ffffff;
    color: #133867;
    border: 2px solid #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: fit-content;
    min-width: 140px;
    animation: none;
    transform: none;
    opacity: 1;
}

/* Animation du titre - glissement depuis la gauche */
@keyframes titleSlideIn {
    0% {
        transform: translateX(-100px) skewX(-15deg);
        opacity: 0;
    }

    50% {
        transform: translateX(10px) skewX(5deg);
        opacity: 0.8;
    }

    100% {
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
}

/* Animation de la description - apparition en fondu avec élévation */
@keyframes descriptionFadeIn {
    0% {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Animation du bouton - rebond avec rotation */
@keyframes buttonBounceIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(-90deg);
        opacity: 0.8;
    }

    75% {
        transform: scale(0.9) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Effet hover amélioré pour le bouton */
.slider-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: #f8f9fa;
    border-color: #f8f9fa;
}

/* Animation de pulsation subtile pour le titre */
.slider-title:hover {
    animation: none;
}

@keyframes titlePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Contrôles du carousel */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #133867;
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-control svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

.slider-control:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 1);
    color: #133867;
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

/* Indicateurs */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .slider-container {
        height: 70vh;
    }

    /* Garder la structure du carousel intacte */
    .slider-item {
        /* Ne pas modifier la structure du carousel */
        justify-content: center !important;
    }

    .slider-content {
        padding: 2rem 1.5rem !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        max-width: 90% !important;
    }

    .slider-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        max-width: 90% !important;
        width: 100% !important;
    }

    .slider-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        max-width: 85% !important;
        width: 100% !important;
    }

    .slider-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        align-self: center;
    }

    .slider-control {
        width: 40px;
        height: 40px;
    }

    .slider-control.prev {
        left: 10px;
    }

    .slider-control.next {
        right: 10px;
    }

    .slider-indicators {
        bottom: 15px;
    }

    .indicator {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 60vh;
    }

    .slider-content {
        padding: 1.5rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        max-width: 95% !important;
    }

    .slider-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
        text-align: center !important;
        max-width: 95% !important;
        line-height: 1.3 !important;
        width: 100% !important;
    }

    .slider-description {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        max-width: 90% !important;
        line-height: 1.4 !important;
        width: 100% !important;
    }

    .slider-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        align-self: center;
    }

    .slider-control {
        width: 35px;
        height: 35px;
    }

    .slider-control.prev {
        left: 5px;
    }

    .slider-control.next {
        right: 5px;
    }
}

/* Bande bleue avec titre */
.blue-band {
    background-color: #133867;
    padding: 1rem 0;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
}

.blue-band .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.band-title {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive pour la bande bleue */
@media (max-width: 768px) {
    .blue-band {
        padding: 1.5rem 0;
        text-align: center;
    }

    .band-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }

    .blue-band .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .blue-band {
        padding: 1.25rem 0;
    }

    .band-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .blue-band .container {
        padding: 0 0.75rem;
    }
}

/* Section Image + Texte + Bouton */
.content-section {
    padding: 4rem 0;
    background-color: #f8fafc;
    margin-top: 0;
    margin-bottom: 0;
}

.content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-image {
    text-align: center;
}

.content-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: translateY(-5px);
}

.content-text {
    padding-left: 2rem;
}

.content-subtitle {
    font-size: 2rem;
    font-weight: bold;
    color: #133867;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.btn-primary {
    background-color: #133867;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(19, 56, 103, 0.3);
}

.btn-primary:hover {
    background-color: #0f2a4f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 56, 103, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Responsive pour la section content */
@media (max-width: 768px) {
    .content-section {
        padding: 2rem 0;
    }

    .content-section .container {
        padding: 0 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-text {
        padding-left: 0;
        text-align: center;
        order: 2;
    }

    .content-image {
        order: 1;
    }

    .content-subtitle {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .content-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 1.5rem 0;
    }

    .content-section .container {
        padding: 0 0.75rem;
    }

    .content-grid {
        gap: 1.5rem;
    }

    .content-subtitle {
        font-size: 1.4rem;
    }

    .content-description {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Section 2 - Image à droite, texte à gauche */
.content-section2 {
    padding: 4rem 0;
    background-color: #ffffff;
    border-top: none;
}

.content-section2 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section2 .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-section2 .content-text {
    padding-right: 2rem;
    padding-left: 0;
}

.content-section2 .content-subtitle {
    font-size: 2rem;
    font-weight: bold;
    color: #133867;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-section2 .content-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-section2 .content-image {
    text-align: center;
}

.content-section2 .content-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-section2 .content-image img:hover {
    transform: translateY(-5px);
}

/* Responsive pour content-section2 */
@media (max-width: 768px) {
    .content-section2 {
        padding: 2rem 0;
    }

    .content-section2 .container {
        padding: 0 1rem;
    }

    .content-section2 .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-section2 .content-text {
        padding-right: 0;
        text-align: center;
        order: 1;
    }

    .content-section2 .content-image {
        order: 2;
    }

    .content-section2 .content-subtitle {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .content-section2 .content-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .content-section2 .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .content-section2 {
        padding: 1.5rem 0;
    }

    .content-section2 .container {
        padding: 0 0.75rem;
    }

    .content-section2 .content-grid {
        gap: 1.5rem;
    }

    .content-section2 .content-subtitle {
        font-size: 1.4rem;
    }

    .content-section2 .content-description {
        font-size: 0.9rem;
    }

    .content-section2 .btn-primary {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Section Actualités */
.news-section {
    padding: 4rem 0;
    background-color: #f8fafc;
    margin-top: 0;
}

.news-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #133867;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
    flex: 1;
}

.news-btn {
    background: linear-gradient(45deg, #133867 0%, #1e4a8a 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-top: auto;
}

.news-btn:hover {
    background: linear-gradient(45deg, #1e4a8a 0%, #133867 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 56, 103, 0.3);
}

/* Responsive pour la section actualités */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 2rem 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-content {
        padding: 1.25rem;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-description {
        font-size: 0.9rem;
    }

    .news-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Section Content 3 - Grid 2x2 */
.content-section3 {
    padding: 4rem 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.content-section3 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 2rem;
    margin-top: 2rem;
}

.grid-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.grid-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.item-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .item-image img {
    transform: scale(1.1);
}

.item-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.item-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #133867;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
}

.item-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #133867 0%, #1e4a8a 100%);
    border-radius: 2px;
}

.item-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
    flex: 1;
}

.item-btn {
    background: linear-gradient(45deg, #133867 0%, #1e4a8a 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.item-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.item-btn:hover::before {
    left: 100%;
}

.item-btn:hover {
    background: linear-gradient(45deg, #1e4a8a 0%, #133867 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(19, 56, 103, 0.4);
}

/* Responsive pour content-section3 */
@media (max-width: 1024px) {
    .grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .grid-item {
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .content-section3 {
        padding: 2rem 0;
    }

    .grid-2x2 {
        gap: 1.5rem;
    }

    .item-content {
        padding: 1.5rem;
    }

    .item-title {
        font-size: 1.2rem;
    }

    .item-description {
        font-size: 0.95rem;
    }

    .item-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
}

/* Bouton Voir toutes les actualités */
.view-all-news {
    margin-top: 3rem;
    text-align: left;
}

.view-all-btn {
    background: linear-gradient(45deg, #133867 0%, #1e4a8a 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(19, 56, 103, 0.3);
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    background: linear-gradient(45deg, #1e4a8a 0%, #133867 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(19, 56, 103, 0.4);
}

/* Responsive pour le bouton */
@media (max-width: 768px) {
    .view-all-news {
        margin-top: 2rem;
        text-align: center;
    }

    .view-all-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Effet Parallax */
.parallax-container {
    position: relative;
    height: 1000px;
    overflow: hidden;
    margin: 0;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 56, 103, 0.8) 0%, rgba(19, 56, 103, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.parallax-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.parallax-subtitle {
    color: white;
    font-size: 1.3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.6;
}

/* Animation du parallax au scroll */
@media (prefers-reduced-motion: no-preference) {
    .parallax-bg {
        animation: parallaxScroll 20s ease-in-out infinite;
    }
}

@keyframes parallaxScroll {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive pour le parallax - Supprimé car dupliqué plus bas */

/* Grid des actualités dans le parallax */
.news-grid-parallax {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.news-card-parallax {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-card-parallax:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.news-image-parallax {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image-parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-parallax:hover .news-image-parallax img {
    transform: scale(1.05);
}

.news-content-parallax {
    padding: 1.5rem;
}

.news-title-parallax {
    font-size: 1.3rem;
    font-weight: 700;
    color: #133867;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-description-parallax {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.news-btn-parallax {
    background: linear-gradient(45deg, #133867 0%, #1e4a8a 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.news-btn-parallax:hover {
    background: linear-gradient(45deg, #1e4a8a 0%, #133867 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(19, 56, 103, 0.4);
}

/* Bouton Voir toutes les actualités dans le parallax */
.view-all-news-parallax {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn-parallax {
    background: linear-gradient(45deg, #ffffff 0%, #f0f8ff 100%);
    color: #133867;
    border: 2px solid #ffffff;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-all-btn-parallax:hover {
    background: linear-gradient(45deg, #f0f8ff 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: #133867;
}

/* Responsive pour le grid des actualités dans le parallax */
@media (max-width: 1024px) {
    .news-grid-parallax {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .parallax-container {
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .parallax-overlay {
        position: relative;
        height: auto;
        padding: 3rem 0 2.5rem;
        display: block;
    }

    .parallax-bg {
        background-attachment: scroll;
        height: 100%;
    }

    .parallax-title {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
    }

    .parallax-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 0.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .parallax-container {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
        padding: 0;
    }

    .parallax-overlay {
        position: relative;
        height: auto;
        width: 100%;
        padding: 2.25rem 0 2rem;
        display: block;
        align-items: stretch;
        justify-content: flex-start;
    }

    .parallax-container .container {
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .parallax-title {
        font-size: 1.55rem;
        margin-bottom: 0.5rem;
        letter-spacing: 0.5px;
        line-height: 1.25;
        word-wrap: break-word;
    }

    .parallax-subtitle {
        font-size: 0.95rem;
        margin: 0 auto 1.25rem;
        max-width: 100%;
        line-height: 1.5;
        padding: 0 0.25rem;
    }

    .parallax-bg {
        background-attachment: scroll !important;
        transform: none !important;
        height: 100%;
        top: 0;
    }

    .news-grid-parallax {
        margin-top: 1.25rem;
        margin-bottom: 1rem;
        gap: 1rem;
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .news-card-parallax {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .news-content-parallax {
        padding: 1rem 1rem 1.15rem;
    }

    .news-title-parallax {
        font-size: 1.05rem;
        line-height: 1.35;
        margin-bottom: 0.65rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .news-description-parallax {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .news-btn-parallax {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
    }

    .view-all-news-parallax {
        margin-top: 1.25rem;
        padding: 0 0.25rem;
    }

    .view-all-btn-parallax {
        display: inline-block;
        padding: 0.85rem 1.35rem;
        font-size: 0.9rem;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        line-height: 1.3;
    }

    .news-meta-parallax {
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .news-date-parallax,
    .news-time-parallax {
        font-size: 0.72rem;
        padding: 0.2rem 0.55rem;
        max-width: 100%;
        white-space: nowrap;
    }

    .news-image-parallax {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .parallax-container {
        height: auto !important;
        min-height: 0 !important;
        padding: 0;
    }

    .parallax-overlay {
        padding: 1.75rem 0 1.5rem;
    }

    .parallax-container .container {
        padding: 0 0.75rem;
    }

    .parallax-title {
        font-size: 1.35rem;
        margin-bottom: 0.4rem;
    }

    .parallax-subtitle {
        font-size: 0.88rem;
        margin-bottom: 1rem;
    }

    .news-grid-parallax {
        gap: 0.85rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
    }

    .news-content-parallax {
        padding: 0.9rem 0.85rem 1rem;
    }

    .news-title-parallax {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .news-description-parallax {
        font-size: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .news-btn-parallax {
        padding: 0.65rem 0.9rem;
        font-size: 0.8rem;
    }

    .view-all-btn-parallax {
        padding: 0.75rem 1.1rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .news-meta-parallax {
        gap: 0.4rem;
        margin-bottom: 0.65rem;
    }

    .news-date-parallax,
    .news-time-parallax {
        font-size: 0.68rem;
        padding: 0.15rem 0.45rem;
    }

    .news-image-parallax {
        height: 160px;
    }

    .blue-band .band-title {
        font-size: 1.25rem;
        padding: 0 0.25rem;
        word-wrap: break-word;
    }
}

/* Section Carousel des Partenaires */
.partners-section {
    padding: 4rem 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.partners-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.partners-track {
    display: flex;
    animation: scrollPartners 20s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Animation de défilement horizontal */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive pour la section partenaires */
@media (max-width: 768px) {
    .partners-section {
        padding: 2rem 0;
    }

    .partners-section .container {
        padding: 0 1rem;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
        margin: 0 1rem;
    }

    .partners-track {
        animation-duration: 18s;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 1.5rem 0;
    }

    .partners-section .container {
        padding: 0 0.75rem;
    }

    .partner-logo {
        width: 100px;
        height: 50px;
        margin: 0 0.75rem;
    }

    .partners-track {
        animation-duration: 15s;
    }
}

/* Section Newsletter */
.newsletter-section {
    background-color: #133867;
    padding: 4rem 0;
    color: white;
}

.newsletter-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter-description {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 0;
}

.newsletter-form-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.newsletter-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #133867;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.newsletter-input::placeholder {
    color: #6b7280;
}

.newsletter-btn {
    height: 55px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(45deg, #ffffff 0%, #f0f8ff 100%);
    color: #133867;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: linear-gradient(45deg, #f0f8ff 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.newsletter-btn:hover .newsletter-icon {
    transform: translateX(3px);
}

.newsletter-privacy {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
    margin: 0;
}

/* Responsive pour la newsletter */
@media (max-width: 1024px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .newsletter-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-section .container {
        padding: 0 1rem;
    }

    .newsletter-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .newsletter-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .newsletter-form-container {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }

    .newsletter-privacy {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 2rem 0;
    }

    .newsletter-section .container {
        padding: 0 0.75rem;
    }

    .newsletter-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .newsletter-description {
        font-size: 1rem;
    }

    .newsletter-input {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .newsletter-btn {
        height: 50px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .newsletter-privacy {
        font-size: 0.8rem;
    }
}

/* Meta des actualités dans le parallax */
.news-meta-parallax {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(19, 56, 103, 0.1);
}

.news-date-parallax {
    font-size: 0.85rem;
    font-weight: 600;
    color: #133867;
    background: rgba(19, 56, 103, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-time-parallax {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    background: rgba(107, 114, 128, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

/* Ajustement de l'espacement pour le titre */
.news-title-parallax {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: #e2e8f0;
}

.footer-main {
    padding: 4rem 0 3rem 0;
}

.footer-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

/* Colonne 1 : Logo et description */
.footer-logo {
    margin-bottom: 1.5rem;
}

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

.footer-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #a0aec0;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #133867;
    color: white;
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Colonnes 2, 3, 4 : Liens et contact */
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #133867;
}

/* Section contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #a0aec0;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #133867;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Footer inférieur avec copyright */
.footer-bottom {
    background-color: #0f1419;
    padding: 1.5rem 0;
    border-top: 1px solid #2d3748;
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-bottom-content {
    text-align: center;
}

.copyright {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
}

.footer-bottom-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
}

.footer-sep {
    color: #718096;
}

.footer-bottom-link {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #133867;
}

/* Responsive pour le footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 40rem;
    }
}

@media (max-width: 768px) {
    .footer {
        overflow-x: hidden;
    }

    .footer-main {
        padding: 2.25rem 0 1.75rem;
    }

    .footer-main .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1rem;
        text-align: left;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 0.25rem;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }

    .footer-logo {
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }

    .footer-logo img {
        height: 48px;
        max-width: 100%;
    }

    .footer-description {
        max-width: 100%;
        margin: 0 auto 1.25rem;
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .footer-social {
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 0.85rem;
        letter-spacing: 0.4px;
    }

    .footer-links li {
        margin-bottom: 0.55rem;
    }

    .footer-link {
        font-size: 0.88rem;
        display: inline-block;
        padding: 0.15rem 0;
    }

    .footer-contact {
        gap: 0.85rem;
    }

    .contact-item {
        align-items: flex-start;
        gap: 0.65rem;
        font-size: 0.88rem;
        line-height: 1.5;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .contact-item a {
        color: #a0aec0;
        text-decoration: none;
        word-break: break-all;
    }

    .contact-item a:hover {
        color: #fff;
    }

    .contact-icon {
        width: 18px;
        height: 18px;
        margin-top: 0.15rem;
    }

    .footer-bottom {
        padding: 1.1rem 0;
    }

    .footer-bottom .container {
        padding: 0 1rem;
    }

    .footer-bottom-content {
        text-align: center;
    }

    .copyright {
        font-size: 0.8rem;
        line-height: 1.65;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
    }

    .copyright .footer-sep {
        display: none;
    }

    .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem 0.85rem;
    }

    .footer-bottom-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 1.75rem 0 1.35rem;
    }

    .footer-main .container {
        padding: 0 0.85rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .footer-column:first-child,
    .footer-column:last-child {
        grid-column: 1;
    }

    .footer-column:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 1rem;
        margin-bottom: 0.15rem;
    }

    .footer-title {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }

    .footer-description {
        font-size: 0.86rem;
        margin-bottom: 1rem;
    }

    .footer-logo img {
        height: 42px;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-bottom .container {
        padding: 0 0.85rem;
    }

    .copyright {
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }
}

/* Page À propos - Hero Section */
.hero-section-about {
    position: relative;
    height: 30vh;
    background: linear-gradient(135deg, #133867 0%, #1e4a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-section-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Section À propos de nous */
.about-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-10px);
}

.about-content {
    padding-left: 2rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #133867;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Section Mission */
.mission-section {
    position: relative;
    padding: 5rem 0;
    background-color: transparent;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/paralax01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    animation: missionParallaxMove 25s ease-in-out infinite;
}

.mission-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #133767ad;
    z-index: 2;
}

@keyframes missionParallaxMove {

    0%,
    100% {
        background-position: center;
        transform: scale(1);
    }

    50% {
        background-position: center;
        transform: scale(1.1);
    }
}

@keyframes objectivesParallaxMove {

    0%,
    100% {
        background-position: center;
        transform: scale(1);
    }

    50% {
        background-position: center;
        transform: scale(1.05);
    }
}

.mission-section .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content {
    padding-right: 2rem;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: justify;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #d1d8e2;
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #d1d8e2;
    font-weight: bold;
    font-size: 1.2rem;
}

.mission-image {
    text-align: center;
}

.mission-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.mission-image img:hover {
    transform: translateY(-10px);
}

/* Section Vision */
.vision-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.vision-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-image {
    text-align: center;
}

.vision-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.vision-image img:hover {
    transform: translateY(-10px);
}

.vision-content {
    padding-left: 2rem;
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #133867;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vision-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.vision-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: #133867;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(19, 56, 103, 0.2);
}

.value-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #133867;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-item p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Section Objectifs */
.objectives-section {
    position: relative;
    padding: 5rem 0;
    background-color: transparent;
    overflow: hidden;
}

.objectives-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/paralax02.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    animation: objectivesParallaxMove 25s ease-in-out infinite;
}

.objectives-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #133767ad;
    z-index: 2;
}

.objectives-section .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.objectives-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.objective-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.25rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #133867;
}

.objective-icon {
    color: #133867;
    margin-bottom: 1rem;
}

.objective-icon svg {
    width: 2rem;
    height: 2rem;
}

.objective-icon svg {
    width: 2rem;
    height: 2rem;
}

.objective-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #133867;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.objective-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #2d3748;
}

/* Section Gouvernance */
.governance-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.governance-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.governance-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #133867;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.governance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.governance-text {
    padding-right: 2rem;
}

.governance-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: justify;
}

.governance-structure {
    display: grid;
    gap: 1.5rem;
}

.structure-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border-left: 4px solid #133867;
    transition: all 0.3s ease;
}

.structure-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(19, 56, 103, 0.2);
}

.structure-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #133867;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.structure-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
}

.governance-image {
    text-align: center;
}

.governance-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.governance-image img:hover {
    transform: translateY(-10px);
}

/* Responsive pour la page À propos */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .mission-grid,
    .vision-grid,
    .governance-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-content,
    .mission-content,
    .vision-content,
    .governance-text {
        padding: 0;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .vision-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section-about {
        height: 50vh;
    }

    .mission-section::before {
        background-attachment: scroll;
        animation: none;
    }

    .mission-section::after {
        background: linear-gradient(135deg, rgba(19, 56, 103, 0.8) 0%, rgba(30, 74, 138, 0.7) 100%);
    }

    .objectives-section::before {
        background-attachment: scroll;
        animation: none;
    }

    .objectives-section::after {
        background: rgba(19, 55, 103, 0.9);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-section,
    .mission-section,
    .vision-section,
    .objectives-section,
    .governance-section {
        padding: 3rem 0;
    }

    .about-title,
    .mission-title,
    .vision-title,
    .objectives-title,
    .governance-title {
        font-size: 2rem;
    }

    .objective-card {
        padding: 1rem;
    }

    .structure-item {
        padding: 1.25rem;
    }
}


/* Section Search Dropdown Styles */
.container-search {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-search-dropdown {
    background: #a9d1e9;
    width: 100%;
    padding: 0.5rem 0 2rem 0;
    margin: 2rem 0 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.section-search-dropdown form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-search-dropdown .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.section-search-dropdown label {
    font-weight: 600;
    color: #374151;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-search-dropdown .newsletter-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: white;
    min-width: 180px;
}

.section-search-dropdown .newsletter-input:focus {
    outline: none;
    border-color: #133867;
    box-shadow: 0 0 0 3px rgba(19, 56, 103, 0.1);
}

.section-search-dropdown .newsletter-input option {
    padding: 0.5rem;
}

/* Section Search Bar Styles */
.section-search-bar {
    margin: 0;
    border-radius: 0 0 12px 12px;
}

/* Search Text Styles */
.search-text {
    background: #a9d1e9;
    padding: 1rem 0;
    text-align: center;
    color: #133867;
    font-weight: 600;
    font-size: 1.1rem;
}

.search-text h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #133867;
}

.search-text p {
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
    color: #374151;
    opacity: 0.9;
}

.section-search-bar form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-search-bar .newsletter-input {
    flex: 1;
    min-width: 300px;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.section-search-bar .newsletter-input:focus {
    outline: none;
    border-color: #133867;
    box-shadow: 0 0 0 3px rgba(19, 56, 103, 0.1);
}

.section-search-bar .newsletter-input::placeholder {
    color: #9ca3af;
}

.section-search-bar .search-btn {
    background: linear-gradient(135deg, #133867 0%, #1e40af 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.section-search-bar .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Styles pour la version desktop de la recherche */
.search-form-desktop {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: end;
}

.search-bar-desktop {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-bar-desktop .newsletter-input {
    flex: 1;
    min-width: 300px;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-bar-desktop .search-btn {
    background: linear-gradient(135deg, #133867 0%, #1e40af 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    white-space: nowrap;
}

.search-bar-desktop .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for search sections */
@media (max-width: 768px) {
    .search-form-desktop {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .search-bar-desktop {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .search-bar-desktop .newsletter-input {
        min-width: auto;
        width: 100%;
    }

    .search-bar-desktop .search-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-search-dropdown {
        padding: 1.5rem 0;
        margin: 1rem 0;
    }

    .section-search-dropdown form {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .section-search-dropdown .form-group {
        min-width: auto;
        width: 100%;
    }

    .section-search-dropdown .newsletter-input {
        min-width: auto;
        width: 100%;
    }

    .section-search-bar {
        padding: 1rem 0;
    }

    .section-search-bar form {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .section-search-bar .newsletter-input {
        min-width: auto;
        width: 100%;
    }

    .section-search-bar .search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Login Page Styles */
.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #133867;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

/* Social Login Section */
.social-login-section {
    margin-bottom: 2rem;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 0.75rem;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.google-btn {
    color: #374151;
}

.google-btn:hover {
    border-color: #4285F4;
    background: #f8fafc;
}

.facebook-btn {
    color: #1877F2;
}

.facebook-btn:hover {
    border-color: #1877F2;
    background: #f0f7ff;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider-text {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Form Styles */
.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #133867;
    box-shadow: 0 0 0 3px rgba(19, 56, 103, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Password Input Group */
.password-input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #133867;
}

.eye-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Password character counter */
.password-counter {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: right;
}

.password-counter span {
    font-weight: 600;
    color: #133867;
}

/* Password requirement text for registration */
.password-requirement {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.password-requirement::before {
    content: 'ℹ️';
    font-size: 0.75rem;
}

/* Disabled field styling for registration */
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

input:disabled:focus,
select:disabled:focus,
textarea:disabled:focus {
    outline: none !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
}

/* Registration page split layout responsive styles */
@media (max-width: 1024px) {
    .flex.h-screen {
        flex-direction: column;
        height: auto;
    }

    .w-1\/2 {
        width: 100% !important;
        height: auto !important;
        min-height: 50vh;
    }

    .bg-gradient-to-br {
        padding: 2rem 0;
    }

    .bg-gray-50 {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .bg-gradient-to-br {
        padding: 1.5rem 0;
    }

    .bg-gray-50 {
        padding: 1rem;
    }

    .text-4xl {
        font-size: 2rem;
    }

    .text-xl {
        font-size: 1rem;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* Map styling */
#userMap {
    border: none;
    border-radius: 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.leaflet-popup-tip {
    background: white;
}

.leaflet-control-zoom a {
    background-color: white;
    border: 1px solid #ccc;
}

.leaflet-control-zoom a:hover {
    background-color: #f8f9fa;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 1rem;
    height: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-input:checked+.checkbox-custom {
    background: #133867;
    border-color: #133867;
}

.checkbox-input:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.forgot-link {
    color: #133867;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Login Submit Button */
.login-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #133867 0%, #1e40af 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.login-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

.login-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Signup Section */
.signup-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.signup-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.signup-link {
    color: #133867;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Responsive adjustments for login page */
@media (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
        margin: 1rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .forgot-link {
        align-self: flex-end;
    }
}

/* Registration (Inscription) Page Styles */
.shadow-md {
    --tw-shadow: none !important;
    box-shadow: none !important;
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: none !important;
}

.register-card {
    margin-top: 6rem !important;
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.register-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.register-title {
    font-size: 2rem;
    font-weight: 800;
    color: #133867;
    margin: 0 0 .25rem 0;
}

.register-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.register-progress {
    margin: 1.25rem 0 2rem 0;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #133867 0%, #1e4a8a 100%);
    border-radius: 9999px;
    transition: width .3s ease;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: .75rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #6b7280;
}

.progress-step .step-index {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #e5e7eb;
    color: #374151;
    font-weight: 700;
    font-size: .85rem;
}

.progress-step .step-label {
    font-size: .9rem;
    font-weight: 600;
}

.progress-step.active .step-index {
    background: #133867;
    color: #ffffff;
}

.progress-step.active .step-label {
    color: #133867;
}

.progress-step.completed .step-index {
    background: #1e4a8a;
    color: #ffffff;
}

.progress-step.completed .step-label {
    color: #1e4a8a;
}

.register-step {
    animation: stepFade .25s ease;
}

@keyframes stepFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-actions {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.5rem;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    padding: .85rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    transition: all .2s ease;
}

.btn-secondary:hover:not(:disabled) {
    background: #e5e7eb;
}

.btn-secondary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.register-footer {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .register-card {
        padding: 1.25rem;
    }

    .register-title {
        font-size: 1.6rem;
    }

    .progress-steps {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}

/* ─── Section reportages vidéo (accueil) ───────────────────────── */
.reportages-section {
    padding: 3rem 0 3.5rem;
    background: #f8fafc;
}

/* Une seule vidéo : fond noir, lecteur centré, largeur max raisonnable */
.reportages-section--single {
    padding: 2rem 1rem 2.75rem;
    background: #000;
}

.reportages-cinema-wrap {
    max-width: min(880px, 94vw);
    margin: 0 auto;
}

.reportages-intro {
    text-align: center;
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.reportage-stage {
    width: 100%;
}

.reportages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.75rem;
}

.reportage-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.reportage-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.reportage-frame--cinema {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

.reportage-video-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.reportage-frame iframe,
.reportage-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.reportage-frame video {
    object-fit: contain;
    background: #000;
}

.reportage-codec-msg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #fecaca;
    background: rgba(15, 23, 42, 0.92);
    text-align: center;
}

.reportage-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.reportage-external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    background: #133867;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.reportage-external-link:hover {
    background: #1e4a8c;
}

.reportage-meta {
    padding: 1rem 1.15rem 1.25rem;
}

.reportage-meta--cinema {
    padding: 1.35rem 0 0;
    text-align: center;
    background: transparent;
}

.reportage-title--cinema {
    color: #f1f5f9;
    font-size: 1.125rem;
    margin-top: 0.35rem;
}

.reportage-badge--cinema.reportage-badge--reportage {
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
}

.reportage-badge--cinema.reportage-badge--annonce {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
}

.reportage-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.reportage-badge--reportage {
    background: #e0f2fe;
    color: #0369a1;
}

.reportage-badge--annonce {
    background: #fef3c7;
    color: #92400e;
}

.reportage-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
}

@media (max-width: 640px) {
    .reportages-section {
        padding: 2rem 0 2.5rem;
    }

    .reportages-section--single {
        padding: 1.5rem 0.75rem 2rem;
    }

    .reportages-grid {
        gap: 1.25rem;
    }

    .reportage-title--cinema {
        font-size: 1rem;
    }
}