/* =========================================
   VARIABLES & RESET DE BASE
========================================= */
:root {
    --clr-primary: #10B981;       /* Vert émeraude */
    --clr-primary-hover: #059669; /* Vert émeraude foncé */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: #000000;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

/* Le conteneur principal qui manquait */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =========================================
   UTILITAIRES & TYPOGRAPHIE
========================================= */
.text-primary { color: var(--clr-primary); }
.text-white { color: #ffffff; }
.text-dark { color: #000000; }
.bg-light { background-color: #ffffff; }
.bg-gradient-dark { background: linear-gradient(to bottom right, #000000, #111827); }
.section-padding { padding: 5rem 0; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.mt-8 { margin-top: 2rem; }
.text-center { text-align: center; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto 3rem auto;
}

/* =========================================
   BOUTONS & ICONES
========================================= */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--clr-primary);
    color: #000000;
}
.btn-primary:hover {
    background: var(--clr-primary-hover);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
.btn-outline:hover { 
    background: #ffffff; 
    color: #000000; 
}

.btn-outline-primary {
    background: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}
.btn-outline-primary:hover { 
    background: var(--clr-primary); 
    color: #ffffff; 
}

.btn-white {
    background: #ffffff;
    color: var(--clr-primary);
}
.btn-white:hover { 
    background: #f3f4f6; 
}

/* Icônes */
.icon-sm { width: 1.25rem; height: 1.25rem; }
.icon-primary { width: 1.25rem; height: 1.25rem; color: var(--clr-primary); }
.icon-lg { width: 2rem; height: 2rem; }
.icon-check { width: 1.5rem; height: 1.5rem; color: var(--clr-primary); flex-shrink: 0; }

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6), transparent);
    z-index: 2;
}
.hero-container { z-index: 3; position: relative; }
.hero-content { max-width: 48rem; }

.hero-badge span {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--clr-primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #ffffff;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: var(--clr-primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
}
.service-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, var(--clr-primary), var(--clr-primary-hover));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}
.service-desc {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.service-link {
    color: var(--clr-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}
.service-link:hover { color: var(--clr-primary-hover); }

/* =========================================
   WHY CHOOSE US
========================================= */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.why-us-text {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #ffffff;
}
.why-us-image-wrapper { position: relative; }
.why-us-img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--clr-primary);
    color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: none;
}
.exp-number { font-size: 3rem; font-weight: 700; display: block; line-height: 1; }
.exp-text { font-size: 0.875rem; font-weight: 600; }

/* =========================================
   CTA SECTION
========================================= */
.cta-section {
    background: linear-gradient(to right, var(--clr-primary), var(--clr-primary-hover));
}
.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 42rem;
    margin: 0 auto 2rem auto;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   MOTEUR D'ANIMATION 100% CSS (ANTI-BUG HOSTINGER)
========================================= */
/* Au lieu d'attendre JavaScript, le CSS lance l'animation tout seul au chargement */
.fade-in, 
.fade-in-up, 
.fade-in-left, 
.fade-in-right {
    opacity: 0;
    animation: apparitionFluide 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Délais d'animation pour créer l'effet d'apparition en cascade */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* L'animation d'apparition globale */
@keyframes apparitionFluide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
========================================= */
@media (min-width: 1024px) {
    .why-us-grid { grid-template-columns: 1fr 1fr; }
    .experience-badge { display: block; }
}