/* --- Variables (Thème Clair par défaut) --- */
:root {
    --primary-color: #5271ff;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --header-bg: rgba(255, 255, 255, 0.85);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-color: #eee;
    --font-main: 'Lexend', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Thème Sombre (Dark Mode) --- */
body.dark-mode {
    --text-color: #f0f0f0;
    --bg-color: #12121c;
    --card-bg: #1e1e2c;
    --header-bg: rgba(18, 18, 28, 0.85);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    --border-color: #333;
}

/* --- Reset et Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Animations Fluides (Keyframes) --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: fadeIn 0.5s ease-out;
}

/* Application des animations */
.hero-text h1, .hero-text p, .hero-text .cta-button,
.hero-image, .feature-card, .section-contact h1, .section-contact .subtitle,
.contact-container > div, .about-content > div, .value-item,
.section-cta h2, .section-cta p, .section-cta .cta-button,
.join-card, .section-legal h1 { 
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: forwards;
    opacity: 0; 
}

/* Décalage des animations */
.hero-text p { animation-delay: 0.1s; }
.hero-text .cta-button { animation-delay: 0.2s; }
.hero-image { animation-delay: 0.15s; }

.about-image-placeholder { animation-delay: 0.1s; }
.about-text { animation-delay: 0.2s; }

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }

.join-card:nth-child(2) { animation-delay: 0.2s; }

.section-cta p { animation-delay: 0.1s; }
.section-cta .cta-button { animation-delay: 0.2s; }

.section-contact .subtitle { animation-delay: 0.1s; }
.contact-image-placeholder { animation-delay: 0.2s; }
.contact-info { animation-delay: 0.3s; }

/* --- Header & Navigation --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: block;
    flex-shrink: 0;
}
.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    margin-right: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

nav ul li a:not(.cta-button-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav ul li a:not(.cta-button-nav):hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:not(.cta-button-nav):hover,
nav ul li a.active {
    color: var(--primary-color);
}

.cta-button-nav {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(82, 113, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(82, 113, 255, 0.4);
}
/* Correctif pour le bouton "J'adhère" actif */
nav ul li a.cta-button-nav::after {
    display: none !important;
}
nav ul li a.cta-button-nav.active {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(82, 113, 255, 0.3);
}

/* --- Bouton Dark Mode --- */
#darkModeToggle {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#darkModeToggle:hover {
    transform: scale(1.1) rotate(15deg);
}

/* Styles des icônes SVG */
.icon {
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
    color: var(--text-color); 
}
/* Mode Clair (par défaut) : On montre la lune (pour passer au sombre) */
.icon-moon {
    display: block !important;
}
.icon-sun {
    display: none !important;
}
/* Mode Sombre : On montre le soleil (pour passer au clair) */
body.dark-mode .icon-moon {
    display: none !important;
}
body.dark-mode .icon-sun {
    display: block !important;
}


/* --- Section Héros (Accueil) --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-text h1 {
    color: var(--primary-color);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0 auto 2rem 0;
    max-width: 500px;
}

/* --- Styles pour les emplacements d'images (FIXÉ DÉFINITIVEMENT - V5) --- */

/* 1. Styles pour les DIVs CONTENEURS DE L'IMAGE ("the box") */
.hero-image, .about-image-placeholder, .contact-image-placeholder {
    /* Maintien de la "box" */
    background-color: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    box-shadow: var(--shadow); /* Ajout d'une ombre pour accentuer la "box" */
    overflow: hidden; 
    width: 100%;
    position: relative; 
    transition: all 0.3s ease; 
    
    /* Hauteurs fixes pour ces conteneurs */
    height: 400px; 
    /* Ajout de display: block et flex pour s'assurer que l'image peut remplir l'espace */
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-image-placeholder { height: 350px; }
.contact-image-placeholder { height: 300px; }

/* Cas particulier pour les images dans les cartes (mission) */
.card-image-placeholder {
    height: 200px; 
    border: 1px solid var(--border-color); 
    border-bottom: none; 
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0; 
    border-bottom-right-radius: 0;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
}

/* 2. Styles du TEXTE "Image Placeholder" */
.hero-image:not(:has(img))::before, 
.about-image-placeholder:not(:has(img))::before, 
.contact-image-placeholder:not(:has(img))::before, 
.card-image-placeholder:not(:has(img))::before {
    content: "Image Placeholder"; 
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--border-color); 
    border-radius: inherit; 
    z-index: 1;
}

/* 3. Styles pour les IMAGES RÉELLES (balises IMG) */
img.hero-image-img, img.about-image-img, img.contact-image-img, img.card-image-img {
    display: block !important; 
    
    /* LA RÈGLE CRUCIALE POUR FORCER LE REMPLISSAGE ET LE "ZOOM" */
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    object-position: center !important; 
    
    border-radius: inherit !important; 
    
    /* Nettoyage des styles potentiellement conflictuels */
    border: none !important; 
    background: none !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important; /* Ajout d'un reset de marge */
    min-height: 100% !important; /* Ajout d'une hauteur minimale forcée */
}


/* --- Bouton CTA --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(82, 113, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(82, 113, 255, 0.5);
}

/* --- Section "Qui Sommes-Nous ?" --- */
.section-about {
    padding: 4rem 0;
}
.section-about h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}
.about-text h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
body:not(.dark-mode) .about-text h3 {
    color: var(--primary-color);
    opacity: 0.9;
}
.about-text p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* --- Section Missions (Accueil) --- */
.section-missions {
    padding: 4rem 0;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}
.section-missions h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    padding: 0;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
/* Le conteneur d'image de carte est déjà stylisé plus haut */
.card-content {
    padding: 2rem;
}
.card-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.feature-card:hover .card-content h3 {
    color: var(--primary-color);
}
.card-content p {
    color: var(--text-color);
    opacity: 0.8;
    transition: color 0.3s ease;
}

/* --- Section "Nos Valeurs" --- */
.section-values {
    padding: 4rem 0;
}
.section-values h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.value-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.value-item p {
    opacity: 0.8;
}

/* --- Section "Appel à l'Action" (CTA) --- */
.section-cta {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
}
.section-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.section-cta .cta-button {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.section-cta .cta-button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* --- Page Contact --- */
.section-contact {
    padding: 4rem 0;
}
.section-contact h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    text-align: center;
}
.section-contact .subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}
.contact-container {
    display: block;
    max-width: 700px;
    margin: 0 auto;
}
/* Le conteneur d'image de contact est déjà stylisé plus haut */
.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}
.contact-info .info-item {
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
}
.contact-info .info-item strong {
    min-width: 90px;
    flex-shrink: 0;
    text-align: right;
    color: var(--text-color);
    opacity: 0.9;
}
.contact-info .info-item p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
}

/* --- Page Adhésion (section-join) --- */
.section-join {
    padding: 4rem 0;
    text-align: center;
}
.section-join h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    text-align: center;
}
.section-join .subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.join-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    display: flex;
    flex-direction: column;
    
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}
.join-card:nth-child(2) {
    animation-delay: 0.2s;
}

.join-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.join-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.join-card p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    flex-grow: 1; 
}

.join-card .cta-button {
    width: 100%;
}

/* --- Pages Légales --- */
.section-legal {
    padding: 6rem 0 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-legal h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.section-legal .subtitle, .section-legal .last-updated {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    text-align: left;
}

.section-legal article h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 5px;
}

.section-legal article p, .section-legal article ul {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.section-legal article ul {
    padding-left: 20px;
    list-style-type: square;
}

.section-legal article a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    opacity: 0.7;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.4;
}

.footer-highlight {
    color: var(--primary-color);
    font-weight: 700;
    opacity: 1;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}
.link-separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* ==================================================
  RESPONSIVE (OPTIMISATION MOBILE)
==================================================
*/
@media (max-width: 768px) {
    /* --- Général --- */
    .container {
        padding: 0 15px;
    }
    .hero, .section-about, .section-missions, .section-values, .section-contact, .section-join {
        padding: 3rem 0;
    }
    
    /* --- Navigation --- */
    nav {
        flex-wrap: wrap;
        height: auto;
        padding: 0.75rem 0;
        justify-content: space-between;
    }
    .logo img {
        height: 30px;
    }
    nav ul {
        order: 3; 
        flex-basis: 100%;
        justify-content: space-around;
        gap: 0.75rem;
        margin: 0.5rem 0 0 0;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color);
        flex-wrap: wrap;
    }
    nav #darkModeToggle {
        order: 2;
    }

    /* --- Héros (Stacking) --- */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-text {
        order: 2;
    }
    .hero-image, .hero-image-img {
        order: 1;
        height: 250px; /* Fixe une hauteur pour mobile */
        min-height: auto; /* Annule le min-height générique */
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
        margin: 0 auto 1.5rem auto;
    }

    /* --- Sections Grille (Stacking) --- */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image-placeholder {
        order: 1;
        height: 200px; /* Fixe une hauteur pour mobile */
        min-height: auto;
    }
    .about-text {
        order: 2;
        text-align: left;
    }
    .features-grid, .values-grid, .join-container {
        grid-template-columns: 1fr;
    }
    
    /* --- Adhésion --- */
    .join-card p {
        flex-grow: 0; 
        margin-bottom: 1.5rem;
    }
    
    /* --- Contact --- */
    .contact-info .info-item {
        flex-direction: column;
        gap: 0.25rem;
        align-items: center;
        text-align: center;
    }
    .contact-info .info-item strong {
        text-align: center;
        min-width: auto;
    }
    .contact-image-placeholder {
        height: 200px; /* Fixe une hauteur pour mobile */
        min-height: auto;
    }
    
    /* --- CTA --- */
    .section-cta h2 {
        font-size: 2rem;
    }

    /* --- Pages Légales --- */
    .section-legal {
        padding: 4rem 15px 3rem;
    }
    .section-legal h1 {
        font-size: 2rem;
        text-align: center;
    }
    .section-legal .subtitle, .section-legal .last-updated {
        text-align: center;
    }


    /* --- Footer --- */
    .footer-grid {
        flex-direction: column;
        gap: 10px;
    }
    .footer-links {
        order: -1;
        margin-bottom: 10px;
    }
    .footer-links a, .footer-links .link-separator {
        font-size: 0.85rem;
    }
}

/* --- Icônes Réseaux Sociaux (Footer) --- */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.footer-socials a img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.footer-socials a:hover img {
    transform: scale(1.15);
    opacity: 1;
    filter: grayscale(0%);
}

body.dark-mode .footer-socials a img {
    filter: brightness(0) invert(1);
}

/* --- Formulaire de contact --- */
.contact-form-container {
    background: var(--bg-secondary, #f9f9f9);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

body.dark-mode .contact-form-container {
    background: #1e1e1e;
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    font-family: 'Lexend', sans-serif;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color, #0077ff);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.2);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #2c2c2c;
    color: #fff;
    border-color: #444;
}

.contact-section {
  text-align: center;
  padding: 6rem 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.contact-intro {
  max-width: 650px;
  margin: 1rem auto 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.85;
}

.contact-form-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--card-bg, rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.contact-form .form-group {
  text-align: left;
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.8rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  color: inherit;
  transition: border 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color, #ff4b6e);
  background: rgba(255, 255, 255, 0.1);
}

.cta-button {
  margin-top: 1rem;
  display: inline-block;
  font-weight: 700;
  border-radius: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-mail {
  margin: 1.5rem 0 3rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-mail a {
  color: var(--accent-color, #ff4b6e);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.contact-mail a:hover {
  opacity: 0.7;
}

/* Styles de base (PC) - inchangés */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 320px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    z-index: 9999;
    animation: fadeIn 0.4s ease-in-out;
}
/* ... le reste de votre CSS de base ... */
.cookie-banner p {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-btn.accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-btn.decline {
    background-color: #ccc;
    color: #333;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}


@media (max-width: 600px) {
    .cookie-banner {
        left: 0;
        right: 0;
        bottom: 0;
        max-width: 100%; 
        
        border-radius: 0;
        border: none;
        
        padding: 1rem 10px;
        
        border-top: 1px solid var(--border-color); 
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px; 
        justify-content: center; 
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
        padding: 10px 12px;
    }
    
    .cookie-btn:hover {
        transform: none;
    }
}