/* IPTV en France — ivoire, bordeaux, champagne et ardoise ; titres Gloock, texte Familjen Grotesk. Classes « vf- ». */
:root {
  --ivoire: #fbf8f1;
  --papier: #ffffff;
  --sable: #f3ece0;
  --encre: #1d2430;
  --encre-douce: #48505d;
  --gris: #5f6672;
  --vin: #7a1f3d;
  --vin-fonce: #5c1229;
  --rose: #b5838d;
  --or: #e9c46a;
  --ardoise: #2f3e46;
  --filet: #e6ddcf;
  --nuit: #161b24;
  --ck-accent: #7a1f3d;
  --ck-accent-ink: #ffffff;
  --rayon: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font: 400 17px/1.7 "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--vin); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vin-fonce); }
h1, h2, h3, .vf-colophon-t { font-family: "Gloock", Georgia, serif; font-weight: 400; color: var(--encre); line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .15em 0 .35em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); margin: 0 0 .45em; }
h3 { font-size: 1.28rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }

.vf-cadre { width: min(1180px, 100% - 32px); margin-inline: auto; }
.vf-etroit { width: min(800px, 100% - 32px); }
.vf-cache, .vf-leurre { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vf-evitement { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 14px; z-index: 99; }
.vf-evitement:focus { left: 8px; }
.vf-discret { color: var(--gris); font-weight: 400; }
.vf-centre { text-align: center; margin-inline: auto; }

/* Boutons : rectangles aux angles vifs, style affiche */
.vf-bouton { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: var(--rayon); border: 2px solid transparent; font: 600 1rem/1.2 "Familjen Grotesk", sans-serif; text-decoration: none; cursor: pointer; letter-spacing: .01em; transition: background .15s, color .15s; }
.vf-bouton-vin { background: var(--vin); color: #fff; }
.vf-bouton-vin:hover { background: var(--vin-fonce); color: #fff; }
.vf-bouton-encre { background: var(--encre); color: #fff; }
.vf-bouton-encre:hover { background: #000; color: #fff; }
.vf-bouton-or { background: var(--or); color: var(--nuit); }
.vf-bouton-or:hover { background: #f1d283; color: var(--nuit); }
.vf-bouton-contour { background: transparent; border-color: var(--encre); color: var(--encre); }
.vf-bouton-contour:hover { background: var(--encre); color: #fff; }
.vf-bouton-trait { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.vf-bouton-trait:hover { background: #fff; color: var(--nuit); }
.vf-bouton-xl { padding: 14px 28px; font-size: 1.05rem; }
.vf-bouton-plein { width: 100%; padding: 14px; }

/* Bandeau */
.vf-masthead { position: sticky; top: 0; z-index: 30; background: var(--ivoire); border-bottom: 3px double var(--filet); }
.vf-masthead-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.vf-marque { display: inline-flex; line-height: 0; }
.vf-menu { display: flex; align-items: center; gap: 2px; }
.vf-menu a { padding: 8px 12px; color: var(--encre); text-decoration: none; font-weight: 500; font-size: .96rem; }
.vf-menu a:hover { color: var(--vin); }
.vf-menu a[aria-current="page"] { color: var(--vin); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.vf-menu .vf-menu-cta { margin-left: 10px; color: #fff; text-decoration: none; }
.vf-hamburger { display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--filet); border-radius: var(--rayon); cursor: pointer; padding: 11px 10px; }
.vf-hamburger span { display: block; height: 2px; background: var(--encre); margin: 4px 0; }
@media (max-width: 980px) {
  .vf-hamburger { display: block; }
  .vf-menu { display: none; position: absolute; left: 0; right: 0; top: 75px; flex-direction: column; align-items: stretch; background: var(--ivoire); border-bottom: 1px solid var(--filet); padding: 10px 16px 18px; }
  .vf-menu.vf-ouvert { display: flex; }
  .vf-menu a { padding: 12px 6px; border-bottom: 1px solid var(--filet); }
  .vf-menu .vf-menu-cta { margin: 10px 0 0; text-align: center; border-bottom: 0; }
}

/* Fil d’Ariane */
.vf-fil { font-size: .86rem; color: var(--gris); padding-top: 14px; }
.vf-fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vf-fil li + li::before { content: "/"; margin-right: 6px; color: var(--rose); }
.vf-fil a { color: var(--gris); }

/* À la une */
.vf-une { padding: 56px 0 60px; background: linear-gradient(115deg, var(--ivoire) 0 58%, var(--sable) 58% 100%); }
.vf-une-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.vf-une-in > * { min-width: 0; }
.vf-une-seule { grid-template-columns: 1fr; max-width: 800px; }
.vf-surtitre { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--vin); margin: 0 0 .4em; }
.vf-chapeau { font-size: 1.17rem; color: var(--encre-douce); max-width: 60ch; }
.vf-une-go { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.vf-atouts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .94rem; color: var(--encre-douce); }
.vf-atouts li::before { content: "◆"; color: var(--or); margin-right: 8px; font-size: .7em; vertical-align: middle; }
@media (max-width: 900px) { .vf-une { background: var(--ivoire); } .vf-une-in { grid-template-columns: 1fr; gap: 34px; } }

/* Page programme */
.vf-programme { background: var(--papier); border: 1px solid var(--filet); box-shadow: 14px 14px 0 var(--vin); padding: 22px 22px 16px; font-size: .98rem; }
.vf-programme-tete { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--encre); padding-bottom: 8px; margin-bottom: 4px; font-family: "Gloock", serif; font-size: 1.5rem; }
.vf-direct { font-family: "Familjen Grotesk", sans-serif; font-size: .8rem; font-weight: 700; color: #c2263f; text-transform: uppercase; letter-spacing: .1em; }
.vf-programme ol { list-style: none; margin: 0; padding: 0; }
.vf-programme li { display: grid; grid-template-columns: 54px 86px 1fr; gap: 10px; padding: 11px 6px; border-bottom: 1px dotted var(--filet); align-items: baseline; }
.vf-programme li time { font-variant-numeric: tabular-nums; color: var(--gris); font-size: .9rem; }
.vf-programme li b { font-weight: 700; }
.vf-programme li.vf-allume { background: var(--encre); color: #fff; }
.vf-programme li.vf-allume time { color: var(--or); }
.vf-programme-pied { display: flex; gap: 8px; margin: 12px 0 0; flex-wrap: wrap; }
.vf-programme-pied span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--encre); padding: 3px 8px; }

/* Ouverture des pages intérieures */
.vf-ouverture { padding: 30px 0 34px; border-bottom: 1px solid var(--filet); }
.vf-ouverture h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }

/* Rubriques */
.vf-rubrique { padding: 64px 0; }
.vf-fond-sable { background: var(--sable); }
.vf-fond-papier { background: var(--papier); }
.vf-fond-ardoise { background: var(--ardoise); color: #eef0f1; }
.vf-fond-ardoise h2, .vf-fond-ardoise h3 { color: #fff; }
.vf-fond-ardoise a { color: var(--or); }
.vf-titre { margin-bottom: 26px; max-width: 760px; }
.vf-titre-chapeau { color: var(--encre-douce); font-size: 1.06rem; }
.vf-fond-ardoise .vf-titre-chapeau, .vf-fond-ardoise .vf-surtitre { color: #d5dadd; }
.vf-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.vf-deux-large { grid-template-columns: 1.3fr .7fr; }
.vf-deux > * { min-width: 0; }
@media (max-width: 900px) { .vf-deux, .vf-deux-large { grid-template-columns: 1fr; } }

/* Chapo (réponse courte) */
.vf-chapo { border-top: 4px solid var(--vin); border-bottom: 1px solid var(--filet); background: var(--papier); padding: 18px 22px; margin: 0 0 28px; }
.vf-chapo-t { margin: 0 0 6px; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vin); }
.vf-chapo p:last-child { margin-bottom: 0; }
.vf-encadre { border-left: 4px solid var(--or); background: #fdf6e3; padding: 16px 20px; margin: 20px 0; font-size: .97rem; }
.vf-encadre p:last-child { margin: 0; }

/* Puces */
.vf-puces { list-style: none; padding: 0; margin: 0 0 1.2em; }
.vf-puces li { position: relative; padding-left: 28px; margin: 0 0 10px; }
.vf-puces li::before { content: "→"; position: absolute; left: 0; color: var(--vin); font-weight: 700; }

/* Vignettes */
.vf-vignettes { display: grid; gap: 0; border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); }
.vf-vignettes-2 { grid-template-columns: repeat(2, 1fr); }
.vf-vignettes-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .vf-vignettes-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vf-vignettes-2, .vf-vignettes-3 { grid-template-columns: 1fr; } }
.vf-vignette { padding: 26px 24px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); background: var(--papier); display: flex; flex-direction: column; }
.vf-vignette p { color: var(--encre-douce); font-size: .98rem; }
.vf-suite { margin-top: auto; font-weight: 600; text-decoration: none; }
.vf-picto svg { width: 32px; height: 32px; fill: none; stroke: var(--vin); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }

/* Carte des abonnements */
.vf-carte { background: var(--papier); border: 1px solid var(--filet); padding: 8px 28px 20px; }
.vf-carte-ligne { display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--filet); }
.vf-carte-nom h3 { margin: 0; }
.vf-carte-nom h3 em { font-family: "Familjen Grotesk", sans-serif; font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--or); color: var(--nuit); padding: 3px 8px; margin-left: 8px; vertical-align: middle; }
.vf-carte-nom p { margin: 4px 0 0; color: var(--gris); font-size: .95rem; }
.vf-carte-points { border-bottom: 2px dotted var(--rose); height: 1px; align-self: center; min-width: 30px; }
.vf-carte-prix { text-align: right; }
.vf-carte-prix strong { display: block; font-family: "Gloock", serif; font-weight: 400; font-size: 1.9rem; line-height: 1; }
.vf-carte-prix small { color: var(--gris); font-size: .84rem; }
.vf-carte-top .vf-carte-prix strong { color: var(--vin); }
.vf-carte-note { margin: 18px 0 0; font-size: .9rem; color: var(--gris); }
@media (max-width: 720px) {
  .vf-carte { padding: 4px 18px 16px; }
  .vf-carte-ligne { grid-template-columns: 1fr auto; }
  .vf-carte-points { display: none; }
  .vf-carte-ligne .vf-bouton { grid-column: 1 / -1; }
}

/* Tableaux */
.vf-tableau-zone { overflow-x: auto; background: var(--papier); border: 1px solid var(--filet); margin: 0 0 1.4em; }
.vf-tableau { width: 100%; min-width: 520px; font-size: .96rem; }
.vf-tableau caption { text-align: left; padding: 12px 16px 6px; font-size: .88rem; color: var(--gris); }
.vf-tableau th, .vf-tableau td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--filet); vertical-align: top; }
.vf-tableau thead th { border-bottom: 2px solid var(--encre); font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; }
.vf-tableau tbody th { font-weight: 600; }
.vf-tableau tbody tr:last-child th, .vf-tableau tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.vf-faq { border-top: 2px solid var(--encre); }
.vf-q { border-bottom: 1px solid var(--filet); }
.vf-q summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 600; font-size: 1.04rem; position: relative; }
.vf-q summary::-webkit-details-marker { display: none; }
.vf-q summary::after { content: "▾"; position: absolute; right: 6px; top: 17px; color: var(--vin); transition: transform .2s; }
.vf-q[open] summary::after { transform: rotate(180deg); }
.vf-r { padding: 0 0 18px; color: var(--encre-douce); }
.vf-r p { margin: 0; }

/* Étapes : ligne horizontale numérotée */
.vf-etapes { list-style: none; margin: 0; padding: 0; counter-reset: e; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
.vf-etapes li { counter-increment: e; position: relative; padding: 0 20px 0 0; }
.vf-etape-n { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vf-etape-n::before { content: counter(e, decimal-leading-zero); font-family: "Gloock", serif; font-size: 2.2rem; color: var(--vin); line-height: 1; }
.vf-etape-n::after { content: ""; flex: 1; height: 1px; background: var(--rose); }
.vf-etapes li p { color: var(--encre-douce); margin: 0; }
@media (max-width: 620px) { .vf-etapes { grid-template-columns: 1fr; gap: 22px; } }

/* Sommaire, signature */
.vf-sommaire { border: 1px solid var(--filet); background: var(--papier); padding: 16px 22px; margin: 0 0 30px; }
.vf-sommaire p { margin: 0 0 6px; font-family: "Gloock", serif; font-size: 1.15rem; }
.vf-sommaire ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
@media (max-width: 620px) { .vf-sommaire ol { columns: 1; } }
.vf-signature { font-size: .85rem; color: var(--gris); font-style: italic; }

/* Appareils */
.vf-appareils { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); }
@media (max-width: 900px) { .vf-appareils { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .vf-appareils { grid-template-columns: repeat(2, 1fr); } }
.vf-appareils a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 8px; background: var(--papier); border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); text-decoration: none; color: var(--encre); font-weight: 600; font-size: .92rem; text-align: center; height: 100%; }
.vf-appareils a:hover { background: var(--sable); }
.vf-appareils svg { width: 30px; height: 30px; fill: none; stroke: var(--ardoise); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Formulaires */
.vf-form { background: var(--papier); border: 1px solid var(--filet); outline: 1px solid var(--filet); outline-offset: 6px; padding: 28px; }
.vf-form-t { font-size: 1.5rem; margin-bottom: 16px; }
.vf-champ { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.vf-champ label { font-weight: 600; font-size: .94rem; }
.vf-champ input, .vf-champ select, .vf-champ textarea { font: inherit; font-size: 1rem; padding: 12px 13px; border: 1px solid #cfc5b5; border-radius: var(--rayon); background: #fffdf8; color: var(--encre); width: 100%; }
.vf-champ input:focus, .vf-champ select:focus, .vf-champ textarea:focus { outline: none; border-color: var(--vin); box-shadow: 0 0 0 3px rgba(122, 31, 61, .14); }
.vf-mini { font-size: .85rem; color: var(--gris); margin: 10px 0 0; }
.vf-alerte { display: none; padding: 12px 14px; font-size: .95rem; margin: 0 0 14px; }
.vf-alerte.vf-visible { display: block; }
.vf-alerte-ok { background: #e7f0e4; color: #2b4a24; }
.vf-alerte-ko { background: #f6e1e6; color: var(--vin-fonce); }

/* Rideau final */
.vf-rideau { background: var(--vin); color: #f6e8ec; }
.vf-rideau-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 52px 0; }
.vf-rideau h2 { color: #fff; margin-bottom: .25em; }
.vf-rideau p { margin: 0; max-width: 56ch; }
.vf-rideau-go { display: flex; gap: 12px; flex-wrap: wrap; }

/* Colophon */
.vf-colophon { background: var(--nuit); color: #c9ccd2; }
.vf-colophon-haut { display: grid; grid-template-columns: 1fr 2.3fr; gap: 42px; padding: 52px 0 30px; }
.vf-colophon-moi p { font-size: .95rem; margin: 14px 0 18px; }
.vf-colophon-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vf-colophon-t { color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.vf-colophon ul { list-style: none; margin: 0; padding: 0; }
.vf-colophon li { margin: 0 0 8px; }
.vf-colophon a { color: #c9ccd2; text-decoration: none; font-size: .93rem; }
.vf-colophon a:hover { color: var(--or); }
.vf-colophon-bas { border-top: 1px solid #2a3140; padding: 16px 0 24px; font-size: .84rem; }
.vf-colophon-bas p { margin: 0; }
.vf-colophon-bas a { text-decoration: underline; }
@media (max-width: 900px) { .vf-colophon-haut { grid-template-columns: 1fr; } .vf-colophon-cols { grid-template-columns: repeat(2, 1fr); } }

/* Texte long */
.vf-texte h2 { margin-top: 1.3em; }
.vf-texte h2:first-child { margin-top: 0; }
.vf-texte h3 { margin-top: 1.1em; }
.vf-texte ul, .vf-texte ol { padding-left: 22px; }
.vf-texte li { margin-bottom: 6px; }
.vf-chaines { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.vf-chaines li { border: 1px solid var(--filet); background: var(--papier); padding: 9px 12px; font-weight: 600; }
.vf-chaines li small { display: block; font-weight: 400; color: var(--gris); font-size: .8rem; }
