/* RAYON — la landing, dans le style des SaaS qui convertissent :
   tout centré, une seule action, la preuve juste dessous, une démo à
   onglets, une aide flottante. Les couleurs restent celles de style.css. */

.lp { background: #f7f8fc; position: relative; overflow-x: hidden; }
.glow {
  position: absolute; inset: 0 0 auto 0; height: 720px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(99, 102, 241, .16), transparent 70%),
    radial-gradient(500px 260px at 15% 20%, rgba(124, 58, 237, .08), transparent 70%),
    radial-gradient(500px 260px at 85% 20%, rgba(79, 70, 229, .08), transparent 70%);
}
.lp .land { position: relative; z-index: 1; }
.land-nav .links a { display: inline-flex; align-items: center; gap: 4px; }
.land-nav .chev { font-size: 11px; color: var(--muted); }
.lang { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

/* --- Héro centré ------------------------------------------------------ */
.hero-c { text-align: center; padding: 84px 0 34px; }
.hero-c h1 {
  font-size: 58px; line-height: 1.06; letter-spacing: -.04em; font-weight: 700; max-width: 900px; margin: 0 auto;
  text-wrap: balance;
}
.hero-c h1 em { font-style: normal; color: var(--accent); }
.hero-c h1 i { font-style: italic; font-weight: 700; color: var(--accent-2); }
.hero-c .lede { font-size: 18px; color: var(--ink-2); max-width: 680px; margin: 22px auto 30px; line-height: 1.55; }
.go { display: inline-flex; gap: 10px; align-items: stretch; }
.go-in {
  display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px 0 12px; min-width: 340px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: var(--shadow);
}
.go-in .pre { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.go-in input { border: 0; outline: 0; background: transparent; font-size: 16px; flex: 1; min-width: 0; }
.go .btn-lg { height: 50px; }
.go .arrow { font-weight: 400; }
.micro { font-size: 13px; color: var(--muted); margin-top: 12px; }
.proofline { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 13px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.proofline b { color: var(--ink); font-family: var(--mono); font-weight: 600; margin-right: 3px; }
.proofline i { width: 4px; height: 4px; border-radius: 2px; background: var(--line-2); }

/* --- Fonctionne avec -------------------------------------------------- */
.works { text-align: center; padding: 26px 0 8px; }
.works-t { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.works-row { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.works-row span { font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: #2a2a35; opacity: .75; }

/* --- Démo à onglets --------------------------------------------------- */
.demo { margin: 44px auto 0; max-width: 1080px; }
.tabs-big { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 0 0; overflow: hidden; }
.tabs-big button { height: 52px; border: 0; background: transparent; font-weight: 500; font-size: 15px; color: var(--ink-2); border-bottom: 2px solid transparent; border-right: 1px solid var(--line); }
.tabs-big button:last-child { border-right: 0; }
.tabs-big button.on { color: var(--ink); border-bottom-color: var(--accent); background: linear-gradient(180deg, #fff, #f7f7fb); }
.demo-body { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; padding: 22px; box-shadow: var(--shadow); }
.bubble {
  display: inline-block; background: var(--accent-soft); color: #2e2a8f; border-radius: 12px; padding: 12px 16px;
  font-size: 15px; margin-bottom: 18px; border: 1px solid #dcd9fb;
}
.demo-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: start; }
.demo-list .dl { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.demo-list .dl:last-of-type { border-bottom: 0; }
.demo-side .lbl { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 6px 0 6px; }
.demo-side .big { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; line-height: 1.3; }
.script { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pack { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pack li::before { content: "✓"; color: var(--ok); font-family: var(--mono); margin-right: 10px; }
.demo .frame { aspect-ratio: 16/9; }

/* --- Sections centrées ----------------------------------------------- */
.section.center { text-align: center; }
.section.center .sub { margin-left: auto; margin-right: auto; }

/* --- Aide flottante --------------------------------------------------- */
.help {
  position: fixed; right: 22px; bottom: 22px; width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); z-index: 5;
}
.help .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

@media (max-width: 960px) {
  .hero-c h1 { font-size: 38px; }
  .go { flex-direction: column; width: 100%; }
  .go-in { min-width: 0; }
  .tabs-big { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: 1fr; }
  .help { display: none; }
}

/* --- Fini, vendeur ---------------------------------------------------- */
.proofline b { color: var(--ok); font-family: var(--font); }
.pilote { margin: 44px auto 0; max-width: 1080px; }
.pilote-card { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; padding: 0; overflow: hidden; }
.pilote-img { background: #111; }
.pilote-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }
.pilote-txt { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pilote-txt h3 { font-size: 24px; letter-spacing: -.02em; }
.pilote-txt p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.pilote-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin: 6px 0 4px; }
.pilote-kpis div { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.pilote-kpis b { display: block; font-family: var(--mono); font-size: 17px; font-weight: 500; }
.pilote-kpis span { font-size: 12px; color: var(--muted); }
.garanties { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.garanties span::before { content: "✓"; color: var(--ok); font-family: var(--mono); margin-right: 8px; }
.faq { max-width: 760px; margin: 24px auto 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.final { padding: 30px 0 10px; }
.final-card { text-align: center; padding: 56px 28px; border-radius: 22px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: var(--shadow-lg); }
.final-card h2 { color: #fff; font-size: 36px; letter-spacing: -.03em; }
.final-card p { color: rgba(255,255,255,.85); font-size: 17px; margin: 10px 0 24px; }
.final-card .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.final-card .btn-primary:hover { background: #f4f3ff; }
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 40px 0 50px; color: var(--muted); font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid b { display: block; color: var(--ink); margin-bottom: 10px; font-size: 14px; }
.foot-grid a { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--accent); }
@media (max-width: 960px) { .pilote-card, .foot-grid, .pilote-kpis { grid-template-columns: 1fr; } }

/* ====================================================================== */
/* À NOTRE SAUCE — l'étiquette de rayon, l'étagère, le sondage en direct   */
/* ====================================================================== */
:root { --tag: #ffd84d; --tag-ink: #1c1a0e; --tag-line: #e6bf2a; }

/* l'étiquette : le geste signature. Un rectangle jaune, coin coupé, chiffres en mono. */
.etiq {
  display: inline-flex; align-items: baseline; gap: 6px; background: var(--tag); color: var(--tag-ink);
  padding: 5px 10px 5px 12px; border-radius: 6px; font-family: var(--mono); font-weight: 600; font-size: 14px;
  box-shadow: 0 1px 0 var(--tag-line), 0 3px 8px rgba(0,0,0,.08); position: relative;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}
.etiq small { font-family: var(--font); font-weight: 500; font-size: 11.5px; opacity: .75; }
.etiq-sm { font-size: 11px; padding: 3px 8px 3px 9px; }
.etiq-lead { background: var(--tag-ink); color: var(--tag); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.etiq-lead small { opacity: .85; }
.etiq-p { font-size: 30px; padding: 6px 16px 8px 18px; gap: 8px; }
.etiq-p small { font-size: 13px; }
.brand .mark::after { box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff; width: 14px; }
.brand .mark::before { content: ""; position: absolute; left: 17px; top: 4px; width: 5px; height: 4px; border-radius: 1px; background: var(--tag); }

/* héro en deux colonnes : le texte, l'étagère */
.hero-r { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 0 30px; }
.hero-txt .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.hero-r h1 { font-size: 54px; line-height: 1.04; letter-spacing: -.04em; font-weight: 750; text-wrap: balance; }
.hero-r h1 em { font-style: normal; color: var(--accent); }
.hero-r h1 i { font-style: italic; font-weight: 750; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-r .lede { font-size: 17px; color: var(--ink-2); margin: 20px 0 24px; max-width: 540px; line-height: 1.55; }
.hero-r .proofline { justify-content: flex-start; margin-top: 22px; }
.hero-r .go-in { min-width: 300px; }

/* l'étagère */
.shelf-wrap { position: relative; }
.sonde {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px 12px; padding: 8px 12px; border-radius: 10px;
  background: #0e0e13; color: #e8e8f0; font-family: var(--mono); font-size: 13px; box-shadow: var(--shadow-lg); min-height: 36px;
}
.sonde .sonde-l { color: #a5b4fc; }
.sonde .caret { width: 8px; height: 15px; background: #a5b4fc; animation: pulse 1s steps(2) infinite; }
.shelf { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px 16px; box-shadow: var(--shadow-lg); }
.shelf .back { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(180deg, #fff 0%, #fafafd 100%); }
.shelf .items { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.shelf .item { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: rise .5s ease both; }
.shelf .item:nth-child(2) { animation-delay: .1s; } .shelf .item:nth-child(3) { animation-delay: .2s; }
.shelf .item img { max-width: 100%; height: 118px; object-fit: contain; display: block; filter: drop-shadow(0 10px 14px rgba(0,0,0,.14)); transition: transform .2s ease; }
.shelf .item.lead img { height: 142px; }
.shelf:hover .item img { transform: translateY(-3px); }
.shelf .item .etiq { transform: translateY(6px); }
.shelf .plank { position: relative; height: 14px; margin: 4px -22px 0; background: linear-gradient(180deg, #ececf2, #d9d9e2); border-top: 1px solid #fff; box-shadow: 0 8px 14px -6px rgba(0,0,0,.25); }
.shelf .shelf-foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; }

/* le sondage en direct */
.live { padding: 56px 0 10px; }
.live-head { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.live-head h2 { font-size: 32px; letter-spacing: -.03em; margin: 12px 0 8px; }
.live-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 900px; margin: 0 auto; }
.lq { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; animation: rise .4s ease both; }
.lq .q::before { content: "›"; color: var(--accent); font-family: var(--mono); margin-right: 8px; }

/* le rail chronométré */
.rail-h { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; text-align: left; }
.rail-h::before { content: ""; position: absolute; left: 8%; right: 8%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .35; }
.rh { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; box-shadow: var(--shadow); }
.rh b { display: block; font-size: 15px; margin-top: 18px; }
.rh span { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; }
.rh::before { content: ""; position: absolute; left: 14px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fff; }
.rh p { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.plan .p { margin: 10px 0 6px; }

@media (max-width: 960px) {
  .hero-r { grid-template-columns: 1fr; }
  .hero-r h1 { font-size: 38px; }
  .live-grid { grid-template-columns: 1fr; }
  .rail-h { grid-template-columns: repeat(2, 1fr); }
  .rail-h::before { display: none; }
}

/* --- Toutes les thématiques ----------------------------------------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 16px; max-width: 900px; }
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: left; }
.theme { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .15s, border-color .15s; }
.theme:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.theme .etiq { align-self: flex-start; font-size: 15px; }
.theme .tn { font-size: 16px; letter-spacing: -.01em; margin-top: 4px; }
.theme .tq { font-size: 12.5px; color: var(--muted); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) { .themes { grid-template-columns: repeat(2, 1fr); } }

/* ====================================================================== */
/* TA DA, PAS LA NÔTRE — le cadre qui change de chaîne, les formats, les DA */
/* ====================================================================== */

/* le cadre 16:9 : un carton titre monté à la DA de la chaîne choisie */
.da-wrap { position: relative; }
.fr {
  --fbg: #fff; --fink: #111; --facc: #4f46e5;
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--fbg); color: var(--fink); border: 1px solid rgba(0, 0, 0, .08); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 16px 20px 14px;
  transition: background .55s ease, color .55s ease;
}
.fr::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .55s; }
.fr[data-motif=grid]::before { opacity: 1; background-image: linear-gradient(rgba(24, 32, 46, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 32, 46, .09) 1px, transparent 1px); background-size: 26px 26px; }
.fr[data-motif=dots]::before { opacity: 1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 16px 16px; }
.fr[data-motif=paper]::before { opacity: 1; background-image: repeating-linear-gradient(0deg, rgba(35, 48, 31, .05) 0 1px, transparent 1px 7px); }
.fr-bar { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; }
.fr-ch { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; letter-spacing: -.01em; }
.fr-ch i { width: 16px; height: 16px; border-radius: 50%; background: var(--facc); display: inline-block; box-shadow: inset 0 0 0 3px var(--fbg), 0 0 0 1px var(--facc); }
.fr-pill { padding: 3px 8px; border-radius: 999px; border: 1px solid currentColor; opacity: .65; font-family: var(--mono); font-size: 10.5px; }
.fr-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 9px; min-height: 0; }
.fr-fmt { align-self: flex-start; background: var(--facc); color: var(--fbg); padding: 3px 9px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.fr-t { font-size: 29px; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; max-width: 94%; margin: 0; animation: rise .45s ease both; }
.fr-tiers { display: flex; gap: 8px; align-items: flex-end; margin-top: 4px; }
.fr-tier { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; animation: rise .5s ease both; }
.fr-tier:nth-child(2) { animation-delay: .08s; } .fr-tier:nth-child(3) { animation-delay: .16s; }
.fr-tier img { height: 58px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .16)); }
.fr-tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; padding: 4px 8px 4px 9px; background: var(--facc); color: var(--fbg); clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); white-space: nowrap; }
.fr-tag.lead { background: var(--fink); color: var(--fbg); }
.fr-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 10.5px; opacity: .8; }
.fr-prog { flex: 0 0 110px; height: 3px; background: rgba(127, 127, 127, .3); border-radius: 2px; overflow: hidden; }
.fr-prog i { display: block; height: 100%; width: 38%; background: var(--facc); animation: avance 3.6s linear both; }
@keyframes avance { from { width: 6%; } to { width: 92%; } }

/* les typographies de chaque DA — polices système, rien d'embarqué */
.fr[data-font=serif] .fr-t { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.02em; }
.fr[data-font=serif-i] .fr-t { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 600; letter-spacing: -.015em; }
.fr[data-font=mono] .fr-t { font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; font-size: 25px; }
.fr[data-font=round] .fr-t { font-family: "Arial Rounded MT Bold", "Helvetica Rounded", ui-rounded, "Nunito", "Segoe UI", sans-serif; font-weight: 800; letter-spacing: -.02em; }
.fr[data-font=cond] .fr-t { font-family: "Arial Narrow", "Helvetica Neue Condensed Bold", "Roboto Condensed", "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: 0; font-size: 33px; font-weight: 800; }
.fr[data-font=slab] .fr-t { font-family: Rockwell, "Roboto Slab", Georgia, serif; font-weight: 700; letter-spacing: -.01em; }

/* la DA mesurée : un cadre neutre, en attente de ta chaîne */
.fr-mesure { --fbg: #fbfbfd; --fink: #23232b; --facc: #4f46e5; border: 1.5px dashed var(--line-2); box-shadow: var(--shadow); }
.fr-mesure .fr-t { font-family: var(--font); }
.fr-sw { display: block; width: 44px; height: 44px; border-radius: 12px; background: conic-gradient(from 90deg, #4f46e5, #ffd84d, #34a86a, #e63946, #4f46e5); box-shadow: inset 0 0 0 3px #fff; }
.fr-sw-t { background: #fff; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; font-family: Georgia, serif; }
.fr-sw-c { background: repeating-linear-gradient(135deg, #fff 0 5px, #ecebff 5px 10px); border: 1px solid var(--line-2); }

.da-chips { margin: 14px 0 0; justify-content: flex-start; }
.da-chips .chip { height: 28px; font-size: 12.5px; padding: 0 10px; }
.fr-cap { font-size: 12.5px; color: var(--muted); margin: 10px 0 0 2px; line-height: 1.45; }
.fr-cap b { color: var(--ink); font-weight: 600; }

/* les six formats */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.fmt { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.fmt-n { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.fmt h3 { font-size: 18px; letter-spacing: -.02em; }
.fmt p { font-size: 14px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.fmt-m { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.fmt-m > span:not(.badge) { font-family: var(--mono); font-size: 12px; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.pilote-fmt { border-color: #c7d2fe; box-shadow: 0 0 0 3px rgba(79, 70, 229, .08), var(--shadow); }

/* les dix DA, en grille large, à la même carte que dans l'application */
.das-l { grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: left; }
.das-l .da-opt { display: block; text-decoration: none; color: inherit; }
.das-l .da-opt:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.das-l .da-opt .prev { height: 64px; }
.das-l .da-opt .prev .t { font-size: 16px; }
.das-l .da-opt[data-font=serif] .prev .t, .das-l .da-opt[data-font=serif-i] .prev .t { font-family: Georgia, serif; }
.das-l .da-opt[data-font=serif-i] .prev .t { font-style: italic; }
.das-l .da-opt[data-font=mono] .prev .t { font-family: var(--mono); font-weight: 600; }
.das-l .da-opt[data-font=round] .prev .t { font-family: "Arial Rounded MT Bold", ui-rounded, "Nunito", sans-serif; }
.das-l .da-opt[data-font=cond] .prev .t { font-family: "Arial Narrow", "Roboto Condensed", sans-serif; text-transform: uppercase; }
.das-l .da-opt[data-font=slab] .prev .t { font-family: Rockwell, "Roboto Slab", Georgia, serif; }
.da-mesure { border-style: dashed; }
.da-mesure .prev { background: repeating-linear-gradient(135deg, #fafafc 0 8px, #f1f1f7 8px 16px); }
.da-mesure .prev .t { color: var(--accent); font-family: var(--mono); font-weight: 600; }

/* l'étagère, désormais la preuve de la chaîne pilote */
.shelf-pilote { margin-top: 12px; }
.shelf-pilote .shelf { border-radius: 16px; padding-top: 22px; }
.shelf-pilote .items { grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 0 auto; }

@media (max-width: 960px) {
  .fr { padding: 12px 14px 10px; }
  .fr-t { font-size: 22px; } .fr[data-font=mono] .fr-t { font-size: 19px; } .fr[data-font=cond] .fr-t { font-size: 25px; }
  .fr-tier img { height: 44px; }
  .formats { grid-template-columns: 1fr; }
  .das-l, .lp .das { grid-template-columns: repeat(2, 1fr); }
}

/* --- Quinze formats, par intention ---------------------------------- */
.groupes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; align-items: start; }
.groupe { display: flex; flex-direction: column; gap: 10px; }
.groupe-h { padding: 4px 4px 6px; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; gap: 2px; }
.groupe-h b { font-size: 17px; letter-spacing: -.02em; }
.groupe-h span { font-size: 12.5px; color: var(--muted); }
.groupe .fmt { padding: 14px 14px 12px; gap: 6px; }
.groupe .fmt h3 { font-size: 15.5px; }
.groupe .fmt p { font-size: 13px; }
.fmt-ex { font-weight: 600; color: var(--ink) !important; font-size: 13px !important; line-height: 1.35 !important; flex: 0 0 auto !important; }
.fmt-ex::before { content: "▶ "; color: #e11d48; font-size: 10px; }
.groupe .fmt-m > span:not(.badge) { font-size: 11px; padding: 2px 7px; }
.fmt-q { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.fmt-q .lbl { width: 100%; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fmt-q span:not(.lbl) { font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 2px 6px; border-radius: 5px; }
@media (max-width: 1100px) { .groupes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .groupes { grid-template-columns: 1fr; } }

/* --- Le plan de la chaîne, composé en direct -------------------------- */
.plan-wrap { max-width: 900px; margin: 0 auto; }
.plan-hd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.plan-hd span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; text-align: center; font-size: 12.5px; color: var(--muted); box-shadow: var(--shadow); }
.plan-hd b { display: block; font-size: 22px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; margin-bottom: 2px; }
.plan-l { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.pe { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; animation: rise .4s ease both; }
.pe:hover { border-color: var(--line-2); }
.pe-n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pe-t { font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; }
.pe-m { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pe-f { color: var(--accent); font-weight: 500; }
.pe-s { color: #b45309; }
.pe .etiq { font-size: 12px; padding: 4px 8px 4px 9px; }
@media (max-width: 700px) { .plan-hd { grid-template-columns: repeat(2, 1fr); } .pe { grid-template-columns: 26px 1fr auto; } }

/* le héros : la vitrine des films de style (styles.js) */
.hero-r { grid-template-columns: .92fr 1.08fr; }
.vit { position: relative; min-width: 0; }
.vit-ecran { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0b0b10; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 0, 0, .08); }
.vit-ecran video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vit-tag { position: absolute; left: 12px; top: 12px; background: rgba(11, 11, 16, .78); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.vit-all { position: absolute; right: 12px; top: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.vit-all:hover { background: #fff; }
#vit-chips .chip .muted { font-weight: 400; }
@media (max-width: 960px) { .hero-r { grid-template-columns: 1fr; } }

/* le héros sur grand écran (Paul, 13/09 : « en 100 % sur bureau ça donne ça ») :
   le titre tenait sur huit lignes dans une colonne de 490 px et la vidéo flottait
   au milieu d'un vide. La page passe de 1 120 à 1 320 px (le menu suit),
   le titre suit la largeur de l'écran, les preuves passent en liste. */
@media (min-width: 961px) {
  .land { max-width: 1320px; }
  .hero-r { grid-template-columns: 1fr 1.08fr; gap: 56px; padding-top: 56px; }
  .hero-r h1 { font-size: clamp(38px, 3.2vw, 50px); }
  .hero-r .lede { font-size: 16.5px; }
  .hero-r .proofline { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 18px; }
  .hero-r .proofline i { display: none; }
}

/* ── Mobile (13/09) : la page faisait 700 px de large pour un écran de 390 ── */
@media (max-width: 760px) {
  .land { padding: 0 16px; overflow-x: clip; }
  .land-nav { height: 60px; }
  .land-nav .links, .land-nav .lang { display: none; }
  .hero-r { padding-top: 26px; gap: 28px; }
  .hero-r h1 { font-size: 34px; }
  .hero-r .lede { font-size: 16px; }
  .go { display: flex; flex-direction: column; width: 100%; }
  .hero-r .go-in { min-width: 0; }
  .go .btn { justify-content: center; }
  .hero-r .proofline { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-r .proofline i { display: none; }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .shelf .items, .shelf-pilote .items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help { display: none; }
  .section h2, .hero-c h1 { font-size: 30px; }
  .vit-all { display: none; }
  /* les quinze formats : la structure reste, les requêtes « appelé par » se lisent sur ordinateur */
  .fmt-q { display: none; }
  .vit-tag { font-size: 11px; }
}
/* l'épisode réel du pilote : l'affiche garde son cadre 16:9 et ne recouvre plus le titre */
.pilote-img.style-v img { min-height: 0; }
@media (min-width: 961px) { .pilote-img.style-v { aspect-ratio: auto; min-height: 300px; } }
@media (max-width: 760px) { .shelf .etiq small { display: none; } .shelf .etiq b { font-size: 13px; } }
