/* =====================================================================
   DINO IPTV — front-end design system
   Light theme (off-white ground, dark text), Dino orange accent.
   Green is reserved for WhatsApp only. No build step required.
   ===================================================================== */

/* ---------------------------------------------------------------
   1. Tokens
--------------------------------------------------------------- */
:root {
    --bg:            #FBFBFA;
    --bg-elev:       #F6F4F1;
    --surface:       #FFFFFF;
    --surface-2:     #FAF9F7;
    --surface-3:     #F2EFEA;
    --line:          #E5E1DC;
    --line-soft:     #F0EDE9;

    --text:          #1B1712;
    --text-dim:      #5C544B;
    --text-mute:     #8A827A;

    /* Accent principal : orange Dino. Le vert est réservé à WhatsApp
       (--wa plus bas) — c'est la couleur que les gens reconnaissent, la
       diluer ailleurs ferait perdre au bouton son réflexe immédiat. */
    --brand:         #E8730C;
    --brand-strong:  #CC6208;
    --brand-deep:    #A94E05;
    --brand-ink:     #FFFFFF;
    --brand-soft:    #FDF0E3;
    --brand-line:    #F5CFA6;
    --brand-glow:    rgba(232,115,12,.28);

    /* Vert WhatsApp — ne sert QU'à ce bouton et à son icône. */
    --wa:            #1EA54F;
    --wa-strong:     #17853F;
    --wa-soft:       #E6F5EC;

    --danger:        #C03A2E;
    --danger-soft:   #FDECEA;
    --danger-line:   #F3C8C2;
    --warn:          #9A6300;
    --warn-soft:     #FFF5E2;
    --warn-line:     #F0D9A8;
    --info:          #1E6FB8;

    --screen:        #0D1620;
    --screen-2:      #16222E;
    --screen-line:   #22303E;

    --r-sm:  10px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  28px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(27,23,18,.05);
    --shadow-md: 0 4px 16px rgba(27,23,18,.07), 0 1px 3px rgba(27,23,18,.05);
    --shadow-lg: 0 18px 48px rgba(27,23,18,.12), 0 2px 8px rgba(27,23,18,.05);
    --shadow-brand: 0 10px 26px rgba(232,115,12,.26);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-head: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container: 1200px;
    --nav-h: 78px;
}

/* ---------------------------------------------------------------
   2. Reset
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-deep); }
button { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--brand-soft); color: var(--brand-deep); }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Visually hidden but available to screen readers */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* The [hidden] attribute must beat any component display rule — the MAC
   address field, for one, is toggled with el.hidden from JavaScript. */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------
   3. Layout helpers
--------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container-sm { max-width: 860px; }
.section { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.section--tight { padding: clamp(44px, 6vw, 76px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 45%, var(--bg) 100%); }
.section--panel { background: var(--bg-elev); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 10px; } .gap-md { gap: 18px; } .gap-lg { gap: 28px; }
.wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
.muted { color: var(--text-dim); }
.small { font-size: .875rem; }
.tiny { font-size: .8rem; }
.strong { font-weight: 700; }
.brand-text { color: var(--brand); }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; }

/* ---------------------------------------------------------------
   4. Decorative background
--------------------------------------------------------------- */
.bg-grid {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(27,23,18,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27,23,18,.045) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.orb--brand { background: rgba(232,115,12,.14); }
.orb--cyan  { background: rgba(232,155,12,.10); }

/* ---------------------------------------------------------------
   5. Buttons
--------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    font-weight: 700; font-size: .96rem; font-family: var(--font-head);
    letter-spacing: .01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: var(--brand-ink);
    box-shadow: var(--shadow-brand);
}
.btn--primary:hover { color: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 22px 54px rgba(232,115,12,.34); }

.btn--ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); transform: translateY(-2px); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(30,165,79,.28); }
.btn--wa:hover { background: #23c25e; color: #fff; transform: translateY(-2px); }

.btn--outline { background: transparent; border-color: var(--brand-line); color: var(--brand); }
.btn--outline:hover { background: var(--brand-soft); }

.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--lg { padding: 17px 34px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #a92f24; color: #fff; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* ---------------------------------------------------------------
   6. Header / navigation
--------------------------------------------------------------- */
/* ---------------------------------------------------------------
   Bande de contact (au-dessus de l'en-tête)
--------------------------------------------------------------- */
.topbar {
    background: var(--text);
    color: rgba(255,255,255,.82);
    font-size: .82rem;
    line-height: 1.4;
}
.topbar__inner {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 14px; flex-wrap: wrap; padding-block: 9px;
}
.topbar__item {
    display: inline-flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,.82); white-space: nowrap;
}
.topbar__item svg { width: 15px; height: 15px; flex: none; opacity: .75; }
a.topbar__item:hover { color: #fff; }
a.topbar__item:hover svg { opacity: 1; }
.topbar__item--wa { color: #86E4A8; font-weight: 600; }
.topbar__item--wa svg { opacity: 1; }
a.topbar__item--wa:hover { color: #A9F0C2; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.topbar__short { display: none; }

/* Sur mobile, trois éléments ne tiennent pas : on ne garde que WhatsApp,
   avec un libellé plus court. */
/* Mobile : Interac et WhatsApp restent tous les deux, l'e-mail saute
   (trop long) et le libellé WhatsApp se réduit au numéro. */
@media (max-width: 720px) {
    .topbar { font-size: .74rem; }
    .topbar__inner { gap: 10px; padding-block: 8px; justify-content: flex-end; }
    .topbar__item--mail { display: none; }
    .topbar__item--mail + .topbar__sep { display: none; }
    .topbar__item svg { width: 13px; height: 13px; }
    .topbar__long  { display: none; }
    .topbar__short { display: inline; }
}

@media (max-width: 380px) {
    .topbar { font-size: .7rem; }
    .topbar__inner { gap: 7px; }
}

.site-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(251,252,250,.82);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(251,252,250,.95); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__logo { height: 52px; width: auto; display: block; flex: none; }
.brand__mark { width: 42px; height: 42px; border-radius: 13px; flex: none; box-shadow: 0 8px 22px rgba(232,115,12,.24); }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.24rem; letter-spacing: -.02em; line-height: 1; }
.brand__name span { color: var(--brand); }
.brand__sub {
    display: block; font-size: .58rem; letter-spacing: .26em; color: var(--text-mute);
    font-weight: 800; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.5;
}
@media (max-width: 560px) {
    .brand__logo { height: 38px; }
    .brand__sub { display: none; }
}

.nav__menu { display: flex; align-items: center; gap: 20px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
    display: inline-block; padding: 9px 14px; border-radius: var(--r-pill);
    color: var(--text-dim); font-weight: 600; font-size: .93rem;
}
.nav__links a:hover { color: var(--text); background: var(--surface-3); }
.nav__links a.is-active { color: var(--brand); background: var(--brand-soft); }

.nav__actions { display: flex; align-items: center; gap: 9px; }
/* Les libellés ne doivent jamais se couper en deux lignes : trois boutons
   côte à côte, la place manque vite entre 1000 et 1200 px. */
.nav__actions .btn { white-space: nowrap; }

/* Entre 1080 et 1240 px, le bouton compte garde son icône et perd son
   libellé — c'est le plus reconnaissable des trois sans son texte. */
@media (min-width: 981px) and (max-width: 1240px) {
    .nav__links { gap: 0; }
    .nav__links a { padding-inline: 10px; }
    .nav__actions .btn { padding-inline: 16px; }
    .nav__actions .btn--ghost span.nav-label { display: none; }
}

.nav__toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--text); align-items: center; justify-content: center; cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px; transition: .2s; }
.nav__toggle span::before, .nav__toggle span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
    .nav__toggle { display: inline-flex; }
    .nav__menu {
        position: fixed; inset: var(--nav-h) 0 auto 0;
        background: var(--bg-elev); border-bottom: 1px solid var(--line);
        padding: 18px 22px 26px; display: none; flex-direction: column; gap: 14px;
        max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    .nav__menu.is-open { display: flex; }
    .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__links a { padding: 13px 16px; font-size: 1rem; border-radius: var(--r-md); }
    .nav__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; }
    .nav__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------
   7. Hero
--------------------------------------------------------------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.hero .orb--brand { width: 620px; height: 620px; top: -260px; left: -200px; }
.hero .orb--cyan  { width: 520px; height: 520px; bottom: -280px; right: -180px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px 7px 10px; border-radius: var(--r-pill);
    background: var(--brand-soft); border: 1px solid var(--brand-line);
    color: var(--brand); font-weight: 700; font-size: .8rem; letter-spacing: .04em;
    margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(232,115,12,.20); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.86); } }

.hero h1 { margin-bottom: 20px; }
.hero h1 .hl {
    background: linear-gradient(120deg, var(--brand) 10%, #FFB061 58%, var(--brand-deep) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.14rem); color: var(--text-dim); max-width: 56ch; margin-bottom: 26px; }

.hero__points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.hero__points li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-dim); font-size: .97rem; }
.hero__points .tick {
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand); border: 1px solid var(--brand);
    display: grid; place-items: center; margin-top: 2px;
}
.hero__points .tick svg { width: 12px; height: 12px; color: #fff; stroke-width: 3.2; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; padding-block: 22px; }

/* Device mockup */
/* ---------------------------------------------------------------
   Bande de prix du hero — visible sans faire défiler
--------------------------------------------------------------- */
.priceband {
    position: relative; z-index: 1;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 22px 24px;
    box-shadow: var(--shadow-md); margin-top: 46px;
}
.priceband__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
}
.priceband__title {
    font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
}
.priceband__note { font-size: .82rem; color: var(--text-mute); }

.priceband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.priceband__card {
    position: relative; display: flex; flex-direction: column; gap: 3px;
    padding: 18px 16px 16px; border-radius: var(--r-lg);
    background: var(--surface-2); border: 1px solid var(--line);
    color: var(--text); text-align: center; align-items: center;
    transition: transform .16s ease, border-color .18s ease, box-shadow .2s ease;
}
.priceband__card:hover {
    color: var(--text); transform: translateY(-3px);
    border-color: var(--brand-line); box-shadow: var(--shadow-md);
}
.priceband__card.is-featured {
    background: var(--brand-soft); border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(232,115,12,.12);
}
.priceband__flag {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: var(--brand-ink);
    font-size: .62rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    padding: 4px 12px; border-radius: var(--r-pill); white-space: nowrap;
}
.priceband__months {
    font-size: .78rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-mute);
}
.priceband__price {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1; color: var(--brand);
}
.priceband__price small {
    font-size: .42em; margin-left: 3px; color: var(--text-mute); font-weight: 700;
}
.priceband__per { font-size: .82rem; color: var(--text-dim); }

/* La carte « essai gratuit » se distingue par le vert, comme WhatsApp :
   c'est l'action gratuite, elle ne doit pas se confondre avec un tarif. */
.priceband__card--trial {
    background: var(--wa-soft); border-color: #A9DCBC;
}
.priceband__card--trial .priceband__price { color: var(--wa-strong); }
.priceband__card--trial:hover { border-color: var(--wa); }

@media (max-width: 900px) {
    .priceband__grid { grid-template-columns: repeat(2, 1fr); }
    .priceband { padding: 20px 16px; margin-top: 34px; }
}
@media (max-width: 420px) {
    .priceband__head { margin-bottom: 20px; }
    .priceband__note { font-size: .76rem; }
}

/* ---------------------------------------------------------------
   Maquette Smart TV du hero — dessinée en CSS, aucun logo de chaîne.
--------------------------------------------------------------- */
.tvset { position: relative; }
.tvset__screen {
    position: relative;
    border-radius: 14px;
    background: linear-gradient(165deg, #0F1A24 0%, #080D13 100%);
    border: 7px solid #14202B;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.05) inset,
        var(--shadow-lg),
        0 40px 70px -30px rgba(27,23,18,.5);
    padding: 12px;
    display: grid;
    gap: 10px;
    overflow: hidden;
}
/* Reflet diagonal discret sur la dalle */
.tvset__screen::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, rgba(255,255,255,.055) 0 22%, transparent 46%);
}
.tvset__stand {
    width: 34%; height: 9px; margin: 0 auto;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, #1A2733, #0E1720);
}
.tvset__stand::after {
    content: ''; display: block; width: 150%; height: 5px; margin: 4px auto 0;
    border-radius: 3px; background: #17222D;
    box-shadow: 0 12px 24px -8px rgba(27,23,18,.4);
}

/* --- Barre de navigation de l'interface --- */
.tvui__nav {
    display: flex; align-items: center; gap: 12px;
    padding: 2px 4px 9px; border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .58rem; white-space: nowrap; overflow: hidden;
}
.tvui__logo {
    font-family: var(--font-head); font-weight: 800; font-size: .74rem;
    color: #fff; letter-spacing: -.02em; flex: none;
}
.tvui__logo span { color: var(--brand); font-size: .5rem; margin-left: 2px; }
.tvui__navitem { color: rgba(255,255,255,.42); font-weight: 600; }
.tvui__navitem.is-active {
    color: #fff; background: var(--brand);
    padding: 3px 11px; border-radius: var(--r-pill);
}
.tvui__clock { margin-left: auto; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }

/* --- Trois vignettes en avant --- */
.tvui__hero { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px; }
.tvui__card {
    position: relative; border-radius: 9px; aspect-ratio: 16/10;
    border: 1px solid rgba(255,255,255,.07); overflow: hidden;
    display: flex; align-items: flex-end; padding: 8px;
}
.tvui__card--play {
    background: linear-gradient(140deg, var(--brand) 0%, #A03F04 100%);
    border-color: transparent;
}
.tvui__card--b { background: linear-gradient(150deg, #1D2C3A, #121C26); }
.tvui__card--c { background: linear-gradient(150deg, #24303D, #141D26); }
.tvui__cardname {
    font-size: .5rem; font-weight: 700; color: rgba(255,255,255,.92);
    text-shadow: 0 1px 3px rgba(0,0,0,.5); line-height: 1.2;
}
.tvui__badge {
    position: absolute; top: 7px; left: 7px;
    background: rgba(0,0,0,.42); color: #fff;
    font-size: .42rem; font-weight: 800; letter-spacing: .1em;
    padding: 2px 7px; border-radius: var(--r-pill);
}
.tvui__play {
    position: absolute; inset: 0; margin: auto;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,.94);
    display: grid; place-items: center;
}
.tvui__play svg { width: 13px; height: 13px; color: var(--brand-deep); margin-left: 2px; }

/* --- Rangée de vignettes secondaires --- */
.tvui__row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.tvui__thumb {
    display: block; aspect-ratio: 1/.72; border-radius: 6px;
    background: linear-gradient(160deg, #1B2733, #101820);
    border: 1px solid rgba(255,255,255,.05);
}
.tvui__thumb:nth-child(3) { background: linear-gradient(160deg, #2A3644, #16202A); }
.tvui__thumb:nth-child(6) { background: linear-gradient(160deg, #243141, #131C25); }

/* --- Barre de catégories --- */
.tvui__cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.tvui__cat {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 7px 2px; border-radius: 7px;
    background: rgba(255,255,255,.035); border: 1px solid transparent;
    color: rgba(255,255,255,.5);
}
.tvui__cat svg { width: 13px; height: 13px; }
.tvui__cat em { font-style: normal; font-size: .44rem; font-weight: 700; letter-spacing: .02em; }
.tvui__cat.is-active {
    background: rgba(232,115,12,.16); border-color: var(--brand); color: #FFC489;
}

@media (max-width: 940px) {
    .tvset__screen { border-width: 6px; padding: 10px; }
    .tvui__cats { grid-template-columns: repeat(4, 1fr); }
    .tvui__cat:nth-child(n+5) { display: none; }
    .tvui__row { grid-template-columns: repeat(5, 1fr); }
    .tvui__thumb:nth-child(n+6) { display: none; }
}

.float-card {
    position: absolute; border-radius: var(--r-md);
    background: #fff; border: 1px solid var(--line);
    padding: 12px 16px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 11px; font-size: .84rem; font-weight: 600;
    animation: floaty 6s ease-in-out infinite;
}
.float-card svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
/* Les étiquettes sortent du cadre plutôt que de recouvrir l'interface :
   la barre de navigation et les catégories de la télé restent lisibles. */
.float-card--tl { top: -20px; left: -34px; }
.float-card--br { bottom: -18px; right: -26px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; gap: 44px; }
    .float-card--tl { left: 4px; top: -18px; }
    .float-card--br { right: 4px; bottom: -16px; }
}
@media (max-width: 560px) {
    .float-card { display: none; }
}

/* ---------------------------------------------------------------
   8. Trust strip / stats
--------------------------------------------------------------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-elev); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line-soft); }
.trust__item:last-child { border-right: 0; }
.trust__value { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--brand); line-height: 1; }
.trust__label { font-size: .84rem; color: var(--text-mute); margin-top: 7px; }
@media (max-width: 720px) {
    .trust__grid { grid-template-columns: repeat(2, 1fr); }
    .trust__item:nth-child(2) { border-right: 0; }
    .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

/* ---------------------------------------------------------------
   9. Section headings
--------------------------------------------------------------- */
.sec-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 58px); text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head .kicker {
    display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .18em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--text-dim); font-size: 1.03rem; margin: 0; }

/* ---------------------------------------------------------------
   10. Cards
--------------------------------------------------------------- */
.card {
    background: linear-gradient(170deg, var(--surface-2) 0%, var(--surface) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 28px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand-line); box-shadow: var(--shadow-md); }
.card__icon {
    width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
    background: var(--brand-soft); border: 1px solid var(--brand-line); margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; color: var(--brand); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); margin: 0; font-size: .95rem; }

/* device chips */
.device-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 22px 18px; text-align: center; transition: .22s ease;
}
.device-card:hover { border-color: var(--brand-line); transform: translateY(-4px); background: var(--surface-2); }
.device-card svg { width: 34px; height: 34px; color: var(--brand); margin: 0 auto 12px; }
.device-card strong { display: block; font-size: .96rem; font-family: var(--font-head); }
.device-card span { display: block; font-size: .78rem; color: var(--text-mute); margin-top: 5px; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step {
    position: relative; padding: 26px 22px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line);
}
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
    color: var(--brand); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: .92rem; margin: 0; }

/* ---------------------------------------------------------------
   11. Pricing
--------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.plan {
    position: relative; border-radius: var(--r-xl); padding: 32px 28px 30px;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    display: flex; flex-direction: column; height: 100%;
}
.plan:hover { transform: translateY(-6px); border-color: var(--brand-line); box-shadow: var(--shadow-md); }
.plan--featured {
    border-color: var(--brand-line);
    background: linear-gradient(180deg, rgba(232,115,12,.09), var(--surface) 55%);
    box-shadow: 0 24px 60px rgba(232,115,12,.13);
}
.plan__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .08em;
    text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill);
    white-space: nowrap; box-shadow: var(--shadow-brand);
}
.plan__name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.plan__tag { color: var(--text-mute); font-size: .88rem; margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__price .amount { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -.03em; }
.plan__price .cur { color: var(--text-dim); font-weight: 700; font-size: 1rem; }
.plan__permonth { color: var(--brand); font-size: .87rem; font-weight: 600; margin-bottom: 18px; }
.plan__summary { color: var(--text-dim); font-size: .93rem; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.plan__features { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; flex: 1; }
.plan__features li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; color: var(--text-dim); }
.plan__features svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }

@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------------------------------------------------------------
   12. Reseller highlight
--------------------------------------------------------------- */
.reseller-panel {
    border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px);
    background:
        radial-gradient(circle at 12% 15%, rgba(232,115,12,.14), transparent 55%),
        linear-gradient(160deg, var(--surface-2), var(--surface));
    border: 1px solid var(--brand-line);
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.credit-badge {
    border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
    padding: 28px; text-align: center; box-shadow: var(--shadow-md);
}
.credit-badge .num { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--brand); }
.credit-badge .lbl { color: var(--text-mute); font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.credit-badge .price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; margin-top: 18px; }
.credit-badge .per { color: var(--text-dim); font-size: .88rem; }
@media (max-width: 860px) { .reseller-panel { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   13. Blog
--------------------------------------------------------------- */
.post-card {
    display: flex; flex-direction: column; height: 100%;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
    overflow: hidden; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--brand-line); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-elev); border-bottom: 1px solid var(--line-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--text-mute); margin-bottom: 12px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--text-dim); font-size: .92rem; flex: 1; }
.post-card__more { color: var(--brand); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; }
.post-card__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

.tag {
    display: inline-block; padding: 4px 11px; border-radius: var(--r-pill);
    background: var(--brand-soft); border: 1px solid var(--brand-line);
    color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}

/* article */
.article-hero { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); margin-bottom: 34px; }
.article { font-size: 1.04rem; line-height: 1.8; color: #35473E; }
.article h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; }
.article h3 { font-size: 1.22rem; margin: 1.8em 0 .5em; color: var(--text); }
.article p { margin-bottom: 1.15em; }
.article ul, .article ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article strong { color: var(--text); }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article blockquote {
    margin: 1.8em 0; padding: 20px 24px; border-left: 3px solid var(--brand);
    background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text-dim);
}
.article blockquote p:last-child { margin-bottom: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .94rem; }
.article th, .article td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.article th { background: var(--surface-2); font-family: var(--font-head); }
.article-note {
    margin: 2em 0; padding: 22px 24px; border-radius: var(--r-lg);
    background: var(--brand-soft); border: 1px solid var(--brand-line);
}
.article-note p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   14. FAQ accordion
--------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: border-color .2s ease; }
.faq__item[open] { border-color: var(--brand-line); }
.faq__q {
    list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
    font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: ''; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
    border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
    transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 24px 22px; color: var(--text-dim); font-size: .96rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------
   15. Forms
--------------------------------------------------------------- */
.form-panel {
    background: linear-gradient(170deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: clamp(24px, 3.5vw, 40px);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--brand); }
.field .hint { font-size: .79rem; color: var(--text-mute); }

.input, .select, .textarea {
    width: 100%; padding: 13px 16px;
    background: #fff; color: var(--text);
    border: 1px solid var(--line); border-radius: var(--r-md);
    font-family: inherit; font-size: .95rem;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input::placeholder, .textarea::placeholder { color: #9BA9A1; }
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(232,115,12,.14); background: #fff;
}
.textarea { min-height: 128px; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234D5F56' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px;
}
.select option { background: #fff; color: var(--text); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .82rem; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text-dim); cursor: pointer; }
.check input { margin: 0; width: 19px; height: 19px; accent-color: var(--brand); flex: none; margin-top: 2px; }

.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label {
    display: block; padding: 16px; border-radius: var(--r-md); cursor: pointer;
    background: #fff; border: 1px solid var(--line); transition: .18s ease;
}
.radio-card label strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.radio-card label span { font-size: .84rem; color: var(--text-mute); }
.radio-card label .p { color: var(--brand); font-weight: 800; font-size: 1.25rem; margin-top: 6px; display: block; font-family: var(--font-head); }
.radio-card input:checked + label { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(232,115,12,.14); }
.radio-card input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 720px) {
    .form-grid { grid-template-columns: 1fr; }
    .radio-cards { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   16. Alerts
--------------------------------------------------------------- */
.alert {
    display: flex; gap: 13px; align-items: flex-start;
    padding: 15px 18px; border-radius: var(--r-md); margin-bottom: 18px;
    border: 1px solid var(--line); background: var(--surface); font-size: .93rem;
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert--success { border-color: var(--brand-line); background: var(--brand-soft); color: #8A4104; }
.alert--success svg { color: var(--brand); }
.alert--error { border-color: var(--danger-line); background: var(--danger-soft); color: #8A2018; }
.alert--error svg { color: var(--danger); }
.alert--warning { border-color: var(--warn-line); background: var(--warn-soft); color: #6B4400; }
.alert--warning svg { color: var(--warn); }
.alert--info { border-color: #BBD6EC; background: #EDF5FB; color: #14507F; }
.alert--info svg { color: var(--info); }

/* ---------------------------------------------------------------
   17. Payment / reference blocks
--------------------------------------------------------------- */
.ref-box {
    border-radius: var(--r-lg); border: 1px dashed var(--brand-line);
    background: var(--brand-soft); padding: 22px 24px; text-align: center; margin-bottom: 22px;
}
.ref-box .lbl { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.ref-box .val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 700; color: var(--brand);
    margin: 8px 0 14px; word-break: break-all; letter-spacing: .04em;
}
.copy-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); color: var(--text);
    padding: 9px 16px; border-radius: var(--r-pill); cursor: pointer; font-size: .85rem; font-weight: 600;
    transition: .18s ease;
}
.copy-btn:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.is-copied { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }

.pay-steps { list-style: none; padding: 0; margin: 0; counter-reset: pay; display: grid; gap: 14px; }
.pay-steps li { display: flex; gap: 15px; align-items: flex-start; }
.pay-steps li::before {
    counter-increment: pay; content: counter(pay);
    flex: none; width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand); color: #fff;
    display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; font-size: .95rem; }
.kv dt { color: var(--text-mute); }
.kv dd { margin: 0; color: var(--text); font-weight: 600; }
@media (max-width: 620px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 12px; } }

/* ---------------------------------------------------------------
   18. CTA band
--------------------------------------------------------------- */
.cta-band {
    border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px);
    background:
        radial-gradient(circle at 85% 20%, rgba(232,115,12,.18), transparent 55%),
        linear-gradient(150deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line); text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); max-width: 62ch; margin: 0 auto 26px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------
   19. Footer
--------------------------------------------------------------- */
.site-footer { background: var(--bg-elev); border-top: 1px solid var(--line); padding: 62px 0 0; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer__grid h4 { font-size: .84rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; font-weight: 800; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__grid a { color: var(--text-dim); font-size: .93rem; }
.footer__grid a:hover { color: var(--brand); }
.footer__about p { color: var(--text-dim); font-size: .92rem; max-width: 42ch; margin: 16px 0 0; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-dim); font-size: .93rem; }
.footer__contact svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.footer__bottom {
    border-top: 1px solid var(--line-soft); padding: 22px 0;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    color: var(--text-mute); font-size: .85rem;
}
.footer__bottom a { color: var(--text-mute); }
.footer__bottom a:hover { color: var(--brand); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------------------------------------------------------
   20. Floating WhatsApp
--------------------------------------------------------------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 80;
    display: inline-flex; align-items: center; gap: 11px;
    background: #1EA54F; color: #fff; font-weight: 700; font-size: .92rem;
    padding: 13px 20px 13px 15px; border-radius: var(--r-pill);
    box-shadow: 0 16px 40px rgba(31,175,84,.4);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 50px rgba(31,175,84,.5); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--r-pill);
    box-shadow: 0 0 0 0 rgba(31,175,84,.6); animation: waPulse 2.6s infinite;
}
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(31,175,84,.55); }
    70%  { box-shadow: 0 0 0 18px rgba(31,175,84,0); }
    100% { box-shadow: 0 0 0 0 rgba(31,175,84,0); }
}
@media (max-width: 620px) {
    .wa-float { right: 14px; bottom: 14px; padding: 14px; }
    .wa-float span { display: none; }
}

/* ---------------------------------------------------------------
   21. Page header (inner pages)
--------------------------------------------------------------- */
.page-head { position: relative; padding: clamp(48px, 6vw, 84px) 0 clamp(30px, 4vw, 46px); overflow: hidden; text-align: center; }
.page-head .orb--brand { width: 520px; height: 520px; top: -300px; left: 50%; transform: translateX(-50%); }
.page-head__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.page-head p { color: var(--text-dim); font-size: 1.04rem; margin: 0; }
.breadcrumb { display: flex; gap: 9px; align-items: center; justify-content: center; font-size: .83rem; color: var(--text-mute); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--brand); }
.page-head--left { text-align: left; }
.page-head--left .breadcrumb { justify-content: flex-start; }
.page-head--left .page-head__inner { margin-left: 0; }

/* ---------------------------------------------------------------
   22. Misc
--------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; }
.info-card h3 { font-size: 1.08rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--brand-soft); border: 1px solid var(--brand-line); display: grid; place-items: center; flex: none; }
.info-list .ic svg { width: 19px; height: 19px; color: var(--brand); }
.info-list strong { display: block; font-size: .95rem; }
.info-list span, .info-list a { font-size: .93rem; color: var(--text-dim); }
.info-list a:hover { color: var(--brand); }

.notice-strip {
    display: flex; align-items: center; gap: 12px; justify-content: center;
    background: var(--brand-soft); border-bottom: 1px solid var(--brand-line);
    padding: 10px 18px; font-size: .87rem; color: #8A4104; text-align: center; flex-wrap: wrap;
}
.notice-strip a { font-weight: 700; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-mute); }
.empty-state svg { width: 46px; height: 46px; color: var(--line); margin: 0 auto 16px; }

/* Reveal on scroll.
   The hidden state is applied ONLY when JavaScript is available (the <html>
   element gets a "js" class), so the site is fully readable without JS. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------
   23. Responsive grid collapse
--------------------------------------------------------------- */
@media (max-width: 1080px) {
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .steps  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4, .grid-6, .steps { grid-template-columns: 1fr; }
    .section { padding: 54px 0; }
}

/* ---------------------------------------------------------------
   24. Trial result — credential panels
--------------------------------------------------------------- */
.success-seal {
    width: 74px; height: 74px; border-radius: 50%;
    display: grid; place-items: center; margin: 0 auto 20px;
    background: var(--brand-soft); border: 1px solid var(--brand-line);
    color: var(--brand-strong); box-shadow: 0 0 0 8px rgba(232,115,12,.10);
}
.success-seal svg { width: 34px; height: 34px; }
.success-seal--warn {
    background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn);
    box-shadow: 0 0 0 8px rgba(154,99,0,.07);
}

.cred-panel {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 26px 28px; box-shadow: var(--shadow-md);
}
.cred-panel--highlight {
    border-color: var(--brand-line); background: linear-gradient(180deg, var(--brand-soft), var(--surface) 60%);
    box-shadow: 0 0 0 3px rgba(232,115,12,.12), var(--shadow-md);
}
.cred-panel__head {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line-soft);
}
.cred-panel__head h2 { font-size: 1.12rem; margin: 0; }

.cred-row {
    display: grid; grid-template-columns: 168px 1fr auto;
    gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.cred-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cred-row__label {
    font-size: .8rem; letter-spacing: .09em; text-transform: uppercase;
    color: var(--text-mute); font-weight: 700;
}
.cred-row__value {
    font-size: 1.02rem; font-weight: 600; color: var(--text);
    word-break: break-all; min-width: 0;
}

.cred-long {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 14px 16px; margin-top: 16px;
}
.cred-long code {
    flex: 1 1 320px; min-width: 0; font-size: .88rem; color: var(--text-dim);
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    word-break: break-all; background: none; padding: 0;
}

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 13px; border-radius: var(--r-pill);
    font-size: .76rem; font-weight: 700; letter-spacing: .04em;
    background: var(--surface-3); border: 1px solid var(--line); color: var(--text-dim);
}
.badge--ok { background: var(--brand-soft); border-color: var(--brand-line); color: #8A4104; }
.badge--warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }
.badge--muted { background: var(--surface-3); color: var(--text-mute); }

.radio-cards--regions { grid-template-columns: repeat(2, 1fr); }
.radio-cards--regions label { padding: 14px 16px; }
.radio-cards--regions label strong { font-size: .96rem; }

@media (max-width: 720px) {
    .cred-panel { padding: 22px 18px; }
    .cred-row { grid-template-columns: 1fr; gap: 6px; align-items: start; }
    .cred-row .copy-btn { justify-self: start; margin-top: 4px; }
    .radio-cards--regions { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   25. Channel list
--------------------------------------------------------------- */
.ch-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px;
}
.ch-stat {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 20px 18px; text-align: center;
}
.ch-stat__value {
    display: block; font-family: var(--font-head); font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--brand); line-height: 1;
}
.ch-stat__label {
    display: block; margin-top: 7px; font-size: .78rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--text-mute); font-weight: 700;
}

.ch-search {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-md); margin-bottom: 34px;
}
.ch-search__bar { position: relative; display: flex; align-items: center; }
.ch-search__icon {
    position: absolute; left: 16px; color: var(--text-mute); pointer-events: none;
    width: 20px; height: 20px;
}
.ch-search__input { padding-left: 48px; padding-right: 46px; font-size: 1rem; }
.ch-search__clear {
    position: absolute; right: 12px; background: none; border: 0; cursor: pointer;
    color: var(--text-mute); display: grid; place-items: center; padding: 6px; border-radius: 50%;
}
.ch-search__clear:hover { color: var(--danger); background: var(--surface-3); }

.ch-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ch-filters .chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 15px; border-radius: var(--r-pill); cursor: pointer;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--text-dim); font-size: .85rem; font-weight: 600; transition: .18s ease;
}
.ch-filters .chip:hover { border-color: var(--brand-line); color: var(--text); }
.ch-filters .chip.is-active {
    background: var(--brand); border-color: var(--brand); color: var(--brand-ink);
}
.chip__n { font-size: .74rem; opacity: .72; font-variant-numeric: tabular-nums; }

.ch-status { margin: 16px 0 0; font-size: .85rem; color: var(--text-mute); }

.ch-hits {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px; margin-top: 18px;
}
.ch-hit {
    display: flex; flex-direction: column; gap: 3px;
    background: var(--surface-2); border: 1px solid var(--line-soft);
    border-radius: var(--r-sm); padding: 11px 14px; min-width: 0;
}
.ch-hit__name { font-weight: 600; font-size: .92rem; word-break: break-word; }
.ch-hit__cat { font-size: .76rem; color: var(--text-mute); }
.ch-more { margin: 18px 0 0; font-size: .84rem; color: var(--text-mute); text-align: center; }
.ch-empty { padding: 30px 20px; text-align: center; }
.ch-empty p { margin: 0 0 6px; }

.ch-region { margin-bottom: 34px; }
.ch-region__title {
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    font-size: 1.3rem; padding-bottom: 12px; margin-bottom: 16px;
    border-bottom: 2px solid var(--brand-soft);
}
.ch-region__count {
    font-family: var(--font-body); font-size: .82rem; font-weight: 600;
    color: var(--text-mute); letter-spacing: .02em;
}
.ch-region--first .ch-region__title { border-bottom-color: var(--brand); }

.ch-cat {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); margin-bottom: 9px; overflow: hidden;
}
.ch-cat > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 14px 18px; cursor: pointer; font-weight: 600; font-size: .94rem;
    list-style: none; transition: background .16s ease;
}
.ch-cat > summary::-webkit-details-marker { display: none; }
.ch-cat > summary:hover { background: var(--surface-2); }
.ch-cat[open] > summary { border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.ch-cat__n {
    flex: none; font-size: .78rem; font-weight: 700; color: var(--brand-strong);
    background: var(--brand-soft); border: 1px solid var(--brand-line);
    padding: 3px 11px; border-radius: var(--r-pill); font-variant-numeric: tabular-nums;
}
.ch-cat__hint { margin: 0; padding: 16px 18px; font-size: .85rem; color: var(--text-mute); }

.ch-list {
    list-style: none; margin: 0; padding: 16px 18px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px;
}
.ch-list li {
    font-size: .89rem; color: var(--text-dim);
    padding: 4px 0; border-bottom: 1px solid var(--line-soft); word-break: break-word;
}

@media (max-width: 720px) {
    .ch-stats { grid-template-columns: repeat(2, 1fr); }
    .ch-search { padding: 18px 15px; }
    .ch-hits, .ch-list { grid-template-columns: 1fr; }
}

/* Le bouton « effacer » natif de <input type="search"> ferait doublon
   avec le nôtre, qui est stylé et accessible au clavier. */
.ch-search__input::-webkit-search-cancel-button,
.ch-search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.ch-search__input::-ms-clear { display: none; }

/* ---------------------------------------------------------------
   26. Espace client
--------------------------------------------------------------- */
.acct-nav {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px;
    padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.acct-nav__item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--r-pill);
    background: var(--surface); border: 1px solid var(--line);
    color: var(--text-dim); font-size: .9rem; font-weight: 600;
    cursor: pointer; transition: .18s ease;
}
.acct-nav__item:hover { border-color: var(--brand-line); color: var(--text); }
.acct-nav__item.is-active {
    background: var(--brand); border-color: var(--brand); color: var(--brand-ink);
}
.acct-nav__item svg { width: 17px; height: 17px; flex: none; }
.acct-nav__out { margin-left: auto; }
.acct-nav__out .acct-nav__item { color: var(--text-mute); }
.acct-nav__out .acct-nav__item:hover { border-color: var(--danger-line); color: var(--danger); }

/* --- Une ligne (essai ou abonnement) --- */
.acct-line {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm);
}
.acct-line.is-active { border-color: var(--brand-line); box-shadow: 0 0 0 3px rgba(232,115,12,.09), var(--shadow-md); }
.acct-line__head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 22px 26px; border-bottom: 1px solid var(--line-soft);
    background: var(--surface-2);
}
.acct-line.is-active .acct-line__head { background: var(--brand-soft); border-bottom-color: var(--brand-line); }
.acct-line__kind {
    display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px;
}
.acct-line__title { font-size: 1.25rem; margin: 0 0 2px; }
.acct-line__body { padding: 8px 26px 24px; }
.acct-line__expiry {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 0; margin: 0; font-size: .92rem; color: var(--text-dim);
}
.acct-line__expiry svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

.acct-more { margin-top: 18px; }
.acct-more > summary {
    cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--brand);
    padding: 10px 0; list-style: none;
}
.acct-more > summary::-webkit-details-marker { display: none; }
.acct-more > summary::before { content: '+ '; font-weight: 800; }
.acct-more[open] > summary::before { content: '– '; }
.acct-more > summary:hover { color: var(--brand-deep); }

/* --- Guides d'installation --- */
.guide-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px;
}
.guide-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column;
}
.guide-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.guide-card__icon {
    flex: none; width: 44px; height: 44px; border-radius: var(--r-md);
    display: grid; place-items: center;
    background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-strong);
}
.guide-card__title { font-size: 1.05rem; margin: 0; }

.guide-steps { counter-reset: gstep; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-steps li {
    position: relative; padding-left: 34px; font-size: .9rem; color: var(--text-dim); line-height: 1.55;
}
.guide-steps li::before {
    counter-increment: gstep; content: counter(gstep);
    position: absolute; left: 0; top: 1px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand); color: var(--brand-ink);
    font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
.guide-steps code {
    display: inline-block; background: var(--surface-2); border: 1px solid var(--line);
    border-radius: 6px; padding: 2px 7px; font-size: .84em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    word-break: break-all; color: var(--text);
}
.guide-card__note {
    display: flex; gap: 9px; align-items: flex-start;
    margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft);
    font-size: .82rem; color: var(--text-mute);
}
.guide-card__note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--brand); }

@media (max-width: 720px) {
    .acct-line__head { padding: 18px 16px; }
    .acct-line__body { padding: 6px 16px 20px; }
    .acct-nav__out { margin-left: 0; width: 100%; }
    .acct-nav__out .acct-nav__item { width: 100%; justify-content: center; }
    .guide-grid { grid-template-columns: 1fr; }
    .guide-card { padding: 20px 16px; }
}
