/* ==========================================================================
   ERADONE 2.0 — Glassmorphism, Thème Clair/Sombre, Boutons Uiverse,
   Fond Aurora Continu, Composants Rare UI & 21st.dev, Animations au Scroll
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens de Thème (Mode Clair par défaut + Mode Sombre [data-theme="dark"])
   -------------------------------------------------------------------------- */
:root,
html[data-theme="light"] {
    color-scheme: light;
    --bg-canvas: #FFFFFF;
    --bg-canvas-end: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --surface-glass-strong: rgba(255, 255, 255, 0.86);
    --surface-card: rgba(255, 255, 255, 0.74);
    --surface-card-hover: rgba(255, 255, 255, 0.92);
    --surface-pill: rgba(0, 107, 179, 0.08);
    --surface-input: rgba(255, 255, 255, 0.80);
    --border-glass: rgba(11, 30, 54, 0.11);
    --border-glass-strong: rgba(0, 107, 179, 0.30);
    --text-heading: #0B1E36;
    --text-primary: #24364B;
    --text-secondary: #526478;
    --shadow-glass: 0 18px 44px -16px rgba(11, 30, 54, 0.11), 0 4px 16px rgba(11, 30, 54, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --shadow-glass-hover: 0 24px 54px -14px rgba(0, 107, 179, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --logo-filter: none;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg-canvas: #07111F;
    --bg-canvas-end: #07111F;
    --surface-glass: rgba(15, 30, 52, 0.72);
    --surface-glass-strong: rgba(17, 35, 60, 0.86);
    --surface-card: rgba(15, 30, 52, 0.70);
    --surface-card-hover: rgba(21, 42, 70, 0.88);
    --surface-pill: rgba(56, 189, 248, 0.13);
    --surface-input: rgba(12, 25, 44, 0.80);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glass-strong: rgba(56, 189, 248, 0.38);
    --text-heading: #F1F5F9;
    --text-primary: #CBD5E1;
    --text-secondary: #94A3B8;
    --shadow-glass: 0 20px 50px -18px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    --shadow-glass-hover: 0 26px 58px -14px rgba(0, 107, 179, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    --logo-filter: brightness(1.12) contrast(1.05);

    /* Surcharge des variables héritées pour tout le document */
    --color-navy: #F1F5F9;
    --color-text-dark: #F1F5F9;
    --color-text-body: #CBD5E1;
    --color-text-muted: #94A3B8;
    --color-border: rgba(255, 255, 255, 0.12);
    --e-navy: #F1F5F9;
    --e-text: #CBD5E1;
    --e-muted: #94A3B8;
    --e-line: rgba(255, 255, 255, 0.12);
}

/* Ajustement des icônes Hugeicons */
.hgi-stroke {
    line-height: 1;
    vertical-align: -0.12em;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   2. Fond Blanc Unique & Épuré du Haut jusqu'au Bas (aucun design interne)
   -------------------------------------------------------------------------- */
html, body {
    background: var(--bg-canvas) !important;
    background-image: none !important;
    color: var(--text-primary);
    transition: background-color 0.35s ease, color 0.35s ease;
}

body {
    position: relative;
}

body::before,
.page-aurora {
    display: none !important;
}

/* Suppression totale des coupures de couleur entre toutes les sections */
main,
section,
.hero,
.hero-editorial,
.stats-section,
.about-section,
.expertises-section,
.iso-section,
.packages-section,
.projects-section,
.partners-section,
.testimonials-section,
.faq-section,
.news-section,
.contact-section {
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
}

.hero-editorial::before {
    display: none !important;
}

/* Espacement harmonieux et respirant des rangées */
.about-section,
.expertises-section,
.iso-section,
.packages-section,
.projects-section,
.testimonials-section,
.faq-section,
.news-section,
.contact-section {
    padding: clamp(3.75rem, 6vw, 5.75rem) 0;
    position: relative;
}

.stats-section {
    padding: 2rem 0 3.25rem;
}

.partners-section {
    padding: 3.5rem 0;
}

/* --------------------------------------------------------------------------
   3. Rare UI · Scroll Progress Indicator (barre de lecture en haut)
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1200;
    background: transparent;
    pointer-events: none;
}
.scroll-progress-bar {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, #006bb3 0%, #3AB04A 55%, #D4AF37 100%);
    box-shadow: 0 0 12px rgba(0, 107, 179, 0.55);
    transition: transform 0.08s linear;
}

/* --------------------------------------------------------------------------
   4. Topbar & Menu Glassmorphisme Flottant en Haut (inspiré 21st.dev & Rare UI)
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--surface-glass) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.74rem;
    padding: 0.48rem 0;
}
.topbar-info {
    color: var(--text-secondary) !important;
}
.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-heading) !important;
    text-decoration: none;
}
.topbar-contact a i {
    color: rgb(0 107 179);
    font-size: 0.92rem;
}

.header {
    position: sticky;
    top: 0.65rem;
    z-index: 1050;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 1rem;
    margin-top: 0.65rem;
}

.header .navbar {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    height: 68px;
    padding: 0 0.85rem 0 1.25rem;
    gap: 0.75rem;
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 9999px;
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.scrolled .navbar {
    height: 62px;
    background: var(--surface-glass-strong);
    border-color: var(--border-glass-strong);
    box-shadow: 0 20px 46px -14px rgba(0, 107, 179, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.logo-img {
    height: 38px;
    filter: var(--logo-filter);
}
html[data-theme="dark"] .logo-img {
    background: rgba(255, 255, 255, 0.92);
    padding: 4px 10px;
    border-radius: 9999px;
}

.nav-menu {
    min-width: 0;
}

.nav-list {
    gap: 0.15rem;
    background: var(--surface-pill);
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid var(--border-glass);
    max-width: 100%;
}

.nav-link {
    color: var(--text-heading) !important;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.44rem 0.72rem !important;
    border-radius: 9999px !important;
    transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-link::after {
    display: none !important;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown-trigger[aria-expanded="true"] {
    color: #ffffff !important;
    background: rgb(0 107 179) !important;
    box-shadow: 0 4px 14px rgba(0, 107, 179, 0.32);
}

/* Mega-panel des 5 divisions en Glassmorphisme */
.divisions-mega-panel {
    max-width: 1240px;
    margin: 0.65rem auto 0;
    left: 1rem;
    right: 1rem;
    background: var(--surface-glass-strong) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass-strong) !important;
    border-radius: 24px;
    box-shadow: var(--shadow-glass-hover);
    padding: 1.5rem 0 1.25rem;
}

.mega-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.75rem;
    border: none !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass) !important;
}

.mega-item {
    border: 1px solid var(--border-glass) !important;
    border-radius: 16px;
    background: var(--surface-card);
    padding: 1.15rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mega-item::before { display: none; }
.mega-item:hover {
    background: var(--surface-card-hover) !important;
    border-color: rgb(0 107 179) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glass);
}
.mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}
.mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 107, 179, 0.12);
    color: rgb(0 107 179);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
html[data-theme="dark"] .mega-icon {
    background: rgba(56, 189, 248, 0.16);
    color: #38BDF8;
}
.mega-num { margin: 0; }
.mega-title { color: var(--text-heading) !important; }
.mega-desc { color: var(--text-secondary) !important; }
.mega-all-link { color: rgb(0 107 179) !important; }
html[data-theme="dark"] .mega-all-link { color: #38BDF8 !important; }

/* --------------------------------------------------------------------------
   5. Rare UI · Theme Selector (Bouton Clair / Sombre segmenté avec pilule)
   -------------------------------------------------------------------------- */
.theme-switch {
    display: none !important;
}

.theme-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 32px;
    border-radius: 9999px;
    background: rgb(0 107 179);
    box-shadow: 0 3px 10px rgba(0, 107, 179, 0.38);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

html[data-theme="dark"] .theme-switch-thumb {
    transform: translateX(36px);
}

.theme-option {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.theme-option[aria-checked="true"] {
    color: #ffffff;
}
.theme-option:hover {
    transform: rotate(12deg);
}

/* --------------------------------------------------------------------------
   6. Boutons — Style Uiverse.io by adeladel522 (bleu charte, tous arrondis)
   -------------------------------------------------------------------------- */
/* From Uiverse.io by adeladel522 */
.button,
.btn,
.btn-contact,
.btn-hero-primary,
.btn-mobile-primary,
.tab-btn,
.filter-btn {
    border-radius: 9999px !important;
}

.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.62rem;
    padding-inline: 1.35rem;
    background-color: rgb(0 107 179) !important;
    background: rgb(0 107 179) !important;
    border-radius: 9999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff !important;
    gap: 10px;
    font-weight: 700;
    border: 3px solid #ffffff4d !important;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    text-decoration: none;
    font-family: var(--e-font);
    line-height: 1.25;
}

.button.btn-full {
    display: flex;
    width: 100%;
}

.button.btn-contact {
    padding-block: 0.44rem;
    padding-inline: 0.95rem;
    font-size: 13px;
    gap: 6px;
    flex-shrink: 0;
}

.nav-actions {
    gap: 0.55rem;
}

.button .icon {
    width: 22px;
    height: 22px;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
    border-color: #fff9 !important;
    color: #ffff !important;
}

.button:hover .icon {
    transform: translate(4px);
}

.button:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes shine {
    0% {
        left: -100px;
    }
    60% {
        left: 100%;
    }
    to {
        left: 100%;
    }
}

/* Boutons d'onglets & filtres : arrondis pill + bleu charte actif */
.tab-btn,
.filter-btn {
    background: var(--surface-card) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-heading) !important;
    border: 1.5px solid var(--border-glass) !important;
    border-radius: 9999px !important;
    padding: 0.72rem 1.35rem;
    font-weight: 700;
    transition: all 0.28s ease;
}

.tab-btn i {
    color: rgb(0 107 179) !important;
    font-size: 1.1rem;
}
html[data-theme="dark"] .tab-btn i {
    color: #38BDF8 !important;
}

.tab-btn:hover,
.filter-btn:hover {
    border-color: rgb(0 107 179) !important;
    transform: translateY(-2px);
}

.tab-btn.active,
.filter-btn.active {
    background: rgb(0 107 179) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff4d !important;
    box-shadow: 0 10px 22px rgba(0, 107, 179, 0.28);
}
.tab-btn.active i {
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   7. Hero Landing Page — Hiérarchie Titre, Sous-titre, Description & Confiance
   -------------------------------------------------------------------------- */
.hero-editorial {
    padding: 1.25rem 0 1.5rem !important;
}

.hero-stage {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: stretch;
    min-height: clamp(440px, 60vh, 540px);
}

.hero-copy {
    padding: 1.5rem 0 !important;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    padding: 0.42rem 1rem;
    border-radius: 9999px;
    background: var(--surface-card);
    border: 1px solid var(--border-glass-strong);
    box-shadow: var(--shadow-glass);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgb(0 107 179);
    margin-bottom: 1.25rem;
}
html[data-theme="dark"] .hero-eyebrow {
    color: #38BDF8;
}

.hero-eyebrow-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3AB04A;
    box-shadow: 0 0 0 4px rgba(58, 176, 74, 0.22);
    animation: eyebrowPulse 2s ease-in-out infinite;
}
@keyframes eyebrowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.hero-heading {
    font-size: clamp(2.15rem, 3.6vw, 3.35rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-heading) !important;
    margin: 0 0 1rem;
}

.hero-heading-accent {
    display: block;
    background: linear-gradient(120deg, #006bb3 0%, #0195e0 55%, #3AB04A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .hero-heading-accent {
    background: linear-gradient(120deg, #38BDF8 0%, #60A5FA 50%, #4ADE80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sous-titre distinct du titre et de la description */
.hero-subtitle {
    font-size: clamp(1.12rem, 1.45vw, 1.32rem);
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-heading);
    margin: 0 0 1rem;
}
.hero-subtitle strong {
    color: rgb(0 107 179);
    font-weight: 800;
}
html[data-theme="dark"] .hero-subtitle strong {
    color: #38BDF8;
}

.hero-lead {
    max-width: 54ch;
    font-size: 0.98rem;
    line-height: 1.72;
    color: var(--text-secondary) !important;
    margin: 0 0 1.85rem;
    padding-left: 1.1rem;
    border-left: 3px solid #3AB04A;
}

.hero-actions {
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
}
.hero-trust li i {
    color: #3AB04A;
    font-size: 1rem;
}

.hero-media {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 440px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--border-glass-strong);
    box-shadow: var(--shadow-glass-hover);
    background: var(--surface-card) !important;
}

.hero-media .hero-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-media .hero-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 22% !important;
    display: block;
}

.hero-colophon {
    max-width: 1240px;
    width: calc(100% - 2rem);
    margin: 1.75rem auto 0;
    padding: 0.95rem 1.5rem;
    border-radius: 9999px;
    background: var(--surface-glass-strong) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass) !important;
    box-shadow: var(--shadow-glass);
}
.hero-colophon-inner {
    flex-wrap: wrap;
}
.hero-colophon-tag {
    color: var(--text-secondary) !important;
    white-space: normal !important;
}
.hero-colophon-nav a { color: var(--text-heading) !important; }
.hero-colophon-nav a:hover { color: rgb(0 107 179) !important; }
.hero-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgb(0 107 179) !important;
}
html[data-theme="dark"] .hero-scroll-cue { color: #38BDF8 !important; }

/* --------------------------------------------------------------------------
   8. En-têtes de Section & Animations de Titres au Scroll (Word Split Reveal)
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 2.75rem;
}

.section-subtitle {
    background: var(--surface-pill) !important;
    border: 1px solid var(--border-glass-strong);
    color: rgb(0 107 179) !important;
    padding: 0.38rem 1rem;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
}
html[data-theme="dark"] .section-subtitle {
    color: #38BDF8 !important;
}

.section-title,
.methodology-title {
    color: var(--text-heading) !important;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-desc {
    color: var(--text-secondary) !important;
}

/* Animation des titres mot par mot au scroll (style 21st.dev Text Scroll Reveal) */
[data-split] .split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px) rotateX(-25deg);
    filter: blur(5px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--word-index, 0) * 55ms);
    will-change: transform, opacity;
}

[data-split].is-inview .split-word {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
}

/* Révélation fluide des cartes & rangées au scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-split] .split-word,
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* --------------------------------------------------------------------------
   9. Rangées & Cartes Glassmorphisme avec Spotlight (Rare UI / 21st.dev Bento)
   -------------------------------------------------------------------------- */
.stat-card,
.tabs-content,
.division-list-grid li,
.iso-card,
.package-card,
.project-card,
.partner-item,
.testimonial-card,
.faq-item,
.faq-help-card,
.news-card,
.contact-form-container,
.feature-item,
.info-item {
    position: relative;
    background: var(--surface-card) !important;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--border-glass) !important;
    box-shadow: var(--shadow-glass) !important;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease, box-shadow 0.32s ease, background-color 0.32s ease;
}

/* Halo spotlight qui suit le curseur sur les cartes */
.stat-card::after,
.iso-card::after,
.package-card::after,
.project-card::after,
.testimonial-card::after,
.news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        420px circle at var(--spot-x, 50%) var(--spot-y, 0%),
        rgba(0, 107, 179, 0.13),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
.stat-card:hover::after,
.iso-card:hover::after,
.package-card:hover::after,
.project-card:hover::after,
.testimonial-card:hover::after,
.news-card:hover::after {
    opacity: 1;
}

.stat-card:hover,
.iso-card:hover,
.package-card:hover,
.project-card:hover,
.testimonial-card:hover,
.news-card:hover,
.division-list-grid li:hover {
    background: var(--surface-card-hover) !important;
    border-color: var(--border-glass-strong) !important;
    box-shadow: var(--shadow-glass-hover) !important;
    transform: translateY(-5px);
}

/* --- Rangée Chiffres Clés (Stats) --- */
.stats-grid {
    gap: 1.5rem;
}
.stat-card {
    border-radius: 22px;
    padding: 1.85rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 107, 179, 0.12);
    color: rgb(0 107 179);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
}
html[data-theme="dark"] .stat-icon {
    background: rgba(56, 189, 248, 0.16);
    color: #38BDF8;
}
.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #006bb3 0%, #3AB04A 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
html[data-theme="dark"] .stat-number {
    background: linear-gradient(135deg, #38BDF8 0%, #4ADE80 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.stat-number em {
    font-style: normal;
    font-size: 0.65em;
    margin-left: 3px;
}
.stat-label {
    color: var(--text-secondary) !important;
    text-shadow: none !important;
    font-weight: 700;
}

/* --- Rangée À propos --- */
.about-lead { color: var(--text-heading) !important; }
.about-text p { color: var(--text-primary) !important; }
.about-accent-box {
    background: var(--surface-glass-strong) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--border-glass-strong) !important;
    box-shadow: var(--shadow-glass-hover) !important;
}
.about-accent-box h3 { color: var(--text-heading) !important; }
.about-accent-box p { color: var(--text-secondary) !important; }
.feature-item {
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
}
.feature-icon,
.info-icon {
    background: rgba(0, 107, 179, 0.12) !important;
    color: rgb(0 107 179) !important;
    border-radius: 14px;
    font-size: 1.35rem;
}
html[data-theme="dark"] .feature-icon,
html[data-theme="dark"] .info-icon {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38BDF8 !important;
}

/* --- Rangée Divisions --- */
.tabs-content {
    border-radius: 26px;
}
.division-info h3 { color: var(--text-heading) !important; }
.division-info p,
.division-list li { color: var(--text-primary) !important; }
.division-list li i {
    color: #3AB04A !important;
    font-size: 1.15rem;
}
.division-list-grid li strong { color: var(--text-heading) !important; }
.division-list-grid li p { color: var(--text-secondary) !important; }

/* --- Rangée ISO & Méthodologie 5 étapes --- */
.iso-grid {
    gap: 1.35rem;
}
.iso-card {
    border-radius: 20px;
    padding: 1.65rem;
}
.iso-badge {
    background: rgba(0, 107, 179, 0.14) !important;
    color: rgb(0 107 179) !important;
    border: 1px solid rgba(0, 107, 179, 0.28);
    border-radius: 9999px;
    padding: 0.32rem 0.9rem;
}
html[data-theme="dark"] .iso-badge {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38BDF8 !important;
    border-color: rgba(56, 189, 248, 0.32);
}
.iso-card h4 { color: var(--text-heading) !important; }
.iso-card p { color: var(--text-secondary) !important; }

.methodology-wrapper {
    background: var(--surface-glass-strong) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-strong);
    box-shadow: var(--shadow-glass);
    border-radius: 28px;
    padding: 3.25rem 2.5rem;
}
.step-card {
    background: var(--surface-card) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: 20px;
}
.step-number {
    background: rgb(0 107 179) !important;
    box-shadow: 0 6px 16px rgba(0, 107, 179, 0.35);
}
.step-card h4 { color: var(--text-heading) !important; }
.step-card p { color: var(--text-secondary) !important; }

/* --- Rangée Offres Packagées --- */
.package-card {
    border-radius: 24px;
}
.package-card.featured {
    border: 2px solid rgb(0 107 179) !important;
    box-shadow: var(--shadow-glass-hover) !important;
}
.package-badge {
    background: rgb(0 107 179) !important;
}
.package-header h3 { color: var(--text-heading) !important; }
.package-list li { color: var(--text-primary) !important; }
.package-list li i {
    color: #3AB04A !important;
    font-size: 1.1rem;
}

/* --- Rangée Réalisations --- */
.project-card {
    border-radius: 22px;
}
.project-tag {
    border-radius: 9999px;
    padding: 0.3rem 0.85rem;
}
.project-body h4 { color: var(--text-heading) !important; }

/* --- Rangée Partenaires --- */
.partners-carousel-wrapper::before {
    background: linear-gradient(to right, var(--bg-canvas), transparent) !important;
}
.partners-carousel-wrapper::after {
    background: linear-gradient(to left, var(--bg-canvas), transparent) !important;
}
.partner-item {
    border-radius: 16px;
}
html[data-theme="dark"] .partner-item {
    background: rgba(255, 255, 255, 0.92) !important;
}

/* --- Rangée Témoignages --- */
.testimonial-card {
    border-radius: 24px;
    overflow: hidden;
}
.testimonial-mark {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-size: 2.75rem;
    color: rgba(0, 107, 179, 0.16);
    pointer-events: none;
}
.testimonial-quote { color: var(--text-heading) !important; }
.testimonial-author strong { color: var(--text-heading) !important; }

/* --------------------------------------------------------------------------
   10. FAQ Améliorée (inspirée du composant FAQ de Rare UI & 21st.dev)
   -------------------------------------------------------------------------- */
.faq-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.22fr;
    gap: 3rem;
    align-items: flex-start;
}

.faq-aside {
    position: sticky;
    top: 6.25rem;
}

.faq-aside .section-title {
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
}

.faq-aside .section-desc {
    margin-bottom: 1.75rem;
}

.faq-help-card {
    padding: 1.65rem;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.faq-help-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(0, 107, 179, 0.14);
    color: rgb(0 107 179);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
html[data-theme="dark"] .faq-help-icon {
    background: rgba(56, 189, 248, 0.16);
    color: #38BDF8;
}

.faq-help-card strong {
    display: block;
    font-size: 1.02rem;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}
.faq-help-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

.faq-wrapper {
    max-width: none;
    margin: 0;
    gap: 0.9rem;
}

.faq-item {
    border-radius: 20px;
}

.faq-item.active {
    border-color: rgb(0 107 179) !important;
    box-shadow: var(--shadow-glass-hover) !important;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    color: var(--text-heading) !important;
    font-size: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.faq-num {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgb(0 107 179);
    background: rgba(0, 107, 179, 0.11);
    padding: 0.32rem 0.65rem;
    border-radius: 9999px;
}
html[data-theme="dark"] .faq-num {
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.15);
}

.faq-q-text {
    font-weight: 700;
    line-height: 1.4;
}

.faq-toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--surface-pill);
    border: 1px solid var(--border-glass);
    color: rgb(0 107 179);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease;
}

.faq-item.active .faq-toggle {
    background: rgb(0 107 179);
    color: #ffffff;
    transform: rotate(45deg);
}

/* Accordéon fluide en CSS Grid (0fr -> 1fr) sans saut de hauteur */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    max-height: none !important;
    padding: 0 1.5rem !important;
    transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1), padding 0.38s ease;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 0 1.5rem 1.4rem !important;
}

.faq-answer p {
    padding-left: 3.1rem;
    color: var(--text-secondary) !important;
    line-height: 1.72;
}

/* --- Rangée Actualités & Contact --- */
.news-card { border-radius: 24px; }
.news-date { border-radius: 9999px; }
.news-body h4 { color: var(--text-heading) !important; }
.news-body p { color: var(--text-secondary) !important; }

.info-item {
    padding: 1.1rem 1.25rem;
    border-radius: 18px;
}
.info-item strong { color: var(--text-heading) !important; }
.contact-form-container {
    border-radius: 26px;
}
.form-group label { color: var(--text-heading) !important; }
.form-control {
    background: var(--surface-input) !important;
    color: var(--text-heading) !important;
    border-color: var(--border-glass) !important;
    border-radius: 14px;
}

/* Footer glassmorphisme complet + icônes sociales remplies */
.footer {
    background: var(--surface-glass-strong) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--border-glass-strong) !important;
    box-shadow: 0 -18px 48px -18px rgba(11, 30, 54, 0.08);
    color: var(--text-secondary) !important;
}
.footer-logo {
    filter: var(--logo-filter);
}
html[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
}
.footer-brand p,
.footer-col p,
.footer-col ul a,
.footer-legal a,
.footer-bottom p {
    color: var(--text-secondary) !important;
}
.footer-col h4 {
    color: var(--text-heading) !important;
}
.footer-col ul a:hover,
.footer-legal a:hover {
    color: rgb(0 107 179) !important;
}
.footer-bottom {
    border-top: 1px solid var(--border-glass) !important;
}
.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface-card) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass-strong) !important;
    color: rgb(0 107 179) !important;
    box-shadow: var(--shadow-glass);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
html[data-theme="dark"] .social-links a {
    color: #38BDF8 !important;
}
.social-links a:hover {
    background: rgb(0 107 179) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.06);
}
.social-svg-filled {
    display: block;
    fill: currentColor;
}

/* Badges & pilules en Glassmorphisme sur toute la page */
.division-badge,
.project-tag,
.news-date,
.library-badge,
.floating-whatsapp {
    backdrop-filter: blur(14px) saturate(170%);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
}
.floating-whatsapp {
    border: 2px solid rgba(255, 255, 255, 0.55);
}
.back-to-top {
    border-radius: 9999px !important;
    background: rgb(0 107 179) !important;
    border: 2px solid #ffffff4d !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --------------------------------------------------------------------------
   12. Rare UI · Gooey Nav Indicator, Step Player, Conversational FAQ Bubbles
       & 21st.dev View Transition Circular Reveal
   -------------------------------------------------------------------------- */

/* Rare UI · Gooey Nav — pilule liquide glissante sous le lien actif/survolé */
.nav-list {
    position: relative;
}
.gooey-nav-pill {
    position: absolute;
    top: 0.3rem;
    bottom: 0.3rem;
    left: 0;
    width: 0;
    border-radius: 9999px;
    background: rgb(0 107 179);
    box-shadow: 0 4px 16px rgba(0, 107, 179, 0.36);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease;
}
.nav-list > li {
    position: relative;
    z-index: 1;
}
.nav-list.has-gooey-pill .nav-link:hover,
.nav-list.has-gooey-pill .nav-link.active,
.nav-list.has-gooey-pill .nav-dropdown-trigger[aria-expanded="true"] {
    background: transparent !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

/* Rare UI · Step Player — piste de progression interactive 5 étapes */
.stepplayer-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}
.stepplayer-head .methodology-title {
    text-align: left !important;
    margin: 0.4rem 0 0 !important;
}
.stepplayer-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--surface-pill);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 0.65rem;
    border-radius: 9999px;
}
.stepplayer-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgb(0 107 179);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.36rem 0.85rem;
    font-family: var(--e-font);
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.stepplayer-toggle[aria-pressed="false"] {
    background: var(--surface-card);
    color: var(--text-heading);
    border: 1px solid var(--border-glass);
}
.stepplayer-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.step-dot {
    position: relative;
    width: 12px;
    height: 10px;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background: rgba(0, 107, 179, 0.22);
    overflow: hidden;
    cursor: pointer;
    transition: width 0.38s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}
.step-dot.is-active {
    width: 44px;
    background: rgba(0, 107, 179, 0.24);
}
.step-dot-fill {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #006bb3, #3AB04A);
    transform-origin: 0 50%;
    transform: scaleX(0);
}
.step-dot.is-active .step-dot-fill {
    transform: scaleX(1);
}

.step-card {
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   13. Section Bibliothèque Multimédia (Photos & Vidéos Facebook) & Grille 4 Actus
   -------------------------------------------------------------------------- */
.library-section {
    padding: clamp(3.75rem, 6vw, 5.75rem) 0;
    position: relative;
}

.library-filters {
    margin-bottom: 2.5rem;
}

.library-filters .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem;
}

.library-card {
    position: relative;
    background: var(--surface-card) !important;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--border-glass) !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-glass) !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}

.library-card:hover {
    background: var(--surface-card-hover) !important;
    border-color: var(--border-glass-strong) !important;
    box-shadow: var(--shadow-glass-hover) !important;
    transform: translateY(-6px);
}

.library-media {
    position: relative;
    height: 235px;
    overflow: hidden;
    background: rgba(11, 30, 54, 0.14);
}

.library-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.library-card:hover .library-media img {
    transform: scale(1.06);
}

.library-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: rgba(11, 24, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.library-badge.is-video {
    background: rgba(0, 107, 179, 0.88);
}

.library-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgb(0 107 179);
    color: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    text-decoration: none;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.library-play:hover {
    transform: scale(1.12);
    background: #3AB04A;
}

.library-body {
    padding: 1.5rem 1.6rem 1.65rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.library-cat {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3AB04A;
    margin-bottom: 0.45rem;
}

.library-body h4 {
    font-size: 1.08rem;
    line-height: 1.38;
    color: var(--text-heading) !important;
    margin-bottom: 0.6rem;
}

.library-body p {
    font-size: 0.88rem;
    line-height: 1.62;
    color: var(--text-secondary) !important;
    margin-bottom: 1.15rem;
    flex: 1;
}

.news-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .library-grid,
    .news-grid-4 {
        grid-template-columns: 1fr;
    }
}

.step-card.is-active {
    border-color: rgb(0 107 179) !important;
    background: var(--surface-card-hover) !important;
    box-shadow: var(--shadow-glass-hover) !important;
    transform: translateY(-6px);
}
.step-card.is-active .step-number {
    background: linear-gradient(135deg, #006bb3 0%, #3AB04A 100%) !important;
    transform: scale(1.08);
}

/* Rare UI · Conversational FAQ Reply Bubble */
.faq-reply {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 0.25rem;
}
.faq-reply-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #006bb3 0%, #3AB04A 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0, 107, 179, 0.28);
}
.faq-reply-bubble {
    flex: 1;
    background: var(--surface-pill);
    border: 1px solid var(--border-glass);
    border-radius: 4px 18px 18px 18px;
    padding: 0.95rem 1.2rem;
}
.faq-reply-meta {
    display: block;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(0 107 179);
    margin-bottom: 0.35rem;
}
html[data-theme="dark"] .faq-reply-meta {
    color: #38BDF8;
}
.faq-reply-bubble p {
    padding-left: 0 !important;
    margin: 0;
}

/* 21st.dev (@arunachalam) · View Transition API circular theme reveal */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

/* --------------------------------------------------------------------------
   11. Responsive Mobile & Tablette (ajustement complet, 0 débordement)
   -------------------------------------------------------------------------- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.container,
.hero-stage,
.stats-grid,
.about-grid,
.about-features,
.division-card-inner,
.division-list-grid,
.iso-grid,
.steps-grid,
.packages-grid,
.projects-grid,
.library-grid,
.testimonials-grid,
.faq-layout,
.news-grid,
.contact-grid,
.footer-top {
    min-width: 0;
}

.stat-card,
.iso-card,
.step-card,
.package-card,
.project-card,
.library-card,
.testimonial-card,
.faq-item,
.faq-help-card,
.news-card,
.contact-form-container,
.feature-item,
.info-item,
.tabs-content {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 1220px) {
    .nav-link {
        font-size: 0.72rem;
        padding: 0.4rem 0.58rem !important;
    }
    .button.btn-contact {
        padding-inline: 0.85rem;
        font-size: 12.5px;
    }
}

@media (max-width: 1120px) {
    .button.btn-contact {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .header {
        top: 0.4rem;
        padding: 0 0.75rem;
    }
    .header .navbar {
        height: 62px;
        padding: 0 0.9rem 0 1.1rem;
    }
    .nav-menu {
        background: rgba(10, 22, 38, 0.94) !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
    .nav-list {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
    }
    .nav-menu .nav-link {
        color: #F1F5F9 !important;
        border-radius: 12px !important;
        padding: 0.85rem 0.75rem !important;
        font-size: 0.95rem;
    }
    .hamburger .bar {
        background: var(--text-heading);
    }
    .hero-stage {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 1rem;
        gap: 1.75rem;
        min-height: 0;
    }
    .hero-media {
        min-height: 340px;
        aspect-ratio: 16 / 10;
    }
    .hero-colophon {
        border-radius: 20px;
        width: calc(100% - 2rem);
        margin: 1.25rem auto 0;
        padding: 0.85rem 1.15rem;
    }
    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
    .faq-aside {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .hero-stage {
        padding: 0 1rem;
    }
    .hero-media {
        min-height: 260px;
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }
    .hero-colophon {
        width: calc(100% - 2rem);
        padding: 0.75rem 1rem;
    }
    .hero-colophon-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .hero-colophon-tag {
        font-size: 0.65rem;
        letter-spacing: 0.08em;
        line-height: 1.45;
    }

    /* Toutes les grilles de cartes passent en 1 colonne fluide sur mobile */
    .stats-grid,
    .about-grid,
    .about-features,
    .division-card-inner,
    .division-list-grid,
    .iso-grid,
    .steps-grid,
    .packages-grid,
    .projects-grid,
    .library-grid,
    .testimonials-grid,
    .news-grid,
    .news-grid-4,
    .contact-grid,
    .footer-top {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.25rem;
    }

    .about-main-img {
        height: 300px;
    }
    .about-accent-box,
    .division-info,
    .division-info.full-width,
    .methodology-wrapper,
    .package-card,
    .testimonial-card,
    .news-body,
    .contact-form-container {
        padding: 1.5rem 1.25rem !important;
    }

    .tabs-nav,
    .project-filters,
    .library-filters {
        gap: 0.5rem;
    }
    .tab-btn,
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.82rem;
    }

    .stepplayer-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-question {
        padding: 1rem 1.1rem;
        font-size: 0.92rem;
        gap: 0.65rem;
    }
    .faq-item.active .faq-answer {
        padding: 0 1.1rem 1.15rem !important;
    }
    .faq-answer p {
        padding-left: 0;
    }
    .faq-reply {
        flex-direction: column;
        gap: 0.6rem;
    }
}
