/* ========================================
   CSS OPTIMISÉ PAGE D'ACCUEIL ACLG
   Extrait du template inline pour performance
   ======================================== */

/* Variables CSS pour cohérence */
:root {
    --primary-color: #00557f;
    --primary-dark: #014d82;
    --text-primary: #1a1b1e;
    --text-secondary: #66666e;
    --text-light: #4a4a4a;
    --bg-light: #f5f9ff;
    --bg-white: #ffffff;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ========================================
   SECTION HERO OPTIMISÉE
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f4fd 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero-question {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: bold;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ========================================
   LISTE BÉNÉFICES RESPONSIVE
   ======================================== */
.benefits-list {
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

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

.benefits-list ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.benefits-list ul li i {
    color: white;
    background: var(--primary-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

/* ========================================
   BOUTON CTA OPTIMISÉ
   ======================================== */
.btn-reserve {
    background: var(--primary-color);
    color: white;
    padding: 15px 90px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 3px solid var(--primary-dark);
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin: 2rem 0;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-reserve:hover,
.btn-reserve:focus {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,85,127,0.3);
}

.btn-reserve::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: left 0.5s;
}

.btn-reserve:hover::before {
    left: 100%;
}

/* ========================================
   SECTION RÉSEAU PROFESSIONNELS
   ======================================== */
.network-section {
    background: var(--bg-white);
    padding: 80px 0;
    position: relative;
}

.network-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.network-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.network-description {
    font-size: 1.3rem;
    color: var(--text-primary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

/* ========================================
   GRID FONCTIONNALITÉS RESPONSIVE
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-white);
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   SECTION EXPERTS OPTIMISÉE
   ======================================== */
.experts-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.experts-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.experts-description {
    font-size: 1.2rem;
    color: var(--text-primary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.expert-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2rem;
    background: var(--bg-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.expert-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.expert-item img {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 10px;
    background: var(--bg-light);
}

.expert-content h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.expert-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   SECTION SERVICES
   ======================================== */
.services-section {
    background: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.services-title {
    font-size: 3.2rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.services-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

.services-highlight {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ========================================
   STYLES BOUTONS ACLG EXISTANTS
   ======================================== */
.readon {
    position: relative;
    display: inline-block !important;
    background: var(--primary-color);
    padding: 15px 33px;
    line-height: normal;
    border: 2px solid var(--primary-color);
    color: #ffffff;
    transition: var(--transition);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}

.readon:hover,
.readon:focus {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
}

.agency-btn2 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   CLASSES UTILITAIRES RESPONSIVE
   ======================================== */
.mr-20 { margin-right: 20px; }
.btn-part { margin-top: 30px; }
.rs-content-part { padding: 0; }

.title.uppercase {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

/* Classes Bootstrap manquantes */
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.md-pt-80 { padding-top: 80px; }
.md-pb-80 { padding-bottom: 80px; }

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

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

/* ========================================
   RESPONSIVE DESIGN OPTIMISÉ
   ======================================== */

/* Tablettes et grands mobiles */
@media (max-width: 991px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-question { font-size: 1.6rem; }
    .network-title { font-size: 2.5rem; }
    .services-title { font-size: 2.5rem; }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .expert-item {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-item img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .md-pt-80 { padding-top: 60px !important; }
    .md-pb-80 { padding-bottom: 60px !important; }
}

/* Mobiles */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .hero-title { font-size: 1.8rem; line-height: 1.3; }
    .hero-subtitle { font-size: 1rem; }
    .hero-question { font-size: 1.5rem; }
    .network-title { font-size: 2.2rem; }
    .services-title { font-size: 2.2rem; }
    
    .btn-reserve {
        width: 100%;
        padding: 12px 20px;
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .network-section,
    .experts-section,
    .services-section {
        padding: 60px 0;
    }
    
    .benefits-list ul li {
        font-size: 1rem;
    }
    
    .expert-item {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .hero-title { font-size: 1.5rem; }
    .hero-question { font-size: 1.3rem; }
    .network-title { font-size: 1.8rem; }
    .services-title { font-size: 1.8rem; }
    
    .hero-section { padding: 40px 0; }
    .network-section,
    .experts-section,
    .services-section {
        padding: 40px 0;
    }
    
    .feature-card {
        padding: 1rem 0.5rem;
    }
    
    .benefits-list ul li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
}

/* ========================================
   OPTIMISATIONS PERFORMANCE
   ======================================== */

/* Lazy loading pour images */
.feature-card img,
.expert-item img {
    loading: lazy;
}

/* Réduction motion pour utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Amélioration contraste pour accessibilité */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #003d5c;
        --text-secondary: #2a2a2a;
    }
}
