/* =========================================
   1. VARIABLES & RESET (Configuration)
   ========================================= */
:root {
    /* Palette de couleurs */
    --primary-pink: #fed7fc;      /* Fond principal */
    --accent-pink: #f4aef0;       /* Rose secondaire */
    --dark-pink-btn: #c25eb9;     /* Rose foncé pour boutons et textes importants */
    --dark-text: #2c1a2d;         /* Violet très foncé (Presque noir) */
    --light-text: #555555;        /* Gris pour le texte courant */
    --white: #ffffff;
    
    /* Effets */
    --shadow: 0 15px 35px rgba(200, 100, 200, 0.1);
    --radius: 24px;
}

/* Reset pour nettoyer les marges par défaut */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;       /* Empêche d'être plus large que l'écran */
    overflow-x: hidden;  
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--primary-pink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   2. HEADER (Barre de navigation)
   ========================================= */
header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.35); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Menu à droite */
    z-index: 1000;
    padding: 0 5%;
}

/* LOGO */
.logo-container {
    position: absolute;
    top: -5px; left: 5%; z-index: 2000;
}
.logo-container img {
    height: 170px; width: auto; display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transform: rotate(-3deg); transition: transform 0.4s ease;
}
.logo-container img:hover { transform: scale(1.05) rotate(0deg); }

/* NAVIGATION */
.navbar ul { display: flex; list-style: none; gap: 15px; }

.navbar a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.navbar a:hover, .navbar a.active {
    background: var(--white);
    color: #b04ab6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Effet Hover final pour "Retour Portfolio" */
.navbar a.active:hover {
    /* Le fond devient un rose doux (pas trop sombre) */
    background-color: var(--accent-pink);
    
    /* Le texte devient blanc pour bien ressortir */
    color: var(--white);
    
    /* Petit effet de soulèvement fluide sans décalage */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(194, 94, 185, 0.3);
}

/* BOUTON CONTACT (NAVBAR) */
.btn-contact {
    background: linear-gradient(45deg, var(--accent-pink), var(--dark-pink-btn)) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(194, 94, 185, 0.3) !important;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 94, 185, 0.5) !important;
    filter: brightness(1.1);
}

.burger-menu {
    display: none; font-size: 2rem; background: none; border: none; color: var(--dark-text); cursor: pointer; z-index: 2001;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 70vh;
    width: 90%;
    margin: 190px auto 60px auto; 
    border-radius: 30px;
    display: flex; align-items: flex-end; text-align: left; padding: 40px;
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--shadow);
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('images/MAC.webp'); background-size: cover; background-position: center;
    filter: blur(6px) brightness(0.65); z-index: -1;
}

@media (min-width: 901px) { .hero::before { top: -30px; left: -30px; right: -30px; bottom: -30px; } }

.hero-stack-left { position: absolute; bottom: 180px; left: 40px; z-index: 2; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 800; color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,0.3); margin: 0; display: block; }

.hero-bottom-bar {
    position: absolute; bottom: 40px; left: 0; width: 100%; padding: 30px 40px;
    background: none; display: flex; justify-content: space-between; align-items: center; z-index: 2;
}

.hero-description {
    font-size: 1.1rem; color: rgba(255,255,255,1); font-weight: 500; max-width: 60%;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Bouton Hero */
.btn-hero-elegant {
    display: inline-block; text-decoration: none;
    background: linear-gradient(45deg, var(--accent-pink), var(--dark-pink-btn));
    color: var(--white); padding: 14px 40px; border-radius: 50px; font-weight: 700; letter-spacing: 0.5px; transition: all 0.4s ease; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(194, 94, 185, 0.5);
}
.btn-hero-elegant:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -10px rgba(194, 94, 185, 0.7); filter: brightness(1.1); }

/* =========================================
   4. QUI SUIS-JE
   ========================================= */
.container { max-width: 1100px; margin: 0 auto; padding: 80px 20px; }
section h2 { font-size: 2.5rem; text-align: center; margin-bottom: 60px; font-weight: 700; position: relative; color: var(--dark-text); }
section h2::after { content: ''; display: block; width: 80px; height: 5px; background-color: var(--white); margin: 10px auto 0; border-radius: 10px; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; }

/* IMAGE CENTRÉE */
.about-img-container {
    height: 100%; width: 100%;
    object-fit: cover; /* Important : permet à l'image de remplir le cercle sans être déformée */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.about-img-container img {
    width: 100%; height: 80%; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid var(--white);
}

.about-text-content {
    background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow);
    display: flex; flex-direction: column; justify-content: center;
}
.inline-title { font-size: 1.5rem; font-weight: 700; color: var(--dark-text); margin-bottom: 20px; line-height: 1.4; }
.separator { color: var(--accent-pink); margin: 0 10px; }

.simple-facts { list-style: none; padding-left: 0; }
.simple-facts li { margin-bottom: 8px; font-size: 1rem; color: var(--light-text); }
.simple-facts li::before { content: "• "; font-weight: bold; color: var(--dark-text); margin-right: 8px; font-size: 1.2rem; }

/* =========================================
   5. PORTFOLIO & SERVICES
   ========================================= */
.portfolio-grid, .services-grid {
    display: grid;
    gap: 20px;
}

.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* LIEN QUI ENTOURE LA CARTE */
.portfolio-link {
    text-decoration: none; /* Pas de soulignement */
    color: inherit;        /* Garde les couleurs du texte */
    display: block;        /* Prend toute la place */
    height: 100%;
}

/* Styles des cartes */
.portfolio-card, .service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s; /* Animation fluide */
    display: flex;             
    flex-direction: column;    
    justify-content: space-between; 
    height: 100%; 
}

.portfolio-card {
    padding: 35px;
    border-top: 5px solid #d06cdb;
}

.service-card { padding: 30px; text-align: center; }

.service-card h3 {
    font-size: 1.1rem;
    color: var(--dark-text);
    
    /* C'EST ICI LE SECRET DE L'ALIGNEMENT */
    margin-bottom: 20px;      /* L'écart avec le texte sera toujours de 20px */
    min-height: 55px;         /* On réserve la place pour 2 lignes de titre minimum */
    display: flex;            /* Active Flexbox pour le titre */
    align-items: center;      /* Centre le titre verticalement dans sa zone */
    justify-content: center;  /* Centre horizontalement */
    width: 100%;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.6;
    
    /* Pour que la description "rende bien" */
    /* Option A : Centré (plus joli si le texte est court) */
    text-align: center; 
    
    /* Option B : Justifié (si vous préférez des blocs carrés, décommentez la ligne dessous) */
    /* text-align: justify; */
    
    margin: 0;
    flex-grow: 1; /* Permet d'occuper l'espace restant */
}

/* Animation au survol du lien global */
.portfolio-link:hover .portfolio-card, 
.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(200, 100, 200, 0.2);
}


.portfolio-role {
    display: inline-block;
    background: var(--primary-pink);
    
    /* MODIFICATIONS ICI */
    font-size: 0.75rem;       /* Texte un peu plus petit (0.7 au lieu de 0.8) */
    padding: 5px 7px;        /* Moins de marge sur les côtés (8px au lieu de 12px) */
    white-space: nowrap;     /* FORCE le texte à rester sur une seule ligne */
    
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    
    /* Sécurité : si c'est vraiment trop long, ça mettra des "..." au lieu de déborder mochement */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
/* Ajoute de l'espace sous le titre de chaque carte */
.portfolio-card h3 {
    margin-bottom: 5px; /* C'est cette valeur qui pousse les bulles vers le bas */
    font-size: 1.4rem;
    color: var(--dark-text);
}
/* --- Le conteneur pour la carte SP (Multi-rôles) --- */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px; /* C'est le conteneur qui pousse le texte en dessous */
}

/* --- L'ASTUCE ICI : --- */
/* Si le rôle est DANS le conteneur, on enlève sa marge individuelle */
.tags-container .portfolio-role {
    margin-bottom: 0;
}

.portfolio-card ul { margin-bottom: 20px; }

.portfolio-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    list-style: none;
}

.portfolio-card ul li::before {
    content: '•';
    color: #d06cdb;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.service-icon { font-size: 2.5rem; margin-bottom: 5px; display: block; }

/* --- BOUTON "VOIR EN DÉTAIL" (Visuel seulement) --- */
.btn-details {
    display: inline-block; /* Se comporte comme un bloc */
    text-align: center;
    padding: 10px 20px;
    border: 2px solid var(--dark-pink-btn);
    color: var(--dark-pink-btn);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

/* Quand on survole toute la carte, le bouton change aussi */
.portfolio-link:hover .btn-details {
    background-color: var(--dark-pink-btn);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(194, 94, 185, 0.3);
}

/* =========================================
   SECTION AVIS CLIENTS
   ========================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(200, 100, 200, 0.2);
}

.review-stars {
    color: var(--dark-pink-btn); /* Etoiles en rose foncé */
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--dark-text);
    font-size: 1.1rem;
}

.author-role {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-pink-btn); /* Le nom de l'entreprise en rose */
    margin-top: 5px;
    font-weight: 500;
}   

/* =========================================
   6. FORMULAIRE
   ========================================= */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; text-align: left; }

/* MODIFICATION ICI : COULEUR ROSE POUR LES LABELS */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-pink-btn); /* Texte en Rose Foncé */
}

.form-input {
    width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 15px;
    font-family: 'Poppins', sans-serif; font-size: 1rem; transition: border-color 0.3s;
    background-color: #f9f9f9;
}
.form-input:focus { outline: none; border-color: var(--accent-pink); background-color: var(--white); }
textarea.form-input { resize: vertical; height: 120px; }

/* BOUTON FORMULAIRE */
.btn-submit {
    width: 40%;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    background: linear-gradient(45deg, var(--accent-pink), var(--dark-pink-btn));
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px -10px rgba(194, 94, 185, 0.5);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(194, 94, 185, 0.7);
    filter: brightness(1.1);
}

/* =========================================
   7. FOOTER (Avec Réseaux Sociaux)
   ========================================= */
footer {
    background: var(--white);
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 1px solid #eee; /* Petite ligne de séparation subtile */
}

/* Conteneur flexible pour aligner Copyright et Réseaux */
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Centre le tout */
    align-items: center;     /* Centre verticalement */
    gap: 30px;               /* Espace entre le texte copyright et les icônes */
    flex-wrap: wrap;         /* Permet de passer à la ligne sur mobile */
}

footer p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

/* Bloc "Suivez-moi" + Icônes */
.social-media {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre "Suivez-moi" et les icônes */
}

.follow-text {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

/* Style des icônes (liens) */
.social-media a {
    text-decoration: none;
    color: var(--dark-text); /* Couleur foncée par défaut */
    font-size: 1.4rem;       /* Taille des icônes */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* Effet au survol des icônes */
.social-media a:hover {
    color: var(--dark-pink-btn); /* Devient rose au survol */
    transform: translateY(-3px); /* Petit saut vers le haut */
}

/* Ajustement Mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Empile le copyright et les réseaux */
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   8. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    header { justify-content: space-between; padding: 0 20px; }
    .logo-container { position: static; transform: rotate(0deg) !important; }
    .logo-container img { height: 60px; }
    .burger-menu { display: block; }
    .navbar { position: fixed; top: 80px; right: -100%; width: 100%; height: calc(100vh - 80px); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); flex-direction: column; align-items: center; justify-content: center; transition: right 0.4s ease; }
    .navbar.nav-active { right: 0; }
    .navbar ul { flex-direction: column; gap: 30px; text-align: center;margin-top: 50px; }


    .hero { 
        width: 95%; 
        
        /* C'EST ICI LA CORRECTION : 120px au lieu de 30px */
        /* Cela pousse le bloc vers le bas pour sortir de sous la barre */
        margin-top: 120px; 
        
        min-height: 60vh; 
        padding: 20px; 
        
        /* On garde la correction pour l'empilement des textes */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
    }

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

    .hero-stack-left { 
        /* On enlève le positionnement absolu qui causait le bug */
        position: relative; 
        top: auto; 
        bottom: auto; 
        left: auto;
        
        /* On met une marge pour pousser le texte du dessous */
        margin-bottom: 30px; 
    }

    .hero-bottom-bar { 
        /* On enlève aussi le positionnement absolu ici */
        position: relative;
        bottom: auto; 
        padding: 0; 
        
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px; 
        background: none; 
    }
    .hero-description { max-width: 100%; font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img-container { height: auto; display: block; }
    .about-img-container img { max-width: 300px; height: auto; margin: 0 auto; display: block; }
    .btn-submit{width:80%;padding:15px;margin-top:20px;}
}

/* =========================================
   HEADER PROJET AVEC LOGO LATÉRAL
   ========================================= */


.project-header-flex {
    display: flex;
    align-items: center;     
    justify-content: center; /* Centre le GROUPE (Texte + Logo) au milieu de la page */
    gap: 30px;               /* Espace réduit entre le texte et le logo */
    max-width: 1100px;       
    margin: 0 auto;          
    padding: 140px 20px 60px 20px;    
    text-align: left;        
}

/* Le bloc de texte */
.header-text-block {
    /* J'ai supprimé "flex: 1" pour qu'il ne prenne pas toute la place */
    text-align: center; /* Garde le titre et le sous-titre alignés entre eux */
}
/* Le bloc logo */
.header-logo-block {
    flex-shrink: 0; /* Empêche le logo de s'écraser */
}

/* Style de l'image du logo */
.header-logo-block img {
    max-width: 200px; /* Taille maximale du logo (ajustez si besoin) */
    height: auto;
    /* Ajoute une ombre portée rose douce pour le faire ressortir */
    filter: drop-shadow(0 10px 20px rgba(194, 94, 185, 0.4));
    transition: transform 0.3s ease;
}

.header-logo-block img:hover {
    transform: scale(1.05) rotate(2deg); /* Petit effet sympa au survol */
}

/* --- VERSION MOBILE --- */
@media (max-width: 768px) {
    .project-header-flex {
        flex-direction: column-reverse; /* Le logo passe AU-DESSUS du titre */
        gap: 25px;
        text-align: center; /* On remet le texte centré */
    }
    
    .header-text-block {
        text-align: center;
    }

    .header-logo-block img {
        max-width: 150px; /* Logo un peu plus petit sur mobile */
    }
}


/* =========================================
   PAGE PROJET (Nouvelle Version Flexible)
   ========================================= */

.project-header {
    text-align: center;
    padding: 140px 20px 60px 20px;
}

.project-header h1 {
    font-size: 3.5rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.project-subtitle {
    display: inline-block;
    background: var(--white);
    padding: 8px 25px;
    border-radius: 30px;
    color: var(--dark-pink-btn);
    font-weight: 700;
    box-shadow: var(--shadow);
}

/* BLOC MISSION VERTICAL */
.mission-block {
    margin-bottom: 80px;
    /* Petit fond blanc léger pour détacher le texte du fond rose */
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.mission-block h3 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    text-align: center; /* Titre centré */
}

.mission-block p {
    color: var(--light-text);
    font-size: 1.1rem;
    text-align: center; /* Description centrée */
    max-width: 800px;
    margin: 0 auto 30px auto; /* Marge en bas pour espacer de la zone grise */
}

/* ZONE GRISE POUR LES EXEMPLES */
.mission-gallery-grey {
    background-color: #f4f4f4; /* Le fond gris demandé */
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    /* FLEXBOX MAGIQUE */
    display: flex;
    flex-wrap: wrap; /* Permet aux images de passer à la ligne si trop nombreuses */
    justify-content: center; /* CENTRE les images (s'il n'y en a qu'une, elle sera au milieu) */
    gap: 20px; /* Espace entre les images */
    border: 2px solid #fff; /* Petit bord blanc pour faire propre */
}

/* STYLE DES IMAGES DANS LA GALERIE */
/* STYLE DES IMAGES ET VIDÉOS DANS LA GALERIE */
.mission-gallery-grey img, 
.mission-gallery-grey video {
    max-width: 100%; /* Ne dépasse jamais la largeur */
    height: auto;    /* Garde les proportions */
    max-height: 500px; /* Limite la hauteur */
    border-radius: 10px; /* Coins arrondis comme les images */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;

}

/* On garde l'effet de zoom au survol uniquement pour les images (bizarre sur une vidéo qui joue) */
.mission-gallery-grey img:hover {
    transform: scale(1.02);
}

.btn-back-container {
    text-align: center;
    margin: 60px 0;
}

/* Mobile */
@media (max-width: 900px) {
    .mission-block { padding: 20px; }
    .mission-gallery-grey { padding: 15px; }
}



/* =========================================
   CAROUSEL MANUEL (Swipe + Flèches)
   ========================================= */

/* Le conteneur global */
.mission-carousel-manual {
    position: relative; /* Pour placer les flèches par dessus */
    max-width: 100%;
    margin: 20px 0;
}

/* La zone qui défile */
.carousel-scroll-area {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* Active le scroll horizontal */
    scroll-behavior: smooth; /* Défilement doux */
    padding: 10px 5px; /* Un peu d'espace pour l'ombre */
    
    /* Cache la barre de défilement (Scrollbar) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

/* Cache scrollbar Chrome/Safari */
.carousel-scroll-area::-webkit-scrollbar {
    display: none;
}

/* Les images */
.carousel-scroll-area img {
    height: 300px; /* Hauteur fixe */
    width: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0; /* Empêche l'image de s'écraser */
}

/* --- LES BOUTONS (FLÈCHES) --- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    
    /* Design Cercle Blanc */
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%; /* Cercle parfait */
    
    /* Design Flèche Rose */
    color: var(--dark-pink-btn); /* Votre rose foncé */
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    
    /* Centrage de la flèche */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn { left: -20px; } /* Décale un peu à gauche */
.next-btn { right: -20px; } /* Décale un peu à droite */

/* --- EFFET HOVER (Rond Rose, Flèche Blanche) --- */
.carousel-btn:hover {
    background-color: var(--accent-pink); /* Fond Rose */
    color: var(--white); /* Flèche Blanche */
    border-color: var(--accent-pink);
    transform: translateY(-50%) scale(1.1); /* Petit grossissement */
    box-shadow: 0 6px 15px rgba(194, 94, 185, 0.4);
}

/* Mobile : on cache les flèches car on swipe avec le doigt */
@media (max-width: 768px) {
    .carousel-btn { 
        display: flex !important; /* Force l'affichage */
        width: 35px;   /* Un peu plus petits que sur PC */
        height: 35px;
        font-size: 1rem;
        background-color: rgba(255, 255, 255, 0.8); /* Légèrement transparent */
    }
    
    .prev-btn { left: -10px; } /* Ajuste la position pour mobile */
    .next-btn { right: -10px; }
    .carousel-scroll-area img { height: 200px; } /* Images plus petites */
}

/* --- AMÉLIORATION SWIPE PC --- */
.carousel-scroll-area {
    cursor: grab; /* Affiche une main ouverte */
    cursor: -webkit-grab;
}

.carousel-scroll-area:active {
    cursor: grabbing; /* Affiche une main fermée quand on clique */
    cursor: -webkit-grabbing;
}

/* Empêche l'image de se "détacher" quand on essaie de la glisser */
.carousel-scroll-area img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
/* Réduit l'espace entre les images pour les carousels marqués "gap-small" */
.carousel-scroll-area.gap-small {
    gap: 5px; /* Modifiez ce chiffre selon vos goûts (0px pour coller) */
}