/* MAGNET V9 — la façon de faire d'Apple (pages produit « Pro ») :
   fond noir, grands titres serrés, une idée par écran, galerie « Points forts »,
   « Comparer avec », séquence collante, sélecteur façon coloris, chiffres façon fiche technique.
   S'appuie sur /styles.css pour la police, les jetons et le reset. */

[hidden] { display: none !important; }
.a { background: #000; color: var(--ink); }
.a-wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: max(16px, var(--pad)); }
@media (min-width: 1400px) { .a-wrap { max-width: 1180px; } }

/* Barre produit collante, fine et floutée. */
.a-nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .86); border-bottom: 1px solid rgba(255, 255, 255, .08); }   /* pas de flou sur toute la largeur : il forçait à redessiner la page entière à chaque image */
.a-nav__in { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.a-logo { font-size: 13px; font-weight: 500; letter-spacing: .32em; margin-right: -.32em; }
.a-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #000; font-size: 13px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background-color .2s, transform .2s; }
.a-pill:hover { background: #fff; }
.a-pill:active { transform: scale(.98); }
.a-pill--big { min-height: 48px; padding: 0 26px; font-size: 16px; }

/* Apparition douce au défilement (seulement quand le script tourne). */
.a-js .a-rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.a-js .a-rv.is-in { opacity: 1; transform: none; }

/* Typographie. */
.a-h2 { font-size: clamp(40px, 6.2vw, 80px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.a-eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--ink-2); margin-bottom: 14px; letter-spacing: -.01em; }
.a-prose { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.42; color: var(--ink-2); max-width: 42ch; margin-top: clamp(28px, 4vw, 48px); font-weight: 500; letter-spacing: -.01em; }
.a-prose strong { color: var(--ink); font-weight: 600; }

.a-section { padding-block: clamp(88px, 13vw, 170px); }
.a-section--tint { background: #0b0b0c; }
.a-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* Haut de page. */
.a-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 52px); min-height: calc(100svh - 52px); padding-top: clamp(28px, 5vw, 64px); text-align: center; overflow: hidden; }
.a-hero__name { font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; letter-spacing: .3em; margin-right: -.3em; color: var(--ink-2); }
.a-hero__title { margin-top: 12px; font-size: clamp(52px, 8.6vw, 116px); font-weight: 600; line-height: .98; letter-spacing: -.055em;
  background: linear-gradient(180deg, #fff 30%, #9a9a98); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-hero__sub { font-size: clamp(19px, 2vw, 26px); font-weight: 500; line-height: 1.35; color: var(--ink-2); max-width: 36ch; margin: 22px auto 0; letter-spacing: -.015em; }
.a-hero__cta { margin-top: 30px; }
.a-hero > .a-hero__art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; pointer-events: none; }
.a-hero .a-wrap { position: relative; z-index: 1; }
.a-hero__sub, .a-hero__name, .a-hero__note { text-shadow: 0 0 24px #000, 0 0 50px rgba(0, 0, 0, .9); }
.a-hero__title { -webkit-text-stroke: .01em rgba(0, 0, 0, .001); filter: drop-shadow(0 0 26px rgba(0, 0, 0, .95)) drop-shadow(0 0 60px rgba(0, 0, 0, .8)); }

/* Illustrations (animées sur ordinateur par anim.js, fixes sur mobile). */
.illu { position: relative; margin: 0; }
.illu__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.illu__anim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.illu.is-animated .illu__img { visibility: hidden; }

/* Preuve d'expérience. */
.a-trust { padding-block: clamp(40px, 6vw, 72px); border-block: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.a-trust__title { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.a-trust__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(28px, 5vw, 64px); margin-top: 22px; list-style: none; padding: 0; }
.a-trust__logos li { font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.a-trust__logos img { height: 28px; width: auto; }

/* Galerie « Points forts ». */
.a-gallery__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 0;
  --gut: max(max(16px, var(--pad)), calc((100vw - 1080px) / 2 + max(16px, var(--pad))));
  padding: 0 var(--gut); scroll-padding-inline: var(--gut); }
@media (min-width: 1400px) { .a-gallery__track { --gut: calc((100vw - 1180px) / 2 + var(--pad)); } }
.a-gallery__track::-webkit-scrollbar { display: none; }
.a-tile { flex: 0 0 min(86vw, 880px); scroll-snap-align: start; border-radius: 28px; background: #111112; overflow: hidden; display: flex; flex-direction: column; }
.a-tile__art { aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 60%, #19191b, #111112 70%); }
.a-tile__text { padding: clamp(22px, 3vw, 36px) clamp(22px, 3.4vw, 44px) clamp(28px, 3.6vw, 44px); font-size: clamp(18px, 1.75vw, 22px); line-height: 1.38; font-weight: 500; color: var(--ink-2); max-width: 38ch; letter-spacing: -.01em; }
.a-tile__text strong { color: var(--ink); font-weight: 600; }
.a-gallery__ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.a-dots { display: flex; gap: 6px; padding: 12px 16px; border-radius: 999px; background: #1a1a1c; }
.a-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .35s var(--ease), background-color .35s; }
.a-dots button[aria-current="true"] { width: 44px; background: var(--ink); }
.a-arrows { display: flex; gap: 12px; }
.a-round { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #1a1a1c; color: var(--ink); font-size: 24px; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, opacity .2s; }
.a-round:hover:not(:disabled) { background: #2a2a2d; }
.a-round:disabled { opacity: .35; cursor: default; }

/* Comparer avec. */
.a-compare { margin-top: clamp(56px, 8vw, 96px); border-radius: 28px; background: #111112; padding: clamp(22px, 3.4vw, 44px); }
.a-compare__head { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.a-compare__us { grid-column: 2; font-size: 17px; font-weight: 600; letter-spacing: .24em; }
.a-compare__pick { grid-column: 3; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.a-compare__pick select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 17px; font-weight: 600; padding: 0 22px 0 0; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 4px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.a-compare__pick select option { color: #000; }
.a-compare__rows { margin: 0; }
.a-compare__rows > div { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); align-items: baseline; }
.a-compare__rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.a-compare__rows dt { font-size: 14px; color: var(--ink-2); }
.a-compare__rows dd { margin: 0; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: -.01em; color: var(--ink-3); transition: opacity .3s; }
.a-compare__rows dd b { color: var(--ink); font-weight: 600; }
.a-compare__rows dd.is-swapping { opacity: 0; }

/* Séquence collante : les vagues deviennent un flux régulier. --p va de 0 à 1 (v9.js). */
.a-swap { height: 180vh; position: relative; --p: 0; }
.a-swap__sticky { position: sticky; top: 52px; height: calc(100vh - 52px); height: calc(100svh - 52px); display: flex; align-items: center; overflow: hidden; }
.a-swap__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.a-swap__text { display: grid; }
.a-swap__text > * { grid-area: auto; }
.a-swap__text .a-h2 { display: grid; grid-row: 2; }
.a-swap__text .a-h2 > span, .a-swap__p { grid-area: 1 / 1; }
.a-swap__p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.42; color: var(--ink-2); font-weight: 500; max-width: 32ch; margin-top: 20px; grid-row: 3; }
.a-swap__art { display: grid; aspect-ratio: 4 / 3; }
.a-swap__img { grid-area: 1 / 1; }
.a-swap__text .a-swap__a { opacity: clamp(0, (0.6 - var(--p)) * 5, 1); }
.a-swap__text .a-swap__b { opacity: clamp(0, (var(--p) - 0.4) * 5, 1); }
.a-swap__art .a-swap__a { opacity: calc(1 - var(--p)); }
.a-swap__art .a-swap__b { opacity: var(--p); }
.a-swap__art .a-swap__a { transform: scale(calc(1 - var(--p) * .08)); }
.a-swap__art .a-swap__b { transform: scale(calc(.92 + var(--p) * .08)); }

/* Méthode : sélecteur façon coloris. */
.a-method { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.a-method__stage { border-radius: 28px; background: #000; aspect-ratio: 3 / 2; display: grid; overflow: hidden; }
.a-method__art { grid-area: 1 / 1; animation: aFade .6s var(--ease); }
@keyframes aFade { from { opacity: 0; transform: scale(.97); } }
.a-method__tabs { display: grid; gap: 6px; }
.a-method__tabs button { display: flex; align-items: baseline; gap: 14px; text-align: left; padding: 12px 18px; border-radius: 14px; border: 0; background: transparent; color: var(--ink-3); font: inherit; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; cursor: pointer; transition: color .25s, background-color .25s; }
.a-method__tabs button span { font-size: 13px; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.a-method__tabs button:hover { color: var(--ink-2); }
.a-method__tabs button[aria-selected="true"] { color: var(--ink); background: #161618; }
.a-method__text { margin-top: 22px; padding-inline: 18px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--ink-2); font-weight: 500; animation: aFade .5s var(--ease); }

/* Chiffres façon fiche technique (cartes rendues par proof.js). */
.a-specs__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px clamp(24px, 4vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
.a-specs .case { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; }
.a-specs .case__value { font-size: clamp(64px, 9vw, 120px); font-weight: 600; line-height: 1; letter-spacing: -.05em; background: linear-gradient(180deg, #fff 30%, #8a8a88); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-specs .case__label { margin-top: 10px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.a-specs .case__who { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* La phrase qui s'allume mot après mot. */
.a-motto { padding-block: clamp(120px, 20vw, 260px); }
.a-motto__text { font-size: clamp(38px, 6vw, 84px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; max-width: 22ch; }
.a-motto__text .w { color: rgba(242, 242, 239, .18); transition: color .35s; }
.a-motto__text .w.is-lit { color: var(--ink); }

/* Pour qui. */
.a-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.a-card { border-radius: 28px; background: #111112; padding: clamp(26px, 3.4vw, 44px); }
.a-card h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.a-card ul { margin-top: 20px; padding: 0; list-style: none; display: grid; gap: 14px; }
.a-card li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.a-card li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) scale(.8); transform-origin: 30% 60%; }
.a-card--off li::before { width: 14px; height: 2px; border: 0; background: var(--ink-3); transform: none; top: .7em; }

/* Questions. */
.a-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.a-faq__list details { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.a-faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; letter-spacing: -.015em; }
.a-faq__list summary::-webkit-details-marker { display: none; }
.a-faq__list summary::after { content: '+'; font-weight: 400; font-size: 26px; line-height: .9; color: var(--ink-2); transition: transform .3s var(--ease); }
.a-faq__list details[open] summary::after { transform: rotate(45deg); }
.a-faq__list p { padding-bottom: 22px; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 58ch; }

/* Dernière action. */
.a-final { position: relative; padding-block: clamp(120px, 18vw, 220px); text-align: center; overflow: hidden; }
.a-final__art { position: absolute; left: 50%; top: 50%; width: min(1200px, 140vw); aspect-ratio: 4 / 3; transform: translate(-50%, -50%); opacity: .55; pointer-events: none; }
.a-final__in { position: relative; }
.a-final__kicker { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; color: var(--ink-2); }
.a-final .a-h2 { max-width: 16ch; margin: 16px auto 0; }
.a-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) auto clamp(32px, 5vw, 48px); max-width: 900px; text-align: left; }
.a-steps li { border-radius: 20px; background: rgba(17, 17, 18, .82); padding: 20px 22px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.a-steps span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }

.a-footer { border-top: 1px solid rgba(255, 255, 255, .08); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--ink-3); }
.a-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.a-footer__in nav { display: flex; gap: 22px; }   /* seulement le petit pied : sinon la grille du grand pied sautait */
.a-footer a:hover { color: var(--ink); }


/* En-tête : télécharger l'application + obtenir plus de clients. */
.a-nav__actions { display: flex; align-items: center; gap: 8px; }
.a-pill--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); gap: 7px; }
.a-pill--ghost:hover { background: rgba(255, 255, 255, .08); }
.a-pill__icon { width: 10px; height: 11px; position: relative; }
.a-pill__icon::before { content: ''; position: absolute; left: 50%; top: 0; width: 1.5px; height: 8px; margin-left: -.75px; background: currentColor; }
.a-pill__icon::after { content: ''; position: absolute; left: 50%; top: 3px; width: 5px; height: 5px; margin-left: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.a-short { display: none; }
@media (max-width: 620px) { .a-long { display: none; } .a-short { display: inline; } .a-nav__actions { gap: 6px; } .a-nav .a-pill { padding: 0 11px; } .a-nav__toggle { margin-left: 10px; } }
@media (max-width: 420px) { .a-pill--ghost .a-short { display: none; } .a-pill--ghost { padding: 0 10px; } }
@media (max-width: 350px) { .a-nav .a-pill__icon { display: none; } }

/* Un service pensé comme un produit : service + application. */
.a-dim { color: var(--ink-3); }
.a-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 6vw, 72px); }
.a-duo__card { border-radius: 28px; background: #111112; padding: clamp(26px, 3.4vw, 44px) clamp(26px, 3.4vw, 44px) 0; display: flex; flex-direction: column; overflow: hidden; }
.a-duo__tag { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.a-duo__card h3 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.a-duo__card > p:not(.a-duo__tag) { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--ink-2); max-width: 38ch; }
.a-duo__art { margin-top: auto; padding-top: 24px; aspect-ratio: 3 / 2; }
.a-phone { margin: 28px auto 0; width: min(250px, 78%); flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.a-phone__screen { border-radius: 34px 34px 0 0; border: 6px solid #2a2a2d; border-bottom: 0; background: #000; padding: 26px 18px 22px; min-height: 250px; }
.a-phone__k { font-size: 11px; color: var(--ink-2); }
.a-phone__h { margin-top: 4px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.a-phone__row { margin-top: 12px; font-size: 11px; color: var(--ink-2); }
.a-phone__row b { display: block; height: 6px; margin-top: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) calc(var(--w) * 100%), rgba(255, 255, 255, .1) 0); }
.a-phone ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.a-phone li { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; padding: 9px 10px; border-radius: 10px; background: #161618; }
.a-phone li em { font-style: normal; color: var(--ink-3); }
.a-phone__note { margin-top: 10px; text-align: center; font-size: 11px; color: var(--ink-3); }
.a-duo__card { position: relative; }
.a-traits { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px clamp(24px, 4vw, 56px); }
.a-traits h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.a-traits p { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }

/* Ce qui est inclus. */
.a-box { list-style: none; padding: 0; margin: clamp(36px, 5vw, 60px) 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.a-box li { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.a-box span { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .a-duo__grid, .a-traits { grid-template-columns: 1fr; }
}


/* ---------- Récit façon page iPhone 18 Pro ---------- */
.a-hero__note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.a-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; font-size: 17px; font-weight: 500; color: #2997ff; }
.a-section--alt .a-link { color: #0066cc; }
.a-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Passer à MAGNET. */
.a-switch { padding-top: 0; }
.a-switch__card { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; border-radius: 28px; background: #111112; padding: clamp(28px, 4vw, 56px); }
.a-switch__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }
.a-switch__text { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.a-switch__art { aspect-ratio: 4 / 3; }

/* Vue produit : une scène, une légende, des pastilles. */
.a-viewer { margin-top: clamp(40px, 6vw, 72px); }
.a-viewer__stage { border-radius: 28px; background: #000; min-height: clamp(420px, 52vw, 620px); display: grid; overflow: hidden; }
.a-viewer__panel { grid-area: 1 / 1; display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 44px); animation: aFade .6s var(--ease); }
.a-viewer__cap { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.42; color: var(--ink-2); font-weight: 500; max-width: 40ch; letter-spacing: -.01em; }
.a-viewer__cap strong { color: var(--ink); font-weight: 600; }
.a-viewer__art { flex: 1; min-height: 260px; margin-top: 16px; }
.a-viewer__panel .a-phone { margin-top: 24px; }
.a-viewer__panel .a-phone__screen { border-radius: 34px; border-bottom: 6px solid #2a2a2d; }
.a-viewer__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; padding: 8px; border-radius: 999px; background: #1a1a1c; width: fit-content; max-width: 100%; margin-inline: auto; }
.a-viewer__pills button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s; }
.a-viewer__pills button:hover { color: var(--ink); }
.a-viewer__pills button[aria-selected="true"] { background: var(--ink); color: #000; }

/* Histoire de l'application. */
.a-story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.a-story__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.a-story__list h3 { font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; letter-spacing: -.02em; }
.a-story__list p { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.a-story__side { text-align: center; }
.a-story__note { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.a-phone--lock { width: min(250px, 80%); }
.a-phone--lock .a-phone__screen { display: grid; justify-items: center; text-align: center; gap: 12px; min-height: 300px; border-radius: 34px; border-bottom: 6px solid #2a2a2d; align-content: center; }
.a-phone__lock { width: 30px; height: 24px; border: 2px solid var(--ink); border-radius: 6px; position: relative; margin-top: 16px; }
.a-phone__lock::before { content: ''; position: absolute; left: 50%; top: -15px; width: 16px; height: 15px; margin-left: -8px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.a-phone--lock .a-phone__h { font-size: 15px; }
.a-phone__btn { margin-top: 6px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #000; font-size: 12px; font-weight: 600; }

/* Pourquoi choisir MAGNET ? */
.a-why { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.a-why li { border-radius: 24px; background: #111112; padding: clamp(24px, 2.8vw, 34px); min-height: 200px; display: flex; flex-direction: column; }
.a-why__n { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.a-why h3 { margin-top: auto; padding-top: 28px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.a-why p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

/* Sections claires du bas de page, comme chez Apple. */
.a-section--alt { --ink: #1d1d1f; --ink-2: rgba(29, 29, 31, .7); --ink-3: rgba(29, 29, 31, .45); background: #f5f5f7; color: var(--ink); }
.a-section--alt + .a-section--alt { padding-top: 0; }
.a-section--alt .a-card { background: #fff; }
.a-section--alt .a-pill { background: #1d1d1f; color: #fff; }
.a-section--alt .a-pill:hover { background: #000; }
.a-section--alt .a-faq__list details { border-color: rgba(0, 0, 0, .12); }
.a-section--alt .a-motto__text .w { color: rgba(29, 29, 31, .55); }   /* 3,7 de contraste : lisible même pas encore éclairé */
.a-section--alt .a-motto__text .w.is-lit { color: #1d1d1f; }
.a-section--alt .a-steps li { background: #fff; }

/* Tant de raisons de commencer. */
.a-reasons { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.a-reasons li { border-radius: 22px; background: #fff; padding: 26px 24px 30px; }
.a-reasons h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.a-reasons p { margin-top: 10px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.a-reasons__cta { margin-top: clamp(40px, 6vw, 64px); display: grid; justify-items: center; gap: 28px; }
.a-reasons__cta .a-steps { margin: 0; width: 100%; }

/* Nos valeurs. */
.a-values .a-motto__text { margin-top: clamp(36px, 5vw, 56px); }
.a-values__list { list-style: none; padding: 0; margin: clamp(48px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px clamp(24px, 4vw, 56px); }
.a-values__list h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.a-values__list p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

.a-specs .a-trust { margin-top: clamp(56px, 8vw, 96px); padding-block: 32px 0; border-bottom: 0; }

@media (max-width: 860px) {
  .a-switch__card, .a-story, .a-story__list { grid-template-columns: 1fr; }
  .a-switch__art { max-width: 420px; }
  .a-why { grid-template-columns: 1fr 1fr; }
  .a-reasons { grid-template-columns: 1fr 1fr; }
  .a-values__list { grid-template-columns: 1fr; }
  .a-viewer__pills { border-radius: 22px; }
  .a-viewer__pills button { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 520px) {
  .a-why, .a-reasons { grid-template-columns: 1fr; }
  .a-why li { min-height: 0; }
}

.a-faq .a-h2 { font-size: clamp(40px, 4.6vw, 64px); }

/* Tablette et téléphone. */
@media (max-width: 860px) {
  .a-swap { height: auto; }
  .a-swap__sticky { position: static; height: auto; padding-block: clamp(72px, 14vw, 120px); }
  .a-swap__in, .a-method, .a-fit, .a-faq { grid-template-columns: 1fr; }
  .a-swap__text .a-h2 { display: block; }
  .a-swap__text .a-h2 > span, .a-swap__p { opacity: 1 !important; }
  .a-swap__text .a-h2 .a-swap__a { color: var(--ink-3); }
  .a-swap__p { grid-row: auto; margin-top: 14px; }
  .a-swap__art { grid-template-columns: 1fr; aspect-ratio: auto; gap: 12px; }
  .a-swap__img { grid-area: auto; opacity: 1 !important; transform: none !important; aspect-ratio: 4 / 3; border-radius: 18px; background: #111112; }
  .a-compare__head, .a-compare__rows > div { grid-template-columns: 1fr 1fr; }
  .a-compare__head { align-items: end; }
  .a-compare__us { grid-column: 1; }
  .a-compare__pick { grid-column: 2; }
  .a-compare__rows dt { grid-column: 1 / -1; }
  .a-method__tabs { grid-template-columns: repeat(4, auto); overflow-x: auto; }
  .a-method__tabs button { flex-direction: column; gap: 2px; padding: 10px 12px; font-size: 18px; }
  .a-method__text { padding-inline: 4px; }
  .a-steps { grid-template-columns: 1fr; }
  .a-tile { border-radius: 22px; }
  .a-hero__art { max-height: none; }
}
@media (max-width: 480px) {
  .a-nav .a-pill { font-size: 12px; padding: 0 12px; }
  .a-method__tabs { grid-template-columns: 1fr 1fr; }
  .a-method__tabs button { flex-direction: row; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .a-js .a-rv { opacity: 1; transform: none; transition: none; }
  .a-method__art, .a-method__text { animation: none; }
  .a-swap__art .a-swap__a, .a-swap__art .a-swap__b { transform: none; }
}

/* ---------- Animations V9 ---------- */
/* Haut de page : le dessin grandit et s'efface en douceur au défilement (--h de 0 à 1, v9.js). */
.a-hero { --h: 0; }
.a-hero .a-wrap { transform: translate3d(0, calc(var(--h) * -60px), 0); opacity: calc(1 - var(--h) * 1.4); }
.a-hero__art { transform: scale(calc(1 + var(--h) * .18)); opacity: calc(1 - var(--h) * .5); transform-origin: 50% 30%; }

/* Séquence régularité : un seul dessin qui se transforme sur ordinateur. */
.a-swap__morph { display: none; }
@media (min-width: 861px) {
  .a-swap__morph { display: block; grid-area: 1 / 1; }
  .a-swap__art .a-swap__img { display: none; }
}

/* Galerie : la carte courante est pleine, les voisines un peu en retrait. */
.a-tile { transition: opacity .6s var(--ease); }
.a-js .a-tile:not(.is-current) { opacity: .72; }
.a-tile__art { transition: transform .8s var(--ease); }
.a-js .a-tile:not(.is-current) .a-tile__art { transform: scale(.94); }

/* Écrans de téléphone : les barres se remplissent, les notifications arrivent une par une. */
.a-js .a-phone__row b { background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.a-js .a-phone__row b::after { content: ''; position: absolute; inset: 0; background: var(--ink); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.a-js .a-phone.is-play .a-phone__row b::after { transform: scaleX(var(--w)); }
.a-js .a-phone.is-play .a-phone__row:nth-of-type(2) b::after { transition-delay: .15s; }
.a-js .a-phone.is-play .a-phone__row:nth-of-type(3) b::after { transition-delay: .3s; }
.a-js .a-phone li { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.a-js .a-phone.is-play li { opacity: 1; transform: none; }
.a-js .a-phone.is-play li:nth-child(1) { transition-delay: .9s; }
.a-js .a-phone.is-play li:nth-child(2) { transition-delay: 1.3s; }
.a-js .a-phone--lock .a-phone__lock { transition: transform .6s var(--ease) 1s; }
.a-js .a-phone--lock.is-play .a-phone__btn { animation: aPulse 2.4s ease-in-out 1.4s infinite; }
@keyframes aPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 242, 239, .35); } 50% { box-shadow: 0 0 0 8px rgba(242, 242, 239, 0); } }

/* Onglets : la pastille active glisse d'un choix à l'autre. */
.a-viewer__pills button, .a-method__tabs button { transition: background-color .35s var(--ease), color .35s var(--ease), transform .2s; }
.a-viewer__pills button:active, .a-method__tabs button:active { transform: scale(.97); }

/* Mobile et tablette : pas de canvas, mais les dessins respirent (transformations seulement, fluides sur iPhone). */
@media (max-width: 1024px), (pointer: coarse) {
  .illu__img { animation: aBreathe 7s ease-in-out infinite; will-change: transform; }
  .a-tile:nth-child(2n) .illu__img, .a-swap__b .illu__img { animation-delay: -3.5s; }
  @keyframes aBreathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.035); opacity: 1; } }
  .a-hero > .a-hero__art { transform: none; opacity: .5; }
}

@media (prefers-reduced-motion: reduce) {
  .a-hero .a-wrap, .a-hero__art { transform: none !important; opacity: 1 !important; }
  .illu__img { animation: none !important; }
  .a-js .a-phone__row b::after { transform: scaleX(var(--w)); transition: none; }
  .a-js .a-phone li { opacity: 1; transform: none; transition: none; }
  .a-js .a-tile:not(.is-current) { opacity: 1; }
  .a-js .a-tile:not(.is-current) .a-tile__art { transform: none; }
}

/* Séquence régularité : le dessin prend plus de place, le titre reste dans sa colonne. */
.a-swap__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.a-swap .a-h2 { font-size: clamp(34px, 3.8vw, 56px); }

/* ---------- Sous-menu et carrousel, façon Apple ---------- */
/* Les liens de chapitre s'arrêtent sous la barre collante. */
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Les chapitres de la page dans la barre collante ; le chapitre affiché est mis en avant. */
.a-nav__in { gap: 16px; }
.a-nav__links { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); margin-right: auto; margin-left: clamp(10px, 2vw, 34px); }
.a-nav__links a { font-size: 13px; color: var(--ink-2); padding: 6px 0; white-space: nowrap; transition: color .25s; }
.a-nav__links a:hover { color: var(--ink); }
.a-nav__links a[aria-current="true"] { color: var(--ink); }
.a-nav__toggle { display: none; align-items: center; gap: 6px; margin-right: auto; margin-left: 16px; padding: 6px 0; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
.a-chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.a-nav__toggle[aria-expanded="true"] { color: var(--ink); }
.a-nav__toggle[aria-expanded="true"] .a-chev { transform: rotate(225deg) translate(-2px, -2px); }

@media (max-width: 1100px) {
  .a-nav__toggle { display: inline-flex; }
  .a-nav__links { position: absolute; left: 0; right: 0; top: 52px; z-index: 60; display: grid; gap: 0; margin: 0; padding: 0 max(16px, var(--pad)); background: #000; border-bottom: 1px solid rgba(255, 255, 255, .1); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .a-nav__links.is-open { max-height: 60vh; }
  .a-nav__links a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .a-nav__links a:last-child { border-bottom: 0; padding-bottom: 20px; }
}

/* Carrousel : défilement automatique, barre de progression dans la pastille, pause, glisser-déposer. */
.a-dots button { position: relative; overflow: hidden; }
.a-dots button[aria-current="true"]::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); transform-origin: 100% 50%; transform: scaleX(var(--run, 0)); }
.a-gallery__track { cursor: grab; scroll-behavior: auto; }
.a-gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.a-round--play .a-icon-pause { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.a-round--play.is-paused .a-icon-pause { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; margin-left: 4px; }

@media (prefers-reduced-motion: reduce) {
  .a-dots button[aria-current="true"]::after { display: none; }
}

/* L'agenda, à côté de la liste de l'application. */
.a-story { grid-template-areas: "list side" "art side"; }
.a-story__list { grid-area: list; }
.a-story__side { grid-area: side; }
.a-story__art { grid-area: art; aspect-ratio: 3 / 2; margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 860px) {
  .a-story { grid-template-areas: "list" "art" "side"; }
  .a-story__art { max-width: 460px; margin-inline: auto; }
}

/* Petites icônes au trait pour les sections claires du bas de page. */
.a-ico { width: 30px; height: 30px; color: var(--ink); opacity: .9; }
.a-why .a-ico { margin-top: 14px; }
.a-reasons .a-ico { margin-bottom: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .a-reasons li:hover .a-ico, .a-why li:hover .a-ico { transform: translateY(-2px); transition: transform .3s var(--ease); }
}

/* L'agenda passe sous la liste sur tablette et téléphone (cette règle doit rester la dernière). */
@media (max-width: 860px) {
  .a-story { grid-template-columns: 1fr; grid-template-areas: "list" "art" "side"; }
  .a-story__art { width: 100%; max-width: 460px; margin-inline: auto; }
}

/* ---------- Une seule taille pour tous les dessins et les écrans d'application ---------- */
/* Les scènes ont toutes le même format : un dessin ne doit jamais paraître plus petit qu'un autre. */
.a-head__sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.a-tile__art { aspect-ratio: 3 / 2; }
.a-viewer__stage { min-height: 0; }
.a-viewer__panel { display: grid; grid-template-rows: auto 1fr; gap: clamp(16px, 2vw, 28px); }
.a-viewer__art { min-height: 0; margin-top: 0; aspect-ratio: auto; }
.a-viewer__panel .a-phone { margin: 0 auto; width: auto; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.a-viewer__panel .a-phone__screen { flex: 1; min-height: 0; width: clamp(240px, 30vw, 330px); display: flex; flex-direction: column; overflow: hidden; }
.a-viewer__stage { aspect-ratio: 16 / 9; }
.a-story__art, .a-story__side .a-phone { height: auto; }
.a-story__side { display: grid; justify-items: center; align-content: center; }
.a-phone--lock { width: min(250px, 80%); }

@media (max-width: 860px) {
  .a-viewer__stage { aspect-ratio: auto; min-height: 520px; }
  .a-viewer__panel .a-phone__screen { width: min(250px, 78vw); }
}

/* Tablette et téléphone : les colonnes de la séquence repassent en pleine largeur
   (ces règles doivent rester les dernières du fichier). */
@media (max-width: 860px) {
  .a-swap__in { grid-template-columns: 1fr; }
  .a-swap__art { grid-template-columns: 1fr; }
  .a-swap__img { width: 100%; }
}

/* ---------- L'or MAGNET ----------
   Une seule couleur d'accent, à la place du gris : les secondes lignes de titre, les liens,
   les états actifs et les chiffres. Le texte courant reste blanc, le fond reste noir. */
:root {
  --or: #d8b26a;          /* l'or de base, sur fond noir */
  --or-clair: #f3dcab;    /* le reflet */
  --or-sombre: #8a6a22;   /* sur fond clair, pour rester lisible */
}

/* Haut de page : le titre prend un reflet doré. */
.a-hero__title { background: linear-gradient(175deg, #fff 22%, var(--or-clair) 58%, var(--or) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Les secondes lignes de titre, en or au lieu du gris. */
.a-dim { color: var(--or); }

/* Liens et états actifs. */
.a-link { color: var(--or-clair); }
.a-section--alt .a-link { color: var(--or-sombre); }
.a-dots button[aria-current="true"] { background: var(--or); }
.a-dots button[aria-current="true"]::after { background: rgba(0, 0, 0, .6); }
.a-viewer__pills button[aria-selected="true"] { background: var(--or); color: #14100a; }
.a-method__tabs button[aria-selected="true"] { color: var(--or); background: rgba(216, 178, 106, .1); }
.a-nav__links a[aria-current="true"] { color: var(--or); }
.a-faq__list summary::after { color: var(--or); }

/* Les chiffres des résultats : le même reflet que le titre. */
.a-specs .case__value { background: linear-gradient(175deg, #fff 18%, var(--or-clair) 55%, var(--or) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* L'écran d'application : les barres et le cadenas passent à l'or. */
.a-phone__row b { background: rgba(216, 178, 106, .18); }
.a-js .a-phone__row b::after { background: linear-gradient(90deg, var(--or-clair), var(--or)); }
.a-phone__lock { border-color: var(--or); }
.a-phone__lock::before { border-color: var(--or); }
.a-phone__btn { background: linear-gradient(180deg, var(--or-clair), var(--or)); color: #14100a; }
.a-js .a-phone--lock.is-play .a-phone__btn { animation-name: aPulseOr; }
@keyframes aPulseOr { 0%, 100% { box-shadow: 0 0 0 0 rgba(216, 178, 106, .45); } 50% { box-shadow: 0 0 0 8px rgba(216, 178, 106, 0); } }

/* Les petites icônes des sections claires. */
.a-section--alt .a-ico { color: var(--or-sombre); }

/* Le repère « c'est pour vous » garde sa coche blanche ; la croix passe à l'or sombre. */
.a-card--off li::before { background: var(--or-sombre); }

/* ---------- Haut de page : le titre en deux temps, l'animation en grand derrière ---------- */
.a-hero__title { background: none; color: var(--ink); }
.a-hero__l1 { color: #fff; }
.a-hero__l2 { background: linear-gradient(175deg, var(--or-clair) 10%, var(--or) 55%, #b58c3e 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-hero > .a-hero__art { inset: -12% -22%; width: auto; height: auto; opacity: .9; }
@media (max-width: 860px) { .a-hero > .a-hero__art { inset: -6% -30%; opacity: .6; } }

/* ---------- La scène de l'application ---------- */
.a-scene { position: relative; margin-top: clamp(32px, 5vw, 56px); border-radius: 28px; background: #0b0b0c; overflow: hidden; display: grid; gap: clamp(20px, 3vw, 36px); padding: clamp(24px, 3.4vw, 44px); }
.a-scene__fond { position: absolute; inset: -8%; margin: 0; }
.a-scene__fond .illu__img { width: 100%; height: 100%; }
.a-scene__phone { position: relative; z-index: 1; justify-self: center; display: grid; justify-items: center; }
.a-phone--live { width: clamp(240px, 26vw, 320px); }
.a-phone--live .a-phone__screen { min-height: clamp(380px, 42vw, 480px); border-radius: 36px; border-bottom: 6px solid #2a2a2d; display: flex; flex-direction: column; overflow: hidden; }
.a-phone__flux { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; overflow: hidden; max-height: 108px; }
.a-phone__flux li { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 9px 10px; border-radius: 10px; background: #141416; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.a-phone__flux li em { font-style: normal; color: var(--ink-3); margin-left: auto; }
.a-pt { width: 6px; height: 6px; border-radius: 50%; background: var(--or); flex: none; }
.a-phone__flux li.is-neuf { animation: aEntre .6s var(--ease); }
@keyframes aEntre { from { opacity: 0; transform: translate3d(0, -10px, 0); } }

.a-scene__points { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.a-scene__points b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--or); }
.a-scene__points span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.a-scene__pied { margin-top: 20px; font-size: 15px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.a-scene__pied .a-link { margin-top: 0; }

@media (max-width: 860px) {
  .a-scene__points { grid-template-columns: 1fr 1fr; }
  .a-phone--live { width: min(280px, 82vw); }
}
@media (max-width: 480px) { .a-scene__points { grid-template-columns: 1fr; } }

/* La scène « technologie » : le réseau derrière, les six points devant. */
.a-scene--tech { padding-block: clamp(40px, 6vw, 80px); }
.a-scene--tech .a-scene__fond { inset: -4%; opacity: .9; }
.a-scene__points--six { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .a-scene__points--six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .a-scene__points--six { grid-template-columns: 1fr; } }

/* Les métiers, en pastilles. */
.a-metiers { list-style: none; padding: 0; margin: clamp(24px, 3vw, 36px) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.a-metiers li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); }
.a-section--alt .a-metiers li { border-color: rgba(0, 0, 0, .14); }

/* Les textes posés sur une animation restent lisibles : un voile sombre, et une ombre douce. */
.a-scene::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .72) 62%, rgba(0, 0, 0, .9) 100%); pointer-events: none; }
.a-scene > * { position: relative; z-index: 1; }
.a-scene__fond { z-index: 0; }
.a-scene__points b, .a-scene__points span { text-shadow: 0 0 14px #000, 0 0 30px rgba(0, 0, 0, .9); }
.a-scene--tech .a-scene__fond { opacity: 1; }

/* Carrousel : des cartes plus courtes, qui tiennent dans l'écran sur les grands moniteurs. */
.a-tile { flex-basis: min(74vw, 720px); }
.a-tile__art { aspect-ratio: 16 / 10; max-height: 46vh; }
.a-tile__text { font-size: clamp(17px, 1.5vw, 20px); padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.6vw, 32px) clamp(22px, 2.8vw, 34px); }
@media (min-width: 1500px) { .a-tile { flex-basis: 680px; } }

/* Vue produit : le dessin occupe toute la scène et reste centré ; la légende se pose par-dessus. */
.a-viewer__panel { display: block; position: relative; padding: 0; }
.a-viewer__cap { position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 36px); z-index: 2; text-shadow: 0 0 16px #000, 0 0 40px rgba(0, 0, 0, .9); }
.a-viewer__art { position: absolute; inset: 0; min-height: 0; margin: 0; }
.a-viewer__panel .a-phone { position: absolute; left: 50%; bottom: clamp(16px, 2vw, 28px); transform: translateX(-50%); height: 72%; margin: 0; }

/* La carte survolée s'allume, même si ce n'est pas la carte courante. */
.a-js .a-tile:hover, .a-js .a-tile:focus-within { opacity: 1; }
.a-js .a-tile:hover .a-tile__art { transform: none; }

/* Avant / après : la première ligne en blanc, la seconde en or, comme les autres titres. */
.a-swap__text .a-h2 .a-swap__b { background: linear-gradient(175deg, var(--or-clair) 10%, var(--or) 60%, #b58c3e 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Trois autres écrans de l'application, sous la scène. */
.a-ecrans { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.a-ecrans > li { display: grid; justify-items: center; }
.a-phone--mini { width: min(220px, 100%); }
.a-phone--mini .a-phone__screen { min-height: 320px; border-radius: 30px; border-bottom: 5px solid #2a2a2d; display: flex; flex-direction: column; }
.a-phone__flux--fixe { max-height: none; }
.a-phone__texte { margin-top: 12px; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.a-phone--mini .a-phone__btn { margin-top: auto; align-self: center; }
.a-ecrans__t { margin-top: 16px; font-size: 15px; line-height: 1.45; color: var(--ink-2); text-align: center; max-width: 34ch; }
.a-ecrans__t b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .a-ecrans { grid-template-columns: 1fr; } .a-ecrans > li { margin-inline: auto; } }

/* ---------- La barre devient une capsule flottante au défilement (comme Apple) ---------- */
/* La barre suit le défilement sans à-coup : tout est piloté par --nav (0 en haut de page,
   1 une fois la capsule formée). Aucune transition à rattraper, le dessin suit le doigt. */
.a-nav { --nav: 0; background: rgba(0, 0, 0, calc(.72 * (1 - var(--nav)))); border-bottom-color: rgba(255, 255, 255, calc(.08 * (1 - var(--nav)))); padding-top: calc(10px * var(--nav)); }
.a-nav__in {
  margin-inline: auto;
  max-width: min(1080px, 100vw - 32px);                              /* largeur fixe : changer la largeur à chaque image refaisait la mise en page */
  height: 54px;
  padding: 0 8px 0 22px;
  border-radius: calc(999px * var(--nav));
  background: rgba(24, 24, 26, calc(.72 * var(--nav)));
  border: 1px solid rgba(255, 255, 255, calc(.1 * var(--nav)));
  box-shadow: 0 calc(12px * var(--nav)) calc(34px * var(--nav)) rgba(0, 0, 0, calc(.45 * var(--nav)));
  will-change: background-color, border-radius;
}
.a-nav.is-flottante .a-nav__in { -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
/* Dans la capsule : le nom, « Découvrir », et l'action. Les chapitres passent dans le menu. */
.a-nav.is-flottante .a-nav__links { display: none; }
.a-nav.is-flottante .a-nav__toggle { display: inline-flex; }
.a-nav.is-flottante .a-nav__links.is-open { display: grid; position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 60; padding: 6px 10px; border-radius: 22px; background: rgba(18, 18, 20, .96); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid rgba(255, 255, 255, .1); max-height: 70vh; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.a-nav.is-flottante .a-nav__links.is-open a { font-size: 16px; padding: 13px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.a-nav.is-flottante .a-nav__links.is-open a:last-child { border-bottom: 0; }
.a-nav.is-flottante .a-nav__in { position: relative; }
.a-nav.is-flottante .a-pill { min-height: 38px; }
.a-nav.is-flottante .a-pill--ghost { display: none; }
@media (min-width: 861px) { .a-nav.is-flottante .a-pill--ghost { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .a-nav { transition: none; } }

/* La section des chiffres : une constellation d'or derrière chaque résultat. */
.a-specs__list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.a-specs .case { position: relative; border-top: 0; border-radius: 28px; background: radial-gradient(120% 120% at 50% 0%, rgba(216, 178, 106, .08), #0b0b0c 62%); padding: clamp(26px, 3.4vw, 44px); overflow: hidden; min-height: clamp(320px, 34vw, 420px); display: flex; flex-direction: column; justify-content: flex-end; }
.a-specs .case::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(216, 178, 106, .18); pointer-events: none; }
.case__ciel { position: absolute; left: 0; right: 0; top: 0; height: 62%; width: 100%; }
.a-specs .case__value { position: relative; }
.a-specs .case__who { color: var(--or); }
.case__par { position: absolute; right: 18px; top: 16px; font-size: 12px; color: var(--ink-3); }

/* Le calcul du visiteur, sous les résultats mesurés. */
.a-calcul { margin-top: clamp(40px, 6vw, 72px); border-radius: 28px; background: radial-gradient(120% 120% at 50% 0%, rgba(216, 178, 106, .1), #0b0b0c 60%); border: 1px solid rgba(216, 178, 106, .18); padding: clamp(26px, 3.4vw, 48px); }
.a-calcul__titre { font-size: clamp(26px, 3.2vw, 42px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.a-calcul__champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(24px, 3vw, 36px); max-width: 640px; }
.a-calcul__champs label { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.a-calcul__saisie { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #000; color: var(--ink); font-size: 20px; font-weight: 600; }
.a-calcul__saisie input { width: 100%; background: transparent; border: 0; color: var(--ink); font: inherit; }
.a-calcul__saisie input:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; border-radius: 6px; }
.a-calcul__resultat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: clamp(24px, 3vw, 36px); }
.a-calcul__resultat b { font-size: clamp(48px, 7vw, 92px); font-weight: 600; letter-spacing: -.05em; line-height: 1; background: linear-gradient(175deg, #fff 16%, var(--or-clair) 52%, var(--or) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.a-calcul__resultat span { font-size: clamp(17px, 1.7vw, 21px); color: var(--ink-2); }
.a-calcul__note { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 60ch; }
@media (max-width: 620px) { .a-calcul__champs { grid-template-columns: 1fr; } }

/* Le calcul : à gauche l'argent, à droite le temps repris. */
.a-calcul__champs { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.a-calcul__duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.a-calcul__bloc { display: grid; gap: 8px; }
.a-calcul__bloc b { font-size: clamp(44px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.05em; line-height: 1; background: linear-gradient(175deg, #fff 16%, var(--or-clair) 52%, var(--or) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.a-calcul__bloc span { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.4; color: var(--ink-2); }
.a-calcul__bloc--temps { border-left: 1px solid rgba(216, 178, 106, .25); padding-left: clamp(20px, 3vw, 44px); }
@media (max-width: 860px) { .a-calcul__champs { grid-template-columns: 1fr; } .a-calcul__duo { grid-template-columns: 1fr; } .a-calcul__bloc--temps { border-left: 0; border-top: 1px solid rgba(216, 178, 106, .25); padding-left: 0; padding-top: 20px; } }

/* Fluidité : les sections hors écran ne sont pas peintes, et les scènes sont composées à part. */
/* Pas de content-visibility : les tailles estimées faisaient sauter la page pendant le défilement.
   On gagne la fluidité autrement : moins de pixels dans les canvas, et rien d'animé hors écran. */
.a-scene, .a-viewer__stage, .a-tile__art { will-change: transform; }

/* Avant / après : « Le même mois, » en blanc, « chaque mois. » en or. */
.a-swap__text .a-h2 .a-swap__b { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
.a-swap__text .a-h2 .a-blanc { color: #fff; }
.a-swap__text .a-h2 .a-or { background: linear-gradient(175deg, var(--or-clair) 10%, var(--or) 60%, #b58c3e 95%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* La scène de l'application : une carte contenue, le téléphone entier au centre, le flux derrière. */
.a-scene { padding: clamp(22px, 2.6vw, 36px); }
.a-scene__phone { justify-self: center; }
#application .a-scene { display: grid; grid-template-rows: auto auto; gap: clamp(18px, 2.4vw, 32px); }
#application .a-scene__fond { inset: 0; opacity: .85; }
#application .a-phone--live { width: clamp(220px, 22vw, 280px); }
#application .a-phone--live .a-phone__screen { min-height: clamp(340px, 34vw, 420px); }
#application .a-scene::after { background: radial-gradient(90% 70% at 50% 45%, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .62) 58%, rgba(0, 0, 0, .88) 100%); }

/* La scène de l'application ne contient plus que le téléphone : les quatre points passent dessous. */
#application .a-scene { grid-template-rows: auto; max-height: 68vh; align-content: center; }
#application .a-scene__points { margin-top: clamp(20px, 3vw, 36px); }

/* Le téléphone tient entièrement dans la scène. */
#application .a-phone--live .a-phone__screen { min-height: 0; height: clamp(280px, 44vh, 400px); }

/* Capsule : plus de bouton « Découvrir » sur grand écran, les chapitres restent visibles. */
@media (min-width: 1100px) {
  .a-nav.is-flottante .a-nav__toggle { display: none; }
  .a-nav.is-flottante .a-nav__links { display: flex; margin-left: clamp(10px, 1.6vw, 22px); }
  .a-nav.is-flottante .a-nav__links a { font-size: 13px; }
}
/* Sur fond clair, la capsule reste lisible. */
.a-nav.is-flottante .a-nav__in { color: var(--ink); }

/* Le téléphone reste centré et entier dans sa scène. */
#application .a-scene__phone { align-self: center; }
#application .a-phone--live { height: auto; align-self: center; justify-content: center; }

/* « MAGNET et vos données », section sobre avant les valeurs. */
.a-donnees { list-style: none; padding: 0; margin: clamp(32px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.a-donnees b { display: block; font-size: clamp(19px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.02em; }
.a-donnees span { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* Pied de page en colonnes. */
.a-footer--large { padding-top: clamp(48px, 6vw, 80px); }
.a-pied { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.a-pied h2 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.a-pied a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.a-pied a:hover { color: var(--or); }
.a-pied__note { margin-top: clamp(32px, 4vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; line-height: 1.6; color: var(--ink-3); max-width: 90ch; }
.a-pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 20px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 860px) { .a-donnees { grid-template-columns: 1fr; } .a-pied { grid-template-columns: 1fr 1fr; } }

/* Le panneau « Découvrir », à la manière du menu de la page produit d'Apple :
   une carte centrée, le nom et l'action en haut, les chapitres en colonnes. */
@media (min-width: 1100px) {
  .a-nav.is-flottante .a-nav__toggle { display: inline-flex; }
  .a-nav.is-flottante .a-nav__links { display: none; }
  .a-nav.is-flottante .a-nav__links.is-open { display: block; }
}
.a-nav__links.is-open {
  position: absolute; left: 0; right: 0; top: calc(100% + 12px); z-index: 60;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: 28px;
  background: rgba(16, 16, 18, .97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; max-height: none;
}
.a-nav__links.is-open::before {
  content: 'Les chapitres';
  grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.a-nav.is-flottante .a-nav__links.is-open a, .a-nav__links.is-open a {
  font-size: 17px; font-weight: 500; color: var(--ink); padding: 11px 12px; border: 0; border-radius: 12px;
}
.a-nav__links.is-open a:hover { background: rgba(216, 178, 106, .12); color: var(--or-clair); }
.a-nav__links.is-open a[aria-current="true"] { color: var(--or); }
@media (max-width: 720px) { .a-nav__links.is-open { grid-template-columns: 1fr 1fr; gap: 2px 14px; } }
@media (max-width: 480px) { .a-nav__links.is-open { grid-template-columns: 1fr; } }

/* Le panneau des chapitres reste en colonnes, même dans la capsule. */
.a-nav.is-flottante .a-nav__links.is-open { display: grid; grid-template-columns: repeat(3, 1fr); }
/* La scène de l'application prend la hauteur de son téléphone, rien de plus. */
#application .a-scene { max-height: none; }

/* Le fond des scènes reste bien en fond (la règle du voile le repassait en flux). */
.a-scene > .a-scene__fond { position: absolute; inset: 0; z-index: 0; }
.a-scene--tech > .a-scene__fond { inset: -4%; }

/* La pépite d'or, à gauche du nom dans la barre : la même que celle des dessins. */
.a-nav .a-logo { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 520px) { .a-nav .a-logo { gap: 8px; } }
.a-specs .a-trust { padding-bottom: clamp(24px, 4vw, 48px); }

/* Les comptes du fondateur : même bande, texte plus discret, pour ne pas les confondre avec les clients. */
.a-trust--fondateur { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: clamp(24px, 3vw, 40px); }
.a-trust--fondateur .a-trust__title { color: var(--ink-3); max-width: 60ch; margin-inline: auto; }
.a-trust--fondateur .trust__logos li { font-size: clamp(15px, 1.5vw, 19px); color: var(--ink-2); font-weight: 500; }

/* Le champ du haut de page tenait sur 1,4 fois la largeur de l'écran : autant de pixels repeints
   à chaque image. Il tient maintenant dans l'écran, sans rien perdre à l'œil. */
.a-hero > .a-hero__art { inset: 0; }
/* La bille du logo repasse en blanc. */

/* Les entreprises : des noms plus petits, serrés, et un fondu en bas de bande
   qui laisse deviner que la liste continue. Aucune répétition. */
.a-trust__logos { gap: 10px clamp(18px, 2.6vw, 38px); max-width: 980px; margin-inline: auto; }
.a-trust__logos li { font-size: clamp(14px, 1.35vw, 18px); letter-spacing: -.01em; color: var(--ink-2); }
.a-trust--fondateur .trust__logos li { font-size: clamp(13px, 1.25vw, 16px); }

/* ---------- L'apparition de la capsule et du panneau, au rythme d'Apple ---------- */
/* La barre se resserre en capsule : fondu, léger glissement, coins qui s'arrondissent, en 0,45 s. */
.a-nav__in { transition: background-color .45s var(--ease), border-color .45s var(--ease), border-radius .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease), max-width .45s var(--ease), height .45s var(--ease), transform .45s var(--ease); transform: translate3d(0, 0, 0); }
.a-nav.is-flottante .a-nav__in { animation: capsule .5s var(--ease); }
@keyframes capsule { from { opacity: .6; transform: translate3d(0, -8px, 0) scale(.985); } to { opacity: 1; transform: none; } }

/* Le panneau des chapitres s'ouvre en glissant et se referme de la même façon. */
.a-nav__links.is-open { animation: panneauOuvre .34s var(--ease); transform-origin: top center; }
@keyframes panneauOuvre { from { opacity: 0; transform: translate3d(0, -10px, 0) scale(.985); } to { opacity: 1; transform: none; } }
.a-nav__links.se-ferme { animation: panneauFerme .22s var(--ease-io) forwards; pointer-events: none; }
@keyframes panneauFerme { to { opacity: 0; transform: translate3d(0, -8px, 0) scale(.99); } }

/* Les liens du panneau arrivent l'un après l'autre, comme chez Apple. */
.a-nav__links.is-open a { animation: lienArrive .3s var(--ease) backwards; }
.a-nav__links.is-open a:nth-child(2) { animation-delay: .03s; }
.a-nav__links.is-open a:nth-child(3) { animation-delay: .06s; }
.a-nav__links.is-open a:nth-child(4) { animation-delay: .09s; }
.a-nav__links.is-open a:nth-child(5) { animation-delay: .12s; }
.a-nav__links.is-open a:nth-child(6) { animation-delay: .15s; }
.a-nav__links.is-open a:nth-child(7) { animation-delay: .18s; }
.a-nav__links.is-open a:nth-child(8) { animation-delay: .21s; }
@keyframes lienArrive { from { opacity: 0; transform: translate3d(0, -6px, 0); } }

/* Le chevron tourne doucement. */
.a-chev { transition: transform .32s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .a-nav.is-flottante .a-nav__in, .a-nav__links.is-open, .a-nav__links.is-open a, .a-nav__links.se-ferme { animation: none; }
  .a-nav__in { transition: none; }
}

/* Les entreprises : une seule liste, tous les noms en majuscules. */
.a-trust__logos li, .a-trust__logos li span { text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.a-trust__note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }

/* Les trois rendez-vous de l'écran fixe arrivent ensemble, presque sans décalage. */
.a-js .a-phone.is-play .a-phone__flux--fixe li:nth-child(1) { transition-delay: .05s; }
.a-js .a-phone.is-play .a-phone__flux--fixe li:nth-child(2) { transition-delay: .15s; }
.a-js .a-phone.is-play .a-phone__flux--fixe li:nth-child(3) { transition-delay: .25s; }

/* Les entreprises : moins de vide autour de la bande. */
.a-trust { margin-top: 64px; padding-top: 24px; }
#resultats-clients { padding-bottom: clamp(48px, 6vw, 80px); }
#inclus { padding-top: clamp(72px, 8vw, 110px); }

/* La scène « technologie » : le réseau occupe toute la scène, les six points passent dessous.
   (Ces règles avaient sauté le 20/09 avec la suppression de la pastille : sans elles la scène s'écrase à 72 px.) */
#technologie .a-scene--tech { aspect-ratio: 16 / 9; max-height: 70vh; padding: 0; }
#technologie .a-scene--tech > .a-scene__fond { inset: 0; }
#technologie .a-scene__points--six { margin-top: clamp(20px, 3vw, 36px); }

/* ---------- La preuve juste sous le haut de page ---------- */
.a-preuve { padding-block: clamp(48px, 7vw, 88px); }
.a-preuve__t { margin: 0 0 clamp(18px, 2.4vw, 28px); text-align: center; font-size: 15px; font-weight: 400; color: var(--ink-3); }
.a-preuve .a-trust__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 2.6vw, 38px); list-style: none; padding: 0; margin: 0 auto; max-width: 980px; }
.a-preuve .a-specs__list { margin-top: clamp(28px, 4vw, 44px); }
.a-preuve__q { margin: clamp(20px, 3vw, 32px) auto 0; max-width: 62ch; text-align: center; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-2); }

/* Les relances : un bouton, et la phrase qui enlève le risque. */
.a-relance { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: clamp(28px, 4vw, 44px) 0 0; }
.a-relance__note { font-size: 14px; color: var(--ink-3); max-width: 46ch; }

/* Sur téléphone : l'action reste en bas de l'écran. */
.a-collant { display: none; }
@media (max-width: 860px) {
  .a-collant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .92) 45%);
    transform: translate3d(0, 120%, 0); transition: transform .32s var(--ease); }
  .a-collant.is-on { transform: none; }
  .a-collant .a-pill { flex: 1; justify-content: center; max-width: 320px; }
  .a-collant__note { font-size: 12px; color: var(--ink-3); }
  .a-pied { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* Le dessin de fond du haut de page : ordinateur seulement. */
@media (max-width: 1024px) { .a-hero__art { display: none; } .a-hero { padding-bottom: clamp(32px, 8vw, 56px); } }

@media (prefers-reduced-motion: reduce) { .a-collant { transition: none; } }

/* ---------- Téléphone : un rythme plus serré ---------- */
@media (max-width: 860px) {
  .a-section { padding-block: clamp(44px, 10vw, 68px); }
  .a-preuve { padding-block: clamp(32px, 8vw, 48px); }
  .a-h2 { margin-bottom: 14px; }
  .a-eyebrow { margin-bottom: 8px; }
  .a-scene { margin-top: clamp(20px, 5vw, 32px); }
  .a-relance { margin-top: clamp(20px, 5vw, 32px); }
  #calcul { padding-top: clamp(36px, 8vw, 52px); }
  .a-trust { margin-top: clamp(28px, 7vw, 44px); }
}

/* Téléphone et tablette : les deux dessins deviennent un avant / après lisible d'un coup d'œil. */
@media (max-width: 1024px) {
  .a-swap__art { grid-template-columns: 1fr 1fr !important; gap: 10px !important; align-items: start; }
  .a-swap__img { position: relative; aspect-ratio: 1 / 1 !important; margin: 0; }
  .a-swap__img::after { content: attr(data-etiquette); position: absolute; left: 10px; bottom: 10px; font-size: 11px; letter-spacing: .04em; color: var(--ink-3); }
  .a-swap__img.a-swap__b::after { color: var(--or); }
  .a-swap__morph { display: none; }
}

/* Le titre de l'avant/après, sur téléphone : deux blocs distincts, pas une phrase qui coule. */
@media (max-width: 1024px) {
  .a-swap__text .a-h2 .a-swap__a, .a-swap__text .a-h2 .a-swap__b { display: block; }
  .a-swap__text .a-h2 .a-swap__b { margin-top: 14px; }
  .a-swap__img::after { top: 10px; bottom: auto; }
}

/* Téléphone : la bande de preuve tient en quelques lignes, les chiffres arrivent vite. */
@media (max-width: 860px) {
  .a-preuve .a-trust__logos li { font-size: 12px; letter-spacing: .06em; }
  .a-preuve .a-trust__logos { gap: 8px 14px; }
  .a-preuve__t { font-size: 14px; }
  .a-preuve__q { font-size: 15px; }
}

/* Sections resserrées : le rythme d'origine (170 px en haut et en bas) faisait respirer le vide,
   pas le contenu. On garde de l'air, on enlève l'attente. */
.a-section { padding-block: clamp(56px, 8vw, 112px); }
.a-h2 { margin-bottom: clamp(12px, 1.6vw, 20px); }
.a-head__sub { margin-top: clamp(10px, 1.4vw, 16px); }
@media (max-width: 860px) { .a-section { padding-block: clamp(40px, 9vw, 60px); } }

/* La bande des entreprises : serrée, elle se lit d'un coup d'oeil. */
.a-preuve { padding-block: clamp(28px, 4vw, 44px); }
.a-preuve__t { margin-bottom: clamp(12px, 1.6vw, 18px); }
.a-preuve .a-trust__logos { gap: 8px clamp(14px, 2vw, 28px); }
.a-preuve .a-trust__note { margin-top: 12px; }

/* Moins de vide autour de la bande des entreprises : elle suit le haut de page de près. */
.a-hero { padding-bottom: clamp(24px, 3vw, 40px); }
#points-forts { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Lisibilité : tous les textes au-dessus du seuil de contraste ---------- */
:root { --ink-3: #8b8b89; }                                   /* 3,6 → 5,1 sur fond noir */
.a-section--alt { --ink-3: rgba(29, 29, 31, .62); }           /* et sur fond clair */
.a-motto__text .w { color: rgba(29, 29, 31, .55); }           /* les mots pas encore éclairés restent lisibles */
.a-motto__text .w.is-lit { color: var(--ink); }

/* Les pastilles du carrousel : cliquables au doigt (24 px minimum, espacées). */
.a-dots { gap: 4px; }
.a-dots button { width: 24px; height: 24px; background: none; display: grid; place-items: center; }
.a-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .35s var(--ease), background-color .35s; }
.a-dots button[aria-current="true"] { width: 52px; background: none; }
.a-dots button[aria-current="true"]::before { width: 40px; background: var(--ink); }



/* Les six avantages : même hauteur de carte, titres sur deux lignes, textes alignés. */
.a-why li { min-height: 260px; }
.a-why h3 { min-height: 2.3em; }
@media (max-width: 860px) { .a-why li { min-height: 0; } .a-why h3 { min-height: 0; } }

/* Alignement strict : le numéro en haut, le titre à la même hauteur partout, le texte aussi. */
@media (min-width: 861px) {
  .a-why li { justify-content: flex-start; min-height: 290px; }
  .a-why h3 { margin-top: 28px; padding-top: 0; min-height: 2.3em; }
  .a-why p { min-height: 4.6em; }
}

/* Le pied de page débordait de 135 px sur téléphone : l'adresse email est un mot insécable. */
.a-pied a[href^='mailto:'] { overflow-wrap: anywhere; }
@media (max-width: 860px) { .a-pied { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* L'anneau de focus se voyait sur fond sombre, pas sur les boutons blancs : on ajoute un second anneau. */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px rgba(0, 0, 0, .85); }
.a-section--alt :focus-visible, .a-pill:focus-visible { box-shadow: 0 0 0 5px rgba(0, 0, 0, .35); }

/* Sur fond clair, le doré passait à 1,8 de contraste : version foncée pour ces sections. */
.a-section--alt { --or: #7d5f1c; }

/* L'action principale de la barre : 44 px de haut au doigt. */
@media (pointer: coarse) { .a-nav .a-pill { min-height: 44px; } .a-nav__toggle { min-height: 44px; } }

/* Replié sur téléphone, le menu ne garde plus ses sept liens dans le parcours de tabulation. */
@media (max-width: 860px) {
  .a-nav__links > a { visibility: hidden; transition: visibility 0s linear .4s; }
  .a-nav__links.is-open > a { visibility: visible; transition-delay: 0s; }
}

/* ---------- Téléphone et tablette : le dessin du haut de page, le pied, la barre d'action ---------- */
.a-hero__illu { display: none; }
@media (max-width: 1024px) {
  .a-hero__illu { display: block; margin: clamp(28px, 6vw, 44px) auto 0; width: min(420px, 82%); aspect-ratio: 1 / 1; border-radius: 26px; background: #0b0b0c; overflow: hidden; }
  .a-hero__illu .illu__img { width: 100%; height: 100%; object-fit: contain; }
}

/* La barre d'action : le bouton et sa mention alignés, l'un sous l'autre, au centre. */
@media (max-width: 860px) {
  .a-collant { flex-direction: column; gap: 6px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .a-collant .a-pill { width: min(340px, 100%); }
  .a-collant__note { text-align: center; }
}

/* Le pied de page sur téléphone : deux colonnes lisibles, des liens qui se touchent facilement. */
@media (max-width: 860px) {
  .a-pied { gap: 22px 18px; }
  .a-pied h3, .a-pied b, .a-pied strong { font-size: 15px; }
  .a-pied a { padding: 10px 0; min-height: 44px; display: flex; align-items: center; font-size: 15px; }
  .a-footer { padding-top: 32px; font-size: 14px; }
  .a-footer__note { font-size: 13px; line-height: 1.5; }
}
@media (max-width: 420px) { .a-pied { grid-template-columns: minmax(0, 1fr); } }

/* Le pied de page : quatre colonnes sur ordinateur, deux sur tablette, une sur téléphone.
   Les mots ne se coupent plus au milieu — seule l'adresse email peut se couper. */
.a-pied { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .a-pied { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .a-pied { grid-template-columns: minmax(0, 1fr); gap: 26px; } .a-pied > div { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; } .a-pied > div:first-child { border-top: 0; padding-top: 0; } }

/* Les pastilles du carrousel au doigt : 24 px ne suffisent pas. */
@media (pointer: coarse) { .a-dots button { width: 44px; height: 44px; } .a-dots button[aria-current="true"] { width: 60px; } }

/* Le passage d'une langue à l'autre, dans le pied de page. */
.a-langue { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.a-langue:hover { color: var(--ink); }
