/* Font fallback instantané */
@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
}
@font-face {
    font-family: 'Work Sans';
    font-display: swap;
}
/* --- VARIABLES & BASE --- */
:root {
    --color-teal: #5DACA8;
    --color-blue: #5B9BD5;
    --color-coral: #F68181;
    --color-primary: var(--color-teal);
    --color-secondary: var(--color-blue);
    --color-accent: var(--color-coral);
    --color-dark: #1a1a2e;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-bg: #ffffff;
    --color-bg-light: #f7fafc;
    --color-border: #e2e8f0;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Work Sans', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: var(--font-body); color: var(--color-text); line-height: 1.7; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.3; margin-bottom: 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* --- HEADER & NAVIGATION --- */
.navbar { position: sticky; top: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 2rem; }

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }



/* --- HEADER & NAVIGATION --- */
/* ... gardez .navbar et .navbar .container ... */

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none; /* Enlève le soulignement éventuel */
}

/* Nouveau style pour votre image logo */
.logo-img {
    height: 70px; /* Ajustez cette valeur selon la taille souhaitée (60px à 80px est standard) */
    width: auto;  /* Garde les proportions */
    object-fit: contain; /* S'assure que l'image ne soit pas écrasée */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Petit effet de zoom au survol sympa */
}
.nav-menu { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-link { font-weight: 500; position: relative; padding: 0.5rem 0; color: var(--color-text); text-decoration: none; }

.btn-contact { background: linear-gradient(135deg, var(--color-teal), var(--color-blue)); color: white !important; padding: 0.75rem 1.5rem; border-radius: 50px; }

/* --- MENU DÉROULANT (CORRIGÉ & COMPLET) --- */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Rotation de la flèche quand active */
.dropdown:hover .arrow, .dropdown-content.active ~ .nav-link .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    /* Positionnement */
    position: absolute;
    top: 100%;
    left: 0;
    
    /* Apparence */
    background-color: white;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    border-top: 3px solid #5DACA8;
    border-radius: 0 0 5px 5px;
    padding: 5px 0;
    
    /* Animation (Caché par défaut) */
    display: block; /* On garde block pour l'animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    
    /* Nettoyage liste */
    list-style: none;
    margin: 0;
}

/* L'état ACTIVE (ajouté par le JS) ou HOVER (CSS pur) */
.dropdown:hover .dropdown-content,
.dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li {
    width: 100%;
    border-bottom: 1px solid #f7fafc;
}

.dropdown-content li a {
    display: block;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-content li a:hover {
    background-color: #f7fafc;
    color: #5DACA8;
    padding-left: 25px;
    border-left: 3px solid #5DACA8;
}

.dropdown-content .divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 5px 0;
}

/* --- HERO SECTION (ACCUEIL) --- */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.hero-background { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(93, 172, 168, 0.1) 0%, rgba(91, 155, 213, 0.15) 50%, rgba(246, 129, 129, 0.1) 100%); }
.hero-background::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(93, 172, 168, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 30%, rgba(91, 155, 213, 0.2) 0%, transparent 50%), radial-gradient(circle at 60% 80%, rgba(246, 129, 129, 0.15) 0%, transparent 50%); animation: gradientShift 15s ease infinite; }
@keyframes gradientShift { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.1); } }

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.5rem; line-height: 1.2; }
.highlight { background: linear-gradient(135deg, var(--color-teal), var(--color-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.25rem; color: var(--color-text-light); margin-bottom: 2.5rem; max-width: 600px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- BOUTONS --- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 50px; font-weight: 500; transition: var(--transition); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-teal), var(--color-blue)); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: white; color: var(--color-primary); border: 2px solid var(--color-primary); }

.card-actions { margin-top: 1.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* --- CATALOGUE & CARTES --- */
.featured-formations { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { color: var(--color-text-light); font-size: 1.125rem; }
.formations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 3rem; }

.formation-card { background: white; border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--color-border); display: flex; flex-direction: column; }
.formation-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
.card-duration { background: linear-gradient(135deg, rgba(93, 172, 168, 0.1), rgba(91, 155, 213, 0.1)); color: var(--color-primary); padding: 0.375rem 1rem; border-radius: 20px; font-size: 0.875rem; font-weight: 500; }
.card-price { font-weight: 700; color: var(--color-secondary); font-size: 1.25rem; }
.formation-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-dark); }
.formation-card p { color: var(--color-text-light); margin-bottom: 1.5rem; flex-grow: 1; }

/* --- PAGE DÉTAIL (Style Corporate) --- */
.formation-hero { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), #2c3e50; background-size: cover; background-position: center; color: white; padding: 80px 0; text-align: center; }
.formation-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.formation-hero .lead { font-size: 1.2rem; opacity: 0.9; max-width: 800px; margin: 0 auto; }

.key-info-bar { background: #5DACA8; color: white; padding: 20px 0; margin-bottom: 40px; }
.key-info-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; font-weight: 500; }
.key-info-item { display: flex; align-items: center; gap: 10px; }

.content-section { margin-bottom: 40px; }
.section-title { color: #2c3e50; font-size: 1.8rem; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 3px solid #5DACA8; display: inline-block; }

.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; line-height: 1.6; }
.check-list li::before { content: "✔"; color: #5DACA8; position: absolute; left: 0; font-weight: bold; }

.sidebar-card { background: white; padding: 30px; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); border-top: 5px solid #5DACA8; position: sticky; top: 20px; }
.price-tag { font-size: 2rem; color: #5DACA8; font-weight: bold; display: block; margin-bottom: 5px; }
.btn-full { display: block; width: 100%; text-align: center; margin-bottom: 15px; padding: 15px; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- QUALITÉ & FOOTER --- */
.quality-section { background: var(--color-bg-light); padding: 5rem 0; }
.quality-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.quality-card { text-align: center; padding: 2.5rem 1.5rem; }
.quality-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: var(--shadow-md); }

.cta-section { background: linear-gradient(135deg, var(--color-teal), var(--color-blue)); color: white; text-align: center; padding: 5rem 2rem; }
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p { font-size: 1.125rem; margin-bottom: 2rem; opacity: 0.95; }

.footer { background: var(--color-dark); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer h3, .footer h4 { color: white; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.75rem; color: rgba(255, 255, 255, 0.7); }
.footer a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; text-align: center; color: rgba(255, 255, 255, 0.6); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-menu { flex-direction: column; gap: 1rem; }
    .formations-grid { grid-template-columns: 1fr; }
    .dropdown-content { position: static; box-shadow: none; border-top: none; padding-left: 20px; }
    .key-info-grid { flex-direction: column; gap: 15px; }
   .formation-detail .container { display: grid; grid-template-columns: 1fr !important; }
}
/* --- STYLE PAGE A PROPOS --- */

/* Pour les grilles texte / image */
@media (max-width: 768px) {
    .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important; /* Passe en une colonne sur mobile */
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
}
/* --- PAGE CONTACT (Style "Convergence") --- */

.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/contact-bg.jpg'); /* Mettez une image de fond si vous voulez */
    background-color: #1a1a2e;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Colonne de gauche plus petite que le formulaire */
    gap: 50px;
    margin-bottom: 80px;
}

/* Colonne GAUCHE : Infos */
.contact-info-box {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid #5DACA8; /* Votre vert Teal */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.info-icon {
    color: #5DACA8;
    font-size: 1.4rem;
}

/* Colonne DROITE : Formulaire */
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #5DACA8;
    box-shadow: 0 0 0 3px rgba(93, 172, 168, 0.1);
}

textarea.form-control {
    resize: vertical; /* Permet de redimensionner verticalement uniquement */
}

/* Responsive : Une seule colonne sur mobile */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}
/* --- PAGE A PROPOS (DESIGN STORYTELLING) --- */

/* Section alternée (Texte + Image) */
.story-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Inverse l'ordre pour une section sur deux (Image à gauche, Texte à droite) */
.story-section.reverse .story-grid {
    direction: rtl; /* Astuce pour inverser l'ordre visuel */
}

.story-section.reverse .story-content {
    direction: ltr; /* On remet le texte dans le bon sens */
}

/* Style des textes longs */
.story-content h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #5DACA8; /* Trait vert souligné */
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9; /* Interligne aéré pour la lecture */
    color: #4a5568;
    margin-bottom: 20px;
    text-align: justify; /* Texte justifié pour faire "pro" */
}

/* Style des images */
.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.story-image:hover img {
    transform: translateY(-10px);
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 40px;
    }
    
    .story-section.reverse .story-grid {
        direction: ltr;
    }
    
    .story-image {
        order: -1; /* L'image toujours en premier sur mobile */
    }
}
@media (max-width: 768px) {
    /* Cache les flèches entre les étapes sur mobile */
    .contact-hero + div div[style*="font-size: 1.5rem"] {
        display: none !important;
    }
}
/* --- PAGE FILIÈRES (DESIGN AJC / GRID ANIMÉE) --- */

.filieres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Grille responsive */
    gap: 30px;
    padding: 40px 0;
}

.filiere-card {
    position: relative;
    height: 400px; /* Hauteur des cartes */
    border-radius: 16px;
    overflow: hidden; /* INDISPENSABLE : Empêche l'image de dépasser quand elle zoome */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    text-decoration: none; /* Enlève le soulignement des liens */
    display: block;
}

/* L'image de fond */
.filiere-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Zoom fluide */
}

/* Le filtre sombre pour lire le texte */
.filiere-overlay {
    position: absolute;
    inset: 0; /* Prend toute la place */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* Le contenu (Titre + Texte) */
.filiere-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Texte en bas */
    padding: 30px;
    color: white;
}

.filiere-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s; /* Délai pour l'effet cascade */
}

.filiere-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: white;
}

.filiere-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-height: 0; /* Caché par défaut */
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.btn-filiere {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 25px;
    background: #5DACA8;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

/* --- ANIMATION AU SURVOL (HOVER) --- */

/* 1. Zoom de l'image */
.filiere-card:hover .filiere-bg {
    transform: scale(1.15); /* Zoom à 115% */
}

/* 2. Assombrir le fond pour mieux lire et mettre du vert */
.filiere-card:hover .filiere-overlay {
    opacity: 0.9;
    background: linear-gradient(to top, rgba(93, 172, 168, 0.9) 0%, rgba(0,0,0,0.4) 100%); /* Devient vert Mindset */
}

/* 3. Apparition du texte caché */
.filiere-card:hover .filiere-desc {
    max-height: 100px; /* On déroule le texte */
    opacity: 1;
    transform: translateY(0);
}

.filiere-card:hover .filiere-icon {
    opacity: 1;
    transform: translateY(0);
}

.filiere-card:hover .btn-filiere {
    opacity: 1;
    transform: translateY(0);
}
/* --- MENU BURGER (MOBILE) --- */

/* On cache le bouton burger par défaut (sur PC) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-teal);
    border-radius: 3px;
    transition: var(--transition);
}

/* --- RESPONSIVE MOBILE (CORRIGÉ) --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex; /* On affiche le burger sur mobile */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Caché à droite par défaut */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 40px;
    }

    /* Quand le menu est ouvert */
    .nav-menu.active {
        right: 0;
    }

    /* Animation du Burger en "X" quand il est ouvert */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Adaptation du sous-menu (Nos Formations) sur mobile */
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        display: none; /* Caché par défaut, s'ouvre au clic */
        padding-left: 20px;
        background: #f9f9f9;
        min-width: 100%;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
}
/* ─────────────────────────────────────
   CHIFFRES CLÉS (KPI)
   ───────────────────────────────────── */

.kpi-section {
    padding: 0;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--color-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(26, 26, 46, 0.25);
}

.kpi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    text-align: center;
}

.kpi-item + .kpi-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.kpi-icon {
    color: var(--color-teal);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.kpi-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.kpi-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -1px;
}

.kpi-suffix {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--color-teal);
}

.kpi-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 900px) {
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .kpi-item { padding: 2rem 1rem; }
    .kpi-item + .kpi-item::before { display: none; }
    .kpi-item:nth-child(2n)::before { display: block; }
    .kpi-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}

@media (max-width: 480px) {
    .kpi-section { margin-top: -1.5rem; }
    .kpi-grid { border-radius: 12px; }
    .kpi-number { font-size: 2rem; }
}


/* ─────────────────────────────────────
   PARCOURS CLIENT (3 étapes)
   ───────────────────────────────────── */

.parcours-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.parcours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

.parcours-step {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.parcours-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.parcours-numero {
    position: absolute;
    top: -0.6rem;
    left: 1.5rem;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-teal);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.parcours-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(93, 172, 168, 0.1), rgba(91, 155, 213, 0.1));
    color: var(--color-teal);
    transition: background 0.3s ease, transform 0.3s ease;
}

.parcours-step:hover .parcours-icon {
    background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
    color: white;
    transform: scale(1.08);
}

.parcours-step h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.parcours-step p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin: 0;
}

.parcours-arrow {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-teal);
    opacity: 0.35;
    z-index: 5;
}

.parcours-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .parcours-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .parcours-arrow {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -1.2rem;
        transform: translateX(-50%) rotate(90deg);
    }
    .parcours-step { padding: 2rem 1.5rem; }
}


/* ─────────────────────────────────────
   FAQ DYNAMIQUE (Accordéon)
   ───────────────────────────────────── */

.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(93, 172, 168, 0.3);
}

.faq-item[open] {
    border-color: var(--color-teal);
    box-shadow: 0 4px 20px rgba(93, 172, 168, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-dark);
    list-style: none;
    transition: color 0.2s ease;
    user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }
.faq-question:hover { color: var(--color-teal); }

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-text-light);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-teal);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    animation: faqSlideDown 0.3s ease;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

.faq-answer strong { color: var(--color-text); }

@keyframes faqSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .faq-question { padding: 1rem 1.25rem; font-size: 0.88rem; }
    .faq-answer { padding: 0 1.25rem 1.25rem; }
}
/* ─────────────────────────────────────
   AVIS GOOGLE (Trustindex)
   ───────────────────────────────────── */

.avis-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.avis-widget-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

/* Override Trustindex : largeur et centrage */
.avis-widget-wrap .ti-widget {
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Forcer 3 cartes max visibles sur desktop */
.avis-widget-wrap .ti-review-item {
    min-width: 300px !important;
    max-width: 340px !important;
    flex: 0 0 calc(33.333% - 1rem) !important;
}

/* Harmoniser le style des cartes avec ton site */
.avis-widget-wrap .ti-review-item .ti-inner {
    border-radius: 12px !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.avis-widget-wrap .ti-review-item .ti-inner:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Étoiles en teal pour coller à ta charte */
.avis-widget-wrap .ti-star.f {
    color: var(--color-teal) !important;
}

/* Flèches de navigation toujours visibles */
.avis-widget-wrap .ti-controls {
    display: flex !important;
    opacity: 1 !important;
}

.avis-widget-wrap .ti-controls .ti-prev,
.avis-widget-wrap .ti-controls .ti-next {
    background: var(--color-teal) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    opacity: 0.8 !important;
}

.avis-widget-wrap .ti-controls .ti-prev:hover,
.avis-widget-wrap .ti-controls .ti-next:hover {
    opacity: 1 !important;
}

/* Tablette : 2 avis */
@media (min-width: 769px) and (max-width: 1024px) {
    .avis-widget-wrap .ti-review-item {
        flex: 0 0 calc(50% - 1rem) !important;
    }
}

/* Mobile : 1 avis pleine largeur */
@media (max-width: 768px) {
    .avis-section { padding: 3rem 0; }
    .avis-widget-wrap .ti-review-item {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}
/* ══════════════════════════════════════════════════════════
   PAGE DÉTAIL FORMATION
   ══════════════════════════════════════════════════════════ */

.fd-hero {
    background: var(--color-bg-light);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.fd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-teal);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    transition: gap 0.2s ease;
}

.fd-back:hover { gap: 10px; }

.fd-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--color-dark);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.fd-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.fd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid;
    background: white;
}

.fd-badge--teal { color: var(--color-teal); border-color: var(--color-teal); }
.fd-badge--blue { color: var(--color-blue); border-color: var(--color-blue); }
.fd-badge--neutral { color: var(--color-text-light); border-color: var(--color-border); background: var(--color-bg-light); }

.fd-layout { padding: 3rem 0 4rem; }

.fd-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

.fd-section { margin-bottom: 2.5rem; }

.fd-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-teal);
}

.fd-section-title svg { color: var(--color-teal); flex-shrink: 0; }

.fd-intro { font-weight: 600; color: var(--color-text); margin-bottom: 0.75rem; font-size: 1.02rem; }

.fd-description { font-size: 1rem; line-height: 1.8; color: var(--color-text); }

.fd-formats {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
}

.fd-formats-title { font-size: 1rem; font-weight: 700; color: var(--color-dark); margin-bottom: 1.25rem; }

.fd-formats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.fd-format-card {
    padding: 1.25rem;
    background: var(--color-bg-light);
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.fd-format-label { display: flex; align-items: center; gap: 6px; color: var(--color-teal); font-size: 0.9rem; margin-bottom: 0.5rem; }

.fd-format-card p { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; margin: 0 0 0.5rem 0; }

.fd-format-price { font-size: 0.82rem; font-weight: 700; color: var(--color-dark); }

.fd-objectives {
    background: var(--color-bg-light);
    padding: 1.75rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-teal);
}

.fd-objectives ul { list-style: none; padding: 0; margin: 0; }

.fd-objectives li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--color-text);
    font-size: 0.95rem;
}

.fd-objectives li:last-child { margin-bottom: 0; }

.fd-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 800;
}

.fd-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

.fd-info-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.25rem;
}

.fd-info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.fd-info-card p { font-size: 0.9rem; color: var(--color-text); line-height: 1.6; margin: 0; }

.fd-accessibility-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--color-text-light);
}

.fd-sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.fd-sidebar-title { font-size: 1.1rem; font-weight: 700; text-align: center; color: var(--color-dark); margin-bottom: 1.5rem; }

.fd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0.75rem;
}

.fd-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); }

.fd-btn--download { background: var(--color-dark); color: white; }

.fd-btn--cta { background: linear-gradient(135deg, var(--color-teal), var(--color-blue)); color: white; }

.fd-sidebar-funding { text-align: center; padding: 0.75rem 0; font-size: 0.82rem; color: var(--color-text-light); }
.fd-sidebar-funding p { margin: 0.25rem 0; }
.fd-sidebar-tax { font-size: 0.78rem; color: #aaa; }

.fd-sidebar-details {
    border-top: 1px solid var(--color-border);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fd-sidebar-detail h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.3rem;
}

.fd-sidebar-detail h4 svg { color: var(--color-teal); }

.fd-sidebar-detail p { font-size: 0.82rem; color: var(--color-text-light); line-height: 1.5; margin: 0; }

.fd-sidebar-satisfaction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1.25rem;
    padding: 0.85rem;
    background: linear-gradient(135deg, rgba(93, 172, 168, 0.08), rgba(91, 155, 213, 0.08));
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-teal);
}

.fd-sidebar-satisfaction svg { color: #f4a261; }

@media (max-width: 900px) {
    .fd-grid { grid-template-columns: 1fr; gap: 2rem; }
    .fd-sidebar-card { position: static; box-shadow: none; border: 2px solid var(--color-teal); }
    .fd-formats-grid { grid-template-columns: 1fr; }
    .fd-info-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .fd-hero { padding: 1.5rem 0; }
    .fd-layout { padding: 2rem 0; }
    .fd-sidebar-card { padding: 1.5rem; }
    .fd-title { font-size: 1.4rem; }
}
/* ══════════════════════════════════════════════════════════
   PAGE CATALOGUE FORMATIONS
   ══════════════════════════════════════════════════════════ */

.cat-hero {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, white 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.cat-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.cat-hero-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.cat-hero-btn {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cat-section {
    padding: 3rem 0 5rem;
}

/* ─── Cartes formation améliorées ─── */

.formation-card {
    background: white;
    border-radius: 14px;
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.formation-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.formation-card .card-duration {
    background: linear-gradient(135deg, rgba(93, 172, 168, 0.12), rgba(91, 155, 213, 0.12));
    color: var(--color-teal);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.formation-card .card-price {
    font-weight: 800;
    color: var(--color-blue);
    font-size: 1.15rem;
    font-family: var(--font-display);
}

.formation-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 0.6rem 0;
    padding: 1.5rem 1.5rem 0;
    line-height: 1.4;
}

.formation-card > p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    padding: 0 1.5rem;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    padding: 0 1.5rem;
    margin: 0 0 1.25rem 0;
}

.card-features li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 800;
    font-size: 0.8rem;
}

.formation-card .card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

/* ─── Bloc financement ─── */

.cat-funding {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 3.5rem;
    padding: 2rem;
    background: white;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-teal);
    box-shadow: var(--shadow-sm);
}

.cat-funding-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(93, 172, 168, 0.1), rgba(91, 155, 213, 0.1));
    border-radius: 12px;
    color: var(--color-teal);
}

.cat-funding-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.cat-funding p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
}

.cat-funding-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-teal);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.cat-funding-link:hover {
    gap: 8px;
}

@media (max-width: 768px) {
    .cat-hero { padding: 2.5rem 0; }
    .cat-section { padding: 2rem 0 3rem; }
    .cat-funding { flex-direction: column; gap: 1rem; }
    .formation-card h3 { font-size: 1rem; }
}
/* ══════════════════════════════════════════════════════════
   PAGE CATÉGORIE — Compléments
   ══════════════════════════════════════════════════════════ */

.cat-count {
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.cat-count span {
    background: linear-gradient(135deg, rgba(93, 172, 168, 0.1), rgba(91, 155, 213, 0.1));
    color: var(--color-teal);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.cat-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-bg-light);
    border-radius: 14px;
    border: 1px solid var(--color-border);
}

.cat-empty svg {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.cat-empty p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* ─── Card body (contenu sous le header) ─── */

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-family: var(--font-body);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 0.6rem 0;
    line-height: 1.4;
}

.card-body > p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

/* ─── Bloc tarifs dans les cartes ─── */

.card-tarifs {
    background: var(--color-bg-light);
    border-left: 3px solid var(--color-teal);
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.card-tarif-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--color-text-light);
}

.card-tarif-row + .card-tarif-row {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--color-border);
}

.card-tarif-row strong {
    color: var(--color-dark);
    font-size: 0.85rem;
}

/* ─── Ajustement cards avec card-body ─── */

.formation-card {
    padding: 0;
    overflow: hidden;
}

.formation-card h3,
.formation-card > p {
    padding: 0;
}

.formation-card .card-actions {
    padding: 0;
    margin-top: auto;
}
.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.avis-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-top: 3px solid #5DACA8;
    transition: transform 0.2s;
}
.avis-card:hover { transform: translateY(-4px); }
.avis-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.avis-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #5DACA8;
}
.avis-meta strong { display: block; color: #2c3e50; font-size: 0.95rem; }
.avis-stars { color: #F68181; font-size: 1rem; letter-spacing: 1px; }
.avis-text {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.avis-date { font-size: 0.78rem; color: #999; }
.avis-footer { text-align: center; margin-top: 36px; }
.avis-loading { text-align: center; color: #999; padding: 40px; }
/* ═══ AVIS GOOGLE CARROUSEL ═══ */
.avis-section {
    padding: 72px 0;
    background: #f0fafa;
    overflow: hidden;
}
.avis-head {
    text-align: center;
    margin-bottom: 40px;
}
.avis-head h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2e3b;
    margin: 0 0 8px;
    font-family: 'Playfair Display', serif;
}
.avis-glogo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 4px 12px 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-top: 8px;
}
.avis-glogo svg { width: 16px; height: 16px; }
.avis-rating-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
.avis-rating-big {
    font-size: 38px;
    font-weight: 700;
    color: #1a2e3b;
    line-height: 1;
}
.avis-stars-big {
    color: #fbbc04;
    font-size: 20px;
    letter-spacing: 2px;
}
.avis-rating-count {
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
}
.avis-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.avis-prev, .avis-next {
    background: #fff;
    border: 1.5px solid #5DACA8;
    color: #5DACA8;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}
.avis-prev:hover, .avis-next:hover {
    background: #5DACA8;
    color: #fff;
}
.avis-carousel-track-wrap {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.avis-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.avis-card {
    min-width: 100%;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-sizing: border-box;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef0f2;
}
.avis-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.avis-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}
.avis-meta strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a2e3b;
    margin-bottom: 3px;
}
.avis-stars {
    color: #fbbc04;
    font-size: 13px;
    letter-spacing: 1px;
}
.avis-badge {
    margin-left: auto;
    flex-shrink: 0;
}
.avis-badge svg { width: 20px; height: 20px; }
.avis-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 16px;
}
.avis-text::before {
    content: '\201C';
    font-size: 32px;
    color: #5DACA8;
    line-height: 0;
    vertical-align: -12px;
    margin-right: 2px;
    font-family: Georgia, serif;
}
.avis-date { font-size: 12px; color: #bbb; }
.avis-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 54px;
}
.avis-dots { display: flex; gap: 6px; }
.avis-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}
.avis-dot.active {
    background: #5DACA8;
    width: 20px;
    border-radius: 4px;
}
.avis-counter { font-size: 12px; color: #bbb; }
.avis-footer { text-align: center; margin-top: 28px; }
.avis-loading { text-align: center; color: #aaa; padding: 60px; min-width: 100%; }

@media (max-width: 768px) {
    .avis-prev, .avis-next { width: 34px; min-width: 34px; height: 34px; font-size: 1.1rem; }
    .avis-card { padding: 22px 18px; }
    .avis-bottom { padding: 0 46px; }
}