/* CLAC · accueil (/). Mise en page propre à la page, préfixe .home-
   Les composants (boutons, cartes, médias, stats, carrousel, notifs, accordéons…) viennent de site.css et phones.css. */

/* 0. Titres : les accents des capitales (É, À, È) ne doivent pas toucher la ligne du dessus */
.home h2.disp, .home h1.disp { line-height: .97; }
.home-cle h2.disp, .home-diff h2.disp { line-height: 1.04; }
.home h2.disp .accent { white-space: nowrap; }

/* 1. Hero ------------------------------------------------------------------ */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: clamp(600px, calc(100svh - 36px), 920px);
  background: var(--night); color: #FFFFFF;
  --fg: #FFFFFF; --fg2: rgba(255, 255, 255, .8); --accent: var(--cobalt-lift);
}
.home-hero__media { position: absolute; inset: 0; z-index: -1; }
.home-hero__media picture { position: absolute; inset: 0; }
.home-hero__poster, .home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.home-hero__video { opacity: 0; transition: opacity 1s var(--ease); }
.home-hero__video.is-on { opacity: 1; }
.home-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 9, .34) 0%, rgba(6, 6, 9, 0) 20%, rgba(6, 6, 9, 0) 34%, rgba(6, 6, 9, .58) 56%, rgba(6, 6, 9, .9) 100%);
}
.home-hero__in { padding-top: calc(var(--header-h) + 32px); padding-bottom: 26px; }
.home-hero__txt { display: grid; gap: 16px; max-width: 640px; }
.home-hero__trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-family: var(--f-mono); font-stretch: 75%; font-weight: 450; font-size: 10.5px; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.home-hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.home-hero__trust svg { width: 15px; height: 15px; color: var(--ice); }
.home-hero__titre { font-size: clamp(52px, 16.4vw, 72px); color: #FFFFFF; text-wrap: balance; }
.home-hero__titre-2 { display: block; }
.home-hero__sous { font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .86); max-width: 44ch; text-wrap: pretty; }
.home-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 6px; }
.home-hero__lien { color: #FFFFFF; }
.home-hero__lien:hover { color: var(--ice); }
.home-hero__note { color: rgba(255, 255, 255, .72); }
@media (max-width: 719px) {
  .home-hero__btn { display: flex; width: 100%; justify-content: flex-start; --h: 60px; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .home-hero__titre { font-size: clamp(60px, 8.4vw, 74px); }
  .home-hero__in { padding-bottom: 48px; }
}
@media (min-width: 900px) {
  .home-hero { align-items: center; min-height: clamp(620px, calc(100svh - 36px), 880px); }
  .home-hero__scrim {
    background:
      linear-gradient(90deg, rgba(6, 6, 9, .74) 0%, rgba(6, 6, 9, .5) 30%, rgba(6, 6, 9, .08) 58%, rgba(6, 6, 9, 0) 70%),
      linear-gradient(180deg, rgba(6, 6, 9, .3) 0%, rgba(6, 6, 9, 0) 22%, rgba(6, 6, 9, 0) 80%, rgba(6, 6, 9, .3) 100%);
  }
  .home-hero__in { padding-block: calc(var(--header-h) + 48px) 72px; }
  .home-hero__txt { gap: 20px; }
  .home-hero__titre { font-size: clamp(64px, 7.4vw, 112px); }
  .home-hero__sous { font-size: clamp(17px, 1.45vw, 19.5px); }
}

/* 2. Bandeau de faits sourcés ------------------------------------------------ */
.home-faits { padding-block: 22px 26px; border-bottom: 1px solid var(--line); }
.home-faits__in { display: grid; gap: 16px; }
.home-faits__label { justify-self: center; margin: 0; }
.home-faits__marquee { --mgap: 40px; }
.home-faits__marquee .marquee__sep { opacity: .22; width: 5px; height: 5px; }
.home-fait { white-space: normal; align-items: center; gap: 14px; width: 330px; }
.home-fait__n { flex: none; min-width: 2.3ch; font-size: 54px; line-height: .85; color: var(--fg); }
.home-fait__n small { font-size: .46em; }
.home-fait__t { display: grid; gap: 6px; font-size: 14px; line-height: 1.38; color: var(--fg); text-wrap: pretty; }
.home-fait__src { display: block; font-family: var(--f-mono); font-stretch: 75%; font-weight: 450; font-size: 9.5px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--fg2); }
@media (min-width: 1024px) {
  .home-faits { padding-block: 26px 30px; }
  .home-fait { width: 380px; }
  .home-fait__n { font-size: 62px; }
}

/* 3. L'objet ---------------------------------------------------------------- */
.home-objet__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.home-objet__txt { background: var(--bone); gap: 22px; padding-block: 48px; }
.home-objet__p { max-width: 44ch; justify-items: center; }
.home-objet__visuel {
  position: relative; overflow: hidden; margin: 0; border-radius: var(--r-lg);
  background: var(--bone); aspect-ratio: 9 / 10;
}
.home-objet__photo {
  position: absolute; left: -16%; top: -4%; width: 90%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.home-objet__legende { position: absolute; left: 20px; bottom: 20px; z-index: 2; max-width: 40%; }
/* Le téléphone est ancré en bas et reste entier : son bouton « Tape ton Clac » n'est jamais coupé par le bord */
.home-objet__phone-wrap { position: absolute; z-index: 3; right: 6%; top: auto; bottom: 22px; width: 44%; }
.home-objet__phone { --phone-w: 100%; }
@media (min-width: 720px) and (max-width: 899px) {
  .home-objet__visuel { aspect-ratio: 4 / 3; }
  .home-objet__photo { left: -6%; top: -8%; width: 68%; }
  .home-objet__phone-wrap { right: 9%; bottom: 24px; width: 29%; }
  ol.home-etapes { max-width: 600px; margin-inline: auto; }
}
@media (min-width: 900px) {
  .home-objet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-objet__txt { min-height: 680px; }
  .home-objet__visuel { aspect-ratio: auto; min-height: 680px; }
  .home-objet__photo { left: -10%; top: -6%; width: 88%; }
  .home-objet__legende { left: 28px; bottom: 28px; }
  .home-objet__phone-wrap { right: 7%; bottom: 28px; width: min(46%, 270px); }
}

/* 4. Comment ça marche ------------------------------------------------------- */
ol.home-etapes { display: grid; gap: 44px; margin: 0; padding: 0; list-style: none; }
.home-etape { display: grid; gap: 20px; align-content: start; }
.home-etape .step { padding-inline: 2px; }
.home-etape__media { border-radius: var(--r-lg); }
@media (min-width: 900px) {
  ol.home-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.home-cta { display: grid; justify-items: center; gap: 14px; margin-top: clamp(36px, 5vw, 56px); text-align: center; }

/* Cartes d'UI posées sur les photos (maquettes de l'appli en HTML) */
.home-ui {
  position: absolute; z-index: 2; display: grid; gap: 8px; width: min(58%, 214px);
  padding: 12px; border-radius: 16px; font-size: 12px; line-height: 1.2;
  background: rgba(255, 255, 255, .8); color: var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 22px 44px -26px rgba(11, 11, 13, .7);
}
.home-ui--sombre { background: rgba(10, 10, 16, .66); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 22px 44px -26px rgba(0, 0, 0, .8); }
.home-ui__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--hair); }
.home-ui__row b { font-weight: 650; font-size: 13px; }
.home-ui__row b.num { font-size: 18px; font-weight: 750; }
.home-ui__k { font-family: var(--f-mono); font-stretch: 75%; font-weight: 450; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); }
.home-ui--sombre .home-ui__k { color: rgba(255, 255, 255, .6); }
ul.home-ui__apps { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0 0 7px; list-style: none; border-bottom: 1px solid var(--hair); }
.home-ui__apps li { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px 0 3px; border-radius: 999px; background: rgba(11, 11, 13, .06); font-size: 10px; font-weight: 550; }
.home-ui__apps i { width: 14px; height: 14px; border-radius: 4px; background: var(--c, var(--ink)); }
.home-ui__btn { display: grid; place-items: center; height: 30px; margin-top: 2px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-weight: 650; font-size: 12px; }
.home-ui__btn--cobalt { background: var(--cobalt); }
.home-ui--applis { left: 12px; top: 12px; }
.home-ui--detecte { left: 12px; top: 12px; width: min(52%, 190px); }
.home-ui--blocage { right: 12px; top: 12px; width: min(52%, 196px); justify-items: center; text-align: center; gap: 7px; padding: 14px 12px 12px; }
.home-ui__detect { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-stretch: 75%; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--ice); }
.home-ui__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 3px rgba(51, 85, 255, .3); animation: pulse 2.4s var(--ease-io) infinite; }
.home-ui__mode { display: grid; gap: 3px; }
.home-ui__mode b { font-family: var(--f-sans); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: .95; }
.home-ui__mode span { font-size: 11px; color: rgba(255, 255, 255, .7); }
.home-ui__reste { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.home-ui__reste b { font-size: 34px; line-height: .9; }
.home-ui__seg { --line2: rgba(255, 255, 255, .14); height: 4px; }
.home-ui__plage { font-family: var(--f-mono); font-stretch: 75%; font-size: 9.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .62); }
.home-ui__lune { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(111, 134, 255, .18); color: var(--ice); }
.home-ui__lune svg { width: 17px; height: 17px; }
.home-ui__titre { font-family: var(--f-sans); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 19px; line-height: .95; }
.home-ui__txt { font-size: 11px; line-height: 1.35; color: rgba(255, 255, 255, .74); }
.home-ui--blocage .home-ui__btn { width: 100%; }
@media (min-width: 900px) and (max-width: 1100px) {
  .home-ui { width: min(64%, 200px); padding: 10px; gap: 6px; }
  .home-ui__apps li:nth-child(n+6) { display: none; }
}

/* 5. Ce qui rend Clac différent ------------------------------------------- */
.home-diff__sous { color: var(--fg); font-weight: 600; }
.home-diff .sec-head .text { max-width: 54ch; }
.home-diff__media { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.home-diff__media > img { object-position: 52% 50%; }
.home-diff__voile { position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 60% at 50% 52%, rgba(6, 6, 9, .3), rgba(6, 6, 9, .06)); }
ul.home-diff__labels { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 14px; margin: 0; padding: 20px; list-style: none; }
.home-diff__item { display: grid; justify-items: center; gap: 7px; }
.home-diff__nom {
  display: inline-flex; align-items: center; justify-content: center; min-width: 214px; height: 50px; padding: 0 22px; border-radius: 15px;
  background: rgba(255, 255, 255, .78); color: var(--ink); font-weight: 650; font-size: 16.5px; letter-spacing: -.01em;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 16px 36px -22px rgba(11, 11, 13, .6);
}
.home-diff__etat { display: inline-flex; align-items: center; gap: 6px; color: #FFFFFF; font-size: 14px; font-weight: 550; text-shadow: 0 1px 12px rgba(6, 6, 9, .55); }
.home-diff__etat svg { width: 17px; height: 17px; flex: none; }
.home-diff__item--clac { margin-top: 8px; }
@media (max-width: 719px) {
  ul.home-diff__labels { gap: 10px; }
  .home-diff__nom { min-width: 168px; height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }
  .home-diff__etat { font-size: 13px; }
  .home-diff__logo svg { width: 50px; }
}
.home-diff__item--clac .home-diff__nom { background: var(--cobalt); color: #FFFFFF; box-shadow: var(--sh-cobalt); }
.home-diff__item--clac .home-diff__etat { font-weight: 650; }
.home-diff__logo { display: inline-flex; --logo-rays: var(--ice); }
.home-diff__logo svg { width: 58px; height: auto; }
.home-diff__apres { max-width: 62ch; margin: clamp(28px, 4vw, 44px) auto 0; text-align: center; }
@media (min-width: 720px) {
  .home-diff__media { aspect-ratio: 16 / 9; }
  .home-diff__voile { background: linear-gradient(90deg, rgba(6, 6, 9, .62), rgba(6, 6, 9, .22) 45%, rgba(6, 6, 9, 0) 70%); }
  ul.home-diff__labels { justify-items: start; padding-left: 6%; }
  .home-diff__item { justify-items: center; }
}

/* 6. Clé Hors Poche ---------------------------------------------------------- */
.home-cle__head { display: grid; gap: 22px; margin-bottom: clamp(32px, 5vw, 56px); }
.home-cle__texte { max-width: 52ch; }
@media (min-width: 1024px) {
  .home-cle__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 64px; }
}
.home-cle__field { aspect-ratio: 3 / 4; border-radius: var(--r-lg); background: #0B0C14; }
.home-cle__field > img { transition: filter 1.1s var(--ease), transform 1.6s var(--ease); }
.home-cle__field.is-sieste > img { filter: brightness(.3) saturate(.5) blur(3px); transform: scale(1.05); }
.home-cle__field::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.1s var(--ease);
  background: radial-gradient(50% 46% at 50% 60%, rgba(51, 85, 255, .42), rgba(51, 85, 255, 0) 70%), radial-gradient(36% 30% at 62% 46%, rgba(123, 92, 255, .3), rgba(123, 92, 255, 0) 72%); }
.home-cle__field.is-sieste::after { opacity: 1; }
.home-cle__field > .notif { z-index: 2; }
.home-cle__field.is-sieste > .notif { opacity: 0; filter: blur(8px); }
@media (prefers-reduced-motion: no-preference) {
  .home-cle__field.is-sieste > .notif, .home-cle__field.is-in.is-sieste > .notif { animation: home-notif-out .55s var(--ease) both; animation-delay: calc(var(--d) * .35); }
}
@keyframes home-notif-out { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: translateY(-12px) scale(.9); filter: blur(8px); } }
.home-cle__silence { position: absolute; z-index: 3; left: 50%; bottom: calc(50% + 46px); transform: translate(-50%, 10px); display: grid; justify-items: center; gap: 12px; color: #FFFFFF; text-align: center; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s; }
.home-cle__silence .mono { color: var(--ice); }
.home-cle__mot { font-size: clamp(72px, 13vw, 168px); line-height: .82; }
.home-cle__field.is-sieste .home-cle__silence { opacity: 1; transform: translate(-50%, 0); }
.home-cle__centre { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.home-cle__btn { pointer-events: auto; overflow: hidden; }
.home-cle__onde { position: absolute; left: 29px; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(51, 85, 255, .45); pointer-events: none; animation: home-onde .7s var(--ease) forwards; }
@keyframes home-onde { to { transform: scale(14); opacity: 0; } }
@media (max-width: 719px) {
  .home-cle__field > .notif { font-size: 13.5px; }
  .home-cle__silence { bottom: calc(50% + 40px); }
}
@media (min-width: 720px) {
  .home-cle__field { aspect-ratio: 16 / 9; }
}

/* 7. Modes ------------------------------------------------------------------- */
.home-modes__car { --per: 1.18; }
@media (min-width: 720px) { .home-modes__car { --per: 2.3; } }
@media (min-width: 1024px) { .home-modes__car { --per: 3.25; } }
.home-mode { display: grid; gap: 16px; align-content: start; }
.home-mode__media > img { transition: transform 1.2s var(--ease); }
.home-mode:hover .home-mode__media > img { transform: scale(1.03); }
.home-mode__chip {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; top: auto; transform: none;
  display: grid; justify-items: start; gap: 6px; min-width: 0; padding: 12px 16px 10px; border-radius: 18px;
  background: rgba(255, 255, 255, .76); color: var(--ink); text-align: left;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 20px 40px -24px rgba(11, 11, 13, .6);
}
.home-mode__chip b { font-family: var(--f-sans); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: .92; }
.home-mode__chip > span:not(.home-mode__check) { font-family: var(--f-mono); font-stretch: 75%; font-weight: 450; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink2); }
.home-mode__check { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 255, 255, .75); }
.home-mode__check svg { width: 15px; height: 15px; }
.home-mode__txt { font-size: 15.5px; line-height: 1.55; color: var(--fg2); padding-inline: 2px; max-width: 40ch; text-wrap: pretty; }

/* 8. Bloc offre ----------------------------------------------------------- */
.home-offre { position: relative; isolation: isolate; background: var(--bone); }
.home-offre__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--plank); }
.home-offre__media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.home-offre__wrap { position: relative; margin-top: -84px; padding-bottom: 64px; }
.home-offre__carte {
  display: grid; gap: 18px; max-width: 520px; margin-inline: auto; padding: 28px 22px 24px;
  border-radius: var(--r-lg); background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 0 rgba(11, 11, 13, .04), 0 40px 70px -40px rgba(11, 11, 13, .55);
}
ul.home-offre__liste { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.home-offre__liste li { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; line-height: 1.35; }
.home-offre__liste span { color: var(--ink2); }
.home-offre__liste b { flex: none; max-width: 48%; font-weight: 650; text-align: right; }
.home-offre__prix { display: grid; gap: 6px; }
.home-offre__montant { font-size: clamp(60px, 6vw, 76px); line-height: .82; }
.home-offre__pack { max-width: 40ch; }
@media (min-width: 900px) {
  .home-offre { display: grid; align-items: center; min-height: clamp(660px, 54vw, 860px); }
  .home-offre__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  .home-offre__media img { object-position: 62% 50%; }
  .home-offre__wrap { margin-block: 0; padding-block: 72px; }
  .home-offre__carte {
    margin: 0; max-width: 480px; padding: 40px 36px 32px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  }
}

/* 9. Ce que dit la recherche ------------------------------------------------- */
.home-recherche__panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg);
  background: #1A2230; color: #FFFFFF; --fg: #FFFFFF; --fg2: rgba(255, 255, 255, .76); --accent: var(--ice); --line: rgba(255, 255, 255, .14);
}
.home-recherche__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.home-recherche__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 6, 9, .62) 0%, rgba(6, 6, 9, .3) 38%, rgba(6, 6, 9, .55) 70%, rgba(6, 6, 9, .78) 100%); }
.home-recherche__in { display: grid; gap: clamp(28px, 4vw, 44px); padding: 40px 14px 28px; }
.home-recherche__head { margin: 0; padding-inline: 6px; }
.home-recherche__head .eyebrow::before { background: var(--ice); box-shadow: 0 0 0 3px rgba(168, 188, 255, .18); }
.home-recherche__stats .stat { background: rgba(14, 16, 24, .42); }
.home-stat__mot { font-size: clamp(38px, 3.4vw, 46px); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
.home-recherche__stats .stat__num.num { font-size: clamp(56px, 5.4vw, 72px); }
.home-recherche__stats .stat__txt { font-size: 15px; }
.home-recherche__mention { padding-inline: 6px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .8); max-width: 72ch; }
@media (min-width: 720px) {
  .home-recherche__in { padding: 56px 40px 40px; }
}
@media (min-width: 1024px) {
  .home-recherche__in { padding: 72px 56px 48px; }
  .home-recherche__stats { align-items: stretch; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .home-recherche__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 10. Trailer / l'appli en trois écrans --------------------------------------- */
.home-trailer__video { max-width: 1000px; margin-inline: auto; }
.home-trailer__video .media > img { object-fit: contain; background: var(--night); }
.home-trailer__phones { --per: 1.55; --gap: 18px; max-width: 1000px; margin-inline: auto; }
.home-trailer__phones .carousel__track { padding-bottom: 8px; }
.home-ecran { display: grid; gap: 18px; justify-items: center; margin: 0; }
.home-ecran figcaption { display: grid; gap: 8px; justify-items: center; text-align: center; max-width: 30ch; }
.home-ecran figcaption .mono { color: var(--ice); }
.home-ecran__t { font-size: 15px; line-height: 1.45; color: var(--fg2); text-wrap: balance; }
@media (min-width: 720px) {
  .home-trailer__phones { --per: 3; --gap: 28px; }
}
@media (min-width: 1024px) {
  .home-trailer__phones { --gap: 56px; }
  .home-trailer__phones .carousel__track { padding-top: 8px; padding-bottom: 48px; }
  .home-ecran:nth-child(2) { transform: translateY(40px); }
}

/* 12. Encore des raisons --------------------------------------------------- */
.home-raisons__panel { display: grid; gap: 12px; }
.home-raisons__media { margin: 0; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--plank); }
.home-raisons__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.home-raisons__grille { display: grid; gap: 12px; }
.home-raison { display: grid; gap: 10px; align-content: start; padding: 24px 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }
.home-raison__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); }
.home-raison__ico svg { width: 22px; height: 22px; }
.home-raison__t { margin-top: 6px; font-family: var(--f-sans); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: .95; }
.home-raison p { font-size: 15px; line-height: 1.5; color: var(--fg2); text-wrap: pretty; }
@media (min-width: 720px) {
  .home-raisons__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .home-raisons__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: 880px; border-radius: var(--r-lg); padding: 24px; }
  .home-raisons__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; aspect-ratio: auto; }
  .home-raisons__media img { object-position: 50% 40%; }
  .home-raisons__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 6, 9, 0) 45%, rgba(6, 6, 9, .45) 100%); }
  .home-raisons__grille {
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 8px 0;
    border-radius: 22px; background: rgba(14, 14, 20, .5); color: #FFFFFF;
    -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  }
  .home-raison { background: transparent; box-shadow: none; border-radius: 0; color: #FFFFFF; --fg2: rgba(255, 255, 255, .74); padding: 26px 26px 28px; }
  .home-raison + .home-raison { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .12); }
  .home-raison__ico { background: rgba(168, 188, 255, .16); color: var(--ice); }
}

/* 13. FAQ courte --------------------------------------------------------- */
.home-faq .home-cta { margin-top: 28px; }

/* 14. CTA final --------------------------------------------------------- */
.home-final__grid { display: grid; gap: 8px; align-items: center; }
.home-final__media { margin: 0 auto; width: min(100%, 420px); aspect-ratio: 1 / 1; }
.home-final__media img { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.home-final__txt { display: grid; gap: 20px; justify-items: center; text-align: center; }
.home-final__txt .lead { font-size: clamp(20px, 2vw, 24px); color: var(--fg); }
@media (min-width: 900px) {
  .home-final__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; }
  .home-final__media { order: 2; width: min(100%, 560px); }
  .home-final__txt { justify-items: start; text-align: left; }
}

/* 15. Newsletter --------------------------------------------------------- */
.home-news__grid { display: grid; gap: 24px; align-items: center; }
.home-news__msg:empty { display: none; }
.home-news__msg.is-err { color: var(--err); }
.home-news .newsletter input[aria-invalid="true"] { color: var(--err); }
@media (min-width: 900px) {
  .home-news__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .home-news__form { justify-items: end; }
  .home-news__form .fine { max-width: 520px; width: 100%; }
}
@media (max-width: 400px) {
  .home-news .newsletter .btn { --pad: 16px; }
}
