/*
Theme Name: Protection Incendie
Description: Thème WordPress personnalisé pour le site Protection Incendie CI, basé sur une maquette Canva Pro avec design moderne et responsive.
Author: Protection Incendie CI
Version: 1.0.0
License: GPL v2 or later
Text Domain: protection-incendie
Tags: business, security, fire-protection, responsive, modern
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =============================
   Transformations Réalisées (Section 2)
   ============================= */
.transformations { background: #F8FAFC; padding: 72px 0; }
.transformations .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.transformations__header { margin-bottom: 28px; }
.transformations__title {
    text-align: center;
    font-weight: 800;
    color: #0F172A;
    font-size: clamp(2rem, 4vw, 2.25rem);
    line-height: 1.15;
}
.transformations__subtitle {
    text-align: center;
    color: #475569;
    margin-top: 8px;
    font-size: 0.95rem;
}

.transformations__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .transformations__grid { grid-template-columns: repeat(3, 1fr); }
}

.transformation-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

/* Before/After slider */
.ba-slider {
    position: relative;
    width: 100%;
    height: 200px;
    background: #E2E8F0;
}
@media (min-width: 768px) { .ba-slider { height: 220px; } }

.ba-pane { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-pane.is-svg { background-size: contain; background-color: #fff; }
.ba-before { background: #E5E7EB; }
.ba-after { background: #D1FAE5; clip-path: inset(0 0 0 50%); }
.ba-after { transition: clip-path 260ms ease; }

.ba-caption {
    position: absolute;
    bottom: 10px; left: 12px;
    background: rgba(15,23,42,0.7);
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
}
.ba-caption--after { left: auto; right: 12px; }
.ba-caption.active { background: rgba(239,68,68,0.9); }

/* Notes/étiquettes dans les panneaux */
.ba-note {
    position: absolute;
    color: #0F172A;
    font-size: 13px;
    line-height: 1.2;
}
.ba-before .ba-note {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.8);
    padding: 10px 14px;
    border-radius: 12px;
}
.ba-after .ba-note {
    bottom: 12px; right: 12px;
    background: #22C55E;
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.ba-divider {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px; background: #EF4444;
    transition: left 260ms ease;
}
.ba-handle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #EF4444;
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.25);
    cursor: ew-resize;
    transition: left 260ms ease, box-shadow 200ms ease;
}

.card-content { padding: 16px 18px 18px; }
.card-title { font-size: 1.05rem; font-weight: 700; color: #0F172A; margin-bottom: 4px; }
.card-text { color: #475569; font-size: 0.95rem; margin-bottom: 12px; }
.card-meta { display: flex; gap: 18px; color: #64748B; font-size: 0.9rem; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-icon { font-size: 0.95rem; }

/* =============================
   Services Hero
   ============================= */
.services-hero {
    position: relative;
    padding: 120px 0 140px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(115deg, #d41414 0%, #8c0f16 35%, #1a1f24 100%);
}

/* =============================
   Solutions Complètes (Section 2)
   ============================= */
/* Fond de section très clair */
.solutions-completes { background: #F8FAFC; padding: 80px 0; }

/* Conteneur centré et contraint */
.solutions-completes .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Titre H2 conforme brief */
.solutions-completes__title {
    text-align: center;
    font-weight: 800;
    color: #0F172A;
    font-size: clamp(2.25rem, 4vw, 2.5rem); /* ~36–40px */
    line-height: 1.1;
    margin-bottom: 36px; /* desktop spacing */
}

/* Liste de cartes: pile verticale */
.solutions-completes__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px; /* desktop */
    margin: 0;
    padding: 0;
    align-items: stretch; /* toutes les cartes prennent la même largeur */
    width: max-content; /* largeur basée sur la carte la plus large */
    max-width: 100%; /* ne dépasse jamais le conteneur */
}

/* Carte cliquable sur toute la surface */
.solutions-completes .solution-card {
    display: grid;
    grid-template-columns: 56px 1fr 40px; /* contenu prend l'espace restant de largeur uniforme */
    align-items: center;
    gap: 18px;
    min-height: 92px;
    padding: 22px 20px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(2, 6, 23, 0.06);
    box-shadow: 0 12px 22px rgba(16, 24, 40, 0.06);
    transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
    text-decoration: none;
    color: inherit;
    width: 100%; /* s'aligne sur la largeur de la liste (la plus longue) */
    max-width: none; /* neutralise les styles globaux limitant la largeur */
    text-align: left; /* évite l'alignement centré hérité des règles génériques */
    overflow: hidden; /* garantit que le contenu reste contenu dans la carte */
    position: relative; /* nécessaire pour l'accent gauche au survol */
}

.solutions-completes .solution-card:hover,
.solutions-completes .solution-card:focus { box-shadow: 0 16px 32px rgba(16,24,40,0.12); transform: translateY(-2px); border-color: rgba(2,6,23,0.14); background: #FFFFFF; }

/* Accent rouge à gauche au survol (sans décaler le contenu) */
.solutions-completes .solution-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: #EF4444;
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transform: scaleY(0.92);
    transition: opacity 220ms ease, transform 220ms ease;
}
.solutions-completes .solution-card:hover::before,
.solutions-completes .solution-card:focus::before { opacity: 1; transform: scaleY(1); }

.solutions-completes .solution-card:focus-visible { outline: 2px solid #94A3B8; outline-offset: 2px; }

/* Bloc icône */
.solutions-completes .solution-card__icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    color: #EF4444; font-size: 28px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.16);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(16,24,40,0.06);
}

/* Bloc contenu */
.solutions-completes .solution-card__content { display: flex; flex-direction: column; justify-content: center; min-height: 56px; }
.solutions-completes .solution-card__content h3 {
    font-size: 22px; line-height: 28px; font-weight: 800; color: #0F172A; margin: 0 0 4px 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* 1ère ligne */
}
.solutions-completes .solution-card__content p {
    font-size: 17px; line-height: 1.6; color: #64748B; max-width: 70ch; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* 2ème ligne */
}

/* Conserver la couleur d'origine du texte au survol/focus (titre + description) */
.solutions-completes .solution-card:hover,
.solutions-completes .solution-card:focus { color: inherit; }
.solutions-completes .solution-card:hover .solution-card__content h3,
.solutions-completes .solution-card:focus .solution-card__content h3 { color: #0F172A; }
.solutions-completes .solution-card:hover .solution-card__content p,
.solutions-completes .solution-card:focus .solution-card__content p { color: #64748B; }

/* Chevron */
.solutions-completes .solution-card__arrow { width: 40px; display: grid; place-items: center; color: #98A2B3; }
.solutions-completes .solution-card__arrow .arrow-icon { width: 18px; height: 18px; transition: transform 220ms ease, color 220ms ease, opacity 220ms ease; opacity: 0.9; }
.solutions-completes .solution-card:hover .solution-card__arrow .arrow-icon,
.solutions-completes .solution-card:focus .solution-card__arrow .arrow-icon { transform: translateY(2px); opacity: 1; color: #94A3B8; }
/* État ouvert: flèche inversée pour indiquer le dépliement */
.solutions-completes .solution-card[aria-expanded="true"] .solution-card__arrow .arrow-icon { transform: rotate(180deg); }

/* Panneau déroulant des cartes (détails) */
.solutions-completes .solution-card__details {
    margin-top: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(2,6,23,0.06);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(16,24,40,0.06);
    padding: 16px;
}

.solutions-completes .solution-card__details .details-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    align-items: start;
}

.solutions-completes .solution-card__details .details-title { font-size: 18px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.solutions-completes .solution-card__details .details-list { list-style: none; padding: 0; margin: 0; }
.solutions-completes .solution-card__details .details-list li { position: relative; padding-left: 16px; margin: 6px 0; color: #334155; }
.solutions-completes .solution-card__details .details-list li::before { content: "•"; position: absolute; left: 0; color: #EF4444; }

.solutions-completes .solution-card__details .cert-box { background: #F8FAFC; border: 1px solid rgba(2,6,23,0.06); border-radius: 10px; padding: 14px; }
.solutions-completes .solution-card__details .cert-box h4 { font-size: 16px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.solutions-completes .solution-card__details .cert-box p { font-size: 15px; color: #475569; margin-bottom: 12px; }
.solutions-completes .solution-card__details .btn { display: inline-block; padding: 12px 18px; border-radius: 999px; background: #E74C3C; color: #FFFFFF; text-decoration: none; font-weight: 700; box-shadow: 0 8px 18px rgba(231,76,60,0.25); transition: background 200ms ease, transform 200ms ease; }
.solutions-completes .solution-card__details .btn:hover { background: #c53030; transform: translateY(-1px); }
.solutions-completes .solution-card__details .btn.btn-catalog { }
.solutions-completes .solution-card__details .btn.btn-quote { }
.solutions-completes .solution-card__details .btn.btn-contract { }

/* ===== WHY CHOOSING SERVICES (Services Page) ===== */
.why-choose {
    background: #ffffff;
    padding: 80px 0;
}

.why-choose .section-title {
    text-align: center;
    color: #2C3E50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.why-card {
    background: #ffffff;
    border: 1px solid #E9ECEF;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(231, 76, 60, 0.25);
}

.why-icon {
    font-size: 2rem;
    color: #E74C3C;
    margin-bottom: 16px;
    line-height: 1;
}

.why-card h3 {
    color: #2C3E50;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
    .why-grid { grid-template-columns: 1fr; gap: 20px; }
}
.solutions-completes .solution-card__details .btn.btn-training { }

/* =============================
   Blog Hero & Posts Grid
   ============================= */
.blog-hero {
    position: relative;
    padding: 120px 0 140px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(var(--blog-hero-angle, 115deg), var(--blog-hero-bg-start, #D41414) 0%, var(--blog-hero-bg-mid, #8C0F16) var(--blog-hero-mid-stop, 35%), var(--blog-hero-bg-end, #1A1F24) 100%);
    min-height: var(--blog-hero-height, 68vh);
    display: flex; align-items: center;
}
/* Dégradé propre sans halos flous */
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero__content { max-width: 860px; margin: 0 auto; text-align: center; }
.blog-hero__title { font-weight: 800; font-size: clamp(2.8rem, 6vw, 3.6rem); line-height: 1.1; margin-bottom: 18px; text-align: center; }
.blog-hero__subtitle { font-size: 1.05rem; color: var(--blog-hero-subtitle-color, rgba(255,255,255,0.92)); max-width: 80ch; margin: 0 auto; text-align: center; }
.blog-hero__chips { display: flex; gap: 18px; margin-top: 32px; justify-content: center; flex-wrap: wrap; }
.chip { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 18px; border-radius: 999px; background: rgba(255,255,255,0.10); color: #fff; border: 1px solid rgba(255,255,255,0.25); font-weight: 600; min-width: 96px; }
.chip .chip-icon { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%); box-shadow: 0 10px 18px rgba(0,0,0,0.18), 0 0 0 4px rgba(231,76,60,0.20); display: grid; place-items: center; color: var(--blog-hero-chip-color, #E74C3C); }
.chip .chip-label { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.92); }

@media (max-width: 992px) {
  .blog-hero { min-height: 56vh; padding: 100px 0; }
}
@media (max-width: 640px) {
  .blog-hero { min-height: 48vh; padding: 80px 0; }
}

.blog-list { background: #fff; }
.posts-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border: 1px solid rgba(2,6,23,0.06); border-radius: 12px; box-shadow: 0 12px 22px rgba(16,24,40,0.06); overflow: hidden; display: flex; flex-direction: column; }
.post-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.post-content { padding: 16px 18px 20px; }
.post-meta { color: #64748B; font-size: 0.9rem; margin-bottom: 8px; }
.post-title { font-size: 1.2rem; font-weight: 800; color: #0F172A; margin: 0 0 6px 0; }
.post-excerpt { color: #475569; font-size: 0.98rem; margin: 0 0 14px 0; }
.pagination { display: flex; justify-content: center; margin-top: 18px; }
.no-posts { text-align: center; color: #475569; }
.solutions-completes .solution-card__details .btn.btn-expertise { }

/* Animation d’ouverture/fermeture */
.solutions-completes .solution-card__details[hidden] { display: none; }
.solutions-completes .solution-card__details {
    animation: details-slide-in 240ms ease;
}
@keyframes details-slide-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 640px) {
    .solutions-completes .solution-card__details .details-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 640px) {
    .solutions-completes { padding: 64px 0; }
    .solutions-completes .container { padding: 0 16px; }
    .solutions-completes__title { margin-bottom: 24px; }
    .solutions-completes__list { gap: 24px; }
    .solutions-completes .solution-card { grid-template-columns: 56px 1fr 40px; padding: 18px 18px; width: 100%; }
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 400px at -10% 0%, rgba(255, 80, 80, 0.35) 0%, rgba(255, 80, 80, 0.0) 60%),
                radial-gradient(800px 300px at 100% 0%, rgba(150, 0, 0, 0.25) 0%, rgba(150, 0, 0, 0.0) 60%);
    pointer-events: none;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero__content {
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.services-hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
}

.services-hero__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 38px;
}

.services-hero__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.services-hero__flow .flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flow-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 10px 18px rgba(0,0,0,0.18);
    position: relative;
}

.flow-label {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.flow-line {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .services-hero {
        padding: 90px 0 100px;
    }
    .flow-icon { width: 34px; height: 34px; }
    .flow-line { width: 80px; }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 70px 0 80px;
    }
    .services-hero__flow {
        gap: 14px;
    }
    .flow-line { width: 56px; }
}

/* BNY GROUP Section */
.bny-group-section {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.bny-group-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.bny-group-section .container {
    position: relative;
    z-index: 2;
}

.bny-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.bny-logo-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 350px;
    width: 100%;
}

.bny-logo-circle {
    width: 120px;
    height: 80px;
    background: #C0392B;
    border-radius: 15px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bny-logo-dot {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
}

.bny-logo-text h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.bny-logo-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.bny-content {
    padding-left: 2rem;
}

.bny-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: #E74C3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for BNY GROUP section */
@media (max-width: 992px) {
    .bny-content {
        padding-left: 0;
        padding-top: 2rem;
        text-align: center;
    }
    
    .bny-logo-container {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .bny-logo-box {
        padding: 2rem;
        max-width: 300px;
    }
    
    .bny-logo-circle {
        width: 100px;
        height: 70px;
    }
    
    .bny-logo-dot {
        width: 25px;
        height: 25px;
    }
    
    .bny-logo-text h3 {
        font-size: 1.5rem;
    }
    
    .bny-content p {
        font-size: 1.1rem;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Utility */
.text-center { text-align: center; }

/* ===== COOKIE NOTICE POPUP ===== */
.cookie-notice {
    position: fixed;
    inset: 0;
    display: none; /* hidden until .show */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 1rem;
}

.cookie-notice.show {
    display: flex;
}

.cookie-notice .cookie-content {
    background: #fff;
    color: #333;
    width: 100%;
    max-width: 640px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
}

.cookie-notice .cookie-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.cookie-notice .cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 1rem;
}

.cookie-notice .cookie-accept {
    background: #E74C3C;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-notice .cookie-accept:hover {
    background: #c0392b;
}

.cookie-notice .cookie-learn-more {
    color: #1e293b;
    text-decoration: underline;
    font-weight: 500;
}

@media (max-width: 480px) {
    .cookie-notice .cookie-content {
        padding: 1.1rem;
        max-width: 92vw;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-small {
    padding: 60px 0;
}

/* ===== HEADER STYLES ===== */
.site-header {
    background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(197, 48, 48, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-title a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== NAVIGATION ===== */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* ===== BLOG HERO ===== */
.blog-hero {
    background: linear-gradient(135deg, #c53030 0%, #1f2937 100%);
    color: #ffffff;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: -120px; left: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231,76,60,0.25) 0%, rgba(231,76,60,0) 70%);
}
.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -120px; right: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231,76,60,0.18) 0%, rgba(231,76,60,0) 70%);
}
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 800;
    margin: 0 0 16px;
}
.blog-hero__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    max-width: 900px;
    margin: 0 auto 28px;
}
.blog-hero__chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.chip-icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}
.chip-label { font-weight: 600; }

@media (max-width: 768px) {
    .blog-hero { padding: 100px 0 70px; }
    .blog-hero__chips { gap: 18px; }
}
@media (max-width: 480px) {
    .blog-hero { padding: 80px 0 60px; }
    .chip { padding: 8px 12px; }
    .chip-icon { width: 24px; height: 24px; }
}

/* ===== BLOG LIST ===== */
.blog-list { padding: 60px 0 80px; }
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.post-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    overflow: hidden;
}
.post-image { width: 100%; height: auto; display: block; }
.post-content { padding: 16px 18px 22px; }
.post-meta { color: #64748b; font-size: 0.95rem; margin-bottom: 6px; }
.post-title { font-size: 1.2rem; margin: 6px 0 10px; }
.post-title a { color: #111827; text-decoration: none; }
.post-title a:hover { color: #c41e3a; }
.post-excerpt { color: #334155; margin-bottom: 12px; }

@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }

.hero-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: rgba(139, 69, 19, 0.3);
    border-radius: 50%;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: rgba(139, 69, 19, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: 0;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== RÉALISATIONS HERO ===== */
.realisations-hero {
    position: relative;
    padding: 140px 0 120px; /* account for fixed header */
    color: #fff;
    overflow: hidden;
    background: linear-gradient(115deg, #d41414 0%, #8c0f16 35%, #1a1f24 100%);
}

.realisations-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1100px 360px at -10% 0%, rgba(255, 80, 80, 0.32) 0%, rgba(255, 80, 80, 0.0) 60%),
                radial-gradient(900px 320px at 100% 0%, rgba(140, 15, 22, 0.28) 0%, rgba(140, 15, 22, 0.0) 60%);
    pointer-events: none;
}

.realisations-hero .container { position: relative; z-index: 1; }
.realisations-hero .hero-content { max-width: 980px; margin: 0 auto; text-align: center; }
.realisations-hero .hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: 0.4px; margin-bottom: 12px; }
.realisations-hero .hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.25rem); line-height: 1.7; color: rgba(255, 255, 255, 0.92); margin-bottom: 40px; }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 48px; }
.hero-stat { display: grid; gap: 6px; justify-items: center; }
.stat-value { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.90); }

@media (max-width: 768px) {
    .realisations-hero { padding: 110px 0 100px; }
    .hero-stats { gap: 28px; }
}

@media (max-width: 480px) {
    .realisations-hero { padding: 90px 0 80px; }
    .hero-stats { gap: 20px; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 180px;
}

.btn-primary {
    background: #c41e3a;
    color: white;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.6);
    background: #a01729;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #c41e3a;
    transform: translateY(-3px);
    text-decoration: none;
}

/* ===== ABOUT HERO SECTION (À PROPOS) ===== */
.about-hero {
    background: linear-gradient(180deg, #c53030 0%, #12181f 100%);
    color: #fff;
    padding: 140px 0 100px; /* account for fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231,76,60,0.25) 0%, rgba(231,76,60,0) 70%);
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231,76,60,0.18) 0%, rgba(231,76,60,0) 70%);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 32px;
}

.hero-glass-card {
    max-width: 920px;
    margin: 0 auto 24px;
    padding: 40px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
}

.hero-dots .dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e74c3c;
    box-shadow: 0 6px 16px rgba(231,76,60,0.45);
}

.hero-team-card {
    width: 280px;
    margin: 0 auto 20px;
    background: #2b2f33;
    color: #fff;
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.hero-team-card p {
    margin: 0 0 4px;
    font-weight: 700;
}

.hero-team-card span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.85;
}

.hero-controls {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.hero-controls .control-arrow {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 28px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(231,76,60,0.4);
    transition: all 0.2s ease;
}

.hero-controls .control-arrow:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.about-hero-subtitle {
    margin-top: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .about-hero { padding: 120px 0 80px; }
    .about-hero-title { font-size: 2.2rem; }
    .hero-glass-card { padding: 28px 16px; }
    .hero-dots .dot { width: 32px; height: 32px; }
}

/* ===== SOLUTIONS SECTION ===== */
/* Updated: 5 cartes horizontales avec 1 rouge + 4 grises */
.services-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.solutions-grid {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.solution-card {
    background: #e8e8e8;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.solution-card.featured {
    background: #e74c3c;
    color: white;
}

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

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

/* ===== SERVICES GRID (INDEX.PHP) ===== */
.services-grid {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #e74c3c;
    color: white;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: #e74c3c;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: white;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: white;
}

.service-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.solution-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.solution-card.featured h3 {
    color: white;
}

.solution-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.solution-card.featured p {
    color: white;
}

.btn-white {
    background: white;
    color: #e74c3c;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        gap: 15px;
    }
    
    .solution-card {
        min-width: 160px;
        max-width: 180px;
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .solution-card {
        max-width: 300px;
        width: 100%;
        min-height: 200px;
    }
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0e141b; /* sombre pour correspondre au visuel */
    color: #fff;
    padding: 2.5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-title {
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}
.brand-title { color: #e74c3c; }

.site-footer p,
.site-footer a {
    color: #c9d1d9;
    text-decoration: none;
    line-height: 1.8;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid #202833;
    color: #8b949e;
}
.footer-bottom-line a { color: #8b949e; }
.footer-bottom-line a:hover { color: #fff; }

.footer-links .footer-menu,
.footer-about p,
.footer-contact .contact-list { margin: 0; padding: 0; list-style: none; }
.footer-links .footer-menu li { margin-bottom: .4rem; }
.footer-contact .contact-list li { margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.footer-contact .contact-list i { color: #e74c3c; }

@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { padding-top: 1rem; }
    /* Center footer content on mobile */
    .footer-about,
    .footer-links,
    .footer-contact { text-align: center; }
    .footer-title { justify-content: center; }
    .footer-links .footer-menu { text-align: center; }
    /* Stack links vertically while keeping them centered */
    .footer-links .footer-menu li { display: block; margin: 0 0 .6rem; }
    .footer-links .footer-menu li:last-child { margin-bottom: 0; }
    .footer-contact .contact-list { max-width: 420px; margin: 0 auto; }
    .footer-contact .contact-list li { justify-content: center; }
}

/* ===== CTA DARK SECTION ===== */
.section-padding {
    padding: 90px 0; /* ample espace haut/bas pour les sections */
}

@media (max-width: 992px) {
    .section-padding { padding: 80px 0; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
}

.cta-section.cta-dark {
    background: #121a24; /* navy/dark background like screenshot */
    color: #ffffff;
}
.cta-section.cta-dark .cta-content h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.cta-section.cta-dark .cta-buttons {
    margin-top: 1rem;
}
.cta-section.cta-dark .btn-primary {
    background: #c41e3a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.35);
}
.cta-section.cta-dark .btn-primary:hover {
    background: #a01729;
}

/* ===== CTA SECTION (Template Charter: Rouge + Boutons) ===== */
.cta-section {
    background: #E74C3C; /* Rouge du template */
    color: #fff;
}
.cta-content { max-width: 860px; margin: 0 auto; }
.cta-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
}
.cta-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 22px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; }
.btn-large { padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-cta-primary {
    background: #fff;
    color: #E74C3C;
    box-shadow: 0 8px 18px rgba(255,255,255,0.25);
}
.btn-cta-primary:hover { background: #f5f5f5; }
.btn-cta-secondary {
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 640px) {
    .cta-title { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; }
}
@media (max-width: 768px) {
    .cta-section.cta-dark {
        padding: 60px 0; /* keep generous spacing on mobile */
        text-align: center;
    }
    .cta-section.cta-dark .cta-content h2 {
        font-size: 2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 24px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-text {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .mobile-menu-content {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 4rem;
}

.mobile-menu .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu .mobile-logo {
    text-align: center;
}

.mobile-menu .mobile-logo img {
    max-height: 60px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu .mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .mobile-nav-menu li {
    margin-bottom: 1rem;
}

.mobile-menu .mobile-nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-menu .mobile-nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

/* Ensure main navigation is visible on desktop */
@media (min-width: 769px) {
    .main-navigation {
        display: block;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* Show mobile menu toggle on mobile devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none;
    }
    
    /* Hide expertise button on mobile */
    .btn-expertise {
        display: none;
    }
}

/* ===== EXPERTISE BUTTON ===== */
.btn-expertise {
    background: #c41e3a;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #c41e3a;
    display: inline-block;
    margin-right: 1rem;
}

.btn-expertise:hover {
    background: #a01729;
    border-color: #a01729;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* Why Choose PICI Section - About Page Version */
.why-choose-pici-about {
    background: #F8F9FA;
    position: relative;
    overflow: hidden;
}

.why-choose-pici-about .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2C3E50;
}

.why-choose-pici-about .why-choose-features .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid #E74C3C;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.why-choose-pici-about .why-choose-features .feature-item:hover {
    background: #fff;
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.why-choose-pici-about .why-choose-features .feature-icon {
    width: 40px;
    height: 40px;
    background: #E74C3C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #fff;
}

.why-choose-pici-about .why-choose-features .feature-icon svg {
    width: 20px;
    height: 20px;
}

.why-choose-pici-about .why-choose-features .feature-content {
    flex: 1;
}

.why-choose-pici-about .why-choose-features .feature-content span {
    color: #2C3E50;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.why-choose-pici-about .fire-protection-installation {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #E9ECEF;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.why-choose-pici-about .fire-protection-installation svg {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Why Choose PICI Section */
.why-choose-section {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.why-choose-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
}

.why-choose-features {
    margin-top: 2rem;
}

.why-choose-features .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #E74C3C;
    transition: all 0.3s ease;
}

.why-choose-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.why-choose-features .feature-icon {
    width: 40px;
    height: 40px;
    background: #E74C3C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #fff;
}

.why-choose-features .feature-icon svg {
    width: 20px;
    height: 20px;
}

.why-choose-features .feature-content {
    flex: 1;
}

.why-choose-features .feature-content span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.why-choose-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.fire-protection-installation {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.fire-protection-installation svg {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ===== SOLUTIONS SECTION ===== */
/* Design exact selon la capture d'écran */
.services-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}

.solutions-grid {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.3);
    border-color: #e74c3c;
    background: #e74c3c;
    color: white;
}

.solution-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.solution-icon svg {
    width: 48px;
    height: 48px;
    color: #e74c3c;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-icon svg {
    color: white;
}

.solution-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.solution-card:hover h3 {
    color: white;
}

.solution-card p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.solution-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.btn-white {
    background: white;
    color: #e74c3c;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
    border: 2px solid #e0e0e0;
    font-size: 0.9rem;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    text-decoration: none;
    color: #c0392b;
    border-color: #f8f9fa;
}

.solution-card:hover .btn-white {
    background: white;
    color: #e74c3c;
    border-color: white;
}

.solution-card:hover .btn-white:hover {
    background: #f8f9fa;
    color: #c0392b;
    border-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        gap: 15px;
        padding: 0 20px;
    }
    
    .solution-card {
        min-width: 180px;
        max-width: 200px;
        padding: 35px 20px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* ===== WHY CHOOSE PICI SECTION ===== */
.why-choose-pici {
    padding: 80px 0;
}

.bg-dark {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    position: relative;
    overflow: hidden;
}

.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.bg-dark .why-choose-content {
    position: relative;
    z-index: 2;
}

.why-choose-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose-text {
    flex: 1;
    max-width: 50%;
}

.why-choose-pici .section-title {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: black;
}

.why-choose-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-choose-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.why-choose-features .feature-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.why-choose-features .feature-content span {
    color: black;
    font-size: 1.1rem;
    font-weight: 500;
}

.why-choose-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fire-protection-installation {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .solutions-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0 20px;
    }
    
    .solution-card {
        max-width: 350px;
        width: 100%;
        min-height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    /* Why Choose PICI - Mobile */
    .why-choose-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .why-choose-text,
    .why-choose-image {
        max-width: 100%;
    }
    
    .why-choose-pici .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .why-choose-features .feature-item {
        margin-bottom: 1rem;
        padding: 0.8rem;
    }
    
    .why-choose-features .feature-item:hover {
        transform: none;
    }
    
    .why-choose-features .feature-content span {
        font-size: 1rem;
    }
    
    .fire-protection-installation {
        padding: 1rem;
        margin-top: 2rem;
    }
}

/* ===== CLIENT TRUST SECTION ===== */
.client-trust-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.trust-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.trust-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-item h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 3 slides * 100% */
}

.testimonial-slide {
    flex: 0 0 33.333%; /* Each slide takes 1/3 of the track */
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonial card */
.testimonial-card {
    width: 100%;
    max-width: 820px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 28px;
    text-align: center;
}

.testimonial-card .stars {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #F7B500; /* yellow stars */
}
.testimonial-card .star { width: 28px; height: 28px; }

.testimonial-card .testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    font-style: italic;
    margin: 0 0 18px;
}

.testimonial-card .author-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.testimonial-card .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
}
.testimonial-card .author-name { font-weight: 700; color: #0F172A; }
.testimonial-card .author-title { color: #64748B; font-size: 0.95rem; }

/* Navigation arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(231, 76, 60, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(231, 76, 60, 1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: none;
    cursor: pointer;
}
.indicator.active { background-color: #e74c3c; }

/* BNY GROUP Section */
.bny-group-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* ===== PARTNERS LOGO CAROUSEL ===== */
.partners-section { background: #ffffff; }
.partners-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}
.partners-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: partners-marquee 20s linear infinite;
    padding: 12px 8px;
}
.partner-logo {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 14px 18px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.partner-logo:nth-child(1) { background: #e74c3c; }
.partner-logo:nth-child(2) { background: #6b7280; }
.partner-logo:nth-child(3) { background: #60a5fa; }
.partner-logo:nth-child(4) { background: #f59e0b; }
.partner-logo:nth-child(5) { background: #a855f7; }
.partner-logo:nth-child(6) { background: #22c55e; }
.partner-logo:nth-child(7) { background: #ef4444; }
.partner-logo:nth-child(8) { background: #6b7280; }
.partner-logo:nth-child(9) { background: #60a5fa; }
.partner-logo:nth-child(10){ background: #f59e0b; }

@keyframes partners-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .partners-track { gap: 16px; animation-duration: 15s; }
    .partner-logo { min-width: 120px; font-size: 0.95rem; }
}

/* Enforce horizontal 2-column layout on desktop */
@media (min-width: 992px) {
    .bny-group-section .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        flex-wrap: nowrap;
    }
    .bny-group-section .row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.bny-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.bny-logo-box {
    background: rgba(139, 0, 0, 0.8);
    padding: 3rem 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    min-height: 250px;
    width: 100%;
    max-width: 400px;
}

.bny-logo-circle {
    width: 80px;
    height: 80px;
    background: #dc3545;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.bny-logo-dot {
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
}

.bny-logo-text h3 {
    color: white;
    font-weight: bold;
    margin: 0;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bny-logo-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

.bny-content {
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.bny-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
}

.bny-group-section .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: white;
    color: #dc3545;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    align-self: flex-start;
}

.bny-group-section .btn-outline-light:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for BNY GROUP section */
@media (max-width: 768px) {
    .bny-content {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }
    
    .bny-logo-box {
        margin-bottom: 2rem;
        min-height: 200px;
        padding: 2rem 1.5rem;
    }
    
    .bny-logo-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .bny-logo-dot {
        width: 20px;
        height: 20px;
    }
    
    .bny-logo-text h3 {
        font-size: 1.5rem;
    }
    
    .bny-content p {
        font-size: 1rem;
    }
    
    .bny-group-section .btn-outline-light {
        align-self: center;
    }
}

/* Responsive adjustments for trust section */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
    }
    
    .trust-item {
        padding: 1.5rem;
    }
    
    .testimonial-slide p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .trust-item {
        padding: 1rem;
    }
    
    .trust-item h4 {
        font-size: 1.1rem;
    }
}

/* ===== NOTRE HISTOIRE SECTION ===== */
.notre-histoire {
    background: #f8f9fa;
    padding: 80px 0;
}

.histoire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.histoire-text h2 {
    color: #E74C3C;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.histoire-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.histoire-text p strong {
    color: #E74C3C;
    font-weight: 600;
}

.histoire-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.histoire-illustration svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Responsive design for Notre Histoire */
@media (max-width: 768px) {
    .histoire-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .histoire-text h2 {
        font-size: 2rem;
    }
    
    .histoire-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .histoire-illustration svg {
        width: 280px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .notre-histoire {
        padding: 60px 0;
    }
    
    .histoire-text h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .histoire-illustration svg {
         width: 250px;
         height: 160px;
     }
 }

/* ===== VISION & MISSION SECTION ===== */
.vision-mission {
    background: #ffffff;
    padding: 80px 0;
}

.vision-mission .section-title {
    text-align: center;
    color: #2C3E50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    line-height: 1.2;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card,
.vision-card {
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.mission-card {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 25%, #E74C3C 50%, #DC2626 75%, #B91C1C 100%);
}

.vision-card {
    background: linear-gradient(135deg, #64748B 0%, #475569 25%, #334155 50%, #1E293B 75%, #0F172A 100%);
}

.card-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== NOS VALEURS SECTION ===== */
.nos-valeurs {
    background: #ffffff;
    padding: 80px 0;
}

.nos-valeurs .section-title {
    text-align: center;
    color: #2C3E50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

/* ===== SECTION BNY FILIALE ===== */
.bny-filiale {
    background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
    padding: 80px 0;
    color: #fff;
}

.bny-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.bny-visual {
    display: flex;
    justify-content: center;
}

.bny-glass-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}

.bny-main-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 18px;
}

.bny-logo-circle {
    width: 64px;
    height: 64px;
    background: #EF4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bny-group-text {
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}

.bny-group-text strong { font-weight: 700; }
.bny-group-text span { display: block; opacity: 0.9; font-size: 0.95rem; }

.bny-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.bny-badges .badge {
    background: rgba(255,255,255,0.14);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.bny-text .section-title.light {
    color: #fff;
}

.bny-text p {
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
    margin-bottom: 14px;
}

.bny-list {
    list-style: none;
    margin: 20px 0 26px;
    padding: 0;
}

.bny-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.bny-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-weight: 700;
}

.bny-btn {
    display: inline-block;
    background: #fff;
    color: #BE123C;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.bny-btn:hover {
    background: #F8FAFC;
}

/* Responsive */
@media (max-width: 992px) {
    .bny-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .bny-visual { order: 2; }
    .bny-text { order: 1; }
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.valeur-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.valeur-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.valeur-card h3 {
    font-size: 1.4rem;
    color: #1F2937;
    font-weight: 700;
    margin-bottom: 14px;
}

.valeur-card p {
    font-size: 0.98rem;
    color: #374151;
    line-height: 1.7;
}

/* Hover subtle lift */
.valeur-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .valeurs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 0 16px;
    }
}

@media (max-width: 640px) {
    .nos-valeurs {
        padding: 60px 0;
    }
    .nos-valeurs .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .valeurs-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

.card-icon svg {
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.mission-card p,
.vision-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-align: justify;
}

/* Responsive design for Vision & Mission */
@media (max-width: 768px) {
    .vision-mission {
        padding: 60px 0;
    }
    
    .vision-mission .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .mission-card,
    .vision-card {
        padding: 30px 25px;
    }
    
    .mission-card h3,
    .vision-card h3 {
        font-size: 1.5rem;
    }
    
    .mission-card p,
    .vision-card p {
        font-size: 0.95rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .vision-mission .section-title {
        font-size: 1.8rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .card-icon svg {
        width: 50px;
        height: 50px;
    }
}

/* ===== SECTION CALL-TO-ACTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
    color: #ffffff;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}
/* ===== CTA Dark Variant (Services) ===== */
.cta-section.cta-dark { background: #0f172a; color: #ffffff; }
.cta-section.cta-dark .cta-content h2 { font-size: 2.4rem; font-weight: 700; color: #ffffff; }
.cta-section.cta-dark .cta-content p { color: #cbd5e1; max-width: 760px; margin: 0 auto 22px; }
.cta-section.cta-dark .cta-buttons { display: inline-flex; gap: 16px; }
.cta-section.cta-dark .btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.cta-section.cta-dark .btn-primary { background: #e11d48; color: #ffffff; box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35); border: none; }
.cta-section.cta-dark .btn-primary:hover { background: #be123c; }
.cta-section.cta-dark .btn-outline-light { background: transparent; border: 2px solid #cbd5e1; color: #cbd5e1; }
.cta-section.cta-dark .btn-outline-light:hover { border-color: #ffffff; color: #ffffff; }

/* ===== Réalisations Hero ===== */
.realisations-hero {
    background: linear-gradient(135deg, #ef1d1d 0%, #7a1414 50%, #0f172a 100%);
    color: #ffffff;
    padding: 100px 0 120px;
    text-align: center;
}
.realisations-hero .hero-title {
    font-size: clamp(2.4rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 18px;
}
.realisations-hero .hero-subtitle {
    font-size: 1.12rem;
    color: #e2e8f0;
    max-width: 900px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.realisations-hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}
.realisations-hero .hero-stat { display: flex; flex-direction: column; gap: 6px; }
.realisations-hero .stat-value { font-size: 2rem; font-weight: 800; }
.realisations-hero .stat-label { font-size: 0.95rem; color: #cbd5e1; }

@media (max-width: 640px) {
    .realisations-hero { padding: 80px 0 90px; }
    .realisations-hero .hero-stats { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== Blog & Actualités Hero ===== */
.blog-hero {
  position: relative;
  padding: 96px 0 72px;
  color: #fff;
  overflow: hidden;
  background: radial-gradient(1200px 600px at -10% 0%, rgba(231, 76, 60, 0.35) 0%, rgba(231, 76, 60, 0) 60%),
              radial-gradient(800px 400px at 120% 100%, rgba(231, 76, 60, 0.30) 0%, rgba(231, 76, 60, 0) 65%),
              linear-gradient(180deg, #E74C3C 0%, #C0392B 100%);
}
.blog-hero .container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.blog-hero__title { font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 16px; }
.blog-hero__subtitle { font-size: 1.1rem; opacity: 0.95; margin: 0 0 24px; }
.blog-hero__chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: saturate(140%) blur(6px); border: 1px solid rgba(255,255,255,0.22); }
.chip-icon { width: 8px; height: 8px; border-radius: 50%; background: #FF3E75; box-shadow: 0 0 0 4px rgba(255,62,117,0.25); }

.section-padding { padding: 60px 0; }

/* Posts grid pour le blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.06); overflow: hidden; }
.post-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.post-content { padding: 16px 18px 20px; }
.post-meta { color: #7f8c8d; font-size: 14px; margin-bottom: 6px; }
.post-title { font-size: 20px; margin: 8px 0 8px; }
.post-title a { color: #2c3e50; text-decoration: none; }
.post-title a:hover { color: #E74C3C; }
.post-excerpt { color: #444; font-size: 15px; margin-bottom: 12px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.pagination a, .pagination span { padding: 8px 12px; border-radius: 8px; border: 1px solid #ddd; color: #2c3e50; text-decoration: none; }
.pagination .current { background: #E74C3C; color: #fff; border-color: #E74C3C; }

@media (max-width: 900px) {
  .blog-hero__title { font-size: 2rem; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
}