/* ============================================
   SECTION 1 : RESET & VARIABLES GLOBALES
   ============================================ */

:root {
    --blue-dark: #001f3f;
    --blue-accent: #003366;
    --blue-light: #00aaff;
    --text-slate: #cbd5e1;
    --text-muted: #64748b;
    --white: #ffffff;
    --whatsapp-color: #25D366;
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Design System Premium */
    --p-navy: #003366;
    --p-navy-deep: #002244;
    --p-navy-light: rgba(0, 51, 102, 0.08);
    --s-accent: #2563eb;
    --s-success: #10b981;
    --s-error: #ef4444;
    --t-main: #0f172a;
    --t-muted: #64748b;
    --bg-page: #f8fafc;
    --shadow-soft: 0 10px 25px -5px rgba(0, 51, 102, 0.04), 0 8px 10px -6px rgba(0, 51, 102, 0.04);
    --shadow-strong: 0 20px 40px -10px rgba(0, 51, 102, 0.08);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; 
    background-color: #f8fafc;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   SECTION 2 : TOPBAR & NAVIGATION
   ============================================ */

/* TOPBAR */
.topbar {
    background: #001f3f; 
    padding: 10px 0;
}

.topbar .fas.fa-phone-alt,
.topbar .fas.fa-envelope {
    font-weight: 900;
    font-size: 14px;
}

.topbar .fas.fa-envelope {
    font-weight: 900;
}

.flex-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    margin-right: 15px;
}

.top-sep { color: rgba(255,255,255,0.3); margin: 0 10px; }

.client-portal-btn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.client-portal-btn:hover {
    background: #ffffff;
    color: #001f3f;
    
}

/* NAVBAR */
.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 75px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.flex-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
}

/* DÉPLACEMENTS HEADER - À AJOUTER */

/* Logo vers la gauche */
#main-logo {
    position: relative;
    left: -50px;  /* Ajustez cette valeur selon vos besoins */
}

/* Bouton CTA vers la droite */
.flex-nav .btn-main {
    position: relative;
    right: -50px;  /* Ajustez cette valeur selon vos besoins */
}

@media (max-width: 1024px) {
    #main-logo {
        left: -10px;  /* Petit décalage mais pas caché */
    }
    
    .flex-nav .btn-main {
        right: -10px;  /* Idem pour le bouton */
    }
}

#main-logo {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-item {
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
}

.nav-item:hover { color: #003366; }

/* DROPDOWNS */
.dropdown { position: relative; list-style: none; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    padding: 12px 0;
    border-top: 4px solid #003366;
}


/* DROPDOWN LANGUE */
.lang-dropdown {
    min-width: 170px !important;
}

.lang-dropdown li a {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

.lang-select:hover .dropdown-menu {
    display: none;
}

.lang-select .dropdown-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    min-width: 120px;
    padding: 8px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lang-select .dropdown-menu li {
    text-align: left;
    width: 100%;
}

.lang-select .dropdown-menu li a {
    display: flex; /* Aligne drapeau et texte sur la même ligne */
    align-items: center; /* Centre verticalement */
    gap: 10px; /* Espace fixe entre drapeau et texte */
    padding: 8px 16px;
    width: 100%;
}

.lang-select .dropdown-menu li a:hover {
    background: #f1f5f9;
}



.lang-select.open .dropdown-menu {
    display: block;
}

.lang-select .fa-chevron-down {
    display: none;
}

/* ============================================
   SECTION 3 : BOUTONS & COMPOSANTS DE BASE
   ============================================ */

.btn-main {
    background: #003366; 
    color: white;
    padding: 10px 15px ;
    border-radius: 4px; 
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-main:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: white;
    color: var(--t-muted);
    border: 1px solid #e2e8f0;
    height: 56px;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #f8fafc;
    color: var(--t-main);
    border-color: #cbd5e1;
}

.btn-prev {
    flex: 1;
    height: 54px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-prev:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-next {
    flex: 2;
    height: 54px;
    background: #003366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
}

.btn-next:hover {
    background: #002244;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 51, 102, 0.2);
}

/* ============================================
   SECTION 4 : HERO
   ============================================ */

.hero {
    background: #ffffff;
    margin-top: 0;
    padding: 0; 
    overflow: hidden;
}

.flex-hero {
    display: flex;
    align-items: center;
    min-height: 550px; 
    gap: 40px;
}

.hero-content {
    flex: 1.2;
    padding: 40px 0;
}

.hero-badge-top {
    color: #003366;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    background: #f1f5f9;
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1.shiny-title {
    font-size: 45px;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(to right, #001f3f 20%, #007bff 40%, #007bff 60%, #001f3f 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    height: 550px; 
    margin-right: -90px; 
     flex: 1.2;  /* 1 → 1.2 (prend plus d'espace que le texte) */
}

.hero-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 0 0 0 80px; 
}

.promo-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: #003366;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.promo-badge .taeg { font-size: 16px; }
.promo-badge .taeg strong { font-size: 22px; color: #10b981; }
.promo-badge .message { font-size: 13px; font-weight: 700; text-transform: uppercase; margin-top: 5px; opacity: 0.9; }

.hero-trust { 
    display: flex; 
    gap: 40px; 
}

.trust-item { 
    font-size: 14px; 
    color: #64748b; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.trust-item i { color: #10b981; }

#hero-error {
    position: absolute;
    bottom: -18px;
    left: 0;
    color: #ff4d4d;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
    height: auto;
    visibility: hidden;
    display: block;    
    text-align: left;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* ============================================
   SECTION 5 : SIMULATION BOX
   ============================================ */

.simulation-box {
    background: #ffffff;
    border: 2px solid #cbd5e1; 
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.input-group {
    position: relative;
    flex: 1;
    margin-bottom: 18px !important;
}

.input-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2c3138;
    margin-bottom: 5px;
    transform: translateY(-10px);
    
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #cad0d6;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #01182f;
    outline: none;
    margin-top: -10px;
}

.input-wrapper input:focus {
    border-color: #b5d4f3;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(4, 97, 190, 0.1);
}

.input-wrapper span {
    position: absolute;
    right: 15px;
    color: #475569;
    font-size: 18px;
    font-weight: 700;
}

.input-wrapper input.error-refus {
    border-color: #ff4d4d !important;
}

.input-precision {
    font-size: 12px;
    color: var(--t-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* ============================================
   SECTION 6 : PRO BANNER (POURQUOI NOUS)
   ============================================ */

.pro-banner {
    padding: 80px 0; 
    background: #ffffff;
}

.banner-inner {
    max-width: 1200px; 
    margin: 0 auto;
    background: linear-gradient(135deg, #2d67a2 0%, #003366 100%);
    padding: 50px 40px;
    border-radius: 40px;
    color: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2), 0 0 40px rgba(0, 123, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-inner:hover {
    box-shadow: 0 0 30px rgba(206, 229, 221, 0.4), 0 0 60px rgba(202, 210, 218, 0.25);
    transform: translateY(-2px);
}

.banner-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.pre-title {
    color: #0bda95;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.banner-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-intro {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.916);
    line-height: 1.6;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(169, 216, 197, 0.301);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #11d594;
    margin-bottom: 20px;
    margin: 0 auto 20px auto;
}

.pillar-text h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
    text-align: center;   
}

.pillar-text p {
      text-align: center;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.711);
    font-weight: 600;
}

/* ============================================
   SECTION 7 : SOLUTIONS (STEPS SECTION)
   ============================================ */

.steps-section {
    padding: 20px 0 60px 0;
    background: #ffffff;
    text-align: center;
    
}

.main-title {
    margin-bottom: 35px;
}

.main-title i {
    font-size: 40px;
    color: #10b981;
    margin-bottom: 8px;
    display: block;
}

.main-title h2 {
    font-size: 30px;
    color: #003366;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 0 20px;
}

.step-block {
    text-decoration: none;
    flex: 1 1 calc(33.333% - 30px);
    min-width: 290px;
    max-width: 380px;
    background: #fcfdfe;
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-block:hover {
    background: #ffffff;
    border-color: #007bff;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.1);
    transform: translateY(-10px);
}

.illustration-wrapper {
    width: 150px;
    height: 120px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-illustration {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.step-block:hover .step-illustration {
    transform: scale(1.1);
}

.step-block h3 {
    font-size: 22px;
    color: #001f3f;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-block p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.step-link {
    font-size: 14px;
    font-weight: 700;
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-link i {
    transition: transform 0.3s ease;
}

.step-block:hover .step-link i {
    transform: translateX(5px);
}

/* ============================================
   SECTION 8 : TIMELINE (ÉTAPES)
   ============================================ */

.steps-timeline {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
    margin-top: -50px; 
}

.timeline-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.timeline-content {
    flex: 1;
    max-width: 650px;
}

.timeline-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 10px;
}

.timeline-header .highlight, 
.timeline-header .highlight-count { 
    color: #003366; 
    font-weight: 800; 
}

.sub-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #001f3f;
}

.steps-list {
    position: relative;
    padding-left: 10px;
}

.step-item {
    display: flex;
    gap: 25px;
    position: relative;
    padding-bottom: 40px;
}

.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 45px;
    width: 2px;
    height: calc(100% - 40px);
    background: #003366;
}

.step-number {
    min-width: 42px;
    height: 42px;
    background: #003366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    z-index: 2;
}

.step-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #001f3f;
    margin-bottom: 8px;
    line-height: 1.2;
}

.step-text p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
}

.timeline-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 31, 63, 0.1));
}



/* ============================================
   SECTION 11 : FOOTER & STICKY BAR
   ============================================ */



/* STICKY ACTION BAR */
.sticky-action-bar {
    position: fixed;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 9999;
    pointer-events: none;
}

.sticky-btn {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    
}

.simulate-btn, .scroll-top-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
}

.sticky-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn { width: 55px; height: 55px; background: var(--whatsapp-color); color: var(--white); font-size: 26px; }
.scroll-top-btn { width: 50px; height: 50px; background: var(--white); color: var(--blue-dark); border: none; cursor: pointer; }
.simulate-btn {
    background: var(--blue-accent);
    color: var(--white);
    border-radius: 50px; /* Plus arrondi pour le style pilule */
    padding: 14px 50px;  /* Augmentation de la largeur (60px sur les côtés) */
    font-weight: 700;
    font-size: 18px;
    min-width: 150px;    /* Largeur minimale pour garantir l'impact visuel */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/* ============================================
   SECTION 12 : PAGE SIMULATION & RÉCAPITULATIF
   ============================================ */

.simulation-page-section {
    background: var(--bg-page);
    padding: 80px 20px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.simulation-container {
    max-width: 650px;
    margin: 40px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.simulation-container label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    text-align: left;
}

.simulation-container input[type="number"],
.simulation-container select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.simulation-container input:focus,
.simulation-container select:focus {
    border-color: #003366;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

.duration-flex {
    display: flex;
    gap: 12px;
    align-items: center;
}

.duration-flex input { flex: 2; }
.duration-flex select { flex: 1.5; }

.duration-flex-premium {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 6px;
    min-height: 24px;
    visibility: hidden;
    text-align: left;
}

.error-msg.show {
    visibility: visible;
}

.result-box {
    margin: 25px 0;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 10px;
    border: 1px dashed #003366;
    text-align: center;
    display: none;
}

.result-box strong {
    font-size: 1.4rem;
    color: #003366;
}

/* RÉCAPITULATIF */
.recap-container {
    max-width: 550px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recap-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #eef2f6;
}

.recap-header {
    background: linear-gradient(135deg, #848586 0%, #1b67b3 100%);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.recap-icon {
    color: #10b981;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 10px;
    width: 32px;
    height: 32px;
}

.recap-header h2 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: rgb(57, 43, 43);
    
}

.status-badge-re
 {
    font-size: 15px;
    font-weight: 700;
}

.recap-content {
    padding: 18px 25px;
    background: #fcfdfe;
}

.recap-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f6;
}

.recap-row:last-of-type {
    border-bottom: none;
}

.recap-row.highlight {
    background: #f0f7ff;
    margin: 0 -25px;
    padding: 10px 25px;
    border-radius: 8px;
    border-bottom: none;
}

.recap-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.recap-value {
    font-size: 14px;
    font-weight: 700;
    color: #001f3f;
}

.recap-row.highlight .recap-label {
    color: #003366;
    font-weight: 600;
    font-size: 14px;
}

.recap-row.highlight .recap-value {
    color: #003366;
    font-size: 18px;
}

.recap-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 10px 0;
}

.recap-actions {
    display: flex;
    gap: 12px;
    padding: 16px 25px 20px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
}

.recap-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-secondary.recap-btn {
    background: #f1f5f9;
    color: #475569;
}

.btn-secondary.recap-btn:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-main.recap-btn {
    background: #003366;
    color: white;
}

.btn-main.recap-btn:hover {
    background: #001f3f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

/* IMPACT BOX PREMIUM */
.recap-impact-box {
    background: #003366 !important;
    border-radius: var(--radius-lg);
    padding: 30px 20px !important;
    color: #ffffff;
    text-align: center;
    margin: 24px 0;
    box-shadow: 0 12px 24px -6px rgba(0, 51, 102, 0.3);
}

.recap-impact-box span:first-child {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px !important;
    text-transform: none !important;
}

.recap-impact-box .recap-value {
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    margin: 10px 0 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recap-impact-box span:last-child {
    color: #93c5fd !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* FORMULAIRE PREMIUM */
.premium-form input, 
.premium-form select,
.premium-form textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 16px;
    color: var(--t-main);
    transition: var(--transition);
}

.premium-form input:focus, 
.premium-form select:focus,
.premium-form textarea:focus {
    background: #ffffff;
    border-color: var(--p-navy);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.06);
    outline: none;
}

.profil-radio-group {
    display: flex;
    gap: 12px;
    margin: 15px 0 25px;
}

.radio-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
    position: relative;
}

.radio-card:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.radio-card:has(input:checked) {
    border: 2px solid #003366 !important;
    background-color: #f0f7ff !important;
}

.radio-card input:checked ~ .radio-content {
    color: #003366 !important;
    font-weight: 700;
}

.radio-content {
    font-weight: 600;
    color: #64748b;
    pointer-events: none;
}

.radio-card:has(input:checked) .radio-content {
    color: #003366 !important;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .currency-symbol {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #94a3b8;
    pointer-events: none;
    line-height: 1;
}

.input-with-icon input {
    padding-right: 40px !important;
}

.step-indicator {
    display: inline-block;
    padding: 4px 12px;
    margin-top: 30px;        /* ← AJOUTEZ CETTE LIGNE */
    margin-bottom: 10px;
    background: var(--p-navy-light);
    color: var(--p-navy);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-bar-container {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    max-width: 180px;
    margin: 20px auto 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--p-navy);
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
}

.form-error-premium {
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    color: #e11d48;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.note-assurance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.note-assurance img {
    width: 20px;
    margin-top: 3px;
}

select.premium-form {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
}

/* ===== ÉTAPE 2 - COHÉRENT AVEC LES AUTRES ===== */
#step2-container .step-header {
    margin-bottom: 30px;
    border-left: 4px solid #003366;
    padding-left: 20px;
}

#step2-container .step-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #001f3f;
    margin-bottom: 8px;
}

#step2-container .step-header p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}

#step2-container .input-group {
    margin-bottom: 24px !important;
}

#step2-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}



.label-with-help {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

.label-with-help label {
    margin-bottom: 0 !important;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}



.simulation-header-simple p, 
.simulation-header-simple .recap-subtitle {
    color: #64748b !important;
     
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    max-width: 200px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ============================================
   SECTION 13 : RESPONSIVE (TOUS LES BREAKPOINTS)
   ============================================ */

/* TABLE & MOBILE */
@media (max-width: 1024px) {
    .flex-top {
        padding: 5px 15px;
        justify-content: space-between;
    }
    .client-portal-btn span, .top-sep { display: none; }
    .top-contact a span { display: inline !important; }
    .client-portal-btn {
        padding: 0;
        width: 35px;
        height: 35px;
        justify-content: center;
        border-radius: 50%;
        margin-right: 5px;
    }
    

    #main-logo { height: 50px; }
    .menu-toggle { display: flex; flex-direction: column; gap: 8px; cursor: pointer; padding-right: 5px; }
    .bar { width: 25px; height: 3px; background: #003366; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        right: 5%;
        width: 55%;
        background: white;
        flex-direction: column;
        padding: 25px 20px;
        gap: 20px;
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    
    /* --- GESTION UNIQUE DU DÉROULEMENT LANGUE (MOBILE) --- */

/* 1. État fermé de la liste des langues */
.lang-dropdown {
    display: none !important; /* On cache par défaut */
    position: static !important; /* On utilise static pour que ça "pousse" le menu vers le bas sur mobile */
    width: 100% !important;
    background: #f8fafc !important; /* Couleur identique à votre menu solutions */
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

/* 2. État ouvert quand on clique sur le drapeau */
.lang-select.open .lang-dropdown {
    display: block !important; /* On affiche enfin */
}

/* 3. Style des liens de langue à l'intérieur du menu ouvert */
.lang-dropdown li a {
    display: flex !important;
    align-items: center;
    padding: 12px 20px !important;
    color: #1e293b !important;
    font-size: 14px !important;
    border-bottom: 1px solid #edf2f7 !important;
    text-decoration: none;
}

/* 4. On s'assure que le conteneur laisse passer le contenu */
.lang-select {
    width: 100% !important;
    overflow: visible !important;
}

    .nav-links.active {
        display: flex; /* Indispensable pour l'ouverture */
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active li {
        text-align: center;
        width: 100%;
        font-size: 13px;
        font-weight: 600;
    }

    .nav-cta { display: none; }

    /* LE FAUX BOUTON ::AFTER A ÉTÉ SUPPRIMÉ ICI */

    .flex-hero { flex-direction: column; padding: 0 20px; }
    .hero h1.shiny-title { font-size: 32px; margin-top: 10px; }
    .hero-image-wrapper { width: 100%; height: 300px; margin-right: 0; }
    .hero-full-img { border-radius: 20px; }
    .promo-badge { left: 10px; top: 10px; padding: 8px 15px; }
    .promo-badge .taeg { font-size: 13px; }
    .promo-badge .taeg strong { font-size: 16px; }
    .promo-badge .message { font-size: 10px; margin-top: 2px; }
    .hero-trust { flex-direction: row; justify-content: space-between; gap: 10px; }
    .hero-content p { font-size: 14px !important; line-height: 1.4; }
    .hero-trust { gap: 15px !important; justify-content: flex-start; margin-top: 15px; }
    .trust-item { gap: 4px !important; font-size: 12px !important; }
    
    /* --- LE CORRECTIF CHIRURGICAL --- */
    
    

    .nav-links {
    width: 65% !important;   /* Largeur réduite pour coller à droite */
    right: 5% !important;    /* Aligné à 5% du bord droit (sous le burger) */
    left: auto !important;   /* Supprime le centrage à gauche */
    padding: 20px 0 !important;
    border-radius: 15px !important;
    text-align: right !important; /* Aligne le texte à droite */
    display: none; 
    flex-direction: column !important; /* Nécessaire pour l'ordre des éléments */
}

    .nav-links li a {
        padding: 15px 0 !important; /* Plus de hauteur entre chaque menu */
        justify-content: center !important; /* Centre le contenu des liens flex */
        font-size: 18px !important; /* Taille confortable pour le pouce et l'œil */
    font-weight: 700 !important; /* Un peu plus épais pour bien se détacher */
    color: #001f3f !important;  /* Votre bleu foncé */
    padding: 18px 25px !important;
    }


/* Votre règle qui l'affiche (elle est bonne, gardez-la) */
.nav-links.active {
    display: flex !important;
}
    
   /* 1. On cache et on prépare le mode accordéon */
.dropdown-menu {
    display: none !important; /* Caché par défaut */
    position: static !important; /* Pousse le contenu vers le bas */
    width: 70% !important;
    background: #f8fafc !important;
    padding: 0 !important;
    list-style: none !important;
    visibility: visible !important; /* Sécurité */
    opacity: 1 !important; /* Sécurité */
}

/* 2. L'affichage quand la classe .open est là */
.dropdown.open > .dropdown-menu {
    display: block !important;
}

/* 3. Le lien parent (Solutions) - CENTRÉ */
.dropdown > a {
    display: flex !important;
    justify-content: center !important; /* Centre le texte et le chevron ensemble */
    align-items: center;
    width: 80% !important;
    margin: 0 auto !important; /* Force le centrage du bloc de 80% */
    gap: 10px; /* Espace entre le texte et le chevron */
    padding: 15px 0 !important;
}

/* 4. Le chevron */
.dropdown .fa-chevron-down {
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.dropdown.open .fa-chevron-down {
    transform: rotate(180deg) !important;
}

/* 5. Les liens à l'intérieur du menu ouvert - CENTRÉS */
.dropdown-menu li a {
    display: block !important;
    padding: 15px 20px !important; /* Un peu plus de hauteur pour le confort */
    color: #1e293b !important;
    font-size: 16px !important;
    text-align: center !important; /* Centre le texte */
    border-bottom: 1px solid #edf2f7 !important;
    width: 100% !important;
}

/* On centre également le bloc gris du dropdown lui-même */
.dropdown-menu {
    width: 85% !important; /* Légèrement plus petit pour l'effet de style */
    margin: 10px auto !important; /* Centre le bloc gris dans le menu blanc */
    border-radius: 12px !important;
    overflow: hidden; /* Pour que les bords arrondis coupent proprement les liens */
}


/* Style de base des barres */
.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #003366; /* Votre couleur bleue */
    transition: all 0.3s ease-in-out;
    display: block;
}



/* --- ANIMATION VERS LA CROIX --- */

/* La première barre tourne à 45 degrés et descend */
#mobile-menu.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

/* La deuxième barre (celle du milieu) disparaît */
#mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

/* La troisième barre tourne à -45 degrés et monte */
#mobile-menu.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Affiche le menu mobile quand on clique sur le bouton hamburger */
.nav-links.active {
    display: flex !important;
}




} /* FIN DE LA MEDIA QUERY */

@media (max-width: 992px) {
    .timeline-wrapper {
        flex-direction: column;
        text-align: left;
    }
    .timeline-content {
        order: 1;
        width: 100%;
    }
    .timeline-header h2 { font-size: 24px !important; margin-bottom: 12px; }
    .sub-header { font-size: 16px !important; line-height: 1.4; margin-bottom: 30px; }
    .timeline-visual {
        order: 2;
        margin-top: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .simulation-box { width: 90%; margin-left: 0; border-radius: 5px !important; flex-direction: column; padding: 20px 20px !important; margin-top: -15px!important; align-items: stretch; gap: 10px; }
    .btn-main { width: 100%; text-align: center; justify-content: center; }
    .pro-banner { padding: 40px 15px; }
    .banner-inner { padding: 40px 20px; border-radius: 30px; max-width: 100%; }
    .banner-header h2 { font-size: 24px !important; line-height: 1.3; margin-bottom: 15px; padding: 0 5px; text-align: center; }
    .banner-intro { font-size: 15px !important; line-height: 1.5; text-align: center; margin-bottom: 30px; }
    .banner-grid { display: flex; flex-direction: column; gap: 35px; }
    .pillar-item { align-items: center; text-align: center; width: 100%; }
    .pillar-text { width: 100%; display: block; }
    .pillar-text h3 { font-size: 16px !important; margin-bottom: 10px; line-height: 1.2; }
    .pillar-text p { font-size: 13px !important; line-height: 1.6; text-align: center; margin: 0 auto; max-width: 90%; word-spacing: -0.5px; }
    .pillar-icon-box { margin: 0 auto 15px auto; }
    .banner-header h2 { font-size: 18px !important; }
  
    
    .steps-section { padding: 20px 15px 40px 15px; }
    .steps-grid { flex-direction: column; align-items: center; gap: 20px; }
    .step-block { width: 100%; max-width: 100%; padding: 25px 20px; }
    .main-title h2 { font-size: 22px; letter-spacing: 0.5px; }
    .step-block h3 { font-size: 19px; margin-bottom: 8px; }
    .step-block p { font-size: 14px; line-height: 1.4; margin-bottom: 15px; }
    .step-link { font-size: 13px; }
    .illustration-wrapper { width: 110px; height: 90px; margin-bottom: 15px; }
    .step-text h3 { font-size: 17px !important; margin-bottom: 5px; }
    .step-text p { font-size: 13.5px !important; line-height: 1.5; }
    .step-item { gap: 15px; padding-bottom: 30px; }
    .step-number { min-width: 34px; height: 34px; font-size: 15px; }
    .step-item:not(:last-child)::after { left: 17px; top: 38px; }
    .testimonials-header h2 { font-size: 22px; }
    .testimonial-card { flex: 0 0 85%; }
    .dot.active { width: 28px; }
    .faq-header h2 { font-size: 24px; }
    .faq-question { font-size: 15px; padding: 18px 0; }
    .faq-answer p { font-size: 14px; }
    .main-footer { padding-bottom: 80px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-bottom { margin-top: 30px; padding-top: 15px; }
    .branding, .contact-column { align-items: center; }
    .brand-message { margin: 0 auto 15px; }
    .sticky-action-bar { padding: 0 15px; bottom: 15px; }
    .social-links { justify-content: center; }
    .contact-details p { justify-content: center; }
    .simulate-btn { padding: 0 15px; font-size: 11px; }
    .simulation-container { margin: 20px 15px; padding: 15px; }
     .pre-title {  font-size: 13px; }
      .nav-links::after {
        width: auto;
        display: inline-block;
        margin: 10px auto 0 auto;
        padding: 8px 20px;
        font-size: 11px;
    }


       /* Empêcher tout débordement */
    body {
        overflow-x: hidden !important;
    }
    

    
   
    .radio-content {
        white-space: normal;
        text-align: center;
    }
    
    
    /* Champ entreprise */
    #professionnel-fields {
        margin-top: 5px;
    }
    
    /* Texte d'aide */
    .input-precision {
        text-align: center !important;
        font-size: 11px !important;
    }
    
    /* Texte d'aide (input-precision) */
    .input-precision {
        text-align: center !important;
        font-size: 11px !important;
        margin-top: 6px;
    }
    
    .lang-select {
        margin-left: 20px;      /* Éloigne du logo */
    }
    
    /* Ou si c'est le conteneur parent */
    .mobile-lang-center {
        margin-left: 15px;
    }
    .recap-container {
    max-width: 100%;
    margin: 20px auto;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    background: transparent;
    z-index: auto;
    display: block;
    padding: 0;
    animation: none;
}

.recap-card {
    max-width: 100%;
    max-height: none;
    overflow-y: visible;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.recap-header {
    padding: 12px 18px;
    position: relative;
    top: auto;
    z-index: auto;
}

.recap-content {
    padding: 12px 18px;
    max-height: none;
    overflow-y: visible;
}

.recap-actions {
    position: relative;
    bottom: auto;
    background: #ffffff;
    padding: 15px 20px;
    border-top: 1px solid #eef2f6;
    gap: 10px;
    flex-direction: column;
}
    .flex-hero {
        flex-direction: column;
        padding-top: 20px;
        gap: 8px;
    }
    .hero-content { display: contents; }
    .hero-badge-top {
        order: 1;
        font-size: 0.7rem;
        padding: 3px 8px;
        align-self: center;
        margin: 0;
    }
    .hero-content h1 {
        order: 2;
        margin: 0;
        text-align: center;
        font-size: 1.5rem;
    }
    .hero-content p {
        order: 2;
        margin: 2px 0 5px 0;
        text-align: center;
        font-size: 0.9rem;
    }
    .hero-image-wrapper {
        order: 3;
        width: 100%;
        max-width: 98%;
        margin: 5px auto;
    }
    .promo-badge {
        transform: scale(0.95);
        transform-origin: top right;
        padding: 6px 10px;
    }
    .promo-badge .taeg { font-size: 0.75rem; }
    .promo-badge .message { font-size: 0.65rem; }
    .simulation-box { order: 4; margin-top: 5px; }
    .hero-trust { order: 5; margin-top: 5px; }
    
}

@media (max-width: 480px) {
    .input-group { margin-bottom: 30px; }
    #btn-hero-simulate { margin-top: 5px; }
    #hero-error { bottom: -20px; }
    .duration-flex { flex-direction: column; gap: 10px; align-items: stretch; }
    .duration-flex input, .duration-flex select { width: 100%; }
    .shiny-title { font-size: 1.6rem; }
    .form-navigation { flex-direction: column-reverse; }
    .btn-next, .btn-prev { width: 100%; flex: none; }
    .hero h1.shiny-title { font-size: 24px; }
    .hero-badge-top { font-size: 12px; margin-top: 10px;  }
    .hero-image-wrapper { height: 220px; }
    .simulation-box { padding: 15px; }
    .input-wrapper input { font-size: 14px; padding: 8px; }
    .btn-main { padding: 8px 16px; font-size: 11px; }
    .main-title h2 { font-size: 20px; }
    .step-block { padding: 20px 15px; }
    .step-block h3 { font-size: 16px; }
    .footer-logo img { height: 30px; }
    .sticky-action-bar { bottom: 10px; }
    .whatsapp-btn, .scroll-top-btn { width: 55px; height: 55px; font-size: 20px; }
    .simulate-btn {
    background: var(--blue-accent);
    color: var(--white);
    border-radius: 30px; 
    
    /* MODIFICATIONS ICI */
    padding: 15px 30px;    /* Augmente la hauteur (12px) et la largeur (30px) */
    min-width: 200px!important;      /* Force une largeur minimale pour l'impact visuel */
    font-size: 14px;       /* 11px était trop petit pour un bouton d'action principal */
    
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-transform: uppercase; /* Optionnel : pour donner un aspect plus pro */
}
}

/* TABLETTE PAYSAGE */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero h1.shiny-title { font-size: 38px; }
    .hero-image-wrapper { height: 450px; }
    .steps-grid { gap: 20px; }
    .step-block { min-width: 260px; }
}

/* TABLETTE PORTRAIT */
@media (min-width: 769px) and (max-width: 991px) {
    .hero h1.shiny-title { font-size: 34px; }
    .hero-image-wrapper { height: 380px; }
    .flex-hero { gap: 30px; }
    .nav-links { gap: 20px; }
    .steps-grid { gap: 15px; }
    .step-block { min-width: 240px; padding: 25px 15px; }
    .footer-grid { gap: 30px; }
}

/* MOBILE LARGE */
@media (min-width: 481px) and (max-width: 768px) {
    .hero h1.shiny-title { font-size: 28px; }
    .hero-image-wrapper { height: 280px; }
    .simulation-box { padding: 20px; }
    .main-title h2 { font-size: 24px; }
    .step-block h3 { font-size: 18px; }
    .timeline-header h2 { font-size: 22px; }
}

/* GRAND ÉCRAN */
@media (min-width: 1200px) {
    .container { max-width: 1300px; }
    .hero h1.shiny-title { font-size: 48px; }
}

/* SAFARI iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .sticky-btn {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
}

/* ============================================
   SECTION 14 : FIX SPÉCIFIQUES (MOZILLA, ETC.)
   ============================================ */

@-moz-document url-prefix() {
    .input-wrapper input {
        -moz-appearance: textfield;
        padding-right: 35px;
    }
    input[type=number] {
        -moz-appearance: textfield;
    }
    input:focus, select:focus, textarea:focus {
        outline: 2px solid rgba(0, 51, 102, 0.3);
        outline-offset: 2px;
    }
    .radio-card {
        transition: all 0.2s ease;
    }
    .radio-card:hover {
        background: #f8fafc;
    }
    .carousel-container {
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }
    .input-with-icon .currency-symbol {
        transform: translateY(-50%);
    }
    .banner-header h2, .pillar-text h3 {
        font-weight: 900;
    }
    .pillar-text p {
        text-rendering: optimizeLegibility;
    }
    .step-number { font-weight: 900; }
    .step-text h3 { font-weight: 800; }
    .faq-question { font-weight: 700; }
}

/* RÉCAP MOBILE (1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .recap-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ANIMATION FADEIN SUPPLEMENTAIRE */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.main-footer {
    background-color: var(--blue-dark);
    color: var(--white);
    padding: 60px 0 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
        padding-bottom: 20px !important;  /* Réduit l'espace tout en bas */

}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 45px;
    text-align: left;
}

.branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo span {
    color: var(--blue-light);
}

.brand-message {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-slate);
    margin: 0;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-slate);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 50px;
    padding-left: 0;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icon {
    color: var(--white) !important;
    font-size: 22px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-icon:hover {
    color: var(--blue-light) !important;
    transform: translateY(-3px);
}

.contact-details p {
    font-size: 14px;
    color: var(--text-slate);
    margin-bottom: 12px;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.footer-bottom {
    margin-top: 20px;        /* 25px → 15px */
    padding-top: 15px;       /* 25px → 10px */
    padding-bottom: 10px;    /* Ajouté */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;        
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom2 {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom2 p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   RESPONSIVE FOOTER
   ============================================ */

/* Tablettes */
@media screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .contact-column {
        margin-left: 0;
    }
    
    .branding {
        align-items: center;
        text-align: center;
    }
    
    .brand-message {
        text-align: center;
    }
}

/* Mobiles */
@media screen and (max-width: 768px) {
    .main-footer {
        padding-bottom: 80px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 15px;
    }
    
    .branding,
    .contact-column {
        align-items: center;
    }
    
    .brand-message {
        margin: 0 auto 15px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-details p {
        justify-content: center;
    }
    
    .footer-column h4 {
        text-align: center;
    }
    
    .footer-column ul li a {
        display: inline-block;
    }
    
    .contact-column {
        margin-left: 0;
        align-items: center;
        text-align: center;
    }
}




@media screen and (max-width: 768px) {
    .step-indicator {
        transform: translateY(-20px) !important;
        display: inline-block !important;
    }
}


}





/* Design Global */
.simulation-page-section {
    font-family: 'Segoe UI', Roboto, sans-serif;
    padding: 40px 20px;
    background-color: #ffffff;
}

.simulation-container {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
             
}

/* Header & Progression */
.simulation-header-simple {
    text-align: center;
    margin-bottom: 30px;
}

.progress-bar-container {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 15px auto;
    max-width: 450px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background:  #003366;
    transition: width 0.4s ease;
}

/* Formulaire */

.input-group { margin-bottom: 20px; }

.input-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #1e293b; }



.premium-form input, .premium-form select, .premium-form textarea {

    width: 100%;

    padding: 12px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    font-size: 16px;

}



.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

}

.btn-main-premium, .btn-maine {

    width: 50%;
    background: #003366;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: -20px auto 0 auto;  /* Valeur négative = monte */
    text-align: center;

}






.btn-secondary {

    background: #f1f5f9;

    color: #475569;

    padding: 12px 20px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

/* Recap Card */
.recap-card { border-left: 4px solid #2563eb; padding-left: 20px; }
.recap-impact-box { background: #eff6ff; padding: 15px; border-radius: 8px; margin: 15px 0; }
.recap-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.total-row { font-weight: bold; border-top: 1px solid #e2e8f0; padding-top: 10px; }


/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    
    /* ===== FORMULAIRE ===== */
    /* Formulaire en colonne */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    /* Champs pleine largeur */
    .premium-form input, 
    .premium-form select, 
    .premium-form textarea {
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }

    .recap-actions .btn-maine {
        width: 80% !important;
        justify-content: center;
    }

    
    
    /* Durée en colonne */
    .duration-flex-premium {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .duration-flex-premium input,
    .duration-flex-premium .unit-toggle {
        width: 100% !important;
    }
    
    /* Conteneur formulaire */
    .simulation-container {
        padding: 20px !important;
        margin: 10px !important;
    }
    
    /* ===== BOUTONS ===== */
    .btn-main-premium, .btn-maine {
        width: 80% !important;
        padding: 12px !important;
        margin: 10px auto 0 auto !important;
        font-size: 14px !important;
    }
    
    /* Navigation */
    .form-navigation {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .form-navigation button {
        width: 100% !important;
    }
    
    /* ===== HEADER & PROGRESSION ===== */
    .simulation-header-simple {
        margin-bottom: 20px !important;
    }
    
   
    
    .progress-bar-container {
        max-width: 90% !important;
        margin: 12px auto !important;
        height: 6px !important;
    }
    
    /* ===== LABELS & TEXTES ===== */
    .input-group label {
        text-align: center !important;
    }
    
    .label-with-help {
        justify-content: center !important;
    }
    
    .input-precision {
        text-align: center !important;
        font-size: 11px !important;
    }
    
    .error-msg {
        text-align: center !important;
        font-size: 11px !important;
    }
    
    /* ===== RÉCAPITULATIF ===== */
    .recap-card {
        padding: 15px !important;
    }
    
    .recap-impact-box {
        padding: 12px !important;
    }
    
    .recap-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
        text-align: center !important;
    }
}

/* ===== PETITS MOBILES (≤480px) ===== */
@media (max-width: 480px) {
    
    /* Boutons */
    .btn-main-premium, .btn-maine {
        width: 60% !important;
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    /* Header */
    .simulation-header-simple {
        margin-bottom: 15px !important;
    }
    
    
    .progress-bar-container {
        max-width: 80% !important;
        margin: 10px auto !important;
    }
    
    /* Conteneur */
    .simulation-container {
        padding: 15px !important;
    }
    
    /* Champs */
    .premium-form input, 
    .premium-form select, 
    .premium-form textarea {
        padding: 8px !important;
        font-size: 13px !important;
    }
    
    /* Labels */
    .label-with-help label {
        font-size: 14px !important;
    }
    
    .help-icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
    }
    
    /* Récapitulatif */
    .recap-impact-box .recap-value {
        font-size: 20px !important;
    }
}

/* Seul le bouton "Confirmer et Continuer" (récapitulatif) est modifié */
.recap-actions .btn-maine {
    width: auto !important;
    min-width: 180px;
    padding: 10px 15px !important;
    font-size: 14px !important;
    margin: 0 auto 0 auto !important;
    gap: 8px;
}

/* ===== STYLE RÉCAPITULATIF GLOBAL ===== */
.recap-container {
    max-width: 550px;
    margin: 30px auto;
}

.recap-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

/* HEADER */
.recap-header {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    padding: 24px;
    text-align: center;
    color: white;
}

.status-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

.recap-header h2 {
    font-size: 22px;
    margin: 0 0 8px 0;
    font-weight: 700;
    color: white;
}

.recap-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* CONTENU */
.recap-content {
    padding: 24px;
}

.recap-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #001f3f;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #eef2f6;
}

/* LIGNES */
.recap-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.recap-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.recap-value {
    font-size: 14px;
    font-weight: 700;
    color: #001f3f;
}

/* BOX MENSUALITÉ */
.recap-impact-box .recap-value {
    font-size: 28px !important;   /* 32px → 28px */
    margin: 4px 0 !important;
    
}

.recap-impact-box {
    width: 60% !important;          /* Largeur de la boîte réduite */
    margin: 15px auto !important;   /* Centrée */
    padding: 8px 12px !important;  
}


.recap-impact-box .recap-label {
    font-size: 12px !important;
}

.recap-impact-box small {
    font-size: 11px !important;
}



.recap-impact-box .recap-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.recap-impact-box .recap-value {
    font-size: 32px;
    font-weight: 800;
    display: block;
    margin: 8px 0;
    color: white;
}

.recap-impact-box small {
    font-size: 12px;
    color: #93c5fd;
}

/* TOTAL ROW */
.total-row {
    font-weight: bold;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 4px;
}

/* ASSURANCE FOOTER */
.insurance-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 12px;
    color: #475569;
    border: 1px solid #eef2f6;
}

.insurance-footer .icon {
    font-size: 22px;
    flex-shrink: 0;
}

.insurance-footer p {
    margin: 0;
    line-height: 1.4;
}

.insurance-footer strong {
    color: #003366;
}

/* BOUTONS ACTIONS */
.recap-actions {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
}

.recap-actions .btn-secondary {
    background: #f1f5f9;
    color: #475569;
    padding: 10px 20px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.recap-actions .btn-maine {
    background: #003366;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===== ÉTAPE 3 - PEAUFINAGE SPÉCIFIQUE ===== */




.form-error-premium {
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    color: #e11d48;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}


.simulation-footer {
    background-color: #fefeff;
    color: #3b2727;
    margin-top: 60px;
    padding: 40px 0 20px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Logo + message */
.footer-branding {
    margin-bottom: 35px;
}

.footer-branding .footer-logo {
    margin-bottom: 15px;
}

.footer-branding .brand-message {
    font-size: 13px;
    color: #000000;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Liens horizontaux */
.footer-links-horizontal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-links-horizontal a {
    color: #000203;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links-horizontal a:hover {
    color: #040101;
}

/* Réseaux sociaux */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social .social-icon {
    color: #000000 !important;
    font-size: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-icon:hover {
    color: #151b1e !important;
    transform: translateY(-3px);
}

/* Copyright */
.footer-bottom {
    border-top: 1px solid rgba(11, 1, 1, 0.1);
    padding-top: 20px;
    margin-top: 10px;
}

.footer-bottom p {
    font-size: 12px;
    color: #04070b;
    margin: 0;
}


/* ============================================
   SECTION STEPS (CHEZ VOTRE ALLIÉ)
   ============================================ */

.steps-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: visible;
    margin-top: -50px; 
}

.simulation-header-simple h1 {
    margin-top: 10px !important;
    max-width: 500px !important;
    font-size: 18px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    margin-bottom: 20px !important;
}

/* Titre principal */
.main-title {
    text-align: center;
    margin-bottom: 60px;
}

.main-title i {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
    display: inline-block;
}

.main-title h2 {
    font-size: 32px;
    color: #2d67a2 ;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille des cartes */
.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

/* Carte individuelle */
.step-block {
    position: relative;
    overflow: visible;          /* Permet à l'image de sortir */
    flex: 1 1 calc(33.333% - 30px);
    min-width: 280px;
    max-width: 350px;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 20px 25px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.step-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 51, 102, 0.08);
    border-color: #003366;
}

/* Wrapper de l'image (permet de la faire sortir) */
.illustration-wrapper {
    margin-top: -50px;          /* Tire l'image vers le haut (fait sortir) */
    margin-bottom: 15px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image elle-même */
.step-illustration {
    max-height: 100%;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

/* Effet au survol sur l'image */
.step-block:hover .step-illustration {
    transform: scale(1.08) translateY(-5px);
}

/* Titre de la carte */
.step-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d67a2;
    margin: 15px 0 12px 0;
}

/* Description */
.step-block p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Lien / bouton d'action */
.step-link {
    font-size: 13px;
    font-weight: 700;
    color: #003366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.step-block:hover .step-link {
    gap: 12px;
}


.credit-warning {
    text-align: center;
    margin: 20px auto 10px auto;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.credit-warning p {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Checkbox personnalisée */
.legal-checkbox {
    margin: 20px 0 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #1e293b;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #003366;
}

.checkbox-label a {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.legal-checkbox .input-precision {
    margin-top: 5px;
    margin-left: 28px;
    font-size: 11px;
    color: #64748b;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .recap-container {
        margin: 20px 15px;
    }

    .simulation-footer {
        padding: 30px 0 15px 0;
        margin-top: 40px;
    }

    .credit-warning p {
        font-size: 10px;
        line-height: 1.4;
    }

    .credit-warning {  max-width: 90%; }

    .footer-branding .brand-message {
        font-size: 12px;
        padding: 0 15px;
    }

    .footer-links-horizontal {
        gap: 15px;
        flex-wrap: wrap;
    }

    .footer-links-horizontal a {
        font-size: 11px;
    }

    .footer-social {
        gap: 15px;
        margin-bottom: 20px;
    }

    .footer-social .social-icon {
        font-size: 18px;
    }

    .footer-bottom p {
        font-size: 10px;
    }


    .recap-header {
        padding: 20px;
    }

    .recap-header h2 {
        font-size: 18px;
    }

    .recap-content {
        padding: 20px;
    }

    .recap-impact-box .recap-value {
        font-size: 28px;
    }

    .recap-actions {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .recap-actions .btn-secondary,
    .recap-actions .btn-maine {
        width: 100%;
        padding: 12px;
    }

    .insurance-footer {
        padding: 12px;
        font-size: 11px;
    }

    .insurance-footer .icon {
        font-size: 18px;
    }

    /* Boîte mensualité */
    .recap-impact-box {
        width: 90% !important;
        padding: 6px 12px !important;
        margin: 10px auto !important;
    }
    
    .recap-impact-box .recap-value {
        font-size: 24px !important;
        margin: 2px 0 !important;
    }
    
    .recap-impact-box .recap-label {
        font-size: 11px !important;
    }
    
    .recap-impact-box small {
        font-size: 10px !important;
    }
    
    /* Footer assurance */
    .insurance-footer {
        padding: 10px !important;
        gap: 8px !important;
        font-size: 11px !important;
    }
    
    .insurance-footer .icon {
        font-size: 18px !important;
    }
    
    /* Boutons actions */
    .recap-actions {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px 20px !important;
    }
    
    .recap-actions .btn-secondary,
    .recap-actions .btn-maine {
        width: 100% !important;
        padding: 10px 16px !important;
        justify-content: center !important;
    }
    
    .recap-actions .btn-maine {
        flex: none !important;
    }

    

    .contact-column {
        align-items: center;
    }

    .footer-links-horizontal {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .footer-links-horizontal a {
        font-size: 12px;
    }

      .steps-section {
        padding: 50px 0;
        margin-top: -40px; 
    }

    .main-title {
        margin-bottom: 40px;
    }

    .main-title h2 {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }

    .steps-grid {
        gap: 35px;
        padding: 0 15px;
    }

    .step-block {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 25px 15px 20px 15px;
    }

    .illustration-wrapper {
        margin-top: -45px;      /* Un peu moins fort sur mobile */
        height: 80px;
    }

    .step-block h3 {
        font-size: 13px;
    }

    .step-block p {
        font-size: 12px;
        padding: 0;
    }

    .step-link {
        font-size: 12px;
    }
    
.legal-checkbox {
        margin: 15px 0 10px 0;
    }
    
    .checkbox-label {
        gap: 8px;
        font-size: 12px;
        line-height: 1.4;
    }
    
    .checkbox-label input {
        width: 16px;
        height: 16px;
        margin-top: 1px;
    }
    
    .legal-checkbox .input-precision {
        margin-left: 26px;
        font-size: 10px;
        line-height: 1.3;
    }

    /* Empêcher l’outline de déborder */
    #accept-conditions.error-outline,
    #accept-conditions:focus-visible {
        outline: 2px solid #ff4d4d;
        outline-offset: 0;
        transform: scale(1);
    }

     /* Forcer la checkbox à ne pas dépasser sa taille naturelle */
    #accept-conditions {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        max-width: 18px;
         font-size: 11px!important;
        display: inline-block;
        flex-shrink: 0;
    }

    /* Supprimer l'effet outline large sur mobile */
    #accept-conditions {
        outline: none !important;
    }

    /* On utilise box-shadow à la place (reste autour de la case) */
    #accept-conditions.error-outline,
    #accept-conditions[style*="outline"] {
        box-shadow: 0 0 0 2px #ff4d4d !important;
        outline: none !important;
    }
 .simulation-header-simple h1 {
        margin-top: 10px !important;
        max-width: 400px !important;
        font-size: 15px !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
         margin-bottom: 20px !important;
    }

      #form-container {
        width: 90% !important;
        max-width: 400px !important;
        padding: 15px !important;
        margin: 10px auto !important;
    }

   #step2-container {
        width: 90% !important;
        max-width: 400px !important;
        padding: 15px !important;
        margin: 10px auto !important;
    }



   
    
    /* Pour les champs eux-mêmes */
    .premium-form input,
    .premium-form select,
    .premium-form textarea {
        width: 95% !important;
        padding: 14px 12px !important;   /* Augmente la hauteur (padding vertical) */
        font-size: 16px !important;
        margin: 0 auto 5px auto !important;
        display: block;
    }

   #step2-form .input-group {
    max-width: 90% !important;
    margin-bottom: 8px !important;   /* Réduit l'espace entre les champs */
}



}

/* ===== FORCAGE FINAL ÉTAPE 3 (AVEC COULEURS) ===== */
#step3-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
}

#step3-container .input-group {
    margin-bottom: 30px !important;
}

#step3-container .step-header {
    margin-bottom: 40px !important;
    border-left: 4px solid #003366;
    padding-left: 20px;
}

#step3-container .step-header h2 {
    color: #001f3f;
    font-size: 22px;
    font-weight: 700;
}

#step3-container .step-header p {
    color: #64748b;
    font-size: 14px;
}

#step3-container .input-group label {
    margin-bottom: 12px !important;
    display: block !important;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

#step3-container input,
#step3-container select,
#step3-container textarea {
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.2s ease;
}

#step3-container input:focus,
#step3-container select:focus,
#step3-container textarea:focus {
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
    outline: none;
}

#step3-container .form-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

#step3-container .input-precision {
    color: #64748b;
    font-size: 12px;
    margin-top: 6px;
}

@media (max-width: 768px) {
    #step3-container .input-group {
        margin-bottom: 25px !important;
    }
    #step3-container .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        }
    #step3-container .step-header h2 {
        font-size: 20px;
    }
    #step3-container .step-header p {
        font-size: 13px;
    }
    #step3-container input,
    #step3-container select,
    #step3-container textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    #cookie-consent {
        left: 15px !important;
        right: 15px !important;
        bottom: 10px !important;
        width: auto !important; /* Pour qu'il s'adapte à la largeur du téléphone */
        padding: 10px !important;
        gap: 15px !important;
    }

    #cookie-consent span {
        font-size: 13px !important;
    }

    .simulate-btn {
        padding: 12px 20px; /* On réduit la largeur pour mobile */
        font-size: 16px;    /* Texte légèrement plus petit */
        min-width: 100px;   /* Largeur adaptée aux petits écrans */
        width: auto;        /* Permet au bouton de ne pas dépasser */
        bottom: 15px;       /* Ajustement de la position si c'est un sticky */
    }
}


html,
body,
.simulation-page-section,
.simulation-page-section * {
    background:#fafbfb!important;
}


/* --- NETTOYAGE FINAL --- */

/* On supprime les lignes rouges de diagnostic */
* { 
    outline: none !important; 
}

/* On force les textes et titres à ne pas sortir du cadre */
h1, h2, h3, p, span {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* On s'assure qu'aucun élément ne dépasse 100% de la largeur du téléphone */
* {
    max-width: 100%;
}

/* On verrouille définitivement le défilement horizontal */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}


/* --- STYLE CENTRALISÉ POUR LES LANGUES --- */
.lang-dropdown {
    min-width: 170px !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important; /* Règle le débordement du hover */
    padding: 5px 0 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.lang-dropdown li {
    list-style: none !important;
    width: 100% !important;
}

.lang-dropdown li a {
    display: flex !important;      /* Aligne le drapeau et le texte sur la même ligne */
    align-items: center !important; /* Centre verticalement */
    gap: 12px !important;          /* Espace fixe entre drapeau et texte */
    padding: 10px 15px !important;
    text-align: left !important;   /* Aligne tout à gauche */
    color: #1e293b !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important; /* Empêche le dépassement à droite */
    text-decoration: none !important;
}

.lang-dropdown li a img {
    width: 22px !important;        /* Largeur fixe pour aligner la colonne de texte */
    height: auto !important;
    flex-shrink: 0 !important;     /* Empêche le drapeau d'être écrasé */
}

.lang-dropdown li a:hover {
    background: #f1f5f9 !important; /* Votre couleur de survol */
}


/* --- La Section Hero avec son fond dynamique --- */
.hero {
    position: relative;
    overflow: hidden; /* Pour contenir l'effet d'animation */
    padding: 80px 0; /* Espacement confortable haut/bas */
    
    /* Dégradé animé en fond */
    background: linear-gradient(-45deg, #004685, #002d5a, #004685, #0056a3);
    background-size: 400% 400%; /* Important pour que l'animation fonctionne */
    animation: gradientShift 15s ease infinite; /* Vitesse lente et fluide */
    
    color: #ffffff; /* Tout le texte par défaut devient BLANC */
}

/* --- Ajustements des éléments textuels --- */
.hero-content h1.shiny-title {
    /* Je garde votre titre doré comme demandé précédemment, il ressortira super bien sur le bleu */
    background: linear-gradient(to right, #ffb400 20%, #fff3d0 50%, #ffb400 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    color: #ffb400; /* fallback */
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    color: #ffffff; /* Force le paragraphe en blanc */
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-badge-top {
    background-color: rgba(255, 255, 255, 0.15); /* Badge transparent clair */
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 25px;
}

/* --- Le Bloc Simulateur (Celui-ci doit rester BLANC et ISOLÉ) --- */
.simulation-box {
    background-color: #ffffff; /* Fond BLANC forcé */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); /* Ombre pour le relief */
    color: #333333; /* Le texte à l'intérieur repasse en SOMBRE */
    max-width: 800px;
}

/* --- Autres éléments --- */
.hero-trust {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.promo-badge {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Ombre sur le badge TAEG */
}

/* --- LES ANIMATIONS --- */

/* 1. Animation du fond bleu (Shift) */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Rappel de l'animation de brillance du titre (Shine) */
@keyframes shine {
    to { background-position: 200% center; }
}


/* --- 1. Harmonisation des Checkmarks (Option A) --- */
.trust-item i.fa-check-circle {
    color: #ffffff !important;
    opacity: 0.8; /* Effet élégant et doux */
    margin-right: 8px;
    
}

/* --- 2. Nouveau Style du Badge Promo (TAEG) --- */
.promo-badge {
    background-color: #ffffff !important; /* Fond blanc pur */
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-left: 4px solid #00ff88; /* Rappel du vert électrique */
}

/* Couleur du texte général dans le badge (Bleu) */
.promo-badge .message, 
.promo-badge .taeg {
    color: #004685 !important;
    font-weight: 700;
}

/* Vert Électrique pour le chiffre uniquement */
.promo-badge strong {
    color: #00ff88 !important; /* Vert électrique qui saute aux yeux */
    font-size: 1.2em;
    font-weight: 800;
}

/* --- 3. Maintien du Badge Top (Bleu/Blanc) --- */
.hero-badge-top {
    background-color: #004685; /* Bleu foncé */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero {
    margin-top: -50px; /* Remontée vers le header */
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.hero-trust {
    margin-top: 35px;
    display: flex;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1); /* Un peu plus vif pour la visibilité */
    padding: 5px 15px;
    border-radius: 50px;
    transition: transform 0.3s ease;
}

.trust-item span {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.trust-item i {
    color: #ffffff !important; 
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}


/* --- SECTION ALLIÉ (NOUVELLES CLASSES UNIQUES) --- */
.alli-wrapper {
    background-color: #f8fafd !important;
    padding: 100px 0 !important;
    width: 100% !important;
    display: block !important;
    font-family: 'Poppins', sans-serif;
}

.alli-container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

.alli-header {
    text-align: center;
    margin-bottom: 60px;
}

.alli-pre {
    color: #00c4cc;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 13px;
    display: block;
}

.alli-title {
    color: #002d58;
    font-size: 38px !important;
    font-weight: 800 !important;
    margin-top: 15px !important;
}

.alli-desc {
    color: #64748b;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 17px;
}

/* Grille et Cartes */
.alli-grid {
    display: flex !important;
    gap: 30px !important;
}

.alli-card {
    background: #ffffff !important;
    padding: 50px 30px !important;
    border-radius: 15px !important;
    border: 1px solid #edf2f7 !important;
    flex: 1 !important;
    text-align: center;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
}

.alli-card:hover {
    transform: translateY(-10px) !important;
    border-color: #00c4cc !important;
    box-shadow: 0 15px 35px rgba(0, 196, 204, 0.1) !important;
}

.alli-icon {
    width: 70px !important;
    height: 70px !important;
    background: rgba(0, 196, 204, 0.1) !important;
    color: #00c4cc !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 25px !important;
    font-size: 28px !important;
}

.alli-info h3 {
    color: #002d58;
    font-size: 22px !important;
    margin-bottom: 15px !important;
    font-weight: 700;
}

.alli-info p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}


/* --- SECTION AVIS (Désign Épuré) --- */

rev-carousel { 
    background-color: #f4f7fa; 
    padding: 80px 0; 
    overflow: hidden; 
    /* Remontée sur la section précédente */
    margin-top: -40px !important; 
    position: relative;
    z-index: 5;
    
}


.rev-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.rev-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.rev-header h2 { 
    color: #002d58; 
    font-size: 32px; 
    font-weight: 800; 
    margin-bottom: 10px;
}

.rev-header p { 
    color: #64748b; 
    font-size: 16px;
}

/* Grille défilante */
.rev-grid { 
    display: flex; 
    gap: 25px; 
    overflow-x: auto; 
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Cache la barre sur Firefox */
}

.rev-grid::-webkit-scrollbar { display: none; } /* Cache la barre sur Chrome/Safari */

.rev-card {
    min-width: 350px;
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    scroll-snap-align: center;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.rev-card:hover { transform: translateY(-5px); }

/* Étoiles en FontAwesome */
.rev-stars { 
    color: #ffb400; 
    margin-bottom: 20px; 
    font-size: 14px; 
    display: flex;
    gap: 3px;
}

.rev-card p { 
    color: #475569; 
    font-size: 15px;
    line-height: 1.7; 
    margin-bottom: 25px; 
    font-style: italic;
}

.rev-name { 
    font-weight: 700; 
    color: #002d58; 
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dots */
.rev-dots { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 10px;
}

.rev-dot { 
    width: 8px; 
    height: 8px; 
    background: #cbd5e1; 
    border-radius: 50%; 
    cursor: pointer; 
}

rev-dots { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 20px;
    /* Cet espace pousse la section FAQ vers le bas */
    margin-bottom: 50px !important; 
}

/* On s'assure que la section témoignages laisse de la place en bas */
.rev-carousel {
    padding-bottom: 30px !important; /* Espace interne en bas de section */
}

.rev-dot.rev-active { 
    background: #00c4cc; 
    width: 25px; 
    border-radius: 10px; 
}

/* Responsive Mobile */
@media (max-width: 1024px) {
    .rev-card { min-width: 85%; padding: 25px; }
    .rev-header h2 { font-size: 26px; }
}


/* --- SECTION FAQ --- */
.qa-section { 
    background-color: #ffffff; 
    padding-top: 80px;
    padding-bottom: 120px !important; /* L'espace crucial pour ne pas coller au footer */
}

.qa-container { 
    max-width: 850px; 
    margin: 0 auto; 
    padding: 0 25px; 
}

.qa-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.qa-header h2 { 
    color: #002d58; 
    font-size: 34px; 
    font-weight: 800; 
}

.qa-item { 
    border: 1px solid #edf2f7; 
    border-radius: 12px; 
    margin-bottom: 15px; 
    background: #f8fafd;
    transition: all 0.3s ease;
}

.qa-question {
    width: 100%;
    padding: 22px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 17px;
    color: #002d58;
    cursor: pointer;
    text-align: left;
}

.qa-icon { 
    font-size: 22px; 
    color: #00c4cc; 
    transition: transform 0.3s ease;
}

.qa-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-out; 
    background: #ffffff;
}

.qa-answer p { 
    padding: 20px 25px; 
    color: #5b748e; 
    line-height: 1.7; 
    border-top: 1px solid #edf2f7;
}

/* État actif quand on clique */
.qa-item.active { border-color: #00c4cc; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.qa-item.active .qa-icon { transform: rotate(45deg); color: #ff5e5e; }
.qa-item.active .qa-answer { max-height: 300px; } /* Ajustez selon la longueur du texte */


/* --- STYLE DES DROPDOWNS SUR PC (Bureau) --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none; /* Caché par défaut */
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
}

/* Affiche le menu au survol sur PC */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background: #f1f5f9;
}

/* ============================================================
   1. SECTION PRODUITS (GRILLE)
   ============================================================ */
.prod-wrapper { background: #ffffff; padding: 80px 0; width: 100%; }
.prod-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.prod-main-title { text-align: center; margin-bottom: 50px; color: #002d58; }
.prod-main-title i { font-size: 45px !important ; color: #00c4cc; margin-bottom: 15px; }

.prod-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur PC */
    gap: 30px; 
}

.prod-block {
    background: #f8fafd;
    padding: 30px;
    border-radius: 20px;
    text-decoration: none !important;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #edf2f7;
}

.prod-block:hover { transform: translateY(-10px); border-color: #00c4cc; }

.prod-img-box { height: 120px; margin-bottom: 20px; }
.prod-img-box img { max-height: 100%; object-fit: contain; }

.prod-block h3 { color: #002d58; margin-bottom: 10px; font-size: 20px; }
.prod-block p { color: #64748b; font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.prod-link { color: #00c4cc; font-weight: 700; font-size: 14px; }

/* ============================================================
   2. SECTION TIMELINE (PARCOURS)
   ============================================================ */
.time-wrapper { background: #f0f7ff; padding: 100px 0; overflow: hidden; }
.time-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.time-flex { display: flex; align-items: center; gap: 60px; }

.time-content { flex: 1; }
.time-header h2 { color: #002d58; font-size: 36px; margin-bottom: 15px; }
.time-hl { color: #00c4cc; }
.time-count { background: #002d58; color: #fff; padding: 2px 10px; border-radius: 5px; }

.time-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.time-num { 
    background: #002d58; color: #fff; width: 40px; height: 40px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-weight: 800;
}

.time-text h3 { color: #002d58; font-size: 19px; margin-bottom: 5px; }
.time-text p { color: #5b748e; font-size: 15px; }

.time-visual { flex: 1; text-align: center; }
.time-img { max-width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1)); }

/* ============================================================
   3. RESPONSIVE (À METTRE DANS VOTRE @MEDIA 1024PX)
   ============================================================ */
@media (max-width: 1024px) {
    .prod-grid { 
        grid-template-columns: 1fr !important; 
        gap: 20px; 
        padding: 0 10px !important;
    }
    
    .prod-block {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .prod-container, .time-container { padding: 0 20px !important; }
    
    .prod-wrapper { 
        margin-top: -20px !important; /* Remontée demandée */
        padding: 50px 0 !important;
        overflow: hidden !important;
    }
    
    .time-flex { flex-direction: column !important; text-align: center; }
    .time-item { text-align: left; }
    .time-header h2 { font-size: 28px !important; }
    .time-img { width: 80%; margin-top: 40px; }
}

/* --- ADAPTATION RESPONSIVE SÉCURISÉE (Zéro Débordement) --- */
@media (max-width: 1024px) {
    .alli-wrapper {
        padding: 60px 0 !important;
        overflow: hidden !important; /* Sécurité anti-débordement */
    }

    .alli-container {
        padding: 0 20px !important; /* Réduit l'espace sur les côtés */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .alli-header {
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .alli-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    .alli-desc {
        font-size: 15px !important;
        padding: 0 10px;
    }

    /* La Grille : On passe en colonne proprement */
    .alli-grid {
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Les Cartes : On s'assure qu'elles ne dépassent jamais */
    .alli-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 35px 20px !important;
        box-sizing: border-box !important; /* Crucial pour éviter le débordement */
        flex: none !important; /* Désactive la flexibilité pour éviter les bugs de largeur */
    }

    .alli-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    .alli-info h3 {
        font-size: 20px !important;
    }
}

/* Petit ajustement pour les très petits écrans (iPhone SE, etc.) */
@media (max-width: 380px) {
    .alli-title {
        font-size: 22px !important;
    }
    
    .alli-card {
        padding: 25px 15px !important;
    }
}

/* --- CONFIGURATION MOBILE ET TABLETTE (Jusqu'à 1024px) --- */
@media (max-width: 1024px) {
    .flex-hero {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* 1. Ordre des éléments */
    .hero-badge-top { order: 1; margin-bottom: 15px; }
    .hero h1.shiny-title { order: 2; font-size: 32px !important; margin-bottom: 10px; padding: 0 20px; }
    .hero-content p { order: 3; font-size: 18px; margin-bottom: 25px; padding: 0 30px; }
    
    .hero-image-wrapper { 
        order: 4; 
        width: 100vw !important; /* Prend toute la largeur de l'écran */
        position: relative;
        /* Correction du centrage mathématique */
        margin-left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 0 !important;
    }

    .hero-full-img {
        width: 100% !important;
        border-radius: 0 !important;
        max-height: 400px; /* Plus haut sur tablette */
        object-fit: cover;
        display: block;
    }

    /* 2. Le Badge TAEG (Remonté pour ne pas cacher les visages) */
    .promo-badge {
        position: absolute;
        top: -20px; 
        left: 20px;
        z-index: 10;
        background-color: #ffffff !important;
        padding: 12px 20px !important;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
        transform: rotate(-2deg);
    }
    
    .promo-badge .taeg, .promo-badge strong {
        color: #004685 !important; /* Bleu pour l'écriture */
    }
    
    .promo-badge strong {
        color: #00ff88 !important; /* Vert électrique pour le chiffre */
        font-size: 22px !important;
        font-weight: bold;
    }

   /* 3. Le Simulateur (Plus aéré et spacieux) */
.simulation-box { 
    order: 5; 
    width: 90%;
    max-width: 600px; 
    margin-top: -30px !important; 
    z-index: 11; 
    position: relative;
    background-color: #ffffff !important;
    
    /* Padding augmenté pour plus d'espace sur les bords */
    padding: 50px 40px !important; 
    
    border-radius: 20px; /* Coins un peu plus doux pour aller avec l'espace */
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 30px; /* Ajoute un espace automatique entre chaque élément interne (input-group, bouton) */
}

/* On s'assure que les éléments à l'intérieur respirent aussi */
.simulation-box .input-group {
    margin-bottom: 10px;
}

.simulation-box label {
    display: block;
    margin-bottom: 15px; /* Plus d'espace sous le label "Je souhaite emprunter" */
    font-size: 17px;
    color: #002d58;
}

.simulation-box .btn-main {
    padding: 20px !important; /* Bouton plus grand et plus facile à cliquer */
    font-size: 18px !important;
    margin-top: 10px;
}


/* --- STYLE DE L'INPUT (PLUS GRAND ET AÉRÉ) --- */
.simulation-box .input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #00c4cc; /* Votre couleur turquoise */
    padding: 15px 5px !important; /* Espace interne de la zone de saisie */
    margin-top: 10px;
}

.simulation-box input#hero-amount {
    border: none !important;
    background: transparent !important;
    font-size: 32px !important; /* Chiffres bien visibles */
    font-weight: 800 !important;
    color: #002d58 !important; /* Votre bleu marine */
    width: 100% !important;
    outline: none !important;
    padding: 0 !important;
}

.simulation-box .input-wrapper span {
    font-size: 28px !important; /* Le symbole € assorti */
    font-weight: 700;
    color: #00c4cc;
    margin-left: 10px;
}

/* Effet au focus pour montrer que l'utilisateur écrit */
.simulation-box .input-wrapper:focus-within {
    border-bottom-color: #004685; /* Change de couleur quand on clique dessus */
    transition: border-color 0.3s ease;
}


    /* 4. Réassurance */
    .hero-trust { 
        order: 6; 
        margin-top: 40px; 
        flex-direction: column; 
        gap: 15px;
    }
    
    .hero {
        margin-top: -20px;
        padding-top: 30px;
        overflow-x: hidden; /* Sécurité pour éviter le scroll horizontal */
    }
}

/* FAQ Accordéon */
.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* C'est ce qui crée l'animation */
}

.qa-item.active .qa-icon {
    transform: rotate(45deg);
    color: #ffb400;
}

/* Carrousel */
.rev-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
}

.rev-card {
    min-width: 100%; /* Un témoignage par vue sur mobile */
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .rev-card { min-width: calc(33.33% - 20px); }
}

/* Dots */
.rev-dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: 0.3s;
  }

.rev-dot.rev-active {
    background: #ffb400;
    transform: scale(1.3);
}

    }



/* --- CONFIGURATION FINALE LANGUE --- */

/* Placement au centre du header (entre logo et menu) */
.mobile-lang-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* Prend l'espace disponible pour rester au milieu */
}

.unique-lang-component {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
}

/* Style du bouton (drapeau seul) */
#selected-lang {
    display: flex;
    align-items: center;
    padding: 5px;
    transition: transform 0.3s ease;
}

/* COMPORTEMENT HOVER : Légère mise en avant du drapeau */
#selected-lang:hover {
    transform: scale(1.1); /* Grossit légèrement au survol */
}

/* Style de la liste déroulante */
.unique-lang-list {
    display: none;
    position: absolute;
    top: 100%; /* Colle exactement au bord bas du conteneur du drapeau */
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 160px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 8px 0;
    margin-top: 0 !important; /* Supprime l'espace qui causait la fermeture */ 
    z-index: 10000;
}

/* Ajoutez ce bloc juste en dessous pour créer le pont invisible */
.unique-lang-list::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}


/* Hover sur les éléments de la liste */
.unique-lang-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.unique-lang-list li a:hover {
    background: #f1f5f9; /* Couleur de survol douce */
    color: #001f3f;      /* Votre couleur foncée */
}

#selected-lang {
    cursor: pointer;
}
.unique-lang-list li a {
    cursor: pointer;
}

/* AFFICHAGE PC (Hover) */
@media (min-width: 1025px) {
    .unique-lang-component:hover .unique-lang-list {
        display: block;
    }
}

/* AFFICHAGE MOBILE (Clic) */
@media (max-width: 1024px) {
    .unique-lang-component.is-open .unique-lang-list {
        display: block !important;
        position: absolute !important;
        background: white !important;
        border: 1px solid #eee !important;
    }
}


@media (max-width: 1024px) 
    {
    .mobile-lang-center {
        position: absolute !important;
        left: 60% !important;
        top: 40% !important;
        transform: translate(-60%, -40%) !important;
        width: auto !important;
        z-index: 10;
        margin: 0 !important;
        padding: 0 !important;
    }

    .logo img, #mobile-menu {
        flex-shrink: 0 !important;
    }

    /* La liste colle désormais parfaitement au drapeau en mobile */
    .unique-lang-component.is-open .unique-lang-list {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: 0 !important; /* CORRECTION : Changé de 15px à 0 */
        background: white !important;
        border: 1px solid #eee !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
}

/* --- SECTION TÉMOIGNAGES (VOTRE ALLIÉ - VERSION FINALE) --- */
.va-testimonial-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.va-testi-header {
    text-align: center;
    margin-bottom: 40px;
}

.va-testi-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Ajout de l'espace à gauche (décalage de 5%) */
    padding: 20px 0 20px 5% !important; 
}

.va-testi-grid {
    display: flex !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    /* Création d'un espace entre les cartes sans marges complexes */
    gap: 20px; 
}

.va-testi-card {
    /* Sur Mobile : on prend 85% de large pour voir un bout de la carte suivante */
    flex: 0 0 85% !important;
    min-width: 85% !important;
    padding: 30px;
    background: #fff;
    border: 1px solid #f1f1f1 !important;
    border-radius: 15px !important;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* --- AJUSTEMENTS PC --- */
@media (min-width: 1024px) {
    .va-testi-wrapper {
        /* Plus d'espace à gauche sur grand écran */
        padding-left: 8% !important;
    }

    .va-testi-card {
        /* Sur PC : on affiche environ 3 cartes avec le décalage */
        flex: 0 0 28% !important;
        min-width: 28% !important;
    }

    .va-testi-card:hover {
        /* Effet de Zoom au survol */
        transform: scale(1.05) !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
        z-index: 2;
        position: relative;
    }
}

/* --- ÉLÉMENTS INTERNES --- */
.va-testi-stars { 
    color: #ffb400; 
    margin-bottom: 15px; 
}

.va-testi-name { 
    display: block; 
    margin-top: 15px; 
    font-weight: bold; 
    color: #003366; 
}

/* --- NAVIGATION (DOTS) --- */
.va-testi-dots { 
    text-align: center; 
    margin-top: 30px; 
}

.va-testi-dot {
    display: inline-block;
    width: 10px; 
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.va-dot-active { 
    background: #003366; 
    width: 25px; 
    border-radius: 10px; 
}


/* Animation du Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Gris clair pour le fond */
    border-top: 5px solid #004a99; /* Votre Bleu */
    border-right: 5px solid #ff8c00; /* Votre Orange */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Optionnel : transition douce pour l'affichage */
#contact-success {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


