/* ============================================================
   STYLE.CSS - Schnell Kredit AT
   Design bancaire haut de gamme
   Version complète et définitive - CORRECTION MOBILE
   ============================================================ */

/* ----- Variables & Reset ----- */
:root {
    --primary: #0a2e5c;
    --primary-light: #1a4a7a;
    --primary-dark: #061b3a;
    --primary-gradient: linear-gradient(135deg, #0a2e5c 0%, #1a4a7a 100%);
    --accent: #d4a853;
    --accent-hover: #c4973a;
    --light: #f8f9fc;
    --dark: #0a0a1a;
    --text-muted: #6c7a8a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 4px 20px rgba(10, 46, 92, 0.08);
    --shadow-md: 0 10px 40px rgba(10, 46, 92, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 46, 92, 0.18);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* --- MOBILE FIX FOR BANNER --- */
@media (max-width: 991px) {
    /* 1. Reset the fixed height on the banner wrapper */
    .banner-slide-full, 
    .banner-slider-full {
        height: auto !important;
        min-height: 450px; /* Give it a reasonable minimum height for mobile */
    }

    /* 2. Make the image fill the space naturally */
    .banner-full-image {
        height: 450px; /* Fix image height for mobile (adjust as needed) */
        object-fit: cover;
    }

    /* 3. Remove the h-100 from the content overlay to allow flow */
    .banner-content-overlay .h-100 {
        height: auto !important;
    }
}


body {
    font-family: var(--font-family);
    color: #1a1a2e;
    background-color: #ffffff;
    padding-top: 76px;
    overflow-x: hidden;
}

/* ----- Navbar ----- */
#mainNav {
    background: rgba(10, 46, 92, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    transition: var(--transition);
}

#mainNav .navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

#mainNav .navbar-brand i {
    color: var(--accent);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

#mainNav .nav-link.active {
    color: var(--accent) !important;
}

/* ============================================================
   BANNIÈRE SLIDER PLEINE LARGEUR AVEC CONTENU SUPERPOSÉ
   ============================================================ */

.banner-slider-full {
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    position: relative;
    margin-top: 0;
}

#bannerCarousel {
    width: 100%;
    height: 100%;
}

#bannerCarousel .carousel-inner {
    height: 100%;
}

.banner-slide-full {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.banner-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.carousel-item:hover .banner-full-image {
    transform: scale(1.05);
}

.banner-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 46, 92, 0.75) 0%, rgba(6, 27, 58, 0.55) 100%);
    z-index: 1;
}

/* Contenu superposé sur les images */
.banner-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.banner-content-overlay .badge {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    font-weight: 600;
}

.banner-content-overlay .lead {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.banner-content-overlay .btn-primary-custom {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.4);
}

.banner-content-overlay .btn-primary-custom:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 168, 83, 0.5);
}

.banner-content-overlay .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.banner-content-overlay .btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Indicateurs du carrousel */
#bannerCarousel .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

#bannerCarousel .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    margin: 0 8px;
    transition: all 0.3s ease;
}

#bannerCarousel .carousel-indicators button.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

/* Contrôles du carrousel */
#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    z-index: 3;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

#bannerCarousel .carousel-control-prev {
    left: 30px;
}

#bannerCarousel .carousel-control-next {
    right: 30px;
}

#bannerCarousel .carousel-control-prev:hover,
#bannerCarousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Animation des slides */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 0;
}

/* ============================================================
   SECTION TITRE (Votre partenaire de confiance) - MOINS LARGE
   ============================================================ */

.hero-title-section {
    background: #ffffff;
    padding: 50px 0 30px 0;
    position: relative;
    z-index: 1;
}

.hero-title-section h1 {
    color: var(--primary);
    line-height: 1.2;
}

.hero-title-section .hero-stats div {
    padding: 0 16px;
    border-right: 1px solid rgba(10, 46, 92, 0.1);
}

.hero-title-section .hero-stats div:last-child {
    border-right: none;
}

.hero-title-section .hero-stats .fw-bold {
    display: block;
    font-size: 2rem;
}

.hero-title-section .hero-stats .text-muted {
    font-size: 0.95rem;
}

/* ----- Statistiques (Chiffres clés) ----- */
.stats-section {
    background: var(--primary-gradient);
    color: #fff;
    padding: 40px 0;
}

.stat-card {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 60%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 4px;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

/* ----- Section Titles ----- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light) !important;
}

/* ----- Why Us Cards ----- */
.why-us-section {
    padding: 60px 0;
}

.why-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(10, 46, 92, 0.05);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(10, 46, 92, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: #fff;
}

.why-card h5 {
    font-weight: 700;
    color: var(--primary);
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ----- Product Cards ----- */
.products-section {
    padding: 60px 0;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(10, 46, 92, 0.06);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-body {
    padding: 20px 24px 24px;
}

.product-body h5 {
    font-weight: 700;
    color: var(--primary);
}

.product-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-outline-primary-custom {
    color: var(--primary);
    border: 1.5px solid var(--primary);
    background: transparent;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: #fff;
}

/* ----- Partners ----- */
.partners-section {
    padding: 60px 0;
}

.partner-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(10, 46, 92, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.partner-logo {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    background: rgba(10, 46, 92, 0.04);
    padding: 12px 8px;
    border-radius: 8px;
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    background: rgba(212, 168, 83, 0.08);
}

.partner-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.placeholder-logo {
    background: rgba(10, 46, 92, 0.04);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
}

/* ----- Process ----- */
.process-section {
    padding: 60px 0;
}

.process-step {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 12px;
}

.step-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.process-step h5 {
    font-weight: 700;
    color: var(--primary);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ----- Testimonials ----- */
.testimonials-section {
    padding: 60px 0;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(10, 46, 92, 0.05);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 1rem;
    color: #2d2d44;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(10, 46, 92, 0.06);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    color: var(--primary);
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 24px;
    background-size: 50%;
}

/* ----- CTA ----- */
.cta-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?w=1600&h=600&fit=crop') center center / cover no-repeat;
    padding: 80px 0;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 46, 92, 0.92), rgba(6, 27, 58, 0.85));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content .btn-light {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 12px;
    transition: var(--transition);
}

.cta-content .btn-light:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.4);
}

/* ----- Footer ----- */
.footer {
    background: var(--primary-dark) !important;
    border-top: 3px solid var(--accent);
}

.footer .navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.footer .navbar-brand i {
    color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE - VERSION CORRIGÉE POUR MOBILE
   ============================================================ */

@media (max-width: 1199.98px) {
    .hero-title-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .banner-slider-full {
        height: 65vh;
        min-height: 400px;
    }
    #bannerCarousel .carousel-control-prev,
    #bannerCarousel .carousel-control-next {
        width: 44px;
        height: 44px;
    }
    #bannerCarousel .carousel-control-prev {
        left: 16px;
    }
    #bannerCarousel .carousel-control-next {
        right: 16px;
    }
    .banner-content-overlay .lead {
        font-size: 1.5rem !important;
    }
    .banner-content-overlay .btn-primary-custom,
    .banner-content-overlay .btn-outline-light {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .hero-title-section {
        padding: 35px 0 20px 0;
    }
    .hero-title-section h1 {
        font-size: 2.2rem;
    }
    .hero-title-section .hero-stats .fw-bold {
        font-size: 1.6rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .stat-number {
        font-size: 2.2rem;
    }
}

/* --- CORRECTION PRINCIPALE POUR MOBILE --- */
@media (max-width: 767.98px) {
    body {
        padding-top: 66px;
    }
    
    #mainNav .navbar-brand {
        font-size: 1.3rem;
    }
    
    /* Ajustement de la hauteur du carrousel pour qu'il soit plus petit */
    .banner-slider-full {
        height: 65vh;
        min-height: 380px;
        max-height: 500px;
    }
    
    /* Réduction des contrôles */
    #bannerCarousel .carousel-control-prev,
    #bannerCarousel .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    #bannerCarousel .carousel-control-prev {
        left: 10px;
    }
    #bannerCarousel .carousel-control-next {
        right: 10px;
    }
    #bannerCarousel .carousel-control-prev-icon,
    #bannerCarousel .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    #bannerCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
    
    /* Réduction du texte superposé */
    .banner-content-overlay .lead {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    .banner-content-overlay .badge {
        font-size: 0.65rem;
        padding: 4px 12px !important;
        margin-bottom: 6px !important;
    }
    
    /* Conteneur des boutons - version mobile */
    .banner-content-overlay .banner-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 280px;
        margin: 8px auto 0 auto;
    }
    .banner-content-overlay .banner-buttons .btn {
        width: 100%;
        margin: 0 !important;
        text-align: center;
        display: block;
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .banner-content-overlay .btn-primary-custom,
    .banner-content-overlay .btn-outline-light {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* --- CORRECTION : ESPACEMENT ENTRE LE CARROUSEL ET LA SECTION TITRE --- */
    .hero-title-section {
        padding: 20px 0 15px 0;
        margin-top: 0;
        position: relative;
        z-index: 1;
        background: #ffffff;
    }
    .hero-title-section h1 {
        font-size: 1.6rem;
    }
    .hero-title-section .hero-stats div {
        border-right: none;
        flex: 1 1 45%;
        padding: 6px 0;
    }
    .hero-title-section .hero-stats .fw-bold {
        font-size: 1.2rem;
    }
    .hero-title-section .hero-stats .text-muted {
        font-size: 0.75rem;
    }
    
    /* Ajustement des autres sections */
    .section-title {
        font-size: 1.7rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .product-img {
        height: 160px;
    }
    .cta-section {
        padding: 50px 0;
    }
    .cta-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    /* Ajustement supplémentaire pour très petits écrans */
    .banner-slider-full {
        height: 55vh;
        min-height: 300px;
        max-height: 400px;
    }
    
    .banner-content-overlay .lead {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }
    .banner-content-overlay .badge {
        font-size: 0.6rem;
        padding: 3px 10px !important;
        margin-bottom: 4px !important;
    }
    .banner-content-overlay .banner-buttons {
        max-width: 240px;
        gap: 6px;
        margin-top: 4px;
    }
    .banner-content-overlay .banner-buttons .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        white-space: normal;
    }
    .banner-content-overlay .btn-primary-custom,
    .banner-content-overlay .btn-outline-light {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .hero-title-section {
        padding: 15px 0 10px 0;
    }
    .hero-title-section h1 {
        font-size: 1.3rem;
    }
    .hero-title-section .hero-stats div {
        flex: 1 1 100%;
        padding: 3px 0;
        border-right: none;
    }
    .hero-title-section .hero-stats .fw-bold {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 12px 0;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .why-card {
        padding: 20px 16px;
    }
    .partner-card {
        padding: 12px 4px;
    }
    .partner-logo {
        font-size: 0.7rem;
        min-height: 44px;
        padding: 8px 4px;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .testimonial-card {
        padding: 20px 16px;
    }
    .cta-section .btn-light {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .footer .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Ajustement des indicateurs du carrousel */
    #bannerCarousel .carousel-indicators {
        bottom: 10px;
    }
    #bannerCarousel .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

/* ============================================================
   UTILITAIRES ET COMPLÉMENTS
   ============================================================ */

/* Badge personnalisé */
.badge-primary-custom {
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Bouton principal personnalisé */
.btn-primary-custom {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.35);
}

/* Texte blanc avec opacité */
.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Couleur d'accentuation */
.text-accent {
    color: var(--accent);
}

/* Couleur primaire */
.text-primary-custom {
    color: var(--primary);
}

/* Ombres */
.shadow-sm-custom {
    box-shadow: var(--shadow-sm);
}
.shadow-md-custom {
    box-shadow: var(--shadow-md);
}
.shadow-lg-custom {
    box-shadow: var(--shadow-lg);
}

/* Bordures arrondies */
.radius-custom {
    border-radius: var(--radius);
}

/* Transitions */
.transition-custom {
    transition: var(--transition);
}

/* --- Styles pour les pages Services, À propos, etc. --- */

/* Page header */
.page-header {
    background: var(--primary-gradient);
    color: #fff;
    padding-top: 120px;
    padding-bottom: 60px;
}

.page-header h1 {
    font-weight: 700;
}

/* Team cards */
.team-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(10, 46, 92, 0.05);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    border: 4px solid var(--accent);
}

.team-card h5 {
    font-weight: 700;
    color: var(--primary);
}

/* Service cards (page services) */
.service-card {
    transition: var(--transition);
    border: 1px solid rgba(10, 46, 92, 0.06) !important;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent) !important;
}

.service-card h4 {
    font-weight: 700;
    color: var(--primary);
}

.service-card .text-accent {
    color: var(--accent);
}

/* Simulateur */
.simulator-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 24px rgba(10, 46, 92, 0.06);
}

.result-card {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--accent);
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

#graphContainer {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

#graphCanvas {
    width: 100%;
    height: auto;
    max-height: 280px;
}

/* Formulaires */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}

/* Info badges */
.info-badge {
    background: rgba(10, 46, 92, 0.04);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    height: 100%;
}

.info-badge i {
    font-size: 2rem;
    color: var(--accent);
}


/* ============================================================
   SECTION FAQ - FOIRE AUX QUESTIONS
   ============================================================ */

.faq-section {
    background: var(--light);
    padding: 60px 0;
}

.faq-container {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(10, 46, 92, 0.06);
    transition: var(--transition);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background: rgba(10, 46, 92, 0.01);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover {
    background: rgba(10, 46, 92, 0.03);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(10, 46, 92, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question .faq-icon i {
    transition: transform 0.3s ease;
}

.faq-question .faq-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    flex: 1;
}

.faq-item.active .faq-question .faq-icon {
    background: var(--accent);
    color: var(--primary-dark);
}

.faq-item.active .faq-question .faq-icon i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 12px;
    font-size: 0.98rem;
}

.faq-answer ul, 
.faq-answer ol {
    padding-left: 24px;
    margin-bottom: 12px;
}

.faq-answer ul li, 
.faq-answer ol li {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.faq-answer ul li strong {
    color: var(--primary);
}

.faq-answer .mt-2 {
    margin-top: 8px;
}

/* Animation pour l'ouverture */
.faq-answer.collapse {
    transition: all 0.3s ease;
}

.faq-answer.collapsing {
    transition: all 0.3s ease;
}

/* ============================================================
   RESPONSIVE FAQ
   ============================================================ */

@media (max-width: 991.98px) {
    .faq-question {
        padding: 16px 20px;
    }
    .faq-question .faq-title {
        font-size: 0.98rem;
    }
    .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 767.98px) {
    .faq-section {
        padding: 40px 0;
    }
    .faq-question {
        padding: 14px 16px;
        gap: 12px;
    }
    .faq-question .faq-title {
        font-size: 0.92rem;
    }
    .faq-question .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .faq-answer {
        padding: 0 16px 16px 16px;
    }
    .faq-answer p {
        font-size: 0.92rem;
    }
    .faq-answer ul li,
    .faq-answer ol li {
        font-size: 0.88rem;
    }
}

@media (max-width: 575.98px) {
    .faq-question {
        padding: 12px 14px;
        gap: 10px;
    }
    .faq-question .faq-title {
        font-size: 0.85rem;
    }
    .faq-question .faq-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    .faq-answer {
        padding: 0 14px 14px 14px;
    }
    .faq-answer p {
        font-size: 0.85rem;
    }
    .faq-answer ul,
    .faq-answer ol {
        padding-left: 18px;
    }
    .faq-answer ul li,
    .faq-answer ol li {
        font-size: 0.83rem;
    }
}


/* Correction pour les statistiques statiques (sans animation) */
.stats-static .stat-number {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0a2e5c !important;
    background-clip: unset !important;
    color: #0a2e5c !important;
}

.bg-light .stat-number {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0a2e5c !important;
    background-clip: unset !important;
    color: #0a2e5c !important;
}

/* ============================================================
   FIN DU FICHIER CSS
   ============================================================ */