/* ========================================
   STYLES MODERNES POUR ALC GESTION
   Design épuré et professionnel
   ======================================== */

/* Reset et variables modernes */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs modernes et épurées */
    --primary-color: #0f172a;      /* Slate-900 - Noir bleuté professionnel */
    --secondary-color: #334155;    /* Slate-700 - Gris bleuté moyen */
    --accent-color: #3b82f6;       /* Blue-500 - Bleu moderne et accessible */
    --accent-hover: #2563eb;       /* Blue-600 - Variation hover */
    
    /* Nuances de gris pour hiérarchie */
    --text-primary: #0f172a;       /* Texte principal */
    --text-secondary: #475569;     /* Texte secondaire */
    --text-muted: #64748b;         /* Texte désactivé */
    
    /* Backgrounds épurés */
    --bg-primary: #ffffff;         /* Fond principal */
    --bg-primary-rgb: 255, 255, 255; /* Fond principal en RGB */
    --bg-secondary: #f8fafc;       /* Fond section alternée */
    --bg-tertiary: #f1f5f9;        /* Fond cartes */
    --bg-overlay: rgba(0, 0, 0, 0.8);
    
    /* Bordures subtiles */
    --border-color: #e2e8f0;       /* Bordure standard */
    --border-color-hover: #cbd5e1; /* Bordure hover */
    
    /* Ombres modernes et subtiles */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions fluides */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Espacements harmonieux (échelle 4px) */
    --space-1: 0.25rem;  /* 4px */
    --space-2: 0.5rem;   /* 8px */
    --space-3: 0.75rem;  /* 12px */
    --space-4: 1rem;     /* 16px */
    --space-5: 1.25rem;  /* 20px */
    --space-6: 1.5rem;   /* 24px */
    --space-8: 2rem;     /* 32px */
    --space-10: 2.5rem;  /* 40px */
    --space-12: 3rem;    /* 48px */
    --space-16: 4rem;    /* 64px */
    --space-20: 5rem;    /* 80px */
    --space-24: 6rem;    /* 96px */
    --space-32: 8rem;    /* 128px */
    
    /* Rayons de bordure cohérents */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;   /* Cercle parfait */
}

/* Mode sombre élégant (optionnel) */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #f8fafc;
        --secondary-color: #e2e8f0;
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --bg-primary: #0f172a;
        --bg-primary-rgb: 15, 23, 42; /* Variables RGB pour le mode sombre */
        --bg-secondary: #1e293b;
        --bg-tertiary: #334155;
        --border-color: #334155;
        --border-color-hover: #475569;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.25rem; /* Compensation header fixe améliorée (100px) */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Container moderne avec max-width adaptatifs */
.container {
    max-width: 1280px; /* Légèrement plus large pour un look moderne */
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* Typographie moderne et hiérarchisée */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-16);
    text-align: center;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-12);
    font-weight: 400;
}

/* Header moderne et épuré - Transparent sur Hero */
.header {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999; /* Z-index élevé pour éviter tout chevauchement */
    transition: var(--transition-fast);
    height: auto;
    min-height: 80px; /* Hauteur minimale garantie */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(var(--bg-primary-rgb, 255, 255, 255), 0.98) !important;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    min-height: 80px; /* Hauteur constante même après scroll */
}

.navbar {
    padding: var(--space-4) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-img {
    width: 250px;
    height: auto;
    transition: var(--transition-fast);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
    padding: var(--space-2) var(--space-1);
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

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

.phone-number {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-number:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

.phone-number i {
    font-size: 0.875rem;
}

/* Hamburger moderne */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.hamburger:hover {
    background: var(--bg-tertiary);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 1px;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section moderne et épurée - PLEIN ÉCRAN */
.hero {
    position: relative;
    height: 100vh; /* Hauteur plein écran */
    background: transparent; /* Pas de fond pour voir l'image */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; /* Suppression du padding pour plein écran */
    margin-top: 0; /* Suppression de la marge pour plein écran */
}

/* Suppression de l'effet de particules qui masque l'image */
.hero::before {
    display: none;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2; /* Au-dessus de l'effet de fond */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition-slow);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh; /* Pleine hauteur sans compensation */
    position: relative;
    z-index: 2; /* Au-dessus de l'overlay */
}

.hero-content {
    max-width: 600px;
    padding: var(--space-6);
    background: transparent;
    position: relative;
    z-index: 20;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-6);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-services {
    margin-bottom: var(--space-8);
}

.hero-services p {
    font-size: 1.125rem;
    color: white;
    margin-bottom: var(--space-3);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-services p::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Hero subtitle style */
.hero-subtitle {
    margin-bottom: var(--space-8);
}

.hero-subtitle p {
    font-size: 1.25rem;
    color: white;
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

/* CTA Button moderne */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-base);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
    color: white;
}

.cta-button:hover::before {
    left: 100%;
}

/* Image de fond plein écran */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

/* Navigation dots modernes */
.hero-dots {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 10;
    padding: var(--space-3) var(--space-6);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.dot:hover {
    background: var(--text-muted);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
}

/* Navigation arrows modernes */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-8);
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: var(--transition-base);
    pointer-events: all;
    box-shadow: var(--shadow-md);
}

.hero-nav-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.hero-nav-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Presentation Section moderne */
.presentation {
    padding: var(--space-32) 0;
    background: var(--bg-primary);
    position: relative;
}

.presentation-section {
    margin-bottom: var(--space-24);
}

.presentation-section:last-child {
    margin-bottom: 0;
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
    min-height: 500px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: right;
}

.presentation-content .text-content {
    justify-self: end;
}

.presentation-content .image-content {
    justify-self: end;
}

.presentation-content.reverse {
    grid-template-areas: "image text";
    text-align: left;
}

.presentation-content.reverse .text-content {
    grid-area: text;
    justify-self: start;
}

.presentation-content.reverse .image-content {
    grid-area: image;
    justify-self: start;
}

.text-content {
    max-width: 600px;
}

.text-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.text-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.image-content {
    position: relative;
}

.image-content img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
}

.image-content img:hover {
    transform: scale(1.02);
}

/* Mission Section moderne */
.mission {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-6);
}

.mission-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.mission-content p strong {
    color: var(--text-primary);
    font-weight: 700;
    display: block;
    font-size: 1.375rem;
    margin: var(--space-4) 0;
}

.mission-content p:last-child {
    margin-bottom: 0;
}

/* Services Section moderne */
.services {
    padding: var(--space-32) 0;
    background: var(--bg-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-16);
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: var(--transition-base);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--accent-color);
    transition: var(--transition-base);
}

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

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.click-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: var(--space-4);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.service-card:hover .click-indicator {
    opacity: 1;
    transform: translateY(0);
    color: var(--accent-color);
}

/* Testimonials Section moderne */
.testimonials {
    padding: var(--space-32) 0;
    background: var(--bg-secondary);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-16);
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    transition: var(--transition-base);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.testimonial-card.orange::before { background: #f97316; }
.testimonial-card.blue::before { background: #3b82f6; }
.testimonial-card.yellow::before { background: #eab308; }
.testimonial-card.green::before { background: #22c55e; }

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-content p::before {
    content: '"';
    font-size: 2rem;
    color: var(--accent-color);
    line-height: 1;
    margin-right: var(--space-1);
}

.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--accent-color);
    line-height: 1;
    margin-left: var(--space-1);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    opacity: 0.8;
}

/* Blog Section moderne */
.blog {
    padding: var(--space-32) 0;
    background: var(--bg-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-16);
}

.blog-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--space-6);
}

.blog-meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.blog-date,
.blog-category {
    font-size: 0.875rem;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.blog-date {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.blog-category {
    background: var(--accent-color);
    color: white;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.blog-read-more:hover {
    gap: var(--space-3);
    color: var(--accent-hover);
}

.blog-read-more i {
    transition: var(--transition-fast);
}

/* Contact Section moderne */
.contact {
    padding: var(--space-32) 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    margin-top: var(--space-16);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.contact-item:hover {
    border-color: var(--accent-color);
    transform: translateX(4px);
}

.contact-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.contact-form input,
.contact-form textarea {
    padding: var(--space-4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition-fast);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    align-self: flex-start;
}

.contact-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Footer moderne */
.footer {
    background: var(--primary-color);
    color: white;
    padding: var(--space-20) 0 var(--space-8);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-logo {
    max-width: 400px;
}

.footer-logo-img {
    width: 160px;
    height: auto;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-weight: 600;
    margin-bottom: var(--space-4);
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.footer-links a:hover {
    color: white;
    padding-left: var(--space-2);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Modales modernes */
.service-modal {
    display: none;
    position: fixed;
    z-index: 10000; /* Z-index supérieur au header pour apparaître au-dessus */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.service-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    max-width: 800px;
    width: 95%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease;
    margin: auto;
}

.modal-content h2 {
    background: var(--bg-secondary);
    padding: var(--space-6) var(--space-8);
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    padding: var(--space-8);
    overflow-y: auto;
    max-height: 65vh;
    line-height: 1.6;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-5);
    font-size: 1.125rem;
}

.modal-body ul {
    list-style: none;
    padding: 0;
}

.modal-body li {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    padding-left: var(--space-8);
    font-size: 1rem;
}

.modal-body li:last-child {
    border-bottom: none;
}

.modal-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.modal-body h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: var(--space-6) 0 var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--bg-tertiary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animations d'entrée pour les éléments */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus states pour l'accessibilité */
.dot:focus,
.hero-nav-btn:focus,
.service-card:focus,
.cta-button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Amélioration de la visibilité des éléments interactifs */
.dot:focus-visible,
.hero-nav-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Respect des préférences d'animation */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Support du mode sombre système */
@media (prefers-color-scheme: dark) {
    /* Header en mode sombre - utilise les variables dynamiques */
    .header {
        background: rgba(var(--bg-primary-rgb), 0.95) !important;
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }
    
    .header.scrolled {
        background: rgba(var(--bg-primary-rgb), 0.98) !important;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    }
    
    .phone-number {
        background: var(--bg-tertiary);
        color: var(--text-primary);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .phone-number:hover {
        background: var(--accent-color);
        color: white;
        border-color: var(--accent-color);
    }
    
    /* Navigation links en mode sombre - meilleure visibilité */
    .nav-link {
        color: var(--text-primary);
        font-weight: 500;
    }
    
    .nav-link:hover {
        color: var(--accent-color);
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
    }
    
    /* Hamburger en mode sombre */
    .hamburger span {
        background: var(--text-primary);
    }
    
    .hamburger:hover {
        background: var(--bg-tertiary);
    }
    
    /* Footer en mode sombre */
    .footer {
        background: #0a0f1c;
        color: var(--text-secondary);
    }
    
    .footer::before {
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    }
    
    .footer-logo-img {
        filter: brightness(0) invert(1);
    }
    
    .footer-bottom {
        border-top-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Navigation et dots */
    .hero-dots,
    .hero-nav-btn {
        background: rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .dot {
        background: rgba(255, 255, 255, 0.3);
    }
    
    .dot.active {
        background: var(--accent-color);
    }
    
    /* Modales en mode sombre */
    .service-modal {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .modal-content {
        background: var(--bg-primary);
        border-color: var(--border-color);
    }
    
    .modal-content h2 {
        background: var(--bg-secondary);
        border-bottom-color: var(--border-color);
    }
    
    /* Cartes en mode sombre */
    .service-card,
    .testimonial-card,
    .blog-card {
        background: var(--bg-primary);
        border-color: var(--border-color);
    }
    
    .service-card:hover,
    .blog-card:hover {
        border-color: var(--accent-color);
    }
    
    /* Contact en mode sombre */
    .contact-item {
        background: var(--bg-primary);
        border-color: var(--border-color);
    }
    
    .contact-form input,
    .contact-form textarea {
        background: var(--bg-primary);
        border-color: var(--border-color);
        color: var(--text-primary);
    }
    
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: var(--text-muted);
    }
    
    /* Amélioration de la lisibilité en mode sombre */
    .hero {
        background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }
    
    .presentation {
        background: var(--bg-primary);
    }
    
    .mission {
        background: var(--bg-secondary);
    }
    
    .services,
    .blog {
        background: var(--bg-primary);
    }
    
    .testimonials {
        background: var(--bg-secondary);
    }
    
    .contact {
        background: var(--bg-secondary);
    }
    
    /* Correction des ombres en mode sombre */
    .hero-image img,
    .service-card,
    .testimonial-card,
    .blog-card,
    .modal-content {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    }
    
    /* Encadrés d'articles en mode sombre */
    .article-warning {
        background: linear-gradient(135deg, #3d2914 0%, #4a2c17 100%) !important;
        border: 1px solid #d97706 !important;
        color: #fbbf24 !important;
    }
    
    .article-warning h4 {
        color: #fbbf24 !important;
    }
    
    .article-warning p, .article-warning ul {
        color: #fed7aa !important;
    }
    
    .article-tip {
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
        border: 1px solid #3b82f6 !important;
        color: #dbeafe !important;
    }
    
    .article-tip h4 {
        color: #93c5fd !important;
    }
    
    .article-tip p {
        color: #dbeafe !important;
    }
    
    .article-checklist {
        background: linear-gradient(135deg, #14532d 0%, #166534 100%) !important;
        border: 1px solid #22c55e !important;
        color: #dcfce7 !important;
    }
    
    .article-checklist h3 {
        color: #86efac !important;
    }
    
    .article-checklist li {
        color: #dcfce7 !important;
    }
    
    /* Article hero et breadcrumb en mode sombre */
    .article-hero {
        background: linear-gradient(135deg, #1e3d22 0%, #0f2419 100%) !important;
    }
    
    .breadcrumb {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .breadcrumb a {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    .breadcrumb a:hover {
        color: white !important;
    }
    
    .article-title {
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .article-meta span {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Contenu d'article en mode sombre */
    .article-content {
        background: var(--bg-primary) !important;
    }
    
    .article-body h2 {
        color: var(--text-primary) !important;
    }
    
    .article-body h3, .article-body h4 {
        color: var(--text-primary) !important;
    }
    
    .article-body p {
        color: #e2e8f0 !important; /* Plus clair que var(--text-secondary) */
    }
    
    /* Listes et éléments forts en mode sombre */
    .article-body ul, .article-body ol {
        color: #e2e8f0 !important; /* Plus clair que var(--text-secondary) */
    }
    
    .article-body li {
        color: #e2e8f0 !important; /* Plus clair que var(--text-secondary) */
        margin-bottom: 0.5rem;
    }
    
    .article-body li strong {
        color: #f8fafc !important; /* Blanc cassé pour plus de contraste */
        font-weight: 600;
    }
    
    .article-body strong {
        color: #f8fafc !important; /* Blanc cassé pour plus de contraste */
    }
    
    /* Paragraphe descriptif plus visible */
    .article-body p {
        color: #e2e8f0 !important; /* Plus clair que var(--text-secondary) */
    }
    
    .article-intro {
        background: var(--bg-tertiary) !important;
        color: var(--text-primary) !important;
        border-left-color: var(--accent-color) !important;
    }
    
    /* Article CTA en mode sombre */
    .article-cta {
        background: linear-gradient(135deg, #1e3d22 0%, #0f2419 100%) !important;
    }
    
    .article-cta h3 {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .article-cta p {
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
}

/* ========================================
   RESPONSIVE DESIGN MODERNE (Mobile-First)
   ======================================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--space-8);
    }
    
    .hero-container {
        gap: var(--space-24);
    }
    
    .presentation-content {
        gap: var(--space-24);
    }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-container {
        gap: var(--space-16);
    }
    
    .presentation-content {
        gap: var(--space-16);
    }
    
    .contact-content {
        gap: var(--space-12);
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-8);
        transition: left 0.3s ease-in-out;
        z-index: 1001;
        backdrop-filter: blur(12px);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        padding: var(--space-4) var(--space-6);
        border-radius: var(--radius-lg);
        transition: var(--transition-base);
    }
    
    .nav-link:hover {
        background: var(--bg-secondary);
        transform: translateX(10px);
    }

    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .phone-number {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
        padding: var(--space-12) var(--space-6);
    }
    
    .hero-image {
        order: -1;
    }

    .presentation-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .presentation-content.reverse {
        grid-template-areas: none;
    }
    
    .presentation-content.reverse .text-content,
    .presentation-content.reverse .image-content {
        grid-area: auto;
    }
    
    .image-content {
        order: -1;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-6);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-6);
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-6);
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: var(--space-12);
    }
    
    .hero {
        height: 100vh; /* Plein écran sur mobile aussi */
        padding: 0; /* Suppression du padding */
    }
    
    .hero-container {
        padding: var(--space-8) var(--space-4);
        gap: var(--space-8);
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 100vh; /* Pleine hauteur sans compensation */
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 2.75rem);
        margin-bottom: var(--space-4);
    }
    
    .hero-services p {
        font-size: 1rem;
        margin-bottom: var(--space-2);
    }
    
    .hero-nav {
        padding: 0 var(--space-4);
    }
    
    .hero-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }
    
    .hero-dots {
        bottom: var(--space-3);
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
        transform: translateX(-50%) scale(0.9);
    }
    
    .presentation {
        padding: var(--space-20) 0;
    }
    
    .presentation-content {
        padding: 0 var(--space-4);
        gap: var(--space-8);
    }
    
    .mission {
        padding: var(--space-16) 0;
    }
    
    .mission-content {
        padding: 0 var(--space-4);
    }
    
    .mission-content p {
        font-size: 1.125rem;
    }
    
    .services,
    .testimonials,
    .blog,
    .contact {
        padding: var(--space-20) 0;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
        margin-top: var(--space-12);
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        padding: var(--space-6);
    }
    
    .modal-content {
        max-width: 700px;
        width: 92%;
        max-height: 85vh;
    }
    
    .modal-body {
        max-height: 70vh;
    }
}

/* Mobile Small (0px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .navbar {
        padding: var(--space-3) 0;
    }
    
    .nav-container {
        padding: 0 var(--space-3);
    }
    
    .logo-img {
        width: 140px;
    }
    
    .hero {
        height: 100vh; /* Plein écran sur très petits écrans */
        padding: 0; /* Suppression du padding */
    }
    
    .hero-container {
        padding: var(--space-6) var(--space-3);
        gap: var(--space-6);
        min-height: 100vh; /* Pleine hauteur sans compensation */
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.2;
    }
    
    .cta-button {
        padding: var(--space-3) var(--space-6);
        font-size: 0.9rem;
    }
    
    .hero-nav {
        padding: 0 var(--space-2);
    }
    
    .hero-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .hero-background {
        background-size: cover !important;
        background-position: center !important;
        min-height: 100vh;
    }
    
    .hero-content {
        margin: 0 var(--space-3);
        padding: var(--space-4);
        background: transparent;
    }
    
    .hero-dots {
        bottom: var(--space-2);
        transform: translateX(-50%) scale(0.85);
        padding: var(--space-1) var(--space-3);
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .presentation-content,
    .mission-content {
        padding: 0 var(--space-3);
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .mission-content p {
        font-size: 1rem;
    }
    
    .mission-content p strong {
        font-size: 1.125rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        padding: var(--space-5);
    }
    
    .modal-content {
        width: 98%;
        max-width: none;
        margin: var(--space-2);
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 1.25rem;
        padding: var(--space-4) var(--space-5);
    }
    
    .modal-body {
        padding: var(--space-5);
        max-height: 75vh;
    }
    
    .footer {
        padding: var(--space-12) 0 var(--space-6);
    }
    
    .footer-content {
        gap: var(--space-6);
    }
    
    .footer-logo-img {
        width: 120px;
    }
}

/* Ultra petits écrans (320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    /* Article hero sur très petits écrans */
    .article-hero {
        padding-top: calc(80px + var(--space-12)); /* Réduction supplémentaire sur très petits écrans */
        min-height: 280px;
        padding-bottom: var(--space-10);
    }
    
    .article-title {
        font-size: 1.5rem;
    }
}

/* Styles spécifiques pour le menu sur très petits écrans */
@media (max-width: 375px) {
    .nav-menu {
        gap: var(--space-6);
    }
    
    .nav-link {
        font-size: 1.125rem;
        padding: var(--space-3) var(--space-5);
    }
}

/* CSS pour les pages d'articles */

/* Breadcrumb */
.breadcrumb {
    margin-bottom: var(--space-6);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

/* Article Hero */
.article-hero {
    background: linear-gradient(135deg, #2c5530 0%, #1e3d22 100%);
    color: white;
    padding: var(--space-20) 0 var(--space-16) 0;
    margin-top: 0; /* Suppression de la marge - sera gérée par padding-top */
    padding-top: calc(80px + var(--space-20)); /* Padding pour compenser le header fixe */
    min-height: 350px; /* Hauteur minimale augmentée */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: var(--space-6) 0 var(--space-8) 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-meta {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Article Content */
.article-content {
    padding: var(--space-20) 0;
    background: var(--bg-primary);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-12);
    box-shadow: var(--shadow-lg);
}

.article-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--space-12);
    padding: var(--space-6);
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-md);
}

.article-body h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #2c5530;
    margin: var(--space-16) 0 var(--space-6) 0;
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--accent-color);
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5530;
    margin: var(--space-12) 0 var(--space-4) 0;
}

.article-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c5530;
    margin: var(--space-8) 0 var(--space-3) 0;
}

.article-body p {
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.article-body ul, .article-body ol {
    margin: var(--space-6) 0;
    padding-left: var(--space-6);
}

.article-body li {
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.article-body li strong {
    color: #2c5530;
}

/* Article boxes */
.article-tip {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #2196f3;
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.article-tip h4 {
    color: #1976d2;
    margin: 0 0 var(--space-3) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.article-tip p {
    margin: 0;
    color: #1565c0;
}

.article-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 1px solid #ff9800;
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.article-warning h4 {
    color: #f57c00;
    margin: 0 0 var(--space-3) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.article-warning p, .article-warning ul {
    margin: var(--space-3) 0;
    color: #ef6c00;
}

.article-checklist {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 1px solid #4caf50;
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.article-checklist h3 {
    color: #2e7d32;
    margin: 0 0 var(--space-4) 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.article-checklist ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.article-checklist li {
    color: #1b5e20;
    margin-bottom: var(--space-2);
    padding-left: var(--space-6);
    position: relative;
}

.article-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.article-conclusion {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    margin: var(--space-16) 0;
    border-left: 4px solid #2c5530;
}

.article-conclusion h3 {
    color: #2c5530;
    margin: 0 0 var(--space-4) 0;
}

.article-conclusion p {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.article-cta {
    background: linear-gradient(135deg, #2c5530 0%, #1e3d22 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-12);
    text-align: center;
    margin: var(--space-16) 0 0 0;
}

.article-cta h3 {
    margin: 0 0 var(--space-4) 0;
    color: white;
    font-weight: 600;
}

.article-cta p {
    margin: 0 0 var(--space-8) 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.6;
}

.article-cta .cta-button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.article-cta .cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Message de formulaire */
.form-message {
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive pour les articles */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
    
    .article-intro {
        font-size: 1.125rem;
    }
    
    /* Ajustement du padding article-hero sur mobile */
    .article-hero {
        padding-top: calc(80px + var(--space-16)); /* Réduction du padding sur mobile */
        min-height: 300px;
        padding-bottom: var(--space-12);
    }
}

/* ========================================
   PROTECTION ANTI-SCRAPING TÉLÉPHONE
   ======================================== */

/* Protection des numéros de téléphone contre le scraping */
.phone-protected {
    /* Empêcher la sélection par les bots */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    
    /* Protection contre la copie automatique */
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    
    /* Transition douce pour l'affichage */
    transition: opacity 0.3s ease-in-out;
}

/* Styles pour les éléments de protection invisibles */
.phone-protected span[style*="display:none"],
.phone-protected span[style*="position:absolute"] {
    /* S'assurer que les éléments de brouillage restent cachés */
    visibility: hidden !important;
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* État de chargement */
.phone-protected:empty::before {
    content: "Chargement...";
    opacity: 0.6;
    font-style: italic;
}

/* Protection supplémentaire contre l'inspection */
.phone-protected::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
}

/* Anti-robot protection */
@media screen and (max-width: 0px) {
    .phone-protected {
        display: none !important;
    }
}

/* Protection contre les bots sans JavaScript */
noscript .phone-protected {
    display: none;
}

noscript .phone-protected::after {
    content: "Veuillez activer JavaScript pour voir le numéro de téléphone";
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Styles pour les liens de contact cliquables */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
}

.contact-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-1px);
}

.contact-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Styles spécifiques pour les différents types de contact */
.contact-item .contact-link:hover {
    background-color: rgba(255, 107, 53, 0.15);
}

.footer-contact .contact-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.phone-number .contact-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

/* Styles pour les multiples numéros de téléphone */
.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-label {
    font-weight: 500;
    color: var(--text-color);
    min-width: 80px;
}

.footer-phones {
    margin-bottom: 10px;
}

.footer-phones p {
    margin: 5px 0;
}

/* Responsive pour les numéros multiples */
@media (max-width: 768px) {
    .phone-numbers {
        gap: 6px;
    }
    
    .phone-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .phone-label {
        min-width: auto;
        font-size: 0.9em;
    }
}

/* Règle supprimée car elle empêchait l'affichage du numéro */
