/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales - HSL */
    --primary: hsl(152, 69%, 31%);
    --primary-light: hsl(152, 57%, 45%);
    --primary-glow: hsl(152, 77%, 42%);
    --primary-foreground: hsl(0, 0%, 100%);
    
    /* Couleurs de fond */
    --background: hsl(0, 0%, 100%);
    --background-light: hsl(152, 77%, 97%);
    --foreground: hsl(222, 84%, 5%);
    
    /* Couleurs secondaires */
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215, 16%, 47%);
    --border: hsl(214, 32%, 91%);
    
    /* Ombres */
    --shadow-soft: 0 4px 20px hsla(152, 69%, 31%, 0.1);
    --shadow-glow: 0 10px 30px hsla(152, 77%, 42%, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

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

/* Typography */
h1 { font-size: 3rem; font-weight: 700; line-height: 1.1; }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }

p { margin-bottom: 1rem; }

.text-large { font-size: 1.125rem; line-height: 1.75; color: var(--muted-foreground); }
.highlight { color: var(--primary); }
.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--foreground);
}

.logo-text p {
    font-size: 0.75rem;
    margin: 0;
    color: var(--primary);
    font-weight: 500;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.btn-nav-primary {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: var(--primary-foreground) !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-nav-primary::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--foreground);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.mobile-nav.active {
    display: flex;
}
.mobile-nav a {
    color: #000000 !important;  /* Noir au lieu de bleu */
    text-decoration: none !important;  /* Enlève le soulignement */
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.mobile-nav a:hover,.mobile-nav a.active {
    color: #10b981 !important;  /* ✅ Texte en vert */
    font-weight: 600 !important;  /* Un peu plus gras */
}

.mobile-nav a.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;  /* Trait fin */
    background: #10b981 !important;
    border-radius: 2px !important;
}
/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJoc2woMTUyLCA2OSUsIDMxJSkiIHN0cm9rZS1vcGFjaXR5PSIwLjA1IiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
    padding: 80px 0;
}

.histoire-section {
    background: var(--background);
}

.mission-section {
    background: linear-gradient(180deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
}

.equipe-section {
    background: var(--background);
}

.video-section {
    background: linear-gradient(180deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
}

.news-section {
    background: var(--background);
}

/* Grilles */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: hsl(152, 77%, 97%);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge i {
    font-size: 1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-box {
    padding: 1.5rem;
    background: hsl(152, 77%, 97%);
    border-radius: 12px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Image Placeholder */
.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
    background: url(public/centr.jpeg) center/cover no-repeat ;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.icon-large {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.icon-xl {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--muted-foreground);
}

/* Cards */
.card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-light);
}

.value-card {
    text-align: center;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: hsl(152, 77%, 97%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-wrapper i {
    font-size: 1.75rem;
    color: var(--primary);
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--muted-foreground);
    margin: 0;
}

/* Mission Card */
.mission-card {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.mission-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.mission-card p {
    font-size: 1.125rem;
    line-height: 1.75;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
}

/* Team */
.team-photo-card {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}
/* .team-photo-placeholder img {
   object-fit: contain;
   object-position: center;
} */
.team-photo-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
    background-image: url('public/equipe.jpeg');
    background-size: cover;          /* 🔥 L’image remplit toute la div */
    background-position: center;     /* 🔥 L’image est centrée */
    background-repeat: no-repeat;    /* 🔥 Pas de répétition */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeFirst 1s ease-out;
}

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




/* Lists */
.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--muted-foreground);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Certifications */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cert-icon {
    width: 40px;
    height: 40px;
    background: hsl(152, 77%, 97%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon i {
    color: var(--primary);
}

/* Video Section */
.video-card {
    max-width: 900px;
    margin: 0 auto 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--border);
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
    background-image: url(public/logop.JPG);
    background-size: cover;          /* 🔥 L’image remplit toute la div */
    background-position: center;     /* 🔥 L’image est centrée */
    background-repeat: no-repeat;    /* 🔥 Pas de répétition */
    

}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.video-overlay:hover .play-button {
    transform: scale(1.1);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
/* ===== CARROUSEL D'ÉQUIPE ===== */
.team-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    width: 100%;
}

.team-carousel {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.45s ease-in-out;
    will-change: transform;
}

.team-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 10px;
}

/* — Photo d'équipe — */
.team-slide.team-photo-slide {
    justify-content: center;
}

.team-photo-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.team-photo-placeholder {
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
    background-image: url('public/equipe.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* ===== MEMBRE INDIVIDUEL ===== */
.member-photo {
    width: 45%;
    flex-shrink: 0;
}

.member-photo-img {
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.member-info {
    flex: 1;
    padding: 2rem;
}

.member-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.member-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-experience {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--background-light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.member-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}


/* Contrôles du carrousel */
.team-carousel-container {
    position: relative; /* IMPORTANT pour position absolute des flèches */
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
     position: relative;
    z-index: 20;
}


/* Position absolute des boutons (gauche / droite), légèrement vers le haut */
#prevBtn,
#nextBtn {
    position: absolute;
    top: 45%; /* un peu en haut du centre */
    transform: translateY(-45%); /* ajustement fin */
    z-index: 30;
    background: var(--primary);
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
}

/* Conserves les styles existants (hover, taille, etc.) */
#prevBtn:hover,
#nextBtn:hover {
    background: var(--primary-glow);
    transform: translateY(-45%) scale(1.06);
    box-shadow: var(--shadow-glow);
}

/* Décalage horizontal */
#prevBtn { left: 12px; }   /* à gauche */
#nextBtn { right: 12px; }  /* à droite */

/* Icoms */
#prevBtn i, #nextBtn i {
    font-size: 1.15rem;
}

/* Rendre accessible (focus) */
#prevBtn:focus, #nextBtn:focus {
    outline: 3px solid rgba(16,185,129,0.18);
    outline-offset: 3px;
}

/* Responsive : réduire la taille sur petit écran et rapprocher */
@media (max-width: 768px) {
    #prevBtn, #nextBtn {
        width: 44px;
        height: 44px;
        top: 42%;
        transform: translateY(-42%);
    }
    #prevBtn { left: 8px; }
    #nextBtn { right: 8px; }
}

/* Optionnel : cacher les flèches si tu veux (ex: small screens) 
@media (max-width: 420px) {
    #prevBtn, #nextBtn { display: none; }
}
*/

/* Petit ajustement pour que les dots restent au-dessus de l'image */
.carousel-dots {
    z-index: 25;
}

.carousel-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.carousel-button:hover {
    background: var(--primary-glow);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.carousel-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-button:disabled:hover {
    transform: scale(1);
    background: var(--primary);
    box-shadow: var(--shadow-soft);
}

.carousel-button i {
    font-size: 1.25rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--primary-light);
}

.carousel-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

/* ===== SECTION TÉMOIGNAGES VIDÉO ===== */
.testimonials-section {
    background: linear-gradient(180deg, hsl(152, 77%, 97%), hsl(152, 57%, 95%));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr; /* Une colonne sur PC aussi */
    gap: 3rem;
    max-width: 800px; /* Limite la largeur pour un meilleur design */
    margin: 0 auto;
}

.testimonial-video-card {
    background: var(--background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.testimonial-video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.testimonial-video {
    width: 100%;
    height: 450px; /* Hauteur fixe pour un bon ratio */
    object-fit: cover;
    display: block;
    background: #000; /* Fond noir pendant le chargement */
}

/* Masquer les contrôles non essentiels */
.testimonial-video::-webkit-media-controls-enclosure {
    border-radius: 0;
}

.testimonial-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* Afficher uniquement play, timeline et fullscreen */
.testimonial-video::-webkit-media-controls-timeline,
.testimonial-video::-webkit-media-controls-current-time-display,
.testimonial-video::-webkit-media-controls-time-remaining-display,
.testimonial-video::-webkit-media-controls-play-button,
.testimonial-video::-webkit-media-controls-fullscreen-button {
    display: flex;
}

.video-info {
    padding: 1.5rem;
    background: var(--background);
}

.video-info h3 {
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.video-info i {
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Carrousel mobile */
    .team-slide {
        flex-direction: column;
        gap: 2rem;
        padding: 0 5px;
    }

    .member-photo {
        width: 100%;
    }

    .member-photo-img {
        height: 450px; /* Réduit sur mobile mais toujours bien visible */
    }

    .member-info {
        padding: 1rem;
    }

    .member-name {
        font-size: 2rem;
    }

    .member-title {
        font-size: 1.25rem;
    }

    .member-experience {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

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

    .team-photo-placeholder {
        height: 400px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }

    .carousel-button i {
        font-size: 1rem;
    }

    /* Témoignages mobile */
    .testimonials-grid {
        gap: 2rem;
    }

    .testimonial-video {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .member-name {
        font-size: 1.75rem;
    }

    .member-title {
        font-size: 1.125rem;
    }

    .team-photo-placeholder {
        height: 350px;
    }

    .member-photo-img {
        height: 400px;
    }

    .carousel-controls {
        gap: 1rem;
    }

    .testimonial-video {
        height: 300px;
    }
}

.play-button i {
    color: var(--primary-foreground);
    font-size: 2rem;
    margin-left: 4px;
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 1.5rem;
}

.video-caption p {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

/* Event Cards */
.event-card {
    overflow: hidden;
}

.card-accent {
    height: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    margin: -2rem -2rem 0;
}

.card-accent-muted {
    height: 8px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    opacity: 0.6;
    margin: -2rem -2rem 0;
}

.card-content {
    padding-top: 2rem;
}

.event-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: hsl(152, 77%, 97%);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.event-badge-muted {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.active-event:hover .event-title {
    color: var(--primary);
}

.event-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.event-detail-item i {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    color: var(--primary-foreground);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: transparent;
    color: var(--foreground);
    text-decoration: none;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

.btn-secondary-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: var(--background);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: transparent;
    color: var(--primary-foreground);
    text-decoration: none;
    border: 2px solid var(--primary-foreground);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--primary-foreground);
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 80px 0;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: hsl(222, 84%, 5%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.footer-logo-text h3 {
    font-size: 1.25rem;
    margin: 0;
}

.footer-logo-text p {
    font-size: 0.75rem;
    color: var(--primary-light);
    margin: 0;
}

.footer-section p {
    color: hsl(0, 0%, 70%);
    font-size: 0.875rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: hsl(0, 0%, 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: hsl(0, 0%, 70%);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: hsl(0, 0%, 70%);
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 0.125rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsl(0, 0%, 20%);
    text-align: center;
}

.footer-copyright {
    color: hsl(0, 0%, 70%);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .grid-3-cols {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* ===== POSITION DES FLÈCHES SUR LES CÔTÉS ===== */
.side-controls {
    position: relative;
    width: 100%;
}

.side-controls .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Flèche gauche */
#prevBtn {
    left: 10px;
}

/* Flèche droite */
#nextBtn {
    right: 10px;
}

/* On enlève l'espace inutile */
.carousel-controls {
    margin-top: 0 !important;
}

/* Positionner les flèches à l'intérieur du carrousel, alignées avec .member-name */
.controls-inside {
    position: relative;
}

.controls-inside .carousel-button {
    position: absolute;
    top: 55%; /* 👉 ajuste ici si tu veux monter/descendre les flèches */
    transform: translateY(-50%);
    z-index: 20;
    background: white;
    box-shadow: var(--shadow-soft);
}

.controls-inside #prevBtn {
    left: -40px; /* 👉 place-la plus à gauche ou plus proche */
}

.controls-inside #nextBtn {
    right: -40px; /* 👉 place-la plus à droite ou plus proche */
}

/* Masque les flèches d’origine si nécessaires */
.side-controls {
    position: relative;
}
/* 📌 Vidéo en plein dans ta card */
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: no-repeat;
}
