/* style.css */

:root {
    /* Variables de mon style.css, harmonisées */
    --color-background: #F8F9FA; /* Fond grisâtre / blanc altéré, utilisé comme --primary-color */
    --color-background-alt: #FFFFFF; /* Utilisé comme --secondary-color */
    --color-text: #212529; /* Noir doux, utilisé comme --text-light */
    --color-text-muted: #6C757D; /* Utilisé comme --text-muted */
    --color-surface: #ffffff; /* Similaire à --color-background-alt */
    --color-border: #DEE2E6; /* Utilisé comme --border-color */
    --color-accent: #63C6E6; /* Bleu exact du logo, utilisé comme --accent-color */
    --color-accent-darker: #4EADC9; /* Bleu plus foncé pour le hover */

    /* Variables du ai_studio_code.css, mappées ou ajoutées */
    --primary-color: var(--color-background);
    --secondary-color: var(--color-background-alt); /* Souvent le fond des cartes/composants */
    --accent-color: var(--color-accent);
    --accent-color-light: #90D8EF; /* Une nuance plus claire de l'accent, ou rgba(99, 198, 230, 0.2) */
    --text-white: white; /* Pour le texte sur fonds sombres */
    --text-light: var(--color-text); /* Couleur de texte principale */
    --text-muted: var(--color-text-muted); /* Couleur de texte secondaire/gris */
    --border-color: var(--color-border);
    --background-color: var(--color-background); /* Alias de primary-color */
    --primary-color-dark: #E0E0E0; /* Pour l'image du team-card, un gris léger */

    /* Fonts mappées */
    --font-display: 'Space Grotesk', sans-serif; /* Pour les titres */
    --font-body: 'Inter', sans-serif; /* Pour le corps de texte */
    --font-secondary: var(--font-display); /* Mapping de ai_studio_code.css */
    --font-primary: var(--font-body); /* Mapping de ai_studio_code.css */

    /* Dimensions et ombres */
    --section-padding: 8rem 0;
    --header-height: 90px;
    --navbar-height: var(--header-height); /* Mapping de ai_studio_code.css */
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-accent: 0 15px 40px rgba(99, 198, 230, 0.25);
    --border-radius-main: 12px; /* Rayon de bordure généralisé */
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

p {
    line-height: 1.8;
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 65ch;
}

.section {
    padding: var(--section-padding);
}

/* =======================================
   ANIMATIONS
======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0) }
    40% { transform: translate(-50%, -25px) }
    60% { transform: translate(-50%, -15px) }
}

@keyframes bounce-subtle {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}


/* =================================
   HEADER / NAVBAR (SIMPLIFIED & UNIFIED)
   ================================= */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height); /* Default height */
    display: flex;
    align-items: center;
    background-color: var(--secondary-color); /* Default background color (white) */
    transition: background-color 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: 1px solid transparent; /* No border initially */
}

/* Specific transparent state for index page at top */
body.body-index-hero-transparent .navbar-custom {
    background-color: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.body-index-hero-transparent .navbar-custom .navbar-brand img {
    /* Optional: Add a shadow to the logo for better visibility on dark video background */
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.6));
}

body.body-index-hero-transparent .navbar-custom .navbar-nav .nav-link,
body.body-index-hero-transparent .navbar-custom .nav-button {
    color: var(--text-white); /* White text on transparent background */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7); /* For readability */
}

body.body-index-hero-transparent .navbar-custom .navbar-nav .nav-link:hover {
    color: var(--color-accent-light); /* Lighter accent on hover */
}

body.body-index-hero-transparent .navbar-custom .nav-button {
    background-color: rgba(99, 198, 230, 0.7); /* Slightly transparent accent button */
    box-shadow: 0 10px 20px rgba(99, 198, 230, 0.2); /* Lighter shadow */
}

body.body-index-hero-transparent .navbar-custom .nav-button:hover {
    background-color: var(--color-accent);
    box-shadow: 0 15px 30px rgba(99, 198, 230, 0.3);
}


.navbar-custom.scrolled {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly less transparent */
    backdrop-filter: blur(8px); /* Less aggressive blur */
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
    height: 75px;
    border-bottom-color: var(--border-color);
}

.navbar-custom .container {
    display: flex;
    justify-content: space-between; /* Logo left, collapse and button right */
    align-items: center;
    width: 100%;
}

.navbar-custom .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-custom .navbar-brand img {
    height: 55px; /* Default logo height */
    transition: height 0.4s ease;
}

.navbar-custom.scrolled .navbar-brand img {
    height: 45px; /* Smaller logo when scrolled */
    filter: none; /* Remove any filter applied for transparency */
}

.navbar-custom .navbar-collapse {
    flex-grow: 1; /* Allow the collapse div to take available space */
    display: flex;
    /* justify-content: flex-end; Removed to allow centering of nav-links-wrapper */
    align-items: center;
}

/* NEW WRAPPER FOR CENTERING NAV LINKS */
.navbar-custom .nav-links-wrapper {
    flex-grow: 1; /* Takes all available space between brand and button */
    display: flex;
    justify-content: center; /* Centers the actual navbar-nav within this wrapper */
    align-items: center;
    /* Optional: small padding to prevent logo collision on very small desktop screens */
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-custom .navbar-nav {
    margin: 0; /* Reset any previous auto margins */
    padding: 0; /* Reset */
    display: flex;
    gap: 15px; /* Keep compact gap */
}

.navbar-custom .navbar-nav .nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.7rem 0.5rem; /* Reduced horizontal padding for links */
    transition: color 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.95rem; /* Slightly smaller font for compactness */
    white-space: nowrap; /* Prevent text wrapping */
    outline: none !important; /* Remove default focus outline */
    border: none !important; /* Ensure no unwanted borders */
    box-shadow: none !important; /* Ensure no unwanted box-shadow */
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: var(--color-accent);
}
/* Specifically target dropdown toggles for focus styles */
.navbar-custom .dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}


/* Dropdown specific styles */
.navbar-custom .dropdown-menu {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-main);
    padding: 0.5rem 0;
    z-index: 1001; 
}

.navbar-custom .dropdown-item {
    color: var(--color-text);
    padding: 0.5rem 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: var(--font-body);
    font-size: 0.95rem; /* Slightly smaller for dropdown items */
    white-space: nowrap; /* Prevent text wrapping */
}

.navbar-custom .dropdown-item:hover {
    background-color: var(--accent-color-light);
    color: var(--color-text);
}

.navbar-custom .dropdown-item strong {
    color: var(--accent-color);
}

.navbar-custom .nav-button {
    background-color: var(--color-accent);
    color: white;
    padding: 0.7rem 1.4rem; /* Adjusted button padding for compactness */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 0.95rem; /* Match nav-link font size */
    margin-left: 20px; /* Space between the centered nav block and button */
}

/* Mobile Toggler */
.navbar-custom .navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: 0.25rem;
    transition: box-shadow 0.15s ease-in-out;
    outline: none !important; /* Remove default focus outline */
}

.navbar-custom .navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(99, 198, 230, 0.25); /* Accent color for focus ring */
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23212529' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); /* Dark icon for light navbar (default) */
}


/* Mobile Menu (SIMPLIFIED) */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        position: absolute; /* Changed from fixed */
        top: var(--header-height); /* Position below the main navbar */
        left: 0;
        width: 100%;
        background-color: var(--secondary-color); /* Use main navbar background */
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-md); /* Add shadow for depth */
        display: block; /* Override flex for column layout */
        padding: 1rem 0;
    }

    .navbar-custom.scrolled .navbar-collapse {
        top: 75px; /* Adjust top when scrolled */
    }

    .navbar-custom .nav-links-wrapper { /* Ensure wrapper doesn't interfere on mobile */
        flex-grow: unset; /* Reset flex-grow */
        justify-content: unset; /* Reset justify-content */
        padding-left: 0; /* Reset padding */
        padding-right: 0; /* Reset padding */
    }

    .navbar-custom .navbar-nav {
        flex-direction: column; /* Stack links vertically */
        gap: 0.5rem; /* Space between links */
        text-align: center;
        margin-right: 0; /* Reset margin for mobile */
        padding-left: 0; /* Reset padding for mobile */
    }

    .navbar-custom .navbar-nav .nav-link {
        color: var(--color-text); /* Use default text color */
        font-size: 1.1rem; /* Slightly larger for mobile */
        padding: 0.75rem 1rem; /* Generous padding for tap targets */
        margin: 0; /* No extra margin */
        text-shadow: none; /* Remove text shadow for mobile menu */
    }

    .navbar-custom .nav-button { /* Style the 'Nous soutenir' button in mobile menu */
        margin: 1.5rem auto 0.5rem auto; /* Center the button and add top margin */
        width: fit-content;
        padding: 1rem 2.5rem; /* Larger padding for mobile button */
        font-size: 1.05rem;
        color: var(--text-white); /* Ensure button text is white on accent background */
        text-shadow: none; /* Remove text shadow for button */
        background-color: var(--color-accent); /* Solid accent color */
    }
}


/* =================================
   HERO SECTION (index.html)
   ================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-background);
    padding-top: var(--header-height); /* Ensure content is below fixed header */
}

/* --- DEBUT MODIFICATIONS VIDEO INDEX --- */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: sepia(50%) brightness(80%); /* Filtre appliqué UNIQUEMENT à la vidéo de l'index */
}

/* Assure que les autres vidéos sur les pages de contenu n'ont pas de filtre */
.hero-video:not(.hero-video-bg) {
    filter: none;
}
/* --- FIN MODIFICATIONS VIDEO INDEX --- */

.hero::after,
.activity-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

.hero-content-wrapper h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    color: var(--color-background);
    margin-bottom: 2rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-family: var(--font-body);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 3s infinite ease-in-out;
    cursor: pointer;
}

.scroll-indicator i {
    font-size: 2.2rem;
    color: var(--color-background);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* =================================
   SECTIONS VERTICALES (ACTIVITÉS - styles de l'index.html)
   ================================= */
.activity-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 6rem 4rem;
    overflow: hidden;
}

/* Position par défaut : Centre */
.activity-section {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.activity-section.position-top-left {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}
.activity-section.position-top-right {
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
}
.activity-section.position-bottom-left {
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
}
.activity-section.position-bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

.activity-section.position-top-left .page-content p,
.activity-section.position-bottom-left .page-content p,
.activity-section.position-top-left .testimonials-grid,
.activity-section.position-bottom-left .testimonials-grid {
    margin-left: 0;
    margin-right: auto;
}

.activity-section.position-top-right .page-content p,
.activity-section.position-bottom-right .page-content p,
.activity-section.position-top-right .testimonials-grid,
.activity-section.position-bottom-right .testimonials-grid {
    margin-left: auto;
    margin-right: 0;
}

.activity-section .activity-link-wrapper {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: white;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.position-top-left .activity-link-wrapper,
.position-bottom-left .activity-link-wrapper {
     align-items: flex-start;
}
.position-top-right .activity-link-wrapper,
.position-bottom-right .activity-link-wrapper {
     align-items: flex-end;
}
.activity-section:not(.position-top-left):not(.position-top-right):not(.position-bottom-left):not(.position-bottom-right) .activity-link-wrapper {
    align-items: center;
    justify-content: center;
}

.activity-section .section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background-attachment: fixed;
}

.page-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
}

.page-content h2 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.page-content p {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    max-width: 60ch;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Centre le paragraphe pour les sections centrées */
.activity-section:not(.position-top-left):not(.position-top-right):not(.position-bottom-left):not(.position-bottom-right) .page-content p {
    margin-left: auto;
    margin-right: auto;
}

.page-content .page-link {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all .3s ease;
    display: inline-block;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.2);
}

.activity-link-wrapper:hover .page-link {
    background-color: #fff;
    color: #000;
    transform: scale(1.05);
    text-shadow: none;
}
.activity-link-wrapper:hover h2 {
    color: var(--color-accent);
    text-shadow: none;
}

/* Note: ai_studio_code.css a aussi .testimonials-grid, mais pour des cartes différentes.
   Je garde celui-ci pour les sections d'activités, et le nouveau pour une section dédiée. */
.activity-section .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
}

.activity-section .testimonial-item {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-style: italic;
    font-size: 0.95rem;
    text-align: left;
    color: #FFFFFF;
}

.activity-section .testimonial-item footer {
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    color: #FFFFFF;
    opacity: 0.85;
}

/* =================================
   CTA FINAL (bas de page index.html)
   ================================= */
.final-cta {
    padding: 6rem 0;
    text-align: center;
    background: var(--color-background);
}

.final-cta h2 {
    font-weight: 700;
    margin: 0 auto 3.5rem auto;
    max-width: 700px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-text);
    text-transform: none;
    letter-spacing: normal;
}

.cta-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.final-cta .cta-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s ease;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 2px solid transparent;
}

.final-cta .cta-link.primary {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.final-cta .cta-link.primary:hover {
    background: var(--color-accent-darker);
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(99, 198, 230, 0.3);
}

.final-cta .cta-link.secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.final-cta .cta-link.secondary:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

/* =================================
   FOOTER (index.html, avec background planches)
   ================================= */
.site-footer {
    padding: 6rem 0 3rem;
    position: relative;
    background-color: #f0f0f0;
    color: var(--color-text);
    overflow: hidden;
}

/* Nouvelle règle pour l'image de fond du footer directement dans le HTML */
.footer-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Opacité de 30% */
    z-index: 0;
    pointer-events: none; /* Permet aux événements de souris de passer à travers l'image */
}

.site-footer .container {
    position: relative; /* Pour que le contenu du container soit au-dessus de l'image de fond */
    z-index: 1; /* Assure que le contenu est devant l'image */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-grid h5 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-grid p {
    font-size: 1rem;
    color: var(--color-text);
}

.footer-grid ul {
    list-style: none;
    padding: 0;
}

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

.footer-grid ul a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-grid ul a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: none;
}
.footer-bottom .fa-heart {
    color: var(--accent-color-light); /* Utilise la nouvelle variable */
}

/* =======================================
   FEATURE SECTIONS & BUTTONS
======================================== */
.feature-section {
    padding: 120px 0;
    overflow: hidden;
}

.btn-modern {
    align-self: flex-start;
    padding: 14px 35px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-modern:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(110, 200, 242, 0.2);
}

/* =======================================
   FOOTER MODERN (pour d'autres pages si besoin)
======================================== */
/* --- DEBUT MODIFICATIONS FOOTER MODERN --- */
.footer-modern {
    background-color: var(--secondary-color); /* Garde la couleur de fond existante */
    color: var(--text-muted);
    padding: 100px 0 0;
    border-top: 1px solid var(--border-color);
    position: relative; /* Nécessaire pour le pseudo-élément */
    overflow: hidden; /* S'assure que l'image de fond reste dans le footer */
}

/* L'image de fond du footer moderne reste via ::before car elle n'est pas sur la page index.html */
.footer-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/planches.jpg'); /* Chemin de votre image */
    background-size: cover;
    background-position: center;
    opacity: 0.3; /* Opacité de 30% */
    z-index: 0; /* Place l'image derrière le contenu textuel */
    pointer-events: none; /* Permet aux événements de souris de passer à travers l'image */
}

.footer-top,
.footer-bottom {
    position: relative; /* Pour que le contenu du container soit au-dessus de l'image de fond */
    z-index: 1; /* Assure que le contenu est devant le pseudo-élément */
}
/* --- FIN MODIFICATIONS FOOTER MODERN --- */


.footer-modern .footer-logo img {
    max-height: 50px;
    margin-bottom: 1.5rem;
}

.footer-slogan {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
}

.footer-modern h5 {
    font-family: var(--font-secondary);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-modern ul li {
    margin-bottom: 0.8rem;
}

.footer-modern ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-modern ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logofooter{
  text-decoration: none;
}

.footer-contact li i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
    text-decoration: none;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(110, 200, 242, 0.2);
}

.footer-modern .footer-bottom { /* Spécificité pour le footer modern */
    padding: 1.5rem 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-modern .footer-bottom p { /* Spécificité pour le footer modern */
    margin: 0;
    font-size: 0.9rem;
}

.slide-text-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.slide-text-link:hover {
    color: inherit;
}

/* ===================================================================
   STYLES SPÉCIFIQUES: PAGE THEATRE A DOMICILE
====================================================================== */

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 5;
}

/* ===================================================================
   STYLE SPÉCIFIQUE : BLOC D'APPEL À L'ACTION (CTA)
====================================================================== */
#contact-cta.feature-section {
    background-color: transparent;
    padding: 80px 0;
}

#contact-cta .feature-content {
    background-color: var(--secondary-color);
    padding: clamp(2.5rem, 5vw, 4rem);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-cta .feature-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

#contact-cta h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
}

#contact-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto;
    line-height: 1.7;
}

#contact-cta .btn-modern {
    margin-top: 1.5rem;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
}

/* ===================================================================
   SECTION TITRE DE PAGE
====================================================================== */

.page-title-section {
    background-color: var(--secondary-color);
    padding: 3rem 1.5rem;
    text-align: center; /* This should ensure direct text children are centered */
    border-bottom: 1px solid var(--border-color);
    /* Adding flex properties to help center block elements within, in case text-align doesn't fully apply */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers block-level content horizontally */
    justify-content: center; /* Centers content vertically if there's extra space */
    min-height: 100px; /* Ensure a minimum height for the title section */
    padding-top: calc(3rem + 75px); /* Add padding to account for fixed header height (scrolled state) */
}

/* Specific styling for the elements within page-title-section to ensure they are centered */
.page-title-section h1,
.page-title-section .lead,
.page-title-section .page-subtitle-secondary {
    margin-left: auto; /* For block elements, auto margins center them if they have a defined width */
    margin-right: auto;
    max-width: 90%; /* Prevent them from stretching full width */
    text-align: center; /* Ensure text inside them is centered */
}


/* ===================================================================
   NOUVEAU STYLE : BOUTON SON VIDÉO
====================================================================== */
/* This will be handled by JavaScript in script.js to dynamically create icons */
/* The .unmute-button itself is just a container */
.unmute-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.2s ease-in-out;
}

.unmute-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* ===================================================================
   STYLES GÉNÉRIQUES POUR LES PAGES DE CONTENU
   (S'applique aux pages comme Théâtre à domicile, Spectacles écoles, etc.)
====================================================================== */

.content-page .hero-video-section {
    height: calc(100vh - var(--navbar-height) - 138px); /* 138px est une approximation de la hauteur du titre de page */
}

.content-page .scroll-down-indicator {
    bottom: 40px;
    font-size: 1.8rem;
    animation: bounce-subtle 2.5s infinite ease-in-out;
    text-decoration: none;
    padding: 10px;
}

.content-page .scroll-down-indicator:hover {
    color: white;
}

.content-page .feature-section {
    padding: 100px 0;
}

.content-page .feature-content h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-page .feature-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 2rem;
}

/* NOUVELLE VERSION AVEC EFFET "SOULIGNEMENT CINÉTIQUE" */
.content-page .highlight {
    position: relative; /* Indispensable pour positionner le pseudo-élément */
    color: var(--accent-color);
    font-weight: 700;
    /* On s'assure qu'il n'y a pas d'autres styles de fond ou de soulignement */
    background: none;
    text-decoration: none;
    padding-bottom: 5px; /* On ajoute un peu d'espace en bas pour le trait */
    /* C'est facultatif, mais ça empêche la ligne de déborder sur les côtés */
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
}

/* La ligne magique elle-même (le trait) */
.content-page .highlight::after {
    content: '';
    position: absolute;
    bottom: 0; /* Positionne le trait tout en bas du padding */
    left: 0;
    width: 100%;
    height: 3px; /* Une épaisseur élégante et visible */
    background-color: var(--accent-color);

    /* L'animation : le trait est invisible au départ... */
    transform: scaleX(0);
    transform-origin: left; /* ...il grandira depuis la gauche... */
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* ...avec une transition douce */
}

/* Au survol du mot, le trait apparaît */
.content-page .highlight:hover::after {
    transform: scaleX(1); /* Le trait prend toute sa largeur */
}

.content-page .feature-list {
    list-style: none;
    padding-left: 0;
}

.content-page .feature-list li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.content-page .feature-list i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.content-page .feature-image {
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    width: 100%;
    height: 500px; /* Hauteur fixe comme demandé précédemment */
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-page .feature-image:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}


/* ===================================================================
   STYLE AJOUTÉ POUR LE FOOTER
====================================================================== */

.footer-credit-link {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: var(--accent-color-light);
    transition: color 0.3s ease;
}

.footer-credit-link:hover {
    color: var(--accent-color);
}

.footer-bce {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===================================================================
   STYLE SPÉCIFIQUE : MODALE "ARNAUD MARTINY" (TRES MODERNE)
====================================================================== */

/* L'arrière-plan flouté quand la modale est ouverte */
.modal-backdrop.show {
    opacity: 0.5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* On s'assure que l'animation est fluide */
#arnaudMartinyModal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.9) translateY(-20px);
}

#arnaudMartinyModal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Le conteneur principal de la modale */
.arnaud-martiny-modal {
    background-color: var(--primary-color);
    border-radius: 16px; /* Bords plus arrondis */
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 2rem 1.5rem;
    max-width: 450px; /* Taille fixe pour le look "20%" sur desktop */
    margin: auto;
    position: relative;
    overflow: hidden;
}

/* Le bouton de fermeture personnalisé */
.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(45, 55, 72, 0.08);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}

.btn-close-modal:hover {
    background-color: var(--accent-color-light);
    color: var(--text-light);
    transform: rotate(90deg);
}

/* La photo de profil */
.modal-profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Les textes */
.modal-title-name {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.modal-subtitle-job {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.modal-presentation {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 90%;
    margin: 0 auto 2rem auto;
}

/* Les liens sociaux */
.modal-social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.footer-contact a {
    text-decoration: none;
}

.modal-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid transparent;
    background-color: rgba(45, 55, 72, 0.05);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.modal-social-links a:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(110, 200, 242, 0.3);
}

/* ===================================================================
   AJOUT : STYLE POUR LE SOUS-TITRE SECONDAIRE
====================================================================== */

.page-subtitle-secondary {
    font-size: 1rem; /* Taille légèrement plus petite que le sous-titre principal (.lead) */
    color: var(--text-muted); /* Utilise la couleur de texte secondaire (gris plus doux) */
    margin-top: 0.5rem; /* Un peu d'espace entre les deux sous-titres */
    font-style: italic; /* Optionnel : pour le distinguer visuellement */

    /* Pour s'assurer qu'il reste centré et pas trop large */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================================
   PAGE CONTACT "WAW"
====================================================================== */

.contact-section-wow {
    padding: 80px 0;
}

.contact-wrapper {
    background-color: var(--secondary-color);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(45, 55, 72, 0.15);
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Colonne de gauche plus petite */
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* --- PARTIE GAUCHE : INFOS --- */

.contact-info {
    padding: clamp(2rem, 5vw, 4rem);
    background-color: var(--accent-color); /* CHANGEMENT ICI */
    color: var(--text-white);
}

.contact-info h2 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact-details i {
    font-size: 1.2rem;
    width: 30px;
    opacity: 0.8;
    margin-right: 15px;
}

.contact-details a, .contact-details span {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}
.contact-details a:hover {
    opacity: 0.8;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

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

.social-links-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background-color: var(--text-white);
    color: var(--accent-color);
    transform: translateY(-3px);
}


/* --- PARTIE DROITE : FORMULAIRE --- */

.contact-form {
    padding: clamp(2rem, 5vw, 4rem);
}

.contact-form h2 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* La magie des labels flottants */
.form-floating-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-floating-group input,
.form-floating-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-light);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    outline: none;
    position: relative;
    z-index: 1;
}

.form-floating-group textarea {
    resize: vertical;
}

.form-floating-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    z-index: 0;
}

.form-floating-group input:focus,
.form-floating-group input:not(:placeholder-shown) + label,
.form-floating-group textarea:focus + label,
.form-floating-group textarea:not(:placeholder-shown) + label {
    top: -16px;
    left: 0;
    font-size: 0.8rem;
    color: var(--accent-color);
}
/* Important: :not(:placeholder-shown) doit être séparé pour fonctionner avec les champs déjà remplis */
.form-floating-group input:focus,
.form-floating-group textarea:focus {
  border-bottom-color: var(--accent-color);
}


.btn-modern-submit {
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    padding: 16px 40px;
    background: var(--accent-color);
    border: none;
    color: var(--secondary-color) !important;
    font-family: var(--font-secondary);
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(110, 200, 242, 0.3);
    cursor: pointer;
    width: 100%;
}

.btn-modern-submit:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(110, 200, 242, 0.4);
}


/* ===================================================================
   NOUVEAU : STYLE FICHE LOGISTIQUE (DESIGN PROFESSIONNEL)
====================================================================== */

.logistics-section-pro {
    padding: 100px 0;
    background-color: var(--primary-color); /* Un fond légèrement différent pour faire ressortir la carte */
}

.logistics-section-pro .container {
    max-width: 960px; /* On contrôle la largeur pour un look plus maîtrisé */
}

.logistics-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.logistics-title-wrapper h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-light);
}

.logistics-title-wrapper p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.5rem auto 0 auto;
}

.logistics-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 3.5rem);
    box-shadow: 0 15px 40px rgba(45, 55, 72, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem 2rem; /* Plus d'espace entre les éléments */
}

.logistics-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.logistics-item .icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--accent-color-light);
    color: var(--accent-color);
    font-size: 1.5rem;
}

.logistics-item .text-wrapper h5 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
}

.logistics-item .text-wrapper p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ===================================================================
   NOUVEAU : STYLE POUR LA SECTION AVIS (PROFESSEURS & ÉLÈVES)
====================================================================== */

.testimonials-section {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.testimonials-section .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
}

.testimonials-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* Note: Il existe un .testimonials-grid dans .activity-section. Celui-ci est distinct. */
.testimonials-section .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonials-section .testimonial-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-main);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(45, 55, 72, 0.1);
}

.testimonials-section .testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--accent-color-light);
    margin-bottom: 1rem;
}

.testimonials-section .testimonial-card .testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pousse l'auteur vers le bas pour un alignement parfait */
}

.testimonials-section .testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.testimonials-section .testimonial-author .author-info h5 {
    margin: 0;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
}

.testimonials-section .testimonial-author .author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* ===================================================================
   NOUVEAU : STYLE FICHE TECHNIQUE (APPROCHE DOCUMENTAIRE)
====================================================================== */

.tech-sheet-section {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.tech-sheet-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px; /* Bords moins arrondis pour un look plus strict */
    box-shadow: 0 10px 30px rgba(45, 55, 72, 0.07);
    overflow: hidden; /* Important pour que les bords arrondis s'appliquent */
}

.tech-sheet-header {
    padding: 1.5rem 2rem;
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.tech-sheet-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.tech-sheet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-sheet-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.tech-sheet-item:last-child {
    border-bottom: none;
}

.tech-sheet-item:hover {
    background-color: #f8fbfd; /* Légère coloration au survol pour l'interactivité */
}

.tech-sheet-label {
    display: flex;
    align-items: center;
    flex-basis: 35%; /* Largeur fixe pour la colonne de gauche */
    flex-shrink: 0;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-sheet-label i {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-right: 1rem;
    width: 20px; /* Alignement parfait des icônes */
}

.tech-sheet-details {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.tech-sheet-footer {
    padding: 1.5rem 2rem;
    background-color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.tech-sheet-footer p {
    margin: 0;
    color: var(--text-muted);
}
.tech-sheet-footer a {
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
}

.team-section {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-card-img {
    background-color: var(--primary-color-dark);
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px; /* Hauteur fixe pour l'alignement */
}

.team-card-img .fa-user {
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.8;
}

.team-card-body {
    padding: 1.5rem;
    flex-grow: 1; /* Permet au body de prendre l'espace restant */
}

.team-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================================================
   NOUVEAU : STYLE PAGE "SOUTENEZ-NOUS"
====================================================================== */

.support-box {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-main);
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(45, 55, 72, 0.1);
}

.support-box-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.support-box h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.support-box p {
    color: var(--text-muted);
    flex-grow: 1; /* Pousse le bouton ou les détails vers le bas */
}

.donation-details {
    background-color: var(--secondary-color);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: left;
    font-family: monospace;
    font-size: 0.95rem;
    width: 100%;
    line-height: 1.6;
}

/* ===================================================================
   SYSTÈME VIDÉO FINAL v2 (Curseur vertical stable style YouTube)
====================================================================== */

/* 1. Conteneur principal de la vidéo */
.hero-video-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    max-width: 1400px;
    margin: 3rem auto;
    max-height: 75vh;
    position: relative;
    padding: 0;
    background-color: transparent;
}

.hero-video-section::after {
    background: none !important;
}

/* 2. Style de la vidéo */
.hero-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* 3. Conteneur global du contrôle de volume (MODIFIÉ) */
.unmute-button {
    position: absolute;
    bottom: 5px; /* Ajusté pour la nouvelle zone de survol */
    right: 5px;
    z-index: 10;
    /* ASTUCE UX : Ajoute une zone invisible de 10px tout autour du bouton */
    /* pour rendre le survol beaucoup plus facile sans changer le visuel. */
    padding: 10px;
}

/* 4. L'icône du volume (partie visible) */
.volume-icon-wrapper {
    /* MODIFICATION COULEUR : On utilise une couleur du thème (texte principal) avec transparence */
    /*background-color: rgba(45, 55, 72, 0.8);  --text-light avec 80% d'opacité */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: background-color 0.2s ease;
}

/* 5. Conteneur de la barre de volume (MODIFIÉ) */
.volume-slider-container {
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-bottom: 10px;
    /* MODIFICATION COULEUR : Même couleur que l'icône pour un look unifié */
    background-color: rgba(45, 55, 72, 0.8);
    border-radius: 10px;
    padding: 12px 8px;
    opacity: 0;
    transform: translate(-50%, 10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 6. Apparition au survol (la logique reste identique) */
.unmute-button:hover .volume-slider-container {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

/* 7. La barre de volume verticale (MODIFIÉ) */
.volume-slider {
    width: 6px; /* Légèrement plus épais */
    height: 70px;
    /* MODIFICATION COULEUR : On utilise une couleur d'accentuation claire pour le fond */
    background-color: var(--accent-color-light);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

/* 8. La progression du volume (MODIFIÉ) */
.volume-progress {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* MODIFICATION COULEUR : La couleur principale d'accentuation pour la progression */
    background-color: var(--accent-color);
    border-radius: 3px;
    pointer-events: none;
}

/* 9. Le curseur (la boule) (MODIFIÉ) */
.volume-thumb {
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    /* MODIFICATION COULEUR : La couleur d'accentuation pour le curseur */
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    /* Ajout d'une ombre pour mieux le voir */
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* On cache l'indicateur de scroll */
.hero-video-section .scroll-down-indicator {
    display: none;
}


/* =================================
   MEDIA QUERIES (RESPONSIVE)
   ================================= */
@media (max-width: 1024px) {
    /* No longer need to hide/show main-nav or mobile-nav-toggle directly
       as Bootstrap handles .navbar-collapse and .navbar-toggler */
}

@media (max-width: 991.98px) {
    /* Responsive pour la page contact */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Les colonnes se superposent */
    }

    /* Footer modern responsive */
    .footer-modern {
        padding-top: 60px; /* Moins d'espace en haut */
        margin-top: 60px;
        text-align: center; /* Centre le texte des colonnes */
    }

    /* Centre le logo et le slogan du footer modern */
    .footer-modern .col-lg-5.col-md-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-modern .social-links {
        justify-content: center; /* Centre les icônes sociales */
    }

    .footer-modern h5 {
        margin-top: 2rem; /* Espace avant chaque titre de liste */
        margin-bottom: 1rem;
    }

    /* Aligne le texte des listes au centre */
    .footer-modern ul {
        text-align: center;
    }
    .footer-modern ul li a:hover {
        transform: none; /* Désactive le décalage au survol sur mobile */
    }

    /* Centre les infos de contact */
    .footer-modern .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .activity-section .section-bg-image {
        background-attachment: scroll;
    }
    /* Les styles .testimonials-grid ici sont spécifiques aux sections d'activités, non à la section Avis */
    .activity-section .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid { /* Footer de l'index.html */
        text-align: center;
    }

    .intro-title {
        font-size: 1.3rem;
    }

    .intro-text {
        font-size: 0.9rem;
    }
}

/* --- Amélioration du Hero pour très petits écrans --- */
@media (max-width: 480px) {
    /* Cache les points de navigation sur les très petits écrans pour gagner de la place */
    .slider-nav {
        display: none;
    }
}


/* --- Responsive pour la Modale "Arnaud Martiny" --- */
@media (max-width: 576px) {
    .arnaud-martiny-modal {
        /* La modale prend presque toute la largeur avec une petite marge */
        max-width: 92vw;
        padding: 1.5rem 1rem;
    }

    .modal-profile-pic {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .modal-title-name {
        font-size: 1.5rem;
    }

    .modal-presentation {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .modal-social-links a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}