/* =========================================================
   Wolf Polymers — feuille de style
   Implémentation du design « Wolf Polymers v2 ».
   Desktop fidèle au design, responsive ajouté (mobile-first réel).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Permet d'animer une hauteur vers auto (ouverture de la FAQ). */
  interpolate-size: allow-keywords;

  --ink: #0b0d11;
  --ink-2: #12151b;
  --ink-3: #14171c;
  --cream: #efece5;
  --cream-2: #f5f2eb;
  --white: #fff;
  --paper: #f1eee8;

  --gold: #c29a5b;
  --gold-light: #ddbe8a;
  /* Or foncé pour texte sur fond clair. #8f6e3c ne donnait que 3.99:1 sur le
     crème : sous le seuil AA, et il servait tous les eyebrow de sections. */
  --gold-dark: #7d5f31;
  --gold-darker: #5f4724;

  --on-dark: #f1eee8;
  --on-dark-soft: #d5dae0;
  --on-dark-mid: #c6cbd2;
  --on-dark-muted: #9aa3af;
  --on-dark-dim: #8b94a0;
  /* 4.23:1 auparavant, sous AA pour du mono 11px. */
  --on-dark-faint: #79818d;

  --on-light: #14171c;
  --on-light-2: #2a333f;
  --on-light-muted: #565e68;
  --on-light-dim: #6b7280;
  /* 3.12:1 auparavant sur crème. */
  --on-light-faint: #706b5e;

  --line-dark: rgba(255, 255, 255, 0.09);
  --line-dark-2: rgba(255, 255, 255, 0.16);
  --line-dark-3: rgba(255, 255, 255, 0.22);
  --line-light: #e2ddd0;
  --line-light-2: #d8d2c4;
  --line-light-3: #dcd6c8;

  --wa: #25d366;
  --wa-hi: #3be07a;
  --wa-ink: #0b2e1a;
  --wechat: #07c160;

  --display: "Big Shoulders Display", "Big Shoulders", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  --header-h: 74px;
  --shell: 1240px;
  --gutter: 32px;
  /* Signature de mouvement : démarrage immédiat, arrêt net, aucun rebond.
     L'ancienne courbe traînait en fin de course et donnait un rendu mou. */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-line: cubic-bezier(0.4, 0, 0.1, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(194, 154, 91, 0.35);
}

input::placeholder,
textarea::placeholder {
  color: #a29b8b;
}

summary::-webkit-details-marker {
  display: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--ink-3);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 2px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  color: var(--ink-3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Primitives ---------- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
}

/* Rythme vertical interne d'une section : titre, contenu, contenu… */
.stack {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.maison .stack {
  gap: 56px;
}

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.kicker--dark {
  color: var(--gold-dark);
}

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  /* 6vw au lieu de 4.6 : à 4.6 le titre restait bloqué sur son plancher
     jusqu'à 830px, la hiérarchie s'écrasait sur toute la plage tablette. */
  font-size: clamp(34px, 6vw, 66px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-note {
  margin: 0;
  max-width: 360px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--on-light-muted);
  text-wrap: pretty;
}

.icon {
  flex: none;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease),
    transform 0.12s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: var(--ink-3);
}
.btn--gold:hover {
  background: var(--gold-light);
  color: var(--ink-3);
}
.btn--ghost {
  border-color: var(--line-dark-3);
  color: var(--on-dark);
  font-weight: 600;
  background: none;
}
.btn--ghost:hover {
  border-color: var(--wa);
  background: rgba(37, 211, 102, 0.08);
  color: var(--on-dark);
}
.btn--ghost-light {
  border-color: #c9c2b0;
  background: var(--white);
  color: var(--on-light);
  font-weight: 600;
  font-size: 14px;
}
.btn--ghost-light:hover {
  border-color: var(--wa);
  background: #f2fbf5;
  color: var(--on-light);
}
.btn--wa {
  background: var(--wa);
  color: var(--wa-ink);
  width: 100%;
  font-size: 14.5px;
}
.btn--wa:hover {
  background: var(--wa-hi);
  color: var(--wa-ink);
}
.btn--wa-soft {
  background: #f2fbf5;
  color: #0c7a3c;
  border-color: #bfe6cc;
  font-size: 14px;
}
.btn--wa-soft:hover {
  background: #e2f5e9;
  color: #0a6633;
}

.arrow-link {
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  transition: color 0.2s var(--ease);
}
.arrow-link .icon {
  transition: transform 0.2s var(--ease);
}
.arrow-link:hover .icon {
  transform: translateX(4px);
}

/* ---------- Retour au clic ----------
   Aucun état :active n'existait : sur mobile, un appui sur un CTA ne
   produisait aucun retour visuel avant le déclenchement de l'action. */
.btn:active,
.lang:active,
.wa-float:active {
  transform: scale(0.97);
}
.card:active {
  transform: translateY(-1px);
}
.sector:active {
  background: var(--ink-2);
}
.sector--cta:active {
  background: var(--gold-light);
}
.faq__q:active,
.contact-row:active,
.nav__link:active,
.footer__link:active {
  opacity: 0.7;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--on-dark);
  flex: none;
}
.brand:hover {
  color: var(--on-dark);
}
.brand__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.1em;
}
.brand__sub {
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
}
.nav__link {
  color: var(--on-dark-mid);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav__link:hover {
  color: var(--on-dark);
}
.nav__sep {
  width: 1px;
  height: 22px;
  background: var(--line-dark-2);
  flex: none;
}
.nav__tel {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #98a0ab;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav__tel:hover {
  color: var(--gold-light);
}
.nav__cta {
  min-height: 44px;
  padding: 12px 22px;
  font-size: 13.5px;
  white-space: nowrap;
}

.langs {
  display: flex;
  gap: 6px;
  flex: none;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  cursor: pointer;
  padding: 8px 10px;
  min-height: 44px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--on-dark);
  border: 1px solid var(--line-dark-2);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.lang:hover {
  opacity: 1;
  color: var(--on-dark);
}
.lang[aria-current="page"] {
  border-color: var(--gold);
  opacity: 1;
}

/* ---------- Sélecteur de langue compact (mobile / tablette) ---------- */
.header__mobile {
  display: none;
  align-items: center;
  gap: 10px;
  flex: none;
}

.langpick {
  position: relative;
}
.langpick__btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 11px;
  border: 1px solid var(--line-dark-2);
  border-radius: 2px;
  background: none;
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.langpick__btn::-webkit-details-marker {
  display: none;
}
.langpick__btn:hover,
.langpick[open] .langpick__btn {
  border-color: var(--gold);
  background: rgba(194, 154, 91, 0.1);
}
.langpick__chevron {
  transition: transform 0.22s var(--ease);
  opacity: 0.7;
}
.langpick[open] .langpick__chevron {
  transform: rotate(180deg);
}

.langpick__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ink-2);
  border: 1px solid var(--line-dark-2);
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  animation: wp-pop 0.2s var(--ease) both;
}
.langpick__opt {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 2px;
  color: var(--on-dark-mid);
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.langpick__opt:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-dark);
}
.langpick__opt[aria-current="page"] {
  color: var(--gold);
  background: rgba(194, 154, 91, 0.12);
}
.langpick__opt[aria-current="page"]::after {
  content: "";
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes wp-pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-dark-2);
  border-radius: 2px;
  color: var(--on-dark);
  cursor: pointer;
  flex: none;
}
.burger__bars,
.burger__bars::before,
.burger__bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.15s;
}
.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
}
.burger__bars {
  position: relative;
}
.burger__bars::before {
  transform: translateY(-6px);
}
.burger__bars::after {
  transform: translateY(6px);
}
.nav-open .burger__bars {
  background: transparent;
}
.nav-open .burger__bars::before {
  transform: rotate(45deg);
}
.nav-open .burger__bars::after {
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(420px, 660px) minmax(380px, 620px) minmax(0, 1fr);
  min-height: 700px;
}
.hero__body {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 168px 48px 120px 8px;
  position: relative;
  z-index: 2;
}
.hero__h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 10vw, 108px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.hero__h1 span {
  color: var(--gold);
}
.hero__sub {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 520px;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero__trust {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.7;
  color: var(--on-dark-faint);
}
.hero__media {
  grid-column: 3 / -1;
  position: relative;
  min-height: 520px;
}
.hero__blade {
  position: absolute;
  inset: 0;
  clip-path: polygon(94px 0, 106px 0, 12px 100%, 0 100%);
  background: var(--gold);
  z-index: 1;
}
.hero__frame {
  position: absolute;
  inset: 0;
  clip-path: polygon(118px 0, 100% 0, 100% 100%, 24px 100%);
  overflow: hidden;
}
.hero__frame picture {
  display: contents;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.9);
  animation: wp-zoom 26s ease-in-out infinite alternate;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 13, 17, 0.72) 0%, rgba(11, 13, 17, 0.18) 45%, rgba(11, 13, 17, 0.05) 75%),
    linear-gradient(0deg, rgba(11, 13, 17, 0.55) 0%, rgba(11, 13, 17, 0) 32%);
}
.caption {
  position: absolute;
  background: rgba(11, 13, 17, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  padding: 9px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--on-dark-soft);
}
/* décalé vers la gauche pour ne pas passer sous le bouton WhatsApp flottant */
.caption--hero {
  right: 104px;
  bottom: 24px;
}
.caption--eng {
  left: 22px;
  bottom: 22px;
}

/* Entrées hero (au chargement, pas au scroll) */
.hero__body > * {
  animation: wp-fade-up 0.8s var(--ease) both;
}
.hero__body > :nth-child(1) {
  animation-duration: 0.7s;
  animation-delay: 0.05s;
}
.hero__body > :nth-child(2) {
  animation-delay: 0.16s;
}
.hero__body > :nth-child(3) {
  animation-delay: 0.3s;
}
.hero__body > :nth-child(4) {
  animation-delay: 0.44s;
}
.hero__body > :nth-child(5) {
  animation-delay: 0.58s;
}
.hero__media {
  animation: wp-fade 0.9s 0.25s both;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: wp-marquee 36s linear infinite;
}
/* WCAG 2.2.2 : tout mouvement automatique de plus de 5 s doit pouvoir
   être arrêté. Le survol suffit ici, le bandeau n'est pas interactif. */
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  gap: 56px;
  align-items: center;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 56px;
}
.marquee__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--on-dark);
  white-space: nowrap;
}
.marquee__label span {
  color: var(--gold);
}
.marquee__dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
  flex: none;
}

/* ---------- Sections génériques ---------- */
.section {
  padding: 100px var(--gutter);
  scroll-margin-top: var(--header-h);
}
.section--cream {
  background: var(--cream);
  color: var(--on-light);
}
.section--cream-2 {
  background: var(--cream-2);
  color: var(--on-light);
  border-top: 1px solid var(--line-light);
}
.section--ink {
  background: var(--ink);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section__head-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---------- La maison ---------- */
.maison {
  padding: 110px var(--gutter) 90px;
}
/* 360px pour passer en deux colonnes vers 830px, comme la FAQ : à 400px
   la section restait empilée jusqu'à 1024 alors que ses voisines dédoublaient. */
.maison__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 64px;
  align-items: start;
}
.maison__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.maison__p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-light-muted);
  max-width: 520px;
  text-wrap: pretty;
}
.pillars {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line-light-2);
}
.pillar {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px 18px;
  border-top: 1px solid var(--line-light-2);
  padding: 24px 0;
}
.pillar__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  color: var(--gold);
}
.pillar__title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--on-light);
  margin-bottom: 5px;
}
.pillar__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-light-muted);
  text-wrap: pretty;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 28px;
  border-top: 1px solid var(--line-light-2);
  padding-top: 34px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__v {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--on-light);
}
.stat__l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-faint);
}

/* ---------- Catalogue ---------- */
/* 250px : la grille bascule en 2 colonnes dès ~530px de viewport.
   À 280px elle restait en colonne unique jusqu'à 700px, avec des cartes
   de 545px de large pour trois lignes de texte. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 14px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(20, 23, 28, 0.09);
}
.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.card__code {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 800;
  line-height: 0.9;
  color: var(--on-light);
}
.card__dots {
  display: flex;
  flex: none;
}
.card__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-left: -5px;
  border: 1px solid rgba(20, 23, 28, 0.14);
  box-shadow: inset 2px 3px 4px rgba(255, 255, 255, 0.75), inset -2px -3px 4px rgba(0, 0, 0, 0.14);
}
.card__id {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--on-light-2);
}
.card__grades {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}
.card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-light-muted);
  text-wrap: pretty;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--on-light-dim);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  padding: 4px 9px;
}
.card__cta {
  margin-top: auto;
  padding-top: 10px;
  color: var(--gold-dark);
}
/* Au survol on fonce : passer à l'or clair sur fond blanc rendait le lien
   moins lisible qu'au repos. */
.card__cta:hover {
  color: var(--gold-darker);
}

.card--custom {
  background: var(--ink-3);
  border: none;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
/* Le lift casserait le clip-path de coin : on remplace par un halo doré
   plutôt que de laisser cette carte sans aucun retour au survol. */
.card--custom:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px var(--gold), 0 16px 34px rgba(20, 23, 28, 0.16);
}
.card--custom .card__code {
  color: var(--gold);
}
.card--custom .card__name {
  color: var(--on-dark);
}
.card--custom .card__desc {
  color: var(--on-dark-muted);
}
.card--custom .card__cta {
  color: var(--gold);
}
.card--custom .card__cta:hover {
  color: var(--gold-light);
}

/* ---------- Secteurs ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sector {
  background: var(--ink);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color 0.2s var(--ease);
}
.sector:hover {
  background: var(--ink-2);
}
/* Sur fond sombre, c'est l'or clair qui contraste (7.47:1) — l'or foncé
   des sections claires n'y donnait que 4.13:1. */
.sector__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
}
.sector__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 29px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.sector__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.sector--cta {
  background: var(--gold);
  color: var(--ink-3);
}
.sector--cta:hover {
  background: var(--gold-light);
  color: var(--ink-3);
}
.sector--cta .sector__num {
  color: var(--ink-3);
  opacity: 0.65;
}
.sector--cta .sector__name {
  color: inherit;
}
.sector--cta .sector__desc {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* ---------- Process ---------- */
/* Colonnes explicites : en auto-fit, les 4 étapes tombaient en 3 + 1
   entre 830 et 1024px. 1 / 2 / 4 garde toujours des lignes pleines. */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 28px;
  row-gap: 34px;
}
.step {
  border-top: 2px solid var(--line-light-2);
  padding: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step--first {
  border-top-color: var(--gold);
}
/* #b8ae99 sur crème ne donnait que 1.86:1, et l'étape active 2.21:1 :
   les quatre numéros du process étaient quasi invisibles. */
.step__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 52px;
  line-height: 0.9;
  color: #8f8470;
}
.step--first .step__num {
  color: var(--gold-dark);
}
.step__title {
  font-size: 16.5px;
  font-weight: 700;
}
.step__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-light-muted);
  text-wrap: pretty;
}

/* ---------- Engagements ---------- */
.engagements {
  padding: 104px var(--gutter) 0;
}
.eng__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 72px;
  align-items: center;
  padding-bottom: 88px;
}
.eng__media {
  position: relative;
}
.eng__frame {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 58px), calc(100% - 58px) 100%, 0 100%);
  overflow: hidden;
  border-radius: 3px;
}
.eng__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: sepia(0.28) saturate(0.8) contrast(1.06) brightness(0.9);
}
.eng__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 13, 17, 0.68) 0%, rgba(11, 13, 17, 0.16) 45%),
    linear-gradient(120deg, rgba(11, 13, 17, 0.45) 0%, rgba(11, 13, 17, 0.08) 60%);
}
.eng__corner {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 58px;
  height: 58px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: var(--gold);
}
.eng__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.eng__body .h2 {
  margin-bottom: 8px;
  color: var(--on-dark);
}
.commitments {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
}
.commitment__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--gold);
}
.commitment__title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 5px;
}
.commitment__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.packs-bar {
  border-top: 1px solid var(--line-dark);
}
.packs {
  padding: 34px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 28px;
}
.pack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pack__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--on-dark);
}
.pack__sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 64px;
  align-items: start;
}
.faq__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.faq__sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--on-light-muted);
  max-width: 400px;
  text-wrap: pretty;
}
.wechat {
  background: var(--white);
  border: 1px solid var(--line-light-2);
  border-left: 3px solid var(--wechat);
  border-radius: 3px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  max-width: 430px;
  box-shadow: 0 14px 30px rgba(20, 23, 28, 0.07);
}
.wechat__qr {
  width: 150px;
  height: 150px;
  object-fit: contain;
  flex: none;
  background: var(--white);
}
.wechat__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.wechat__head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.wechat__led {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wechat);
  display: inline-block;
  flex: none;
}
.wechat__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--on-light);
}
.wechat__sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-light-muted);
  text-wrap: pretty;
}
.wechat__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a8544;
}

.faqs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-light-2);
}
.faq {
  border-bottom: 1px solid var(--line-light-2);
}
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  min-height: 44px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--on-light);
  transition: color 0.2s var(--ease);
}
.faq__q:hover {
  color: var(--gold-darker);
}
.faq__q::marker {
  content: "";
}
.faq__sign {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
  flex: none;
  transition: transform 0.2s var(--ease);
}
.faq[open] .faq__sign {
  transform: rotate(45deg);
}
.faq__a {
  margin: 0;
  padding: 0 32px 20px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-light-muted);
  text-wrap: pretty;
}

/* L'icône « + » pivotait en douceur mais la réponse apparaissait d'un coup.
   Là où le navigateur sait animer le contenu d'un <details>, on l'anime ;
   ailleurs, l'ouverture instantanée native reste le repli. */
@supports selector(details::details-content) {
  .faq::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.3s var(--ease), content-visibility 0.3s var(--ease) allow-discrete;
  }
  .faq[open]::details-content {
    block-size: auto;
  }
}

/* ---------- Devis ---------- */
.devis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
  align-items: start;
}
.contact-card {
  background: var(--ink-3);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 430px;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
  border-radius: 3px;
}
.contact-card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-card__id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-card__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
}
.contact-card__name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--on-dark);
  text-transform: uppercase;
}
.contact-card__role {
  font-size: 13px;
  color: var(--on-dark-muted);
}
.contact-card__rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--on-dark-soft);
  font-size: 14.5px;
  word-break: break-word;
}
.contact-row:hover {
  color: var(--gold-light);
}
.contact-card__hours {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--on-dark-faint);
  line-height: 1.7;
}

.form {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-light-dim);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  min-height: 48px;
  border: 1px solid var(--line-light-3);
  border-radius: 2px;
  background: #faf8f4;
  font-family: var(--body);
  font-size: 16px;
  color: var(--on-light);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input,
.field select,
.field textarea {
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
/* L'anneau à 16% d'opacité se voyait à peine sur le fond des champs. */
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(125, 95, 49, 0.38);
}
.form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.form__note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--on-light-faint);
}
.form__sent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2f7ee;
  border: 1px solid #cbe3bf;
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #3c6b2f;
}
.form__sent[hidden] {
  display: none;
}
/* Repli sur la messagerie : ce n'est pas un succès, on le signale en ambre. */
.form__sent[data-state="fallback"] {
  background: #fdf6e8;
  border-color: #e6d4ab;
  color: #7a5c1f;
}
.form.is-sending {
  cursor: progress;
}
.form.is-sending button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}
/* Lien de secours affiché juste après l'envoi : il héritait de l'or global,
   soit 2.39:1 sur ce fond vert pâle. */
.form__sent a {
  color: #3c6b2f;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__sent a:hover {
  color: #2f5726;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  padding: 72px var(--gutter) 32px;
  border-top: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}
.footer__watermark {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 480px;
  height: 480px;
  object-fit: contain;
  opacity: 0.05;
  pointer-events: none;
}
.footer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 40px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__tagline {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--on-dark-dim);
  max-width: 300px;
}
.footer__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.footer__link {
  color: var(--on-dark-mid);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__link:hover {
  color: var(--gold-light);
}
.footer__baseline {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--on-dark-faint);
}

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s var(--ease), background-color 0.2s var(--ease);
  animation: wp-fade-up 0.6s 1s both;
}
.wa-float:hover {
  transform: scale(1.08);
  background: var(--wa-hi);
}

/* ---------- Reveal au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.26s var(--ease), transform 0.34s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal--fade {
  transform: none;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Les titres se découvrent derrière un masque qui glisse, pas en fondu.
   -3% à droite pour ne pas rogner les jambages des glyphes. */
.reveal .h2 {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.46s var(--ease-line) 0.05s;
}
.reveal.is-in .h2 {
  clip-path: inset(0 -3% 0 0);
}

/* Le filet doré des eyebrow se trace au lieu d'exister d'emblée. */
.kicker::before {
  width: 0;
  transition: width 0.34s var(--ease-line) 0.14s;
}
.is-in .kicker::before,
.hero__body .kicker::before {
  width: 34px;
}

/* Les règles du process se tirent de gauche à droite, décalées. */
.step {
  position: relative;
  border-top: none;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-light-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.44s var(--ease-line);
  transition-delay: var(--rule-delay, 0s);
}
.is-in .step::before {
  transform: scaleX(1);
}
.step--first::before {
  background: var(--gold-dark);
}
.steps .step:nth-child(2) { --rule-delay: 0.08s; }
.steps .step:nth-child(3) { --rule-delay: 0.16s; }
.steps .step:nth-child(4) { --rule-delay: 0.24s; }
/* Sans JS, rien ne se déclenche : tout doit être visible d'emblée. */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}
html:not(.js) .reveal .h2 {
  clip-path: none;
}
html:not(.js) .kicker::before {
  width: 34px;
}
html:not(.js) .step::before {
  transform: scaleX(1);
}

/* Décalage progressif dans les grilles : sans lui, les cartes révélées
   individuellement entraient toutes en même temps sur grand écran et
   l'effet retombait à plat. */
.cards > .reveal:nth-child(1) { --reveal-delay: 0s; }
.cards > .reveal:nth-child(2) { --reveal-delay: 0.04s; }
.cards > .reveal:nth-child(3) { --reveal-delay: 0.08s; }
.cards > .reveal:nth-child(4) { --reveal-delay: 0.12s; }
.cards > .reveal:nth-child(5) { --reveal-delay: 0.16s; }
.cards > .reveal:nth-child(6) { --reveal-delay: 0.2s; }
.cards > .reveal:nth-child(7) { --reveal-delay: 0.24s; }
.cards > .reveal:nth-child(8) { --reveal-delay: 0.28s; }

/* Le chiffre change de couleur pendant que le compteur tourne. */
.stat__v {
  transition: color 0.3s var(--ease);
}
.stat__v.is-counting {
  color: var(--gold-dark);
}

/* ---------- Keyframes ---------- */
@keyframes wp-marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes wp-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes wp-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes wp-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* =========================================================
   Responsive
   ========================================================= */

/* Process : 1 colonne, puis 2x2, puis 4 de front. Jamais 3 + 1. */
@media (min-width: 560px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Header : bascule en menu déroulant */
@media (max-width: 1180px) {
  .burger {
    display: inline-flex;
  }
  .header__mobile {
    display: flex;
  }
  /* Les deux drapeaux côte à côte laissent la place au sélecteur compact. */
  .nav > .langs {
    display: none;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__link {
    min-height: 52px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__sep {
    display: none;
  }
  .nav__tel {
    min-height: 52px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav__cta {
    margin-top: 16px;
    justify-content: center;
    font-size: 15px;
    min-height: 52px;
  }
}

/* Hero : empilement */
@media (max-width: 1024px) {
  .hero {
    display: block;
    min-height: 0;
  }
  .hero__body {
    padding: calc(var(--header-h) + 56px) var(--gutter) 56px;
    max-width: 720px;
    margin: 0 auto;
  }
  .hero__media {
    position: relative;
    min-height: 0;
    height: 360px;
  }
  .hero__blade {
    clip-path: polygon(0 0, 100% 0, 100% 10px, 0 10px);
  }
  .hero__frame {
    clip-path: none;
  }
  .caption--hero {
    right: 84px;
    bottom: 16px;
  }
}

/* Tablette */
@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }
  .maison__grid,
  .eng__grid,
  .faq__grid {
    gap: 44px;
  }
  .section {
    padding: 76px var(--gutter);
  }
  .maison {
    padding: 76px var(--gutter) 64px;
  }
  .engagements {
    padding: 76px var(--gutter) 0;
  }
  .eng__grid {
    padding-bottom: 64px;
  }
  .eng__img {
    height: 340px;
  }
  .step {
    padding-right: 20px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --gutter: 20px;
  }
  .brand__mark {
    width: 36px;
    height: 36px;
  }
  .brand__name {
    font-size: 19px;
  }
  .brand__sub {
    font-size: 7.5px;
    letter-spacing: 0.42em;
  }
  .hero__body {
    gap: 22px;
    padding: calc(var(--header-h) + 40px) var(--gutter) 44px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__media {
    height: 280px;
  }
  .marquee__label {
    font-size: 21px;
  }
  .marquee__track,
  .marquee__group,
  .marquee__item {
    gap: 34px;
  }
  .card--custom {
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  }
  .contact-card {
    padding: 26px 22px;
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  }
  .form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .form__actions .btn {
    width: 100%;
  }
  .wechat {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .wechat__qr {
    width: 100%;
    height: auto;
    max-width: 220px;
    align-self: center;
  }
  .eng__frame {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), calc(100% - 38px) 100%, 0 100%);
  }
  .eng__corner {
    width: 38px;
    height: 38px;
  }
  .eng__img {
    height: 260px;
  }
  .commitments {
    grid-template-columns: 42px 1fr;
    gap: 10px 14px;
  }
  .step {
    padding: 22px 0 0;
  }
  .step__num {
    font-size: 44px;
  }
  .footer {
    padding: 56px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  }
  .footer__cols {
    gap: 32px;
  }
  .footer__watermark {
    width: 320px;
    height: 320px;
    right: -70px;
    bottom: -90px;
  }
  .wa-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
  .section__head {
    align-items: flex-start;
  }
}

/* ---------- Préférences système ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal .h2 {
    clip-path: none !important;
  }
  .kicker::before {
    width: 34px !important;
  }
  .step::before {
    transform: scaleX(1) !important;
  }
  .marquee__track {
    animation: none;
    transform: none;
  }
  .hero__img {
    animation: none;
  }
  /* Le retour au clic reste, mais sans saut d'échelle. */
  .btn:active,
  .lang:active,
  .wa-float:active,
  .card:active {
    transform: none;
  }
  .arrow-link:hover .icon {
    transform: none;
  }
}

@media print {
  .header,
  .wa-float,
  .marquee {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
