/* ==========================================================================
   Abonnement IPTV Réunion — feuille de style unique
   Couleurs : bleu #013896 · rouge #cf142b · gris #f1f1f1 · blanc #ffffff
   ========================================================================== */
:root {
	--ri-blue: #013896;
	--ri-blue-dark: #012a70;
	--ri-blue-soft: #e6ecf7;
	--ri-red: #cf142b;
	--ri-red-dark: #a80f22;
	--ri-grey: #f1f1f1;
	--ri-white: #ffffff;
	--ri-ink: #0d1b3d;
	--ri-text: #2c3654;
	--ri-muted: #56607a;
	--ri-line: #dde2ec;
	--ri-wa: #1f9e55;
	--ri-radius: 14px;
	--ri-radius-lg: 22px;
	--ri-shadow: 0 10px 30px rgba(1, 26, 74, .08);
	--ri-shadow-lg: 0 18px 50px rgba(1, 26, 74, .14);
	--ri-font: "Nunito Sans", "Segoe UI", Arial, sans-serif;
	--ri-title: "Outfit", "Segoe UI", Arial, sans-serif;
	--ri-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ri-font); font-size: 17px; line-height: 1.65; color: var(--ri-text); background: var(--ri-white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ri-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ri-red); }
h1, h2, h3, h4 { font-family: var(--ri-title); color: var(--ri-ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ri-red); outline-offset: 2px; }

.ri-skip { position: absolute; left: -9999px; top: 0; background: var(--ri-ink); color: #fff; padding: 10px 16px; z-index: 300; }
.ri-skip:focus { left: 10px; top: 10px; color: #fff; }
.ri-wrap { width: 100%; max-width: var(--ri-max); margin: 0 auto; padding: 0 20px; }
.ri-narrow { max-width: 880px; }
.ri-main { display: block; }

/* ---------- Boutons ---------- */
.ri-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 999px; font-family: var(--ri-title); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; text-align: center; }
.ri-btn:hover { transform: translateY(-1px); }
.ri-btn-red { background: var(--ri-red); color: #fff; box-shadow: 0 8px 20px rgba(207, 20, 43, .25); }
.ri-btn-red:hover { background: var(--ri-red-dark); color: #fff; }
.ri-btn-blue { background: var(--ri-blue); color: #fff; }
.ri-btn-blue:hover { background: var(--ri-blue-dark); color: #fff; }
.ri-btn-white { background: #fff; color: var(--ri-blue); border-color: #fff; }
.ri-btn-white:hover { background: var(--ri-grey); color: var(--ri-red); }
.ri-btn-line { background: transparent; color: var(--ri-blue); border-color: var(--ri-blue); }
.ri-btn-line:hover { background: var(--ri-blue); color: #fff; }
.ri-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.ri-btn-ghost-light:hover { background: #fff; color: var(--ri-blue); }
.ri-btn-wa { background: var(--ri-wa); color: #fff; }
.ri-btn-wa:hover { background: #17854a; color: #fff; }
.ri-btn-block { display: flex; width: 100%; }
.ri-more { text-align: center; margin: 34px 0 0; }

/* ---------- Bandeau d'information + en-tête ---------- */
.ri-info { background: var(--ri-blue); color: #fff; font-size: .86rem; }
.ri-info-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.ri-info p { margin: 0; }
.ri-info i { color: #ffd2d8; margin-right: 6px; }
.ri-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--ri-line); transition: box-shadow .2s ease; }
.ri-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--ri-blue) 0 50%, var(--ri-red) 50% 100%); opacity: .9; }
.ri-header.scrolled { box-shadow: 0 6px 24px rgba(1, 26, 74, .10); }
.ri-header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.ri-logo img { width: 218px; height: auto; }
.ri-nav { margin-left: auto; }
.ri-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ri-nav a { display: block; padding: 10px 12px; font-family: var(--ri-title); font-weight: 600; font-size: .98rem; color: var(--ri-ink); text-decoration: none; position: relative; }
.ri-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--ri-red); transform: scaleX(0); transition: transform .2s ease; }
.ri-nav a:hover::after, .ri-nav a.is-current::after { transform: scaleX(1); }
.ri-nav a.is-current { color: var(--ri-blue); }
.ri-header-tools { display: flex; align-items: center; gap: 10px; }
.ri-icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--ri-line); background: #fff; color: var(--ri-blue); cursor: pointer; }
.ri-icon-btn:hover { border-color: var(--ri-blue); }
.ri-ask { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .95rem; color: var(--ri-wa); text-decoration: none; padding: 9px 12px; border-radius: 12px; background: #eaf7ef; }
.ri-ask i { font-size: 1.2rem; }
.ri-ask:hover { color: #0f6b38; }
.ri-header-order { padding: 11px 20px; }
.ri-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--ri-blue); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.ri-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }

.ri-drawer { position: fixed; top: 0; right: 0; width: min(360px, 88vw); height: 100%; background: #fff; z-index: 220; transform: translateX(105%); transition: transform .25s ease; display: flex; flex-direction: column; padding: 18px 20px; overflow-y: auto; }
.ri-drawer.open { transform: translateX(0); }
.ri-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ri-drawer-top img { width: 180px; }
.ri-drawer-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--ri-grey); color: var(--ri-ink); font-size: 1.6rem; cursor: pointer; }
.ri-drawer-list { list-style: none; padding: 0; margin: 0 0 18px; }
.ri-drawer-list a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--ri-line); font-family: var(--ri-title); font-weight: 600; color: var(--ri-ink); text-decoration: none; }
.ri-drawer-btns { display: grid; gap: 10px; margin-top: auto; }
.ri-overlay { position: fixed; inset: 0; background: rgba(13, 27, 61, .5); opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 210; }
.ri-overlay.active { opacity: 1; visibility: visible; }

.ri-search { position: fixed; inset: 0; background: rgba(13, 27, 61, .6); z-index: 230; display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 0; }
.ri-search.active { display: flex; }
.ri-search-box { position: relative; width: min(620px, 100%); background: #fff; border-radius: var(--ri-radius-lg); padding: 30px 26px 26px; box-shadow: var(--ri-shadow-lg); }
.ri-search-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.8rem; color: var(--ri-muted); cursor: pointer; }
.ri-search-title { font-family: var(--ri-title); font-weight: 700; font-size: 1.25rem; color: var(--ri-ink); }
.ri-search form { display: flex; gap: 10px; }
.ri-search input { flex: 1; min-width: 0; padding: 13px 16px; border: 2px solid var(--ri-line); border-radius: 999px; font: inherit; }
.ri-search input:focus { border-color: var(--ri-blue); outline: none; }

/* ---------- Héros ---------- */
.ri-hero { position: relative; background: var(--ri-grey); overflow: hidden; }
.ri-hero-media { position: absolute; top: 28px; bottom: 28px; right: max(20px, calc((100% - var(--ri-max)) / 2 + 20px)); width: calc(min(100vw, var(--ri-max)) * .52 - 20px); border-radius: var(--ri-radius-lg); overflow: hidden; }
.ri-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ri-hero-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, var(--ri-grey), rgba(241, 241, 241, 0)); z-index: 1; }
.ri-hero-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ri-ink); font-weight: 700; font-size: .88rem; padding: 9px 14px; border-radius: 999px; box-shadow: var(--ri-shadow); }
.ri-hero-tag i { color: var(--ri-red); }
.ri-hero-tag-a { top: 22px; right: 22px; }
.ri-hero-tag-b { bottom: 22px; right: 22px; }
.ri-hero-inner { position: relative; z-index: 3; padding-top: 72px; padding-bottom: 72px; min-height: 620px; display: flex; align-items: center; }
.ri-hero-text { width: 50%; }
.ri-hero h1 span { color: var(--ri-blue); }
.ri-hero-lead { font-size: 1.08rem; color: var(--ri-text); max-width: 620px; }
.ri-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.ri-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ri-title); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ri-red); margin: 0 0 12px; }
.ri-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ri-red); box-shadow: 0 0 0 4px rgba(207, 20, 43, .15); }
.ri-chips { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 0; }
.ri-chips li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .95rem; color: var(--ri-ink); }
.ri-chips i { color: #fff; background: var(--ri-blue); width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; }

.ri-marks { background: var(--ri-blue); color: #fff; }
.ri-marks-row { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ri-marks-row li { display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid rgba(255, 255, 255, .2); }
.ri-marks-row li:last-child { border-right: 0; }
.ri-marks-row b { font-family: var(--ri-title); font-size: 1.7rem; line-height: 1.1; }
.ri-marks-row span { font-size: .9rem; color: #dbe4f6; }

/* ---------- Sections ---------- */
.ri-sec { padding: 84px 0; }
.ri-sec-alt { background: var(--ri-grey); }
.ri-sec-blue { background: var(--ri-blue); color: #e8eefa; }
.ri-sec-blue h2, .ri-sec-blue h3 { color: #fff; }
.ri-sec-blue .ri-eyebrow { color: #ffc9d0; }
.ri-sec-blue .ri-head p { color: #dbe4f6; }
.ri-head { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.ri-head p { color: var(--ri-muted); font-size: 1.05rem; }
.ri-head-left { text-align: left; margin: 0 0 20px; }

/* Étapes */
.ri-steps { list-style: none; counter-reset: st; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ri-steps-4 { grid-template-columns: repeat(4, 1fr); }
.ri-steps li { counter-increment: st; position: relative; background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 64px 24px 24px; box-shadow: var(--ri-shadow); min-width: 0; }
.ri-steps li::before { content: counter(st); position: absolute; top: 20px; left: 24px; width: 36px; height: 36px; border-radius: 10px; background: var(--ri-red); color: #fff; font-family: var(--ri-title); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ri-steps p { margin: 0; color: var(--ri-muted); }
.ri-sec-alt .ri-steps li { background: #fff; }

/* Encadrés */
.ri-lead { display: flex; gap: 18px; align-items: flex-start; background: var(--ri-blue-soft); border-left: 5px solid var(--ri-blue); border-radius: var(--ri-radius); padding: 20px 22px; margin-top: 26px; }
.ri-lead i { font-size: 1.5rem; color: var(--ri-blue); margin-top: 3px; }
.ri-lead p { margin: 0; }
.ri-lead-red { background: #fdecee; border-left-color: var(--ri-red); }
.ri-lead-red i { color: var(--ri-red); }
.ri-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--ri-blue); color: #e8eefa; border-radius: var(--ri-radius-lg); padding: 28px 30px; margin-top: 32px; }
.ri-callout h3 { color: #fff; }
.ri-callout p { margin: 0; }
.ri-note { font-size: .85rem; color: var(--ri-muted); margin: 10px 0 0; }

/* Cartes */
.ri-cards { display: grid; gap: 22px; }
.ri-cards-2 { grid-template-columns: repeat(2, 1fr); }
.ri-cards-3 { grid-template-columns: repeat(3, 1fr); }
.ri-cards-4 { grid-template-columns: repeat(4, 1fr); }
.ri-card { background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 26px; min-width: 0; box-shadow: var(--ri-shadow); }
.ri-card p { margin: 0; color: var(--ri-muted); }
.ri-card p + p { margin-top: .8em; }
.ri-card-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--ri-blue-soft); color: var(--ri-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.ri-card:hover .ri-card-ico { background: var(--ri-blue); color: #fff; }
.ri-card-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.ri-card-glass p { color: #dbe4f6; }
.ri-card-quote { border-top: 4px solid var(--ri-red); }
.ri-card-quote h3 { color: var(--ri-blue); }
.ri-card ul { margin: .6em 0 0; padding-left: 1.1em; color: var(--ri-muted); }

/* Tableaux */
.ri-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--ri-radius); border: 1px solid var(--ri-line); background: #fff; }
.ri-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
.ri-table th { background: var(--ri-blue); color: #fff; text-align: left; padding: 14px 16px; font-family: var(--ri-title); font-weight: 600; }
.ri-table td { padding: 13px 16px; border-top: 1px solid var(--ri-line); vertical-align: top; }
.ri-table tr:nth-child(even) td { background: #f8f9fc; }
.ri-table td:first-child { font-weight: 700; color: var(--ri-ink); }
.ri-table-tight { min-width: 440px; font-size: .92rem; }
.ri-table-tight td, .ri-table-tight th { padding: 10px 12px; }

/* Deux colonnes */
.ri-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ri-split > * { min-width: 0; }
.ri-split-rev { grid-template-columns: .9fr 1.1fr; }
.ri-panel { background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 24px; box-shadow: var(--ri-shadow-lg); }
.ri-panel-title { font-family: var(--ri-title); font-weight: 700; color: var(--ri-ink); font-size: 1.1rem; }
.ri-panel-title i { color: var(--ri-red); margin-right: 8px; }
.ri-applist { list-style: none; padding: 0; margin: 0; }
.ri-applist li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--ri-line); }
.ri-applist b { color: var(--ri-blue); font-family: var(--ri-title); }
.ri-applist span { color: var(--ri-muted); font-size: .94rem; }

/* Liste de critères */
.ri-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 22px; }
.ri-checks li { display: flex; gap: 14px; background: #fff; border-radius: var(--ri-radius); padding: 18px 20px; border: 1px solid var(--ri-line); min-width: 0; }
.ri-checks i { color: var(--ri-red); font-size: 1.35rem; margin-top: 2px; }
.ri-checks b { display: block; color: var(--ri-ink); font-family: var(--ri-title); margin-bottom: 2px; }
.ri-checks span { color: var(--ri-muted); }

/* Formules */
.ri-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.ri-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 30px 24px 24px; box-shadow: var(--ri-shadow); min-width: 0; }
.ri-plan.is-star { background: var(--ri-blue); border-color: var(--ri-blue); color: #e8eefa; box-shadow: var(--ri-shadow-lg); transform: translateY(-8px); }
.ri-plan-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--ri-red); color: #fff; font-family: var(--ri-title); font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.ri-plan-kicker { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ri-red); margin: 0 0 4px; }
.ri-plan.is-star .ri-plan-kicker { color: #ffc9d0; }
.ri-plan-name { font-size: 1.35rem; margin: 0 0 8px; }
.ri-plan.is-star .ri-plan-name { color: #fff; }
.ri-plan-price { margin: 0; font-family: var(--ri-title); color: var(--ri-ink); line-height: 1; }
.ri-plan-price b { font-size: 3.1rem; font-weight: 800; }
.ri-plan-price span { font-size: 1.6rem; font-weight: 700; }
.ri-plan.is-star .ri-plan-price { color: #fff; }
.ri-plan-month { font-weight: 700; color: var(--ri-blue); margin: 6px 0 14px; font-size: .95rem; }
.ri-plan.is-star .ri-plan-month { color: #fff; }
.ri-plan-text { color: var(--ri-muted); font-size: .96rem; }
.ri-plan.is-star .ri-plan-text { color: #dbe4f6; }
.ri-plan-list { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.ri-plan-list li { display: flex; gap: 9px; padding: 6px 0; font-size: .95rem; }
.ri-plan-list i { color: var(--ri-blue); margin-top: 4px; }
.ri-plan.is-star .ri-plan-list i { color: #fff; }

/* Bandeau commande */
.ri-band { background: linear-gradient(120deg, var(--ri-blue) 0%, var(--ri-blue-dark) 70%); color: #e8eefa; padding: 56px 0; position: relative; overflow: hidden; }
.ri-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(207, 20, 43, .35); }
.ri-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ri-band h2 { color: #fff; margin-bottom: .3em; }
.ri-band p { margin: 0; max-width: 640px; }
.ri-band-btns { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* FAQ */
.ri-faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius); overflow: hidden; }
.faq-item.active { border-color: var(--ri-blue); box-shadow: var(--ri-shadow); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--ri-title); font-weight: 600; font-size: 1.05rem; color: var(--ri-ink); }
.faq-question i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ri-blue-soft); color: var(--ri-blue); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.faq-item.active .faq-question i { transform: rotate(45deg); background: var(--ri-red); color: #fff; }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--ri-text); }
.faq-item.active .faq-answer { display: block; }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }

/* ---------- Pages intérieures ---------- */
.ri-pagehead { background: var(--ri-grey); padding: 46px 0 50px; border-bottom: 1px solid var(--ri-line); position: relative; overflow: hidden; }
.ri-pagehead::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(1, 56, 150, .06); }
.ri-pagehead .ri-wrap { position: relative; z-index: 1; }
.ri-pagehead h1 { max-width: 900px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.ri-pagehead-lead { max-width: 800px; font-size: 1.08rem; color: var(--ri-muted); }
.ri-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: var(--ri-muted); margin-bottom: 16px; }
.ri-crumbs a { color: var(--ri-blue); font-weight: 600; text-decoration: none; }
.ri-crumbs i { font-size: .65rem; }

.ri-prose { max-width: 820px; margin: 0 auto; }
.ri-prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.ri-prose h3 { margin-top: 1.3em; }
.ri-prose ul, .ri-prose ol { padding-left: 1.3em; }
.ri-prose li { margin-bottom: .4em; }
.ri-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.ri-prose th, .ri-prose td { border: 1px solid var(--ri-line); padding: 10px 12px; text-align: left; }
.ri-prose th { background: var(--ri-blue); color: #fff; }
.ri-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ri-prose .aeo-quick-answer { background: var(--ri-blue-soft); border: 1px solid #c9d6ee; border-left: 5px solid var(--ri-blue); border-radius: var(--ri-radius); padding: 18px 20px; margin: 0 0 1.6em; }
.ri-prose .aeo-quick-answer p:last-child { margin: 0; }
.ri-prose .aeo-header { font-family: var(--ri-title); color: var(--ri-blue); margin-bottom: 6px; }
.ri-prose img { border-radius: var(--ri-radius); }
.ri-prose blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--ri-red); background: var(--ri-grey); border-radius: 0 var(--ri-radius) var(--ri-radius) 0; }
.ri-prose .ri-aeo, .ri-aeo { background: var(--ri-blue-soft); border: 1px solid #c9d6ee; border-left: 5px solid var(--ri-blue); border-radius: var(--ri-radius); padding: 18px 20px; margin: 0 0 1.6em; }
.ri-legal-body { padding: 56px 0 80px; }

/* Onglets appareils */
.ri-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.guide-tab-btn { border: 2px solid var(--ri-line); background: #fff; color: var(--ri-ink); border-radius: 999px; padding: 10px 18px; font-family: var(--ri-title); font-weight: 600; cursor: pointer; }
.guide-tab-btn.active { background: var(--ri-blue); border-color: var(--ri-blue); color: #fff; }
.guide-panel { display: none; }
.guide-panel.active { display: block; }
.ri-device { background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 30px; box-shadow: var(--ri-shadow); }
.ri-device-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.ri-device-grid > * { min-width: 0; }
.ri-device ol { padding-left: 1.2em; }
.ri-device ol li { margin-bottom: .55em; }
.ri-tip { background: var(--ri-grey); border-radius: var(--ri-radius); padding: 18px 20px; }
.ri-tip b { display: block; color: var(--ri-blue); font-family: var(--ri-title); margin-bottom: 6px; }
.ri-tip p:last-child { margin: 0; }

/* Calculateur */
.ri-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 30px; box-shadow: var(--ri-shadow-lg); }
.ri-calc > * { min-width: 0; }
.ri-calc label { display: block; font-weight: 700; color: var(--ri-ink); margin: 0 0 8px; }
.ri-calc-group { margin-bottom: 20px; }
.ri-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.ri-seg button { border: 2px solid var(--ri-line); background: #fff; border-radius: 12px; padding: 10px 16px; cursor: pointer; font-weight: 700; color: var(--ri-ink); }
.ri-seg button.is-on { border-color: var(--ri-blue); background: var(--ri-blue); color: #fff; }
.ri-seg button:disabled { opacity: .45; cursor: not-allowed; }
.ri-calc-out { background: var(--ri-blue); color: #e8eefa; border-radius: var(--ri-radius); padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.ri-calc-out p { margin: 0 0 6px; }
.ri-calc-total { font-family: var(--ri-title); font-size: 3rem; font-weight: 800; color: #fff; line-height: 1.1; }
.ri-calc-month { font-weight: 700; color: #fff; }
.ri-calc-out .ri-btn { margin-top: 18px; align-self: flex-start; }

/* Contact */
.ri-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; }
.ri-contact > * { min-width: 0; }
.ri-channel { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 22px; margin-bottom: 16px; box-shadow: var(--ri-shadow); }
.ri-channel i { font-size: 1.6rem; color: var(--ri-blue); width: 34px; text-align: center; }
.ri-channel .fa-whatsapp { color: var(--ri-wa); }
.ri-channel h3 { margin: 0 0 4px; }
.ri-channel p { margin: 0 0 10px; color: var(--ri-muted); }
.ri-channel a.ri-mail { overflow-wrap: anywhere; font-weight: 700; }
.ri-form { background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 30px; box-shadow: var(--ri-shadow-lg); }
.ri-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ri-form-row > * { min-width: 0; }
.ri-field { margin-bottom: 16px; }
.ri-field label { display: block; font-weight: 700; color: var(--ri-ink); margin-bottom: 6px; font-size: .95rem; }
.ri-field input, .ri-field select, .ri-field textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--ri-line); border-radius: 12px; font: inherit; color: var(--ri-ink); background: #fff; }
.ri-field input:focus, .ri-field select:focus, .ri-field textarea:focus { border-color: var(--ri-blue); outline: none; }
.ri-hp { position: absolute; left: -9999px; }
.ri-feedback { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.ri-feedback.success { display: block; background: #e8f6ee; color: #0f5d33; }
.ri-feedback.error { display: block; background: #fdecee; color: #8f0d1d; }

/* Blog */
.ri-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ri-post { background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--ri-shadow); min-width: 0; }
.ri-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ri-post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ri-post-meta { font-size: .85rem; color: var(--ri-muted); margin-bottom: 8px; }
.ri-post h2, .ri-post h3 { font-size: 1.15rem; margin-bottom: .5em; }
.ri-post h2 a, .ri-post h3 a { color: var(--ri-ink); text-decoration: none; }
.ri-post h2 a:hover, .ri-post h3 a:hover { color: var(--ri-blue); }
.ri-post p { color: var(--ri-muted); font-size: .96rem; flex: 1; }
.ri-post-link { font-weight: 700; text-decoration: none; }
.ri-empty { text-align: center; max-width: 640px; margin: 0 auto; }
.ri-empty-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ri-pagination { margin-top: 36px; text-align: center; }
.ri-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 3px; border-radius: 10px; border: 1px solid var(--ri-line); text-decoration: none; }
.ri-pagination .current { background: var(--ri-blue); color: #fff; border-color: var(--ri-blue); }

/* Article */
.ri-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 50px 0 70px; }
.ri-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--ri-muted); }
.ri-article-meta i { color: var(--ri-red); margin-right: 5px; }
.ri-article-cover { border-radius: var(--ri-radius-lg); overflow: hidden; margin-bottom: 26px; }
.ri-article .ri-prose { max-width: none; }
.ri-side { display: flex; flex-direction: column; gap: 20px; }
.ri-side-box { background: #fff; border: 1px solid var(--ri-line); border-radius: var(--ri-radius-lg); padding: 22px; position: relative; }
.ri-side-box.is-blue { background: var(--ri-blue); border-color: var(--ri-blue); color: #e8eefa; }
.ri-side-box.is-blue .ri-side-title, .ri-side-box.is-blue .ri-side-price { color: #fff; }
.ri-side-title { font-family: var(--ri-title); font-weight: 700; color: var(--ri-ink); font-size: 1.1rem; margin-bottom: 10px; }
.ri-side-price { font-family: var(--ri-title); font-weight: 800; font-size: 2.2rem; line-height: 1; margin: 6px 0 12px; }
.ri-side-box ul { list-style: none; padding: 0; margin: 0 0 16px; }
.ri-side-box li { padding: 5px 0; }
.ri-side-box li i { color: #ffc9d0; margin-right: 8px; }
.ri-side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ri-line); text-decoration: none; color: var(--ri-ink); font-weight: 600; }
.ri-side-links a i { color: var(--ri-blue); width: 18px; }
.ri-side-links li:last-child a { border-bottom: 0; }
.ri-sticky { position: sticky; top: 100px; }
.ri-team { display: flex; gap: 18px; align-items: flex-start; background: var(--ri-grey); border-radius: var(--ri-radius-lg); padding: 22px; margin: 34px 0; }
.ri-team img { width: 56px; height: 56px; border-radius: 14px; }
.ri-team p { margin: 0; color: var(--ri-muted); }
.ri-team b { display: block; color: var(--ri-ink); font-family: var(--ri-title); }
.ri-related h2 { font-size: 1.4rem; }
.ri-related .ri-posts { grid-template-columns: repeat(3, 1fr); }
[data-ri-later] { color: inherit; }

/* 404 / recherche */
.ri-404 { text-align: center; padding: 90px 0; }
.ri-404 b { display: block; font-family: var(--ri-title); font-size: 6rem; line-height: 1; color: var(--ri-blue); }
.ri-search-list { max-width: 820px; margin: 0 auto; }
.ri-search-item { padding: 20px 0; border-bottom: 1px solid var(--ri-line); }
.ri-search-item h2 { font-size: 1.2rem; margin-bottom: .3em; }
.ri-search-item h2 a { text-decoration: none; }

/* ---------- Pied de page ---------- */
.ri-footer { margin-top: 0; color: #dbe4f6; }
.ri-footer-wave { display: block; width: 100%; height: 50px; background: transparent; margin-bottom: -1px; }
.ri-footer-body { background: var(--ri-blue); padding: 40px 0 0; }
.ri-footer a { color: #fff; text-decoration: none; }
.ri-footer a:hover { color: #ffc9d0; text-decoration: underline; }
.ri-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; }
.ri-footer-grid > * { min-width: 0; }
.ri-footer-brand img { width: 218px; margin-bottom: 14px; }
.ri-footer-brand p { color: #dbe4f6; }
.ri-footer-mail { overflow-wrap: anywhere; }
.ri-footer-brand .ri-btn-white, .ri-footer-brand .ri-btn-white:hover { color: var(--ri-blue); text-decoration: none; }
.ri-footer-title { font-family: var(--ri-title); font-weight: 700; color: #fff; font-size: 1.02rem; margin-bottom: 12px; letter-spacing: .02em; }
.ri-footer ul { list-style: none; padding: 0; margin: 0; }
.ri-footer li { padding: 5px 0; }
.ri-group { border-top: 1px solid rgba(255, 255, 255, .18); padding: 22px 0; }
.ri-group ul { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.ri-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding: 20px 0 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: .9rem; }
.ri-footer-bottom p { margin: 0; }
.ri-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ri-pay { display: flex; gap: 12px; font-size: 1.9rem; color: #fff; }
.ri-pay li { padding: 0; }

.ri-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 150; width: 58px; height: 58px; border-radius: 50%; background: var(--ri-wa); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 10px 26px rgba(31, 158, 85, .4); text-decoration: none; }
.ri-wa-float:hover { color: #fff; background: #17854a; }
.ri-wa-float-tip { position: absolute; right: 70px; white-space: nowrap; background: #fff; color: var(--ri-ink); font-size: .88rem; font-weight: 700; padding: 8px 12px; border-radius: 10px; box-shadow: var(--ri-shadow); opacity: 0; transform: translateX(6px); transition: all .2s ease; pointer-events: none; }
.ri-wa-float:hover .ri-wa-float-tip { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ri-ask span { display: none; }
	.ri-nav a { padding: 10px 9px; font-size: .94rem; }
}
@media (max-width: 1060px) {
	.ri-plans { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
	.ri-plan.is-star { transform: none; }
	.ri-cards-4, .ri-steps-4 { grid-template-columns: repeat(2, 1fr); }
	.ri-footer-grid { grid-template-columns: 1fr 1fr; }
	.ri-posts, .ri-related .ri-posts { grid-template-columns: repeat(2, 1fr); }
	.ri-article-layout { grid-template-columns: 1fr; }
	.ri-sticky { position: static; }
}
@media (max-width: 960px) {
	.ri-nav, .ri-ask { display: none; }
	.ri-burger { display: flex; }
	.ri-header-tools { margin-left: auto; }
}
@media (max-width: 900px) {
	.ri-info { display: none; }
	.ri-hero { background: #fff; }
	.ri-hero-media { position: relative; top: auto; bottom: auto; right: auto; width: 100%; border-radius: 0; aspect-ratio: 4 / 3; }
	.ri-hero-media::before { inset: auto 0 0 0; width: 100%; height: 30%; background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0)); }
	.ri-hero-tag-a { top: 14px; right: 14px; }
	.ri-hero-tag-b { display: none; }
	.ri-hero-inner { min-height: 0; padding-top: 10px; padding-bottom: 46px; }
	.ri-hero-text { width: 100%; }
	.ri-marks-row { grid-template-columns: repeat(2, 1fr); }
	.ri-marks-row li:nth-child(2) { border-right: 0; }
	.ri-sec { padding: 60px 0; }
	.ri-steps, .ri-cards-3, .ri-cards-2 { grid-template-columns: 1fr; }
	.ri-split, .ri-split-rev, .ri-contact, .ri-calc, .ri-device-grid { grid-template-columns: 1fr; gap: 28px; }
	.ri-checks { grid-template-columns: 1fr; }
	.ri-callout, .ri-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.ri-logo img { width: 176px; }
	.ri-header-inner { gap: 10px; min-height: 66px; }
	.ri-header-order { padding: 9px 14px; font-size: .92rem; }
	.ri-icon-btn { display: none; }
	.ri-plans, .ri-cards-4, .ri-steps-4, .ri-posts, .ri-related .ri-posts { grid-template-columns: 1fr; }
	.ri-footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.ri-form-row { grid-template-columns: 1fr; }
	.ri-hero-btns .ri-btn { width: 100%; }
	.ri-band-btns, .ri-band-btns .ri-btn { width: 100%; }
	.ri-calc, .ri-form, .ri-device { padding: 22px 18px; }
	.ri-search form { flex-direction: column; }
	.ri-wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

.ri-blue { color: var(--ri-blue); }

/* ==========================================================================
   Design v2 (d'après la maquette fournie) — héros photo, cartes bleu nuit
   ========================================================================== */
:root { --rx-navy: #0a2a6b; --rx-navy-2: #12347f; --rx-soft: #f3f6fc; }

/* En-tête */
.ri-header { border-bottom: 1px solid var(--ri-line); }
.ri-header::after { display: none; }
.ri-header-order { border-radius: 10px; }

/* Héros plein écran */
.rx-hero { position: relative; overflow: hidden; background: var(--rx-navy); color: #fff; text-align: center; }
.rx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rx-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 14, 40, .62) 0%, rgba(5, 14, 40, .50) 45%, rgba(5, 14, 40, .80) 100%); }
.rx-hero-inner { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 54px; max-width: 900px; }
.rx-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .95); color: var(--ri-ink); font-weight: 700; font-size: .86rem; padding: 7px 16px; border-radius: 999px; margin: 0 0 20px; }
.rx-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: .35em; }
.rx-hero h1 span { display: block; color: #fff; }
.rx-hero-sub { font-family: var(--ri-title); font-weight: 700; font-size: 1.12rem; color: #fff; margin-bottom: 14px; }
.rx-hero-lead { color: #e3e9f6; max-width: 780px; margin: 0 auto 24px; }
.rx-hero-lead strong { color: #fff; }
.rx-hero-btn { padding: 15px 30px; }
.rx-stats { list-style: none; padding: 0; margin: 26px auto 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 640px; }
.rx-stats li { background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 12px 8px; display: flex; flex-direction: column; backdrop-filter: blur(6px); }
.rx-stats b { font-family: var(--ri-title); font-size: 1.25rem; color: #fff; }
.rx-stats span { font-size: .8rem; color: #dbe4f6; }
.rx-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .88rem; color: #e3e9f6; }
.rx-trust i { color: #ff9aa6; margin-right: 6px; }

/* Titres de section avec double trait */
.rx-head h2 { color: var(--rx-navy); }
.rx-head h2::after { content: ""; display: block; width: 76px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--ri-blue) 0 44%, transparent 44% 56%, var(--ri-red) 56% 100%); }
.rx-dark .rx-head h2, .rx-dark h2 { color: #fff; }
.rx-soft { background: var(--rx-soft); }

/* Applications */
.rx-apps { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rx-apps li { background: #fff; border-radius: 14px; box-shadow: var(--ri-shadow); padding: 16px 12px; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--ri-title); font-weight: 700; color: var(--rx-navy); min-width: 0; text-align: center; }
.rx-apps i { color: var(--ri-red); font-size: 1.2rem; }
.rx-center-note { text-align: center; max-width: 820px; margin: 26px auto 0; color: var(--ri-muted); }

/* Pastilles */
.rx-chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rx-chips li { background: var(--rx-navy); color: #fff; font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }
.rx-chips li i { color: #ff9aa6; margin-right: 6px; }
.rx-chips-sm li { background: #fff; color: var(--ri-ink); border: 1px solid var(--ri-line); font-weight: 600; }
.rx-chips-sm li i { color: var(--ri-red); font-size: .7rem; }

/* Avantages : cartes bleu nuit */
.rx-adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
.rx-adv > div { background: var(--rx-navy); color: #dbe4f6; border-radius: 14px; padding: 22px; box-shadow: 0 12px 28px rgba(10, 42, 107, .22); min-width: 0; }
.rx-adv h3 { color: #fff; font-size: 1.02rem; display: flex; gap: 9px; align-items: flex-start; }
.rx-adv h3 i { color: #3ccf7a; margin-top: 3px; }
.rx-adv p { margin: 0; font-size: .95rem; }
.rx-btn-grad { background: linear-gradient(90deg, var(--ri-blue), var(--ri-red)); color: #fff; box-shadow: 0 12px 26px rgba(1, 56, 150, .25); }
.rx-btn-grad:hover { color: #fff; filter: brightness(1.08); }

/* Formules : cartes bleu nuit */
.ri-plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; }
.ri-plans-1 { grid-template-columns: 1fr; }
.ri-plan { background: linear-gradient(180deg, var(--rx-navy-2), var(--rx-navy)); border: 2px solid var(--rx-navy); color: #dbe4f6; box-shadow: 0 16px 36px rgba(10, 42, 107, .25); padding: 26px 22px 20px; }
.ri-plan.is-star { background: linear-gradient(180deg, var(--rx-navy-2), var(--rx-navy)); border-color: var(--ri-red); box-shadow: 0 0 0 4px rgba(207, 20, 43, .18), 0 18px 40px rgba(10, 42, 107, .3); transform: none; }
.ri-plan-flag { background: var(--ri-red); }
.ri-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ri-plan-name, .ri-plan.is-star .ri-plan-name { color: #fff; font-size: 1.05rem; margin: 0; }
.ri-plan-price, .ri-plan.is-star .ri-plan-price { color: #fff; }
.ri-plan-price b { font-size: 2.4rem; }
.ri-plan-price span { font-size: 1.3rem; }
.ri-plan-month, .ri-plan.is-star .ri-plan-month { background: rgba(255, 255, 255, .12); color: #fff; border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; font-size: .9rem; }
.ri-plan-text, .ri-plan.is-star .ri-plan-text { background: rgba(0, 0, 0, .18); color: #dbe4f6; border-radius: 10px; padding: 10px 12px; font-size: .88rem; }
.ri-plan-text i { color: #9cc0ff; }
.ri-plan-list li { color: #e3e9f6; font-size: .92rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ri-plan-list i, .ri-plan.is-star .ri-plan-list i { color: #3ccf7a; }
.ri-plan .ri-btn-white { color: var(--rx-navy); border-radius: 10px; }
.ri-paystrip { list-style: none; padding: 7px 10px; margin: 12px 0 0; display: flex; justify-content: center; gap: 10px; background: #fff; border-radius: 10px; font-size: 1.5rem; color: var(--rx-navy); }
.ri-paystrip li { padding: 0; border: 0; }

.rx-duo { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: center; max-width: 1040px; margin: 0 auto; }
.rx-duo > * { min-width: 0; }
.ri-check-mini { list-style: none; padding: 0; }
.ri-check-mini li { padding: 4px 0; font-weight: 600; color: var(--ri-ink); }
.ri-check-mini i { color: var(--ri-red); margin-right: 8px; }

/* Étapes (cartes blanches numérotées) */
.rx-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rx-steps li { background: #fff; border-radius: 16px; box-shadow: var(--ri-shadow); padding: 26px 22px; text-align: center; min-width: 0; }
.rx-steps b { width: 46px; height: 46px; border-radius: 50%; background: var(--rx-navy); color: #fff; font-family: var(--ri-title); font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.rx-steps p { margin: 0; color: var(--ri-muted); }
.rx-steps strong { color: var(--ri-ink); }

/* Bandes bleu nuit */
.rx-dark { background: linear-gradient(180deg, var(--rx-navy), #071f52); color: #dbe4f6; }
.rx-dark .ri-head p, .rx-dark p { color: #dbe4f6; }
.rx-dark h3 { color: #fff; }
.rx-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rx-how > div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 24px; min-width: 0; }
.rx-num { width: 40px; height: 40px; border-radius: 50%; background: var(--ri-red); color: #fff; font-family: var(--ri-title); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.rx-how ul { list-style: none; padding: 0; margin: 12px 0 0; }
.rx-how li { padding: 3px 0; color: #fff; font-size: .94rem; }
.rx-how li i { color: #3ccf7a; margin-right: 8px; }
.rx-dark-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 0; }

/* Tableau comparatif */
.rx-compare { max-width: 1040px; margin: 0 auto; box-shadow: var(--ri-shadow-lg); border: 0; }
.rx-compare td:first-child i { width: 28px; height: 28px; border-radius: 8px; background: var(--ri-blue-soft); color: var(--ri-blue); display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; font-size: .8rem; }
.rx-yes { color: #1f9e55; margin-right: 6px; }
.rx-mini3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 28px auto 0; }
.rx-mini3 > div { background: #fff; border-radius: 14px; box-shadow: var(--ri-shadow); padding: 22px; text-align: center; min-width: 0; }
.rx-mini3 i { width: 46px; height: 46px; border-radius: 50%; background: var(--ri-blue-soft); color: var(--ri-blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.rx-mini3 h3 { font-size: 1rem; margin-bottom: .3em; }
.rx-mini3 p { margin: 0; color: var(--ri-muted); font-size: .94rem; }

.rx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.rx-split > * { min-width: 0; }
.rx-table-dark { border-color: rgba(255, 255, 255, .2); }
.rx-table-dark .ri-table th { background: var(--ri-red); }
.rx-note-light { font-size: .85rem; color: #b9c7e6 !important; }

/* Cartes à icône */
.rx-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rx-feat-4 { grid-template-columns: repeat(4, 1fr); }
.rx-feat > div { background: #fff; border-radius: 14px; box-shadow: var(--ri-shadow); padding: 22px; min-width: 0; }
.rx-feat span { width: 42px; height: 42px; border-radius: 10px; background: var(--rx-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.rx-feat h3 { font-size: 1.02rem; margin-bottom: .35em; color: var(--rx-navy); }
.rx-feat p { margin: 0; color: var(--ri-muted); font-size: .94rem; }
.rx-box { background: var(--rx-soft); border-radius: 20px; padding: 24px; max-width: 1040px; margin: 0 auto; }
.rx-box .rx-chips { margin: 22px 0 0; }
.rx-speed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.rx-speed > div { background: var(--rx-navy); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; min-width: 0; }
.rx-speed b { font-family: var(--ri-title); font-size: 1.5rem; color: #fff; }
.rx-speed span { color: #dbe4f6; font-size: .92rem; }

/* Questions des familles */
.rx-top0 { margin: 0 0 30px; }
.rx-quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rx-quotes > div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 18px; min-width: 0; }
.rx-tag { display: inline-block; background: rgba(255, 255, 255, .16); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.rx-quotes h3 { font-size: .98rem; color: #fff; }
.rx-quotes p { margin: 0; font-size: .9rem; }

/* FAQ + boîte d'aide */
.rx-faq { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; max-width: 1040px; margin: 0 auto; }
.rx-faq > * { min-width: 0; }
.rx-faq .faq-item { border: 0; box-shadow: var(--ri-shadow); }
.rx-help { background: var(--rx-navy); color: #dbe4f6; border-radius: 16px; padding: 24px; position: sticky; top: 100px; display: grid; gap: 12px; }
.rx-help-title { font-family: var(--ri-title); font-weight: 800; font-size: 1.3rem; color: #fff; margin: 0; }
.rx-help p { margin: 0; }
.rx-help ul { list-style: none; padding: 0; margin: 0; }
.rx-help li { padding: 3px 0; color: #fff; font-size: .94rem; }
.rx-help li i { color: #3ccf7a; margin-right: 8px; }

/* Bandeau commande centré */
.ri-band { background: linear-gradient(120deg, var(--rx-navy) 0%, var(--ri-blue) 100%); text-align: center; }
.ri-band::after { right: auto; left: -90px; top: auto; bottom: -120px; background: rgba(207, 20, 43, .28); }
.ri-band-inner { flex-direction: column; justify-content: center; }
.ri-band p { margin: 0 auto; }
.ri-band .ri-btn-white { background: var(--ri-red); border-color: var(--ri-red); color: #fff; }
.ri-band .ri-btn-white:hover { background: var(--ri-red-dark); color: #fff; }

/* Pied de page clair */
.rx-footer { background: #fff; color: var(--ri-text); border-top: 1px solid var(--ri-line); padding-top: 48px; }
.rx-footer a { color: var(--ri-ink); text-decoration: none; }
.rx-footer a:hover { color: var(--ri-red); text-decoration: underline; }
.rx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 30px; padding-bottom: 26px; }
.rx-footer-grid > * { min-width: 0; }
.rx-footer-title { font-family: var(--ri-title); font-weight: 800; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rx-navy); margin-bottom: 12px; }
.rx-footer-brand p { color: var(--ri-muted); font-size: .95rem; }
.rx-badges, .rx-footer-links, .rx-footer-trust, .rx-legal { list-style: none; padding: 0; margin: 0; }
.rx-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.rx-badges li { background: var(--rx-soft); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; color: var(--ri-ink); }
.rx-badges i { color: var(--ri-red); margin-right: 5px; }
.rx-footer-links li { padding: 5px 0; }
.rx-footer-contact li { display: flex; gap: 10px; align-items: baseline; }
.rx-footer-contact i { color: var(--ri-blue); width: 16px; }
.rx-footer-contact a, .rx-footer-contact span { overflow-wrap: anywhere; color: var(--ri-muted); }
.rx-paybox { background: #fff; border-radius: 14px; box-shadow: var(--ri-shadow-lg); padding: 18px; text-align: center; }
.rx-paybox .ri-paystrip { background: var(--rx-soft); }
.rx-paybox p:last-child { font-size: .85rem; color: var(--ri-muted); margin: 10px 0 0; }
.rx-footer .ri-group { border-top: 1px solid var(--ri-line); }
.rx-footer .ri-group a { color: var(--ri-blue); font-weight: 700; }
.rx-footer-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px 0; border-top: 1px solid var(--ri-line); }
.rx-footer-trust li { background: var(--rx-soft); border-radius: 999px; padding: 6px 14px; font-size: .86rem; font-weight: 600; color: var(--ri-ink); }
.rx-footer-trust i { color: var(--ri-blue); margin-right: 6px; }
.rx-footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 0 26px; border-top: 1px solid var(--ri-line); font-size: .86rem; color: var(--ri-muted); }
.rx-footer-bottom p { margin: 0; }
.rx-footer-logo img { width: 160px; }
.rx-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; }
.rx-legal a { color: var(--ri-muted); }

@media (max-width: 1060px) {
	.rx-quotes, .rx-feat-4 { grid-template-columns: repeat(2, 1fr); }
	.rx-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.rx-hero-inner { padding-top: 46px; padding-bottom: 40px; }
	.rx-stats { grid-template-columns: repeat(2, 1fr); }
	.rx-apps { grid-template-columns: repeat(2, 1fr); }
	.rx-adv, .ri-plans-3, .rx-steps, .rx-how, .rx-mini3, .rx-feat, .rx-speed, .rx-split, .rx-duo, .rx-faq { grid-template-columns: 1fr; }
	.rx-help { position: static; }
	.rx-footer-bottom { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.rx-legal { justify-content: center; }
}
@media (max-width: 600px) {
	.rx-quotes, .rx-feat-4, .rx-footer-grid { grid-template-columns: 1fr; }
	.rx-hero h1 { font-size: 1.9rem; }
	.rx-trust { font-size: .82rem; }
}

.rx-dark .ri-table td { color: var(--ri-text); }
.rx-dark .ri-table td:first-child { color: var(--ri-ink); }

/* ==========================================================================
   Design v2 — pages intérieures
   ========================================================================== */
/* Bandeau de titre : photo sombre comme l'accueil */
.ri-pagehead { background: var(--rx-navy) url("../images/re/abonnement-iptv-reunion-salon.webp") center / cover no-repeat; border-bottom: 0; padding: 60px 0 64px; text-align: center; }
.ri-pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 14, 40, .78), rgba(5, 14, 40, .86)); }
.ri-pagehead::after { display: none; }
.ri-pagehead h1 { color: #fff; margin-left: auto; margin-right: auto; }
.ri-pagehead h1 span, .ri-pagehead .ri-blue { color: #ff9aa6; }
.ri-pagehead-lead { color: #e3e9f6; margin-left: auto; margin-right: auto; }
.ri-crumbs { justify-content: center; color: #b9c7e6; }
.ri-crumbs a { color: #fff; }
.ri-pagehead .ri-chips { justify-content: center; margin-top: 18px; }
.ri-pagehead .ri-chips li { background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); color: #fff; padding: 7px 14px; border-radius: 999px; }
.ri-pagehead .ri-chips i { background: #1f9e55; }
.ri-article .ri-pagehead { text-align: left; }
.ri-article .ri-pagehead h1, .ri-article .ri-pagehead-lead { margin-left: 0; }
.ri-article .ri-crumbs { justify-content: flex-start; }
.ri-article-meta { color: #dbe4f6; }
.ri-article-meta i { color: #ff9aa6; }

/* Titres de section : double trait partout */
.ri-head h2 { color: var(--rx-navy); }
.ri-head:not(.ri-head-left) h2::after { content: ""; display: block; width: 76px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--ri-blue) 0 44%, transparent 44% 56%, var(--ri-red) 56% 100%); }
.ri-head-left h2::after { content: ""; display: block; width: 76px; height: 4px; margin: 14px 0 0; border-radius: 4px; background: linear-gradient(90deg, var(--ri-blue) 0 44%, transparent 44% 56%, var(--ri-red) 56% 100%); }
.ri-eyebrow { color: var(--ri-red); }

/* Fonds */
.ri-sec-alt { background: var(--rx-soft); }
.ri-sec-blue { background: linear-gradient(180deg, var(--rx-navy), #071f52); }
.ri-sec-blue .ri-head h2 { color: #fff; }

/* Cartes : bleu nuit sur fond blanc, blanches sur fond clair */
.ri-card { border: 0; border-radius: 14px; }
.ri-sec:not(.ri-sec-alt):not(.ri-sec-blue) .ri-card:not(.ri-card-glass) { background: var(--rx-navy); color: #dbe4f6; box-shadow: 0 12px 28px rgba(10, 42, 107, .22); }
.ri-sec:not(.ri-sec-alt):not(.ri-sec-blue) .ri-card:not(.ri-card-glass) h3 { color: #fff; }
.ri-sec:not(.ri-sec-alt):not(.ri-sec-blue) .ri-card:not(.ri-card-glass) p, .ri-sec:not(.ri-sec-alt):not(.ri-sec-blue) .ri-card:not(.ri-card-glass) ul { color: #dbe4f6; }
.ri-sec:not(.ri-sec-alt):not(.ri-sec-blue) .ri-card .ri-card-ico { background: rgba(255, 255, 255, .12); color: #fff; }
.ri-sec:not(.ri-sec-alt):not(.ri-sec-blue) .ri-card-quote { border-top: 4px solid var(--ri-red); }
.ri-sec:not(.ri-sec-alt):not(.ri-sec-blue) .ri-card-quote h3 { color: #fff; }
.ri-sec-alt .ri-card { background: #fff; box-shadow: var(--ri-shadow); }
.ri-sec-alt .ri-card .ri-card-ico, .ri-card:hover .ri-card-ico { background: var(--rx-navy); color: #fff; }
.ri-sec-alt .ri-card h3 { color: var(--rx-navy); }

/* Étapes numérotées : cartes blanches, cercle bleu nuit */
.ri-steps li { border: 0; border-radius: 16px; padding: 70px 22px 24px; text-align: center; }
.ri-steps li::before { left: 50%; transform: translateX(-50%); border-radius: 50%; width: 44px; height: 44px; background: var(--rx-navy); }
.ri-sec:not(.ri-sec-alt) .ri-steps li { background: var(--rx-soft); box-shadow: none; }

/* Encadrés, panneaux, listes */
.ri-callout { background: linear-gradient(120deg, var(--rx-navy), var(--ri-blue)); }
.ri-panel { border: 0; border-radius: 16px; }
.ri-panel-title { color: var(--rx-navy); }
.ri-checks li { border: 0; box-shadow: var(--ri-shadow); }
.ri-sec:not(.ri-sec-alt) .ri-checks li { background: var(--rx-soft); box-shadow: none; }
.ri-table th { background: var(--rx-navy); }
.ri-table-wrap { border: 0; box-shadow: var(--ri-shadow-lg); }
.ri-lead { background: #fff; box-shadow: var(--ri-shadow); }
.ri-sec:not(.ri-sec-alt) .ri-lead:not(.ri-lead-red) { background: var(--rx-soft); box-shadow: none; }

/* Onglets appareils, guide */
.guide-tab-btn { border-radius: 10px; }
.guide-tab-btn.active { background: var(--rx-navy); border-color: var(--rx-navy); }
.ri-device { border: 0; border-radius: 16px; }
.ri-device h2 { color: var(--rx-navy); }
.ri-tip { background: var(--rx-navy); color: #dbe4f6; }
.ri-tip b { color: #fff; }
.ri-tip p { color: #dbe4f6; }

/* Calculateur */
.ri-calc { border: 0; }
.ri-seg button { border-radius: 10px; }
.ri-seg button.is-on { background: var(--rx-navy); border-color: var(--rx-navy); }
.ri-calc-out { background: linear-gradient(180deg, var(--rx-navy-2), var(--rx-navy)); }
.ri-calc-out .ri-btn-white { color: var(--rx-navy); }

/* Contact */
.ri-channel { border: 0; border-radius: 16px; }
.ri-form { border: 0; border-radius: 16px; }
.ri-form h2 { color: var(--rx-navy); }

/* FAQ */
.faq-item { border: 0; box-shadow: var(--ri-shadow); }
.faq-item.active { box-shadow: 0 0 0 2px var(--ri-blue), var(--ri-shadow); }
.ri-sec:not(.ri-sec-alt) .faq-item { background: var(--rx-soft); box-shadow: none; }
.ri-sec:not(.ri-sec-alt) .faq-item.active { background: #fff; box-shadow: 0 0 0 2px var(--ri-blue), var(--ri-shadow); }

/* Blog, article, pages légales */
.ri-post { border: 0; }
.ri-side-box { border: 0; box-shadow: var(--ri-shadow); }
.ri-side-box.is-blue { background: linear-gradient(180deg, var(--rx-navy-2), var(--rx-navy)); }
.ri-team { background: var(--rx-navy); color: #dbe4f6; }
.ri-team b { color: #fff; }
.ri-team p { color: #dbe4f6; }
.ri-team a { color: #fff; }
.ri-legal-body { background: var(--rx-soft); }
.ri-legal-body .ri-prose { background: #fff; border-radius: 16px; box-shadow: var(--ri-shadow); padding: 34px 38px; }
.ri-prose h2 { color: var(--rx-navy); }
.ri-404 b { color: var(--rx-navy); }
@media (max-width: 600px) {
	.ri-pagehead { padding: 42px 0 46px; }
	.ri-legal-body .ri-prose { padding: 24px 18px; }
}

.rx-soft .faq-item, .rx-soft .ri-checks li, .rx-soft .ri-lead:not(.ri-lead-red) { background: #fff; box-shadow: var(--ri-shadow); }
.rx-soft .faq-item.active { box-shadow: 0 0 0 2px var(--ri-blue), var(--ri-shadow); }

/* Héros : photo du salon (ratio conservé, recadrage centré sur la télé et le canapé) */
.rx-hero-bg { object-fit: cover; object-position: 42% 40%; }
@media (max-width: 900px) { .rx-hero-bg { object-position: 38% 30%; } }
@media (max-width: 600px) { .rx-hero-bg { object-position: 34% 25%; } }
.rx-hero::before { background: linear-gradient(180deg, rgba(5, 14, 40, .62) 0%, rgba(5, 14, 40, .60) 45%, rgba(5, 14, 40, .82) 100%); }
.rx-hero h1, .rx-hero-sub, .rx-hero-lead { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }

/* ==========================================================================
   Animations et interactions (survol, clic, défilement) — même mise en page
   ========================================================================== */
:root { --rx-ease: cubic-bezier(.2, .8, .2, 1); }

/* Barre de progression de lecture + bouton retour en haut */
.rx-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--ri-blue), var(--ri-red)); transition: width .1s linear; }
.rx-top { position: fixed; right: 20px; bottom: 90px; z-index: 150; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--rx-navy); color: #fff; cursor: pointer; box-shadow: var(--ri-shadow-lg); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: all .3s var(--rx-ease); }
.rx-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rx-top:hover { background: var(--ri-red); transform: translateY(-3px); }

/* En-tête qui se resserre au défilement */
.ri-header-inner { transition: min-height .3s var(--rx-ease); }
.ri-header.scrolled .ri-header-inner { min-height: 62px; }
.ri-logo img { transition: transform .3s var(--rx-ease), width .3s var(--rx-ease); }
.ri-logo:hover img { transform: scale(1.04); }
.ri-header.scrolled .ri-logo img { width: 190px; }

/* Boutons : reflet au survol, enfoncement au clic, onde au clic */
.ri-btn { position: relative; overflow: hidden; isolation: isolate; }
.ri-btn::before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s var(--rx-ease); }
.ri-btn:hover::before { left: 140%; }
.ri-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 42, 107, .22); }
.ri-btn:active { transform: translateY(0) scale(.97); }
.ri-btn i { transition: transform .25s var(--rx-ease); }
.ri-btn:hover .fa-arrow-right { transform: translateX(4px); }
.ri-btn:hover .fa-arrow-down { transform: translateY(3px); }
.rx-ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); pointer-events: none; animation: rx-ripple .6s ease-out forwards; }
@keyframes rx-ripple { to { transform: scale(4); opacity: 0; } }
.ri-btn-red:not(.rx-hero-btn):hover, .rx-hero-btn:hover { box-shadow: 0 14px 30px rgba(207, 20, 43, .38); }
.rx-hero-btn { animation: rx-pulse 2.6s ease-in-out infinite; }
@keyframes rx-pulse { 0%, 100% { box-shadow: 0 8px 20px rgba(207, 20, 43, .25), 0 0 0 0 rgba(207, 20, 43, .45); } 50% { box-shadow: 0 8px 20px rgba(207, 20, 43, .25), 0 0 0 12px rgba(207, 20, 43, 0); } }

/* Navigation : soulignement animé déjà présent ; léger décalage */
.ri-nav a { transition: color .2s ease; }
.ri-nav a:hover { color: var(--ri-blue); }

/* Cartes : élévation au survol, enfoncement au clic */
.ri-card, .rx-feat > div, .rx-adv > div, .rx-mini3 > div, .rx-steps li, .ri-steps li, .rx-how > div, .rx-quotes > div, .ri-checks li, .ri-channel, .ri-post, .rx-speed > div, .ri-panel, .ri-side-box, .rx-apps li {
	transition: transform .35s var(--rx-ease), box-shadow .35s var(--rx-ease), background-color .35s ease, border-color .35s ease;
}
.ri-card:hover, .rx-feat > div:hover, .rx-adv > div:hover, .rx-mini3 > div:hover, .rx-steps li:hover, .ri-steps li:hover, .ri-checks li:hover, .ri-channel:hover, .ri-post:hover, .rx-speed > div:hover {
	transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 42, 107, .18);
}
.rx-how > div:hover, .rx-quotes > div:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); }
.ri-card:active, .rx-feat > div:active, .rx-adv > div:active, .rx-quotes > div:active, .rx-steps li:active { transform: translateY(-2px) scale(.985); }
.ri-card-ico, .rx-feat span, .rx-mini3 i, .rx-num, .rx-steps b, .ri-steps li::before { transition: transform .4s var(--rx-ease), background-color .3s ease; }
.ri-card:hover .ri-card-ico, .rx-feat > div:hover span, .rx-mini3 > div:hover i { transform: rotate(-8deg) scale(1.12); background: var(--ri-red); color: #fff; }
.rx-how > div:hover .rx-num, .rx-steps li:hover b { transform: scale(1.15) rotate(8deg); }
.ri-steps li:hover::before { transform: translateX(-50%) scale(1.15); background: var(--ri-red); }
.rx-adv > div:hover h3 i { animation: rx-pop .5s var(--rx-ease); }
@keyframes rx-pop { 50% { transform: scale(1.35); } }

/* Tuiles d'applications */
.rx-apps li { cursor: default; }
.rx-apps li:hover { transform: translateY(-5px); background: var(--rx-navy); color: #fff; box-shadow: 0 16px 32px rgba(10, 42, 107, .25); }
.rx-apps li:hover i { color: #ff9aa6; }
.rx-apps li i { transition: transform .4s var(--rx-ease); }
.rx-apps li:hover i { transform: scale(1.2); }

/* Formules : la carte survolée se soulève, l'autre reste en place */
.ri-plan { transition: transform .4s var(--rx-ease), box-shadow .4s var(--rx-ease), border-color .3s ease; }
.ri-plan:hover { transform: translateY(-10px); box-shadow: 0 26px 50px rgba(10, 42, 107, .35); border-color: #3d6fd6; }
.ri-plan.is-star:hover { border-color: var(--ri-red); }
.ri-plan.is-star { animation: rx-glow 3s ease-in-out infinite; }
@keyframes rx-glow { 0%, 100% { box-shadow: 0 0 0 4px rgba(207, 20, 43, .18), 0 18px 40px rgba(10, 42, 107, .3); } 50% { box-shadow: 0 0 0 8px rgba(207, 20, 43, .10), 0 18px 40px rgba(10, 42, 107, .3); } }
.ri-plan-price b { display: inline-block; transition: transform .4s var(--rx-ease); }
.ri-plan:hover .ri-plan-price b { transform: scale(1.08); }
.ri-plan-list li { transition: transform .25s ease, color .25s ease; }
.ri-plan-list li:hover { transform: translateX(4px); color: #fff; }
.ri-plan-flag i { animation: rx-spin 6s linear infinite; display: inline-block; }
@keyframes rx-spin { to { transform: rotate(360deg); } }

/* Tableaux : ligne survolée */
.ri-table tbody tr { transition: background-color .2s ease; }
.ri-table tbody tr:hover td { background: #e8eefb; }
.rx-table-dark .ri-table tbody tr:hover td { background: #fde9ec; }
.ri-table tbody tr td:first-child { transition: padding-left .25s ease; }
.ri-table tbody tr:hover td:first-child { padding-left: 22px; }

/* Pastilles, chips, liens */
.rx-chips li, .rx-trust li, .rx-badges li, .rx-footer-trust li { transition: transform .25s var(--rx-ease), background-color .25s ease; }
.rx-chips li:hover, .rx-badges li:hover, .rx-footer-trust li:hover { transform: translateY(-3px); }
.rx-chips:not(.rx-chips-sm) li:hover { background: var(--ri-red); }
.rx-stats li { transition: transform .3s var(--rx-ease), background-color .3s ease; }
.rx-stats li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .2); }
.rx-footer-links a, .ri-side-links a { display: inline-block; transition: transform .2s ease, color .2s ease; }
.rx-footer-links a:hover, .ri-side-links a:hover { transform: translateX(5px); }
.ri-pay li, .ri-paystrip li { transition: transform .25s var(--rx-ease); }
.ri-paystrip li:hover { transform: translateY(-3px) scale(1.12); }

/* FAQ : ouverture fluide */
.faq-item { transition: box-shadow .3s ease, background-color .3s ease, transform .3s var(--rx-ease); }
.faq-item:hover { transform: translateX(4px); }
.faq-question { transition: color .2s ease; }
.faq-question:hover { color: var(--ri-blue); }
.faq-answer { display: block; max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; opacity: 0; transition: max-height .45s var(--rx-ease), opacity .35s ease, padding .35s ease; }
.faq-item.active .faq-answer { max-height: 1400px; opacity: 1; padding-bottom: 18px; }
.faq-question i { transition: transform .35s var(--rx-ease), background-color .3s ease, color .3s ease; }

/* Onglets */
.guide-tab-btn { transition: all .25s var(--rx-ease); }
.guide-tab-btn:hover { transform: translateY(-2px); border-color: var(--rx-navy); }
.guide-panel.active { animation: rx-fade-up .45s var(--rx-ease); }
.ri-seg button { transition: all .2s ease; }
.ri-seg button:hover:not(:disabled) { border-color: var(--rx-navy); transform: translateY(-2px); }
.ri-calc-total { transition: transform .3s var(--rx-ease); }
.ri-calc-total.is-bump { animation: rx-pop .4s var(--rx-ease); }

/* Champs du formulaire */
.ri-field input, .ri-field select, .ri-field textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.ri-field input:focus, .ri-field select:focus, .ri-field textarea:focus { box-shadow: 0 0 0 4px rgba(1, 56, 150, .12); }

/* Héros : entrée en douceur au chargement */
.rx-hero-inner > * { animation: rx-fade-up .8s var(--rx-ease) both; }
.rx-hero-inner > *:nth-child(2) { animation-delay: .08s; }
.rx-hero-inner > *:nth-child(3) { animation-delay: .16s; }
.rx-hero-inner > *:nth-child(4) { animation-delay: .24s; }
.rx-hero-inner > *:nth-child(5) { animation-delay: .32s; }
.rx-hero-inner > *:nth-child(6) { animation-delay: .40s; }
.rx-hero-inner > *:nth-child(7) { animation-delay: .48s; }
.ri-pagehead .ri-wrap > * { animation: rx-fade-up .7s var(--rx-ease) both; }
.ri-pagehead .ri-wrap > *:nth-child(2) { animation-delay: .08s; }
.ri-pagehead .ri-wrap > *:nth-child(3) { animation-delay: .16s; }
.ri-pagehead .ri-wrap > *:nth-child(4) { animation-delay: .24s; }
@keyframes rx-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rx-pill .ri-dot { animation: rx-blink 1.6s ease-in-out infinite; }
@keyframes rx-blink { 50% { box-shadow: 0 0 0 7px rgba(207, 20, 43, 0); opacity: .6; } }

/* Apparition au défilement (activée seulement si le JS tourne) */
.rx-anim .rx-reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--rx-ease), transform .55s var(--rx-ease); transition-delay: var(--rx-d, 0s); }
.rx-anim .rx-reveal.is-in { opacity: 1; transform: none; }
.rx-anim .rx-reveal.is-in:hover { transition-delay: 0s; }

/* Bouton WhatsApp flottant */
.ri-wa-float { transition: transform .3s var(--rx-ease); animation: rx-float 3.2s ease-in-out infinite; }
.ri-wa-float:hover { transform: scale(1.1); animation-play-state: paused; }
@keyframes rx-float { 50% { transform: translateY(-5px); } }

@media (hover: none) {
	.ri-card:hover, .rx-feat > div:hover, .rx-adv > div:hover, .ri-plan:hover, .faq-item:hover, .rx-apps li:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rx-anim .rx-reveal { opacity: 1; transform: none; }
	.rx-hero-inner > *, .ri-pagehead .ri-wrap > *, .rx-hero-btn, .ri-plan.is-star, .ri-wa-float, .rx-pill .ri-dot, .ri-plan-flag i { animation: none !important; }
}

/* Logo IPTV.RE (format 2,36:1) */
.ri-logo img { width: 160px; }
.ri-header.scrolled .ri-logo img { width: 132px; }
.ri-drawer-top img { width: 150px; }
.rx-footer-logo img { width: 130px; }
@media (max-width: 600px) { .ri-logo img { width: 124px; } .ri-header.scrolled .ri-logo img { width: 112px; } }

.ri-logo img { width: 190px; }
.ri-header.scrolled .ri-logo img { width: 150px; }
.ri-header-inner { min-height: 88px; }
@media (max-width: 600px) { .ri-logo img { width: 140px; } .ri-header.scrolled .ri-logo img { width: 120px; } .ri-header-inner { min-height: 70px; } }
