
:root {
  --rouge: #E30613; --rouge-fonce: #B5000D; --jaune: #FFC400; --jaune-clair: #FFF4CC;
  --bleu: #0B3A75; --ciel: #EEF4FB; --bitume: #F4F5F7; --encre: #16181D; --gris: #545B68; --trait: #DCE3EC;
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif; --texte: Inter, system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: #fff; color: var(--encre); font: 400 16px/1.55 var(--texte); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1; letter-spacing: -.005em; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.chapo { margin-top: 10px; font-size: 1.1rem; color: var(--gris); max-width: 58ch; }
.sec { padding-block: clamp(56px, 7vw, 96px); }
.tete { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 8px; font: 700 1.2rem/1 var(--titre); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-r { background: var(--rouge); color: #fff; } .btn-r:hover { background: var(--rouge-fonce); }
.btn-j { background: var(--jaune); color: var(--encre); } .btn-j:hover { background: #F0B800; }
.btn-b { background: var(--bleu); color: #fff; } .btn-b:hover { background: #082C5A; }
.btn-c { background: var(--bitume); } .btn-c:hover { background: #E8EAEE; }
.btn-blanc { background: #fff; color: var(--encre); } .btn-blanc:hover { background: var(--jaune-clair); }
.lien { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.lien:hover { color: var(--rouge-fonce); }

/* Bandeau salon */
.bandeau { background: var(--jaune); font-size: .95rem; }
.bandeau .wrap { display: flex; align-items: center; justify-content: center; gap: 8px 18px; min-height: 44px; flex-wrap: wrap; padding-block: 6px; text-align: center; }
.bandeau b { font: 800 1.1rem/1 var(--titre); }
.bandeau a { font-weight: 700; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.entete.colle { box-shadow: 0 1px 0 var(--trait); }
.entete .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.marque { display: inline-flex; align-items: center; flex: none; font: italic 900 1.75rem/1 "Schibsted Grotesk", var(--texte); letter-spacing: -.03em; text-decoration: none; color: var(--encre); }
.marque b { background: var(--rouge); color: #fff; padding: 5px 13px 5px 10px; transform: skewX(-12deg); margin-right: 3px; }
.marque b span { display: inline-block; transform: skewX(12deg); }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { white-space: nowrap; padding: 10px 11px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.nav a:hover { background: var(--bitume); }
.recherche { display: flex; align-items: center; background: var(--bitume); border-radius: 8px; padding-left: 12px; }
.recherche input { width: 150px; min-height: 44px; border: 0; background: transparent; padding: 0 10px 0 6px; }
.recherche input:focus { outline: none; }
.recherche:focus-within { outline: 3px solid var(--bleu); }
.compte { white-space: nowrap; font-weight: 600; text-decoration: none; padding: 10px 8px; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 8px; background: var(--bitume); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--encre); margin: auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* Hero */
.hero { padding-block: clamp(24px, 3.5vw, 48px) clamp(40px, 5vw, 72px); }
.hero-grille { display: block; }
.accroche { font: 700 clamp(1.15rem, 1.6vw, 1.45rem)/1.15 var(--titre); color: var(--rouge-fonce); }
.titre-anime { margin-top: 14px; font-size: clamp(3.2rem, 8.6vw, 9.6rem); line-height: .9; letter-spacing: -.01em; }
.titre-anime .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.titre-anime .m > span { display: inline-block; }
.titre-anime .fin { position: relative; white-space: nowrap; }
.titre-anime .fin::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--rouge); transform-origin: left; transform: scaleX(var(--s, 1)); }
.hero .chapo { font-size: 1.2rem; color: var(--encre); margin-top: 22px; max-width: 70ch; }
.inscription { display: flex; gap: 8px; margin-top: 24px; max-width: 520px; }
.inscription input { flex: 1; min-width: 0; min-height: 54px; padding: 0 16px; border: 2px solid var(--encre); border-radius: 8px; background: #fff; font-size: 1rem; }
.inscription .btn { min-height: 54px; }
.sous-form { margin-top: 10px; font-size: .9rem; color: var(--gris); }
.sous-form a { color: var(--encre); }
.merci { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: var(--jaune-clair); font-weight: 600; }

.portes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.porte { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--bitume); text-decoration: none; transition: background-color .15s; }
.porte:hover { background: #E9ECF0; }
.porte img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; }
.porte h2 { font-size: 2rem; }
.porte p { font-size: .95rem; margin-top: 4px; }
.porte b { display: block; margin-top: 6px; font: 800 1.35rem/1 var(--titre); color: var(--rouge-fonce); }

/* Les marques, sous l'en-tête et en pied de page */
.bandeau-marques { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.liste-marques { display: flex; align-items: center; gap: 12px 34px; min-height: 72px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.liste-marques::-webkit-scrollbar { display: none; }
.liste-marques a { flex: none; display: flex; align-items: center; text-decoration: none; transition: transform .2s; }
.liste-marques a:hover { transform: translateY(-2px); }
.liste-marques img { height: 34px; width: auto; }
.liste-marques .l-expo { height: 44px; }
.liste-marques .l-wpp { height: 46px; }
.liste-marques .l-sda { height: 34px; }
.liste-marques .marque { font-size: 1.15rem; }
.marque.projet { color: var(--bleu); }
.pied .liste-marques { flex-wrap: wrap; overflow: visible; padding-bottom: 28px; }

/* Le convoi sur le côté : il suit toute la page */
.rail { display: none; }
.route-mini { display: none; }
@media (min-width: 1180px) {
  body.avec-rail { padding-right: 184px; }
  .rail { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 184px; z-index: 40; background: #E9EDE4; border-left: 1px solid var(--trait); }
  .rail .r-haut { padding: 10px 12px 8px; background: #fff; border-bottom: 1px solid var(--trait); }
  .rail .r-haut b { display: block; font: 800 1.1rem/1 var(--titre); }
  .rail .r-haut span { font-size: .72rem; color: var(--gris); }
  .rail .r-jauge { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--bitume); overflow: hidden; }
  .rail .r-jauge i { display: block; height: 100%; width: 100%; background: var(--rouge); transform-origin: left; transform: scaleX(0); }
  .rail svg { flex: 1; width: 100%; min-height: 0; display: block; }
  .rail .r-bas { padding: 10px 12px; background: #fff; border-top: 1px solid var(--trait); font-size: .78rem; line-height: 1.35; min-height: 74px; }
  .rail .r-bas b { display: block; font: 800 1rem/1.1 var(--titre); color: var(--rouge-fonce); }
}
@media (min-width: 1180px) and (max-width: 1620px) { .compte { display: none; } .recherche input { width: 130px; } .nav a { padding: 10px 8px; } }
.borne { cursor: pointer; }
.borne rect { fill: #fff; stroke: #C9D1DB; stroke-width: 1.5; transition: fill .2s; }
.borne text { font: 700 14px var(--titre); fill: var(--encre); letter-spacing: .01em; transition: fill .2s; }
.borne.passe rect { fill: var(--rouge); stroke: var(--rouge); }
.borne.passe text { fill: #fff; }
.borne:hover rect { stroke: var(--rouge); }
.borne:focus-visible { outline: none; } .borne:focus-visible rect { stroke: var(--bleu); stroke-width: 3; }
.gyro { fill: #FF9F1A; }
@media (prefers-reduced-motion: no-preference) {
  .gyro { animation: gyro .7s steps(2) infinite; }
  @keyframes gyro { 50% { fill: #FFE1A8; } }
}

/* Téléphone et tablette : le convoi roule dans une bande sous l'en-tête */
@media (max-width: 1179px) {
  .route-mini { display: block; position: relative; height: 26px; background: #C5CCD6; overflow: hidden; }
  .route-mini::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 12px, transparent 12px 22px); }
  .route-mini svg { position: absolute; top: 2px; left: 0; height: 22px; width: auto; }
}

/* Actu */
.une-grille { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.une-gauche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.art { text-decoration: none; display: block; }
.art .img { overflow: hidden; border-radius: 12px; aspect-ratio: 16/10; background: var(--bitume); }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.art:hover img { transform: scale(1.04); }
.art:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rub { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .85rem; color: var(--bleu); }
.rub time { font-weight: 500; color: var(--gris); margin-left: 6px; }
.art h3 { margin-top: 4px; font-size: 1.55rem; line-height: 1.05; }
.art.grande { grid-column: 1 / -1; }
.art.grande .img { aspect-ratio: 16/8; }
.art.grande h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.direct { border-radius: var(--r); background: var(--ciel); padding: 22px; align-self: start; }
.direct h3 { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; }
.point { width: 10px; height: 10px; border-radius: 50%; background: var(--rouge); }
.direct ol { list-style: none; padding: 0; margin: 10px 0 18px; }
.direct li { padding: 12px 0; border-top: 1px solid #D3DFEC; }
.direct li:first-child { border-top: 0; }
.direct time { font-size: .85rem; color: var(--gris); }
.direct li a { display: block; font-weight: 600; text-decoration: none; line-height: 1.35; }
.direct li a:hover { text-decoration: underline; }
.direct form { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #D3DFEC; }
.direct form p { font-weight: 700; }
.direct input { min-height: 48px; padding: 0 14px; border: 2px solid var(--bleu); border-radius: 8px; background: #fff; }
.pub { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-block: 36px; padding: 18px 22px; border-radius: var(--r); border: 2px dashed #B9C3CF; color: var(--gris); }
.haut-pub { padding-block: 12px; background: #fff; }
.pub-tete { min-height: 120px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; text-align: center; }
.pub b { display: block; color: var(--encre); font: 800 1.4rem/1.1 var(--titre); }
.pub small, .pave small { display: block; font-size: .78rem; margin-bottom: 4px; }
.rubriques { margin-top: 12px; }
.onglets { display: flex; gap: 4px; padding: 4px; background: var(--bitume); border-radius: 10px; width: fit-content; max-width: 100%; overflow-x: auto; }
.onglets button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: transparent; font-weight: 600; cursor: pointer; white-space: nowrap; }
.onglets button[aria-selected="true"] { background: #fff; color: var(--bleu); box-shadow: 0 1px 2px rgba(11,58,117,.18); }
.puces { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.puces button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ciel); font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s; }
.puces button:hover { background: #DCE8F6; }
.puces button[aria-pressed="true"] { background: var(--bleu); color: #fff; }
.liste-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .95fr); gap: 20px; margin-top: 24px; align-items: start; }
.pave { border-radius: var(--r); border: 2px dashed #B9C3CF; padding: 20px; min-height: 260px; display: flex; flex-direction: column; justify-content: center; color: var(--gris); }
.pave b { color: var(--encre); font: 800 1.5rem/1.05 var(--titre); }
.pave .btn { margin-top: 14px; align-self: flex-start; }
.bas-rub { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 18px 22px; border-radius: var(--r); background: var(--bitume); }
.bas-rub p { font-weight: 600; }

/* Magazines + JDL TV */
.medias { background: var(--bitume); }
.medias-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.carte-blanche { background: #fff; border-radius: 18px; padding: clamp(20px, 2.6vw, 32px); }
.carte-blanche h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.pile { position: relative; height: 340px; margin-top: 8px; }
.couv { position: absolute; top: 50%; left: 50%; width: 190px; aspect-ratio: 210/297; padding: 0; border: 0; background: #fff; cursor: pointer; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s; box-shadow: 0 18px 30px -18px rgba(22,24,29,.5); }
.couv img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.couv.mdm { display: flex; flex-direction: column; gap: 8px; padding: 10px; text-align: left; background: #fff; }
.couv.mdm img { height: auto; object-fit: contain; }
.couv.mdm img.ph { flex: 1; min-height: 0; object-fit: cover; }
.couv.mdm small { font: 800 13px/1.1 var(--titre); }
.couv[data-pos="0"] { transform: translate(-50%, -50%) rotate(-2deg); z-index: 3; }
.couv[data-pos="1"] { transform: translate(-112%, -47%) rotate(-10deg) scale(.86); z-index: 2; filter: brightness(.93); }
.couv[data-pos="2"] { transform: translate(12%, -47%) rotate(9deg) scale(.86); z-index: 1; filter: brightness(.93); }
.couv[data-pos="0"]:hover { transform: translate(-50%, -53%) rotate(0); }
.pile.ferme .couv { transform: translate(-50%, -46%) scale(.9); }
.choix { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.choix button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--encre); background: #fff; font-weight: 600; cursor: pointer; }
.choix button[aria-pressed="true"] { background: var(--encre); color: #fff; }
.mag-info { margin-top: 16px; min-height: 7.5em; }
.mag-info .chiffre { font: 800 1.3rem/1.1 var(--titre); color: var(--rouge-fonce); }
.mag-info p { margin-top: 6px; }
.acts { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.lecteur { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--bitume); margin-top: 18px; }
.lecteur img, .lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.play { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.play span { width: 76px; height: 54px; border-radius: 14px; background: var(--rouge); display: grid; place-items: center; transition: transform .2s; }
.play span::after { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.play:hover span { transform: scale(1.08); }
.leg { margin-top: 10px; font-weight: 700; font-size: 1.05rem; }
.vids { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.vids button { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: .85rem; font-weight: 600; line-height: 1.3; }
.vids img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: 6px; outline: 3px solid transparent; transition: outline-color .15s; }
.vids button[aria-current="true"] img { outline-color: var(--rouge); }
.vids button:hover span { text-decoration: underline; }

/* Salons */
.salons .h2 + .chapo { margin-bottom: 0; }
.compte-a-rebours { text-align: right; }
.compte-a-rebours b { display: block; font: 800 clamp(3rem, 6vw, 4.6rem)/.9 var(--titre); color: var(--rouge-fonce); }
.compte-a-rebours span { color: var(--gris); }
.vues { margin-top: 0; }
.vues button[aria-pressed="true"] { background: var(--encre); }
.carte-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; margin-top: 22px; }
.carte { border-radius: 18px; background: var(--jaune-clair); padding: clamp(12px, 2vw, 24px); }
.carte svg { width: 100%; height: auto; display: block; overflow: visible; }
.pays { fill: #fff; stroke: #F2D27A; stroke-width: 2; }
.pin { cursor: pointer; transition: opacity .3s; }
.pin .pt { fill: var(--encre); transition: fill .2s; }
.pin[data-t="int"] .pt { fill: var(--rouge); }
.pin[data-t="eur"] .pt { fill: var(--bleu); }
.pin .halo { fill: var(--rouge); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin text { font: 800 27px var(--titre); fill: var(--encre); paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.pin:hover .pt, .pin[aria-pressed="true"] .pt { fill: var(--rouge); }
.pin[aria-pressed="true"] .halo { animation: halo 1.8s ease-out infinite; }
.pin:focus-visible { outline: none; } .pin:focus-visible text { fill: var(--rouge-fonce); }
@keyframes halo { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
.villes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.villes button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; }
.villes button[hidden] { display: none; }
.villes button[aria-pressed="true"] { background: var(--rouge); color: #fff; }
.fiche { border-radius: 18px; overflow: hidden; background: var(--bitume); }
.fiche .ph { aspect-ratio: 16/9; overflow: hidden; background: var(--jaune); position: relative; }
.fiche .ph img { width: 100%; height: 100%; object-fit: cover; }
.fiche .ph .ville { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; font: 800 clamp(3rem, 7vw, 5.4rem)/.9 var(--titre); }
.fiche .ph .ville small { display: block; font-size: 1.1rem; margin-top: 10px; font-weight: 700; }
.fiche .corps { padding: clamp(20px, 2.4vw, 30px); }
.fiche .type { display: inline-block; padding: 4px 10px; border-radius: 6px; background: #fff; font-weight: 700; font-size: .85rem; }
.fiche h3 { margin-top: 12px; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.fiche .quand { margin-top: 8px; font: 800 1.6rem/1.1 var(--titre); color: var(--rouge-fonce); }
.fiche .ou { color: var(--gris); font-weight: 500; }
.fiche .desc { margin-top: 12px; max-width: 52ch; }
.fiche .avec { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 6px; background: var(--jaune); font-weight: 700; text-decoration: none; }
.sep { height: 10px; border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--rouge) 0 12px, #fff 12px 24px); }
.rayures { height: 12px; margin-top: clamp(40px, 5vw, 64px); border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--rouge) 0 14px, #fff 14px 28px); }
.pass { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-top: 20px; padding: 20px 24px; border-radius: var(--r); background: var(--jaune); }
.pass b { display: block; font: 800 1.6rem/1.05 var(--titre); }

/* Pour qui + preuves */
.profils { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.profil { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: var(--bitume); }
.profil h3 { font-size: 1.85rem; }
.profil .qui { margin-top: 4px; color: var(--gris); font-size: .95rem; }
.profil ul { margin: 14px 0 20px; padding-left: 18px; display: grid; gap: 4px; }
.profil .btn { margin-top: auto; }
.preuves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 40px; align-items: start; }
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chiffre-c { padding: 20px; border-radius: var(--r); background: var(--ciel); }
.chiffre-c b { display: block; font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--titre); color: var(--bleu); }
.chiffre-c span { display: block; margin-top: 6px; font-weight: 500; }
.classement { padding: 22px; border-radius: var(--r); background: var(--bitume); display: flex; flex-direction: column; }
.classement h3 { font-size: 1.7rem; }
.classement p.s { color: var(--gris); font-size: .9rem; margin-top: 2px; }
.classement ol { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.classement li { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 12px; align-items: center; font-size: .95rem; }
.classement li.nous { font-weight: 700; }
.barre { height: 12px; border-radius: 6px; background: #E1E5EA; overflow: hidden; }
.barre i { display: block; height: 100%; width: var(--w); background: var(--encre); border-radius: 6px; transform-origin: left; }
.nous .barre i { background: var(--rouge); }
.classement .btn { margin-top: auto; align-self: flex-start; }

/* Annonceurs */
.annonceurs { background: var(--ciel); }
.annonce-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pack { position: relative; display: block; cursor: pointer; }
.pack input { position: absolute; opacity: 0; }
.pack span { display: block; height: 100%; padding: 18px; border-radius: var(--r); background: #fff; border: 3px solid transparent; transition: border-color .15s; }
.pack:hover span { border-color: #B9CCE3; }
.pack input:checked + span { border-color: var(--rouge); }
.pack input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 2px; }
.pack b { display: block; font: 800 1.7rem/1 var(--titre); }
.pack em { display: block; font-style: normal; margin-top: 4px; font: 800 1.3rem/1 var(--titre); color: var(--rouge-fonce); }
.pack small { display: block; margin-top: 8px; font-size: .88rem; line-height: 1.45; }
.options { margin-top: 18px; display: grid; gap: 8px; }
.opt { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 10px 16px; border-radius: 10px; background: #fff; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--rouge); }
.opt span { flex: 1; }
.opt em { font-style: normal; font-weight: 700; white-space: nowrap; }
.devis { position: sticky; top: 100px; padding: 26px; border-radius: 18px; background: #fff; }
.devis h3 { font-size: 1.9rem; }
.total { margin-top: 14px; font: 800 3rem/1 var(--titre); color: var(--rouge-fonce); }
.total small { font-size: 1.2rem; color: var(--encre); }
.total2 { margin-top: 6px; font-weight: 600; min-height: 1.5em; }
.devis ul { margin: 16px 0; padding-left: 18px; font-size: .95rem; display: grid; gap: 3px; }
.devis .btn { width: 100%; }
.devis .petit { margin-top: 12px; font-size: .88rem; color: var(--gris); text-align: center; }

/* Besoin de quoi */
.besoins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.besoin { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 22px 24px; border-radius: var(--r); background: var(--bitume); text-decoration: none; transition: background-color .15s; }
.besoin:hover { background: var(--jaune-clair); }
.besoin h3 { font-size: 1.9rem; }
.besoin p { grid-column: 1; color: var(--gris); font-size: .95rem; }
.besoin .fl { grid-row: 1 / 3; grid-column: 2; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; transition: background-color .15s, color .15s; }
.besoin:hover .fl { background: var(--rouge); color: #fff; }

/* Newsletter */
.nl { background: var(--rouge); color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.nl h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.nl p { margin-top: 10px; font-size: 1.1rem; }
.nl .nl-sous { font-size: .95rem; opacity: .92; }
.nl .nl-sous a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.nl form { display: grid; gap: 14px; }
.themes { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.themes legend { font-weight: 700; margin-bottom: 8px; }
.themes label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.16); cursor: pointer; font-weight: 600; }
.themes input { width: 18px; height: 18px; accent-color: #fff; }
.nl .ligne { display: flex; gap: 8px; }
.nl input[type=email] { flex: 1; min-width: 0; min-height: 54px; padding: 0 16px; border: 0; border-radius: 8px; color: var(--encre); }
.nl .merci { color: var(--encre); }

/* Pied */
.pied { padding-block: 64px 32px; }
.cols { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; padding-top: 36px; border-top: 1px solid var(--trait); }
.cols h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cols ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.cols a { text-decoration: none; } .cols a:hover { text-decoration: underline; }
.reseaux { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.reseaux a { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--bitume); font-weight: 600; font-size: .9rem; }
.mentions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; color: var(--gris); font-size: .88rem; }


/* Apparitions : une seule, sobre, et seulement si accepté */
@media (prefers-reduced-motion: no-preference) {
  .js .rev { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
  .js .rev.vu { opacity: 1; transform: none; }
  .carte.tombe .pin .pt, .carte.tombe .pin text { animation: tombe .6s both cubic-bezier(.3,1.5,.5,1); animation-delay: inherit; }
  @keyframes tombe { from { opacity: 0; transform: translateY(-40px); } }
  .fiche.anime .ph > * { animation: zoom .8s both cubic-bezier(.2,.8,.2,1); }
  .fiche.anime .corps > * { animation: monte .45s both cubic-bezier(.2,.8,.2,1); }
  .fiche.anime .corps > *:nth-child(2) { animation-delay: .05s; } .fiche.anime .corps > *:nth-child(3) { animation-delay: .1s; } .fiche.anime .corps > *:nth-child(n+4) { animation-delay: .15s; }
  @keyframes monte { from { opacity: 0; transform: translateY(12px); } }
  @keyframes zoom { from { transform: scale(1.1); } }
  .barre i { animation: pousse 1.1s both cubic-bezier(.2,.8,.2,1); animation-play-state: paused; }
  .vu .barre i { animation-play-state: running; }
  @keyframes pousse { from { transform: scaleX(0); } }
}

/* Tablette */
@media (max-width: 1320px) { .compte { display: none; } }
@media (max-width: 1360px) {
  .nav { display: none; }
  .burger { display: block; }
  .entete .wrap { gap: 12px; }
  .recherche { margin-left: auto; }
  .entete.ouvert .nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 16px 20px; box-shadow: 0 12px 20px -16px rgba(0,0,0,.3); }
  .entete.ouvert .nav a { padding: 14px 12px; font-size: 1.1rem; }
}
@media (max-width: 1100px) {
  .hero-grille, .medias-grille, .preuves, .annonce-grille, .nl, .carte-grille { grid-template-columns: 1fr; }
  .une-grille { grid-template-columns: 1fr; }
  .liste-art { grid-template-columns: 1fr 1fr; }
  .profils { grid-template-columns: 1fr 1fr; }
  .besoins { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
  .devis { position: static; }
}
/* Téléphone */
@media (max-width: 680px) {
  .bandeau .wrap { justify-content: space-between; text-align: left; font-size: .88rem; }
  #b-date { display: none; }
  .marque { font-size: 1.4rem; }
  .recherche { display: none; }
  .liste-marques { flex-wrap: nowrap; justify-content: space-between; gap: 3px; min-height: 0; padding-block: 8px; overflow: hidden; }
  .liste-marques img { height: 9.5px; }
  .liste-marques .l-expo { height: 14px; }
  .liste-marques .l-wpp { height: 15px; }
  .liste-marques .l-sda { height: 11px; }
  .liste-marques .marque { font-size: .42rem; }
  .liste-marques .marque b { padding: 2px 5px 2px 4px; }
  .pied .liste-marques { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .pied .liste-marques img { height: 22px; } .pied .liste-marques .l-expo { height: 30px; } .pied .liste-marques .l-wpp { height: 32px; } .pied .liste-marques .marque { font-size: .9rem; } .pied .liste-marques .l-sda { height: 26px; }
  .entete .btn-r { margin-left: auto; }
  .entete .btn { min-height: 44px; padding: 0 14px; font-size: 1.05rem; }
  .compte { display: none; }
  .entete .wrap { min-height: 64px; }
  .inscription { flex-direction: column; }

  .portes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
  .porte { scroll-snap-align: start; grid-template-columns: 88px minmax(0, 1fr); }
  .porte img { width: 88px; height: 88px; }
  .une-gauche { grid-template-columns: 1fr; }
  .liste-art { grid-template-columns: 1fr; }
  .puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; }
  .puces button { white-space: nowrap; }
  .pub { grid-template-columns: 1fr; }
  .pile { height: 300px; }
  .couv { width: 160px; }
  .profils, .chiffres, .besoins, .packs { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .compte-a-rebours { text-align: left; }
  .pin .pt, .pin .halo { r: 24px; }
  .pin text { font-size: 40px; stroke-width: 9px; }
  .pin.court text { display: none; }
  .pass { grid-template-columns: 1fr; }
  .nl .ligne { flex-direction: column; }
  .cols { grid-template-columns: 1fr; }
}

/* Bandeau menu rouge, texte blanc */
.entete { background: var(--rouge); color: #fff; }
.entete.colle { box-shadow: 0 6px 16px -10px rgba(0,0,0,.45); }
.entete .marque { color: #fff; }
.entete .marque b { background: #fff; color: var(--rouge); }
.entete .nav a, .entete .compte { color: #fff; }
.entete .nav a:hover { background: rgba(0,0,0,.2); }
.entete .nav a[aria-current="page"] { color: #fff; background: rgba(0,0,0,.22); box-shadow: inset 0 -3px 0 #fff; }
.entete .recherche { background: rgba(255,255,255,.16); color: #fff; }
.entete .recherche input { color: #fff; }
.entete .recherche input::placeholder { color: rgba(255,255,255,.85); }
.entete .recherche:focus-within { outline-color: #fff; }
.entete .btn-r { background: #fff; color: var(--rouge-fonce); }
.entete .btn-r:hover { background: var(--jaune); color: var(--encre); }
.entete .burger { background: rgba(255,255,255,.18); }
.entete .burger span, .entete .burger span::before, .entete .burger span::after { background: #fff; }
.entete.ouvert .nav { background: var(--rouge) !important; }
.entete a:focus-visible, .entete button:focus-visible { outline-color: #fff; }

/* Ordinateur : tous les logos du groupe sur une seule ligne */
@media (min-width: 1000px) {
  .liste-marques, .pied .liste-marques { flex-wrap: nowrap; justify-content: space-between; gap: 14px; overflow: visible; }
  .liste-marques a { flex: 0 1 auto; min-width: 0; }
  .liste-marques img { height: clamp(22px, 2.3vw, 34px); max-width: 100%; object-fit: contain; }
  .liste-marques .l-expo { height: clamp(30px, 3vw, 44px); }
  .liste-marques .l-wpp { height: clamp(30px, 3.1vw, 46px); }
  .liste-marques .marque { font-size: clamp(.8rem, 1vw, 1.15rem); }
}

/* Téléphone : les marques du haut de page défilent en continu, logos lisibles (mouvement réduit : défilement au doigt) */
@media (max-width: 680px) {
  .bandeau-marques { overflow: hidden; }
  .bandeau-marques .liste-marques { justify-content: flex-start; gap: 0; padding-block: 10px; overflow: visible; width: max-content; max-width: none; padding-inline: 0; margin: 0; }
  .bandeau-marques .liste-marques a { margin-right: 30px; }
  .bandeau-marques .liste-marques img { height: 24px; }
  .bandeau-marques .liste-marques .l-expo { height: 32px; }
  .bandeau-marques .liste-marques .l-wpp { height: 34px; }
  .bandeau-marques .liste-marques .l-sda { height: 26px; }
  .bandeau-marques .liste-marques .marque { font-size: .95rem; }
  .bandeau-marques .liste-marques .marque b { padding: 2px 8px 2px 6px; }
  .bandeau-marques .liste-marques.defile { animation: marques-defile 32s linear infinite; }
  .bandeau-marques:hover .liste-marques.defile, .bandeau-marques:focus-within .liste-marques.defile { animation-play-state: paused; }
}
@keyframes marques-defile { to { transform: translateX(-50%); } }
@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  .bandeau-marques { overflow-x: auto; scrollbar-width: none; }
  .bandeau-marques .liste-marques.defile { animation: none; }
}
