/* ========================================= */
/* 1. VARIABLES CSS (Couleurs, Polices, Grille) */
/* ========================================= */
:root {
    /* Couleurs Générales */
    --color-primary: #2563EB;
    /* Bleu Électrique pour l'accentuation (ex: boutons, liens) */
    --color-text-dark: #2c3e50;
    /* Couleur de texte foncée pour la lisibilité */
    --color-text-light: #555;
    /* Couleur de texte plus claire */
    --color-background-light: #f7f7ff;
    /* Blanc cassé pour le fond des éléments */
    --color-border-light: #e0e0e0;
    /* Couleur de bordure très claire */

    /* Polices */
    /* La police 'Inter' est importée via Google Fonts dans header.php */

    /* Variables pour le fond de grille et dégradé */
    --background-gradient-start: rgba(230, 240, 255, 0.4);
    /* Bleu clair très transparent */
    --background-gradient-end: rgba(255, 255, 255, 0.2);
    /* Blanc très transparent */
    --grid-cell-size: 150px;
    /* Taille d'une cellule de la grille */
    --grid-line-color: rgba(0, 0, 0, 0.04);
    /* Couleur très claire pour les lignes de grille */
}

/* ========================================= */
/* 2. STYLES DE BASE (Reset, Body)           */
/* ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    /* S'assure que padding et border sont inclus dans la largeur/hauteur */
    margin: 0;
    padding: 0;
}

body {
    /* Application de la police 'Inter' à tout le corps du document */
    font-family: 'Inter', sans-serif;
    background-color: #F8F8FF;
    line-height: 1.6;
    /* Améliore la lisibilité du texte */
    color: var(--color-text-light);
    /* Couleur de texte par défaut */
    font-size: 16px;
    /* Taille de police de base par défaut */
    -webkit-font-smoothing: antialiased;
    /* Améliore le rendu des polices sur WebKit */
    -moz-osx-font-smoothing: grayscale;
    /* Améliore le rendu des polices sur Firefox/OSX */

    /* ------------------------------------------- */
    /* Implémentation du fond avec la grille et le dégradé */
    /* ------------------------------------------- */


    /* Assurez-vous que la classe .container est bien définie pour limiter la largeur */
    .container {
        max-width: 1280px;
        /* Largeur maximale par défaut */
        margin: 0 auto;
        /* Centrage */
        padding: 0 20px;
        /* Padding horizontal par défaut */
    }

    /* ========================================= */
    /* 3. STYLES TYPOGRAPHIQUES                  */
    /* ========================================= */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: 'Inter', sans-serif;
        /* Les titres utilisent aussi Inter */
        margin-bottom: 0.8em;
        font-weight: 700;
        /* Plus gras pour les titres */
        color: var(--color-text-dark);
        /* Couleur de texte foncée pour les titres */
        line-height: 1.2;
    }

    /* Styles pour les boutons (ajustés pour correspondre à la navbar) */
    .btn {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        padding: 10px 20px;
        border-radius: 25px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        /* Permet un bon alignement avec les icônes si besoin */
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    /* Bouton primaire (bleu) - Exemple pour "Nous contacter" */
    .btn-primary-alt {
        background-color: var(--color-primary);
        /* Utilisation de la variable de couleur primaire */
        color: var(--color-background-light);
        /* Texte blanc/clair */
        border: 1px solid var(--color-primary);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        /* Ombre basée sur la couleur primaire */
        padding: 12px 30px;
        /* Spécifique au bouton de la navbar, un peu plus grand */
    }

    .btn-primary-alt:hover {
        background-color: #0056b3;
        /* Bleu plus foncé au survol */
        border-color: #0056b3;
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    }

    /* Exemple pour un bouton secondaire/transparent (comme "Prendre RDV") */
    .btn-secondary-outline {
        background-color: transparent;
        color: var(--color-text-light);
        /* Couleur de texte claire */
        border: 1px solid var(--color-border-light);
        /* Bordure claire */
        padding: 12px 25px;
        /* Ajusté pour ce type de bouton */
    }

    .btn-secondary-outline:hover {
        background-color: rgba(0, 0, 0, 0.03);
        /* Très léger fond au survol */
        color: var(--color-text-dark);
        /* Texte un peu plus foncé */
        border-color: var(--color-text-light);
    }

    /* ========================================= */
    /* 4. UTILITIES (Classes utilitaires)        */
    /* ========================================= */
    .text-center {
        text-align: center;
    }

    .text-primary {
        color: var(--color-primary) !important;
    }

    /* Ajoutez d'autres classes utilitaires au besoin */

    /* ========================================= */
    /* 5. MEDIA QUERIES (Responsivité)           */
    /* ========================================= */
    /* Vous pouvez ajouter des media queries ici pour ajuster les styles sur différentes tailles d'écran */
    /* Par exemple, ajuster la taille des titres pour les mobiles */
    @media (max-width: 768px) {
        h1 {
            font-size: 2.2rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        body {
            font-size: 15px;
        }
    }
}

/* ========================================= */
/* SELECTION TEXTE (Bleu site + Contraste)   */
/* ========================================= */
::selection {
    background-color: #2e69ec;
    color: #ffffff;
}




/* SECTION HERO (fond bleu nuit ou noir selon ta palette) */
.hero {
    position: relative;
    text-align: center;
    /* Correction du padding : plus d'espace en haut pour la navbar, et centrage auto */
    padding: 40px 20px 20px 20px;
    max-width: 1000px;
    /* Limite la largeur du texte pour la lisibilité */
    margin: 0 auto;
    /* Centre le bloc */
    color: var(--color-text-dark);
    z-index: 5;
    /* Au-dessus de la grille de fond */
}

/* TITRE */
.hero-title {
    font-family: 'Inter', sans-serif;
    /* Assure la consistance */
    font-size: clamp(3rem, 5vw, 5rem);
    /* Responsive : grossit selon l'écran */
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #000;
}

.hero-subtitle {
    font-size: 1.15rem;
    /* Un peu plus grand que le texte standard (18-19px) */
    font-weight: 400;
    color: #4b5563;
    /* Gris foncé doux pour la hiérarchie visuelle */
    line-height: 1.6;
    /* Bonne hauteur de ligne pour la lisibilité */

    max-width: 650px;
    /* Limite la largeur pour que ça reste un bloc compact */
    margin: 24px auto 40px auto;
    /* Espacement : 24px en haut, 40px en bas vers le bouton */
}

/* Optionnel : Mettre les mots importants en gras avec la couleur primaire */
.hero-subtitle strong {
    font-weight: 600;
    color: #2563EB;
    /* Rappel du bleu de la charte */
}

/* Ajustement Mobile */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
        /* Petite marge de sécurité sur mobile */
        margin-bottom: 30px;
    }
}

/* MARQUEE — conteneur */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* height: 40px;  <-- J'ai supprimé ça car c'était trop petit */
    padding-top: 5px;
    /* Espace de sécurité en haut */
    padding-bottom: 5px;
    /* Espace de sécurité en bas pour voir la bordure */
    margin-bottom: 40px;
    /* Crée un dégradé transparent sur les bords gauche et droit */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* PISTE QUI DÉFILE */
.marquee-track {
    display: flex;
    gap: 10px;
    white-space: nowrap;
    animation: marqueeMove 4s linear infinite;
    align-items: center;
    /* Ajouté pour bien centrer les tags verticalement */
}

/* TEXTE (tags arrondis) */
.tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    /* box-sizing: border-box; <-- Bonne pratique à ajouter au cas où */
}

/* ANIMATION défilement droite → gauche */
@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* BOUTON */
.hero-cta-group {
    display: flex;
    justify-content: center;
    /* Centre les boutons horizontalement */
    align-items: center;
    gap: 20px;
    /* Espace entre les deux boutons */
    margin-top: 30px;
    flex-wrap: wrap;
    /* Permet aux boutons de passer à la ligne sur petit mobile */
}

/* Style de base commun aux boutons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 1. Bouton Principal (Plein - Bleu) */
.btn-primary {
    background-color: var(--color-primary);
    /* #2563EB défini dans tes variables */
    color: #ffffff;
    border: 2px solid var(--color-primary);
    /* Bordure invisible mais garde la taille */
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    /* Ombre portée bleue subtile */
}

.btn-primary:hover {
    background-color: #1d4ed8;
    /* Bleu un peu plus foncé */
    border-color: #1d4ed8;
    transform: translateY(-2px);
    /* Léger effet de levier */
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 2. Bouton Secondaire (Contour - Transparent) */
.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    /* Texte sombre */
    border: 2px solid #e5e7eb;
    /* Bordure grise claire subtile */
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    /* La bordure devient bleue au survol */
    color: var(--color-primary);
    /* Le texte devient bleu */
    background-color: rgba(37, 99, 235, 0.05);
    /* Fond très légèrement bleu */
}

/* RESPONSIVE MOBILE */
@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        /* Empile les boutons verticalement */
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        /* Les boutons prennent toute la largeur sur mobile */
        text-align: center;
    }
}






/* ========================================= */
/* MODULE TRUST BAR (Marquee Infini)         */
/* ========================================= */

/* 1. Conteneur principal (Layout sur la page) */
.container-trust-bar {
    width: 100%;
    padding: 0 20px;
    margin: 60px auto;
    display: flex;
    justify-content: center;
}

/* 2. La zone de défilement (Nettoyée) */
.trust-bar-box {
    width: 100%;
    max-width: 1200px;
    /* Plus large pour laisser respirer les logos */
    padding: 10px 0;

    /* Masquage des éléments qui sortent (Essentiel) */
    overflow: hidden;
    position: relative;

    /* TECHNIQUE MODERNE : Masque de transparence (Fade in/out propre) */
    /* Cela permet aux logos de disparaître progressivement sur les bords */
    /* Fonctionne sur n'importe quelle couleur de fond */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* 3. Le rail d'animation */
.trust-bar-track {
    display: flex;
    width: max-content;
    animation: trustBarScroll 30s linear infinite;
}

/* 4. Groupe de logos */
.trust-bar-group {
    display: flex;
    align-items: center;
    gap: 80px;
    /* J'ai légèrement augmenté l'espace car il n'y a plus de cadre */
    padding-right: 80px;
    /* Idem pour la jointure */
}

/* 5. Les Logos (Images) - Forcés en GRIS */
.trust-bar-logo {
    height: 65px;
    /* Un tout petit peu plus grand pour compenser l'absence de cadre */
    width: auto;
    object-fit: contain;

    /* Conversion CSS en Noir & Blanc + Transparence */
    filter: grayscale(100%) opacity(0.5);
    /* Opacité plus basse pour être discret */

    transition: all 0.3s ease;
    cursor: pointer;
}

/* INTERACTIONS */

.trust-bar-box:hover .trust-bar-track {
    animation-play-state: paused;
}

.trust-bar-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* DEFINITION DE L'ANIMATION */
@keyframes trustBarScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .trust-bar-group {
        gap: 40px;
        padding-right: 40px;
    }

    .trust-bar-logo {
        height: 35px;
    }
}





/* ========================================= */
/* MODULE SERVICES - COLORFUL EDITION        */
/* ========================================= */

.section-expertise {
    padding: 100px 20px;
    background-color: #f7f7ff;
}

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

/* Header */
.expertise-header {
    text-align: center;
    margin-bottom: 70px;
}

.badge-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #f1f3f5;
    color: #555;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.expertise-title {
    font-size: 2.8rem;
    color: #111;
    font-weight: 800;
    line-height: 1.2;
}

/* --- DÉFINITION DES THÈMES DE COULEURS --- */

/* WEB DEV (Bleu Tech Vibrant) */
.card-dev {
    --theme-color: #2563eb;
    /* Bleu fort */
    --theme-bg: #eff6ff;
    /* Bleu très pâle */
    --theme-shadow: rgba(37, 99, 235, 0.2);
}

/* SEO (Vert Émeraude Croissance) */
.card-seo {
    --theme-color: #059669;
    /* Vert fort */
    --theme-bg: #ecfdf5;
    /* Vert très pâle */
    --theme-shadow: rgba(5, 150, 105, 0.2);
}

/* SEA (Orange Feu Action) */
.card-sea {
    --theme-color: #ea580c;
    /* Orange fort */
    --theme-bg: #fff7ed;
    /* Orange très pâle */
    --theme-shadow: rgba(234, 88, 12, 0.2);
}


/* --- CARTE DESIGN --- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    /* Arrondi */
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Barre de couleur en haut (cachée par défaut) */
.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--theme-color);
    transform: scaleX(0);
    /* Invisible */
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* HOVER : La carte monte, l'ombre colorée apparait */
.expertise-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 15px 30px var(--theme-shadow);
}

.expertise-card:hover::before {
    transform: scaleX(1);
    /* La barre s'affiche */
}


/* ICOLE COLORÉE */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--theme-bg);
    /* Fond coloré pâle */
    color: var(--theme-color);
    /* Icône couleur vive */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.expertise-card:hover .icon-box {
    transform: scale(1.1) rotate(3deg);
}

/* Textes */
.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.card-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* TAGS COLORÉS */
.tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--theme-bg);
    /* Utilise la couleur du thème */
    color: var(--theme-color);
    padding: 6px 12px;
    border-radius: 6px;
}

/* Bouton */
.btn-text {
    font-weight: 700;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-text .arrow-right {
    font-style: normal;
    transition: transform 0.3s;
}

.expertise-card:hover .btn-text {
    color: var(--theme-color);
    /* Le lien prend la couleur de la carte */
}

.expertise-card:hover .btn-text .arrow-right {
    transform: translateX(5px);
}


/* Responsive */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-title {
        font-size: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}









/* --- CONFIGURATION GÉNÉRALE --- */
.section-method-dark {
    background-color: var(--color-background-light);
    /* Fond clair du site */
    color: var(--color-text-dark);
    padding: 100px 5%;
    font-family: 'Inter', sans-serif;
}

.method-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: stretch;
    /* Hauteur égale */
}

/* --- BLOC GAUCHE (INTRO) --- */
.method-intro-block {
    width: 30%;
    min-width: 300px;
    padding-top: 20px;
}

.intro-subtitle {
    color: var(--color-primary);
    /* Bleu primaire */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    position: relative;
    padding-left: 40px;
}

.intro-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.method-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.text-highlight {
    color: var(--color-primary);
}

.method-desc {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- BLOC DROITE (ACCORDÉON) --- */
.accordion-wrapper {
    width: 70%;
    height: 550px;
    /* Hauteur fixe requise */
    display: flex;
    gap: 10px;
    /* Espace fin entre les cartes */
}

/* --- CARTE INDIVIDUELLE --- */
.step-card {
    position: relative;
    background: #ffffff;
    /* Fond blanc */
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    /* Ombre légère */

    /* MAGIE FLEXBOX */
    flex: 1;
    /* Taille fermée (très fine) */
    min-width: 60px;
    /* Largeur minimum pour le titre vertical */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);

    display: flex;
    flex-direction: column;
    padding: 25px;
}

/* --- ÉTAT ACTIF --- */
.step-card.active {
    flex: 6;
    /* S'ouvre en grand */
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    /* Ombre bleutée */
    cursor: default;
}

/* --- HEADER (Badge + Titre) --- */
.step-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

/* BADGE */
.step-badge {
    width: 40px;
    height: 40px;
    background-color: transparent;
    /* Transparent par défaut (fermé) */
    border: 1px solid var(--color-border-light);
    /* Bordure grise par défaut */
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Badge actif */
.step-card.active .step-badge {
    background-color: var(--color-primary);
    /* Bleu actif */
    color: #fff;
    border-color: var(--color-primary);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0;
    white-space: nowrap;
}

/* --- CONTENU (BODY) --- */
.step-body {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
    display: none;
    /* Retiré du flux quand fermé */
}

.step-card.active .step-body {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* LISTE CONTENU */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
}

.custom-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    /* Puce bleue */
    font-size: 1.2rem;
    line-height: 1rem;
}

.custom-list strong {
    color: var(--color-text-dark);
    font-weight: 700;
}

/* --- ÉTAT FERMÉ (ROTATION) --- */
/* C'est ce qui fait que les onglets ressemblent à l'image */

.step-card:not(.active) {
    align-items: center;
    padding: 20px 0;
    /* Padding réduit sur les côtés */
    background: #f9fafb;
    /* Très léger gris pour différencier les fermés */
}

.step-card:not(.active) .step-header {
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    gap: 40px;
    /* Espace entre le numéro et le titre */
}

.step-card:not(.active) .step-title {
    writing-mode: vertical-rl;
    /* Texte vertical */
    transform: rotate(180deg);
    /* Du bas vers le haut */
    font-size: 1.1rem;
    color: var(--color-text-light);
    /* Texte grisé */
    margin: 0;
}

/* --- RESPONSIVE (MOBILE) --- */
@media (max-width: 992px) {
    .method-container {
        flex-direction: column;
    }

    .method-intro-block {
        width: 100%;
        margin-bottom: 40px;
    }

    .accordion-wrapper {
        width: 100%;
        height: auto;
        flex-direction: column;
        /* Empilement vertical */
    }

    .step-card {
        flex: none;
        /* Désactive flex-grow */
        width: 100%;
        min-height: 70px;
        /* Hauteur minimale titre */
        padding: 20px;
        align-items: flex-start;
    }

    /* Reset pour mobile : plus de texte vertical */
    .step-card:not(.active) .step-header {
        flex-direction: row;
        height: auto;
        gap: 20px;
    }

    .step-card:not(.active) .step-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.2rem;
    }

    .step-card.active .step-body {
        margin-top: 15px;
    }
}


/* --- SECTION PORTFOLIO --- */
/* --- SECTION PORTFOLIO --- */
.section-portfolio {
    background-color: #f7f7ff;
    /* Fond blanc (ou background-light selon besoin) */
    padding: 100px 0;
    color: var(--color-text-dark);
    font-family: 'Inter', sans-serif;
}

.container-custom {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.highlight-text {
    color: var(--color-primary);
    /* Bleu principal */
    /* Suppression du dégradé pour rester consistant avec le thème clair */
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: unset;
}

.section-desc {
    color: var(--color-text-light);
    /* Texte gris normal */
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Carte */
.case-study-card {
    background: #ffffff;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
    /* Ou garder le border-light, au choix */
}

/* Visuel (Haut de carte) */
.case-visual {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-visual img {
    transform: scale(1.05);
    /* Zoom subtil au survol */
}

.overlay-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.9);
    /* Fond clair semi-transparent */
    color: var(--color-text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Contenu (Bas de carte) */
.case-content {
    padding: 25px;
}

.client-name {
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    font-weight: 700;
    color: var(--color-text-dark);
}

.project-type {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* Grille des résultats (Chiffres) */
.results-grid {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-border-light);
    padding-top: 20px;
}

.result-item {
    text-align: center;
}

.result-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    /* Chiffre en bleu */
    /* Suppression du dégradé clair sur clair */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: initial;
    margin-bottom: 5px;
}

.result-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    /* Texte gris */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Centré */
.cta-center-wrapper {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        flex-direction: row;
        gap: 10px;
    }

    .result-number {
        font-size: 1.5rem;
    }
}




/*FAQ                                                                                    FAQFAQFAQFAQFAQFAQFAQFAQFAQFAQFAQFAQFAQFAQFAQ*/

/* Conteneur principal de la section SEO */
.seo-faq-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 20px;
}

/* Titre H2 */
.seo-faq-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
}

/* Style de l'item FAQ */
.faq-item {
    background-color: #ffffff;
    border-radius: 20px;
    margin-bottom: 1rem;
    overflow: hidden;
    /* Important pour l'animation */
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--color-border-light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* État ouvert (actif) */
.faq-item.active {
    background-color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

/* La question (le bouton visible) */
.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    user-select: none;
    transition: color 0.2s ease;
    color: var(--color-text-dark);
}

.faq-question:hover {
    color: var(--color-primary);
}

/* L'icône chevron */
.faq-icon {
    font-size: 0.9rem;
    transition: transform var(--transition-speed) ease;
    color: #6b7280;
    /* Gris neutre par défaut */
}

/* Rotation du chevron quand actif */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

/* La réponse (cachée par défaut) */
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease, opacity var(--transition-speed) ease;
    background-color: #ffffff;
}

/* Contenu interne de la réponse pour le padding */
.faq-content {
    padding: 0 2rem 2rem 2rem;
    font-size: 1rem;
    color: var(--color-text-light);
    /* Utilisation de ta couleur de texte clair */
    text-align: justify;
}

/* Optimisation Mobile */
@media (max-width: 768px) {
    .seo-faq-header h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .faq-content {
        padding: 0 1.2rem 1.5rem 1.2rem;
    }
}













/* Conteneur principal */
.main-wrapper {
    width: 100%;
    max-width: 900px;
}

/* La carte CTA style "Light" */
/* La carte CTA style "Dark Premium" */
.cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    /* Fond sombre vibrant */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    color: #ffffff;
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 80px auto;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    /* Touche de rose subtile */
    border-radius: 50%;
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 2;
}

/* Titre */
.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Effet sur le mot clé */
.glow-text {
    color: #60a5fa;
    /* Bleu clair lumineux */
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

/* Sous-titre */
.cta-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    /* Gris bleu très clair */
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Formulaire */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Disposition des champs */
.form-row {
    display: flex;
    gap: 15px;
}

/* Styles des inputs */
.form-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
    background-color: #f9fafb;
    /* Gris très clair */
    color: var(--color-text-dark);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    background-color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-group {
    flex: 1;
}

/* Le Bouton Légendaire */
.cta-button {
    background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.6);
}

.cta-button:active {
    transform: translateY(1px);
}

.cta-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Message de succès */
.success-message {
    background: rgba(46, 213, 115, 0.2);
    border: 1px solid #2ed573;
    color: #2ed573;
    padding: 20px;
    border-radius: 15px;
    font-weight: 600;
    margin: 20px 0;
}

/* Responsive Mobile */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}