/* Page /regie-video/ : la régie présentée comme une salle de régie.
 * Palette du site (teal / vanille), arêtes vives, Noto Sans. Les sections
 * sombres (.rv-hero, .rv-habillage, .rv-multiplex, .rv-final) portent les
 * moments « antenne » ; les claires portent l'explication. */

.rv {
    --rv-teal: var(--teal, #1C3D34);
    --rv-nuit: var(--teal-dk, #172713);
    --rv-vanille: var(--vanilla, #F2E5D2);
    --rv-sable: var(--vanilla-d, #E8D8C0);
    --rv-rouge: #9A2A1E;
    --rv-jaune: #E3B521;
    --rv-encre-2: rgba(28, 61, 52, 0.84);
    --rv-clair-2: rgba(242, 229, 210, 0.8);
    --rv-ease: cubic-bezier(0.16, 1, 0.3, 1);

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow-x: clip;
    color: var(--rv-teal);
    background: var(--rv-vanille);
    font-family: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}
body:has(.rv) .site-footer { margin-top: 0; }
.rv *, .rv *::before, .rv *::after { box-sizing: border-box; }
.rv ::selection { background: var(--rv-teal); color: var(--rv-vanille); }
.rv-hero ::selection, .rv-habillage ::selection, .rv-multiplex ::selection, .rv-final ::selection { background: var(--rv-vanille); color: var(--rv-nuit); }

.rv-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px); }
.rv-ico { width: 1.25em; height: 1.25em; flex: none; }

/* ── Typographie ── */
.rv-h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5.4vw, 5rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
    color: var(--rv-vanille);
}
.rv-h2 {
    margin: 0 0 clamp(28px, 4vw, 48px);
    /* Titres de section sur 2 lignes au plus (Félix, 17/10 : trop de titres sur 3). */
    max-width: 24ch;
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.rv-p { margin: 0 0 1em; max-width: 62ch; color: var(--rv-encre-2); }
.rv-p--large { font-size: 1.15rem; max-width: 70ch; }
.rv a { text-decoration: none; }
.rv a, .rv a:link, .rv a:visited, .rv a:hover { -webkit-text-fill-color: currentColor; } /* le thème force la couleur des liens via text-fill */

/* ── Boutons ── */
.rv-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.rv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1.5px solid currentColor;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    transition: transform 0.25s var(--rv-ease), box-shadow 0.25s var(--rv-ease), background-color 0.2s;
}
.rv-btn .rv-ico { transition: transform 0.25s var(--rv-ease); }
.rv-btn:hover .rv-ico { transform: translateX(3px); }
.rv-btn--plein { background: var(--rv-teal); border-color: var(--rv-teal); color: var(--rv-vanille); }
.rv-btn--plein:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23, 39, 19, 0.22); color: var(--rv-vanille); }
.rv-btn--trait { background: transparent; color: var(--rv-teal); }
.rv-btn--trait:hover { background: rgba(28, 61, 52, 0.06); color: var(--rv-teal); }
.rv-hero .rv-btn--plein, .rv-multiplex .rv-btn--plein, .rv-final .rv-btn--plein { background: var(--rv-vanille); border-color: var(--rv-vanille); color: var(--rv-nuit); }
.rv-hero .rv-btn--plein:hover, .rv-multiplex .rv-btn--plein:hover, .rv-final .rv-btn--plein:hover { color: var(--rv-nuit); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }
.rv-hero .rv-btn--trait, .rv-final .rv-btn--trait { color: var(--rv-vanille); }
.rv-hero .rv-btn--trait:hover, .rv-final .rv-btn--trait:hover { background: rgba(242, 229, 210, 0.08); color: var(--rv-vanille); }
.rv button:focus-visible, .rv a:focus-visible, .rv summary:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* ══ Hero : salle de régie ══ */
.rv-hero {
    position: relative;
    padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
    color: var(--rv-vanille);
    background:
        radial-gradient(ellipse 70% 55% at 78% -8%, rgba(242, 229, 210, 0.11), transparent 70%),
        radial-gradient(ellipse 50% 40% at 8% 0%, rgba(242, 229, 210, 0.05), transparent 70%),
        var(--rv-nuit);
}
.rv-hero-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    margin-bottom: clamp(36px, 5vw, 64px);
}
.rv-hero-sub { margin: 0 0 26px; max-width: 46ch; font-size: 1.125rem; color: var(--rv-clair-2); }

/* Studio : moniteur programme + pupitre */
.rv-studio {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    border: 1px solid rgba(242, 229, 210, 0.16);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    scroll-margin-top: 90px;
}
.rv-programme { min-width: 0; }
.rv-moniteur {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    container-type: inline-size;
    background: #0d160b;
    color: var(--rv-vanille);
}
.rv-fond {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 22, 11, 0) 40%, rgba(13, 22, 11, 0.55) 100%),
        repeating-linear-gradient(90deg, rgba(242, 229, 210, 0.045) 0 7%, transparent 7% 14%),
        linear-gradient(180deg, #2c5546 0%, #22473b 45%, var(--rv-teal) 100%);
    transition: opacity 0.5s var(--rv-ease);
}
.rv-fond::after { /* ligne médiane du terrain */
    content: "";
    position: absolute;
    left: 50%;
    top: 34%;
    bottom: 0;
    width: 0.35cqw;
    background: rgba(242, 229, 210, 0.35);
    transform: perspective(400px) rotateX(55deg);
    transform-origin: bottom;
}
.rv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--rv-ease); }
.rv-studio.is-cam .rv-video { opacity: 1; }
.rv-studio.is-cam .rv-fond { opacity: 0; }

.rv-l { position: absolute; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--rv-ease), transform 0.5s var(--rv-ease), visibility 0s linear 0.4s; }
.rv-studio[data-scene="match"] .rv-l-bug,
.rv-studio[data-scene="score"] .rv-l-bug,
.rv-studio[data-scene="match"] .rv-l-ticker,
.rv-studio[data-scene="avant"] .rv-l-avant,
.rv-studio[data-scene="mitemps"] .rv-l-mitemps,
.rv-studio[data-scene="partenaires"] .rv-l-partenaires,
.rv-studio[data-scene="hdm"] .rv-l-hdm,
.rv-studio[data-scene="fin"] .rv-l-fin { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Score incrusté (format classique) */
.rv-l-bug {
    top: 4.5cqw;
    left: 4cqw;
    display: grid;
    grid-template-columns: auto auto auto;
    font-size: 2cqw;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0.6cqw 1.6cqw rgba(0, 0, 0, 0.35);
}
.rv-bug-eq { padding: 0.75cqw 1.2cqw; background: var(--rv-vanille); color: var(--rv-teal); letter-spacing: 0.04em; }
.rv-bug-pts { padding: 0.75cqw 1.1cqw; min-width: 3.6cqw; text-align: center; background: var(--rv-teal); color: var(--rv-vanille); }
.rv-bug-chrono { grid-column: 3; grid-row: 1 / span 2; display: flex; align-items: center; padding: 0 1.4cqw; background: var(--rv-nuit); color: var(--rv-vanille); }

/* Bandeau d'action : entre par la gauche */
.rv-l-tiers {
    left: 4cqw;
    bottom: 11cqw;
    display: flex;
    font-size: 2.3cqw;
    font-weight: 800;
    line-height: 1;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.55s var(--rv-ease), opacity 0.2s, visibility 0s linear 0.55s;
}
.rv-studio.is-tiers[data-scene="match"] .rv-l-tiers,
.rv-studio.is-tiers[data-scene="score"] .rv-l-tiers { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.rv-tiers-action { padding: 1.1cqw 1.6cqw; background: var(--rv-vanille); color: var(--rv-teal); text-transform: uppercase; letter-spacing: 0.08em; }
.rv-studio.is-jaune .rv-tiers-action { background: var(--rv-jaune); color: var(--rv-nuit); }
.rv-tiers-nom { padding: 1.1cqw 1.8cqw; background: var(--rv-nuit); color: var(--rv-vanille); }

/* Message défilant */
.rv-l-ticker {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1cqw 0;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(242, 229, 210, 0.94);
    color: var(--rv-teal);
    font-size: 1.6cqw;
    font-weight: 700;
}
.rv-l-ticker span { display: inline-block; padding-left: 100%; animation: rv-defile 22s linear infinite; }
@keyframes rv-defile { to { transform: translateX(-100%); } }

/* Scènes plein cadre */
.rv-l-plein {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6cqw;
    padding: 4cqw;
    text-align: center;
    background: rgba(23, 39, 19, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transform: scale(1.02);
}
.rv-studio[data-scene="avant"] .rv-l-avant,
.rv-studio[data-scene="mitemps"] .rv-l-mitemps,
.rv-studio[data-scene="partenaires"] .rv-l-partenaires,
.rv-studio[data-scene="hdm"] .rv-l-hdm,
.rv-studio[data-scene="fin"] .rv-l-fin { transform: none; }
.rv-plein-titre { font-size: 1.8cqw; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; color: var(--rv-clair-2); }
.rv-plein-affiche { font-size: 6.6cqw; font-weight: 900; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rv-plein-affiche i { font-style: normal; opacity: 0.5; padding: 0 0.4em; }
.rv-plein-info { font-size: 2cqw; font-weight: 600; color: var(--rv-clair-2); }
.rv-mur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; width: 78%; }
.rv-mur span { display: flex; align-items: center; justify-content: center; min-height: 7cqw; padding: 1cqw; border: 1px solid rgba(242, 229, 210, 0.35); font-size: 1.9cqw; font-weight: 800; line-height: 1.15; }

.rv-antenne {
    position: absolute;
    top: 4.5cqw;
    right: 4cqw;
    display: inline-flex;
    align-items: center;
    gap: 0.8cqw;
    padding: 0.8cqw 1.3cqw;
    background: var(--rv-rouge);
    color: #fff;
    font-size: 1.5cqw;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.rv-antenne::before { content: ""; width: 1cqw; height: 1cqw; background: #fff; animation: rv-pulse 1.6s ease-in-out infinite; }
@keyframes rv-pulse { 50% { opacity: 0.25; } }

.rv-cam-barre { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px 18px; border-top: 1px solid rgba(242, 229, 210, 0.12); }
.rv-cam-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1.5px solid var(--rv-vanille);
    background: var(--rv-vanille);
    color: var(--rv-nuit);
    font: inherit;
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
}
.rv-cam-btn:hover { background: #fff; border-color: #fff; }
.rv-cam-btn[aria-pressed="true"] { background: transparent; color: var(--rv-vanille); border-color: var(--rv-rouge); }
.rv-cam-btn:disabled { opacity: 0.6; cursor: progress; }
.rv-cam-etat { margin: 0; flex: 1 1 260px; font-size: 0.9rem; line-height: 1.45; color: var(--rv-clair-2); }

.rv-pupitre { display: flex; flex-direction: column; gap: 22px; padding: 20px; border-left: 1px solid rgba(242, 229, 210, 0.12); background: rgba(242, 229, 210, 0.03); }
.rv-groupe { margin: 0; padding: 0; border: 0; min-width: 0; }
.rv-groupe legend { padding: 0; margin-bottom: 10px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rv-clair-2); }
.rv-scenes, .rv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rv-scene, .rv-action {
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid rgba(242, 229, 210, 0.22);
    background: transparent;
    color: var(--rv-vanille);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.rv-scene:hover, .rv-action:hover { border-color: rgba(242, 229, 210, 0.6); background: rgba(242, 229, 210, 0.06); }
.rv-scene[aria-pressed="true"] { background: var(--rv-vanille); border-color: var(--rv-vanille); color: var(--rv-nuit); }
.rv-action { display: flex; flex-direction: column; gap: 2px; background: rgba(242, 229, 210, 0.07); }
.rv-action small { font-size: 0.75rem; font-weight: 600; color: var(--rv-clair-2); font-variant-numeric: tabular-nums; }
.rv-action:active { background: var(--rv-vanille); color: var(--rv-nuit); }
.rv-pupitre-note { margin: auto 0 0; font-size: 0.85rem; line-height: 1.45; color: var(--rv-clair-2); }

/* ══ Sections ══ */
.rv-sec { padding: clamp(68px, 9vw, 128px) 0; }
.rv-chaine, .rv-partenaires, .rv-etapes, .rv-faq { background: var(--rv-vanille); }
.rv-telec, .rv-youtube { background: var(--rv-sable); }
.rv-habillage { background: var(--rv-nuit); color: var(--rv-vanille); }
.rv-multiplex { background: var(--rv-teal); color: var(--rv-vanille); }
.rv-habillage .rv-p, .rv-multiplex .rv-p { color: var(--rv-clair-2); }

/* Chaîne de production : sources → régie → antenne */
.rv-flux { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.rv-col { position: relative; }
.rv-col-t { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--rv-teal); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; }
.rv-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(clamp(28px, 4vw, 56px) / -2 - 9px);
    width: 18px;
    height: 18px;
    border-top: 2px solid var(--rv-teal);
    border-right: 2px solid var(--rv-teal);
    transform: rotate(45deg);
}
.rv-noeuds { margin: 0; padding: 0; list-style: none; }
.rv-noeud { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(28, 61, 52, 0.16); }
.rv-noeud .rv-ico { width: 28px; height: 28px; margin-top: 2px; }
.rv-noeud strong { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.25; margin-bottom: 4px; }
.rv-noeud span { display: block; font-size: 0.95rem; line-height: 1.5; color: var(--rv-encre-2); }
.rv-col--regie { display: flex; flex-direction: column; }
.rv-regie-coeur {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: clamp(26px, 3vw, 40px);
    background: var(--rv-teal);
    color: var(--rv-vanille);
    box-shadow: 0 24px 50px rgba(23, 39, 19, 0.25);
}
.rv-regie-coeur .rv-ico { width: 56px; height: 56px; }
.rv-regie-coeur strong { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; }
.rv-regie-coeur span { color: var(--rv-clair-2); line-height: 1.55; }
.rv-regie-coeur .rv-regie-sans { align-self: flex-start; margin-top: 6px; padding: 6px 12px; border: 1px solid rgba(242, 229, 210, 0.4); color: var(--rv-vanille); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }

/* Duos texte / visuel */
.rv-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.rv-duo--inverse > :first-child { order: 2; }

/* Habillage : pile de bandeaux en décalé */
.rv-conducteur { display: flex; flex-direction: column; gap: 14px; container-type: inline-size; }
.rv-cd { display: inline-flex; align-self: flex-start; font-size: clamp(0.95rem, 3.2cqw, 1.3rem); font-weight: 800; line-height: 1; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); }
.rv-cd:nth-child(2) { margin-left: 7%; }
.rv-cd:nth-child(3) { margin-left: 14%; }
.rv-cd:nth-child(4) { margin-left: 5%; }
.rv-cd:nth-child(5) { margin-left: 11%; }
.rv-cd b { padding: 14px 18px; background: var(--rv-vanille); color: var(--rv-teal); text-transform: uppercase; letter-spacing: 0.08em; }
.rv-cd em { padding: 14px 20px; font-style: normal; background: var(--rv-teal); color: var(--rv-vanille); }
.rv-cd--jaune b { background: var(--rv-jaune); color: var(--rv-nuit); }
.rv-cd--itw b { background: var(--rv-rouge); color: #fff; }

/* Partenaires : écran habillé */
.rv-ecran-part {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    container-type: inline-size;
    background:
        linear-gradient(180deg, rgba(13, 22, 11, 0) 40%, rgba(13, 22, 11, 0.5) 100%),
        repeating-linear-gradient(90deg, rgba(242, 229, 210, 0.045) 0 7%, transparent 7% 14%),
        linear-gradient(180deg, #2c5546 0%, var(--rv-teal) 100%);
    box-shadow: 0 30px 70px rgba(23, 39, 19, 0.3);
}
.rv-ep-logo { position: absolute; top: 4.5cqw; right: 4cqw; padding: 1.2cqw 1.8cqw; background: var(--rv-vanille); color: var(--rv-teal); font-size: 2.2cqw; font-weight: 900; letter-spacing: -0.01em; }
.rv-ep-ticker { position: absolute; left: 0; right: 0; bottom: 9cqw; padding: 1cqw 4cqw; background: var(--rv-nuit); color: var(--rv-vanille); font-size: 2cqw; font-weight: 700; white-space: nowrap; overflow: hidden; }
.rv-ep-bande { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(242, 229, 210, 0.95); }
.rv-ep-bande span { display: flex; align-items: center; justify-content: center; height: 9cqw; padding: 0 1cqw; border-left: 1px solid rgba(28, 61, 52, 0.15); color: var(--rv-teal); font-size: 1.8cqw; font-weight: 800; text-align: center; line-height: 1.1; }
.rv-ep-bande span:first-child { border-left: 0; }
.rv-liste { margin: 0 0 1.4em; padding: 0; list-style: none; }
.rv-liste li { padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(28, 61, 52, 0.16); position: relative; font-weight: 700; }
.rv-liste li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 2px; background: var(--rv-teal); }

/* Télécommande : téléphone */
.rv-tel {
    justify-self: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(300px, 100%);
    padding: 26px 18px 22px;
    border: 10px solid var(--rv-nuit);
    background: var(--rv-vanille);
    box-shadow: 0 40px 80px rgba(23, 39, 19, 0.3);
}
.rv-tel-score { display: grid; grid-template-columns: 1fr 1fr; background: var(--rv-teal); color: var(--rv-vanille); font-weight: 800; font-variant-numeric: tabular-nums; }
.rv-tel-score > span { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; }
.rv-tel-score > span + span { border-left: 1px solid rgba(242, 229, 210, 0.2); }
.rv-tel-score b { font-size: 1.9rem; font-weight: 900; }
.rv-tel-chrono { font-size: 0.85rem; font-weight: 700; color: var(--rv-encre-2); text-align: center; }
.rv-tel-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rv-tel-grille span { padding: 12px 8px; background: #fff; border: 1px solid rgba(28, 61, 52, 0.18); font-size: 0.88rem; font-weight: 800; text-align: center; }
.rv-tel-comm { padding: 12px; border: 1.5px solid var(--rv-teal); font-size: 0.9rem; font-weight: 800; text-align: center; }

/* Multiplex */
.rv-mx { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rv-mx-tuile { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; aspect-ratio: 16 / 10; padding: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(242, 229, 210, 0.14); }
.rv-mx-tuile em { font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--rv-clair-2); }
.rv-mx-tuile b { font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 900; font-variant-numeric: tabular-nums; }
.rv-mx-tuile--vous { background: var(--rv-vanille); color: var(--rv-nuit); border-color: var(--rv-vanille); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); transform: scale(1.04); }
.rv-mx-tuile--vous em { display: inline-flex; align-items: center; gap: 8px; color: var(--rv-rouge); font-weight: 800; }
.rv-mx-tuile--vous em::before { content: ""; width: 8px; height: 8px; background: var(--rv-rouge); animation: rv-pulse 1.6s ease-in-out infinite; }
.rv-multiplex .rv-btn { margin-top: 8px; }

/* Étapes : la séquence compte, les numéros restent */
.rv-et { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.rv-et li { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 2px solid var(--rv-teal); }
.rv-et b { font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.04em; }
.rv-et strong { display: block; font-size: 1.3rem; font-weight: 900; margin-bottom: 6px; }
.rv-et span { color: var(--rv-encre-2); }

/* YouTube et vos données */
.rv-yt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin: 28px 0 0; }
.rv-yt-col { padding: clamp(22px, 3vw, 34px); background: #fff; border-top: 3px solid var(--rv-teal); }
.rv-yt-col--non { border-top-color: var(--rv-rouge); }
.rv-yt-col h3 { margin: 0 0 14px; font-size: 1.2rem; font-weight: 900; }
.rv-yt-col ul { margin: 0; padding: 0; list-style: none; }
.rv-yt-col li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 9px 0; line-height: 1.45; }
.rv-yt-col .rv-ico { width: 20px; height: 20px; margin-top: 2px; }
.rv-yt-col--non .rv-ico { color: var(--rv-rouge); }
.rv-note { max-width: 80ch; margin: 26px 0 0; font-size: 0.95rem; color: var(--rv-encre-2); }
.rv-note a { color: var(--rv-teal); font-weight: 800; }
.rv-note a:hover { color: var(--rv-nuit); }

/* Questions */
.rv-faq-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.rv-faq-grille .rv-h2 { position: sticky; top: 110px; }
.rv-faq-liste { border-top: 1px solid rgba(28, 61, 52, 0.2); }
.rv-q { border-bottom: 1px solid rgba(28, 61, 52, 0.2); }
.rv-q summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font-size: 1.1rem; font-weight: 800; cursor: pointer; list-style: none; }
.rv-q summary::-webkit-details-marker { display: none; }
.rv-q summary .rv-ico { transition: transform 0.3s var(--rv-ease); }
.rv-q[open] summary .rv-ico { transform: rotate(180deg); }
.rv-q p { margin: 0 0 22px; max-width: 64ch; color: var(--rv-encre-2); }

/* Appel final */
.rv-final { padding: clamp(80px, 10vw, 140px) 0; background: var(--rv-nuit); color: var(--rv-vanille); }
.rv-final-t { margin: 0 0 32px; max-width: 16ch; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.rv-final-liens { display: flex; flex-wrap: wrap; gap: 24px; margin: 40px 0 0; font-size: 0.9rem; }
.rv-final-liens a { color: var(--rv-clair-2); font-weight: 700; }
.rv-final-liens a:hover { color: var(--rv-vanille); }

/* ══ Tablette ══ */
@media (max-width: 1080px) {
    .rv-studio { grid-template-columns: 1fr; }
    .rv-pupitre { border-left: 0; border-top: 1px solid rgba(242, 229, 210, 0.12); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .rv-pupitre-note { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 960px) {
    .rv-hero-head, .rv-duo, .rv-faq-grille { grid-template-columns: 1fr; }
    .rv-duo--inverse > :first-child { order: 0; }
    .rv-flux { grid-template-columns: 1fr; gap: 44px; }
    .rv-col:not(:last-child)::after { top: auto; bottom: -32px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }
    .rv-et { grid-template-columns: 1fr; }
    .rv-faq-grille .rv-h2 { position: static; }
}
/* ══ Mobile ══ */
@media (max-width: 640px) {
    .rv { font-size: 1rem; }
    .rv-hero { padding-top: 40px; }
    .rv-hero-sub { font-size: 1.05rem; }
    .rv-ctas .rv-btn { flex: 1 1 100%; justify-content: center; }
    .rv-hero > .rv-wrap:last-child { padding: 0; }
    .rv-studio { border-left: 0; border-right: 0; }
    .rv-pupitre { grid-template-columns: 1fr; padding: 16px; }
    .rv-scenes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; padding-bottom: 4px; }
    .rv-scene { flex: none; scroll-snap-align: start; }
    .rv-actions { grid-template-columns: repeat(3, 1fr); }
    .rv-cam-barre { padding: 14px 16px; }
    .rv-cam-btn { flex: 1 1 100%; justify-content: center; }
    .rv-yt { grid-template-columns: 1fr; }
    .rv-mx { gap: 8px; }
    .rv-mx-tuile { padding: 12px; }
    .rv-cd:nth-child(n) { margin-left: 0; }
}

/* Mouvement réduit : le défilant s'arrête, les transitions deviennent instantanées. */
@media (prefers-reduced-motion: reduce) {
    .rv-l-ticker span, .rv-antenne::before, .rv-mx-tuile--vous em::before { animation: none; }
    .rv-l-ticker span { padding-left: 4cqw; }
    .rv-l, .rv-l-tiers, .rv-video, .rv-fond, .rv-btn, .rv-btn .rv-ico, .rv-q summary .rv-ico { transition: none; }
}

/* Le thème colore les liens de l'article avec plus de poids : on reprend la main. */
.rv a.rv-btn--plein, .rv a.rv-btn--plein:hover { color: var(--rv-vanille); }
.rv a.rv-btn--trait, .rv a.rv-btn--trait:hover { color: var(--rv-teal); }
.rv .rv-hero a.rv-btn--plein, .rv .rv-multiplex a.rv-btn--plein, .rv .rv-final a.rv-btn--plein,
.rv .rv-hero a.rv-btn--plein:hover, .rv .rv-multiplex a.rv-btn--plein:hover, .rv .rv-final a.rv-btn--plein:hover { color: var(--rv-nuit); }
.rv .rv-hero a.rv-btn--trait, .rv .rv-final a.rv-btn--trait,
.rv .rv-hero a.rv-btn--trait:hover, .rv .rv-final a.rv-btn--trait:hover { color: var(--rv-vanille); }
.rv .rv-note a { color: var(--rv-teal); }
.rv .rv-final-liens a { color: var(--rv-clair-2); }
/* La règle .its-v2 a[class]:not(…) du thème force color:inherit sur le lien :
   la couleur est portée par l'enfant, que cette règle n'atteint pas. */
.rv-btn-in { display: inline-flex; align-items: center; gap: 10px; color: var(--rv-vanille); }
.rv-btn--trait .rv-btn-in { color: var(--rv-teal); }
.rv-hero .rv-btn--plein .rv-btn-in, .rv-multiplex .rv-btn--plein .rv-btn-in, .rv-final .rv-btn--plein .rv-btn-in { color: var(--rv-nuit); }
.rv-hero .rv-btn--trait .rv-btn-in, .rv-final .rv-btn--trait .rv-btn-in { color: var(--rv-vanille); }

/* Retour de connexion YouTube depuis l'app (onglet intégré). */
.rv-retour { position: sticky; top: 0; z-index: 5; margin: 0; padding: 16px clamp(18px, 4vw, 48px); background: var(--rv-rouge); color: #fff; font-weight: 800; text-align: center; }
.rv-retour.is-ok { background: var(--rv-teal); color: var(--rv-vanille); }
.rv-retour[hidden] { display: none; }
