/* ==========================================
   INDEX PAGE CSS
   Bandeau hero, badges, méthodologie, services
   ========================================== */

/* Hero Section */
.hero {
    background: #0D2A4B;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero-content-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem 2.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.trust-badges {
    background: white !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
}

.trust-container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    max-width: 1400px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.trust-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
}

.trust-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trust-info h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.trust-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Processus Section */
.processus-section {
    background: #0D2A4B;
    padding: 3.5rem 3rem;
    color: white;
}

.processus-container {
    max-width: 1100px;
    margin: 0 auto;
}

.processus-header {
    text-align: center;
    margin-bottom: 2rem;
}

.processus-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.processus-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.processus-steps {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.processus-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: #E8B86D;
    color: #0D2A4B;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Responsive badges 4→2→1 */
@media (max-width: 1200px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .trust-badges {
        padding: 2rem 1.5rem !important;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .trust-info h3 {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .trust-badges {
        padding: 1.5rem 1rem !important;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Services Section */
.services {
    padding: 6rem 3rem;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out both;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card-full {
    grid-column: 1 / -1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-card:hover .service-link {
    gap: 1rem;
}

/* Responsive services (tuiles particulier/professionnel) */
@media (max-width: 768px) {
    .services {
        padding: 3rem 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card-full {
        grid-column: 1;
    }

    .service-image {
        height: 200px;
    }
}
