/* ====== BASE & LANDING (ton design d’origine) ====== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a2332 0%, #2a3441 25%, #1e2a3a 50%, #243041 75%, #1a2332 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 204, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

:root {
    --shimmer-hue-1: 213deg;
    --shimmer-sat-1: 95%;
    --shimmer-lit-1: 91%;
    --shimmer-hue-2: 248deg;
    --shimmer-sat-2: 100%;
    --shimmer-lit-2: 86%;
    --shimmer-hue-3: 293deg;
    --shimmer-sat-3: 78%;
    --shimmer-lit-3: 89%;
    --bg:#000;
    
    --glow-hue: 222deg;
    --shadow-hue: 180deg;
    --spring-easing: linear(
    0, 0.002, 0.01 0.9%, 0.038 1.8%, 0.156, 0.312 5.8%, 0.789 11.1%, 1.015 14.2%,
    1.096, 1.157, 1.199, 1.224 20.3%, 1.231, 1.231, 1.226, 1.214 24.6%,
    1.176 26.9%, 1.057 32.6%, 1.007 35.5%, 0.984, 0.968, 0.956, 0.949 42%,
    0.946 44.1%, 0.95 46.5%, 0.998 57.2%, 1.007, 1.011 63.3%, 1.012 68.3%,
    0.998 84%, 1
  );
    --spring-duration: 1.33s;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    padding: 40px 0;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.main-logo {
    height: 80px;
    transition: all 0.3s ease;
}

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

.main-logo:hover {
    transform: scale(1.05);
}

/* Title Section */
.title-section {
    padding: 0px 0 20px;
    text-align: center;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top:40px;
}

/* Bonus Banner */
.bonus-banner {
    padding: 40px 0;
    position: relative;
}

.bonus-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cards-plus {
    font-size: 3rem;
    font-weight: 800;
    color: #00ffcc;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    margin: 0 20px;
}

.bonus-card {
    background: linear-gradient(135deg, #2a3441, #1e2a3a);
    border-radius: 24px;
    padding: 0 40px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 204, 0.3);
    transition: all 0.4s ease;
    flex: 1;
    max-width: 430px;
    min-width: 400px;
}

.bonus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 255, 204, 0.6);
}

.bonus-card{
    text-decoration: none;
    color:inherit;
}

.bonus-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #00ffcc;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    position: relative;
    z-index: 2;
}

.bonus-free {
    font-size: 28px;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
}

.bonus-condition {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.bonus-extra {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.bonus-percentage {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ffcc;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

.bonus-details {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.bonus-platform {
    background: #db2b5a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 900;
    display: inline-block;
    z-index: 2;
    margin-bottom: 10px;
    position: relative;
    top: -17px;
}

/* Floating emojis */
.floating-gifts {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gift-box {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: giftFloat 8s ease-in-out infinite;
}

.gift-box:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.gift-box:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
.gift-box:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 4s; }
.gift-box:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 6s; }

@keyframes giftFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(180deg); }
}

/* CTA Section */
.cta-section {
    padding: 20px 0;
    text-align: center;
}

.button {
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    background: #24A1DE;
    position: relative;
    isolation: isolate;
    box-shadow: 0 2px 3px 1px hsl(var(--glow-hue) 50% 20% / 50%);
    border: none;
    outline: none;
    scale: 1;
    transition: all var(--spring-duration) var(--spring-easing);
    text-transform: unset;

    padding: 17px 50px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    display: inline-block;
    text-decoration: none;
}

@property --mask {
    syntax: "<angle>";
    inherits: false;
    initial-value: 33deg;
}

@keyframes wipe {
    0% {
        mask-position: 200% center;
    }
    100% {
        mask-position: 0% center;
    }
}

.button[disabled] {
    background: rgb(76 76 92);
    background-image: none;
}
.button:hover:not(:active):not([disabled]) {
    scale: 1.1;
    transition-duration: calc(var(--spring-duration)*0.5);
}
.button:active:not([disabled]) {
    scale: 1.05;
    transition-duration: calc(var(--spring-duration)*0.5);
}
.button:focus .shimmer,
.button:active .shimmer {
    animation-play-state: paused!important;
    mask-image: none!important;
}
.button:hover:not([disabled]),
.button:hover:not([disabled]) .shimmer::before,
.button:hover:not([disabled]) .shimmer::after {
    opacity: 1;
}

.button:hover:not([disabled]) .shimmer::before,
.button:hover:not([disabled]) .shimmer::after {
    opacity: 0.3;
}

.button .text {
    color: transparent;
    background-clip: text;
    background-color: #fff;
    background-image: linear-gradient(120deg, transparent, hsla(var(--shimmer-hue-1),100%,80%,0.66) 40%, hsla(var(--shimmer-hue-2),100%,90%,.9) 50%, transparent 52%);
    background-repeat: no-repeat;
    background-size: 300% 300%;
    background-position: center 200%;
    font-weight: 900;
    letter-spacing: 1px;
}

.button .text img{
    position: relative;
    top:4px;
    margin-right: 4px;
}

.button:not([disabled]):hover .text {
    animation: text .66s ease-in-out 1;
}

.button:not([disabled]) .shimmer::before,
.button:not([disabled]) .shimmer::after {
    opacity: 0.3;
}
.button:not([disabled]) .shimmer {
    mask-image: conic-gradient(
        from var(--mask, 0deg),
        transparent 0%,
        transparent 10%,
        black 36%,
        black 45%,
        transparent 50%,
        transparent 60%,
        black 85%,
        black 95%,
        transparent 100%
    );
    mask-size: cover;
    animation: spin 3s linear infinite both -0.5s;
}

.button:not([disabled])[data-effect=wave] .shimmer {
    mask-image: linear-gradient(
        90deg, transparent 15%, black 45%, black 55%, transparent 85%
    );
    mask-size: 200% 200%;
    mask-position: center;
    animation: wipe 3s linear infinite both -0.5s;
}

.shimmer {
    position: absolute;
    inset: -40px;
    border-radius: inherit;
    mix-blend-mode: plus-lighter;
    pointer-events: none;
}

.shimmer::before,
.shimmer::after {
    transition: all 0.5s ease;
    opacity: 0;
    content: "";
    border-radius: inherit;
    position: absolute;
    inset: 40px;
}
.shimmer::before {
    box-shadow: 0 0 3px 2px hsl(var(--shimmer-hue-1) 20% 95%), 0 0 7px 4px #74d1ff, 0 0 13px 8px #96dbfd, 0 0 22px 6px #85cff3;
    z-index: -1;
}
.shimmer::after {
    box-shadow: inset 0 0 0 1px #74d1ff, inset 0 0 3px 1px #96dafb, inset 0 0 9px 1px #85cff3;
    z-index: 2;
}

.telegram-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cta-features {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Disclaimer */
.disclaimer {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top:70px;
}
.disclaimer a{
    text-decoration: underline;
    color:inherit;
}

/* Footer */
.footer {
    padding: 0 0 20px;
    text-align: center;
}
.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-title{
        margin-top:0;
        font-size: 50px;
    }
    .header{
        padding: 40px 0 10px;
    }
    .bonus-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .cards-plus {
        transform: rotate(90deg);
        margin: 0 0 10px;
    }
    
    .bonus-card {
        max-width: 600px;
        min-width: 410px;
    }
    .cta-section{
        padding:10px 0;
    }
    .cta-features{
        margin-top:0;
    }
}

/* Très petits écrans */
@media (max-width: 800px) {
    .main-logo {
        height: 50px;
    }

    .title-section{
        padding:0;
    }

    .main-title {
        font-size: 30px;
        margin-top:15px;
    }

    .main-title span{
        display: block;
        height: 5px;
        visibility: hidden;
    }
    
    .bonus-card {
        min-height: 122px;
        padding: 20px 15px;
        min-width: 250px;
    }

    .bonus-banner {
        padding: 40px 0 20px;
    }

    .bonus-item{
        height: 5px;
    }

    .bonus-content {
        gap: 10px;
        padding: 0 10px;
        justify-content: center;
    }
    .bonus-platform{
        top:-40px;
    }

    .bonus-amount {
        font-size: 35px;
    }

    .bonus-free {
        font-size: 1.2rem;
    }

    .button{
        padding: 14px 20px 18px;
        min-width: 300px;
    }

    .button .text {
        font-size:18px;
    }

    .telegram-icon {
        width: 18px;
        height: 18px;
    }
    .disclaimer{
        margin-top:0;
        font-size: 12px;
        padding: 20px 0 10px;
    }
    .footer-text{
        font-size: 12px;
    }
}

/* ====== WIZARD / LIGHTBOX ====== */

/* Overlay : caché par défaut */
#lead-wizard-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* Quand le JS ajoute .is-open → on affiche l’overlay */
#lead-wizard-overlay.is-open {
    display: flex;
}

/* Boîte centrale du wizard (carte) */
.lead-wizard-modal {
    position: relative;
    width: 96%;
    /*max-width: 900px;
    max-height: 90vh;*/
    height: 95vh;
    background-image: linear-gradient(to bottom, #1b2c35, #1f393c);
    border-radius: 20px;
    box-shadow: 0 18px 90px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    padding: 24px 32px 24px;
    display: flex;
    flex-direction: column;
}

/* Bouton de fermeture (croix) */
.wizard-close {
    position: absolute;
    top: 16px;
    right: 22px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
}

/* Header avec logo */
.wizard-header {
    padding-top: 30px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.04); */
}

.wizard-logo {
    height: 70px;
}

/* Corps du wizard (étapes) */
.wizard-body {
    flex: 1 1 auto;
    padding: 28px 16px 24px;
    overflow-y: auto;
    max-width: 90%;
    width: 800px;
    margin: 0 auto 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 33vh;
}

/* Footer : step counter + flèches */
.wizard-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 18px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    max-width: 90%;
    width: 800px;
    margin:0 auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom:20px;
}

.wizard-progress {
    font-size: 0.78rem;
    color: #fff;
}

/* Étapes : une seule visible à la fois */
.wizard-step {
    display: none;
}

.wizard-step.is-active {
    display: block;
}

/* Titres & textes */
.wizard-title {
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e8f5f9;
    font-weight: 700;
}

.wizard-title .step-number {
    font-weight: 800;
}

.wizard-subtitle {
    margin-top: 8px;
    font-size: 16px;
    line-height: 23px;
    color: #fff;
    /* max-width: 540px; */
}

.wizard-subtitle a{
    color:#00e49c;
    text-decoration: underline;
}

.wizard-subtitle-link{
    margin:10px 0 33px;
    padding-top:10px;
}

.wizard-subtitle-link a{
    text-decoration: none;
}

.wizard-question {
    margin-top: 22px;
    font-size: 0.9rem;
    color: #d5e4ea;
}

.wizard-step-indicator {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #8196a0;
}

/* Champs de saisie */
.wizard-input-row {
    margin-top: 26px;
}

.wizard-input-row.lowmargintop{
    margin-top:10px;
}

.wizard-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #3d4e55;
    background: transparent;
    color: #ffffff;
    padding: 6px 0 8px;
    font-size: 0.95rem;
}

.wizard-input::placeholder {
    color: #4f6a75;
}

.wizard-input:focus {
    outline: none;
    border-bottom-color: #00e49c;
}

/* Message d’erreur sous le champ */
.wizard-error {
    min-height: 18px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: #ff7b7b;
}

/* Bouton "Validate" */
.wizard-actions {
    margin-top: 16px;
    margin-bottom: 6px;
}

.wizard-primary-btn {
    padding: 9px 26px;
    border-radius: 999px;
    border: none;
    background: #00e49c;
    color: #041820;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    /* box-shadow: 0 12px 34px rgba(0, 228, 156, 0.35); */
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.wizard-primary-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 0px 20px rgba(0, 228, 156, 0.45);
}

/* Step 3 : choix 30€ / 200% */
.wizard-bonus-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 8px;
}

.wizard-bonus-option {
    flex: 1;
    min-width: 150px;
    border-radius: 999px;
    border: 1px solid #00e49c;
    padding: 10px 14px;
    text-align: center;
    font-size: 0.89rem;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    color: #00e49c;
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    
    font-weight: 700;
    background: #1c2430;
}

.wizard-bonus-option:hover {
    /* background: rgba(0, 228, 156, 0.12); */
    box-shadow: 0 0 10px 0 rgba(58, 255, 191, 0.7);
}

.wizard-bonus-option.active {
    background: #00e49c;
    color: #041820;
    /* box-shadow: 0 14px 40px rgba(0, 228, 156, 0.45); */
}

/* Step 4 & 6 : boutons YES / NO */
.wizard-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.wizard-choice-btn {
    flex: 1;
    min-width: 120px;
    border-radius: 999px;
    border: 1px solid #00e49c;
    padding: 9px 14px;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    color: #00e49c;
    background: #1c2430;
    font-weight: 700;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
   
}

.wizard-choice-btn:hover {
    /* background: rgba(0, 228, 156, 0.1); */
    /* box-shadow: 0 0 10px 0 rgba(58, 255, 191, 0.7); */
    box-shadow: 0 0px 20px rgba(0, 228, 156, 0.45);
}

.wizard-choice-btn.active,
.wizard-choice-btn:focus-visible {
    background: #00e49c;
    color: #041820;
    /*box-shadow: 0 14px 40px rgba(0, 228, 156, 0.45);*/
    box-shadow: 0 0px 20px rgba(0, 228, 156, 0.45);
    outline: none;
}

/* liens d’aide step 4 */
.wizard-help-links {
    margin-top: 18px;
    font-size: 16px;
}

.wizard-help-links a {
    color: #7fd9ff;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-bottom: 7px;
    display: inline-block;
    font-size: 16px;
}

/* Step 7 : CTAs finaux */
.wizard-final-cta {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.wizard-outline-btn {
    flex: 1;
    min-width: 180px;
    border-radius: 999px;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid #00e49c;
    color: #00e49c;
    background: #1c2430;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wizard-outline-btn:hover {
    color: #00e49c;
    /*box-shadow: 0 14px 40px rgba(0, 228, 156, 0.45);*/
    box-shadow: 0 0px 20px rgba(0, 228, 156, 0.45);
}

/* Loader (3 petits points en bas à droite) */
.wizard-loader {
    position: absolute;
    right: 24px;
    bottom: 18px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.wizard-loader-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e49c;
    opacity: 0.3;
    animation: wizardBounce 1s infinite ease-in-out;
}

.wizard-loader-dot:nth-child(2) {
    animation-delay: 0.15s;
}
.wizard-loader-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes wizardBounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.3; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* Nav du bas : flèches rondes */
.wizard-bottom-nav {
    display: flex;
    gap: 18px;
}

/* état par défaut = "off" (foncé) */
.wizard-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #21403e;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: background 0.15s ease,
                color 0.15s ease,
                box-shadow 0.15s ease,
                transform 0.15s ease;
}

/* chevron dessiné en CSS */
.wizard-circle-btn::before {
    content: "";
    width: 11px;
    height: 11px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    display: block;
}

/* bouton "up" = chevron vers le haut */
.wizard-circle-btn--prev::before {
    transform: translate(2px, 0) rotate(45deg);
}

/* bouton "down" = chevron vers le bas */
.wizard-circle-btn--next::before {
    transform: translate(-2px, 0) rotate(-135deg);
}

/* actif = vert clair, cliquable */
.wizard-circle-btn:not(:disabled) {
    background: #00e49c;
    color: #19212d;
    cursor: pointer;
    /* box-shadow: 0 10px 28px rgba(0, 228, 156, 0.35); */
}

/* hover si actif */
.wizard-circle-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 0px 20px rgba(0, 228, 156, 0.45);
}

/* inactif */
.wizard-circle-btn:disabled {
    background: #21403e;
    color: #000;
    box-shadow: none;
    cursor: default;
}

/* Responsive wizard */
@media (max-width: 900px) {
    .lead-wizard-modal {
        max-width: 95vw;
        padding: 18px 18px 18px;
    }

    .wizard-body {
        padding: 20px 10px 18px;
    }
}

@media (max-width: 600px) {
    .bonus-item{
        height: 5px;
    }
    .wizard-body{
        top:33vh;
    }
    .wizard-logo {
      height: auto;
      max-height: 50px;
      max-width: 60%;
    }
    .wizard-title {
        font-size: 20px;
        letter-spacing: 0.1em;
    }
    .wizard-primary-btn{
        display: block;
        width: 100%;
    }
    .wizard-bonus-choices{
        flex-direction: column;
    }
    /*
    .wizard-subtitle {
        font-size: 0.8rem;
    }
    */
    .wizard-input {
        font-size: 0.9rem;
    }
    .wizard-outline-btn{
        margin-bottom: 10px;
    }
    /*
    .wizard-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    */
}