/* ==========================================================================
   STYLE PRINCIPAL - CEEXDI (Cabinet d’Études et d’Expertise pour le Développement Intégré)
   Charte Graphique : Bleu Royal, Vert Émeraude, Orange Solaire, Platine
   Design Moderne, Épuré, Animé & Responsive
   ========================================================================== */

:root {
    --c-primary: #0b69c7;
    --c-primary-light: #2b8df4;
    --c-primary-dark: #124d86;
    --c-primary-night: #11385d;
    
    --c-green: #1b8a47;
    --c-green-light: #22c55e;
    --c-green-soft: #e8f7ee;

    --c-orange: #ea580c;
    --c-orange-light: #f97316;
    --c-orange-soft: #fff4ed;

    --c-silver: #94a3b8;
    --c-silver-light: #e2e8f0;
    --c-silver-soft: #f1f5f9;

    --c-bg: #f8fafc;
    --c-surface: #ffffff;
    --c-text: #0f172a;
    --c-text-muted: #64748b;
    --c-border: #e2e8f0;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 30px -5px rgb(0 0 0 / 0.15);
    --shadow-glow: 0 0 25px rgba(11, 105, 199, 0.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   TOPBAR & HEADER NAVIGATION
   ========================================================================== */
.topbar {
    background: var(--c-primary-night);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.topbar-row-contacts, .topbar-row-infos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-item svg {
    width: 15px;
    height: 15px;
    stroke: var(--c-orange-light);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo:hover img {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--c-text);
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.98rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-green));
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--c-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Bouton Spécial CEEXDI Connect */
.btn-ceexdi-connect {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #0275d8 100%);
    background-size: 200% auto;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-ceexdi-connect:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(2, 117, 216, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-ceexdi-connect .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff;
    animation: pulse 1.6s infinite;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--c-text);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   HERO BANDEAU DÉFILANT (CAROUSEL)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: clamp(480px, 52vw, 740px);
    background: #e2e8f0;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(17, 56, 93, 0.08) 0%, 
        rgba(17, 56, 93, 0) 60%, 
        rgba(17, 56, 93, 0.25) 100%
    );
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    color: #ffffff;
    transform: translateY(25px);
    opacity: 0;
    transition: transform 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s 0.2s;
}

.slide-item.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.slide-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 2rem;
    max-width: 680px;
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--c-primary);
    color: #ffffff;
    border-color: var(--c-primary);
    box-shadow: 0 4px 14px rgba(0, 75, 147, 0.35);
}

.btn-primary:hover {
    background: var(--c-primary-light);
    border-color: var(--c-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 75, 147, 0.45);
}

.btn-secondary {
    background: var(--c-green);
    color: #ffffff;
    border-color: var(--c-green);
    box-shadow: 0 4px 14px rgba(27, 138, 71, 0.35);
}

.btn-secondary:hover {
    background: var(--c-green-light);
    border-color: var(--c-green-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--c-primary-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(17, 56, 93, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }

.slider-pause-btn {
    position: absolute;
    bottom: 1.75rem;
    right: 2rem;
    z-index: 15;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(17, 56, 93, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.slider-pause-btn:hover {
    background: var(--c-primary);
    border-color: var(--c-primary-light);
    transform: scale(1.1);
}

.slider-pause-btn.is-paused {
    background: var(--c-orange);
    border-color: var(--c-orange-light);
}

.slider-pause-btn svg {
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-dot.active {
    width: 38px;
    background: var(--c-orange);
    box-shadow: 0 0 10px var(--c-orange);
}

/* Barre de progression du slider */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-green), var(--c-orange));
    width: 0%;
    z-index: 15;
    transition: width 0.1s linear;
}

/* ==========================================================================
   SECTIONS & TITRES
   ========================================================================== */
.section {
    padding: 5.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--c-silver-soft);
    border: 1px solid var(--c-silver-light);
    color: var(--c-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--c-primary-night);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--c-text-muted);
}

/* ==========================================================================
   PRÉSENTATION SYNTHÉTIQUE ACCUEIL
   ========================================================================== */
.accueil-presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.accueil-presentation-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--c-primary-dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.accueil-presentation-text {
    color: var(--c-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.accueil-presentation-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-rdv {
    background: var(--c-silver-soft);
    color: var(--c-primary-dark);
}

.btn-rdv:hover {
    background: #e2e8f0;
    color: var(--c-primary);
}

.accueil-presentation-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--c-border);
}

.accueil-presentation-img {
    width: 100%;
    height: auto;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   SECTEURS STRATÉGIQUES / PILIERS (GRILLE INTERACTIVE)
   ========================================================================== */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sector-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-green));
    opacity: 0;
    transition: var(--transition);
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1;
}

.sector-card:hover::before {
    opacity: 1;
}

.sector-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--c-silver-soft);
    color: var(--c-primary);
    transition: var(--transition);
}

.sector-card:hover .sector-icon {
    background: var(--c-primary);
    color: #ffffff;
    transform: scale(1.08);
}

.sector-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-primary-dark);
    margin-bottom: 0.75rem;
}

.sector-card p {
    color: var(--c-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.sector-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--c-primary);
}

.sector-link:hover {
    color: var(--c-orange);
    gap: 0.6rem;
}

/* ==========================================================================
   CHIFFRES CLÉS & STATISTIQUES (ANIMÉES)
   ========================================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--c-primary-night) 0%, var(--c-primary-dark) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--c-orange-light);
    line-height: 1;
    margin-bottom: 0.6rem;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
}

/* ==========================================================================
   ENCART CEEXDI CONNECT (FEATURED CTA)
   ========================================================================== */
.ceexdi-connect-banner {
    background: linear-gradient(135deg, #072648 0%, #004b93 60%, #1b8a47 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.connect-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(234, 88, 12, 0.25);
    border: 1px solid var(--c-orange-light);
    color: #ffedd5;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.connect-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.connect-desc {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 700px;
    margin-bottom: 2rem;
}

.connect-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.connect-feat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.connect-feat-item svg {
    width: 20px;
    height: 20px;
    color: var(--c-green-light);
}

/* ==========================================================================
   ACTUALITÉS (CARDS)
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--c-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.news-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.82rem;
    color: var(--c-text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-primary-dark);
    margin-bottom: 0.75rem;
}

.news-title a:hover {
    color: var(--c-primary-light);
}

.news-excerpt {
    font-size: 0.92rem;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.news-link:hover {
    color: var(--c-orange);
    gap: 0.5rem;
}

/* ==========================================================================
   PAGE PRÉSENTATION SPÉCIFIQUE
   ========================================================================== */
.presentation-hero {
    background: linear-gradient(135deg, var(--c-primary-night) 0%, var(--c-primary-dark) 100%);
    color: #ffffff;
    padding: 4.5rem 0;
    text-align: center;
}

.content-box {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}

.citation-ceexdi {
    background: var(--c-silver-soft);
    border-left: 5px solid var(--c-orange);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.8rem 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--c-primary-dark);
}

.mission-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mission-item {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-item:hover {
    border-color: var(--c-green);
    transform: translateY(-3px);
}

.mission-icon {
    width: 42px;
    height: 42px;
    background: var(--c-green-soft);
    color: var(--c-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   PAGE CONTACTS (FORMULAIRE & GOOGLE MAPS)
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-infos-card {
    background: var(--c-primary-night);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.contact-info-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--c-primary-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: var(--c-surface);
    color: var(--c-text);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(0, 75, 147, 0.12);
}

.map-container {
    margin-top: 3.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   ALERTES & FLASH MESSAGES
   ========================================================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-succes {
    background: var(--c-green-soft);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-erreur {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ==========================================================================
   FOOTER DU SITE
   ========================================================================== */
.site-footer {
    background: var(--c-primary-night);
    color: #94a3b8;
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 55px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--c-orange);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 0;
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: #94a3b8;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .section { padding: 4rem 0; }
    .hero-slider-section { height: clamp(400px, 52vw, 550px); }
    .slide-title { font-size: 2.5rem; }
    .accueil-presentation-grid { gap: 2rem; }
    .sectors-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Sections générales & Titres */
    .section {
        padding: 2.75rem 0;
    }
    .section-header {
        margin: 0 auto 2rem auto;
    }
    .section-badge {
        font-size: 0.78rem;
        padding: 0.28rem 0.85rem;
        margin-bottom: 0.75rem;
    }
    .section-title {
        font-size: 1.65rem;
        line-height: 1.28;
        margin-bottom: 0.65rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    /* Topbar */
    .topbar {
        padding: 4px 0;
        font-size: 0.74rem;
        line-height: 1.25;
    }
    .topbar-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3px;
    }
    .topbar-row-contacts {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 4px 14px;
        width: 100%;
        text-align: center;
    }
    .topbar-row-infos {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap !important;
        gap: 4px 14px;
        width: 100%;
        text-align: center;
    }
    .topbar-item {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.74rem;
        white-space: nowrap;
    }
    .topbar-item svg {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }
    .topbar-phone-fixe {
        display: none;
    }

    /* Header & Navigation */
    .navbar {
        height: 60px;
    }
    .brand-logo img {
        height: 38px;
        max-width: 140px;
        width: auto;
    }
    .nav-actions {
        gap: 0.5rem;
    }
    .btn-ceexdi-connect {
        font-size: 0.80rem;
        padding: 0.42rem 0.85rem;
        gap: 0.35rem;
        box-shadow: 0 2px 10px rgba(234, 88, 12, 0.25);
    }
    .btn-ceexdi-connect .pulse-dot {
        width: 6px;
        height: 6px;
    }
    .btn-ceexdi-connect svg {
        width: 13px;
        height: 13px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.35rem;
    }
    .menu-toggle svg {
        width: 26px;
        height: 26px;
    }
    .slider-pause-btn {
        bottom: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
    }
    .hero-slider-section { height: clamp(280px, 52vw, 400px); }
    .slide-title { font-size: 2rem; }
    .slide-subtitle { font-size: 1rem; }
    .nav-links { display: none; }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        border-bottom: 2px solid var(--c-primary);
    }
    .slider-arrow { display: none; }

    /* Stats Section (Compteurs en 2x2 propre) */
    .stats-section.section {
        padding: 1.75rem 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
    .stat-item {
        padding: 1.25rem 0.85rem;
        border-radius: var(--radius-sm);
    }
    .stat-number {
        font-size: 2.1rem;
        margin-bottom: 0.35rem;
    }
    .stat-label {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    /* Présentation Synthétique (1 colonne empilée) */
    .accueil-presentation-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .accueil-presentation-title {
        font-size: 1.45rem;
        margin-bottom: 0.85rem;
    }
    .accueil-presentation-text {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    .citation-ceexdi {
        padding: 1rem 1.25rem;
        margin: 1.25rem 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .accueil-presentation-buttons {
        flex-direction: column;
        gap: 0.65rem;
        margin-top: 1.25rem;
    }
    .accueil-presentation-buttons .btn {
        width: 100%;
    }
    .accueil-presentation-img {
        min-height: 220px;
        max-height: 280px;
    }

    /* Secteurs d'Intervention */
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    .sector-card {
        padding: 1.4rem 1.25rem;
    }
    .sector-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    .sector-icon svg {
        width: 26px;
        height: 26px;
    }
    .sector-card h3 {
        font-size: 1.18rem;
        margin-bottom: 0.5rem;
    }
    .sector-card p {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 0;
    }

    /* Encart CEEXDI Connect */
    .ceexdi-connect-banner {
        padding: 2.25rem 1.5rem;
        border-radius: var(--radius-md);
    }
    .connect-badge {
        font-size: 0.78rem;
        padding: 0.25rem 0.8rem;
        margin-bottom: 0.85rem;
    }
    .connect-title {
        font-size: 1.55rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }
    .connect-desc {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }
    .connect-features {
        flex-direction: column;
        gap: 0.65rem;
        margin-bottom: 1.5rem;
    }
    .connect-feat-item {
        font-size: 0.86rem;
    }
    .ceexdi-connect-banner .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Actualités */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .news-thumb {
        height: 190px;
    }
    .news-body {
        padding: 1.25rem;
    }
    .news-title {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }
    .news-excerpt {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }
    .news-bottom-action {
        margin-top: 2rem !important;
    }

    /* Boutons généraux & Footer */
    .btn {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .site-footer { padding: 3rem 0 1.5rem 0; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Sections générales & Titres */
    .section {
        padding: 2.1rem 0;
    }
    .section-header {
        margin: 0 auto 1.35rem auto;
    }
    .section-badge {
        font-size: 0.72rem;
        padding: 0.22rem 0.7rem;
        margin-bottom: 0.5rem;
        letter-spacing: 0.5px;
    }
    .section-title {
        font-size: 1.32rem;
        line-height: 1.25;
        margin-bottom: 0.45rem;
    }
    .section-subtitle {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    /* Topbar */
    .topbar {
        padding: 3px 0;
        font-size: 0.67rem;
    }
    .topbar .container {
        padding: 0 4px;
    }
    .topbar-content {
        gap: 2px;
    }
    .topbar-row-contacts {
        gap: 6px;
        flex-wrap: nowrap;
    }
    .topbar-row-infos {
        gap: 8px;
        flex-wrap: nowrap !important;
    }
    .topbar-item {
        font-size: 0.66rem;
        gap: 0.2rem;
        letter-spacing: -0.15px;
    }
    .topbar-item svg {
        width: 10px;
        height: 10px;
        flex-shrink: 0;
    }

    /* Header & Navbar */
    .navbar {
        height: 52px;
    }
    .brand-logo img {
        height: 32px;
        max-width: 115px;
    }
    .nav-actions {
        gap: 0.35rem;
    }
    .btn-ceexdi-connect {
        font-size: 0.72rem;
        padding: 0.32rem 0.62rem;
        gap: 0.25rem;
        box-shadow: 0 2px 8px rgba(234, 88, 12, 0.2);
        border-radius: 20px;
        line-height: 1.2;
    }
    .btn-ceexdi-connect .pulse-dot {
        width: 5px;
        height: 5px;
    }
    .btn-ceexdi-connect svg {
        width: 12px;
        height: 12px;
    }
    .menu-toggle {
        padding: 0.2rem;
    }
    .menu-toggle svg {
        width: 22px;
        height: 22px;
    }
    .nav-links.mobile-open {
        top: 52px;
    }
    .hero-slider-section { height: clamp(210px, 52vw, 260px); }

    /* Stats Section (Cartes Compteurs 2x2 très compactes) */
    .stats-section.section {
        padding: 1.25rem 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
    }
    .stat-item {
        padding: 0.85rem 0.55rem;
        border-radius: var(--radius-sm);
    }
    .stat-number {
        font-size: 1.65rem;
        margin-bottom: 0.2rem;
    }
    .stat-label {
        font-size: 0.72rem;
        line-height: 1.25;
        font-weight: 500;
    }

    /* Présentation Synthétique */
    .accueil-presentation-grid {
        gap: 1.25rem;
    }
    .accueil-presentation-title {
        font-size: 1.22rem;
        line-height: 1.3;
        margin-bottom: 0.65rem;
    }
    .accueil-presentation-text {
        font-size: 0.84rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    .citation-ceexdi {
        padding: 0.75rem 0.85rem;
        margin: 0.85rem 0;
        font-size: 0.84rem;
        border-left-width: 3.5px;
    }
    .accueil-presentation-buttons {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    .accueil-presentation-buttons .btn {
        padding: 0.7rem 1rem;
        font-size: 0.84rem;
    }
    .accueil-presentation-img {
        min-height: 170px;
        max-height: 220px;
    }

    /* Secteurs d'Intervention */
    .sectors-grid {
        gap: 1.25rem;
    }
    .sector-card {
        padding: 1.1rem 0.95rem;
        border-radius: var(--radius-sm);
    }
    .sector-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.7rem;
    }
    .sector-icon svg {
        width: 20px;
        height: 20px;
    }
    .sector-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }
    .sector-card p {
        font-size: 0.82rem;
        line-height: 1.48;
    }

    /* Encart CEEXDI Connect */
    .ceexdi-connect-banner {
        padding: 1.5rem 1.1rem;
        border-radius: var(--radius-sm);
    }
    .connect-badge {
        font-size: 0.70rem;
        padding: 0.2rem 0.65rem;
        margin-bottom: 0.6rem;
    }
    .connect-title {
        font-size: 1.25rem;
        line-height: 1.22;
        margin-bottom: 0.55rem;
    }
    .connect-desc {
        font-size: 0.82rem;
        line-height: 1.48;
        margin-bottom: 1rem;
    }
    .connect-features {
        gap: 0.45rem;
        margin-bottom: 1.15rem;
    }
    .connect-feat-item {
        font-size: 0.80rem;
    }
    .connect-feat-item svg {
        width: 15px;
        height: 15px;
    }
    .ceexdi-connect-banner .btn {
        padding: 0.7rem 1rem;
        font-size: 0.82rem;
    }

    /* Actualités */
    .news-grid {
        gap: 1rem;
    }
    .news-thumb {
        height: 160px;
    }
    .news-body {
        padding: 1rem 0.85rem;
    }
    .news-category-badge {
        font-size: 0.70rem;
        padding: 0.25rem 0.65rem;
        top: 0.75rem;
        left: 0.75rem;
    }
    .news-title {
        font-size: 1.02rem;
        margin-bottom: 0.4rem;
    }
    .news-excerpt {
        font-size: 0.82rem;
        line-height: 1.48;
        margin-bottom: 0.85rem;
    }
    .news-bottom-action {
        margin-top: 1.5rem !important;
    }

    /* Boutons généraux & Footer */
    .btn {
        padding: 0.68rem 1.15rem;
        font-size: 0.85rem;
    }
    .site-footer {
        padding: 2.25rem 0 1.25rem 0;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    /* Titres & Section */
    .section {
        padding: 1.6rem 0;
    }
    .section-title {
        font-size: 1.18rem;
    }
    .section-subtitle {
        font-size: 0.78rem;
    }

    /* Topbar */
    .topbar .container {
        padding: 0 2px;
    }
    .topbar-row-contacts {
        gap: 4px;
    }
    .topbar-row-infos {
        gap: 5px;
    }
    .topbar-item {
        font-size: 0.60rem;
        gap: 0.15rem;
        letter-spacing: -0.3px;
    }
    .topbar-item svg {
        width: 9px;
        height: 9px;
    }

    /* Navbar */
    .navbar {
        height: 48px;
    }
    .brand-logo img {
        height: 27px;
        max-width: 95px;
    }
    .btn-ceexdi-connect {
        font-size: 0.66rem;
        padding: 0.26rem 0.5rem;
        gap: 0.2rem;
    }
    .btn-ceexdi-connect .pulse-dot {
        width: 4px;
        height: 4px;
    }
    .btn-ceexdi-connect svg {
        width: 10px;
        height: 10px;
    }
    .nav-actions {
        gap: 0.25rem;
    }
    .menu-toggle svg {
        width: 20px;
        height: 20px;
    }
    .nav-links.mobile-open {
        top: 48px;
    }

    /* Stats Section (Ultra compact pour écran externe Fold) */
    .stats-section.section {
        padding: 1rem 0;
    }
    .stats-grid {
        gap: 0.45rem;
    }
    .stat-item {
        padding: 0.7rem 0.35rem;
    }
    .stat-number {
        font-size: 1.45rem;
    }
    .stat-label {
        font-size: 0.66rem;
        line-height: 1.2;
    }

    /* Présentation Synthétique */
    .accueil-presentation-title {
        font-size: 1.12rem;
    }
    .accueil-presentation-text {
        font-size: 0.78rem;
    }
    .citation-ceexdi {
        font-size: 0.78rem;
        padding: 0.6rem 0.75rem;
    }
    .accueil-presentation-buttons .btn {
        font-size: 0.78rem;
        padding: 0.6rem 0.85rem;
    }
    .accueil-presentation-img {
        min-height: 150px;
        max-height: 190px;
    }

    /* Secteurs */
    .sectors-grid {
        gap: 1.15rem;
    }
    .sector-card {
        padding: 0.95rem 0.8rem;
    }
    .sector-icon {
        width: 34px;
        height: 34px;
    }
    .sector-card h3 {
        font-size: 0.98rem;
    }
    .sector-card p {
        font-size: 0.76rem;
    }

    /* CEEXDI Connect */
    .ceexdi-connect-banner {
        padding: 1.25rem 0.85rem;
    }
    .connect-title {
        font-size: 1.12rem;
    }
    .connect-desc {
        font-size: 0.76rem;
    }
    .connect-feat-item {
        font-size: 0.75rem;
    }
    .ceexdi-connect-banner .btn {
        font-size: 0.76rem;
        padding: 0.62rem 0.85rem;
    }

    /* Actualités */
    .news-thumb {
        height: 140px;
    }
    .news-title {
        font-size: 0.95rem;
    }
    .news-excerpt {
        font-size: 0.76rem;
    }
}

/* Accessibilité & SEO sémantique */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

