/* Site vitrine EMX (maquette Figma « Plaquette EMX » du 2026-10-30) : feuille de la page `/vitrine` (ADR-0077), Inter fournie par
   l'application (`--emx-police-inter`). */
:root {
  --vert-vif: #01865c;
  --vert-marque: #035635;
  --vert-profond: #052710;
  --vert-nuit: #031a0b;
  --citron: #d5e970;
  --fond-doux: #f2f4f3;
  --blanc: #ffffff;
  --encre: #141b18;
  --encre-secondaire: #515d58;
  --largeur: min(1320px, calc(100% - clamp(32px, 8vw, 128px)));
  --hauteur-barre: 80px;
  --ombre: 0 24px 48px -24px rgba(3, 26, 11, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hauteur-barre);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--blanc);
  color: var(--encre);
  font:
    400 16px/1.5 var(--emx-police-inter, 'Inter'),
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Le site vit dans l'application : son fond et son texte ne dépendent pas du thème choisi dans le BO. */
.vitrine {
  background: var(--blanc);
  color: var(--encre);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}
:focus-visible {
  outline: 3px solid var(--citron);
  outline-offset: 3px;
  border-radius: 6px;
}
.bloc {
  width: var(--largeur);
  margin: 0 auto;
}
.surtitre {
  margin: 0 0 10px;
  color: var(--vert-vif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Logo, badges des magasins */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--blanc);
  text-decoration: none;
  line-height: 1;
}
.logo img {
  height: 40px;
  width: auto;
}
.logo span {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.magasins {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 156px;
  padding: 8px 16px 8px 12px;
  border-radius: 12px;
  background: #000000;
  color: var(--blanc);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
}
.badge > span {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}
.badge small {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Barre de navigation : transparente sur la photo, pleine dès qu'on fait défiler */
.barre {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--blanc);
  transition:
    background-color 0.25s,
    box-shadow 0.25s;
}
.barre.pleine {
  background: rgba(5, 39, 16, 0.92);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--hauteur-barre);
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.nav ul a:not(.bouton) {
  opacity: 0.85;
  transition: opacity 0.15s;
}
.nav ul a:not(.bouton):hover {
  opacity: 1;
}
.bouton {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--citron);
  color: var(--vert-profond) !important;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.bouton:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(213, 233, 112, 0.7);
}
/* Bouton secondaire de la barre (version web) : contour blanc, même hauteur que le bouton citron */
.bouton-contour {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  color: var(--blanc) !important;
}
.bouton-contour:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1.5px var(--blanc);
}

/* Menu à trois traits : téléphone et tablette seulement */
.menu-bouton {
  display: none;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: transparent;
  color: var(--blanc);
  cursor: pointer;
}
.menu-bouton span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.barre.ouverte .menu-bouton span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.barre.ouverte .menu-bouton span:nth-child(2) {
  opacity: 0;
}
.barre.ouverte .menu-bouton span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Bandeau d'ouverture */
.heros {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(720px, 94vh);
  padding-top: var(--hauteur-barre);
  color: var(--blanc);
}
.heros > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 60% center;
}
.heros::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 26, 11, 0.55) 0%, transparent 22%),
    linear-gradient(0deg, rgba(3, 26, 11, 0.75) 0%, transparent 40%),
    linear-gradient(90deg, rgba(5, 39, 16, 0.85) 0%, rgba(5, 39, 16, 0.3) 55%, transparent 100%);
}
.heros-contenu {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 10vh, 120px) 0 clamp(48px, 8vh, 88px);
}
/* Titre en deux épaisseurs : la promesse en léger, le lieu en gras citron */
.heros h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.heros h1 span {
  display: block;
  color: var(--citron);
  font-weight: 800;
}
/* La phrase qui dit ce qu'on fait, sous le titre */
.heros-texte {
  max-width: 520px;
  margin: clamp(16px, 2vw, 24px) 0 clamp(28px, 3.5vw, 40px);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
}
/* L'appel à l'action : envoyer un colis tout de suite (app web), les magasins publiés à côté */
.heros-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.bouton-envoyer {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 8px 8px 8px 30px;
  border-radius: 999px;
  background: var(--citron);
  color: var(--vert-profond);
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(213, 233, 112, 0.75);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.bouton-envoyer span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--vert-profond);
  color: var(--citron);
}
.bouton-envoyer svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.bouton-envoyer:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(213, 233, 112, 0.9);
}
.bouton-envoyer:hover svg {
  transform: translateX(3px);
}
.pied .bouton-envoyer {
  min-height: 52px;
  padding-left: 24px;
  font-size: 16px;
}
.pied .bouton-envoyer span {
  width: 38px;
  height: 38px;
}
/* Tant qu'aucune application n'est publiée : une ligne discrète, sans badge vide */
.bientot-app {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.bientot-app svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--citron);
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* Grand titre de section (À propos, Pourquoi nous choisir ?) */
.grand-titre {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* À propos : photo pleine hauteur jusqu'au bord de l'écran, texte aéré à droite (comme la maquette) */
.apropos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(680px, 85vh);
  background: var(--fond-doux);
}
.apropos > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 30%;
}
.apropos-contenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding: clamp(56px, 7vw, 104px) clamp(24px, 6vw, 96px);
}
/* Titre en petite étiquette : c'est le message qui porte la section (À propos, Nos services). */
.titre-etiquette {
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* Le message en léger et gris ; les mots clés (`**…**` au BO) en gras foncé */
.apropos-texte {
  margin: 0;
  color: var(--encre-secondaire);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.apropos-texte strong {
  color: var(--encre);
  font-weight: 700;
}
/* L'accroche en citation sobre : un trait vert à gauche, sans italique */
.apropos-accroche {
  margin: clamp(28px, 3vw, 40px) 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--vert-vif);
  color: var(--vert-marque);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.4;
  font-weight: 600;
}
.apropos-accroche strong {
  font-weight: 800;
}

/* Pourquoi nous choisir ? : grille éditoriale en colonnes numérotées, illustrations au trait */
.pourquoi {
  padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(1, 134, 92, 0.3), transparent 70%), var(--vert-profond);
  color: var(--blanc);
}
.pourquoi .surtitre {
  color: var(--citron);
}
.pourquoi-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.pourquoi-entete .titre-etiquette {
  margin: 0;
}
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: var(--blanc);
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.lien-fleche span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--citron);
  color: var(--vert-profond);
}
.lien-fleche svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.lien-fleche:hover {
  box-shadow: inset 0 0 0 1px var(--citron);
}
.lien-fleche:hover svg {
  transform: translateX(3px);
}
.atouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  /* Colonnes séparées par de l'espace, pas par des traits : plus aéré */
  gap: clamp(32px, 5vw, 80px);
}
.atouts > li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
/* Trait citron qui se déploie en haut de la colonne survolée */
.atouts > li::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--citron);
  transition: width 0.4s ease;
}
.atouts > li:hover::before {
  width: 100%;
}
.numero {
  color: var(--citron);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.illustration {
  width: 112px;
  height: 72px;
  margin: 28px 0 32px;
  overflow: visible;
  color: rgba(255, 255, 255, 0.9);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    color 0.3s,
    transform 0.4s ease;
}
.illustration .accent {
  fill: var(--citron);
  stroke: var(--citron);
}
.illustration .pointilles {
  stroke-dasharray: 4 6;
}
.illustration .ruban {
  stroke: var(--vert-profond);
}
/* Étape posée sur le tracé : fond de la section pour masquer les pointillés dessous */
.illustration .plein {
  fill: var(--vert-profond);
}
.illustration .discret {
  opacity: 0.35;
}
.atouts > li:hover .illustration {
  color: var(--citron);
  transform: translateY(-4px);
}
.atouts h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
  /* Deux lignes réservées : les points des trois colonnes commencent à la même hauteur */
  min-height: 2.4em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.5;
}
/* Points sans trait de séparation : un simple espace */
.points li {
  padding: 0;
}

/* Nos services : fond clair entre deux sections sombres ; le téléphone et le camion font la partie image */
.services {
  padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 10vw, 128px);
  background: var(--blanc);
  color: var(--encre);
}
.services .surtitre {
  color: var(--vert-vif);
}
.services-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
/* Tout le texte à droite : petite ligne, titre en étiquette, puis la liste */
.services-texte .titre-etiquette {
  margin-bottom: clamp(24px, 3vw, 40px);
}
/* Le visuel : le téléphone, et le camion DEVANT lui en bas à droite (il ne touche que le bord de l'écran) */
.services-visuel {
  position: relative;
  margin: 0;
  padding-bottom: 8%;
}
/* Téléphone animé : vraies captures de l'app qui s'enchaînent (telephone-anime.js) */
.telephone-anime {
  position: relative;
  isolation: isolate;
  width: 44%;
  padding: 2.4%;
  border-radius: 13% / 6%;
  background: #0d0f0e;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    0 30px 60px -12px rgba(0, 0, 0, 0.55);
}
.telephone-ecran {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 10.5% / 4.9%;
  background: var(--blanc);
}
.telephone-ecran > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.telephone-ecran > img.actif,
.telephone-ecran > img.dessous {
  opacity: 1;
}
.telephone-ecran > img.dessous {
  z-index: 1;
}
.telephone-ecran > img.actif {
  z-index: 2;
}
.telephone-ecran > img.glisse {
  animation: ecran-glisse 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.telephone-ecran > img.fondu {
  animation: ecran-fondu 0.48s ease both;
}
@keyframes ecran-glisse {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
@keyframes ecran-fondu {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Le doigt : un rond qui se pose puis s'efface */
.doigt {
  position: absolute;
  z-index: 3;
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(20, 27, 24, 0.22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  pointer-events: none;
}
.doigt.touche {
  animation: doigt-touche 0.52s ease-out both;
}
@keyframes doigt-touche {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}
.services-visuel > img {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 62%;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.4));
}
.services-liste {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(20, 27, 24, 0.12);
}
.services-liste li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(20, 27, 24, 0.12);
  color: var(--encre-secondaire);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
}
/* Passages en gras saisis dans le BO (`**…**`) : le mot qui compte ressort, le reste reste léger */
.services-liste strong {
  color: var(--encre);
  font-weight: 800;
}
.service-icone {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(20, 27, 24, 0.16);
  color: var(--vert-vif);
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.service-icone svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services-liste li:hover .service-icone {
  background: var(--citron);
  box-shadow: none;
  color: var(--vert-profond);
}

/* Contact */
/* Contact sur une photo assombrie en vert : elle fait le lien entre « Nos services » (fond clair) et le pied */
.contact {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 10vw, 128px) 0;
  color: var(--blanc);
}
.contact > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(5, 39, 16, 0.94) 0%,
    rgba(5, 39, 16, 0.8) 55%,
    rgba(5, 39, 16, 0.6) 100%
  );
}
.contact .surtitre {
  color: var(--citron);
}
.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px clamp(40px, 6vw, 96px);
}
.contact-grille > div > p:last-child {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.5;
}
.pilules {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.pilule {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 36px 10px 10px;
  border-radius: 47px 47px 0 47px;
  background: var(--blanc);
  color: var(--vert-profond);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.pilule:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre);
}
.pilule img {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;
  background: var(--vert-vif);
}

/* Pied de page : logo, réseaux sociaux, badges des magasins ; mentions en bas */
.pied {
  padding: 40px 0 24px;
  background: var(--vert-nuit);
  color: var(--blanc);
}
.pied-haut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.pied-marque {
  display: flex;
  align-items: center;
  gap: 24px;
}
.pied .logo img {
  height: 36px;
}
.reseaux {
  display: flex;
  gap: 12px;
}
.reseaux img,
.reseaux svg {
  display: block;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  fill: var(--blanc);
}
.reseaux a:hover img,
.reseaux a:hover svg {
  background: rgba(255, 255, 255, 0.16);
}
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.55);
}
.liens-juridiques {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.liens-juridiques a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  text-decoration: none;
}
.liens-juridiques a:hover {
  color: var(--blanc);
  text-decoration: underline;
}

/* Pages juridiques : titre sur un bandeau vert (sous la barre), texte en colonne lisible */
.juridique-entete {
  padding: calc(var(--hauteur-barre) + 56px) 0 48px;
  background: var(--vert-profond);
  color: var(--blanc);
}
.juridique-entete .bloc {
  max-width: 760px;
}
.juridique-entete h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}
.juridique-entete p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}
.juridique-texte {
  max-width: 760px;
  padding: 48px 0 72px;
  color: var(--encre-secondaire);
  font-size: 16px;
  line-height: 1.7;
}
.juridique-texte h2 {
  margin: 40px 0 12px;
  color: var(--encre);
  font-size: 20px;
  line-height: 1.3;
}
.juridique-texte h2:first-child {
  margin-top: 0;
}
.juridique-texte p,
.juridique-texte ul {
  margin: 0 0 14px;
}
.juridique-texte ul {
  padding-left: 22px;
}
.juridique-texte li {
  margin-bottom: 6px;
}
.juridique-texte strong {
  color: var(--encre);
}

/* Apparition au défilement (seulement si le script tourne et sans « réduire les animations ») */
.js [data-apparait] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js [data-apparait].visible {
  opacity: 1;
  transform: none;
}
.atouts > li:nth-child(2) {
  transition-delay: 0.08s;
}
.atouts > li:nth-child(3) {
  transition-delay: 0.16s;
}

/* Tablette et téléphone */
/* Ordinateur étroit et tablette en largeur : menu resserré ; la version web reste dans le bandeau et le pied */
@media (max-width: 1180px) {
  .nav ul {
    gap: 18px;
  }
  .nav a {
    white-space: nowrap;
  }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .nav ul .bouton-contour {
    display: none;
  }
}
@media (max-width: 820px) {
  .atouts > li {
    padding: 24px 0 8px;
    border-left: 0;
  }
  .atouts > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .illustration {
    margin: 28px 0;
  }
  .atouts h3 {
    min-height: 0;
  }
  :root {
    --hauteur-barre: 68px;
  }
  .logo img {
    height: 32px;
  }
  .menu-bouton {
    display: grid;
  }
  .barre.ouverte {
    background: var(--vert-profond);
  }
  .nav ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 20px;
    background: var(--vert-profond);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  }
  .barre.ouverte .nav ul {
    display: flex;
  }
  .nav ul a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
  }
  .nav ul a:not(.bouton):hover {
    background: rgba(255, 255, 255, 0.08);
  }
  .nav ul .bouton {
    justify-content: center;
    margin-top: 8px;
  }
  .apropos,
  .atouts,
  .services-grille,
  .contact-grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .apropos {
    min-height: 0;
  }
  .apropos > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  /* Téléphone : le texte d'abord, puis le visuel */
  .services-texte {
    order: -1;
  }
  .telephone-anime {
    width: 54%;
  }
  .services-visuel > img {
    width: 50%;
  }
}
@media (max-width: 560px) {
  .pied-haut,
  .pied-bas {
    flex-direction: column;
  }
  .liens-juridiques {
    justify-content: center;
  }
  .pilule {
    font-size: 17px;
    padding-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-apparait] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .atouts > li::before,
  .doigt,
  .telephone-ecran > img,
  .illustration,
  .lien-fleche svg,
  .bouton,
  .pilule,
  .barre {
    transition: none;
  }
}
