/* ==========================================================
   style.css — Styles globaux front-end — App O
   ========================================================== */

/* --- Variables de design ---------------------------------- */
:root {
    --color-bg:           #f9f8ff;
    --color-fg:           #1a1a2e;
    --color-muted:        #6b7280;
    --color-border:       #e5e7eb;
    --color-accent:       #6358c5;
    --color-accent-light: rgba(99,88,197,.12);
    --color-accent-gold:  #c9a86f;
    --color-green:        #4caf87;
    --color-card:         #ffffff;
    --color-card-shadow:  0 2px 16px rgba(99,88,197,.08);

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  24px;
    --radius-xl:  32px;

    --font-sans: 'Inter', system-ui, sans-serif;
    --transition: 0.22s ease;

    --container-max: 1100px;
    --section-gap:   6rem;
}

/* --- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }

/* --- Utilitaires ------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: var(--section-gap); }
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
    text-align: center;
}
.section-subtitle {
    text-align: center;
    color: var(--color-muted);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}
.section-cta { text-align: center; margin-top: 2.5rem; }
.text-muted { color: var(--color-muted); }

/* --- Navigation ------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.75rem 0;
    background: rgba(249,248,255,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { border-radius: 8px; }

/* --- Boutons ---------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.4rem;
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover { background: #5247b0; box-shadow: 0 4px 16px rgba(99,88,197,.35); }
.btn-outline {
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent-light); }
.btn-sm { padding: .45rem 1rem; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- HERO ------------------------------------------------- */
.hero-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 7rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, rgba(199,191,242,.42), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(160,208,234,.34), transparent 45%);
}
.hero-inner { text-align: center; }
.hero-inner { position: relative; z-index: 2; }
.hero-logo { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.hero-logo img { border-radius: 16px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(99,88,197,.3);
    background: rgba(99,88,197,.08);
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-title .accent { display: block; color: var(--color-accent); }
.hero-subtitle { display: block; font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 600; color: rgba(99,88,197,.85); margin-top: .5rem; }
.hero-description { max-width: 580px; margin-inline: auto; color: var(--color-muted); margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.hero-social-proof { font-size: .85rem; color: var(--color-muted); }
.hero-countdown-label { font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--color-accent); margin-bottom: .8rem; }

/* Compte à rebours */
.countdown-wrapper {
    position: relative;
    max-width: 680px;
    margin-inline: auto;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(201,168,111,.4);
    background: rgba(255,255,255,.5);
    backdrop-filter: blur(8px);
    padding: 1.5rem 1rem;
    cursor: pointer;
    overflow: hidden;
}
.countdown-cover {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    background: linear-gradient(105deg, rgba(255,245,200,.97), rgba(183,144,83,.93));
    transition: opacity .3s;
}
.countdown-wrapper.revealed .countdown-cover { opacity: 0; pointer-events: none; }
.countdown-cover-text {
    padding: .6rem 1.5rem;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--color-accent-gold);
    font-size: .85rem;
    font-weight: 700;
    color: #8b6a2b;
    animation: float 1.15s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.countdown-grid { display: flex; justify-content: center; gap: 1rem; }
.countdown-item { text-align: center; }
.countdown-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-card);
    font-size: 2.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    box-shadow: var(--color-card-shadow);
    margin-bottom: .5rem;
}
.countdown-label { font-size: .82rem; color: var(--color-muted); }

/* --- FEATURES --------------------------------------------- */
.features-section { background: white; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.feature-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-card);
    box-shadow: var(--color-card-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(99,88,197,.12); }
.feature-icon { width: 44px; height: 44px; margin-bottom: 1rem; }
.feature-icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p  { font-size: .88rem; color: var(--color-muted); }
.features-cta    { text-align: center; margin-top: 2.5rem; }

/* --- INTERACTIVE FEATURES (version proche originale) ------ */
.interactive-features-section { background: #fff; }
.interactive-head .section-title { margin-bottom: .5rem; }
.interactive-kicker {
    text-align: center;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 700;
}
.interactive-segment-tabs { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.interactive-segment-tab {
    border: none;
    border-radius: 999px;
    padding: .55rem 1.2rem;
    background: #efedf8;
    color: #29263e;
    font-weight: 700;
    cursor: pointer;
}
.interactive-segment-tab.active { background: #111; color: #fff; }
.interactive-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0,380px) 1fr; align-items: start; }
.interactive-visual .phone-frame {
    background: #f4f5fb;
    border: 1px solid #ece9f8;
    border-radius: 2rem;
    padding: .75rem;
    box-shadow: 0 16px 40px rgba(99,88,197,.12);
}
.phone-media { position: relative; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 9/16; background: #ddd; }
.phone-media video, .phone-media img { width: 100%; height: 100%; object-fit: cover; }
.phone-chip {
    position: absolute;
    left: .9rem; top: .9rem;
    background: rgba(255,255,255,.94);
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .75rem; font-weight: 700;
}
.interactive-content { display: flex; flex-direction: column; gap: .8rem; }
.interactive-card {
    background: #fff;
    border: 1px solid #ece9f8;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}
.interactive-card h3 { font-size: 1.8rem; line-height: 1.2; margin-top: .35rem; margin-bottom: .35rem; }
.interactive-card h4 { font-size: 1.7rem; line-height: 1.2; margin-top: .35rem; margin-bottom: .35rem; }
.interactive-card p { color: #56566a; }
.interactive-small {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #8f8ab2;
    font-weight: 700;
}
.interactive-interface-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.if-interface-btn {
    border: 1px solid #e7e4f5;
    background: #fff;
    border-radius: .7rem;
    padding: .65rem .7rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.if-interface-btn.active { border-color: #bdb4e7; background: #f3f0ff; }
.if-icon { width: 16px; height: 16px; display: inline-flex; }
.if-icon svg { width: 16px; height: 16px; }
#if-points { margin-top: .5rem; padding-left: 1rem; color: #56566a; }
.interactive-cta { margin-top: 1rem; }
.if-cta-btn {
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ba76f7, #ac5ef5);
    box-shadow: 0 8px 20px rgba(172, 94, 245, .35);
}
.if-cta-btn:hover { background: linear-gradient(90deg, #b266f4, #9f51ec); }
.if-cta-arrow { font-size: 1.25rem; line-height: 1; }

/* --- MEDIA SHOWCASE --------------------------------------- */
.media-showcase-section { background: #fff; }
.media-showcase-head { text-align: center; margin-bottom: 1.25rem; }
.media-kicker {
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #8f8ab2;
    font-weight: 700;
}
.media-showcase-head .section-title { margin-top: .4rem; }
.media-showcase-grid { display: grid; grid-template-columns: 360px 1fr; gap: 1.35rem; align-items: start; }
.media-video-card { border-radius: 1.35rem; overflow: hidden; background: #f5f4fd; }
.media-video-card iframe { width: 100%; aspect-ratio: 9/16; border: 0; display: block; }
.media-content {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    min-width: 0; /* évite les débordements en CSS Grid */
}
.media-copy-card {
    border: 1px solid #ece9f8;
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.4rem 1.5rem;
    overflow: hidden;
}
.media-copy-card h3 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.2;
    margin-bottom: .8rem;
    overflow-wrap: anywhere;
}
.media-copy-card p {
    font-size: clamp(.92rem, 1.35vw, 1.08rem);
    color: #55596a;
    line-height: 1.5;
    margin-bottom: .6rem;
    overflow-wrap: anywhere;
}
.media-copy-card .if-cta-btn { margin-top: .4rem; }
.media-marquee-wrap {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #ece9f8;
    background: #fafaff;
    padding: .75rem;
}
.media-marquee { display: flex; width: max-content; gap: .75rem; animation: media-scroll 34s linear infinite; }
.media-thumb {
    width: 165px;
    aspect-ratio: 1/1;
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ece9f8;
    flex-shrink: 0;
}
.media-thumb img { width: 100%; height: 100%; object-fit: contain; padding: .45rem; }
@keyframes media-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- CAROUSEL --------------------------------------------- */
.carousel-section { background: #fff; padding-block: 2.5rem; overflow: hidden; }
.carousel-track-wrapper { overflow: hidden; padding: .2rem 0; }
.carousel-track {
    display: flex;
    gap: 1rem;
    animation: scroll-carousel 52s linear infinite;
    width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
.carousel-slide {
    flex-shrink: 0;
    width: 220px;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(255,255,255,.8);
    box-shadow: var(--color-card-shadow);
    overflow: hidden;
}
.carousel-slide-inner {
    width: 100%;
    height: 100%;
    padding: 12px;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
@keyframes scroll-carousel { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- SOLUTION (réseau social de demain) ------------------- */
.solution-section { background: #fff; }
.solution-head { text-align: center; max-width: 720px; margin: 0 auto; }
.solution-logo-wrap {
    width: 64px; height: 64px; margin: 0 auto 1rem;
    border-radius: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.solution-logo { width: 64px; height: 64px; object-fit: contain; }
.solution-head .section-title { margin-top: .5rem; margin-bottom: 0; }

.solution-cards-grid {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.solution-card {
    border-radius: 1rem;
    border: 1px solid #ece9f8;
    background: #fff;
    text-align: center;
    padding: 1.4rem 1rem 1.1rem;
    box-shadow: 0 8px 24px rgba(99,88,197,.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.solution-card-icon {
    width: 56px; height: 56px;
    object-fit: contain;
    margin: 0 auto .7rem;
}
.solution-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.solution-card p {
    font-size: .86rem;
    line-height: 1.5;
    color: #55596a;
}
.solution-card:hover {
    transform: translateY(-6px);
    border-color: #d7cff3;
    box-shadow: 0 16px 36px rgba(99,88,197,.15);
}

/* --- PARALLAX FREEZE AVANT/APRES -------------------------- */
.parallax-freeze-section {
    background: #f6f7fb;
    position: relative;
    --ba-card-height: 520px;
    --ba-scroll-distance: 500px;
    margin: 0;
    padding: 40px 0;
}
.parallax-freeze-track {
    position: relative;
    height: calc(var(--ba-card-height) + var(--ba-scroll-distance));
}
.parallax-freeze-sticky {
    position: sticky;
    top: 80px;
    height: var(--ba-card-height);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 0;
}
.parallax-freeze-card {
    background: #fff;
    border: 1px solid #ece9f8;
    border-radius: 1.5rem;
    box-shadow: 0 14px 36px rgba(99,88,197,.08);
    padding: 1.6rem 1.7rem 1.8rem;
    width: 100%;
}
.parallax-kicker {
    text-align: center;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #8f8ab2;
    font-weight: 700;
}
.parallax-freeze-card .section-title { margin-top: .4rem; margin-bottom: 1.5rem; }
.parallax-freeze-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.2rem;
    align-items: center;
}
.ba-mobile-flow { display: none; }

.ba-phones-stage { position: relative; min-height: 370px; }
.ba-phone-set {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
    align-items: end;
    transition: opacity .45s ease, transform .45s ease;
}
.ba-phone {
    border-radius: 1.4rem;
    border: 1px solid #dce3f8;
    background: #f2f5ff;
    padding: .35rem;
    box-shadow: 0 8px 20px rgba(99,88,197,.1);
}
.ba-phone img {
    width: 100%;
    aspect-ratio: 9/18;
    object-fit: cover;
    border-radius: 1.05rem;
}
.ba-phone video {
    width: 100%;
    aspect-ratio: 9/18;
    object-fit: cover;
    border-radius: 1.05rem;
    display: block;
}

.ba-before-set { opacity: 1; transform: translateY(0); }
.ba-after-set { opacity: 0; transform: translateY(10px); pointer-events: none; }

.ba-text-stage { position: relative; min-height: 350px; }
.ba-text-card {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 1px solid #ece9f8;
    padding: 1rem 1rem .8rem;
    transition: opacity .45s ease, transform .45s ease;
}
.ba-text-card .ba-label {
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: .45rem;
}
.ba-text-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .65rem;
}
.ba-text-card ul {
    margin: 0;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.ba-text-card li {
    font-size: .88rem;
    color: #4f5567;
    line-height: 1.45;
}
.ba-text-before {
    background: #fff8f8;
    border-color: #f3dbdb;
}
.ba-text-before .ba-label { color: #c43131; }
.ba-text-before li::marker { color: #ef4444; }
.ba-text-before { opacity: 1; transform: translateY(0); }

.ba-text-after {
    background: #f2fcf5;
    border-color: #d6f1dc;
}
.ba-text-after .ba-label { color: #1f9b52; }
.ba-text-after li::marker { color: #22c55e; }
.ba-text-after { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* Bascule nette APRES après progression suffisante */
.parallax-freeze-section.is-after .ba-before-set,
.parallax-freeze-section.is-after .ba-text-before {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}
.parallax-freeze-section.is-after .ba-after-set,
.parallax-freeze-section.is-after .ba-text-after {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (min-width: 901px) {
    .parallax-freeze-section {
        margin: 0;
        padding: 40px 0;
    }
    .parallax-freeze-track { height: calc(var(--ba-card-height) + var(--ba-scroll-distance)); }
    .parallax-freeze-sticky {
        align-items: flex-start;
        top: 80px;
        height: var(--ba-card-height);
        padding: 0;
    }
    .parallax-freeze-card { margin: 0 auto; }
}

/* --- SEGMENTS --------------------------------------------- */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.segment-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: white;
    box-shadow: var(--color-card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition);
}
.segment-card:hover { transform: translateY(-3px); }
.segment-icon { width: 48px; height: 48px; }
.segment-icon img { width: 100%; height: 100%; object-fit: contain; }
.segment-card h3 { font-size: 1.1rem; font-weight: 700; }
.segment-card p  { font-size: .88rem; color: var(--color-muted); flex: 1; }

/* --- USAGE SECTION (3 cartes) ----------------------------- */
.usage-section {
    background: #eef3ff;
}
.usage-section .section-title {
    margin-bottom: 2rem;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}
.usage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.usage-card {
    border-radius: 1rem;
    border: 1px solid #dfe4f6;
    box-shadow: 0 8px 24px rgba(99,88,197,.08);
    padding: 1rem 1rem 1.1rem;
}
.usage-card .segment-icon {
    width: 52px;
    height: 52px;
    margin-bottom: .65rem;
}
.usage-card h3 {
    font-size: 1rem;
    line-height: 1.2;
}
.usage-card p {
    font-size: .9rem;
    line-height: 1.42;
    margin-top: .6rem;
}
.usage-cta {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    border-color: #cfd3e3;
    color: #1a1a2e;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    padding: .55rem .8rem;
    background: #fff;
}
.usage-cta:hover {
    border-color: #b8c0df;
    background: #fff;
}
.usage-arrow {
    font-size: 1.1rem;
    line-height: 1;
}

/* --- PROBLÈME --------------------------------------------- */
.problem-section { background: #fff; }
.problem-kicker {
    text-align: center;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #8f8ab2;
    font-weight: 700;
}
.problem-section .section-title { max-width: 860px; margin-inline: auto; }
.problem-section .section-subtitle { max-width: 860px; }
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.problem-card {
    padding: 1.4rem 1.2rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid #ece9f8;
    background: white;
    box-shadow: 0 8px 24px rgba(99,88,197,.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.problem-icon { width: 40px; height: 40px; margin-bottom: 1rem; }
.problem-icon img { width: 100%; height: 100%; object-fit: contain; }
.problem-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.problem-card p  { font-size: 1rem; color: #55596a; line-height: 1.45; }
.problem-card:hover {
    transform: translateY(-6px);
    border-color: #d7cff3;
    box-shadow: 0 16px 34px rgba(99,88,197,.15);
}

/* --- TRACTION --------------------------------------------- */
.traction-section { background: #f4f7f3; }
.traction-section .section-title {
    margin-bottom: 1.6rem;
}
.traction-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.traction-card {
    border-radius: 1rem;
    border: 1px solid #e8ecef;
    background: #fff;
    box-shadow: 0 8px 24px rgba(99,88,197,.07);
    padding: 1.15rem 1rem;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.traction-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto .6rem;
}
.traction-card h3 {
    font-size: 1.95rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: .35rem;
}
.traction-card p {
    font-size: 1rem;
    color: #5e6271;
}
.traction-card:hover {
    transform: translateY(-6px);
    border-color: #d7cff3;
    box-shadow: 0 16px 34px rgba(99,88,197,.15);
}

/* --- LAUNCH SECTION (remplace témoignages) ---------------- */
.launch-section {
    background: radial-gradient(circle at 85% 15%, rgba(179,232,255,.24), transparent 36%), #eef5ff;
    text-align: center;
}
.launch-subtitle {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 1.1rem;
}
.launch-social-row {
    display: flex;
    justify-content: center;
    gap: .65rem;
    margin-bottom: 1.2rem;
}
.launch-social-btn {
    width: 42px; height: 42px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dfe7fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #111;
}
.launch-social-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}
.launch-community-pill {
    margin: 0 auto 1rem;
    max-width: 560px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5ebfc;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    box-shadow: 0 8px 20px rgba(99,88,197,.08);
}
.launch-avatars { display: inline-flex; }
.launch-avatars span {
    width: 28px; height: 28px; border-radius: 999px;
    background: linear-gradient(145deg, #95c5ec, #6eaee0);
    border: 2px solid #fff;
    margin-left: -8px;
}
.launch-avatars span:first-child { margin-left: 0; }
.launch-community-pill strong { font-size: 1.05rem; }
.launch-footnote {
    max-width: 760px;
    margin: 0 auto;
    font-size: .95rem;
    color: #5f667a;
}
.launch-cta { margin-top: 1.4rem; }

/* --- FOOTER ----------------------------------------------- */
.site-footer {
    background: #fff;
    border-top: 1px solid #eef1f7;
    color: #4f5567;
    padding-block: 1.4rem;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { border-radius: 999px; width: 34px; height: 34px; object-fit: contain; }
.footer-brand p { font-size: 1.18rem; color: #5e6477; }
.footer-links { display: flex; gap: 1rem; font-size: 1rem; }
.footer-links a { color: #4f5567; transition: color var(--transition); }
.footer-links a:hover { color: #111; }

/* --- Modales ---------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal[hidden] { display: none; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: 0 24px 64px rgba(0,0,0,.2);
    animation: modal-in .25s ease;
}
.modal-content-doc {
    max-width: 860px;
    max-height: 86vh;
    overflow-y: auto;
    padding: 2rem 1.8rem;
}
.modal-content-doc p,
.modal-content-doc li {
    font-size: .95rem;
    line-height: 1.5;
}
.modal-content-doc ul {
    margin: .4rem 0 .8rem 1.1rem;
}
.modal-content-doc strong {
    color: #111827;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--color-border);
    border: none;
    border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-muted);
    transition: background var(--transition);
}
.modal-close:hover { background: #d1d5db; }
.modal h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.modal-description { font-size: .88rem; color: var(--color-muted); margin-bottom: 1.5rem; }

/* --- Onglets segments (modale) ---------------------------- */
.segment-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; background: var(--color-border); border-radius: var(--radius-md); padding: .25rem; margin-bottom: 1.5rem; }
.segment-tab {
    padding: .45rem .5rem;
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    background: transparent;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-muted);
    transition: background var(--transition), color var(--transition);
}
.segment-tab.active { background: white; color: var(--color-accent); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* --- Formulaire ------------------------------------------- */
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.professional-only,
.collectivity-only,
.influencer-only { display: none; }
.show-conditional { display: flex !important; }
.form-group label { font-size: .85rem; font-weight: 600; }
.form-group input {
    padding: .65rem .9rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus { border-color: var(--color-accent); }
.form-group input.error { border-color: #ef4444; }
.field-error { font-size: .78rem; color: #ef4444; min-height: 1rem; }
.field-help { font-size: .78rem; color: var(--color-muted); }
.url-fields { display: flex; flex-direction: column; gap: .55rem; }
.url-field-row { display: flex; gap: .55rem; align-items: center; }
.url-field-row input { flex: 1; }
.btn-add-url,
.btn-remove-url {
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    transition: background var(--transition), color var(--transition);
}
.btn-add-url {
    align-self: flex-start;
    padding: .45rem .75rem;
    background: var(--color-accent-light);
    color: var(--color-accent);
}
.btn-add-url:hover { background: rgba(99,88,197,.18); }
.btn-remove-url {
    width: 34px;
    height: 34px;
    background: #f3f4f6;
    color: var(--color-muted);
    font-size: 1.1rem;
    line-height: 1;
}
.btn-remove-url:hover { background: #fee2e2; color: #991b1b; }
.form-group-consent { margin-top: .2rem; }
.consent-label {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .86rem;
    font-weight: 500;
    color: #4b5565;
}
.consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent);
}
.form-feedback {
    margin-top: 1rem;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-weight: 600;
}
.form-feedback.success { background: #d1fae5; color: #065f46; }
.form-feedback.error   { background: #fee2e2; color: #991b1b; }
.password-field { position: relative; }
.password-field input { padding-right: 3rem; width: 100%; }
.toggle-password { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--color-muted); }

/* --- Widget flottant -------------------------------------- */
.floating-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 320;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: .55rem;
}
.floating-widget.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-widget-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #dfe5f8;
    background: #fff;
    box-shadow: 0 8px 24px rgba(99,88,197,.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a2e;
    font-size: 1.2rem;
    line-height: 1;
}
.floating-widget-card {
    width: min(340px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #e6ebfb;
    border-radius: 18px;
    box-shadow: 0 20px 44px rgba(99,88,197,.18);
    padding: .95rem .95rem .85rem;
}
.floating-widget-kicker {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #8f8ab2;
    font-weight: 700;
    margin-bottom: .35rem;
}
.floating-widget-card h3 {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: .7rem;
}
.floating-widget-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    margin-bottom: .75rem;
}
.fw-cell {
    border: 1px solid #dde5fb;
    border-radius: .7rem;
    text-align: center;
    padding: .45rem .2rem .35rem;
}
.fw-cell strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 800;
}
.fw-cell span {
    font-size: .68rem;
    color: #6a7084;
    letter-spacing: .08em;
}
.floating-widget.collapsed .floating-widget-card {
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}
.floating-widget.collapsed .floating-widget-toggle span { display: inline-block; }
.floating-widget-main-cta {
    border-radius: 999px;
    margin-bottom: .48rem;
    font-weight: 800;
    font-size: 1rem;
}
.floating-widget-top-btn {
    border-radius: 999px;
    font-weight: 700;
}

/* --- Error page ------------------------------------------- */
.error-page { text-align: center; padding: 8rem 2rem; }
.error-page h1 { font-size: 6rem; font-weight: 800; color: var(--color-accent); }
.error-page p  { margin: 1rem 0 2rem; color: var(--color-muted); }

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
    .parallax-freeze-section {
        min-height: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: .6rem 0 !important;
    }
    .parallax-freeze-track {
        height: auto !important;
        min-height: 0 !important;
    }
    .parallax-freeze-sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        overflow: visible !important;
        padding: .3rem 0 .4rem !important;
        display: block !important;
    }
    .parallax-freeze-card {
        margin: 0;
        padding: 1rem .9rem 1.05rem;
    }
    .parallax-freeze-layout { grid-template-columns: 1fr !important; }
    .parallax-freeze-layout > .ba-phones-stage,
    .parallax-freeze-layout > .ba-text-stage { display: none !important; }

    /* Mobile/tablette : AVANT complet puis APRES complet */
    .ba-mobile-flow {
        display: grid;
        gap: .7rem;
    }
    .ba-mobile-flow .ba-phone-set {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .55rem;
    }
    .ba-mobile-flow .ba-phone {
        border-radius: 1rem;
        padding: .22rem;
    }
    .ba-mobile-flow .ba-text-card {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        margin-top: .35rem;
    }
}

@media (max-width: 600px) {
    .modal {
        align-items: flex-start;
        padding: .8rem;
    }
    .modal-content {
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1.15rem 1rem 1rem;
    }
    .segment-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-section {
        min-height: auto;
        align-items: flex-start;
        padding: 5rem 1rem 1.5rem;
    }
    .hero-logo { margin-bottom: .8rem; }
    .hero-badge { margin-bottom: .9rem; }
    .hero-title { margin-bottom: .7rem; }
    .hero-description { margin-bottom: 1.2rem; }
    .hero-cta { margin-bottom: 1.2rem; }
    .countdown-wrapper { padding: 1rem .7rem; }
    .countdown-value { width: 70px; height: 70px; font-size: 1.6rem; }
    .countdown-grid  { gap: .5rem; }
    .interactive-layout,
    .media-showcase-grid { grid-template-columns: 1fr; }
    .usage-section {
        padding-top: 2rem;
        padding-bottom: 1.4rem;
    }
    .media-showcase-section {
        padding-top: 1.4rem;
        padding-bottom: 2rem;
    }
    .media-showcase-head { margin-bottom: .8rem; }
    .interactive-card h3 { font-size: 1.35rem; }
    .interactive-card h4 { font-size: 1.25rem; }
    .solution-cards-grid { grid-template-columns: 1fr; }
    .media-copy-card { padding: 1rem; }
    .media-thumb { width: 130px; }
    .usage-grid { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .traction-cards-grid { grid-template-columns: 1fr; }
    .modal-content-doc {
        max-width: 100%;
        max-height: 90vh;
        padding: 1.2rem 1rem;
    }
    .floating-widget {
        right: .6rem;
        bottom: .6rem;
        gap: .4rem;
    }
    .floating-widget-card {
        width: min(320px, calc(100vw - 56px));
        padding: .8rem;
    }
    .floating-widget-toggle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}
