/* ==========================================================================
   Base CSS & Variables Globales (Syntaxe CSS valide avec --)
   ========================================================================== */
:root {
    --primary-color: #0A2540;    /* Bleu nordique profond */
    --accent-color: #00D4B2;     /* Vert menthe / finance */
    --accent-hover: #00B89B;
    --bg-main: #F8FAFC;          /* Fond gris très clair */
    --bg-white: #FFFFFF;
    --text-primary: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}


/* Fixation globale du bloc Supérieur */
.header-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1030; /* Assure que le menu reste au-dessus des autres éléments */
    width: 100%;
}

/* Style de la Top-Bar */
.top-bar {
    background-color: #0b1727;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    transition: opacity 0.2s ease;
}

.top-bar a:hover {
    opacity: 0.85;
}

.top-bar .text-whatsapp {
    color: #25D366 !important;
}

/* Configuration Mobile */
@media (max-width: 767.98px) {
    .top-bar-right {
        width: 100%;
        justify-content: center; 
        font-size: 0.75rem;
    }
}

   /* --------------------Header & Navigation------------------------ */

   .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.btn-nav {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-nav:hover {
    background-color: var(--accent-hover);
    color: var(--primary-color);
    transform: translateY(-1px);
}



   /* --------------Section Hero ---------------- */

   .hero-section {
    background-image: url('images/immobilier-pret-taux-zero-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 520px;
}

/* Superposition sombre pour garantir le contraste et la lisibilité du texte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.72) 0%, rgba(10, 37, 64, 0.58) 100%);    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.text-light-subtle {
    color: #E2E8F0 !important;
}

.bg-accent-light {
    background-color: rgba(0, 212, 178, 0.2);
}

.text-accent-bright {
    color: #00ffd5 !important;
}

/* Réduction de la carte du Hero */
.hero-card {
    max-width: 380px; /* Taille maximale restreinte */
    border: 1px solid var(--border-color) !important;
}

.extra-small {
    font-size: 0.725rem;
}

/* Style compact pour la notice légale */
.legal-example-text {
    font-size: 0.685rem;
    line-height: 1.3;
    color: var(--text-muted);
}

.check-icon {
    color: var(--accent-color);
}
/* Style du bouton principal CTA dans le Hero */
.btn-accent {
    background-color: #00d285; /* Accent vert Trustlandk */
    color: #0b1727; /* Emprunt de la teinte sombre pour le texte */
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover, 
.btn-accent:focus {
    background-color: #00b874;
    color: #0b1727;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 210, 133, 0.3) !important;
}

.btn-accent:active {
    transform: translateY(0);
}

/* Espacement du bouton dans la colonne gauche sur mobile */
@media (max-width: 991.98px) {
    .hero-cta-btn {
        text-align: center;
    }
    
    .hero-cta-btn .btn {
        width: 100%; /* S'adapte sur toute la largeur de l'écran sur mobile */
    }
}

/* ==========================================
   ANIMATION CONTINU DE FLOTTAISON (HERO CARD)
   ========================================== */

/* Keyframes : Mouvement continu léger de haut en bas */
@keyframes floatContinuous {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px); /* Élévation discrète de 8px */
    }
    100% {
        transform: translateY(0px);
    }
}

/* Application du mouvement continu sur la carte */
.hero-card {
    /* Mouvement fluide en boucle infinie (4 secondes) */
    animation: floatContinuous 4s ease-in-out infinite;
    transition: box-shadow 0.3s ease;
}

/* Pause légère de l'animation lors du survol pour faciliter l'interaction avec le formulaire */
.hero-card:hover {
    animation-play-state: paused;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

   /* ANIMATIONS D'APPARITION DU TEXTE (À GAUCHE) */

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge-tag {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 1, 0.5, 1) both;
}

#hero h1 {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.12s both;
}

#hero .lead {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.24s both;
}

.hero-features {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.36s both;
}

.hero-cta-btn {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.48s both;
}



/* -----------------SECTION À propos de l'offre---------------- */

/* Structure générale de la section Om tilbuddet */
#om-tilbuddet {
    border-bottom: 1px solid #E2E8F0;
}

/* Visibilité garantie des badges de section */
#om-tilbuddet .bg-light-accent,
#services .bg-light-accent {
    background-color: rgba(0, 212, 178, 0.12) !important;
    display: inline-block !important;
}

#om-tilbuddet .text-accent,
#services .text-accent {
    color: #00A389 !important; 
    font-weight: 600;
}

#om-tilbuddet .text-primary,
#services .text-primary {
    color: #0A2540 !important;
}

#om-tilbuddet .extra-small,
#services .extra-small {
    font-size: 0.8rem;
    line-height: 1.45;
}

/* Cartes de fonctionnalités (Om tilbuddet) */
.feature-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08) !important;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 212, 178, 0.10);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracking-wide {
    letter-spacing: 0.5px;
}

   /* Section : Services */

/* Cartes de services */
#services .feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#services .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.10) !important;
}

/* Conteneur d'icône (Services) */
#services .feature-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(0, 212, 178, 0.12);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Boutons d'action "Ansøg nu"*/
.btn-service-cta {
    background-color: #00D4B2;
    color: #0A2540;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.btn-service-cta:hover,
.btn-service-cta:focus {
    background-color: #00b89b;
    color: #0A2540;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.35) !important;
}

.btn-service-cta:active {
    transform: translateY(0);
}


/* --------------------SECTION COMMENT çA MARCHE---------------- */

#sadan-fungerer-det .bg-light-accent {
    background-color: rgba(0, 212, 178, 0.12) !important;
    display: inline-block !important;
}

#sadan-fungerer-det .text-accent {
    color: #00A389 !important;
    font-weight: 600;
}

#sadan-fungerer-det .text-primary {
    color: #0A2540 !important;
}

/* Badge numéroté d'étape (Éléments d'action) */
#sadan-fungerer-det .step-number-badge {
    width: 52px;
    height: 52px;
    min-width: 52px; 
    min-height: 52px;
    background-color: #00D4B2 !important;
    color: #0A2540 !important;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.25);
    transition: transform 0.25s ease;
    position: relative;
    z-index: 2; 
    visibility: visible !important;
    opacity: 1 !important;
}

/* Interaction au survol du bloc étape */
#sadan-fungerer-det .step-card:hover .step-number-badge,
#sadan-fungerer-det .step-number-badge:hover {
    transform: scale(1.08);
    background-color: #00b89b !important;
}

#sadan-fungerer-det .process-step:hover .step-number-badge {
    transform: scale(1.08);
}


   /*-------------- Section : Om os ---A PROPOS---------------*/

#om-os {
    border-bottom: 1px solid #E2E8F0;
}

/* Badge & Couleurs de la section */
#om-os .bg-light-accent {
    background-color: rgba(0, 212, 178, 0.12) !important;
}

#om-os .text-accent {
    color: #00A389 !important; 
}

#om-os .text-primary {
    color: #0A2540 !important;
}

#om-os .extra-small {
    font-size: 0.8rem;
    line-height: 1.45;
}

/* Pastille d'état verte */
#om-os .status-dot {
    width: 8px;
    height: 8px;
    background-color: #00D4B2;
    border-radius: 50%;
    display: inline-block;
}

/* Container Timeline */
#om-os .about-timeline {
    position: relative;
    padding-left: 2rem;
}

/* Ligne verticale de la timeline */
#om-os .about-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 11px;
    width: 2px;
    background-color: #E2E8F0;
    z-index: 1;
}

/* Éléments de la timeline */
#om-os .about-timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Marqueurs numérotés de la timeline */
#om-os .timeline-marker {
    position: absolute;
    left: -32px;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 212, 178, 0.15);
    color: #00A389;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 2px solid #ffffff;
}

/* Bouton CTA principal */
#om-os .btn-service-cta {
    background-color: #00D4B2;
    color: #0A2540;
    border: none;
    transition: all 0.25s ease-in-out;
}

#om-os .btn-service-cta:hover,
#om-os .btn-service-cta:focus {
    background-color: #00b89b;
    color: #0A2540;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.25) !important;
}

/* Survol de la carte récapitulative de droite */
#om-os .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#om-os .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(10, 37, 64, 0.08) !important;
}

/* ------------ Responsive Mobile (< 768px) ------------ */

@media (max-width: 767.98px) {
    /* Centrage du bloc de gauche */
    #om-os .col-lg-7 {
        text-align: center;
    }

    /* Retrait de la ligne verticale et du padding de la timeline sur mobile */
    #om-os .about-timeline {
        padding-left: 0 !important;
    }

    #om-os .about-timeline::before {
        display: none;
    }

    /* Recentrage des puces de la timeline au-dessus des titres */
    #om-os .timeline-marker {
        position: static;
        margin: 0 auto 8px auto;
    }

    #om-os .about-timeline-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


   /* ------------Section : Anmeldelser (Avis clients & Preuve sociale) -------------*/


#anmeldelser {
    --primary-color: #0A2540;
    --accent-color: #00D4B2;
    --border-color: #E2E8F0;
    --bg-card: #F8FAFC;
    border-bottom: 1px solid var(--border-color);
}

/* Typographie & Utilitaires de la section */
#anmeldelser .text-primary {
    color: var(--primary-color) !important;
}

#anmeldelser .text-accent {
    color: var(--accent-color) !important;
}

#anmeldelser .bg-light-accent {
    background-color: rgba(0, 212, 178, 0.12) !important;
    color: #00A389 !important;
}

#anmeldelser .extra-small {
    font-size: 0.825rem;
}

/* Score global et étoiles */
#anmeldelser .rating-stars {
    letter-spacing: 2px;
    font-family: Arial, sans-serif;
}

/* Styles des cartes de témoignages */
#anmeldelser .card {
    background-color: var(--bg-card) !important;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#anmeldelser .card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.08) !important;
}

#anmeldelser .card .border-top {
    border-top-color: var(--border-color) !important;
}

   /*  Responsive (Mobile & Tablette) */

/* Tablettes & Mobiles (< 992px) */

@media (max-width: 991.98px) {
    #anmeldelser {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Mobiles (< 768px) */
@media (max-width: 767.98px) {
    #anmeldelser .text-center {
        text-align: center !important;
    }

    /* Réalignement du bloc de note global sur mobile */
    #anmeldelser .d-flex.align-items-center.justify-content-center {
        flex-direction: column;
        gap: 0.25rem !important;
    }

    /* Centrage du contenu à l'intérieur des cartes sur petit écran */
    #anmeldelser .card {
        text-align: center;
        padding: 1.5rem !important;
    }

    #anmeldelser .card .border-top {
        margin-top: 0.75rem !important;
        padding-top: 0.75rem !important;
    }
}

   /* ------------------Section 6 : FAQ avec image et bouton CTA à gauche------------------ */

/* Badge de section personnalisé */
#faq .bg-light-accent {
    background-color: rgba(0, 212, 178, 0.12) !important;
}

#faq .text-accent {
    color: #00A389 !important; 
}

/* Utilitaires de texte de la section */
#faq .text-primary {
    color: #0A2540 !important;
}

#faq .extra-small {
    font-size: 0.8rem;
    line-height: 1.45;
}

/* Bouton CTA d'action principal */
#faq .btn-service-cta {
    background-color: #00D4B2;
    color: #0A2540;
    border: none;
    transition: all 0.25s ease-in-out;
}

#faq .btn-service-cta:hover,
#faq .btn-service-cta:focus {
    background-color: #00b89b;
    color: #0A2540;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.25) !important;
}

/* Accordéon FAQ */
#faq .accordion-button:not(.collapsed) {
    background-color: #F8FAFC !important;
    color: #0A2540 !important;
    box-shadow: none;
}

#faq .accordion-button:focus {
    box-shadow: none;
    border-color: #E2E8F0;
}

#faq .accordion-button::after {
    transition: transform 0.2s ease-in-out;
}

/* Note de transparence et de responsabilité */
#faq .border {
    border-color: #E2E8F0 !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    #faq {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}


   /* Section : Betingelser & Representatif exemple */

#betingelser {
    border-bottom: 1px solid #E2E8F0;
}

/* Badge de section */
#betingelser .bg-light-accent {
    background-color: rgba(0, 212, 178, 0.12) !important;
    display: inline-block !important;
}

#betingelser .text-accent {
    color: #00A389 !important;
    font-weight: 600;
}

#betingelser .text-primary {
    color: #0A2540 !important;
}

#betingelser .extra-small {
    font-size: 0.8rem;
    line-height: 1.45;
}

/* Icônes de validation des conditions */
#betingelser .condition-check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: rgba(0, 212, 178, 0.15);
    color: #00A389;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Effet de survol sur les cartes */
#betingelser .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#betingelser .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.06) !important;
}

   /*---------------- Section : Ansøgning (demande)----------------------- */

#ansog {
    border-bottom: 1px solid #E2E8F0;
    overflow-x: hidden;
}

/* Utilitaires de centrage & largeur max sur mobile */
.max-w-lg {
    max-width: 540px;
}

@media (min-width: 992px) {
    .max-w-lg-none {
        max-width: none !important;
    }
}

.text-balance {
    text-wrap: balance;
}

#ansog .bg-light-accent {
    background-color: rgba(0, 212, 178, 0.12) !important;
}

#ansog .text-accent {
    color: #00A389 !important;
    font-weight: 600;
}

#ansog .text-primary {
    color: #0A2540 !important;
}

#ansog .extra-small {
    font-size: 0.8rem;
    line-height: 1.45;
}

/* Optimisation tactile Checkbox */
#ansog .form-check {
    padding-left: 1.8em;
}

#ansog .form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-left: -1.8em;
    cursor: pointer;
}

#ansog .form-check-input:checked {
    background-color: #00D4B2;
    border-color: #00D4B2;
}

/* Icônes de réassurance */
#ansog .form-check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: rgba(0, 212, 178, 0.15);
    color: #00A389;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Badges de progression */
#ansog .step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #E2E8F0;
    color: #0A2540;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

#ansog .step-badge.active {
    background-color: #00D4B2 !important;
    color: #0A2540 !important;
    box-shadow: 0 2px 8px rgba(0, 212, 178, 0.3);
}

#ansog .step-line {
    height: 2px;
    background-color: #E2E8F0;
}

/* Inputs & Formulaires (Prévient le zoom auto) */
#ansog .form-control,
#ansog .form-select {
    padding: 0.75rem 0.9rem;
    font-size: 16px !important; 
    color: #0A2540;
}

#ansog .form-control:focus,
#ansog .form-select:focus {
    border-color: #00D4B2;
    box-shadow: 0 0 0 3px rgba(0, 212, 178, 0.15);
}

/* Boutons adaptés mobile */
#ansog .btn-service-cta {
    background-color: #00D4B2;
    color: #0A2540;
    border: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    touch-action: manipulation;
}

#ansog .btn-service-cta:hover,
#ansog .btn-service-cta:focus {
    background-color: #00b89b;
    color: #0A2540;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.25) !important;
}

/* Ajustements sous 576px (Mobiles étroits) */
@media (max-width: 575.98px) {
    #ansog {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }
    
    #ansog h2 {
        font-size: 1.65rem;
    }
    
    #ansog .card {
        border-radius: 16px !important;
    }
}


 
   /* -------------Section : Fordele (Avantages)----------------- */

   #ansog .badge.bg-light-accent,
#fordele .badge.bg-light-accent {
    background-color: #E6F8F5 !important; 
    color: #007A67 !important;            
    border: 1px solid rgba(0, 212, 178, 0.3) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    display: inline-block !important;      
    visibility: visible !important;
    opacity: 1 !important;
}
#fordele {
    background-color: #F8FAFC !important;
}

/* Style des cartes d'avantages */
#fordele .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* Effet au survol (desktop) */
#fordele .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(10, 37, 64, 0.08) !important;
}

/* Bulle d'icône */
.benefit-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(0, 212, 178, 0.12);
    color: #00A389;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bouton d'action sous la section */
#fordele .btn-service-cta {
    background-color: #00D4B2;
    color: #0A2540;
    border: none;
    transition: all 0.25s ease;
    touch-action: manipulation;
}

#fordele .btn-service-cta:hover,
#fordele .btn-service-cta:focus {
    background-color: #00b89b;
    color: #0A2540;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.25);
}

/* Adaptation mobile sous 576px */
@media (max-width: 575.98px) {
    #fordele {
        padding-top: 2rem !important;
        padding-bottom: 2.5rem !important;
    }

    #fordele .card {
        padding: 1.25rem !important;
    }
}

   /* --------------- (Centrage Mobile)--------- */

#hvordan-fungerer {
    background-color: #FFFFFF !important;
}

/* Badge de section */
#hvordan-fungerer .badge.bg-light-accent {
    background-color: #E6F8F5 !important;
    color: #007A67 !important;
    border: 1px solid rgba(0, 212, 178, 0.3) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Rond de numéro d'étape */
.step-number-circle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background-color: #E6F8F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Encadré des taux légaux */
.rate-info-box {
    background-color: #F8FAFC;
    border-color: #E2E8F0 !important;
}

@media (min-width: 576px) {
    .border-end-sm {
        border-right: 1px solid #E2E8F0 !important;
    }
}

/* Illustration Graphique CSS */
.loan-illustration-card {
    background-color: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

.illustration-bg-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 178, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.illustr-connector {
    width: 2px;
    height: 16px;
    background-color: #00D4B2;
    opacity: 0.6;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.border-accent {
    border-color: #00D4B2 !important;
}

/* Bouton CTA */
#hvordan-fungerer .btn-service-cta {
    background-color: #00D4B2;
    color: #0A2540;
    border: none;
    transition: all 0.25s ease;
    touch-action: manipulation;
}

#hvordan-fungerer .btn-service-cta:hover {
    background-color: #00b89b;
    color: #0A2540;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.25);
}

/* Correctif Mobile (< 992px) */
@media (max-width: 991.98px) {
    #hvordan-fungerer {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .rate-info-box {
        text-align: center !important;
    }
}


   /* ----------------Styles  #kontakt--------------------------------- */

/* Structure de la section et conteneurs */
#kontakt {
    background-color: var(--bg-main, #F8FAFC) !important;
}

#kontakt .max-w-lg {
    max-width: 32rem;
}

#kontakt .max-w-lg-none {
    max-width: none;
}

#kontakt .extra-small {
    font-size: 0.8125rem !important;
    line-height: 1.45;
}

#kontakt .text-balance {
    text-wrap: balance;
}

/* Visibilité et style des badges */
#kontakt .badge,
#kontakt .badge.bg-light-accent {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 212, 178, 0.12) !important;
    color: #007A67 !important;
    border: 1px solid rgba(0, 212, 178, 0.35) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    border-radius: 50rem !important;
}

/* Formulaire de contact */
#kontakt .form-control {
    padding: 0.75rem 0.9rem;
    font-size: 16px !important; /* Empêche le zoom automatique sur les écrans iOS */
    color: var(--text-primary, #0F172A);
    border-color: var(--border-color, #E2E8F0);
    border-radius: var(--radius-sm, 6px);
}

#kontakt .form-control:focus {
    border-color: var(--accent-color, #00D4B2);
    box-shadow: 0 0 0 3px rgba(0, 212, 178, 0.18);
}

#kontakt .form-check-input:checked {
    background-color: var(--accent-color, #00D4B2);
    border-color: var(--accent-color, #00D4B2);
}

/* Boutons d'action (CTA) */
#kontakt .btn-service-cta {
    background-color: var(--accent-color, #00D4B2) !important;
    color: var(--primary-color, #0A2540) !important;
    border: none !important;
    border-radius: var(--radius-lg, 12px);
    transition: all 0.25s ease-in-out;
    touch-action: manipulation;
}

#kontakt .btn-service-cta:hover,
#kontakt .btn-service-cta:focus {
    background-color: var(--accent-hover, #00B89B) !important;
    color: var(--primary-color, #0A2540) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 212, 178, 0.25) !important;
}

/* Tableau d'exemples de crédit */
#kontakt .table {
    border-color: var(--border-color, #E2E8F0);
}

#kontakt .table th {
    font-weight: 500;
    width: 55%;
}

#kontakt .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #F1F5F9;
}

/* Responsive */
@media (max-width: 575.98px) {
    #kontakt {
        padding-top: 1.75rem !important;
        padding-bottom: 2.25rem !important;
    }

    #kontakt .card {
        padding: 1.25rem !important;
        border-radius: var(--radius-lg, 12px) !important;
    }

    #kontakt .btn-service-cta {
        width: 100% !important;
        display: block !important;
    }
}
/* État initial de la carte de droite (invisible et décalée vers le bas) */
.card-example-animated {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
    will-change: transform, opacity;
}

/* Effet au survol du bloc */
.card-example-animated:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.12) !important;
}

/* État initial des lignes du tableau */
.card-example-animated .anim-row {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* État activé une fois la carte dans la zone d'affichage (Viewport) */
.card-example-animated.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-example-animated.is-visible .anim-row {
    opacity: 1;
    transform: translateX(0);
}

/* Décalage progressif (stagger) pour chaque ligne du tableau */
.card-example-animated.is-visible .anim-row:nth-child(1) { transition-delay: 0.15s; }
.card-example-animated.is-visible .anim-row:nth-child(2) { transition-delay: 0.25s; }
.card-example-animated.is-visible .anim-row:nth-child(3) { transition-delay: 0.35s; }
.card-example-animated.is-visible .anim-row:nth-child(4) { transition-delay: 0.45s; }
.card-example-animated.is-visible .anim-row:nth-child(5) { transition-delay: 0.55s; }
.card-example-animated.is-visible .anim-row:nth-child(6) { transition-delay: 0.65s; }
.card-example-animated.is-visible .anim-row:nth-child(7) { transition-delay: 0.75s; }
  /* -------------------a-propos --------------------*/

#a-propos {
    background-color: var(--bg-white, #FFFFFF) !important;
}

#a-propos .max-w-lg {
    max-width: 32rem;
}

#a-propos .extra-small {
    font-size: 0.8125rem !important;
    line-height: 1.45;
}

#a-propos .text-balance {
    text-wrap: balance;
}

/* Badge de section */
#a-propos .badge,
#a-propos .badge.bg-light-accent {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 212, 178, 0.12) !important;
    color: #007A67 !important;
    border: 1px solid rgba(0, 212, 178, 0.35) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    border-radius: 50rem !important;
}

/* Icônes des cartes */
#a-propos .benefit-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 212, 178, 0.12);
    color: var(--accent-hover, #00B89B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive mobile */
@media (max-width: 575.98px) {
    #a-propos {
        padding-top: 1.75rem !important;
        padding-bottom: 2.25rem !important;
    }

    #a-propos .card {
        padding: 1.25rem !important;
        border-radius: var(--radius-lg, 12px) !important;
    }
}


   /* -----------------cta-final ----------*/

#cta-final {
    background-color: var(--primary-color, #0A2540) !important;
}

#cta-final .extra-small {
    font-size: 0.8125rem !important;
    line-height: 1.45;
}

#cta-final .text-balance {
    text-wrap: balance;
}

/* Badge dans la section sombre */
#cta-final .badge,
#cta-final .badge.bg-light-accent {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 212, 178, 0.15) !important;
    color: var(--accent-color, #00D4B2) !important;
    border: 1px solid rgba(0, 212, 178, 0.3) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    border-radius: 50rem !important;
}

/* Bouton CTA */
#cta-final .btn-service-cta {
    background-color: var(--accent-color, #00D4B2) !important;
    color: var(--primary-color, #0A2540) !important;
    border: none !important;
    border-radius: var(--radius-lg, 12px);
    transition: all 0.25s ease-in-out;
    touch-action: manipulation;
}

#cta-final .btn-service-cta:hover,
#cta-final .btn-service-cta:focus {
    background-color: var(--accent-hover, #00B89B) !important;
    color: var(--primary-color, #0A2540) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 178, 0.35) !important;
}

/* Responsive */
@media (max-width: 575.98px) {
    #cta-final {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #cta-final .btn-service-cta {
        width: 100% !important;
        display: block !important;
    }
}


/* ==========================================================================
   Styles spécifiques au composant : #cta-final
   ========================================================================== */

#cta-final {
    background-color: var(--primary-color, #0A2540) !important;
}

#cta-final .extra-small {
    font-size: 0.8125rem !important;
    line-height: 1.45;
}

#cta-final .text-balance {
    text-wrap: balance;
}

/* Badge dans la section sombre */
#cta-final .badge,
#cta-final .badge.bg-light-accent {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 212, 178, 0.15) !important;
    color: var(--accent-color, #00D4B2) !important;
    border: 1px solid rgba(0, 212, 178, 0.3) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    border-radius: 50rem !important;
}

/* Bouton CTA */
#cta-final .btn-service-cta {
    background-color: var(--accent-color, #00D4B2) !important;
    color: var(--primary-color, #0A2540) !important;
    border: none !important;
    border-radius: var(--radius-lg, 12px);
    transition: all 0.25s ease-in-out;
    touch-action: manipulation;
}

#cta-final .btn-service-cta:hover,
#cta-final .btn-service-cta:focus {
    background-color: var(--accent-hover, #00B89B) !important;
    color: var(--primary-color, #0A2540) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 178, 0.35) !important;
}

/* Responsive */
@media (max-width: 575.98px) {
    #cta-final {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #cta-final .btn-service-cta {
        width: 100% !important;
        display: block !important;
    }
}


/* Styling du bouton d'action principal */
.btn-service-cta {
    background-color: #00D4B2;
    color: #0A2540;
    border: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-service-cta:hover {
    background-color: #00b89b;
    color: #0A2540;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 178, 0.3);
}

/* Modal Pop-up : Personnalisation */
.modal-content {
    background-color: #FFFFFF;
    border-radius: 1rem;
}

.modal-backdrop.show {
    opacity: 0.6;
    background-color: #0A2540;
}

/* Typographies et utilitaires */
.extra-small {
    font-size: 0.85rem;
}

.max-w-lg {
    max-width: 32rem;
}

.text-accent {
    color: #00D4B2 !important;
}

.bg-light-accent {
    background-color: rgba(0, 212, 178, 0.1);
}

























/* ==========================================================================
   Styles spécifiques au composant : #privatliv
   ========================================================================== */

#privatliv {
    background-color: var(--bg-white, #FFFFFF) !important;
}

#privatliv .max-w-lg {
    max-width: 32rem;
}

#privatliv .extra-small {
    font-size: 0.8125rem !important;
    line-height: 1.6;
}

#privatliv .text-balance {
    text-wrap: balance;
}

/* Badge de section */
#privatliv .badge,
#privatliv .badge.bg-light-accent {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(0, 212, 178, 0.12) !important;
    color: #007A67 !important;
    border: 1px solid rgba(0, 212, 178, 0.35) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    border-radius: 50rem !important;
}

/* Liens à l'intérieur du texte juridique */
#privatliv .legal-content a {
    color: var(--accent-hover, #00B89B);
    transition: color 0.2s ease;
}

#privatliv .legal-content a:hover {
    color: var(--primary-color, #0A2540);
}

/* Liste à puces de la section juridique */
#privatliv .legal-content ul li {
    margin-bottom: 0.35rem;
}

/* Adaptations Mobile */
@media (max-width: 575.98px) {
    #privatliv {
        padding-top: 1.75rem !important;
        padding-bottom: 2.25rem !important;
    }

    #privatliv .card {
        padding: 1.25rem !important;
        border-radius: var(--radius-lg, 12px) !important;
    }
}




   /* Footer  */

.footer {
    background-color: #0b1727; 
    color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 2rem;
    width: 100%;
}

/* Grille des colonnes du footer */
.footer-col {
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-logo span {
    color: #00d285; /* Couleur verte de la marque */
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

.footer-col strong {
    color: #ffffff;
}

/* Liens des colonnes */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #00d285;
}

/* Lien spécifique WhatsApp */
.footer-col a.whatsapp-link {
    color: #25D366;
    font-weight: 600;
    text-decoration: underline;
}

.footer-col a.whatsapp-link:hover {
    color: #1eb954;
}

/* ==========================================
   BAS DU FOOTER (RÉSOLUTIONS DE CENTRAGE)
   ========================================== */
.footer-bottom {
    width: 100%;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Texte Copyright */
.footer-bottom p {
    margin: 0 0 0.85rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

/* Blok Disclaimer & Badge */
.disclaimer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.important-badge {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}

.footer-bottom .disclaimer {
    font-size: 0.775rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .footer {
        padding-top: 2.5rem;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 2rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .footer-bottom .disclaimer {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }
}

/* Bannière de consentement */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0b1727; /* Même teinte sombre que le footer */
    border-top: 2px solid #00d285; /* Accent vert Trustlandk */
    color: #ffffff;
    padding: 1.25rem 0;
    z-index: 9999;
    display: none; /* Masqué par défaut, affiché via JS */
}

.cookie-banner .extra-small {
    font-size: 0.8rem;
    line-height: 1.4;
}

.cookie-banner .text-accent {
    color: #00d285 !important;
}

/* Adaptations mobiles */
@media (max-width: 991px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    .cookie-banner .btn {
        width: 50%;
    }
}

/*--------------------------------------------


/*   SECTION MERCI / SUCCÈS (DESIGN MODERNE & CENTRAGE PARFAIT) */

.success-section-wrapper {
    min-height: calc(100vh - 380px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f1f5f9 60%, #e2e8f0 100%);
    padding: 3.5rem 1rem;
}

/* Halos lumineux en arrière-plan (Effet Glow) */
.success-section-wrapper::before,
.success-section-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.success-section-wrapper::before {
    width: 380px;
    height: 380px;
    background: #0d6efd;
    top: -100px;
    left: 50%;
    transform: translateX(-150%);
    animation: floatGlow 10s ease-in-out infinite alternate;
}

.success-section-wrapper::after {
    width: 420px;
    height: 420px;
    background: #10b981;
    bottom: -120px;
    left: 50%;
    transform: translateX(50%);
    animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

.success-section-wrapper .container {
    position: relative;
    z-index: 3;
}

/* CARTE DE CONFIRMATION : Nouveau Style Premium */
.success-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 
        0 20px 40px -15px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ligne d'accent supérieure en dégradé */
.success-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd 0%, #10b981 100%);
}

/* ICÔNE DE SUCCÈS : Animée avec double anneau */
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 8px rgba(16, 185, 129, 0.1),
        0 8px 20px rgba(16, 185, 129, 0.15);
    animation: popInSuccess 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-icon {
    width: 40px;
    height: 40px;
    stroke: #10b981;
}

/* Badge d'état */
.success-badge {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50rem;
    letter-spacing: 0.4px;
}

/* Encadré des étapes suivantes */
.next-steps-box {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    max-width: 420px; /* Limite la largeur pour garder un rendu compact sur PC */
    width: 100%;
}

.step-icon {
    font-size: 1.3rem;
    line-height: 1;
    display: inline-block;
}

.extra-small {
    font-size: 0.8125rem;
}

/* Bouton principal de retour */
.btn-success-action {
    background-color: #00d2a0 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 210, 160, 0.25);
}

.btn-success-action:hover {
    background-color: #00b88d !important;
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 210, 160, 0.35);
}

/* KEYFRAMES ANIMATIONS */
@keyframes popInSuccess {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    80% {
        transform: scale(1.12);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(20px, 15px) scale(1.08);
    }
}

/* ADAPTATION MOBILE ET TABLETTE (Centrage & Spacing) */
@media (max-width: 767.98px) {
    .success-section-wrapper {
        min-height: auto;
        padding: 2.5rem 0.75rem;
    }

    .success-card {
        padding: 2rem 1.25rem !important;
        border-radius: 18px;
    }

    .success-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .success-icon {
        width: 34px;
        height: 34px;
    }
}
