/* =====================================================================
   ScreenAds — page « Télécharger » (telecharger.html)
   Identité « ardoise / enseigne de bistrot / vitrine ».
   S'appuie sur base.css (variables, polices, en-tête, pied, révélations).
   Animations : transform / opacity / stroke-dashoffset uniquement.
   ===================================================================== */

.dl {
  --c-creme: var(--creme, #F4EDE1);
  --c-encre: var(--encre, #13362B);
  --c-moutarde: var(--moutarde, #F2B630);
  --c-piment: var(--piment, #D9432B);
  --c-ardoise: var(--ardoise, #1D2B26);
  --c-papier: #FBF7EF;
  --f-titre: var(--font-titre, "Big Shoulders Display", Impact, "Arial Narrow", sans-serif);
  --f-texte: var(--font-texte, "Familjen Grotesk", system-ui, sans-serif);
  --f-main: var(--font-main, "Caveat Brush", "Comic Sans MS", cursive);
  --e: var(--ease, cubic-bezier(.2, .8, .2, 1));
  --ombre: 6px 6px 0 var(--c-encre);

  position: relative;
  background: var(--c-creme);
  color: var(--c-encre);
  font-family: var(--f-texte);
}
.dl [hidden] { display: none !important; }
/* base.css termine les révélations par clip-path: inset(0), qui couperait
   nos ombres portées, annotations et éléments inclinés */
.js .dl [data-reveal]:not([data-reveal="clip"]).is-in { clip-path: none; }
.dl section { position: relative; }
.dl code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .84em;
  background: rgba(19, 54, 43, .08); padding: .1em .4em; border-radius: 3px;
  overflow-wrap: anywhere;
}
.dl strong { font-weight: 700; }

/* ---------- Étiquettes (libellés de section) ---------- */
.dl-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .5em;
  padding: 6px 12px 6px 10px;
  background: var(--c-encre); color: var(--c-creme);
  font-family: var(--f-texte); font-size: 14px; font-weight: 700; line-height: 1.2;
  border-radius: 3px;
  rotate: -2deg;
}
.dl-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-moutarde); }
.dl-tag--sm { font-size: 12.5px; padding: 4px 9px 4px 8px; rotate: -1deg; }

/* ---------- Titres : Big Shoulders, très gros, serrés ---------- */
.dl-hero__title, .dl-h2, .dl-outro__title {
  font-family: var(--f-titre); font-weight: 900; text-transform: uppercase;
  line-height: .9; letter-spacing: -.005em;
  color: var(--c-encre);
}
/* masque des mots : on laisse de la place aux accents des capitales (É, À) */
.dl-hero__title .w, .dl-h2 .w, .dl-outro__title .w { padding-top: .16em; margin-top: -.16em; }
.dl-h2 { font-size: clamp(56px, 10vw, 128px); max-width: 11em; }
.dl-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }

/* mot mis en valeur : aplat moutarde + trait dessiné à la main */
.dl-hl { position: relative; display: inline-block; color: inherit; }
.dl-hl .wi, html:not(.js) .dl-hl { background: var(--c-moutarde); box-shadow: .06em 0 0 var(--c-moutarde), -.06em 0 0 var(--c-moutarde); }
.dl-swash { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .22em; overflow: visible; pointer-events: none; }
.dl-swash path { fill: none; stroke: var(--c-piment); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--e) .7s; }
.is-in .dl-swash path, html:not(.js) .dl-swash path { stroke-dashoffset: 0; }

/* =====================================================================
   1. HÉRO + BLOC DE TÉLÉCHARGEMENT
   ===================================================================== */
.dl-hero { padding: calc(var(--header-h, 68px) + clamp(32px, 6vw, 80px)) 0 0; overflow: hidden; }
.dl-hero__grid { display: grid; gap: 56px; align-items: start; }
.dl-hero__intro { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.dl-hero__title { font-size: clamp(64px, 17vw, 132px); }
.dl-hero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 32em; }
@media (min-width: 1000px) {
  .dl-hero__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
  .dl-hero__title { font-size: clamp(96px, 9.6vw, 150px); }
  .dl-qr { margin-top: 40px; }
}

/* ---------- Carte de téléchargement ---------- */
.dl-card {
  position: relative; margin-top: 58px;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  max-width: 640px;
  background: var(--c-papier);
  border: 2px solid var(--c-encre);
  border-radius: 6px;
  box-shadow: 10px 10px 0 var(--c-encre);
}

/* annotation à la craie au-dessus du bouton */
.dl-note {
  position: absolute; right: -8px; top: -70px;
  display: flex; align-items: flex-end;
  font-family: var(--f-main); font-size: 22px; line-height: 1; color: var(--c-piment);
  rotate: 4deg; pointer-events: none;
}
.dl-note span { transform: translateY(-14px); text-align: right; }
.dl-note svg { width: 64px; height: 50px; transform: scaleX(-1) rotate(-6deg); margin-bottom: -26px; overflow: visible; }
.dl-note path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--e) 1.1s; }
.dl-note path + path { transition-delay: 1.9s; transition-duration: .4s; }
.dl-card.is-in .dl-note path, html:not(.js) .dl-note path { stroke-dashoffset: 0; }
@media (max-width: 520px) { .dl-note { top: -62px; right: 0; font-size: 19px; } }

/* ---------- Le bouton vivant ---------- */
.dl-btn {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 16px;
  min-height: 84px; padding: 12px 22px 12px 12px;
  border: 2px solid var(--c-encre); border-radius: 6px;
  background: var(--c-moutarde); color: var(--c-encre);
  text-decoration: none;
  box-shadow: var(--ombre);
  overflow: hidden;
  transition: box-shadow .35s var(--e), translate .35s var(--e), background-color .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
/* rayures qui défilent (store d'enseigne) */
.dl-btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -60px; z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(19, 54, 43, 0) 0 14px, rgba(19, 54, 43, .07) 14px 28px);
  animation: dl-stripes 1.6s linear infinite;
}
@keyframes dl-stripes { to { transform: translateX(-39.6px); } }
@media (hover: hover) {
  .dl-btn:hover { translate: -3px -3px; box-shadow: 9px 9px 0 var(--c-encre); }
  .dl-btn:hover .dl-btn__arrow { animation-duration: .8s; }
  .dl-btn:hover .dl-btn__icon { transform: rotate(-6deg); }
}
.dl-btn:active { translate: 4px 4px; box-shadow: 2px 2px 0 var(--c-encre); transition-duration: .08s; }

.dl-btn__fill { position: absolute; inset: 0; z-index: -1; background: var(--c-encre); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--e); }

.dl-btn__icon {
  position: relative; flex: none;
  width: 58px; height: 58px; border-radius: 4px;
  display: grid; place-items: center;
  background: var(--c-encre); color: var(--c-moutarde);
  transition: transform .45s var(--e), background-color .3s, color .3s;
}
.dl-btn__icon svg { grid-area: 1 / 1; width: 26px; height: 26px; transition: transform .5s var(--e), opacity .3s; }
.dl-btn__arrow { animation: dl-bob 1.8s var(--e) infinite; }
.dl-btn__check { opacity: 0; transform: scale(.4) rotate(-20deg); }
@keyframes dl-bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }

.dl-btn__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-btn__label { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 36px); line-height: .95; }
.dl-btn__sub { font-size: 14px; font-weight: 600; opacity: .8; }
.dl-btn__label, .dl-btn__sub { transition: opacity .25s, transform .4s var(--e); }
.dl-btn.is-swapping .dl-btn__label, .dl-btn.is-swapping .dl-btn__sub { opacity: 0; transform: translateY(8px); }

/* états pilotés par telecharger.js */
.dl-btn[data-state="loading"] { color: var(--c-creme); }
.dl-btn[data-state="loading"] .dl-btn__fill { transform: scaleX(1); }
.dl-btn[data-state="loading"] .dl-btn__icon { background: var(--c-moutarde); color: var(--c-encre); }
.dl-btn[data-state="loading"] .dl-btn__arrow { animation: dl-drop .7s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes dl-drop { 0% { transform: translateY(-16px); opacity: 0; } 30%, 60% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
.dl-btn[data-state="done"] { background: var(--c-creme); }
.dl-btn[data-state="done"] .dl-btn__icon { transform: rotate(-6deg) scale(1.05); }
.dl-btn[data-state="done"] .dl-btn__arrow { opacity: 0; transform: scale(.4); animation: none; }
.dl-btn[data-state="done"] .dl-btn__check { opacity: 1; transform: none; }

/* confettis à la fin */
.dl-spark {
  position: absolute; left: 40px; top: 50%; width: 9px; height: 5px; margin: -2.5px -4.5px;
  background: var(--c-piment); pointer-events: none; z-index: 2;
  animation: dl-spark .9s var(--e) forwards;
}
.dl-spark:nth-child(3n) { background: var(--c-encre); }
.dl-spark:nth-child(3n+1) { background: var(--c-moutarde); outline: 1px solid var(--c-encre); }
@keyframes dl-spark { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--sx), var(--sy)) rotate(260deg); opacity: 0; } }

/* barre de progression simulée : bande à rayures */
.dl-progress { height: 12px; border: 2px solid var(--c-encre); border-radius: 3px; overflow: hidden; background: var(--c-creme); }
.dl-progress__bar { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: repeating-linear-gradient(-45deg, var(--c-piment) 0 8px, var(--c-moutarde) 8px 16px); }
.dl-status { min-height: 1.4em; margin-top: -6px; font-family: var(--f-main); font-size: 21px; line-height: 1.2; color: var(--c-piment); }
.dl-status:empty { min-height: 0; margin-top: -18px; }

/* méta-données : petites étiquettes */
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-meta > div { display: flex; flex-direction: column; min-width: 0; padding: 7px 12px 8px; border: 2px solid var(--c-encre); border-radius: 4px; background: var(--c-creme); }
.dl-meta dt { font-size: 12px; font-weight: 600; opacity: .7; }
.dl-meta dd { font-family: var(--f-titre); font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.dl-meta > div:nth-child(odd) { rotate: -1.2deg; }
.dl-meta > div:nth-child(even) { rotate: 1deg; }
.dl-meta.is-live > div { animation: dl-pop .7s var(--e) both; }
.dl-meta.is-live > div:nth-child(2) { animation-delay: .08s; }
.dl-meta.is-live > div:nth-child(3) { animation-delay: .16s; }
.dl-meta.is-live > div:nth-child(4) { animation-delay: .24s; }
@keyframes dl-pop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }

.dl-pending { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.dl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-piment); animation: dl-blink 1.2s ease-in-out infinite; }
@keyframes dl-blink { 50% { opacity: .2; } }

.dl-notes { display: flex; flex-direction: column; gap: 12px; }
.dl-notes ul { display: flex; flex-direction: column; gap: 8px; }
.dl-notes li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; animation: dl-in .7s var(--e) both; animation-delay: calc(.3s + var(--n, 0) * 80ms); }
.dl-notes li::before { content: "→"; position: absolute; left: 0; top: -.05em; font-family: var(--f-main); font-size: 1.3em; color: var(--c-piment); }
@keyframes dl-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Accordéons (empreinte + FAQ) ---------- */
.dl-acc { border-top: 2px solid var(--c-encre); }
.dl-acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 0; cursor: pointer; list-style: none; font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.dl-acc summary::-webkit-details-marker { display: none; }
.dl-acc summary > span:first-child { transition: transform .4s var(--e); }
@media (hover: hover) { .dl-acc summary:hover > span:first-child { transform: translateX(6px); } }
.dl-acc__plus {
  position: relative; flex: none; width: 34px; height: 34px;
  border: 2px solid var(--c-encre); border-radius: 4px; background: var(--c-moutarde);
  box-shadow: 3px 3px 0 var(--c-encre);
  transition: transform .5s var(--e), background-color .3s, box-shadow .3s var(--e);
}
.dl-acc__plus::before, .dl-acc__plus::after {
  content: ""; position: absolute; left: 7px; right: 7px; top: 50%; height: 2.5px; margin-top: -1.25px;
  background: var(--c-encre); border-radius: 2px; transition: transform .5s var(--e);
}
.dl-acc__plus::after { transform: rotate(90deg); }
.dl-acc[open] .dl-acc__plus { transform: rotate(180deg); background: var(--c-creme); box-shadow: -3px -3px 0 var(--c-encre); }
.dl-acc[open] .dl-acc__plus::after { transform: rotate(0deg); }
.dl-acc__body { overflow: hidden; padding-bottom: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.55; }

.dl-sha summary { padding: 12px 0 2px; font-size: 14px; }
.dl-sha .dl-acc__plus { width: 28px; height: 28px; }
.dl-sha .dl-acc__plus::before, .dl-sha .dl-acc__plus::after { left: 6px; right: 6px; }
.dl-sha .dl-acc__body { font-size: 14.5px; padding-top: 8px; }
.dl-sha__row { display: flex; align-items: flex-start; gap: 10px; }
.dl-sha__row code { flex: 1; min-width: 0; font-size: 12px; line-height: 1.6; padding: 10px 12px; word-break: break-all; }
.dl-copy {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 4px;
  border: 2px solid var(--c-encre); background: var(--c-creme); font-size: 14px; font-weight: 700; color: var(--c-encre);
  box-shadow: 3px 3px 0 var(--c-encre);
  transition: transform .2s var(--e), box-shadow .2s var(--e), background-color .3s;
}
.dl-copy:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--c-encre); }
.dl-copy.is-ok { background: var(--c-moutarde); }

/* ---------- QR code : ticket de caisse ---------- */
.dl-qr { display: none; flex-direction: column; align-items: center; gap: 4px; }
.dl-ticket-wrap { filter: drop-shadow(6px 7px 0 var(--c-encre)); }
@media (min-width: 760px) and (hover: hover) and (pointer: fine), (min-width: 1000px) { .dl-qr { display: flex; } }
.dl-ticket {
  --dent: 9px;
  position: relative; width: 272px;
  padding: 22px 22px 30px;
  background: #FFFDF8; color: var(--c-encre);
  font-size: 13.5px; line-height: 1.35;
  /* bord inférieur dentelé, découpé comme un ticket */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--dent) * 2) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--dent) * 2) 100%;
  transform-origin: 50% 0;
  animation: dl-sway 6s ease-in-out infinite;
}
@keyframes dl-sway { 0%, 100% { transform: rotate(2.2deg); } 50% { transform: rotate(-1.4deg); } }
.dl-ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dl-ticket__head b { font-family: var(--f-titre); font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; }
.dl-ticket__head span { font-size: 12px; font-weight: 600; opacity: .7; }
.dl-ticket__rule { height: 0; border-top: 2px dashed rgba(19, 54, 43, .45); margin: 12px 0; }
.dl-ticket__qr { position: relative; width: 200px; margin: 4px auto; overflow: hidden; }
.dl-ticket__qr img { width: 200px; height: 200px; }
.dl-ticket__scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c-piment); opacity: 0; animation: dl-scan 3s cubic-bezier(.75, 0, .2, 1) infinite; }
@keyframes dl-scan { 0% { transform: translateY(0); opacity: 0; } 10%, 85% { opacity: .9; } 100% { transform: translateY(197px); opacity: 0; } }
.dl-ticket__line { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.dl-ticket__line + .dl-ticket__line { margin-top: 4px; }
.dl-ticket__foot { font-size: 13px; text-align: center; }
.dl-qr__chalk { font-family: var(--f-main); font-size: 26px; color: var(--c-piment); margin-top: 14px; animation: dl-wiggle 2.4s ease-in-out infinite; }
@keyframes dl-wiggle { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(-1deg) translateY(-3px); } }

/* ---------- Bandeau défilant moutarde ---------- */
.dl-ticker {
  margin: clamp(72px, 10vw, 128px) 0 0 -2%; width: 104%;
  background: var(--c-moutarde); color: var(--c-encre);
  border-top: 3px solid var(--c-encre); border-bottom: 3px solid var(--c-encre);
  rotate: -2deg;
  position: relative; z-index: 3;
  overflow: hidden; white-space: nowrap;
}
.dl-ticker__track { display: inline-flex; animation: dl-ticker 28s linear infinite; }
.dl-ticker span {
  display: inline-flex; align-items: center; gap: 28px; padding: 14px 28px 12px 0;
  font-family: var(--f-titre); font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; text-transform: uppercase;
}
.dl-ticker span::after { content: "✶"; color: var(--c-piment); font-size: .8em; }
@keyframes dl-ticker { to { transform: translateX(-50%); } }

/* =====================================================================
   2. GUIDE D'INSTALLATION — section ardoise, téléphone collant
   ===================================================================== */
.dl-guide {
  margin-top: -36px; padding: clamp(120px, 14vw, 180px) 0 clamp(48px, 6vw, 80px);
  background-color: var(--c-ardoise); color: var(--c-creme);
  background-image: radial-gradient(rgba(244, 237, 225, .05) 1px, transparent 1px);
  background-size: 6px 6px;
}
.dl-guide .dl-h2 { color: var(--c-creme); }
.dl-guide .dl-hl .wi { color: var(--c-encre); }
.dl-guide .dl-tag { background: var(--c-creme); color: var(--c-encre); }
.dl-guide__grid { display: grid; position: relative; }

.dl-stage {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 2;
  align-self: start;
  height: min(54vh, 440px);
  padding-top: calc(var(--header-h, 68px) - 20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(var(--c-ardoise) 91%, rgba(29, 43, 38, 0));
  pointer-events: none;
  --pw: clamp(118px, 17vh, 168px);
}
.dl-stage__inner { position: relative; font-size: calc(var(--pw) / 24); width: 44em; height: 49em; display: flex; align-items: center; justify-content: center; }
.dl-stage__dots { display: flex; gap: 8px; }
.dl-stage__dots i { width: 26px; height: 6px; border-radius: 1px; background: rgba(244, 237, 225, .2); position: relative; overflow: hidden; }
.dl-stage__dots i::after { content: ""; position: absolute; inset: 0; background: var(--c-moutarde); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--e); }
.dl-stage__dots i.is-on::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .dl-guide__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .dl-stage { height: 100vh; padding-top: var(--header-h, 68px); background: none; gap: 22px; --pw: clamp(200px, calc((100vh - 200px) / 2.1), 270px); }
}

/* ---------- Le téléphone ---------- */
.dl-phone {
  position: absolute; left: 50%; top: 50%;
  width: 24em; height: 49em; margin: -24.5em 0 0 -12em;
  border-radius: 3.4em;
  background: var(--c-encre);
  border: .5em solid var(--c-encre);
  box-shadow: 0 0 0 .2em var(--c-creme), 1.4em 1.4em 0 .2em var(--c-moutarde);
  transition: transform 1s var(--e);
  overflow: hidden;
}
.dl-phone__notch { position: absolute; z-index: 5; left: 50%; top: 1em; width: 2em; height: 2em; margin-left: -1em; border-radius: 50%; background: var(--c-encre); }
.dl-phone__screen { position: absolute; inset: 0; overflow: hidden; background: var(--c-papier); border-radius: 2.9em; font-family: var(--f-texte); color: var(--c-encre); }
.dl-phone__status { position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 4.2em; padding: 1.3em 2.4em 0; display: flex; justify-content: space-between; font-weight: 700; }
.dl-phone__status span { font-size: 1.1em; }
.dl-phone__icons { display: flex; gap: .4em; align-items: center; }
.dl-phone__icons i { width: 1em; height: 1em; border-radius: .2em; background: var(--c-encre); }
.dl-phone__icons i:last-child { width: 1.8em; }

.dl-scr {
  position: absolute; inset: 0; padding: 5.2em 1.8em 2em;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(2em) scale(.97);
  transition: opacity .55s var(--e), transform .8s var(--e);
}
.dl-stage__inner[data-step="1"] .dl-scr--1,
.dl-stage__inner[data-step="2"] .dl-scr--2,
.dl-stage__inner[data-step="3"] .dl-scr--3,
.dl-stage__inner[data-step="4"] .dl-scr--4 { opacity: 1; transform: none; transition-delay: .12s; }

.dl-tap { position: absolute; z-index: 6; width: 4em; height: 4em; margin: -2em 0 0 -2em; border-radius: 50%; background: rgba(217, 67, 43, .3); border: .2em solid var(--c-piment); opacity: 0; transform: scale(.4); }

/* --- a. navigateur --- */
.dl-url { display: flex; align-items: center; gap: .6em; height: 3em; padding: 0 1.2em; border-radius: .6em; background: rgba(19, 54, 43, .08); font-weight: 600; }
.dl-url svg { width: 1em; height: 1em; }
.dl-mini-site { margin-top: 2.4em; display: flex; flex-direction: column; gap: 1.2em; }
.dl-mini-label { align-self: flex-start; padding: .3em .7em; background: var(--c-encre); color: var(--c-creme); font-size: .85em; font-weight: 700; border-radius: .2em; rotate: -2deg; }
.dl-mini-title { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 3.8em; line-height: .86; }
.dl-mini-title em { font-style: normal; background: var(--c-moutarde); }
.dl-mini-btn { display: flex; align-items: center; justify-content: center; gap: .6em; height: 3.8em; border-radius: .3em; background: var(--c-moutarde); border: .15em solid var(--c-encre); box-shadow: .35em .35em 0 var(--c-encre); font-weight: 800; font-size: 1.1em; }
.dl-mini-btn svg { width: 1em; height: 1em; }
.dl-mini-line { height: .8em; border-radius: .2em; background: rgba(19, 54, 43, .12); }
.dl-mini-line--s { width: 60%; }
.dl-tap--1 { left: 50%; top: 28.6em; }
.dl-notif {
  position: absolute; left: 1.2em; right: 1.2em; top: 4.6em; z-index: 5;
  display: flex; align-items: center; gap: 1em; padding: 1.1em 1.2em;
  border-radius: .8em; background: var(--c-encre); color: var(--c-creme);
  box-shadow: .4em .4em 0 var(--c-moutarde);
  opacity: 0; transform: translateY(-140%);
}
.dl-notif__icon { flex: none; width: 2.6em; height: 2.6em; border-radius: .4em; background: var(--c-moutarde); color: var(--c-encre); display: grid; place-items: center; }
.dl-notif__icon svg { width: 1.3em; height: 1.3em; }
.dl-notif__txt { flex: 1; display: flex; flex-direction: column; gap: .6em; min-width: 0; }
.dl-notif__bar { height: .45em; border-radius: .2em; background: rgba(244, 237, 225, .2); overflow: hidden; }
.dl-notif__bar i { display: block; height: 100%; background: var(--c-moutarde); transform: scaleX(0); transform-origin: left; }

.dl-stage__inner[data-step="1"] .dl-tap--1 { animation: dl-tap1 5s var(--e) infinite; }
.dl-stage__inner[data-step="1"] .dl-mini-btn { animation: dl-press1 5s var(--e) infinite; }
.dl-stage__inner[data-step="1"] .dl-notif { animation: dl-notif1 5s var(--e) infinite; }
.dl-stage__inner[data-step="1"] .dl-notif__bar i { animation: dl-bar1 5s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes dl-tap1 { 0%, 8% { opacity: 0; transform: scale(.4); } 14% { opacity: 1; transform: scale(1); } 22% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
@keyframes dl-press1 { 0%, 12% { transform: none; } 15% { transform: translate(.3em, .3em); } 20%, 100% { transform: none; } }
@keyframes dl-notif1 { 0%, 22% { opacity: 0; transform: translateY(-140%); } 30%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-140%); } }
@keyframes dl-bar1 { 0%, 30% { transform: scaleX(0); } 72%, 100% { transform: scaleX(1); } }

/* --- b. sources inconnues --- */
.dl-dialog {
  position: absolute; left: 1.6em; right: 1.6em; top: 15em;
  padding: 1.8em 1.6em 1.2em; border-radius: .9em; background: #fff;
  border: .15em solid var(--c-encre); box-shadow: .5em .5em 0 var(--c-encre);
  display: flex; flex-direction: column; gap: 1em;
}
.dl-dialog b { font-size: 1.3em; line-height: 1.2; }
.dl-dialog p { line-height: 1.45; opacity: .8; }
.dl-dialog__btns { display: flex; justify-content: flex-end; gap: 1.6em; font-size: 1.05em; font-weight: 700; padding-top: .4em; }
.dl-dialog__btns span { opacity: .55; }
.dl-dialog__btns .is-cta { color: var(--c-piment); opacity: 1; }
.dl-settings { position: absolute; inset: 0; padding: 5.6em 1.8em 2em; background: var(--c-papier); display: flex; flex-direction: column; gap: 1.6em; opacity: 0; transform: translateX(100%); }
.dl-settings__back { font-size: 1.6em; }
.dl-settings b { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 2.8em; line-height: .9; }
.dl-settings__app { display: flex; align-items: center; gap: 1em; font-weight: 700; font-size: 1.15em; padding-top: .6em; }
.dl-settings__browser { width: 2.6em; height: 2.6em; border-radius: 50%; background: conic-gradient(var(--c-piment) 0 33%, var(--c-moutarde) 0 66%, var(--c-encre) 0); box-shadow: inset 0 0 0 .7em var(--c-papier); border: .12em solid var(--c-encre); }
.dl-settings__row { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.4em 0; border-top: .12em solid var(--c-encre); border-bottom: .12em solid var(--c-encre); font-size: 1.1em; font-weight: 600; }
.dl-toggle { position: relative; flex: none; width: 3.6em; height: 2em; border-radius: 1em; background: rgba(19, 54, 43, .25); }
.dl-toggle::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-encre); opacity: 0; }
.dl-toggle i { position: absolute; left: .25em; top: .25em; width: 1.5em; height: 1.5em; border-radius: 50%; background: #fff; }
.dl-tap--2a { left: 73%; top: 30em; }
.dl-tap--2b { left: 80%; top: 21.6em; }

.dl-stage__inner[data-step="2"] .dl-dialog { animation: dl-dlg2 6s var(--e) infinite; }
.dl-stage__inner[data-step="2"] .dl-settings { animation: dl-set2 6s var(--e) infinite; }
.dl-stage__inner[data-step="2"] .dl-toggle i { animation: dl-knob2 6s var(--e) infinite; }
.dl-stage__inner[data-step="2"] .dl-toggle::before { animation: dl-tog2 6s var(--e) infinite; }
.dl-stage__inner[data-step="2"] .dl-tap--2a { animation: dl-tap2a 6s var(--e) infinite; }
.dl-stage__inner[data-step="2"] .dl-tap--2b { animation: dl-tap2b 6s var(--e) infinite; }
@keyframes dl-dlg2 { 0% { opacity: 0; transform: scale(.92); } 8%, 40% { opacity: 1; transform: none; } 46%, 100% { opacity: 0; transform: scale(.96); } }
@keyframes dl-set2 { 0%, 40% { opacity: 0; transform: translateX(100%); } 50%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes dl-knob2 { 0%, 64% { transform: none; } 70%, 100% { transform: translateX(1.6em); } }
@keyframes dl-tog2 { 0%, 64% { opacity: 0; } 70%, 100% { opacity: 1; } }
@keyframes dl-tap2a { 0%, 26% { opacity: 0; transform: scale(.4); } 32% { opacity: 1; transform: scale(1); } 40%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes dl-tap2b { 0%, 58% { opacity: 0; transform: scale(.4); } 64% { opacity: 1; transform: scale(1); } 72%, 100% { opacity: 0; transform: scale(1.5); } }

/* --- c. installer --- */
.dl-install { position: absolute; left: 1.6em; right: 1.6em; bottom: 2em; padding: 2em 1.6em 1.4em; border-radius: .9em; background: #fff; border: .15em solid var(--c-encre); box-shadow: .5em .5em 0 var(--c-encre); display: flex; flex-direction: column; align-items: flex-start; gap: 1em; }
.dl-appicon { width: 4.4em; height: 4.4em; border-radius: 1em; background: var(--c-encre); color: var(--c-creme); display: grid; place-items: center; }
.dl-appicon svg { width: 1.8em; height: 2.8em; }
.dl-install b { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 2em; line-height: 1; }
.dl-install__q, .dl-install__done { font-size: 1.05em; line-height: 1.4; }
.dl-install__done { position: absolute; left: 1.6em; top: 10em; opacity: 0; font-weight: 700; }
.dl-install__bar { width: 100%; height: .6em; border-radius: .2em; background: rgba(19, 54, 43, .15); overflow: hidden; opacity: 0; }
.dl-install__bar i { display: block; height: 100%; background: var(--c-moutarde); transform: scaleX(0); transform-origin: left; }
.dl-install__btns1, .dl-install__btns2 { align-self: stretch; }
.dl-install__btns2 { position: absolute; right: 1.6em; bottom: 1.4em; left: 1.6em; opacity: 0; }
.dl-tap--3 { left: 80%; top: 44.8em; }

.dl-stage__inner[data-step="3"] .dl-install__q,
.dl-stage__inner[data-step="3"] .dl-install__btns1 { animation: dl-q3 6s var(--e) infinite; }
.dl-stage__inner[data-step="3"] .dl-install__bar { animation: dl-barwrap3 6s var(--e) infinite; }
.dl-stage__inner[data-step="3"] .dl-install__bar i { animation: dl-bar3 6s cubic-bezier(.5, 0, .3, 1) infinite; }
.dl-stage__inner[data-step="3"] .dl-install__done,
.dl-stage__inner[data-step="3"] .dl-install__btns2 { animation: dl-done3 6s var(--e) infinite; }
.dl-stage__inner[data-step="3"] .dl-tap--3 { animation: dl-tap3 6s var(--e) infinite; }
@keyframes dl-q3 { 0%, 26% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes dl-barwrap3 { 0%, 28% { opacity: 0; } 32%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes dl-bar3 { 0%, 32% { transform: scaleX(0); } 62%, 100% { transform: scaleX(1); } }
@keyframes dl-done3 { 0%, 64% { opacity: 0; transform: translateY(.6em); } 70%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dl-tap3 { 0%, 14% { opacity: 0; transform: scale(.4); } 20% { opacity: 1; transform: scale(1); } 27% { opacity: 0; transform: scale(1.5); } 76% { opacity: 0; transform: scale(.4); } 82% { opacity: 1; transform: scale(1); } 89%, 100% { opacity: 0; transform: scale(1.5); } }

/* --- d. ScreenAds trouve l'écran --- */
.dl-app-brand { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 1.4em; }
.dl-app-brand em { font-style: normal; color: var(--c-piment); }
.dl-app-title { margin-top: 1.2em; font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 3.6em; line-height: .86; }
.dl-app-title em { font-style: normal; background: var(--c-moutarde); }
.dl-radar { position: relative; width: 14em; height: 14em; margin: 2em auto 0; flex: none; }
.dl-radar i { position: absolute; inset: 0; border-radius: 50%; border: .15em solid var(--c-encre); opacity: 0; }
.dl-radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(242, 182, 48, .7), rgba(242, 182, 48, 0) 24%); }
.dl-radar__core { position: absolute; inset: 38%; border-radius: 50%; background: var(--c-encre); }
.dl-radar__blip { position: absolute; left: 72%; top: 20%; width: .9em; height: .9em; border-radius: 50%; background: var(--c-piment); animation: dl-blink 1.2s ease-in-out infinite; }
.dl-stage__inner[data-step="4"] .dl-radar i { animation: dl-ring 2.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.dl-stage__inner[data-step="4"] .dl-radar i:nth-child(2) { animation-delay: .93s; }
.dl-stage__inner[data-step="4"] .dl-radar i:nth-child(3) { animation-delay: 1.86s; }
.dl-stage__inner[data-step="4"] .dl-radar__sweep { animation: dl-sweep 3.2s linear infinite; }
@keyframes dl-ring { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes dl-sweep { to { transform: rotate(360deg); } }
.dl-found { margin-top: auto; display: flex; align-items: center; gap: 1em; padding: 1.2em 1em; border: .15em solid var(--c-encre); border-radius: .5em; background: #fff; box-shadow: .4em .4em 0 var(--c-encre); opacity: 0; }
.dl-found__dot { flex: none; width: .9em; height: .9em; border-radius: 50%; background: var(--c-piment); }
.dl-found__txt { flex: 1; display: flex; flex-direction: column; gap: .2em; min-width: 0; }
.dl-found__txt b { font-size: 1.1em; }
.dl-found__txt small { font-size: .85em; opacity: .7; }
.dl-found__cta { font-weight: 800; color: var(--c-piment); white-space: nowrap; }
.dl-tap--4 { left: 76%; top: 42.2em; }
.dl-stage__inner[data-step="4"] .dl-found { animation: dl-found4 6s var(--e) infinite; }
.dl-stage__inner[data-step="4"] .dl-tap--4 { animation: dl-tap4 6s var(--e) infinite; }
@keyframes dl-found4 { 0%, 4% { opacity: 0; transform: translateY(1em); } 12%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dl-tap4 { 0%, 14% { opacity: 0; transform: scale(.4); } 19% { opacity: 1; transform: scale(1); } 26%, 100% { opacity: 0; transform: scale(1.5); } }

/* --- télé portrait + télécommande (étape 4) --- */
.dl-tvset { position: absolute; left: 50%; top: 50%; margin-top: -10em; display: flex; align-items: flex-end; gap: 1.4em; opacity: 0; transform: translateX(4em); transition: opacity .6s var(--e), transform 1s var(--e); }
.dl-stage__inner[data-step="4"] .dl-phone { transform: translateX(-10.5em) scale(.92); }
.dl-stage__inner[data-step="4"] .dl-tvset { opacity: 1; transform: translateX(3em); transition-delay: .15s; }
.dl-tv { position: relative; width: 11.25em; height: 20em; border: .55em solid var(--c-encre); border-radius: .4em; background: #0F1C18; box-shadow: 0 0 0 .15em var(--c-creme); display: flex; align-items: center; justify-content: center; padding: .8em; overflow: hidden; }
.dl-tv__dialog { width: 100%; padding: 1em .9em; border-radius: .3em; background: #2E3D37; color: var(--c-creme); display: flex; flex-direction: column; gap: .7em; }
.dl-tv__dialog b { font-size: .95em; line-height: 1.25; }
.dl-tv__key { font-size: .6em; opacity: .65; }
.dl-tv__check { display: flex; align-items: center; gap: .5em; font-size: .75em; }
.dl-tv__check i { position: relative; width: 1.2em; height: 1.2em; border-radius: .2em; border: .12em solid var(--c-creme); }
.dl-tv__check i::after { content: ""; position: absolute; inset: -.12em; border-radius: .2em; background: var(--c-moutarde); transform: scale(0); }
.dl-tv__ok { align-self: flex-end; font-size: .85em; font-weight: 800; padding: .3em .9em; border-radius: .2em; background: rgba(244, 237, 225, .18); position: relative; overflow: hidden; isolation: isolate; }
.dl-tv__ok::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-moutarde); opacity: 0; }
.dl-tv__ready { position: absolute; inset: .8em; display: flex; flex-direction: column; justify-content: flex-end; gap: .6em; padding: 1em; opacity: 0; border-radius: .2em; background: var(--c-encre); }
.dl-tv__plat { width: 100%; flex: 1; border-radius: .3em; background: radial-gradient(circle at 50% 45%, var(--c-piment) 0 20%, var(--c-moutarde) 21% 31%, rgba(0, 0, 0, 0) 32%); }
.dl-tv__line { height: .9em; width: 85%; border-radius: .1em; background: var(--c-moutarde); }
.dl-tv__line--s { width: 50%; height: .6em; background: var(--c-creme); }
.dl-remote { width: 3.8em; height: 12em; border-radius: 1.9em; background: var(--c-encre); box-shadow: 0 0 0 .15em var(--c-creme); display: flex; flex-direction: column; align-items: center; gap: 1em; padding-top: 1.3em; }
.dl-remote__led { width: .5em; height: .5em; border-radius: 50%; background: var(--c-piment); opacity: .4; }
.dl-remote__pad { width: 2.8em; height: 2.8em; border-radius: 50%; border: .12em solid rgba(244, 237, 225, .4); display: grid; place-items: center; }
.dl-remote__pad i { width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--c-moutarde); }
.dl-remote__key { width: 1.5em; height: .3em; border-radius: .2em; background: rgba(244, 237, 225, .3); }

.dl-stage__inner[data-step="4"] .dl-tv__dialog { animation: dl-tvd4 6s var(--e) infinite; }
.dl-stage__inner[data-step="4"] .dl-tv__check i::after { animation: dl-chk4 6s var(--e) infinite; }
.dl-stage__inner[data-step="4"] .dl-tv__ok::before { animation: dl-ok4 6s var(--e) infinite; }
.dl-stage__inner[data-step="4"] .dl-tv__ready { animation: dl-ready4 6s var(--e) infinite; }
.dl-stage__inner[data-step="4"] .dl-remote__pad i { animation: dl-press4 6s var(--e) infinite; }
.dl-stage__inner[data-step="4"] .dl-remote__led { animation: dl-led4 6s linear infinite; }
@keyframes dl-tvd4 { 0%, 24% { opacity: 0; transform: scale(.9); } 30%, 72% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: scale(.96); } }
@keyframes dl-chk4 { 0%, 44% { transform: scale(0); } 48%, 100% { transform: scale(1); } }
@keyframes dl-ok4 { 0%, 50% { opacity: 0; } 54%, 100% { opacity: 1; } }
@keyframes dl-ready4 { 0%, 76% { opacity: 0; transform: translateY(1em); } 84%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dl-press4 { 0%, 40%, 47%, 60%, 67%, 100% { transform: none; } 43%, 63% { transform: scale(.72); } }
@keyframes dl-led4 { 0%, 40%, 47%, 60%, 67%, 100% { opacity: .4; } 43%, 63% { opacity: 1; } }

/* ---------- Les étapes (texte, à la craie) ---------- */
.dl-steps { position: relative; padding-left: 34px; }
.dl-steps::before, .dl-steps::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; }
.dl-steps::before { background: rgba(244, 237, 225, .14); }
.dl-steps::after { background: var(--c-moutarde); transform-origin: top; transform: scaleY(var(--fill, 0)); transition: transform .2s linear; }
.dl-step { position: relative; min-height: 62vh; padding: 48px 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: .35; transition: opacity .6s var(--e); }
.dl-step:first-child { padding-top: 24px; }
.dl-step.is-active { opacity: 1; }
.dl-step__num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-left: -8px; font-family: var(--f-main); font-size: 44px; line-height: 1; color: var(--c-moutarde); }
.dl-step__num > span { transform: rotate(-6deg); }
.dl-step__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dl-step__ring path { fill: none; stroke: var(--c-creme); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--e) .1s; }
.dl-step.is-active .dl-step__ring path { stroke-dashoffset: 0; }
.dl-step__title { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5.6vw, 76px); line-height: .88; color: var(--c-creme); transform: translateX(-10px); transition: transform .8s var(--e); }
.dl-step.is-active .dl-step__title { transform: none; }
.dl-step p { max-width: 30em; font-size: 17px; line-height: 1.55; color: rgba(244, 237, 225, .86); }
.dl-step strong { color: var(--c-creme); }
.dl-step code { background: rgba(244, 237, 225, .12); color: var(--c-creme); }
.dl-step__tip { position: relative; padding: 14px 16px 14px 46px; border-radius: 4px; border: 2px dashed rgba(244, 237, 225, .35); font-size: 15px !important; }
.dl-step__tip::before { content: "!"; position: absolute; left: 16px; top: 8px; font-family: var(--f-main); font-size: 30px; line-height: 1; color: var(--c-moutarde); }
@media (min-width: 900px) {
  .dl-step { min-height: 88vh; padding: 64px 0; }
  .dl-steps { padding-left: 44px; }
}

/* =====================================================================
   3. MISES À JOUR
   ===================================================================== */
.dl-updates { padding: clamp(88px, 12vw, 160px) 0; }
.dl-flow { display: flex; align-items: flex-start; margin-bottom: clamp(48px, 6vw, 80px); max-width: 900px; }
.dl-flow__node { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; text-align: center; }
.dl-flow__icon { width: 66px; height: 66px; border-radius: 6px; display: grid; place-items: center; border: 2px solid var(--c-encre); background: var(--c-moutarde); color: var(--c-encre); box-shadow: 4px 4px 0 var(--c-encre); rotate: -4deg; animation: dl-hop 3.6s var(--e) infinite; }
.dl-flow__icon svg { width: 26px; height: 26px; }
.dl-flow__node:nth-child(3) .dl-flow__icon { animation-delay: 1.2s; background: var(--c-papier); rotate: 2deg; }
.dl-flow__node:nth-child(5) .dl-flow__icon { animation-delay: 2.4s; rotate: 3deg; background: var(--c-piment); color: var(--c-creme); }
@keyframes dl-hop { 0%, 20%, 100% { transform: none; } 8% { transform: translateY(-8px); } }
.dl-flow__name { font-size: 13px; font-weight: 700; line-height: 1.25; }
.dl-flow__link { position: relative; flex: 1; min-width: 24px; height: 34px; margin-top: 14px; }
.dl-flow__link svg { width: 100%; height: 100%; overflow: visible; }
.dl-flow__link path { fill: none; stroke: var(--c-encre); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dl-flow.is-in .dl-flow__line { animation: dl-draw 3.6s var(--e) infinite; }
.dl-flow.is-in .dl-flow__head { animation: dl-drawhead 3.6s var(--e) infinite; }
.dl-flow.is-in .dl-flow__link:nth-child(4) path { animation-delay: 1.2s; }
@keyframes dl-draw { 0% { stroke-dashoffset: 1; } 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes dl-drawhead { 0%, 25% { stroke-dashoffset: 1; } 38%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }

.dl-cards { display: grid; gap: 22px; }
@media (min-width: 640px) { .dl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; } }
@media (min-width: 1100px) { .dl-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dl-ucard {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 24px 22px 26px; border-radius: 6px;
  border: 2px solid var(--c-encre); background: var(--c-papier);
  box-shadow: 6px 6px 0 var(--c-encre);
  transition: opacity .9s var(--e) var(--rd, 0ms), transform 1s var(--e) var(--rd, 0ms), box-shadow .35s var(--e), translate .35s var(--e);
}
.dl-ucard:nth-child(odd) { rotate: -.8deg; }
.dl-ucard:nth-child(even) { rotate: .9deg; }
.dl-ucard:nth-child(3) { background: var(--c-moutarde); }
.dl-ucard__k { font-family: var(--f-main); font-size: 34px; line-height: .9; color: var(--c-piment); }
.dl-ucard:nth-child(3) .dl-ucard__k { color: var(--c-encre); }
.dl-ucard h3 { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: .9; }
.dl-ucard p { font-size: 16px; line-height: 1.5; }
@media (hover: hover) { .dl-ucard:hover { translate: -4px -4px; box-shadow: 10px 10px 0 var(--c-encre); } }

/* =====================================================================
   4. CONFIGURATION REQUISE — ardoise de bistrot
   ===================================================================== */
.dl-req { padding: clamp(48px, 8vw, 120px) 0; }
.dl-req__grid { display: grid; gap: 12px; }
.dl-req__lead { font-size: 18px; max-width: 24em; }
@media (min-width: 1000px) { .dl-req__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; } }
.dl-board {
  position: relative;
  padding: clamp(26px, 5vw, 52px) clamp(18px, 4vw, 48px);
  background-color: var(--c-ardoise); color: var(--c-creme);
  background-image: radial-gradient(rgba(244, 237, 225, .05) 1px, transparent 1px);
  background-size: 6px 6px;
  border: 12px solid #7A5634;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), 10px 10px 0 var(--c-encre);
  rotate: -1deg;
}
.dl-board__title, .dl-board__foot { font-family: var(--f-main); text-align: center; color: var(--c-moutarde); }
.dl-board__title { font-size: clamp(30px, 4vw, 40px); margin-bottom: 14px; }
.dl-board__foot { font-size: 24px; margin-top: 20px; rotate: -2deg; }
.dl-specs { display: flex; flex-direction: column; gap: 4px; }
.dl-spec { position: relative; display: grid; grid-template-columns: auto minmax(16px, 1fr); column-gap: 10px; row-gap: 2px; align-items: baseline; padding: 14px 42px 14px 0; font-family: var(--f-main); }
.dl-spec__k { font-size: clamp(26px, 3.2vw, 34px); line-height: 1; }
.dl-spec__dots { border-bottom: 3px dotted rgba(244, 237, 225, .4); transform: translateY(-6px); }
.dl-spec__v { grid-column: 1 / -1; font-family: var(--f-texte); font-size: 16.5px; font-weight: 600; color: rgba(244, 237, 225, .88); }
.dl-spec__check { position: absolute; right: 0; top: 14px; width: 34px; height: 26px; overflow: visible; }
.dl-spec__check path { fill: none; stroke: var(--c-moutarde); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--e) calc(var(--rd, 0ms) + .45s); }
.dl-spec.is-in .dl-spec__check path, html:not(.js) .dl-spec__check path { stroke-dashoffset: 0; }
@media (min-width: 640px) {
  .dl-spec { grid-template-columns: auto minmax(24px, 1fr) auto; }
  .dl-spec__v { grid-column: auto; text-align: right; max-width: 18em; }
}

/* =====================================================================
   5. FAQ
   ===================================================================== */
.dl-faq { padding: clamp(64px, 10vw, 140px) 0 clamp(88px, 12vw, 160px); }
.dl-faq__grid { display: grid; }
@media (min-width: 1000px) { .dl-faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .dl-faq .dl-head { position: sticky; top: calc(var(--header-h, 68px) + 24px); } }
.dl-faq__list { border-bottom: 2px solid var(--c-encre); }
.dl-faq__list summary { padding: 20px 0; font-size: clamp(18px, 1.7vw, 21px); }
.dl-faq__list .dl-acc__body { padding-bottom: 26px; max-width: 40em; }
.dl-faq__os { display: block; margin-bottom: 6px; font-family: var(--f-main); font-size: 22px; line-height: 1; color: var(--c-piment); }
.dl .dl-cmd { display: inline-block; max-width: 100%; padding: 8px 12px; font-size: 13px; background: var(--c-encre); color: var(--c-creme); }

/* =====================================================================
   RAPPEL FINAL — aplat moutarde
   ===================================================================== */
.dl-outro { padding: clamp(96px, 14vw, 180px) 0; background: var(--c-moutarde); color: var(--c-encre); border-top: 3px solid var(--c-encre); text-align: center; overflow: hidden; }
.dl-outro__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.dl-outro__title { font-size: clamp(64px, 13vw, 180px); }
.dl-outro .dl-hl .wi { background: var(--c-creme); box-shadow: .06em 0 0 var(--c-creme), -.06em 0 0 var(--c-creme); }
.dl-outro__btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 26px;
  border: 2px solid var(--c-encre); border-radius: 6px;
  background: var(--c-encre); color: var(--c-creme);
  box-shadow: 6px 6px 0 var(--c-creme), 6px 6px 0 2px var(--c-encre);
  text-decoration: none; font-weight: 700; font-size: 17px;
  transition: opacity .9s var(--e) var(--rd, 0ms), transform 1s var(--e) var(--rd, 0ms), translate .35s var(--e), box-shadow .35s var(--e);
}
.dl-outro__btn svg { transition: transform .5s var(--e); }
@media (hover: hover) {
  .dl-outro__btn:hover { translate: -3px -3px; box-shadow: 9px 9px 0 var(--c-creme), 9px 9px 0 2px var(--c-encre); }
  .dl-outro__btn:hover svg { transform: translateY(-4px); }
}
.dl-outro__btn:active { translate: 4px 4px; box-shadow: 1px 1px 0 var(--c-creme), 1px 1px 0 2px var(--c-encre); }

/* =====================================================================
   Petits écrans
   ===================================================================== */
@media (max-width: 420px) {
  .dl-btn { gap: 12px; padding: 10px 14px 10px 10px; min-height: 78px; }
  .dl-btn__icon { width: 50px; height: 50px; }
  .dl-card { box-shadow: 6px 6px 0 var(--c-encre); }
  .dl-flow__node { width: 76px; }
  .dl-flow__icon { width: 54px; height: 54px; }
  .dl-flow__link { margin-top: 10px; }
  .dl-meta dd { font-size: 21px; }
}

/* =====================================================================
   Mouvement réduit : images fixes et lisibles pour chaque étape
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .dl [class*="dl-"], .dl [class*="dl-"]::before, .dl [class*="dl-"]::after { animation: none !important; }
  .dl-ticket__scan, .dl-tap { display: none; }
  .dl-ticket { transform: rotate(1.5deg); }
  .dl-swash path, .dl-note path, .dl-step__ring path, .dl-spec__check path, .dl-flow__link path { stroke-dashoffset: 0 !important; }
  .dl-notif { opacity: 1; transform: none; }
  .dl-notif__bar i { transform: scaleX(.7); }
  .dl-dialog { opacity: 0; }
  .dl-settings { opacity: 1; transform: none; }
  .dl-toggle i { transform: translateX(1.6em); }
  .dl-toggle::before { opacity: 1; }
  .dl-install__done, .dl-install__btns2 { opacity: 1; }
  .dl-install__q, .dl-install__btns1, .dl-install__bar { opacity: 0; }
  .dl-found { opacity: 1; }
  .dl-tv__check i::after { transform: scale(1); }
  .dl-tv__ok::before { opacity: 1; }
  .dl-steps::after { transform: scaleY(1); }
  .dl-step { opacity: 1; }
}
