/* ============================================================
   SL LOKAL KREDIT — STYLE PRINCIPAL
   Charte graphique : bleu nuit #1B3A5C + vert #7AB648
   ============================================================ */

/* ------------------------------------------------------------
   1. VARIABLES GLOBALES (CHARTE)
   ------------------------------------------------------------ */
:root {
    /* Couleurs principales (logo) */
    --color-primary:        #1B3A5C;
    --color-primary-light:  #2E5A87;
    --color-primary-dark:   #0F2338;
    --color-accent:         #7AB648;
    --color-accent-light:   #A8D46F;
    --color-accent-dark:    #5A8E2E;

    /* Fonds */
    --bg-light:             #F7F9FC;
    --bg-white:             #FFFFFF;
    --bg-dark:              #0F2338;

    /* Textes */
    --text-primary:         #1B3A5C;
    --text-secondary:       #4F6379;
    --text-muted:           #8B9AAB;
    --text-light:           #FFFFFF;

    /* Couleurs européennes */
    --eu-blue:              #003399;
    --eu-yellow:            #FFCC00;

    /* Ombres */
    --shadow-sm:            0 2px 6px rgba(10, 37, 64, 0.06);
    --shadow-md:            0 8px 24px rgba(10, 37, 64, 0.08);
    --shadow-lg:            0 20px 50px rgba(10, 37, 64, 0.12);
    --shadow-accent:        0 8px 24px rgba(122, 182, 72, 0.25);
    --shadow-primary:       0 8px 24px rgba(27, 58, 92, 0.25);

    /* Arrondis */
    --radius-sm:            10px;
    --radius-md:            16px;
    --radius-lg:            24px;
    --radius-xl:            40px;
    --radius-pill:          60px;

    /* Transitions */
    --transition-fast:      0.15s ease;
    --transition-base:      0.25s ease;
    --transition-slow:      0.4s ease;

    /* Typographie */
    --font-heading:         'Poppins', 'Montserrat', sans-serif;
    --font-body:            'Inter', 'Open Sans', sans-serif;

    /* Conteneur */
    --container-max:        1200px;
    --container-pad:        20px;

    /* Header */
    --header-height:        80px;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ------------------------------------------------------------
   3. TYPOGRAPHIE
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
    color: var(--text-secondary);
}

strong { color: var(--text-primary); font-weight: 700; }

.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ------------------------------------------------------------
   4. CONTENEUR & SECTIONS
   ------------------------------------------------------------ */
.container {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-sm { padding: 50px 0; }
.section-lg { padding: 120px 0; }

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-light);
}

.section-dark p { color: rgba(255, 255, 255, 0.8); }

.section-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--text-light);
}

.section-gradient h2,
.section-gradient h3 { color: var(--text-light); }

.section-gradient p { color: rgba(255, 255, 255, 0.9); }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.section-title .accent-line {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 4px;
    margin-top: 10px;
}

/* ------------------------------------------------------------
   5. IMAGES RESPONSIVES (adaptation automatique)
   ------------------------------------------------------------ */
.responsive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

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

/* ------------------------------------------------------------
   6. BOUTONS
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 58, 92, 0.35);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--text-light);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(122, 182, 72, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--color-primary);
    border-color: var(--text-light);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--text-light);
}

.btn-whatsapp:hover {
    background-color: #1EA855;
    color: var(--text-light);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ------------------------------------------------------------
   7. CARTES
   ------------------------------------------------------------ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 58, 92, 0.06);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(122, 182, 72, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 24px;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--color-primary);
}

.card p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* ------------------------------------------------------------
   8. BADGES
   ------------------------------------------------------------ */
.badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: var(--text-light);
}

.badge-primary { background: var(--color-primary); }
.badge-accent  { background: var(--color-accent); }
.badge-urgent  { background: #FF4D4D; }
.badge-new     { background: #00B894; }
.badge-premium { background: linear-gradient(135deg, #C9A227, #FFCC00); color: #1B3A5C; }
.badge-eu      { background: var(--eu-blue); color: var(--text-light); }

/* ------------------------------------------------------------
   9. HEADER (sticky)
   ------------------------------------------------------------ */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header-inner {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 60px;
    flex-shrink: 0;
}

.header-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Sélecteurs langue + devise */
.lang-switcher,
.currency-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--bg-light);
    border: 1px solid rgba(27, 58, 92, 0.1);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switcher:hover,
.currency-switcher:hover {
    border-color: var(--color-accent);
}

.lang-switcher img,
.eu-flag-icon {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
}

.currency-switcher select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    outline: none;
}

/* Menu hamburger (mobile) */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   10. HERO
   ------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-primary-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 92, 0.85) 0%,
        rgba(27, 58, 92, 0.65) 50%,
        rgba(122, 182, 72, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 40px var(--container-pad);
}

.hero-content h1 {
    color: var(--text-light);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-sub {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 30px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-badges .badge {
    padding: 8px 20px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-light);
    font-size: 28px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ------------------------------------------------------------
   11. GRILLES
   ------------------------------------------------------------ */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------
   12. CHIFFRES CLÉS (compteurs)
   ------------------------------------------------------------ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 58, 92, 0.06);
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/watermark-logo.png');
    background-repeat: repeat;
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    width: auto;
}

.footer h4 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.footer a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.footer-eu {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-eu img {
    width: 30px;
    height: 20px;
    border-radius: 3px;
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--text-light);
    transform: translateY(-3px);
    padding-left: 0;
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ------------------------------------------------------------
   14. BOUTONS FLOTTANTS
   ------------------------------------------------------------ */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    color: var(--text-light);
}

.float-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.float-whatsapp {
    background: linear-gradient(145deg, #34E27A 0%, #25D366 45%, #128C7E 100%);
    box-shadow:
        0 8px 20px rgba(37, 211, 102, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 18%;
    right: 18%;
    height: 32%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.float-whatsapp:hover {
    background: linear-gradient(145deg, #3DEE84 0%, #2BE070 45%, #14A08E 100%);
    box-shadow:
        0 14px 32px rgba(37, 211, 102, 0.55),
        0 6px 14px rgba(0, 0, 0, 0.22),
        inset 0 2px 5px rgba(255, 255, 255, 0.55),
        inset 0 -2px 5px rgba(0, 0, 0, 0.18);
    transform: scale(1.08);
}

.float-email { background: var(--color-primary); }
.float-email:hover { background: var(--color-primary-light); }


.float-top {
    background: rgba(27, 58, 92, 0.85);
    opacity: 0;
    pointer-events: none;
}

.float-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ------------------------------------------------------------
   15. BARRE DE PROGRESSION SCROLL
   ------------------------------------------------------------ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 1001;
    transition: width 0.1s linear;
}

/* ------------------------------------------------------------
   16. CARTES D'OFFRES
   ------------------------------------------------------------ */
.offer-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 58, 92, 0.06);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(122, 182, 72, 0.4);
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.offer-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.offer-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.offer-advantages {
    list-style: none;
    margin-bottom: 22px;
}

.offer-advantages li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.offer-advantages li::before {
    content: '✅';
    flex-shrink: 0;
}

.offer-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(122, 182, 72, 0.08);
    border-radius: var(--radius-sm);
    text-align: center;
}

/* ------------------------------------------------------------
   17. CARTES PARTENAIRES (défilement infini)
   ------------------------------------------------------------ */
.partners-marquee {
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partners-track img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all var(--transition-base);
}

.partners-track img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   18. TÉMOIGNAGES
   ------------------------------------------------------------ */
.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 58, 92, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #FFB800;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(27, 58, 92, 0.08);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-author-info strong {
    display: block;
    color: var(--color-primary);
    font-size: 15px;
}

.testimonial-author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ------------------------------------------------------------
   19. PROCESSUS (timeline)
   ------------------------------------------------------------ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin: 0 auto 20px;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-md);
}

.process-step:nth-child(2) .process-num { background: var(--color-primary-light); }
.process-step:nth-child(3) .process-num { background: var(--color-accent); }
.process-step:nth-child(4) .process-num { background: var(--color-accent-dark); }

.process-step h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ------------------------------------------------------------
   20. FORMULAIRE
   ------------------------------------------------------------ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-group label .req {
    color: #FF4D4D;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(27, 58, 92, 0.15);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(122, 182, 72, 0.12);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3A5C' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

/* ------------------------------------------------------------
   21. SLIDER (montants)
   ------------------------------------------------------------ */
.slider-wrapper {
    padding: 10px 0;
}

.slider-value {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 12px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    appearance: none;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--text-light);
    border: 3px solid var(--color-accent);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--text-light);
    border: 3px solid var(--color-accent);
    cursor: pointer;
}

/* ------------------------------------------------------------
   22. ANIMATIONS SCROLL
   ------------------------------------------------------------ */
.fade-in,
.slide-up,
.slide-in-left,
.slide-in-right,
.zoom-in {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in { transform: none; }
.slide-up { transform: translateY(40px); }
.slide-in-left { transform: translateX(-40px); }
.slide-in-right { transform: translateX(40px); }
.zoom-in { transform: scale(0.9); }

.fade-in.visible,
.slide-up.visible,
.slide-in-left.visible,
.slide-in-right.visible,
.zoom-in.visible {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------
   23. UTILITAIRES
   ------------------------------------------------------------ */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

.hidden { display: none; }
.visible { opacity: 1; }

/* Accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ------------------------------------------------------------
   FIN STYLE.CSS
   ------------------------------------------------------------ */