/* ═══════════════════════════════════════════════════════════
   TUNNELORA VITRINE — main.css v1.0.0
   Design : moderne, soft, violet doux (#6C63FF)
════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
    --clr-primary:      #6C63FF;
    --clr-primary-dark: #5548E8;
    --clr-primary-light:#EEF2FF;
    --clr-accent:       #FF6584;
    --clr-green:        #10B981;
    --clr-amber:        #F59E0B;

    --clr-bg:           #F8F7FF;
    --clr-white:        #FFFFFF;
    --clr-text:         #1F2937;
    --clr-muted:        #6B7280;
    --clr-border:       #E5E7EB;

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  28px;

    --shadow-sm:  0 2px 8px rgba(108,99,255,.08);
    --shadow-md:  0 4px 24px rgba(108,99,255,.12);
    --shadow-lg:  0 12px 48px rgba(108,99,255,.18);

    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition: all .2s cubic-bezier(.4,0,.2,1);

    --container:  1180px;
    --header-h:   68px;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--clr-text);
    background: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── Container ─────────────────────────────────────────── */
.tv-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ── Scroll animations ─────────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
[data-animate="fade-left"]  { transform: translateX(-32px); }
[data-animate="fade-right"] { transform: translateX( 32px); }
[data-animate].is-visible   { opacity: 1; transform: none; }


/* ════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════ */
.tv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.tv-btn--sm  { padding: 9px 18px; font-size: .85rem; }
.tv-btn--lg  { padding: 15px 30px; font-size: 1rem; }
.tv-btn--xl  { padding: 18px 40px; font-size: 1.05rem; }
.tv-btn--full { width: 100%; justify-content: center; border-radius: var(--radius-md); }

.tv-btn--primary {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    box-shadow: 0 4px 16px rgba(108,99,255,.35);
}
.tv-btn--primary:hover {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    box-shadow: 0 6px 24px rgba(108,99,255,.45);
    transform: translateY(-1px);
}
.tv-btn--outline {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}
.tv-btn--outline:hover {
    background: var(--clr-primary-light);
    transform: translateY(-1px);
}
.tv-btn--ghost {
    background: rgba(255,255,255,.15);
    color: var(--clr-text);
    border-color: var(--clr-border);
    backdrop-filter: blur(4px);
}
.tv-btn--ghost:hover {
    background: rgba(108,99,255,.08);
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}
.tv-btn--white {
    background: #fff;
    color: var(--clr-primary);
    border-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.tv-btn--white:hover {
    background: var(--clr-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* ── Labels ─────────────────────────────────────────────── */
.tv-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--clr-primary);
    background: var(--clr-primary-light);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.tv-label--light {
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.18);
}

/* ── Section wrappers ─────────────────────────────────── */
.tv-section { padding: 100px 0; }
.tv-section--light { background: var(--clr-bg); }
.tv-section--gradient {
    background: linear-gradient(135deg, #3b30d4 0%, #6C63FF 45%, #8B5CF6 100%);
    color: #fff;
}

.tv-section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
.tv-section__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--clr-text);
    margin-bottom: 16px;
}
.tv-section__title--light { color: #fff; }
.tv-section__subtitle {
    font-size: 1.05rem;
    color: var(--clr-muted);
    line-height: 1.7;
}

/* ── Gradient text ─────────────────────────────────────── */
.tv-gradient-text {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════ */
.tv-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 900;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.tv-header.is-scrolled {
    border-bottom-color: var(--clr-border);
    box-shadow: var(--shadow-sm);
}
.tv-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}
.tv-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.tv-logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tv-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.tv-header__nav a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--clr-muted);
    transition: color .2s;
}
.tv-header__nav a:hover { color: var(--clr-primary); }

.tv-header__cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Burger */
.tv-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    margin-left: auto;
    padding: 4px;
    border-radius: var(--radius-sm);
}
.tv-header__burger span {
    display: block;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: var(--transition);
}
.tv-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tv-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.tv-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.tv-mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--clr-border);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    z-index: 950;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity .35s cubic-bezier(.4,0,.2,1), transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.tv-mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Suppress header bottom border when menu is attached below */
.tv-header.menu-open {
    border-bottom-color: var(--clr-border);
    box-shadow: none;
}
.tv-mobile-menu__link {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-text);
    border-bottom: 1px solid var(--clr-border);
    transition: color .2s;
}
.tv-mobile-menu__link:hover { color: var(--clr-primary); }
.tv-mobile-menu__link--cta {
    margin-top: 20px;
    color: var(--clr-primary);
    border-bottom: none;
    font-size: 1.15rem;
}

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.tv-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(108,99,255,.12) 0%, transparent 70%), var(--clr-white);
}

/* Blobs */
.tv-hero__blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tv-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
}
.tv-blob--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(108,99,255,.5), transparent 70%);
    top: -200px; right: -100px;
}
.tv-blob--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,101,132,.4), transparent 70%);
    bottom: -80px; left: -80px;
}
.tv-blob--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,.4), transparent 70%);
    top: 40%; left: 35%;
    animation: blob-float 8s ease-in-out infinite;
}
@keyframes blob-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%       { transform: translate(30px,-20px) scale(1.1); }
}

.tv-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tv-hero__badge { margin-bottom: 20px; }
.tv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(255,101,132,.1));
    color: var(--clr-primary);
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(108,99,255,.2);
}

.tv-hero__title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.12;
    color: var(--clr-text);
    margin-bottom: 22px;
    letter-spacing: -.02em;
}

.tv-hero__subtitle {
    font-size: 1.1rem;
    color: var(--clr-muted);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 36px;
}

.tv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.tv-hero__reassurance {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--clr-muted);
}

/* ── Store badges ──────────────────────────────────────── */
.tv-store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.tv-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    background: #1a1a2e;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    transition: var(--transition);
    text-decoration: none;
    min-width: 150px;
}
.tv-store-badge:hover { background: #2d2d4e; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tv-store-badge--dark { background: rgba(0,0,0,.7); border-color: rgba(255,255,255,.15); }
.tv-store-badge--dark:hover { background: rgba(0,0,0,.85); }
.tv-store-badge--light { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); }
.tv-store-badge--light:hover { background: rgba(255,255,255,.25); }
.tv-store-badge__icon { width: 24px; height: 24px; flex-shrink: 0; }
.tv-store-badge__text { display: flex; flex-direction: column; }
.tv-store-badge__sub  { font-size: .68rem; opacity: .7; line-height: 1; }
.tv-store-badge__name { font-size: .9rem; font-weight: 700; line-height: 1.3; }

/* ── Multi-device block ────────────────────────────────── */
.tv-multidevice {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--clr-primary-light), #fff);
    border: 1px solid rgba(108,99,255,.15);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
}
.tv-multidevice__inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.tv-multidevice__text { flex: 1; min-width: 240px; }
.tv-multidevice__text h3 { font-size: 1.2rem; font-weight: 800; color: var(--clr-text); margin-bottom: 8px; }
.tv-multidevice__text p  { font-size: .92rem; color: var(--clr-muted); line-height: 1.6; }
.tv-multidevice__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.tv-multidevice .tv-store-badge { background: #1a1a2e; }
.tv-multidevice .tv-store-badge:hover { background: #2d2d4e; }

/* ── CTA stores ────────────────────────────────────────── */
.tv-cta__stores {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* ── UI Mockup ─────────────────────────────────────────── */
.tv-hero__visual { position: relative; }
.tv-mockup {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(108,99,255,.08);
    overflow: hidden;
    border: 1px solid var(--clr-border);
}
.tv-mockup__bar {
    display: flex;
    gap: 6px;
    padding: 14px 16px;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
}
.tv-mockup__bar span {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #E5E7EB;
}
.tv-mockup__bar span:nth-child(1) { background: #FC615D; }
.tv-mockup__bar span:nth-child(2) { background: #FDBC40; }
.tv-mockup__bar span:nth-child(3) { background: #34C749; }

.tv-mockup__body { padding: 20px; }
.tv-mockup__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.tv-mockup__stat {
    background: var(--clr-bg);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    text-align: center;
}
.tv-mockup__stat--green { background: #ECFDF5; }
.tv-mockup__stat--purple { background: #EDE9FE; }
.tv-mockup__stat-val { display: block; font-size: .95rem; font-weight: 800; color: var(--clr-text); }
.tv-mockup__stat-lbl { display: block; font-size: .7rem; color: var(--clr-muted); margin-top: 2px; }

.tv-mockup__chart {
    background: var(--clr-bg);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}
.tv-mockup__chart svg { width: 100%; height: 60px; }

.tv-mockup__leads { display: flex; flex-direction: column; gap: 8px; }
.tv-mockup__lead {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--clr-bg);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: .82rem;
    font-weight: 500;
}
.tv-mockup__lead span:nth-child(2) { flex: 1; color: var(--clr-text); }
.tv-mockup__avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tv-mockup__chip {
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    background: #F3F4F6;
    color: var(--clr-muted);
}
.tv-chip--green { background: #D1FAE5; color: #065F46; }
.tv-chip--blue  { background: #EDE9FE; color: #5B21B6; }

/* ── Mockup URL bar ────────────────────────────────────── */
.tv-mockup__url {
    font-size: .7rem;
    color: var(--clr-muted);
    background: #fff;
    border-radius: 50px;
    padding: 2px 10px;
    margin-left: 8px;
    flex: 1;
    text-align: center;
    border: 1px solid var(--clr-border);
}

/* ── Phone mockup ──────────────────────────────────────── */
.tv-mockup-phone {
    position: absolute;
    bottom: -24px;
    right: -40px;
    filter: drop-shadow(0 12px 32px rgba(108,99,255,.25));
}
.tv-phone {
    width: 140px;
    background: #1a1a2e;
    border-radius: 24px;
    padding: 8px;
    border: 2px solid rgba(255,255,255,.1);
}
.tv-phone__notch {
    width: 40px; height: 8px;
    background: #0d0d1a;
    border-radius: 50px;
    margin: 0 auto 8px;
}
.tv-phone__screen {
    background: var(--clr-bg);
    border-radius: 16px;
    padding: 8px;
    min-height: 140px;
}
.tv-phone__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .65rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 8px;
    padding: 0 2px;
}
.tv-phone__notif {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 10px;
    padding: 7px 8px;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.tv-phone__notif-icon { font-size: .9rem; }


/* ════════════════════════════════════════════════════════
   PROOF BAR
════════════════════════════════════════════════════════ */
.tv-proof-bar {
    background: #fff;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 36px 0;
}
.tv-proof-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.tv-proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.tv-proof-item__number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}
.tv-proof-item__label { font-size: .82rem; color: var(--clr-muted); font-weight: 500; }
.tv-proof-divider {
    width: 1px; height: 40px;
    background: var(--clr-border);
}

/* ════════════════════════════════════════════════════════
   FEATURES GRID
════════════════════════════════════════════════════════ */
.tv-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tv-feature-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.tv-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108,99,255,.03), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.tv-feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(108,99,255,.2);
}
.tv-feature-card:hover::before { opacity: 1; }

.tv-feature-card__icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.tv-icon--purple  { background: var(--clr-primary-light); color: var(--clr-primary); }
.tv-icon--blue    { background: #DBEAFE; color: #1D4ED8; }
.tv-icon--green   { background: #ECFDF5; color: #059669; }
.tv-icon--amber   { background: #FEF9C3; color: #92400E; }
.tv-icon--rose    { background: #FFE4E6; color: #BE123C; }
.tv-icon--indigo  { background: #E0E7FF; color: #3730A3; }

.tv-feature-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 10px;
}
.tv-feature-card__text {
    font-size: .9rem;
    color: var(--clr-muted);
    line-height: 1.65;
}

/* ════════════════════════════════════════════════════════
   AGENT IA SECTION
════════════════════════════════════════════════════════ */
.tv-agent-ia {
    background: linear-gradient(135deg, #0F0C29 0%, #1a1744 100%);
}
.tv-agent-ia .tv-section__title { color: #fff; }
.tv-agent-ia .tv-section__subtitle { color: rgba(255,255,255,.7); }
.tv-agent-ia .tv-label { color: #FF6584; background: rgba(255,101,132,.15); }

.tv-agent-ia__channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.tv-channel-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}
.tv-channel-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(108,99,255,.5);
    transform: translateY(-4px);
}
.tv-channel-card__icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.tv-channel-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.tv-channel-card__text {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
}
.tv-agent-ia__cta { text-align: center; }

@media (max-width: 768px) {
    .tv-agent-ia__channels { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .tv-agent-ia__channels { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════════ */
.tv-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 840px;
    margin: 0 auto;
    position: relative;
}
.tv-steps::before {
    content: '';
    position: absolute;
    left: 55px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-primary), var(--clr-accent));
    opacity: .2;
}

.tv-step {
    display: grid;
    grid-template-columns: 110px 1fr 80px;
    gap: 24px;
    align-items: center;
    padding: 40px 0;
    position: relative;
}
.tv-step--right { direction: rtl; }
.tv-step--right > * { direction: ltr; }

.tv-step__number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
}
.tv-step__content { }
.tv-step__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 10px;
}
.tv-step__text { font-size: .95rem; color: var(--clr-muted); line-height: 1.7; }

.tv-step__icon {
    width: 64px; height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    margin: 0 auto;
}
.tv-step__icon--1 { background: var(--clr-primary-light); color: var(--clr-primary); }
.tv-step__icon--2 { background: #ECFDF5; color: #059669; }
.tv-step__icon--3 { background: #FEF9C3; color: #92400E; }

/* ════════════════════════════════════════════════════════
   COMMERCIAL SECTION
════════════════════════════════════════════════════════ */
.tv-commercial__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.tv-commercial__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    line-height: 1.75;
    margin-bottom: 28px;
}
.tv-commercial__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}
.tv-commercial__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: rgba(255,255,255,.9);
    font-weight: 500;
}

/* Commercial card mockup */
.tv-comm-card {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.tv-comm-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.tv-comm-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6584, #f97316);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tv-comm-card__header strong { display: block; color: #fff; font-size: .95rem; }
.tv-comm-card__role { font-size: .78rem; color: rgba(255,255,255,.65); }
.tv-comm-card__rate {
    margin-left: auto;
    background: rgba(16,185,129,.25);
    color: #6EE7B7;
    font-size: .85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}
.tv-comm-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    text-align: center;
}
.tv-comm-num { display: block; font-size: 1.2rem; font-weight: 800; color: #fff; }
.tv-comm-lbl { display: block; font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.tv-comm-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    font-family: monospace;
    gap: 10px;
}
.tv-comm-copy {
    background: var(--clr-primary);
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* ════════════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════════════ */
.tv-pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}
.tv-toggle-label {
    font-size: .9rem;
    font-weight: 600;
    color: var(--clr-muted);
    transition: color .2s;
}
.tv-toggle-label--active { color: var(--clr-text); }
.tv-save-badge {
    font-style: normal;
    font-size: .72rem;
    font-weight: 700;
    background: #D1FAE5;
    color: #065F46;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 4px;
}

.tv-toggle {
    position: relative;
    width: 48px; height: 26px;
    background: var(--clr-border);
    border-radius: 50px;
    border: none;
    transition: background .25s;
    flex-shrink: 0;
}
.tv-toggle[aria-checked="true"] { background: var(--clr-primary); }
.tv-toggle__thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    transition: transform .25s;
}
.tv-toggle[aria-checked="true"] .tv-toggle__thumb { transform: translateX(22px); }

.tv-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tv-plan-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
}
.tv-plan-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.tv-plan-card--featured {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(108,99,255,.15), var(--shadow-md);
    transform: scale(1.03);
}
.tv-plan-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.tv-plan-card__badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.tv-plan-card__header { margin-bottom: 20px; }
.tv-plan-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.tv-plan-card__name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 4px;
}
.tv-plan-card__desc { font-size: .85rem; color: var(--clr-muted); }

.tv-plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--clr-border);
}
.tv-price {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--clr-text);
    line-height: 1;
}
.tv-price__currency { font-size: 1.4rem; font-weight: 700; vertical-align: top; margin-top: 4px; display: inline-block; }
.tv-price-period { font-size: .9rem; color: var(--clr-muted); font-weight: 500; }

.tv-plan-card__features { margin-bottom: 28px; }
.tv-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .88rem;
    border-bottom: 1px solid var(--clr-bg);
}
.tv-feat:last-child { border-bottom: none; }
.tv-feat::before {
    content: '';
    width: 18px; height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
}
.tv-feat--ok {
    color: var(--clr-text);
}
.tv-feat--ok::before {
    background-color: #D1FAE5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.tv-feat--no {
    color: var(--clr-muted);
    text-decoration: line-through;
    opacity: .5;
}
.tv-feat--no::before {
    background-color: #F3F4F6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tv-pricing__note {
    text-align: center;
    margin-top: 32px;
    font-size: .85rem;
    color: var(--clr-muted);
}

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════ */
.tv-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.tv-testimonial {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}
.tv-testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tv-testimonial--featured {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
}
.tv-testimonial__stars {
    font-size: 1rem;
    color: #FBBF24;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.tv-testimonial__text {
    font-size: .95rem;
    color: var(--clr-text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.tv-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tv-testimonial__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tv-testimonial__name {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    font-style: normal;
    color: var(--clr-text);
}
.tv-testimonial__role { font-size: .78rem; color: var(--clr-muted); }

/* ════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.tv-faq__wrap .tv-section__header { margin-bottom: 48px; }
.tv-faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tv-faq__item {
    border-bottom: 1px solid var(--clr-border);
}
.tv-faq__item:first-child { border-top: 1px solid var(--clr-border); }

.tv-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: .98rem;
    font-weight: 600;
    color: var(--clr-text);
    cursor: pointer;
    transition: color .2s;
}
.tv-faq__question:hover { color: var(--clr-primary); }
.tv-faq__question[aria-expanded="true"] { color: var(--clr-primary); }
.tv-faq__chevron {
    flex-shrink: 0;
    transition: transform .3s ease;
    color: var(--clr-muted);
}
.tv-faq__question[aria-expanded="true"] .tv-faq__chevron { transform: rotate(180deg); color: var(--clr-primary); }

.tv-faq__answer {
    padding-bottom: 22px;
    font-size: .93rem;
    color: var(--clr-muted);
    line-height: 1.75;
    overflow: hidden;
    transition: all .3s ease;
}
.tv-faq__answer[hidden] { display: none; }
.tv-faq__answer p + p { margin-top: 10px; }
.tv-faq__answer ul { margin: 10px 0 0 16px; list-style: disc; }
.tv-faq__answer li { margin-bottom: 6px; }
.tv-faq__answer code {
    background: var(--clr-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .88em;
    font-family: monospace;
    color: var(--clr-primary);
}

/* ════════════════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════════════════ */
.tv-cta {
    background: linear-gradient(135deg, #0F0C29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}
.tv-cta__blobs { position: absolute; inset: 0; pointer-events: none; }
.tv-cta .tv-blob--1 { top: -200px; left: 50%; transform: translateX(-50%); opacity: .3; }
.tv-cta .tv-blob--2 { bottom: -150px; right: -100px; width: 350px; height: 350px; opacity: .25; }

.tv-cta__inner { position: relative; z-index: 1; }
.tv-cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -.02em;
}
.tv-cta__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.tv-cta__actions { display: flex; justify-content: center; margin-bottom: 20px; }
.tv-cta__note { font-size: .82rem; color: rgba(255,255,255,.5); }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.tv-footer {
    background: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
    padding: 64px 0 32px;
}
.tv-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.tv-footer__brand .tv-header__logo { margin-bottom: 14px; }
.tv-footer__tagline { font-size: .9rem; color: var(--clr-muted); line-height: 1.65; margin-bottom: 10px; max-width: 280px; }
.tv-footer__rgpd { font-size: .78rem; color: var(--clr-muted); opacity: .7; max-width: 280px; line-height: 1.6; }

.tv-footer__heading {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--clr-text);
    margin-bottom: 16px;
}
.tv-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.tv-footer__col a {
    font-size: .88rem;
    color: var(--clr-muted);
    transition: color .2s;
}
.tv-footer__col a:hover { color: var(--clr-primary); }

.tv-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--clr-border);
    font-size: .82rem;
    color: var(--clr-muted);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .tv-features-grid     { grid-template-columns: repeat(2, 1fr); }
    .tv-pricing-grid      { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .tv-testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .tv-plan-card--featured { transform: none; }
    .tv-plan-card--featured:hover { transform: translateY(-4px); }
    .tv-commercial__inner { grid-template-columns: 1fr; gap: 40px; }
    .tv-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .tv-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }

    .tv-section { padding: 72px 0; }

    .tv-header__nav, .tv-header__cta { display: none; }
    .tv-header__burger { display: flex; }

    .tv-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .tv-hero__actions { justify-content: center; }
    .tv-hero__reassurance { justify-content: center; text-align: center; flex-wrap: wrap; }
    .tv-hero__subtitle { margin-inline: auto; }

    .tv-proof-bar__inner { gap: 20px; }
    .tv-proof-divider { display: none; }

    .tv-features-grid { grid-template-columns: 1fr; }

    .tv-steps::before { display: none; }
    .tv-step {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
    }
    .tv-step__visual { display: none; }
    .tv-step--right { direction: ltr; }

    .tv-footer__grid { grid-template-columns: 1fr 1fr; }

    .tv-cta__title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .tv-proof-bar__inner { gap: 12px; }
    .tv-proof-item__number { font-size: 1.6rem; }

    .tv-footer__grid { grid-template-columns: 1fr; }
    .tv-footer__bottom { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════════════
   BARRE ADMIN WORDPRESS
   La barre admin (32px desktop / 46px mobile) est en
   position:fixed top:0. On décale le header fixe du thème
   pour qu'il ne soit pas masqué dessous.
════════════════════════════════════════════════════════ */
.admin-bar .tv-header {
    top: 32px;
}

/* Sur mobile la barre admin est réduite à 46px */
@media screen and (max-width: 782px) {
    .admin-bar .tv-header {
        top: 46px;
    }
}

/* Décaler aussi l'ancre de scroll pour compenser les deux hauteurs */
.admin-bar {
    scroll-padding-top: calc(32px + var(--header-h) + 16px);
}
@media screen and (max-width: 782px) {
    .admin-bar {
        scroll-padding-top: calc(46px + var(--header-h) + 16px);
    }
}

/* Le menu mobile doit s'ouvrir juste sous le header décalé */
.admin-bar .tv-mobile-menu {
    top: calc(32px + var(--header-h));
}
@media screen and (max-width: 782px) {
    .admin-bar .tv-mobile-menu {
        top: calc(46px + var(--header-h));
    }
}
