/* IPTV France — feuille de style unique, sans police ni ressource externe. */
:root {
  --ink: #0a1b3d;
  --ink-2: #071430;
  --blue: #1f4fd8;
  --blue-dark: #173ba6;
  --glow: #6f9bff;
  --sky: #eef3fc;
  --sky-2: #dce7fa;
  --mist: #f5f8fe;
  --line: #d3ddee;
  --text: #1c2b4a;
  --muted: #4a5b7a;
  --white: #fff;
  --warn-bg: #fff6e0;
  --warn-line: #d9a93a;
  --warn-text: #5c4300;
  --ok: #0f6b3e;
  --no: #8a2a2a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 27, 61, 0.05), 0 10px 28px -12px rgba(10, 27, 61, 0.18);
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 5.6vw, 3.7rem); letter-spacing: -0.028em; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
.small { font-size: 0.9375rem; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.links { margin-top: 1.2em; }
.center { text-align: center; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 0.75rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 6px 6px; }
.skip:focus { top: 0; }

.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 48rem); }

/* ---- En-tête ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.5) blur(12px); } }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 48px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.005em; }
.menu-btn { font: inherit; font-weight: 600; background: var(--sky); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 1rem; min-height: 44px; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.site-nav a:not(.btn) { display: block; padding: 0.55rem 0.7rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px; transition: background-color 0.15s; }
.site-nav a:not(.btn):hover { background: var(--sky); }
.site-nav a[aria-current="page"] { background: var(--sky); box-shadow: inset 0 -2px 0 var(--blue); }

/* Mobile : le menu est replié seulement si le JS est actif (sans JS, il reste visible). */
.js .menu-btn { display: inline-block; }
.menu-btn { display: none; }
.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(10, 27, 61, 0.3); padding: 0.75rem 1.25rem 1.25rem; }
.js .site-nav.open { display: block; }
.js .site-nav ul { flex-direction: column; margin-bottom: 1rem; }
.site-nav .nav-cta { width: 100%; }
html:not(.js) .bar { flex-wrap: wrap; padding-block: 0.5rem; }

@media (min-width: 71rem) {
  .menu-btn { display: none !important; }
  .js .site-nav, .site-nav { display: flex !important; position: static; align-items: center; gap: 0.75rem; padding: 0; border: 0; background: none; box-shadow: none; }
  .js .site-nav ul { flex-direction: row; flex-wrap: nowrap; margin: 0; }
  .site-nav a:not(.btn) { white-space: nowrap; padding-inline: 0.6rem; }
  .site-nav .nav-cta { width: auto; white-space: nowrap; padding-inline: 1rem; }
}

/* ---- Boutons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 600; text-decoration: none; padding: 0.75rem 1.3rem; min-height: 48px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.btn-primary { background: linear-gradient(180deg, #2c61ee, var(--blue)); color: #fff; box-shadow: 0 8px 18px -8px rgba(31, 79, 216, 0.7); }
.btn-primary:hover { background: linear-gradient(180deg, #2756dc, var(--blue-dark)); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 22px -10px rgba(31, 79, 216, 0.8); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: #b8c6e2; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn:active { transform: translateY(0); }
.icon { flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---- Héros ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 28rem at 85% -5%, rgba(111, 155, 255, 0.35), transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }

/* Bandeau de confiance */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin-block: 0; padding: 1.1rem 0; display: grid; gap: 0.85rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .trust-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.trust-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; color: var(--ink); font-size: 0.975rem; }
.trust-list .icon { width: 2.4rem; height: 2.4rem; padding: 0.55rem; border-radius: 12px; background: var(--sky); color: var(--blue); }


/* ---- Sections ---- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.tight { padding-top: clamp(1.75rem, 4vw, 3rem); }
.tint { background: var(--mist); border-block: 1px solid #e4ebf7; }
.section-head { max-width: 48rem; margin-bottom: 1.75rem; }
.two-col { display: grid; gap: 2.25rem; }
@media (min-width: 56rem) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } .two-col.wide-right { grid-template-columns: 0.8fr 1.2fr; } }

.page-head { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--sky), var(--white)); padding-block: clamp(1.75rem, 4.5vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(34rem 18rem at 90% -20%, rgba(111, 155, 255, 0.3), transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%); mask-image: linear-gradient(180deg, #000 20%, transparent 100%); }
.page-head h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); max-width: 22ch; }
.page-head.compact { padding-block: clamp(1.25rem, 3vw, 2rem); }
.crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #9fb0d3; }
.crumbs a { color: var(--muted); }

/* ---- Étapes (séquence réelle) ---- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 56rem) { .steps:not(.compact) { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; } }
.steps > li { counter-increment: step; position: relative; padding: 1.1rem 1.1rem 1.1rem 3.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps > li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #2c61ee, var(--blue)); color: #fff; font-weight: 700; font-size: 0.95rem; box-shadow: 0 6px 12px -6px rgba(31, 79, 216, 0.8); }
.steps h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.steps p { font-size: 0.95rem; margin: 0; color: var(--muted); }
@media (min-width: 56rem) {
  .steps:not(.compact) > li { padding: 4rem 1.1rem 1.1rem; }
  .steps:not(.compact) > li::after { content: ""; position: absolute; left: 3.6rem; right: -1.25rem; top: 2.05rem; height: 2px; background: repeating-linear-gradient(90deg, var(--sky-2) 0 6px, transparent 6px 12px); }
  .steps:not(.compact) > li:last-child::after { display: none; }
}

/* ---- Définitions, tuiles ---- */
.defs { margin: 0; display: grid; gap: 1.1rem; }
.defs > div { border-left: 3px solid var(--blue); padding-left: 1rem; }
.defs dt { font-weight: 700; color: var(--ink); }
.defs dd { margin: 0.15rem 0 0; color: var(--text); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .tiles { grid-template-columns: 1fr 1fr; } }
.tiles li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.tiles .tile-icon { width: 2.75rem; height: 2.75rem; padding: 0.65rem; border-radius: 14px; background: var(--sky); color: var(--blue); margin-bottom: 0.9rem; }
.tiles h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.tiles p { margin: 0; font-size: 0.975rem; color: var(--muted); }

/* ---- Listes ---- */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon { margin-top: 0.15em; width: 1.5rem; height: 1.5rem; padding: 0.25rem; border-radius: 50%; }
.checklist.yes .icon { color: var(--ok); background: #e3f4ea; }
.checklist.no .icon { color: var(--no); background: #fbe9e9; }
.device-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.device-list li { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-weight: 500; color: var(--ink); box-shadow: var(--shadow); }
.device-list .icon { width: 2.4rem; height: 2.4rem; padding: 0.55rem; border-radius: 12px; background: var(--sky); color: var(--blue); }
.plain-links { padding-left: 1.1em; }
.chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a { display: inline-block; padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); text-decoration: none; color: var(--ink); font-weight: 500; transition: border-color 0.15s, background-color 0.15s; }
.chips a:hover { border-color: var(--blue); background: var(--sky); }

/* ---- Tableaux ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.plans { width: 100%; border-collapse: collapse; }
.plans caption { text-align: left; font-size: 0.9rem; color: var(--muted); padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.plans th, .plans td { padding: 0.95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.plans tbody tr:last-child > * { border-bottom: 0; }
.plans thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: 0.875rem; }
.plans tbody th { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.plans tbody th a { color: var(--ink); }
.plans tbody tr { transition: background-color 0.15s; }
.plans tbody tr:hover { background: var(--mist); }
.plans .is-current { background: var(--sky); box-shadow: inset 4px 0 0 var(--blue); }
.price { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.row-icon { color: var(--blue); vertical-align: -4px; margin-right: 0.5rem; }
.devices tbody th { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.devices tbody th span { display: inline; }
@media (max-width: 47.99rem) {
  .plans thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .plans, .plans tbody, .plans tr, .plans th, .plans td, .plans caption { display: block; }
  .plans caption { padding: 0.75rem 1rem; }
  .plans tr { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
  .plans tbody tr:last-child { border-bottom: 0; }
  .plans th, .plans td { border: 0; padding: 0.35rem 1rem; }
  .plans td[data-label]::before { content: attr(data-label) " : "; font-weight: 600; font-size: 0.85rem; color: var(--muted); }
  .plans td .btn { margin-top: 0.25rem; }
}
.compare-notes { margin-top: 1.5rem; display: grid; gap: 0.5rem; }

/* ---- Boîtes ---- */
.price-box { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, #1d46a6 0%, transparent 60%), linear-gradient(180deg, #0f2658, var(--ink)); color: #fff; border-radius: 22px; padding: 1.75rem; box-shadow: 0 30px 50px -30px rgba(10, 27, 61, 0.7); }
.price-box p { color: #fff; margin: 0 0 0.5rem; }
.price-box-label { font-weight: 600; color: #c4d3f2 !important; }
.price-box-amount { font-family: var(--serif); font-size: clamp(3.25rem, 8vw, 4.5rem); font-weight: 700; line-height: 1; font-variant-numeric: lining-nums; letter-spacing: -0.02em; }
.price-box-sub { font-size: 0.95rem; color: #c4d3f2 !important; margin-bottom: 1.5rem !important; }
.price-box .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.price-box .btn-primary:hover { background: var(--sky-2); color: var(--ink); }
.note { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.4rem 0.6rem; box-shadow: var(--shadow); }
.note > .icon { color: var(--blue); width: 2.75rem; height: 2.75rem; padding: 0.65rem; border-radius: 14px; background: var(--sky); }
.note h2 { font-size: 1.2rem; margin-top: 0.7rem; }
.note ul { padding-left: 1.1em; display: grid; gap: 0.5rem; }

/* ---- FAQ ---- */
.qa { border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-bottom: 0.65rem; transition: border-color 0.15s, box-shadow 0.15s; }
.qa:hover { border-color: #b8c6e2; }
.qa[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.qa summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 1rem 3rem 1rem 1.15rem; list-style: none; position: relative; min-height: 48px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0.85rem; top: 50%; width: 1.75rem; height: 1.75rem; margin-top: -0.875rem; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 1.2rem; line-height: 1; }
.qa[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.qa-body { padding: 0 1.15rem 1.1rem; color: var(--text); }
.qa-body p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 2.75rem; }

/* ---- Guides ---- */
.guides { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .guides { grid-template-columns: 1fr 1fr; } }
.guide { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; scroll-margin-top: 5.5rem; box-shadow: var(--shadow); }
.guide h3 { display: flex; gap: 0.7rem; align-items: center; }
.guide h3 .icon { width: 2.4rem; height: 2.4rem; padding: 0.55rem; border-radius: 12px; background: var(--sky); color: var(--blue); }
.guide-steps { padding-left: 1.3em; display: grid; gap: 0.55rem; }
.guide-note { font-size: 0.95rem; color: var(--muted); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: var(--white); box-shadow: var(--shadow); }
.toc-h { font-size: 1.1rem; }
.toc ul { padding-left: 1.1em; columns: 2; }
.toc li { break-inside: avoid; padding-block: 0.15rem; }

/* ---- Contact ---- */
.reasons { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
.reasons li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: border-color 0.15s; }
.reasons li:hover { border-color: #9fb4de; }
.reasons h3 { margin: 0; font-size: 1.1rem; }
.reasons p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---- Bandeau d'appel à l'action ---- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); background: linear-gradient(115deg, var(--blue) 0%, #14338f 45%, var(--ink) 100%); }
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { color: #e5ecfb; margin-bottom: 0; }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5); }
.cta-band .btn-primary:hover { background: var(--sky-2); color: var(--ink); }
.cta-band :focus-visible { outline-color: #fff; }

/* ---- Pied de page ---- */
.site-footer { background: var(--ink-2); color: #b9c7e6; padding-top: 3rem; font-size: 0.975rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.site-footer a:hover { color: var(--glow); }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: #fff; margin-bottom: 0.4rem; }
.footer-h { font-size: 1rem; font-family: var(--sans); color: #fff; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-note { color: #9fb0d3; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.25rem; padding-block: 1.25rem 2.25rem; color: #9fb0d3; font-size: 0.875rem; }
.footer-legal p { max-width: none; margin: 0; }

/* ---- Pages légales ---- */
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.kv { display: grid; grid-template-columns: 1fr; gap: 0.1rem 1.5rem; margin: 0 0 1rem; }
.kv dt { font-weight: 600; color: var(--ink); margin-top: 0.6rem; }
.kv dd { margin: 0; }
@media (min-width: 48rem) { .kv { grid-template-columns: 18rem 1fr; } .kv dt { margin-top: 0; } }
.todo { background: var(--warn-bg); border: 1px dashed var(--warn-line); color: var(--warn-text); padding: 0.05rem 0.5rem; border-radius: 4px; font-weight: 600; font-size: 0.9em; }
.todo-banner { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); padding: 0.9rem 1rem; border-radius: var(--radius); max-width: none; }

/* ---- Fenêtre de commande (étapes) ---- */
.js:not(.no-dialog) .no-js-note { display: none; }
html:not(.js) [data-open-order] { display: none; }
html.dlg-open { overflow: hidden; }
.order-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; background: var(--white); color: var(--text); width: min(34rem, calc(100% - 1rem)); max-height: calc(100dvh - 1rem); overflow-y: auto; overscroll-behavior: contain; border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(7, 20, 48, 0.75), 0 0 0 1px rgba(10, 27, 61, 0.08); }
.order-dialog[open] { animation: dlg-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
.order-dialog::backdrop { background: rgba(7, 20, 48, 0.6); backdrop-filter: blur(4px); }
.order-dialog[open]::backdrop { animation: dlg-fade 0.2s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes dlg-fade { from { opacity: 0; } }
.dlg-body { padding: clamp(1.25rem, 4vw, 2.1rem); padding-top: clamp(1.9rem, 5vw, 2.6rem); }
.dlg-close { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sky); color: var(--ink); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.dlg-close:hover { background: var(--ink); color: #fff; }
.wizard { margin: 0; }
.step-count { text-align: center; font-size: 0.9rem; color: var(--muted); margin: 0 auto 0.5rem; }
.dots { list-style: none; display: flex; justify-content: center; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; }
.dots li { width: 0.7rem; height: 0.7rem; border-radius: 99px; background: var(--sky-2); transition: width 0.2s, background-color 0.2s; }
.dots li.on { background: var(--blue); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 3.6vw, 1.7rem); color: var(--ink); text-align: center; width: 100%; padding: 0; margin-bottom: 0.5rem; line-height: 1.2; }
.step legend:focus { outline: none; }
.step legend:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.step-help { text-align: center; color: var(--muted); font-size: 0.975rem; margin: 0 auto 1.4rem; }
.choices { display: grid; gap: 0.75rem; }
@media (min-width: 36rem) { .choices.cols-2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; text-align: center; min-height: 3.75rem; padding: 0.85rem 1rem; border: 2px solid var(--line); border-radius: 14px; background: var(--white); font-weight: 600; color: var(--ink); transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s; }
.choice-body small { font-weight: 400; color: var(--muted); font-size: 0.875rem; }
.choice-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; font-variant-numeric: lining-nums; }
.choice:hover .choice-body { border-color: var(--blue); }
.choice input:checked + .choice-body { border-color: var(--blue); background: var(--sky); box-shadow: inset 0 0 0 1px var(--blue), 0 10px 20px -14px rgba(31, 79, 216, 0.7); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--blue); outline-offset: 3px; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.field input { width: 100%; font: inherit; padding: 0.8rem 1rem; min-height: 48px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--text); }
.field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-hint { font-size: 0.875rem; color: var(--muted); margin: 0.3rem 0 0; }
.field-error { font-size: 0.9375rem; color: #b3261e; font-weight: 600; margin: 0.3rem 0 0; }
.field[hidden] { display: none; }
.step-nav { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.step-nav .btn { flex: 1; }
.step-nav [hidden] { display: none; }
.step-nav .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }
.summary { margin: 0 0 1rem; display: grid; gap: 0.1rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.summary > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; }
.summary > div:nth-child(odd) { background: var(--sky); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; overflow-wrap: anywhere; }

/* ---- Guide : critères ---- */
.criteria { list-style: none; counter-reset: crit; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .criteria { grid-template-columns: 1fr 1fr; } }
.criteria > li { counter-increment: crit; position: relative; padding: 1.1rem 1.2rem 1.1rem 3.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.criteria > li::before { content: counter(crit); position: absolute; left: 1.1rem; top: 1.1rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem; }
.criteria h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.criteria p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   Motifs tricolores (bleu, blanc, rouge) — identité « IPTV France »
   ========================================================================== */
:root {
  --fr-blue: #002395;
  --fr-red: #e1000f;
  --fr-white: #e3e8f2;
  --tricolore: linear-gradient(90deg, var(--fr-blue) 0 33.34%, var(--fr-white) 33.34% 66.67%, var(--fr-red) 66.67% 100%);
  --tricolore-dark: linear-gradient(90deg, #3b5bdb 0 33.34%, #fff 33.34% 66.67%, var(--fr-red) 66.67% 100%);
}

/* Bandeau tricolore fin sous l'en-tête collant */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--tricolore); box-shadow: 0 1px 0 rgba(10, 27, 61, 0.08); pointer-events: none; }

/* Petit soulignement tricolore sous les titres de section */
.section-head h2::after, .page-head h1::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 0.45em; border-radius: 3px; background: var(--tricolore); box-shadow: 0 0 0 1px rgba(10, 27, 61, 0.08); }

/* Bandeau d'appel à l'action : liseré tricolore en haut */
.cta-band { background: var(--tricolore-dark) left top / 100% 5px no-repeat, linear-gradient(115deg, var(--blue) 0%, #14338f 45%, var(--ink) 100%); }

/* Pied de page : filet tricolore en haut */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--tricolore-dark); }

/* Cartes tarifaires du guide des durées : accent rouge au survol */

/* Liste « points clés » : icônes alternées bleu / rouge */
.trust-list li:nth-child(odd) .icon { color: var(--fr-blue); }
.trust-list li:nth-child(even) .icon { color: var(--fr-red); }

/* ==========================================================================
   Cartes tarifaires du hero (remplacent le « Guide des durées »)
   ========================================================================== */
.hero-plans { position: relative; }
.hp-title { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 0 0 0.9rem; }
.hp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.hp-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.15rem 1.1rem 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.hp-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--tricolore); }
.hp-card:hover, .hp-card:focus-within { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10, 27, 61, 0.06), 0 18px 34px -14px rgba(10, 27, 61, 0.3); }
.hp-card p { margin: 0; max-width: none; }
.hp-dur { font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.hp-price { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.2vw, 2.6rem); line-height: 1.05; color: var(--fr-blue); margin: 0.2rem 0 0.15rem !important; font-variant-numeric: tabular-nums; }
.hp-price span { font-size: 0.55em; }
.hp-pm { font-size: 0.85rem; color: var(--muted); }
.hp-link { margin-top: 0.85rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--blue); }
.hp-link::after { content: " →"; }
.hp-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toute la carte est cliquable */
.hp-link:hover { color: var(--fr-red); }
.hp-badge { white-space: nowrap; align-self: flex-start; margin: -0.15rem 0 0.45rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 999px; background: #fdecee; color: #b0000c; }
.hp-card.is-featured { background: linear-gradient(160deg, #0d2a7a 0%, var(--ink) 100%); border-color: transparent; color: #fff; }
.hp-card.is-featured .hp-dur, .hp-card.is-featured .hp-pm { color: #c9d6f3; }
.hp-card.is-featured .hp-price { color: #fff; }
.hp-card.is-featured .hp-link { color: #fff; }
.hp-card.is-featured .hp-link:hover { color: #ffb3b8; }
.hp-card.is-featured .hp-badge { background: var(--fr-red); color: #fff; }
.hp-card.is-featured::before { background: var(--tricolore-dark); }
.hp-facts { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.1rem; font-size: 0.875rem; color: var(--muted); }
.hp-facts li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hp-facts li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--fr-blue); }
.hp-facts li:nth-child(2)::before { background: var(--fr-white); box-shadow: inset 0 0 0 1px #b8c3d9; }
.hp-facts li:nth-child(3)::before { background: var(--fr-red); }
@media (max-width: 26rem) { .hp-badge { font-size: 0.62rem; letter-spacing: 0; padding: 0.2rem 0.45rem; } }
