/* Depanoo — accueil, refonte visuelle (27/10/2026).
   Fichier PROPRE à l'accueil (index.html), chargé APRÈS site.css (partagé avec /paiement, /inscription,
   /support, pages légales) : aucune autre page n'est touchée. Toutes les règles visent les classes hx-*
   (nouvelles) ou sont préfixées body[data-page="home"].
   Principes : une idée par section, le détail en divulgation progressive, alternance nuit / clair,
   rouge réservé à l'action principale, propriétés LOGIQUES (RTL), cibles tactiles >= 44 px,
   animations discrètes coupées par prefers-reduced-motion. Servi par le matcher @landing (Caddyfile). */

body[data-page="home"]{
  --hx-night:#03101a;--hx-night2:#071723;
  --hx-ink:#f6f8fb;--hx-mute:#9fb0c1;--hx-mute2:#c3cfda;
  --hx-hair:rgba(255,255,255,.08);--hx-hair2:rgba(255,255,255,.14);
  --hx-red:#ff1232;
  --hx-paper:#f4f6f9;--hx-paper-ink:#0b1620;--hx-paper-mute:#4a5a69;--hx-paper-hair:rgba(11,22,32,.12);
  --hx-sec:clamp(72px,10vw,144px);
  background:var(--hx-night);
}

/* ---------- En-tête (classes site.css conservées, finitions seulement) ---------- */
body[data-page="home"] .home2-nav{background:rgba(3,16,26,.82);border-bottom-color:var(--hx-hair)}
body[data-page="home"] .home2-nav .nav-actions .btn{border-radius:999px}
body[data-page="home"] .home2-nav .home2-nav-login{border-color:var(--hx-hair2);background:transparent}
body[data-page="home"] .nav-links a{font-weight:600;color:#d8e1e9}
body[data-page="home"] .nav-links a:hover{color:#fff}

/* ---------- Briques communes ---------- */
.hx-section{position:relative;padding-block:var(--hx-sec)}
.hx-dark{background:var(--hx-night)}
.hx-band{background:var(--hx-night2);border-block:1px solid var(--hx-hair)}
.hx-light{background:var(--hx-paper);color:var(--hx-paper-ink)}
.hx-head{margin-bottom:clamp(40px,6vw,80px)}
.hx-eyebrow{margin:0 0 16px;color:var(--hx-mute);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.hx-light .hx-eyebrow{color:var(--hx-paper-mute)}
.hx-head h2{margin:0;font-size:clamp(32px,4vw,52px);font-weight:700;line-height:1.08;letter-spacing:-.03em;text-wrap:balance}
.hx-head__lead{text-wrap:pretty;margin:20px 0 0;max-width:560px;color:var(--hx-mute2);font-size:clamp(17px,1.35vw,19px);line-height:1.6}
.hx-light .hx-head__lead{color:var(--hx-paper-mute)}
.hx-head--center{max-width:780px;margin-inline:auto;text-align:center}
.hx-head--center .hx-head__lead{margin-inline:auto}
.hx-head--split{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px 64px;align-items:end}
.hx-head--split .hx-head__lead{margin:0}
.hx-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,7vw,112px);align-items:start}
.hx-split>.hx-head{margin-bottom:0;position:sticky;top:112px}

/* Boutons : forme pilule sur l'accueil ; le rouge plein (btn-red de site.css, contraste AA) reste
   réservé à l'action principale du premier écran. */
body[data-page="home"] main .btn{border-radius:999px}
.hx-btn-outline{background:transparent;border-color:rgba(255,255,255,.32);color:#fff}
.hx-btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.06)}
body[data-page="home"] main .btn-red{box-shadow:0 10px 30px rgba(200,11,30,.28)}

/* Focus visible sur fond CLAIR (le contour blanc global de site.css y serait invisible). */
.hx-light :is(a,button,summary):focus-visible{outline-color:var(--hx-paper-ink)}

/* Divulgation progressive : <details> sobre, chevron. */
.hx-more{margin-top:18px;border-top:1px solid var(--hx-paper-hair)}
.hx-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;cursor:pointer;list-style:none;font-size:15px;font-weight:600}
.hx-more summary::-webkit-details-marker{display:none}
.hx-more summary:after{content:"";flex:none;width:8px;height:8px;margin-inline-end:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease;opacity:.7}
.hx-more[open] summary:after{transform:translateY(2px) rotate(-135deg)}
.hx-more>:last-child{margin-bottom:10px}
.hx-checks{display:grid;gap:10px;margin:2px 0 0;padding:0;list-style:none}
.hx-checks li{position:relative;padding-inline-start:26px;font-size:15px;line-height:1.5}
.hx-checks li:before{content:"";position:absolute;inset-inline-start:3px;top:.42em;width:10px;height:5px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);opacity:.55}
.hx-light .hx-checks li{color:#24323f}

/* ---------- 1. Hero ---------- */
.hx-hero{position:relative;isolation:isolate;display:flex;min-height:min(calc(100svh - 72px),920px);overflow:hidden;background:var(--hx-night)}
.hx-hero__bg{position:absolute;inset:0;z-index:-1;background:url('assets/backgrounds/hero-tunis.webp') 72% center/cover no-repeat}
.hx-hero__bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,16,26,.97) 0%,rgba(3,16,26,.88) 36%,rgba(3,16,26,.38) 64%,rgba(3,16,26,.18) 100%),linear-gradient(180deg,rgba(3,16,26,0) 50%,rgba(3,16,26,.92) 88%,var(--hx-night) 100%)}
html[dir="rtl"] .hx-hero__bg:after{background:linear-gradient(270deg,rgba(3,16,26,.97) 0%,rgba(3,16,26,.88) 36%,rgba(3,16,26,.38) 64%,rgba(3,16,26,.18) 100%),linear-gradient(180deg,rgba(3,16,26,0) 50%,rgba(3,16,26,.92) 88%,var(--hx-night) 100%)}
.hx-hero__inner{display:grid;grid-template-rows:1fr auto;gap:40px;padding-block:clamp(48px,7vh,88px) 40px}
.hx-hero__copy{align-self:center;max-width:760px}
.hx-kicker{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;color:var(--hx-mute2);font-size:14px;font-weight:500}
.hx-kicker i{flex:none;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.12)}
.hx-hero h1{margin:0;color:#fff;font-size:clamp(40px,4.6vw,66px);font-weight:800;line-height:1.02;letter-spacing:-.035em;text-wrap:balance}
.hx-hero h1 em{font-style:normal;color:#a9bccd}
.hx-hero__lead{text-wrap:pretty;max-width:560px;margin:22px 0 0;color:#cdd8e2;font-size:clamp(17px,1.4vw,19px);line-height:1.6}
.hx-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.hx-actions .btn{min-height:54px;padding:0 28px;font-size:16px}
.hx-emergency.lp-emergency{max-width:620px;margin:30px 0 0;padding:12px 16px;border:1px solid var(--hx-hair2);border-inline-start:3px solid var(--hx-red);border-radius:12px;background:rgba(3,16,26,.66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#dbe4ec;font-size:14px;line-height:1.55}

/* Les deux applications = aiguillage « deux publics » (client / pro). */
.hx-apps{align-self:end}
.hx-apps__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:14px}
.hx-apps__title{margin:0;color:#fff;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.hx-apps__soon{margin:0;color:var(--hx-mute2);font-size:14px}
.hx-apps__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hx-app{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"id qr" "actions qr";gap:12px 20px;align-items:center;padding:18px 20px;border:1px solid var(--hx-hair2);border-radius:20px;background:rgba(7,23,35,.74);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:border-color .2s ease}
.hx-app:hover{border-color:rgba(255,255,255,.28)}
.hx-app__id{grid-area:id;display:flex;align-items:center;gap:14px;min-width:0}
.hx-app__id img{flex:none;width:44px;height:44px;border-radius:12px}
.hx-app__id h3{margin:0;color:#fff;font-size:17px;font-weight:700}
.hx-app__id p{margin:2px 0 0;color:var(--hx-mute2);font-size:14px;line-height:1.4}
.hx-app__actions{grid-area:actions;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px}
.hx-app__link{display:inline-flex;align-items:center;min-height:44px;color:#fff;font-size:15px;font-weight:600;text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:5px}
.hx-app__link:hover{text-decoration-color:#fff}
.hx-app__stores{display:flex;flex-wrap:wrap;gap:6px}
.hx-store{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid var(--hx-hair2);border-radius:999px;color:var(--hx-mute);font-size:12px}
.hx-store svg{flex:none;width:12px;height:12px;fill:currentColor}
.hx-store b{font-weight:600}
.hx-store.home2-store--soon{background:transparent;border-color:var(--hx-hair2);color:var(--hx-mute);box-shadow:none}
/* Badge publié (STORE_LINKS, site.js) : devient un lien -> cible tactile pleine. */
a.hx-store{min-height:44px;padding:0 14px;border-color:rgba(255,255,255,.4);color:#fff;font-size:13px}
a.hx-store:hover{border-color:#fff}
.hx-app__qr{grid-area:qr;display:grid;justify-items:center;gap:6px;margin:0}
.hx-app__qr img{width:84px;height:84px;padding:5px;border-radius:10px;background:#fff}
.hx-app__qr figcaption{max-width:96px;color:var(--hx-mute);font-size:11.5px;line-height:1.3;text-align:center}

/* ---------- 3. Services (section claire) ---------- */
.hx-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,40px);align-items:start}
.hx-svc{display:flex;flex-direction:column;min-width:0}
.hx-svc__media{aspect-ratio:4/3;margin-bottom:24px;overflow:hidden;border-radius:20px;background:#0b1620}
.hx-svc__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hx-svc:hover .hx-svc__media img{transform:scale(1.03)}
/* taxi.jpg garde son zoom (le « 24/7 » reste hors champ, voir site.css) : le survol ne le réduit pas. */
.hx-svc .hx-svc__media img.home2-img--taxi,.hx-svc:hover .hx-svc__media img.home2-img--taxi{transform:scale(1.2);transform-origin:20% 50%}
.hx-svc h3{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0;font-size:24px;font-weight:700;letter-spacing:-.02em}
.hx-svc__lead{margin:10px 0 0;color:var(--hx-paper-mute);font-size:16.5px;line-height:1.55}
.hx-light .lp-soon{padding:3px 9px;border:1px solid rgba(200,11,30,.3);border-radius:999px;background:#fff0f2;color:#a3001a;font-size:11px;font-weight:700;letter-spacing:.06em;line-height:1.4}
.hx-link{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;color:var(--hx-paper-ink);font-size:15px;font-weight:600;text-decoration:underline;text-decoration-color:rgba(11,22,32,.3);text-underline-offset:5px}
.hx-link:hover{text-decoration-color:var(--hx-paper-ink)}
.hx-link.is-disabled{color:var(--hx-paper-mute);text-decoration:none;cursor:default}

/* ---------- 4. Comment ça marche (onglets) ---------- */
.hx-tabs__list{display:flex;justify-content:center;gap:4px;width:max-content;max-width:100%;margin:0 auto clamp(40px,5vw,64px);padding:4px;border:1px solid var(--hx-hair2);border-radius:999px;background:rgba(255,255,255,.03)}
.hx-tabs__list button{appearance:none;-webkit-appearance:none;min-height:44px;padding:0 22px;border:0;border-radius:999px;background:transparent;color:var(--hx-mute2);font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease}
.hx-tabs__list button:hover{color:#fff}
.hx-tabs__list button[aria-selected="true"]{background:#fff;color:var(--hx-night)}
.hx-panel{display:flex;flex-direction:column}
.hx-panel:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:8px;border-radius:12px}
.hx-panel+.hx-panel{margin-top:64px}
.hx-tabs.is-tabbed .hx-panel+.hx-panel{margin-top:0}
.hx-panel__title{margin:0 0 24px;font-size:22px;font-weight:700}
/* Onglets actifs : le titre du panneau double le libellé de l'onglet -> réservé aux lecteurs d'écran. */
.hx-tabs.is-tabbed .hx-panel__title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hx-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none;border-top:1px solid var(--hx-hair2)}
.hx-steps li{padding:28px 28px 4px 0;padding-inline:0 28px}
.hx-steps li+li{padding-inline-start:28px;border-inline-start:1px solid var(--hx-hair)}
.hx-steps__n{display:block;margin-bottom:36px;color:#6f8597;font-size:44px;font-weight:400;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hx-steps h4{margin:0 0 8px;color:#fff;font-size:19px;font-weight:650}
.hx-steps p{margin:0;color:var(--hx-mute2);font-size:15.5px;line-height:1.6}
.hx-panel__cta{align-self:center;margin-top:48px;min-height:50px;padding:0 26px}

/* ---------- 5. Tarifs ---------- */
.hx-note{max-width:440px;margin:28px 0 0;padding-top:20px;border-top:1px solid var(--hx-hair);color:var(--hx-mute);font-size:14.5px;line-height:1.6}
.hx-rates{border-top:1px solid var(--hx-hair2)}
.hx-rate{display:grid;grid-template-columns:200px minmax(0,1fr);gap:10px 32px;padding:32px 0;border-bottom:1px solid var(--hx-hair2)}
.hx-rate h3{margin:0;font-size:20px;font-weight:650}
.hx-rate p{margin:0;color:var(--hx-mute2);font-size:16.5px;line-height:1.65}

/* ---------- 6. Partenaires ---------- */
.hx-partners{padding-bottom:clamp(56px,7vw,96px);border-top:1px solid rgba(255,18,50,.32);background:radial-gradient(60% 46% at 50% 0,rgba(255,18,50,.13),transparent 72%),var(--hx-night)}
.hx-perks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 clamp(40px,5vw,64px);padding:0;list-style:none;border-block:1px solid var(--hx-hair2)}
.hx-perks li{padding:26px 22px;color:#fff;font-size:16.5px;font-weight:600;line-height:1.4;text-align:center}
.hx-perks li+li{border-inline-start:1px solid var(--hx-hair)}
.hx-trades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.hx-trade{display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid var(--hx-hair2);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015));scroll-margin-top:96px;transition:border-color .2s ease}
.hx-trade:hover{border-color:rgba(255,255,255,.24)}
.hx-trade__head{display:flex;align-items:center;gap:14px}
.hx-trade__icon{display:grid;flex:none;place-items:center;width:44px;height:44px;border:1px solid var(--hx-hair2);border-radius:12px;background:rgba(255,255,255,.05);color:#fff}
.hx-trade__icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hx-trade h3{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;font-size:20px;font-weight:700}
.hx-trade .lp-soon{padding:3px 8px;border-color:rgba(255,255,255,.22);color:#d3dde6;font-size:10.5px;font-weight:700;letter-spacing:.04em}
.hx-trade__lead{margin:16px 0 0;color:var(--hx-mute2);font-size:15.5px;line-height:1.55}
.hx-more--dark{margin:20px 0 24px;border-top-color:var(--hx-hair2)}
.hx-more--dark h4{margin:14px 0 8px;color:var(--hx-mute);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.hx-more--dark p{margin:0;color:#d3dde6;font-size:15px;line-height:1.55}
.hx-more--dark .hx-checks li{color:#d3dde6}
.hx-trade__cta{width:100%;min-height:48px;padding-block:10px;line-height:1.25;text-align:center;white-space:normal}
.hx-trade__cta.is-disabled{border-color:var(--hx-hair2);background:transparent;color:var(--hx-mute);opacity:1;cursor:not-allowed}
.hx-trade__cta.is-disabled:hover{transform:none}
.hx-sim.lp-tune{margin-top:28px;padding:14px 20px;border:1px solid var(--hx-hair2);border-radius:18px;background:rgba(255,255,255,.03)}
.hx-sim.lp-tune summary{min-height:44px}
.hx-prolinks.lp-links{justify-content:center;margin-top:36px;font-size:14.5px}
.hx-prolinks.lp-links a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.hx-ins.lp-ins{margin-top:6px;font-size:14.5px}

/* ---------- 7. Règlement des frais ---------- */
.hx-pay-section{padding-top:0;background:var(--hx-night)}
.hx-pay{display:flex;align-items:center;justify-content:space-between;gap:28px 64px;padding:clamp(28px,4vw,44px);border:1px solid var(--hx-hair2);border-radius:24px;background:var(--hx-night2)}
.hx-pay .hx-eyebrow{margin-bottom:10px}
.hx-pay h2{margin:0;font-size:clamp(24px,2.4vw,32px);font-weight:700;line-height:1.15;letter-spacing:-.02em}
.hx-pay p{max-width:640px;margin:10px 0 0;color:var(--hx-mute2);font-size:15.5px;line-height:1.6}
.hx-pay .btn{flex:none}

/* ---------- 8. FAQ (section claire) ---------- */
.hx-split--faq{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}
.hx-faq__group+.hx-faq__group{margin-top:48px}
.hx-faq h3{margin:0 0 6px;color:var(--hx-paper-mute);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.hx-faq details{border-bottom:1px solid var(--hx-paper-hair)}
.hx-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:12px 0;cursor:pointer;list-style:none;font-size:17px;font-weight:600;line-height:1.4}
.hx-faq summary::-webkit-details-marker{display:none}
.hx-faq summary:after{content:"";flex:none;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) center/14px 2px no-repeat,linear-gradient(currentColor,currentColor) center/2px 14px no-repeat;opacity:.6;transition:transform .2s ease}
.hx-faq details[open] summary:after{transform:rotate(45deg)}
.hx-faq details p{max-width:680px;margin:0 0 22px;color:var(--hx-paper-mute);font-size:16px;line-height:1.65}
.hx-faq details a{color:var(--hx-paper-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* ---------- Bureau : alignement des cartes ----------
   Services : sous-grille (photo / titre / phrase / « En savoir plus » alignés d'une carte à l'autre,
   l'ouverture d'un <details> n'allonge que le bas de la rangée). Métiers : une carte qui s'ouvre ne
   déforme pas les autres ; la phrase d'accroche réserve deux lignes pour aligner les boutons. */
@media (min-width:1001px){
  .hx-services{grid-template-rows:repeat(4,auto);row-gap:0}
  .hx-svc{display:grid;grid-row:span 4;grid-template-rows:subgrid;align-content:start}
  .hx-svc>*{align-self:start}
  .hx-trade__lead{min-height:calc(2em * 1.55)}
}

/* ---------- Arabe (Cairo) : pas d'espacement négatif ni de capitales ---------- */
html[lang="ar"] body[data-page="home"] :is(.hx-eyebrow,.hx-apps__title,.hx-faq h3,.hx-more--dark h4,.hx-light .lp-soon,.hx-trade .lp-soon){letter-spacing:0;text-transform:none}
html[lang="ar"] body[data-page="home"] :is(.hx-hero h1,.hx-head h2,.hx-pay h2,.hx-svc h3){letter-spacing:0;line-height:1.3}
html[lang="ar"] body[data-page="home"] .hx-eyebrow{font-size:14px}

/* ---------- Animations discrètes ---------- */
@keyframes hxRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes hxFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:no-preference){
  .hx-hero__copy>*{animation:hxRise .7s cubic-bezier(.2,.7,.2,1) both}
  .hx-hero__copy>:nth-child(2){animation-delay:.05s}
  .hx-hero__copy>:nth-child(3){animation-delay:.1s}
  .hx-hero__copy>:nth-child(4){animation-delay:.15s}
  .hx-hero__copy>:nth-child(n+5){animation-delay:.2s}
  .hx-apps{animation:hxRise .8s .25s cubic-bezier(.2,.7,.2,1) both}
  .hx-more[open]>:not(summary),.hx-faq details[open]>p{animation:hxFade .3s ease both}
  .hx-tabs.is-tabbed .hx-panel:not([hidden]){animation:hxFade .35s ease both}
}
@media (prefers-reduced-motion:reduce){
  .hx-svc:hover .hx-svc__media img:not(.home2-img--taxi){transform:none}
}

/* ---------- Tablette ---------- */
@media (max-width:1000px){
  .hx-head--split,.hx-split,.hx-split--faq{grid-template-columns:1fr}
  .hx-split>.hx-head{position:static;margin-bottom:8px}
  .hx-apps__grid{grid-template-columns:1fr}
  .hx-services{grid-template-columns:1fr;max-width:640px;margin-inline:auto}
  .hx-trades{grid-template-columns:1fr;max-width:640px;margin-inline:auto}
  .hx-steps{grid-template-columns:1fr 1fr;border-top:0}
  .hx-steps li,.hx-steps li+li{padding:24px 0 8px;padding-inline:0 24px;border-inline-start:0;border-top:1px solid var(--hx-hair2)}
  .hx-perks{grid-template-columns:1fr 1fr}
  .hx-perks li:nth-child(3){border-inline-start:0}
  .hx-perks li:nth-child(n+3){border-top:1px solid var(--hx-hair)}
}

/* Tablette (721-1000 px) : services en lignes photo | texte plutôt qu'en grandes photos empilées. */
@media (min-width:721px) and (max-width:1000px){
  .hx-services{max-width:none;gap:40px}
  .hx-svc{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto auto 1fr;column-gap:32px;align-items:start}
  .hx-svc__media{grid-row:1 / span 3;margin-bottom:0}
  .hx-svc h3{margin-top:4px}
}

/* ---------- Téléphone (référence 390 px, gouttière 16 px de site.css) ---------- */
@media (max-width:720px){
  .hx-hero{min-height:0}
  .hx-hero__bg{bottom:auto;height:620px;background-position:70% top}
  .hx-hero__bg:after,html[dir="rtl"] .hx-hero__bg:after{background:linear-gradient(180deg,rgba(3,16,26,.55) 0%,rgba(3,16,26,.82) 38%,rgba(3,16,26,.96) 72%,var(--hx-night) 100%)}
  .hx-hero__inner{gap:40px;padding-block:36px 48px}
  .hx-kicker{margin-bottom:18px;font-size:13.5px}
  .hx-hero__lead{margin-top:18px}
  .hx-actions{margin-top:28px}
  .hx-actions .btn{flex:1 1 100%;min-height:52px}
  .hx-emergency.lp-emergency{margin-top:22px;font-size:13.5px}
  .hx-app{grid-template-columns:1fr;grid-template-areas:"id" "actions";padding:16px}
  .hx-app__qr{display:none}
  .hx-head--split{gap:16px}
  .hx-svc__media{aspect-ratio:16/10;margin-bottom:18px;border-radius:16px}
  .hx-svc h3{font-size:22px}
  .hx-services{gap:48px}
  .hx-tabs__list{display:grid;grid-template-columns:1fr 1fr;width:100%;border-radius:16px}
  .hx-tabs__list button{min-height:52px;padding:6px 10px;border-radius:12px;font-size:14px;line-height:1.25}
  .hx-steps{grid-template-columns:1fr}
  .hx-steps li,.hx-steps li+li{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:8px;padding:20px 0;padding-inline:0}
  .hx-steps__n{grid-row:span 2;margin:0;font-size:28px}
  .hx-panel__cta{align-self:stretch}
  .hx-rate{grid-template-columns:1fr;padding:24px 0}
  .hx-perks{grid-template-columns:1fr;border-bottom:0}
  .hx-perks li,.hx-perks li+li{padding:16px 0;padding-inline-start:28px;position:relative;border-inline-start:0;border-top:0;border-bottom:1px solid var(--hx-hair);font-size:16px;text-align:start}
  .hx-perks li:before{content:"";position:absolute;inset-inline-start:3px;top:1.35em;width:10px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);opacity:.6}
  .hx-trade{padding:22px 20px;border-radius:20px}
  .hx-pay{flex-direction:column;align-items:stretch}
  .hx-pay .btn{width:100%}
  .hx-faq summary{min-height:56px;font-size:16px}
}
