/* ========================================
   VARIABLES GLOBALES - PALETTE OCÉANIQUE
======================================== */
:root {
    --blue-abyss: #0A1628;
    --blue-deep: #0F2040;
    --blue-royal: #1E3A8A;
    --blue-electric: #2563EB;
    --blue-cyan: #06B6D4;
    --blue-indigo: #4F46E5;
    
    --white: #FFFFFF;
    --gray-light: #F1F5F9;
    --gray-medium: #94A3B8;
    --gray-dark: #475569;
    
    --text-primary: var(--white);
    --text-secondary: var(--gray-medium);
    --bg-light: var(--gray-light);
}

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Correction de la règle img pour éviter qu'elle ne casse les avatars */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ========================================
   HEADER & NAVIGATION (FOND BLEU FONCÉ)
======================================== */
header {
    background: linear-gradient(135deg, var(--blue-abyss), var(--blue-deep));
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.3);
    border-bottom: 2px solid var(--blue-electric);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-header {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    /* Petit filtre pour que le logo 3D ressorte bien sur le fond bleu foncé */
    filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.4));
}

.logo-header:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.6));
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--white); /* Texte en blanc sur fond bleu foncé */
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--blue-cyan); /* Devient cyan au survol */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue-cyan);
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* ========================================
   LOGO AMENG 3D - FOOTER (TAILLE RÉDUITE)
======================================== */
.footer-logo {
    max-width: 120px;        /* Réduit de 200px à 120px */
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.3));
    transition: all 0.3s ease;
}

/* Effet au survol (plus subtil) */
.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.4));
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .footer-logo {
        max-width: 100px;    /* Réduit de 150px à 100px */
        margin: 0 auto 1.5rem auto;
    }
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: linear-gradient(135deg, 
                rgba(10, 22, 40, 0.95) 0%, 
                rgba(15, 32, 64, 0.9) 50%, 
                rgba(30, 58, 138, 0.85) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1200') no-repeat center center/cover;
    color: var(--white);
    padding: 10rem 5% 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    color: #E2E8F0;
}

.cta-buttons a {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    margin: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-electric), var(--blue-indigo));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    border: 2px solid var(--blue-cyan);
    color: var(--blue-cyan);
    background: transparent;
}

.btn-secondary:hover {
    background-color: var(--blue-cyan);
    color: var(--blue-abyss);
    transform: translateY(-2px);
}

/* ========================================
   SECTION STATS
======================================== */
.stats {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-royal));
    padding: 4rem 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    border-bottom: 3px solid var(--blue-electric);
}

.stat-item {
    text-align: center;
    margin: 1rem;
    min-width: 200px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--blue-cyan);
}

.stat-item p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* ========================================
   SECTION EXPERTISES
======================================== */
.expertises {
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--white);
}

.section-title {
    font-size: 2.2rem;
    color: var(--blue-royal);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-electric), var(--blue-cyan));
    margin: 0.5rem auto 0 auto;
}

.grid-expertises {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    text-align: left;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
    border-color: var(--blue-electric);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--blue-royal);
    margin-bottom: 1rem;
}

/* ========================================
   ICÔNES SVG POUR LES CARTES D'EXPERTISE
======================================== */
.expertise-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 16px; /* Coins légèrement arrondis pour un look moderne */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    color: var(--blue-electric); /* Couleur de l'icône par défaut */
}

/* Animation de l'icône au survol de la carte */
.card:hover .expertise-icon {
    background: linear-gradient(135deg, var(--blue-electric), var(--blue-cyan));
    color: var(--white); /* L'icône devient blanche */
    transform: scale(1.1) rotate(5deg); /* Petit effet de zoom et rotation */
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Ajustement de la taille du SVG à l'intérieur */
.expertise-icon svg {
    width: 32px;
    height: 32px;
    transition: all 0.4s ease;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--blue-electric);
    font-weight: 600;
    transition: all 0.3s;
}

.card-link:hover {
    color: var(--blue-cyan);
    transform: translateX(5px);
}

/* ========================================
   SECTION MÉTHODOLOGIE
======================================== */
.methodology {
    background-color: var(--gray-light);
    padding: 6rem 5%;
}

.methodology-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.methodology-intro {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.method-step {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: all 0.3s;
    border-top: 4px solid var(--blue-electric);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.method-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
    border-top-color: var(--blue-cyan);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--blue-electric);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

.method-step h3 {
    font-size: 1.3rem;
    color: var(--blue-royal);
    margin-bottom: 1rem;
}

.method-step p {
    color: var(--gray-dark);
    line-height: 1.7;
}

/* ========================================
   SECTION PREUVES SOCIALES & LOGOS CLIENTS
======================================== */
.social-proof {
    padding: 6rem 5%;
    background-color: var(--white);
    text-align: center;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0 5rem 0;
    padding: 2rem 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.logo-client {
    background-color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
}

/* Spécificité élevée pour contrer la règle globale img */
.logo-client img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s;
}

.logo-client:hover {
    background-color: var(--blue-royal);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.logo-client:hover img {
    filter: grayscale(0%) opacity(1);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--gray-light);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: left;
    border-left: 4px solid var(--blue-electric);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--blue-cyan);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: var(--blue-royal);
    font-size: 1rem;
    display: block;
}

.testimonial-author span {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

/* ========================================
   CTA FINAL
======================================== */
.final-cta {
    background: linear-gradient(135deg, var(--blue-abyss), var(--blue-deep), var(--blue-royal));
    color: var(--white);
    padding: 5rem 5%;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.final-cta p {
    font-size: 1.1rem;
    color: #E2E8F0;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* ========================================
   PAGES INTERNES (Hero & Contenu)
======================================== */
.page-hero {
    background: linear-gradient(135deg, 
                rgba(10, 22, 40, 0.95) 0%, 
                rgba(15, 32, 64, 0.9) 50%, 
                rgba(30, 58, 138, 0.85) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1200') no-repeat center center/cover;
    color: var(--white);
    padding: 6rem 5% 4rem 5%;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: #E2E8F0;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.page-content .intro-text {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 3rem;
    font-style: italic;
    border-left: 4px solid var(--blue-electric);
    padding-left: 1.5rem;
}

.expertise-block,
.cabinet-block {
    margin-bottom: 4rem;
}

.expertise-block h2,
.cabinet-block h2 {
    font-size: 1.8rem;
    color: var(--blue-royal);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 0.5rem;
}

.expertise-block ul,
.cabinet-block ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1.5rem;
}

.expertise-block ul li,
.cabinet-block ul li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.expertise-block ul li::before,
.cabinet-block ul li::before {
    content: '✓';
    color: var(--blue-cyan);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.expertise-block ul li strong,
.cabinet-block ul li strong {
    color: var(--blue-royal);
    display: block;
    margin-bottom: 0.3rem;
}

.block-quote {
    background-color: var(--gray-light);
    border-left: 5px solid var(--blue-electric);
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-dark);
    border-radius: 4px;
}

/* ========================================
   DIRECTEUR - IMAGE À GAUCHE
======================================== */
.director-layout-left {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--blue-electric);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.director-photo-left {
    flex: 0 0 200px;
    flex-shrink: 0;
}

.director-photo-left img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    object-position: center 0%;
    border-radius: 12px;
    border: 4px solid var(--blue-electric);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.director-photo-left img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

.director-text-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.block-quote-director {
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 8px;
    border-left: 4px solid var(--blue-cyan);
}

.director-name {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.director-name strong {
    color: var(--blue-royal);
    font-size: 1.2rem;
    font-weight: 700;
}

.director-name span {
    color: var(--blue-electric);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .director-layout-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .director-photo-left {
        flex: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .director-photo-left img {
        width: 180px;
        height: 220px;
    }
    
    .director-text-left {
        width: 100%;
    }
    
    .director-name {
        align-items: center;
    }
}

/* ========================================
   PAGE INSIGHTS
======================================== */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--blue-royal);
    background: transparent;
    color: var(--blue-royal);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--blue-royal);
    color: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.article-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    display: inline-block;
    background-color: var(--blue-electric);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.article-date {
    display: block;
    color: var(--gray-medium);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.article-content h3 {
    font-size: 1.2rem;
    color: var(--blue-royal);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.article-content p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--blue-electric);
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--blue-cyan);
}

.newsletter-block {
    background: linear-gradient(135deg, var(--blue-abyss), var(--blue-deep));
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-block h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.newsletter-block p {
    color: #E2E8F0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--blue-electric), var(--blue-cyan));
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* ========================================
   ICÔNES DANS LES BLOCS D'EXPERTISE (Page Détails)
======================================== */
.expertise-title-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.expertise-icon-large {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-electric);
    flex-shrink: 0; /* Empêche l'icône de s'écraser sur mobile */
    transition: all 0.3s ease;
}

/* Petit effet au survol du bloc entier */
.expertise-block:hover .expertise-icon-large {
    background: linear-gradient(135deg, var(--blue-electric), var(--blue-cyan));
    color: var(--white);
    transform: scale(1.05);
}

.expertise-icon-large svg {
    width: 28px;
    height: 28px;
}

/* Ajustement du H2 pour qu'il s'aligne bien avec l'icône */
.expertise-block h2 {
    margin-bottom: 0; /* On retire la marge du bas car le titre est dans une row */
    padding-bottom: 0; /* On retire le padding car la border-bottom sera gérée autrement si besoin */
    border-bottom: none; /* On enlève la ligne sous le titre pour un look plus épuré avec l'icône */
}

/* ========================================
   PAGE CONTACT
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.8rem;
    color: var(--blue-royal);
    margin-bottom: 1.5rem;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.1rem;
    color: var(--blue-royal);
    margin-bottom: 0.5rem;
}

.info-block p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.info-block a {
    color: var(--blue-electric);
    font-weight: 600;
}

.info-block a:hover {
    color: var(--blue-cyan);
    text-decoration: underline;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper {
    background: var(--gray-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.form-intro {
    color: var(--gray-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.diagnostic-form fieldset {
    border: none;
    margin-bottom: 2rem;
}

.diagnostic-form legend {
    font-size: 1.3rem;
    color: var(--blue-royal);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue-electric);
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--blue-royal);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-electric);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 2rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.5;
    margin: 0;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--blue-electric), var(--blue-indigo));
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.form-note {
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* ========================================
   FOOTER (COMPACT & ÉLÉGANT)
======================================== */
footer {
    background: linear-gradient(135deg, var(--blue-abyss), var(--blue-deep));
    color: var(--gray-medium);
    padding: 2.5rem 5% 1.5rem 5%; /* Réduit (était 4rem ... 2rem) */
    font-size: 0.85rem; /* Texte légèrement plus petit */
    border-top: 2px solid var(--blue-electric);
    line-height: 1.5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem; /* Espacement entre les colonnes */
    margin-bottom: 1.5rem; /* Réduit (était 2rem) */
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 1.5rem; /* Réduit (était 2rem) */
}

.footer-section {
    flex: 1;
    min-width: 220px; /* Légèrement réduit pour un alignement plus serré */
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 0.75rem; /* Réduit (était 1rem) */
    font-size: 1rem; /* Titre un peu plus compact */
    font-weight: 700;
}

.footer-section p {
    color: var(--gray-medium);
    margin-bottom: 0.4rem; /* Réduit (était 0.5rem) */
}

.footer-section a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--blue-cyan);
}

/* Logo dans le footer (taille compacte) */
.footer-logo {
    max-width: 100px; /* Taille réduite et discrète */
    height: auto;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(6, 182, 212, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 10px rgba(6, 182, 212, 0.5));
}

.footer-bottom {
    text-align: center;
    color: var(--gray-medium);
    padding-top: 0.5rem;
    font-size: 0.8rem;
}

/* ========================================
   RESPONSIVE FOOTER (MOBILE)
======================================== */
@media (max-width: 768px) {
    footer {
        padding: 2rem 5% 1rem 5%;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .footer-section {
        min-width: 100%;
    }
    
    .footer-logo {
        max-width: 90px;
        margin: 0 auto 1rem auto;
    }
    
    .footer-section h4 {
        margin-top: 0.5rem;
    }
}

/* ========================================
   RESPONSIVE GLOBAL
======================================== */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header { 
        flex-direction: column; 
        gap: 1rem; 
        padding: 1rem;
    }
    
    nav ul { 
        flex-direction: column; 
        align-items: center; 
        gap: 0.5rem; 
    }
    
    nav ul li { 
        margin-left: 0; 
    }
    
    .hero { padding: 6rem 5% 5rem 5%; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    
    .grid-expertises { flex-direction: column; }
    .section-title { font-size: 1.7rem; }
    .methodology-grid { grid-template-columns: 1fr; }
    .testimonials { grid-template-columns: 1fr; }
    
    .final-cta h2 { font-size: 1.6rem; }
    .final-cta .btn-primary { padding: 0.8rem 1.5rem; font-size: 1rem; }
    
    .clients-logos { gap: 2rem; }
    .logo-client { padding: 1rem 1.5rem; min-width: 120px; height: 70px; }
    .logo-client img { max-height: 50px; }
    
    .newsletter-form { flex-direction: column; }
    .newsletter-form input, .newsletter-form button { width: 100%; }
    
    .page-hero h1 { font-size: 1.8rem; }
    .page-content { padding: 3rem 5%; }
    .contact-form-wrapper { padding: 1.5rem; }
    .stats { padding: 3rem 5%; }
    .stat-number { font-size: 2rem; }

    /* Responsive Directeur */
    .director-signature {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .cta-buttons a { display: block; margin: 0.5rem 0; }
    .section-title { font-size: 1.5rem; }
    .card { padding: 1.5rem; }
}