/* ====== Landing Webinaire — Box Invest ====== */

.wb-hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--section);
    background:
        linear-gradient(160deg, rgba(19, 18, 18, 0.94) 0%, rgba(0, 0, 0, 0.9) 100%),
        url("../img/bg-storage.jpg") center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.wb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/picto-box-invest-blanc.png");
    background-repeat: repeat;
    background-size: 90px;
    opacity: 0.03;
    pointer-events: none;
}

.wb-hero .wrap {
    position: relative;
    max-width: 860px;
    text-align: center;
}

.wb-live {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: .4rem .9rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
}

.wb-live .dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #e0322d;
    box-shadow: 0 0 0 0 rgba(224, 50, 45, 0.7);
    animation: livepulse 1.8s ease-out infinite;
}

@keyframes livepulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 50, 45, 0.7); }
    70% { box-shadow: 0 0 0 .5rem rgba(224, 50, 45, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 50, 45, 0); }
}

/* ---- Badge LIVE EXCLUSIF ---- */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    background: #e30613;
    color: #fff;
    padding: .55rem 1.1rem .55rem .8rem;
    border-radius: 14px;
    margin-bottom: 1.6rem;
    box-shadow: 0 10px 30px -12px rgba(227, 6, 19, 0.7);
    animation: badgebeat 2.4s ease-in-out infinite;
}

.live-badge-dot {
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: var(--paper);
    flex: none;
    animation: dotblink 1.4s ease-in-out infinite;
}

.live-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: .92;
    text-transform: uppercase;
}

.live-badge-text strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: .01em;
}

.live-badge-text span {
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .22em;
}

@keyframes badgebeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes dotblink {
    0%, 100% { opacity: 1; }
    50% { opacity: .25; }
}

.wb-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.wb-hero h1 .mark {
    color: #fff;
}

.hero-title .hl-yellow {
    color: var(--yellow);
    font-weight: 800;
}

.wb-when {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--blue);
    margin-bottom: .4rem;
}

.wb-host {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 2.2rem;
}

.wb-hero .lead {
    color: rgba(255, 255, 255, 0.82);
}

/* ---- Page VSL ---- */
.vsl-frame {
    max-width: 820px;
    margin: 2.4rem auto 1.6rem;
}

.wb-hero .vsl {
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

.wb-hero .method-or {
    margin: 0 auto 1.6rem;
}

.vsl-call {
    max-width: 560px;
    margin-inline: auto;
    text-align: center;
    align-items: center;
}

.vsl-call {
    max-width: 720px;
}

.vsl-call h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: .5rem;
}

.vsl-call p {
    flex: none;
}

/* ---- Page video pleine page ---- */
/* La page occupe tout l'ecran et la video est centree verticalement
   dans l'espace restant entre le header et le footer. */
.video-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.video-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    padding: clamp(1rem, 3vw, 2.5rem) 0;
}

.video-stage {
    width: min(1280px, 96vw);
    margin-inline: auto;
}

.video-stage video {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 12rem);
    display: block;
    border-radius: var(--r);
    background: #000;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}

.rdv-embed {
    width: 100%;
    min-width: 0;
    margin-top: 1rem;
    border-radius: var(--r);
    overflow: hidden;
    display: block;
    position: relative;
    background: #131212;
}

.rdv-embed iframe {
    display: block;
    border: 0;
}

.vsl-qui-title {
    text-align: center;
    margin-bottom: 2.6rem;
}

/* ---- Bandeau reseaux sociaux ---- */
.social-band {
    background: var(--paper);
    box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.social-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    max-width: 900px;
    margin-inline: auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.8rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--paper-2);
    text-align: center;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.social-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-2);
    box-shadow: var(--shadow);
}

.social-ico {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
}

.social-ico svg {
    width: 1.7rem;
    height: 1.7rem;
}

.social-ig .social-ico {
    background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
}

.social-fb .social-ico {
    background: var(--navy);
}

.social-yt .social-ico {
    background: #ff0000;
}

.social-card strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
}

.social-handle {
    font-size: .82rem;
    color: var(--slate);
    word-break: break-word;
}

/* ---- Note Google ---- */
.rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 2.4rem;
    padding: 1rem 1.6rem;
    width: fit-content;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-sm);
}

.rating-score {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--blue);
}

.rating-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
}

.rating-stars {
    color: var(--yellow);
    font-size: 1.1rem;
    letter-spacing: .1em;
}

.rating-count {
    font-size: .85rem;
    font-weight: 600;
    color: var(--slate);
}

/* ---- Avis : grille 2 colonnes ---- */
.reviews-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin-inline: auto;
}

@media (max-width: 880px) {
    .reviews-2 {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .social-row {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

.vsl-footer {
    padding: 2rem 0;
    text-align: center;
}

.vsl-footer .copyright {
    margin: 0;
}

.vsl-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

.wb-points {
    list-style: none;
    margin: 0 auto 2.4rem;
    padding: 0;
    max-width: 560px;
    display: grid;
    gap: .9rem;
    text-align: left;
}

.wb-points li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    font-weight: 500;
}

.wb-points li svg {
    width: 1.5rem;
    height: 1.5rem;
    flex: none;
    color: var(--yellow);
    margin-top: .05rem;
}

/* Puces logo Box Invest */
.li-logo {
    width: 1.5rem;
    height: 1.5rem;
    flex: none;
    margin-top: .1rem;
}

/* Sur fond fonce (hero, scarcity) : logo en blanc pour la visibilite */
.wb-hero .li-logo,
.wb-scarcity .li-logo {
    filter: brightness(0) invert(1);
}

.wb-cta-big {
    font-size: 1.15rem;
    padding: 1.1rem 2.2rem;
    /* Les libelles longs doivent pouvoir passer a la ligne, sinon le bouton
       depasse la largeur de l'ecran sur mobile. */
    white-space: normal;
    max-width: 100%;
}

.wb-cta-note {
    margin-top: 1rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---- Hero promo (accueil) ---- */
.promo-hero .wrap {
    max-width: 900px;
}

.promo-video {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 2rem auto 0;
    aspect-ratio: 9 / 16;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
}

.promo-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.promo-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-sound {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(19, 18, 18, 0.6);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    z-index: 2;
}

.promo-sound:hover {
    background: rgba(19, 18, 18, 0.85);
    transform: scale(1.06);
}

.promo-sound svg {
    width: 1.3rem;
    height: 1.3rem;
}

.promo-sound .ic-sound {
    display: none;
}

.promo-video.sound-on .promo-sound .ic-muted {
    display: none;
}

.promo-video.sound-on .promo-sound .ic-sound {
    display: block;
}

.promo-fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.promo-video.no-video .promo-fallback {
    display: flex;
}

.promo-video.no-video video,
.promo-video.no-video .promo-sound {
    display: none;
}

.promo-fallback .play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    display: grid;
    place-items: center;
}

.promo-fallback .play-btn svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}

.promo-stats {
    justify-content: center;
    margin-top: 2rem;
}

.promo-hero .hero-stat {
    background: rgba(27, 26, 25, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.promo-hero .hero-stat strong {
    color: #fff;
}

.promo-hero .hero-stat span {
    color: rgba(255, 255, 255, 0.7);
}

.promo-cta {
    justify-content: center;
    margin-top: 2rem;
}

/* ---- generic webinaire section ---- */
.wb-section {
    padding: var(--section) 0;
}

.wb-section .wrap {
    max-width: 820px;
}

.wb-section h2 {
    text-align: center;
}

.wb-section-kicker {
    text-align: center;
}

/* ---- "Tu seras capable de" ---- */
.wb-capable {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-top: 2.5rem;
}

.wb-cap {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform .25s ease, border-color .25s ease;
}

.wb-cap:hover {
    transform: translateY(-4px);
    border-color: var(--blue-2);
}

.wb-cap .wb-cap-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--blue);
    line-height: 1;
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    background: var(--paper-2);
    border-radius: 10px;
}

.wb-cap p {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
}

/* ---- scarcity band ---- */
.wb-scarcity {
    text-align: center;
    background:
        linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%);
    color: #fff;
}

.wb-scarcity .wrap {
    max-width: 640px;
}

.wb-scarcity h2 {
    color: #fff;
}

.wb-scarcity p {
    color: rgba(255, 255, 255, 0.85);
}

.wb-badge-unique {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--yellow);
    color: var(--yellow);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

.wb-badge-red {
    border-color: #e0322d;
    color: #fff;
    background: #e0322d;
}

/* ---- "fait pour toi si" ---- */
.wb-foryou {
    list-style: none;
    margin: 2rem auto 2.5rem;
    padding: 0;
    max-width: 600px;
    display: grid;
    gap: .8rem;
    text-align: left;
}

.wb-foryou li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1rem 1.2rem;
    font-weight: 500;
    color: var(--ink);
}

.wb-foryou li svg {
    width: 1.4rem;
    height: 1.4rem;
    flex: none;
    color: var(--blue);
    margin-top: .1rem;
}

/* ====== Modal pop-up inscription ====== */
.wb-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: rgba(19, 18, 18, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wb-modal.open {
    display: flex;
    animation: fade .25s ease forwards;
}

.wb-modal-box {
    position: relative;
    width: min(480px, 100%);
    background: var(--paper);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.6rem, 4vw, 2.6rem);
    max-height: 92vh;
    overflow-y: auto;
    animation: rise .5s cubic-bezier(.16, 1, .3, 1) both;
}

.wb-modal-close {
    position: absolute;
    top: .9rem;
    right: .9rem;
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--slate);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.wb-modal-close:hover {
    background: var(--line);
    color: var(--ink);
}

.wb-modal-close svg {
    width: 1.2rem;
    height: 1.2rem;
}

.wb-modal .wb-live {
    margin-bottom: 1rem;
}

.wb-modal h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: .4rem;
}

.wb-modal .wb-modal-when {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 1.4rem;
}

/* ---- Formulaire systeme.io dans le pop-up ---- */
.wb-modal-form {
    /* 100% = largeur interieure du pop-up (padding deja deduit) : 96vw debordait. */
    width: min(560px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: clamp(1.4rem, 4vw, 2rem) clamp(1.4rem, 4vw, 2rem) clamp(1.4rem, 4vw, 1.8rem);
}

.wb-form-head {
    text-align: center;
    margin-bottom: 1.2rem;
}

.wb-form-head .wb-live {
    margin-bottom: .8rem;
}

.wb-form-head h2 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin: 0;
}

.wb-form-sub {
    margin: .5rem 0 0;
    font-size: .92rem;
    color: var(--slate);
}

/* ---- Formulaire ebook maison ---- */
.wb-form {
    text-align: left;
}

.wb-field {
    margin-bottom: .85rem;
}

.wb-field label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .35rem;
}

.wb-form input {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper-2);
    transition: border-color .2s ease, background .2s ease;
}

.wb-form input:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--paper);
}

.wb-form input.is-invalid {
    border-color: #c0392b;
    background: #241f1e;
}

.wb-form input.is-valid {
    border-color: #2e7d32;
}

.wb-field-msg {
    display: none;
    margin-top: .35rem;
    font-size: .78rem;
    font-weight: 600;
    color: #c0392b;
}

.wb-field-msg.show {
    display: block;
}

.wb-form .btn {
    width: 100%;
    margin-top: .5rem;
}

.wb-form-error {
    margin: .2rem 0 .6rem;
    font-size: .85rem;
    font-weight: 600;
    color: #c0392b;
}

.wb-form-legal {
    margin: .9rem 0 0;
    font-size: .74rem;
    line-height: 1.5;
    color: var(--slate);
    text-align: center;
}

.wb-form-success {
    text-align: center;
    padding: .5rem 0;
}

.wb-form-success .seal {
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
}

.wb-form-success .seal svg {
    width: 34px;
    height: 34px;
}

.wb-form-success h2 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin: 0 0 .3rem;
}

.wb-success-actions {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-top: 1.4rem;
}

.wb-form-embed {
    min-height: 60px;
}

.wb-form-embed iframe {
    width: 100% !important;
}

@media (max-width: 680px) {
    .wb-capable {
        grid-template-columns: 1fr;
    }
}

.rdv-status {
    margin: 1rem 0 0;
    text-align: center;
    color: var(--slate);
    font-size: .95rem;
}

.rdv-status .btn {
    margin-top: .6rem;
}
