/* =========================================
   1. VARIABLES & GLOBAL
   ========================================= */
:root {
    --color-primary-purple: #6610f2;
    --color-primary-blue: #0d6efd;
    --color-text-dark: #212529;
    --color-text-muted: #6c757d;
    --color-bg-light: #fdfbff;
    --color-bg-lighter: #f8f9fa;
}

html,
body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* =========================================
   2. SECTION HERO
   ========================================= */
#hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: visible !important;
    background-color: #ffffff;
    background-image: radial-gradient(
        ellipse 75% 35% at bottom center,
        rgba(44, 130, 201, 0.5) 0%,
        rgba(253, 251, 255, 0) 70%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding-top: 140px !important;
    padding-bottom: 2rem;
}

@media (min-width: 992px) {
    #hero {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}
.hero-content h1 {
    font-size: 2.5rem;
}
@media (min-width: 992px) {
    .hero-content h1 {
        font-size: calc(1.475rem + 2.7vw);
    }
}

.hero-logo-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    height: 250px;
}
@media (min-width: 768px) {
    .hero-logo-container {
        height: 350px;
        margin-top: 3rem;
    }
}
@media (min-width: 992px) {
    .hero-logo-container {
        height: 400px;
    }
}

.hero-logo-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/bg-grid-36wij5v.webp");
    background-repeat: repeat;
    background-position: center;
    opacity: 0.8;
    z-index: 0;
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
}
.hero-mires-svg {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    height: 100%;
    object-fit: contain;
    opacity: 0.3;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Boutons */
.hero-buttons .btn {
    min-width: 240px;
    text-align: center;
}
@media (max-width: 767.98px) {
    .hero-buttons {
        width: 100%;
        padding: 0 1rem;
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 400px;
        margin-bottom: 0.5rem;
    }
}
.btn-webpresence-primary {
    background-color: var(--color-primary-blue);
    border-color: var(--color-primary-blue);
    color: #fff;
    font-weight: 500;
}
.btn-webpresence-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #fff;
}
.btn-webpresence-outline {
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--color-text-dark);
    font-weight: 500;
}
.btn-webpresence-outline:hover {
    border-color: var(--color-text-dark);
    background-color: var(--color-text-dark);
    color: #fff;
}

/* =========================================
   MISE À JOUR : EFFET DE SCAN (CENTRÉ & AJUSTÉ)
   ========================================= */

.hero-scan-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    overflow: hidden;
    pointer-events: none;

    width: 100%;
    max-width: 390px;

    height: 100%;
    max-height: 330px;
}

.hero-scan-bar {
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;

    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(13, 202, 240, 0) 10%,
        rgba(13, 202, 240, 0.05) 30%,
        rgba(13, 202, 240, 0.4) 50%,
        rgba(13, 202, 240, 0.05) 70%,
        rgba(13, 202, 240, 0) 90%,
        transparent 100%
    );

    filter: blur(25px);
    will-change: transform;
    /* CHANGEMENT ICI : 4s -> 7s pour ralentir */
    animation: scanHorizontalLoop 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Animation adaptée à la nouvelle largeur */
@keyframes scanHorizontalLoop {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    /* Comme la barre fait 150% de large, il faut la déplacer moins en % relatif pour sortir */
    100% {
        transform: translateX(180%);
        opacity: 0;
    }
}
@media (max-width: 767px) {
    #hero {
        /* Hauteur du menu fermé, bordures et espace autour de la barre flottante. */
        padding-top: calc(44px + 1.25rem + 2px + 1.5rem) !important;
    }

    /* 2. PLUS D'ESPACE ENTRE LES BOUTONS ET LE LOGO */
    .hero-logo-container {
        /* Marge POSITIVE pour créer du vide sous le dernier bouton */
        margin-top: 3rem !important;
        height: 250px;
    }

    /* 3. LE SCAN (Toujours parfait) */
    .hero-scan-container {
        max-width: 240px !important;
        max-height: 200px !important;
    }
}
/* =========================================
   3. SCROLL HORIZONTAL
   ========================================= */
#horizontal-scroll-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
}
.horizontal-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}
.horizontal-scroll-container {
    display: flex;
    width: 400%;
    height: 100vh;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    position: relative;
}
.horizontal-slide {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Effets Slide 1 */
.cloud-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35vh;
    z-index: 5;
    pointer-events: none;
    background-image: radial-gradient(
        ellipse 75% 100% at top center,
        rgba(44, 130, 201, 0.5) 2%,
        rgba(255, 255, 255, 0) 70%
    );
}
#slide-rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.taiko-grid-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    stroke: #adb5bd;
}

.taiko-lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    opacity: 0.9;
    overflow: visible;
}
.taiko-path {
    stroke-linecap: round;
    fill: none;
    animation: pulsePath 4s ease-in-out infinite alternate;
    will-change: stroke-dashoffset, transform;
}
@keyframes pulsePath {
    from {
        transform: translateY(-10px);
    }
    to {
        transform: translateY(10px);
    }
}

.taiko-chain {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 4px;
    top: -200px;
}
.taiko-sq {
    width: 8px;
    height: 8px;
}
.color-blue-1 .taiko-sq {
    background-color: #0dcaf0;
} /* Cyan vif */
.color-blue-2 .taiko-sq {
    background-color: #0d6efd;
} /* Bleu primaire */
.color-blue-3 .taiko-sq {
    background-color: #3dd5f3;
} /* Cyan clair */
.color-blue-4 .taiko-sq {
    background-color: #71a9fd;
} /* Bleu doux */

#logo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
#logo-mover {
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    will-change: transform;
}
@media (max-width: 768px) {
    #logo-mover {
        max-width: 250px;
    }
}

.scaling-lines-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 95vw;
    width: 310vw;
    height: auto;
    max-height: 150vh;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
    will-change: transform;
}
.slide-content-wrapper {
    position: relative;
    z-index: 10;
}
.slide-secure {
    padding-left: 10vw;
}
@media (max-width: 768px) {
    .scaling-lines-img {
        left: 80vw;
        width: 350vw;
        height: 100vh;
        max-height: none;
        object-fit: cover;
        top: 50%;
        transform: translateY(-50%);
    }
    .slide-content-wrapper {
        padding: 0 1.5rem;
    }
    .horizontal-slide h3.display-3 {
        font-size: 2.5rem;
    }
    .slide-secure {
        padding-left: 55vw !important;
    }
}

/* =========================================
   7. SECTION ABOUT (Le Blanc)
   ========================================= */
#about {
    position: relative;
    background-color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Overflow visible ici aussi par sécurité */
    overflow: visible;
    padding-top: 0;
    padding-bottom: 0;
}

.about-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.about-grid-fixed {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.about-grid-fixed::before {
    content: "";
    width: min(85vw, 1200px);
    height: min(85vw, 1200px);
    background-image: var(--about-grid-url, none);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    display: block;
    opacity: 0.6;
}

/* Texte (Blanc) */
.about-text-container {
    position: relative;
    z-index: 50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5vh;
    padding-bottom: 150px;
}

.text-taiko-pink {
    color: rgba(44, 130, 201, 0.5);
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
}
.about-title {
    letter-spacing: -1.5px;
    line-height: 1.1;
}

/* =========================================
   8. DÉCORATIONS DU BAS
   ========================================= */

.about-bottom-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 20;
}

/* --- HORIZON --- */
.cloud-horizon {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 15;
    /* Tu peux essayer 1.0 si c'est encore trop haut, ou 0.8 pour l'aplatir */
    transform: scaleY(1);

    transform-origin: bottom;
}
/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .cloud-group-massive {
        width: 1400px;
    }
    @keyframes floatSimple {
        0% {
            transform: translate3d(-50%, -65%, 0);
        }
        100% {
            transform: translate3d(-52%, -65%, 0) translateY(-15px);
        }
    }
    .cloud-small-right {
        width: 350px;
        right: -50px;
        bottom: -10px;
    }
    .rain {
        height: 800px;
    }
    @keyframes rainFall {
        100% {
            transform: translate3d(0, 800px, 0);
            opacity: 0;
        }
    }
}

/* =========================================
   9. FOOTER
   ========================================= */
.taiko-footer {
    position: relative;
    background: #000;
    z-index: 20; /* Le footer est au-dessus de la vague */
    overflow: visible !important; /* CRUCIAL : permet à la vague de dépasser en bas */
}

.taiko-footer .container {
    position: relative;
    z-index: 50;
    max-width: 760px;
    margin: 0 auto;
}

/* =========================================
   10. ROADMAP (Style Kinetic Taiko)
   ========================================= */

.roadmap-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.roadmap-step {
    position: relative;
    display: flex;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    /* MODIFICATION CLÉ : ISOLATION */
    z-index: 1;
    isolation: isolate;
}

/* Positionnement Alterné */
.step-left {
    justify-content: flex-start;
}
.step-right {
    justify-content: flex-end;
}

/* --- LES CARTES --- */
.roadmap-card {
    position: relative;
    width: 400px;
    max-width: 90vw;
    padding: 2rem;
    /* MODIFICATION : Fond plus opaque pour éviter la transparence excessive */
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid transparent;
    border-radius: 4px;
    /* MODIFICATION : Z-index explicite et positif */
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Typographie de la carte */
.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 👇👇👇 DÉBUT DE LA MISE À JOUR TEXTE JUSTIFIÉ 👇👇👇 */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.step-list li {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.step-list li strong {
    color: #fff;
    font-weight: 600;
}
.step-list .plus {
    font-weight: bold;
    font-family: monospace;
    font-size: 1.2em;
    line-height: 1.2;
    flex-shrink: 0;
}
.step-list .step-text {
    text-align: left;
    flex-grow: 1;
    hyphens: auto;
}
/* 👆👆👆 FIN DE LA MISE À JOUR 👆👆👆 */

/* --- COULEURS SPÉCIFIQUES --- */
.card-purple {
    border-image: linear-gradient(135deg, #6610f2, #0d6efd, transparent) 1;
    box-shadow: 0 10px 30px -10px rgba(102, 16, 242, 0.2);
}
.card-purple .plus {
    color: #6610f2;
}

.card-pink {
    border-image: linear-gradient(135deg, #d63384, #fd7e14, transparent) 1;
    box-shadow: 0 10px 30px -10px rgba(214, 51, 132, 0.2);
}
.card-pink .plus {
    color: #d63384;
}

.card-gold {
    border-image: linear-gradient(135deg, #ffc107, #fd7e14, transparent) 1;
    box-shadow: 0 10px 30px -10px rgba(255, 193, 7, 0.2);
}
.card-gold .plus {
    color: #ffc107;
}

/* --- LIGNES CINÉTIQUES (Décoration Arrière) --- */
.kinetic-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 200px;
    /* MODIFICATION : Z-index négatif relatif à l'isolation parente */
    z-index: -1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    transform: translate(-50%, -50%) skewY(-10deg);
}

.step-left .kinetic-lines {
    left: 70%;
    align-items: flex-start;
}
.step-right .kinetic-lines {
    left: 30%;
    align-items: flex-end;
}

.kinetic-lines span {
    display: block;
    height: 2px;
    border-radius: 2px;
    opacity: 0.5;
    width: 0;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.lines-purple span {
    background: linear-gradient(90deg, transparent, #6610f2, #0d6efd, transparent);
}
.lines-pink span {
    background: linear-gradient(90deg, transparent, #fd7e14, #d63384, transparent);
}
.lines-gold span {
    background: linear-gradient(90deg, transparent, #fd7e14, #ffc107, transparent);
}

.kinetic-lines span:nth-child(1) {
    margin-left: 0%;
    max-width: 80%;
}
.kinetic-lines span:nth-child(2) {
    margin-left: 10%;
    max-width: 60%;
}
.kinetic-lines span:nth-child(3) {
    margin-left: 5%;
    max-width: 90%;
}
.kinetic-lines span:nth-child(4) {
    margin-left: 15%;
    max-width: 50%;
}
.kinetic-lines span:nth-child(5) {
    margin-left: 8%;
    max-width: 70%;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .roadmap-wrapper {
        gap: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .step-left,
    .step-right {
        justify-content: center;
    }
    .roadmap-card {
        width: 100%;
        max-width: 100%;
    }
    .kinetic-lines {
        width: 100%;
        opacity: 0.3;
    }
    .step-left .kinetic-lines {
        left: 50%;
    }
    .step-right .kinetic-lines {
        left: 50%;
    }
}

/* =========================================
   11. SECTION FINALE (Image adaptée et non coupée)
   ========================================= */
#final-slide {
    position: relative;
    z-index: 1;

    /* 1. LA COULEUR DE FOND : Blanc pur */
    background-color: #ffffff;

    /* 2. L'IMAGE SVG : Réglages */
    background-position: center center;
    /* On empêche la répétition */
    background-repeat: no-repeat;
    /* 3. Mise en page du contenu */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Padding pour pousser le texte sous la vague du haut */
    padding-top: 350px;
    padding-bottom: 100px;
    margin-top: 0;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    #final-slide {
        padding-top: 250px;
        /* Sur mobile, on garde votre réglage actuel de 300px qui semble bien */
        /* Si vous voulez que ça s'adapte plus, mettez : background-size: 90% auto; */
        background-size: 300px auto;
    }
}

.cloud-horizon-bottom {
    position: absolute;
    /* On place le conteneur sous le footer */
    top: 100%;
    left: 0;
    width: 100%;
    height: 250px;
    transform-origin: center;
    transform: rotate(180deg) scaleY(1.5);
    z-index: 10;
    pointer-events: none;
}

/* =========================================
   12. SECTION FINALE - BARRE D'INSCRIPTION (CORRIGÉE V3)
   ========================================= */

.subscription-wrapper {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* La grande barre bleue dégradée : empile la ligne icône/formulaire puis le
   bloc de consentement, ce dernier en pleine largeur. */
.subscription-bar {
    background: linear-gradient(90deg, #0d6efd 0%, #0dcaf0 100%);
    border-radius: 25px;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    color: white;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.2);
}

/* La ligne icône/texte + formulaire (ancien comportement de .subscription-bar) */
.subscription-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

/* Partie Gauche (Texte) */
.sub-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.sub-icon-box {
    background-color: #ffffff;
    color: #0d6efd;
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.sub-text {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* --- LE FORMULAIRE (Partie Droite) --- */
.sub-right {
    flex-grow: 1;
    max-width: 640px;
}

/* Le <form> : simple conteneur bloc, empile la capsule et le consentement */
.sub-form {
    width: 100%;
}

/* Le conteneur BLANC (La Capsule) : uniquement input + bouton */
.sub-form-pill {
    background: #ffffff !important;
    border-radius: 100px !important; /* Arrondi max */
    padding: 4px; /* Espace autour du bouton */
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: none; /* Pas de bordure grise */
}

/* Bloc de consentement RGPD, sous la capsule : case + libellé court sur une
   ligne, détail RGPD en dessous pour une meilleure lisibilité. */
.newsletter-consent {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    margin-top: 1rem;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}
.newsletter-consent .form-check {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0 !important;
    margin: 0 0 0.4rem 0 !important;
    min-height: 0;
}
.newsletter-consent .form-check-label {
    margin: 0 !important;
}
.newsletter-consent-details {
    opacity: 0.85;
    line-height: 1.4;
}

/* Case à cocher : rendu entièrement maîtrisé (indépendant des variables
   internes de Bootstrap) pour garantir que la coche reste visible une fois
   cochée, y compris sur ce fond dégradé bleu. */
.newsletter-consent .form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    float: none !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}
.newsletter-consent .form-check-input:checked {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230d6efd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M4 10.5l4 4 8-9'/%3e%3c/svg%3e") !important;
}
.newsletter-consent .form-check-input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.4);
}

/* L'Input (Email) */
.sub-input {
    border: none !important; /* Enlève la bordure Bootstrap */
    background: transparent !important; /* Fond transparent pour voir le blanc du parent */
    padding-left: 1.5rem !important;
    height: 50px !important;
    font-size: 1rem;
    color: #495057;
    flex-grow: 1;
    border-radius: 100px 0 0 100px !important; /* Arrondi à gauche uniquement */
    box-shadow: none !important; /* Enlève l'ombre bleue Bootstrap au clic */
}
.sub-input:focus {
    outline: none !important;
}
/* Le Bouton (Bleu) */
.btn-sub-submit {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 0 0.5rem 0 1.5rem !important; /* Padding ajusté : moins à droite pour coller au rond */
    height: 42px !important;
    margin-right: 4px;

    font-weight: 700;
    font-size: 0.95rem;

    /* --- CORRECTION ALIGNEMENT --- */
    display: flex !important; /* Active Flexbox */
    align-items: center !important; /* Centre verticalement */
    flex-direction: row !important; /* Force la ligne (pas de colonne) */
    gap: 10px; /* Espace entre texte et flèche */

    transition: transform 0.2s;
    white-space: nowrap !important; /* Interdit le passage à la ligne */
    cursor: pointer;
}

.btn-sub-submit:hover {
    transform: scale(1.02);
    color: white !important;
}

/* La flèche dans le rond blanc */
.btn-sub-submit i {
    background: #ffffff;
    color: #0d6efd;

    /* Taille fixe du rond */
    width: 32px;
    height: 32px;
    border-radius: 50%;

    /* Centrage de la flèche dans le rond */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;

    /* --- CORRECTION CRUCIALE --- */
    flex-shrink: 0 !important; /* Empêche le rond d'être écrasé ou poussé */
}

/* Responsive Mobile */
@media (max-width: 992px) {
    .subscription-bar {
        padding: 2rem;
        text-align: center;
    }
    .subscription-bar-row {
        flex-direction: column;
    }
    .sub-left {
        flex-direction: column;
        gap: 1rem;
    }
    .sub-right {
        width: 100%;
    }
    .newsletter-consent {
        text-align: left;
    }
}

/* =========================================
   NAVIGATION VERTICALE GAUCHE (DOTS)
   ========================================= */
.vertical-nav {
    position: fixed;
    top: 50%;
    left: 2vw; /* Placé à gauche */
    transform: translateY(-50%);
    z-index: 1050; /* Au-dessus de tout le contenu */
}

.vertical-nav ul.nav-dots {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vertical-nav .nav-dot {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    width: 24px;
    height: 24px;
    justify-content: center;
}

/* Le point principal */
.vertical-nav .nav-dot .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Effet Hover et Actif */
.vertical-nav .nav-dot:hover .dot,
.vertical-nav .nav-dot.active .dot {
    background-color: var(--color-primary-blue, #0d6efd);
    transform: scale(1.6);
}

/* Le texte (Label) qui s'affiche au survol */
.vertical-nav .dot-label {
    position: absolute;
    left: 35px; /* Apparaît à droite du point */
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.vertical-nav .nav-dot:hover .dot-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Adaptation de la couleur quand on passe sur des sections sombres */
.vertical-nav.nav-light .nav-dot .dot {
    background-color: rgba(255, 255, 255, 0.4);
}
.vertical-nav.nav-light .nav-dot:hover .dot,
.vertical-nav.nav-light .nav-dot.active .dot {
    background-color: #fff;
}
