/* Haly · site
   Direction : spectaculaire mais lisible. Encre et blanc, un vert rare, Schibsted Grotesk.
   Le récit se joue au défilement (GSAP + ScrollTrigger) : ouverture sur le logo géant et Thierno,
   scène « aujourd'hui, demain » (les problèmes se rangent chez le bon expert et deviennent des résultats),
   image du fondateur qui s'ouvre, expertises en défilement horizontal.
   Sans script ou avec « réduire les animations », chaque section s'affiche dans son état final. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/SchibstedGrotesk-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blanc: #ffffff;
  --brume: #f3f4f6;
  --encre: #0d0f14;
  --nuit: #1a1d24;
  --filet: #e3e5ea;
  --filet-nuit: #2c3039;
  --gris-700: #3a3f4b;
  --gris-600: #5b6170;
  --gris-400: #a9afbc;
  --gris-300: #c9ccd3;
  --vert: #00c46f;
  --vert-fonce: #00804a;
  /* Le jaune de Halydays, réservé à ce qui la concerne */
  --soleil: #ffc629;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
/* La place de la barre de défilement reste réservée en permanence : quand l'ouverture la masque
   puis la rend, la largeur de la page ne change pas et rien ne saute */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
/* L'élément qui reçoit le focus au clavier ne passe pas sous l'en-tête fixe (76 px) ;
   les sections atteintes par un lien gardent leur position habituelle */
:is(main, .pied) :is(a, button, input, select, textarea) { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
/* Pendant l'ouverture (Lenis arrêté), aucun défilement : ni molette, ni clavier, ni barre */
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--vert); color: var(--encre); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.vert { color: var(--vert); }
/* Vert foncé : au moins 3:1 sur le blanc, la brume et l'encre. Sur fond encre, le vert vif se voit encore mieux */
:focus-visible { outline: 2px solid var(--vert-fonce); outline-offset: 4px; border-radius: 8px; }
.top.is-sombre :focus-visible, .offre--haly :focus-visible, .contact__gauche :focus-visible { outline-color: var(--vert); }
/* Sections atteintes par un lien interne : elles reçoivent le focus sans cadre */
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 400;
  padding: 12px 18px; border-radius: 999px;
  background: var(--encre); color: var(--blanc);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.eyebrow { font: 600 15px/1.3 var(--sans); color: var(--gris-600); }
.h2 { font: 700 clamp(40px, 5.2vw, 84px)/0.98 var(--sans); letter-spacing: -0.05em; text-wrap: balance; }
.chapo { font: 400 clamp(18px, 1.45vw, 21px)/1.55 var(--sans); color: var(--gris-700); max-width: 32em; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--encre); color: var(--blanc);
  font: 600 16px/1 var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
}
.btn .ic { font-size: 17px; transition: transform 0.5s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--vert { background: var(--vert); color: var(--encre); }
/* Le bouton Halydays : noir au repos, jaune au survol (et au clavier), texte en encre sur le jaune (charte Halydays) */
.btn--halydays:focus-visible { background: var(--soleil); color: var(--encre); }
@media (hover: hover) {
  .btn--halydays:hover { background: var(--soleil); color: var(--encre); }
}

.lien { display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1.2 var(--sans); text-decoration: none; }
.lien span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size 0.5s var(--ease); }
.lien:hover span { background-size: 0 1.5px; background-position: 100% 100%; }

.disque {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--vert); color: var(--encre);
}
.disque .ic { font-size: 20px; }
.disque--encre { background: var(--encre); color: var(--vert); }

/* ---------- Rideau d'ouverture et curseur ---------- */

.intro { display: none; }
html.js .intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--encre);
}
html.js.sans-anim .intro { display: none; }
/* Tant que le rideau est baissé, la bande réservée à la barre de défilement prend sa couleur */
html.js:not(.sans-anim):not(.rideau-leve) { background-color: var(--encre); }
.intro__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--vert); }
html.js:not(.is-ready) body { overflow: hidden; }
/* Sous le rideau, la suite de la page reste transparente tant que les animations ne sont pas en place :
   quand on arrive sur #contact ou qu'on recharge en milieu de page, son réagencement ne compte pas
   comme un décalage de mise en page */
html.js:not(.is-ready) :is(main > section:not(.hero), .pied) { opacity: 0; }

.curseur { display: none; }
/* En mode contraste élevé, la pastille prendrait la couleur du fond : on garde alors la flèche du système */
@media (pointer: fine) and (forced-colors: none) {
  /* La pastille verte remplace la flèche de la souris, seulement quand elle peut s'afficher */
  html.js.curseur-actif, html.js.curseur-actif * { cursor: none !important; }
  /* :where() garde ce sélecteur léger, pour que les états ci-dessous (.is-lien, .is-texte, .is-encre) l'emportent */
  :where(html.js.is-ready:not(.sans-anim)) .curseur {
    display: block;
    position: fixed; left: 0; top: 0; z-index: 350;
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--vert);
    pointer-events: none;
    opacity: 0;
    transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), border-radius 0.4s var(--ease), background-color 0.3s, box-shadow 0.3s, opacity 0.3s;
  }
  .curseur.is-visible { opacity: 1; }
  .curseur.is-lien {
    width: 56px; height: 56px; margin: -28px 0 0 -28px;
    background: rgba(0, 196, 111, 0.14);
    box-shadow: inset 0 0 0 1.5px var(--vert);
  }
  /* Dans un champ de saisie, la pastille s'étire en barre pour viser juste */
  .curseur.is-texte { width: 3px; height: 26px; margin: -13px 0 0 -1.5px; border-radius: 2px; }
  /* Sur une surface verte, la pastille passe en noir pour rester visible */
  .curseur.is-encre { background: var(--encre); }
  .curseur.is-lien.is-encre { background: rgba(13, 15, 20, 0.1); box-shadow: inset 0 0 0 1.5px var(--encre); }
}

/* ---------- En-tête ---------- */

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--encre);
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s, color 0.4s;
}
.top.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--filet);
}
.top.is-hidden { transform: translateY(-101%); }
/* Un lien de l'en-tête atteint au clavier ramène l'en-tête */
.top:has(:focus-visible) { transform: none; }
/* Sans animation, l'en-tête ne s'adapte pas aux sections sombres : il garde son fond clair pour rester lisible partout */
html:not(.js) .top, html.sans-anim .top {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--filet);
}
.top.is-sombre { color: var(--blanc); }
.top.is-sombre.is-scrolled { background: rgba(13, 15, 20, 0.78); border-bottom-color: var(--filet-nuit); }
.top.is-sombre .btn { background: var(--blanc); color: var(--encre); }
.top__in { display: flex; align-items: center; gap: 40px; height: 76px; }
.top__logo { display: block; border-radius: 6px; }
.top__logo svg { height: 34px; width: auto; }
.top__nav { display: flex; gap: 30px; margin-left: auto; }
.top__nav a {
  position: relative;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  opacity: 0.66;
  transition: opacity 0.3s;
}
.top__nav a:hover, .top__nav a.is-current { opacity: 1; }
.top__nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -10px;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--vert);
  transform: scale(0); transition: transform 0.4s var(--ease);
}
.top__nav a.is-current::after { transform: scale(1); }
@media (max-width: 900px) {
  .top__nav { display: none; }
  .top .btn { margin-left: auto; }
}
/* Sur les plus petits téléphones, « Booster mon entreprise » doit tenir à côté du logo */
@media (max-width: 380px) {
  .top__in { gap: 16px; }
  .top .btn--sm { padding: 0 14px; font-size: 14px; }
}

/* ---------- 1. Ouverture ---------- */

.hero { position: relative; height: 100svh; min-height: 700px; overflow: hidden; background: var(--blanc); }
.hero__scene { position: absolute; inset: 0; }
.hero__eyebrow {
  position: absolute; z-index: 3;
  top: 104px; left: max(var(--gutter), env(safe-area-inset-left, 0px));
  font: 600 15px/1.3 var(--sans); color: var(--gris-600);
}
/* Les lettres montent de sous le logo : le bas reste coupé net. Le point vert, lui, rebondit au-dessus
   du logo (jusqu'à 18 % de sa hauteur) : la zone visible déborde vers le haut pour ne pas le rogner. */
.logo-anime { overflow: visible; clip-path: inset(-20% 0 0 0); }
/* Une fois l'ouverture jouée, les lettres du logo peuvent s'écarter sans être rognées */
.hero__logo.is-libre { overflow: visible; clip-path: none; }
/* Les fenêtres qui révèlent chaque lettre débordent un peu de la lettre :
   sinon les lettres serrées (T, M) et les jambages (g) sont rognés */
.char-mask { padding: 0.16em 0.14em 0.22em; margin: -0.16em -0.14em -0.22em; }
.logo-anime .l { fill: currentColor; }
.logo-anime .l-dot { fill: var(--vert); }
/* Le logo garde sa jambe de « y » au-dessus du texte du bas, quelle que soit la hauteur d'écran */
.hero__logo {
  position: absolute; z-index: 1;
  left: 0; right: 0; margin-inline: auto;
  top: 122px;
  width: min(80vw, calc((100svh - 330px) * 1.9676)); height: auto;
  color: var(--encre);
}
.hero__legende {
  position: absolute; z-index: 3;
  left: calc(50% + 9svh); top: calc(39svh);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: 0 0 0 1px var(--filet), 0 18px 40px -24px rgba(13, 15, 20, 0.45);
  font: 600 14px/1.2 var(--sans);
  white-space: nowrap;
}
.hero__legende .pastille { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }
.hero__photo {
  position: absolute; z-index: 2;
  left: 0; right: 0; bottom: 0; margin-inline: auto;
  height: min(70svh, 780px); width: auto; max-width: none;
}
.hero__bas {
  position: absolute; z-index: 3; left: 0; right: 0;
  bottom: 32px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.hero__titre {
  max-width: 9.2em;
  font: 700 clamp(34px, 3.1vw, 54px)/1 var(--sans);
  letter-spacing: -0.045em;
}
/* Le bloc de droite s'arrête avant la photo, qui occupe 24svh de part et d'autre du centre */
.hero__droite { max-width: min(380px, calc(50vw - 24svh - var(--gutter) - 24px)); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__droite p { font-size: 16px; line-height: 1.5; color: var(--gris-700); }

@media (max-width: 1199px) {
  .hero__droite { max-width: 380px; }
  .hero { height: auto; min-height: 0; padding-top: 96px; }
  .hero__scene { position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; }
  .hero__eyebrow { position: static; align-self: flex-start; margin-left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .hero__logo { position: relative; top: auto; width: min(92vw, 860px); margin-top: 20px; }
  .hero__photo { position: relative; bottom: auto; height: auto; width: min(76vw, 460px); margin-top: -16vw; }
  .hero__legende { left: auto; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: auto; bottom: 18%; }
  .hero__bas { position: relative; bottom: auto; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 36px 64px; border-top: 1px solid var(--filet); }
  .hero__titre { max-width: none; font-size: clamp(36px, 8.4vw, 64px); }
}

/* ---------- 2. Ce que nous faisons ---------- */

.scene { background: var(--encre); color: var(--blanc); }
.scene__stage {
  position: relative;
  height: 100svh; min-height: 660px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(118px, 16vh, 168px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(28px, 5vh, 52px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.scene__eyebrow { position: absolute; top: 104px; left: max(var(--gutter), env(safe-area-inset-left, 0px)); font: 600 15px/1.3 var(--sans); color: var(--gris-400); }
.scene__t { text-align: center; font: 700 clamp(30px, 4vw, 62px)/1.02 var(--sans); letter-spacing: -0.045em; text-wrap: balance; }
.scene__t--a {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  padding: 0 var(--gutter);
  font-size: clamp(38px, 5.6vw, 92px);
  pointer-events: none;
  visibility: hidden; opacity: 0;
}
/* Le grand titre, deux lignes qui basculent chacune sur place : « Aujourd'hui, » devient « Demain, »,
   « votre business, c'est… » devient « avec Haly. » */
.scene__bloc { display: grid; justify-items: center; max-width: 11em; }
.bascule { display: grid; justify-items: center; align-items: center; }
.bascule > * { grid-area: 1 / 1; }
.bascule__apres { white-space: nowrap; }
.scene__t--b { position: relative; max-width: 17em; }
.scene__hub {
  position: relative; z-index: 2;
  margin-top: clamp(18px, 3.4vh, 36px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--blanc); color: var(--encre);
  font: 600 16px/1.2 var(--sans);
}
.scene__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--vert); }
.scene__liens { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.scene__liens path { fill: none; stroke: #3a3f4b; stroke-width: 1.5; }
.scene__cols {
  position: relative; z-index: 1;
  margin-top: auto;
  width: 100%; max-width: 1240px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
}
.col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.col__tete { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; font: 600 17px/1.2 var(--sans); }
.col ul { display: flex; flex-direction: column; gap: 8px; }
.tache { display: flex; }
/* Une étiquette porte le problème d'aujourd'hui et sa correction, superposés : l'animation fait basculer
   l'un vers l'autre et ajuste la largeur. Sans animation, le problème barré s'affiche au-dessus de sa correction. */
.tache__in {
  display: grid; align-items: center; row-gap: 3px;
  min-width: 0; max-width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--nuit);
  box-shadow: inset 0 0 0 1px rgba(0, 196, 111, 0.4);
  font: 500 15px/1.2 var(--sans);
  overflow: hidden;
}
.tache__avant, .tache__apres {
  grid-area: 1 / 1; justify-self: start;
  min-width: 0; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tache__in .ic { display: inline-block; vertical-align: -0.17em; margin-right: 7px; }
.tache__avant { color: var(--gris-400); text-decoration: none; }
.tache__apres .ic { color: var(--vert); }
html:not(.js) .scene__stage, html.sans-anim .scene__stage { height: auto; min-height: max(100svh, 660px); }
html:not(.js) .tache__avant, html.sans-anim .tache__avant { grid-area: auto; font-size: 0.86em; text-decoration: line-through; }
html:not(.js) .tache__apres, html.sans-anim .tache__apres { grid-area: auto; }
/* Animée, l'étiquette prend la largeur que lui donne le script et peut déborder de sa colonne en vol */
html.js:not(.sans-anim) .tache__in { flex: none; max-width: none; }
/* Le problème qui s'en va est simplement rogné quand l'étiquette se resserre, sans points de suspension */
html.js:not(.sans-anim) .tache__avant { text-overflow: clip; }
.scene__fin { margin-top: clamp(18px, 3.6vh, 36px); text-align: center; font: 500 clamp(16px, 1.4vw, 20px)/1.4 var(--sans); color: var(--gris-300); }

@media (max-width: 760px) {
  .scene__stage { padding-top: 96px; min-height: 640px; }
  .scene__eyebrow { display: none; }
  .scene__t { font-size: clamp(24px, 6.6vw, 34px); }
  .scene__t--a { font-size: clamp(34px, 10vw, 48px); }
  .scene__hub { padding: 11px 18px; font-size: 14px; }
  .scene__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .col { gap: 5px; }
  .col ul { gap: 5px; }
  .col__tete { font-size: 14px; gap: 8px; }
  .col__tete .disque { width: 28px; height: 28px; }
  .col__tete .disque .ic { font-size: 15px; }
  .tache__in { padding: 7px 10px; border-radius: 10px; font-size: 12.5px; }
  .tache__in .ic { margin-right: 5px; }
  .scene__fin { font-size: 14px; }
  .scene__liens { display: none; }
}
/* Petits téléphones : on resserre les étiquettes pour garder de l'air sous l'interlocuteur Haly */
@media (max-width: 760px) and (max-height: 720px) {
  .col ul { gap: 4px; }
  .tache__in { padding: 5px 10px; }
}

/* ---------- 3. Le fondateur ---------- */

.fa { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--encre); color: var(--blanc); }
.fa__label { position: absolute; z-index: 2; top: 60%; left: 0; right: 0; text-align: center; font: 600 15px/1.3 var(--sans); color: var(--gris-400); }
.fa__media { position: absolute; inset: 0; clip-path: inset(0% 0% 0% 0% round 0px); }
.fa__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 50% 22%; }
/* Le voile fonce un peu plus le bas de l'image, sous « Fondateur de Haly » (contraste d'au moins 4,5:1 sur les marches claires) */
.fa__voile { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 15, 20, 0.56) 0, rgba(13, 15, 20, 0.56) 15%, rgba(13, 15, 20, 0.46) 32%); }
.fa__texte { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(32px, 7vh, 80px); }
.fa__nom { font: 700 clamp(84px, 17vw, 280px)/0.82 var(--sans); letter-spacing: -0.065em; }
.fa__role { margin-top: 16px; font: 500 clamp(18px, 1.6vw, 24px)/1.3 var(--sans); color: var(--blanc); }
/* Sans animation, l'étiquette « Derrière Haly » reste posée sur l'image ouverte : un voile un peu plus dense la rend lisible */
html:not(.js) .fa__label, html.sans-anim .fa__label { color: var(--blanc); }
html:not(.js) .fa__voile, html.sans-anim .fa__voile { background: linear-gradient(to top, rgba(13, 15, 20, 0.58) 0, rgba(13, 15, 20, 0.58) 15%, rgba(13, 15, 20, 0.52) 32%); }

/* L'équipe : la parole de Thierno, puis les cartes à retourner (la question, puis l'expert qui s'en charge) */
.fb { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 72px); padding-block: clamp(88px, 10vw, 160px); }
.fb__tete { display: flex; flex-direction: column; align-items: flex-start; }
.fb__titre { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
/* La citation ouvre la section, seule, avec de l'air avant le titre de l'équipe */
.fb__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; min-width: 0; }
/* La citation et les deux photos de Thierno, disposées comme dans l'ancienne section fondateur */
.fb__duo {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 120px); align-items: center; margin-bottom: clamp(24px, 5vw, 72px);
}
.fb__photos { position: relative; height: clamp(440px, 50vw, 740px); }
.fb__photo { position: absolute; overflow: hidden; border-radius: 24px; background: var(--brume); }
.fb__photo img { width: 100%; height: 100%; object-fit: cover; }
.fb__photo--1 { top: 0; right: 0; width: 74%; aspect-ratio: 4 / 5; }
/* La petite photo se pose directement sur la grande, sans liseré */
.fb__photo--2 { left: 0; bottom: 0; width: 50%; aspect-ratio: 2 / 3; }
@media (max-width: 900px) {
  .fb__duo { grid-template-columns: minmax(0, 1fr); }
  .fb__photos { height: min(118vw, 640px); }
}
.fb__mot p { font: 500 clamp(26px, 2.8vw, 46px)/1.22 var(--sans); letter-spacing: -0.03em; text-wrap: pretty; }
.fb__signe { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; background: var(--brume); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--grand { width: 64px; height: 64px; }
.fb__nom { font: 600 18px/1.3 var(--sans); }
/* Le nom de Thierno mène à son profil LinkedIn */
.fb__nom a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color 0.3s; }
.fb__nom a:hover { color: var(--vert-fonce); }
.fb__role { font: 400 15px/1.4 var(--sans); color: var(--gris-600); }

.eq { display: flex; flex-direction: column; gap: 24px; }
.eq__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.eq__compte { display: flex; align-items: flex-start; gap: 10px; font: 600 15px/1.3 var(--sans); color: var(--gris-600); }
/* La pastille reste à hauteur de la première ligne quand la phrase passe sur deux lignes */
.eq__compte .pastille { width: 8px; height: 8px; flex: none; margin-top: 0.4em; border-radius: 50%; background: var(--vert); }
.eq__defile { display: none; }
.eq__points { display: flex; align-items: center; gap: 6px; }
.eq__point { width: 8px; height: 8px; border-radius: 999px; background: var(--gris-300); transition: width 0.4s var(--ease), background-color 0.3s; }
.eq__point.is-actif { width: 28px; background: var(--encre); }
.eq__glisser { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.3 var(--sans); color: var(--encre); white-space: nowrap; }
.eq__glisser .ic { font-size: 16px; animation: eq-fleche 1.6s ease-in-out infinite; }
@keyframes eq-fleche { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
/* À la première apparition, la rangée glisse un peu vers la gauche puis revient : on comprend qu'elle se fait défiler */
@keyframes eq-indice { 0% { transform: translateX(0); } 38% { transform: translateX(-84px); } 72%, 100% { transform: translateX(0); } }
.eq__grille.is-indice .eq__item { animation: eq-indice 1.5s var(--ease) both; }
.eq__tout {
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--gris-300);
  background: var(--blanc); color: var(--encre); font: 600 15px/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: border-color 0.3s;
}
.eq__tout:hover { border-color: var(--encre); }
.eq__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.eq__item { min-width: 0; }
.eq__carte {
  display: block; position: relative; width: 100%; height: clamp(320px, 26vw, 380px);
  padding: 0; border: 0; border-radius: 24px; background: transparent; color: inherit; text-align: left;
  cursor: pointer; perspective: 1400px; -webkit-tap-highlight-color: transparent;
}
.eq__pivot { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform 0.8s var(--ease); }
.eq__carte[aria-pressed="true"] .eq__pivot { transform: rotateY(180deg); }
.eq__face { position: absolute; inset: 0; overflow: hidden; border-radius: 24px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.eq__avant { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--brume); transition: background-color 0.3s; }
.eq__num { font: 600 15px/1.3 var(--sans); color: var(--gris-600); }
.eq__question { font: 700 clamp(26px, 2.25vw, 34px)/1.04 var(--sans); letter-spacing: -0.045em; text-wrap: balance; }
.eq__indice { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 15px/1.3 var(--sans); }
.eq__fleche { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--encre); color: var(--blanc); display: flex; align-items: center; justify-content: center; transition: transform 0.5s var(--ease); }
.eq__fleche .ic { font-size: 18px; }
.eq__dos { transform: rotateY(180deg); background: var(--nuit); }
.eq__dos img { width: 100%; height: 100%; object-fit: cover; }
.eq__legende {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px;
  padding: 64px 24px 22px; color: var(--blanc);
  background: linear-gradient(to top, rgba(13, 15, 20, 0.85), rgba(13, 15, 20, 0));
}
.eq__nom { font: 700 34px/1 var(--sans); letter-spacing: -0.045em; }
.eq__metier { font: 500 15px/1.35 var(--sans); color: var(--filet); }
@media (hover: hover) {
  .eq__carte:hover .eq__avant { background: var(--filet); }
  .eq__carte:hover .eq__fleche { transform: rotate(45deg); }
}
/* Sans script, les cartes ne se retournent pas : elles montrent directement l'expert */
html:not(.js) .eq__pivot { transform: rotateY(180deg); }
html:not(.js) .eq__barre { display: none; }
@media (prefers-reduced-motion: reduce) {
  .eq__pivot { transition: none; }
  .eq__glisser .ic, .eq__grille.is-indice .eq__item { animation: none; }
}

@media (max-width: 1024px) {
  /* Une seule rangée de cartes qu'on fait glisser du doigt : la section reste courte */
  .eq__defile { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .eq__grille {
    display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
    padding: 0 max(var(--gutter), env(safe-area-inset-left, 0px)) 4px;
    scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .eq__grille::-webkit-scrollbar { display: none; }
  .eq__item { flex: none; width: 300px; scroll-snap-align: start; }
  .eq__carte { height: 380px; }
  .eq__question { font-size: 30px; }
}
@media (max-width: 600px) {
  /* La carte suivante dépasse nettement sur le bord droit */
  .eq__item { width: min(calc(100vw - 96px), 330px); }
  .eq__carte, .eq__face { border-radius: 22px; }
  .eq__avant { padding: 22px; }
  .eq__question { font-size: 28px; }
  .eq__legende { padding: 56px 20px 18px; }
  .eq__nom { font-size: 30px; }
  .eq__metier { font-size: 14px; }
}

/* ---------- 4. Expertises ---------- */

.expertises { background: var(--blanc); }
.hz { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.hz__piste {
  display: flex; flex-direction: column; gap: 20px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.hz__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 640px; margin-bottom: 28px; }
.hz__aide { display: none; }
.hz__barre { display: none; }

.panneau {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: clamp(28px, 5vh, 56px);
  padding: clamp(28px, 4vw, 60px);
  border-radius: 36px;
}
.panneau--encre { background: var(--encre); color: var(--blanc); }
.panneau--brume { background: var(--brume); color: var(--encre); }
.panneau--vert { background: var(--vert); color: var(--encre); }
.panneau__haut { display: flex; align-items: center; gap: 16px; font: 500 clamp(17px, 1.5vw, 22px)/1.3 var(--sans); }
.panneau__nom { margin-top: auto; font: 700 clamp(48px, 6.6vw, 120px)/0.92 var(--sans); letter-spacing: -0.06em; text-wrap: balance; }
/* « Mieux vous / organiser » et « Gagner plus / d’argent » passent à la ligne comme les deux autres titres en défilement
   horizontal ; empilés (tablette, téléphone, sans animations), les titres se coupent d’eux-mêmes */
.hz:not(.is-hz) .panneau__nom br { display: none; }
.panneau__bas { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; }
.panneau__bas p { max-width: 30em; font-size: clamp(16px, 1.2vw, 18px); }
.panneau--encre .panneau__bas p { color: var(--gris-300); }
.panneau--brume .panneau__bas p { color: var(--gris-700); }
.panneau__bas ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; }
.panneau__bas li { padding: 12px 0; border-top: 1px solid; font: 500 15px/1.35 var(--sans); }
.panneau--encre li { border-color: var(--filet-nuit); }
.panneau--brume li { border-color: #d7dae0; }
.panneau--vert li { border-color: rgba(13, 15, 20, 0.22); }

/* Défilement horizontal, activé par le script sur grand écran */
.hz.is-hz { height: 100svh; padding: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hz.is-hz .hz__piste { flex-direction: row; align-items: stretch; gap: 24px; width: max-content; will-change: transform; }
.hz.is-hz .hz__intro { flex: 0 0 min(500px, 36vw); justify-content: center; margin: 0 4vw 0 0; }
.hz.is-hz .hz__aide { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font: 600 15px/1 var(--sans); color: var(--gris-600); }
.hz.is-hz .panneau { flex: 0 0 min(76vw, 1080px); height: min(74svh, 700px); }
/* Les panneaux partagent les mêmes lignes : la ligne du texte prend la hauteur du plus long, si bien que
   les titres tombent tous à la même hauteur, quelle que soit la longueur du texte qui les suit */
@supports (grid-template-rows: subgrid) {
  .hz.is-hz .hz__piste {
    display: grid; grid-auto-flow: column;
    grid-template-columns: calc(min(500px, 36vw) + 4vw);
    grid-auto-columns: min(76vw, 1080px);
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(28px, 5vh, 56px) 24px;
    height: min(74svh, 700px);
  }
  .hz.is-hz .hz__intro { grid-row: 1 / -1; }
  .hz.is-hz .panneau { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; height: auto; }
  .hz.is-hz .panneau__nom { align-self: end; }
}
.hz.is-hz .hz__barre {
  display: block;
  position: absolute; bottom: clamp(20px, 4vh, 40px);
  left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
  height: 2px; background: var(--filet);
}
.hz__barre span { display: block; height: 100%; background: var(--encre); transform-origin: 0 50%; }

@media (max-width: 760px) {
  .panneau { border-radius: 28px; }
  .panneau__nom { font-size: clamp(34px, 10vw, 56px); }
  .panneau__bas { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 5. Offres ---------- */

.offres { background: var(--blanc); padding-block: clamp(96px, 12vw, 180px); }
.offres__tete { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
/* Les deux formules partagent les mêmes lignes : on les lit comme un tableau */
.offres__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.offre {
  display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0;
  padding: clamp(28px, 3.4vw, 52px);
  border-radius: 32px;
}
.offre--haly { background: var(--encre); color: var(--blanc); }
.offre--days { background: var(--brume); color: var(--encre); }
.offre__lignes { grid-row: span 6; display: grid; grid-template-rows: subgrid; row-gap: 0; }
.offre__lignes > div {
  display: grid; grid-template-columns: minmax(7.5em, 2fr) minmax(0, 5fr); gap: 4px 20px; align-items: baseline;
  padding-block: 16px;
  border-top: 1px solid;
}
.offre--haly .offre__lignes > div { border-color: var(--filet-nuit); }
.offre--days .offre__lignes > div { border-color: #d7dae0; }
.offre__lignes dt { font: 500 14px/1.4 var(--sans); }
.offre--haly dt { color: var(--gris-400); }
.offre--days dt { color: var(--gris-600); }
.offre__lignes dd { font: 500 16px/1.45 var(--sans); text-wrap: pretty; }
.offre__cta { justify-self: start; align-self: end; margin-top: clamp(24px, 3vw, 40px); }

/* En tête de chaque formule, un objet : une carte pour le suivi, un billet pour Halydays */
.objet { padding-bottom: clamp(28px, 3.4vw, 44px); }
.carte, .billet { aspect-ratio: 1.6; }
.carte {
  /* clip et non hidden : la carte reste découpée en arrondi, mais s'allonge si son contenu dépasse le format */
  position: relative; overflow: hidden; overflow: clip;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(20px, 2.4vw, 34px);
  border-radius: 24px;
  /* Un noir plus doux que le panneau, pour que la carte s'en détache */
  background: radial-gradient(130% 120% at 0% 0%, #363b47 0%, #181b22 62%);
  color: var(--blanc);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.carte__pastille { position: absolute; top: -24%; right: -10%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--vert); }
.carte__logo { position: relative; flex: none; height: clamp(22px, 2.1vw, 30px); width: auto; margin-bottom: 12px; color: var(--blanc); }
.carte__type { position: relative; margin-top: auto; font: 500 14px/1.3 var(--sans); color: var(--gris-300); }
.carte__nom { position: relative; margin-top: 8px; font: 700 clamp(26px, 2.8vw, 42px)/1 var(--sans); letter-spacing: -0.045em; }
.carte__pied {
  position: relative; align-self: stretch;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px;
  margin-top: clamp(12px, 1.6vw, 20px); padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font: 500 13px/1.3 var(--sans); color: var(--gris-400);
}
.carte__pied span:last-child { flex: none; white-space: nowrap; }
/* Reflet qui suit le pointeur, comme une lumière sur une carte qu'on incline */
.carte__reflet {
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, 0.18), transparent 52%);
  mix-blend-mode: screen; opacity: 0; pointer-events: none;
  transition: opacity 0.5s;
}
/* Au toucher, :hover resterait collé après un appui : le reflet est réservé aux souris */
@media (hover: hover) {
  .carte:hover .carte__reflet { opacity: 1; }
}
/* L'ombre est portée par le parent : sur le billet lui-même, le découpage des encoches l'effacerait */
.objet--billet { filter: drop-shadow(0 26px 24px rgba(13, 15, 20, 0.1)); }
/* Deux encoches découpées dans le billet, à la hauteur des pointillés du talon */
.billet {
  display: grid; grid-template-columns: minmax(0, 76fr) minmax(0, 24fr);
  border-radius: 20px;
  background: var(--blanc); color: var(--encre);
  -webkit-mask: radial-gradient(circle 14px at 76% 0, #0000 97%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 14px at 76% 100%, #0000 97%, #000 100%) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 14px at 76% 0, #0000 97%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 14px at 76% 100%, #0000 97%, #000 100%) bottom / 100% 51% no-repeat;
}
.billet__corps { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(20px, 2.4vw, 34px); }
/* Comme sur la carte du suivi : le logo en haut (ici à droite), le nom de la formule en grand en bas */
.billet__nom { align-self: flex-end; }
/* Le logo officiel de Halydays depuis le 18/11/2026 : « haly » et son point jaune Soleil, « Days » écrit dessous.
   1,43 fois plus haut que l'ancien, pour que « haly » garde la même taille ; jamais moins de 64 px de large (charte) */
.billet__logo { height: clamp(47px, 3.15vw, 49px); width: auto; color: var(--encre); }
.billet__type { margin-top: auto; padding-top: 14px; font: 700 clamp(24px, 2.4vw, 36px)/1 var(--sans); letter-spacing: -0.045em; text-wrap: balance; }
.billet__champs {
  align-self: stretch;
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  margin-top: clamp(12px, 1.6vw, 20px); padding-top: 12px;
  border-top: 1px solid var(--filet);
}
/* Un champ entier passe à la ligne plutôt que de couper sa valeur (« Plusieurs / jours ») */
.billet__champs > div { flex: auto; }
.billet__champs dt { font: 500 12px/1.3 var(--sans); color: var(--gris-600); }
.billet__champs dd { margin-top: 3px; font: 600 14px/1.3 var(--sans); }
.billet__talon { display: grid; place-items: center; border-left: 2px dashed #d7dae0; }
.billet__talon span { display: inline-flex; align-items: center; gap: 12px; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 14px/1 var(--sans); letter-spacing: 0.02em; color: var(--gris-600); }
.billet__talon span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--soleil); }

/* À deux colonnes, la carte prend la hauteur du billet voisin, qui s'allonge quand son contenu dépasse le format */
@media (min-width: 861px) {
  .carte { aspect-ratio: auto; min-height: 100%; }
}
/* Colonnes encore étroites : le libellé passe au-dessus de sa valeur */
@media (min-width: 861px) and (max-width: 1000px) {
  .offre__lignes > div { grid-template-columns: minmax(0, 1fr); align-content: start; }
}
@media (max-width: 860px) {
  .offres__grille { display: flex; flex-direction: column; gap: 20px; }
  .offre { display: flex; flex-direction: column; border-radius: 28px; }
  .objet { max-width: 500px; }
  .offre__lignes { display: block; }
  .offre__cta { align-self: flex-start; }
}
.offres__defile { display: none; }
/* Téléphone : les deux formules côte à côte, en une rangée qu'on fait glisser (la seconde dépasse à droite) */
@media (max-width: 640px) {
  .offres__grille {
    flex-direction: row; align-items: stretch; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
    padding: 0 max(var(--gutter), env(safe-area-inset-left, 0px)) 4px;
    scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .offres__grille::-webkit-scrollbar { display: none; }
  .offre { flex: none; width: min(calc(100vw - 80px), 440px); scroll-snap-align: start; }
  .offres__defile { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
  .offres__grille.is-indice .offre { animation: eq-indice 1.5s var(--ease) both; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .offres__grille.is-indice .offre { animation: none; }
}
@media (max-width: 480px) {
  .offre { padding: 20px; }
  .offre__lignes > div { grid-template-columns: minmax(0, 1fr); }
  .offre__cta { align-self: stretch; }
  .billet { aspect-ratio: auto; min-height: 200px; }
  .carte__pastille { width: 34%; top: -14%; }
}

/* ---------- 7. Contact ---------- */

.contact { background: var(--encre); color: var(--blanc); padding-block: clamp(96px, 12vw, 180px); color-scheme: dark; }
.contact__titre { max-width: 9.5em; margin-bottom: clamp(48px, 7vw, 100px); font: 700 clamp(56px, 9.4vw, 160px)/0.9 var(--sans); letter-spacing: -0.06em; }
.contact__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__gauche { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 36px; }
.contact__chapo { max-width: 24em; font: 400 clamp(18px, 1.45vw, 21px)/1.55 var(--sans); color: var(--gris-300); }
.avec { display: flex; align-items: center; gap: 18px; font: 400 18px/1.45 var(--sans); color: var(--gris-300); }
.avec strong { color: var(--blanc); font-weight: 600; }
.coords { display: grid; gap: 22px; }
.coords div { display: grid; gap: 4px; }
.coords dt { font: 500 14px/1.3 var(--sans); color: var(--gris-400); }
.coords dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 500 18px/1.4 var(--sans); }
.coords a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.copy {
  padding: 6px 12px;
  border: 1px solid #3a3f4b; border-radius: 999px;
  background: none; color: var(--gris-300);
  font: 500 13px/1 var(--sans);
  cursor: pointer;
}
.copy:hover { border-color: var(--gris-400); color: var(--blanc); }

/* La carte de départ, posée sur la section encre : son bouton, comme tous les « Booster mon entreprise », ouvre le questionnaire */
.depart {
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
  padding: clamp(24px, 3.6vw, 56px);
  border-radius: 32px;
  background: var(--blanc); color: var(--encre);
  color-scheme: light;
}
.depart__titre { font: 700 clamp(26px, 2.2vw, 34px)/1.1 var(--sans); letter-spacing: -0.03em; }
.depart__etapes { display: grid; gap: 18px; width: 100%; }
.depart__etapes li { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--filet); font: 500 clamp(17px, 1.3vw, 19px)/1.35 var(--sans); }
.depart__num { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--encre); color: var(--blanc); font: 600 14px/1 var(--sans); }
.depart__cta { height: 60px; padding: 0 30px; font-size: 17px; }

/* Les champs du questionnaire : encadrés, libellés en noir */
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 8px; font: 600 15px/1.3 var(--sans); }
.field label span { font-weight: 400; color: var(--gris-600); }
.field input {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1.5px solid #8a909c; border-radius: 14px;
  background: var(--blanc); color: var(--encre);
  font: 400 17px/1.4 var(--sans);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field ::placeholder { color: var(--gris-600); opacity: 1; }
.field input:hover { border-color: var(--gris-600); }
.field input:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 4px rgba(0, 196, 111, 0.28); }
.field [aria-invalid="true"] { border-color: #c4321f; box-shadow: 0 0 0 4px rgba(196, 50, 31, 0.12); }
.form__envoi { height: 60px; padding: 0 30px; font-size: 17px; }
.form__mention { font: 400 14px/1.4 var(--sans); color: var(--gris-600); }
.form__error { margin-top: 14px; font: 600 15px/1.4 var(--sans); color: #c4321f; }
.field .form__error { margin-top: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 900px) {
  .contact__grille { grid-template-columns: minmax(0, 1fr); }
  .contact__gauche { position: static; }
}
@media (max-width: 560px) {
  .depart { margin-inline: calc(-1 * var(--gutter) + 8px); border-radius: 24px; }
  .depart__cta, .form__envoi { width: 100%; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .hero__droite .btn { width: 100%; }
}

/* ---------- Questionnaire « Booster mon entreprise » ----------
   Plein écran, une question à la fois, dans l'esprit de Tally. Il passe au-dessus de l'en-tête (100),
   sous le rideau (300) et la pastille du curseur (350). Pendant qu'il est ouvert, la page ne défile plus. */

html.qz-ouvert { overflow: hidden; }
.qz {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--blanc); color: var(--encre);
  color-scheme: light;
}
.qz[hidden] { display: none; }
/* Au clavier, l'élément qui reçoit le focus ne passe pas sous le haut collant du questionnaire */
.qz__corps :is(a, button, input) { scroll-margin-top: 96px; }
.qz__haut {
  position: sticky; top: 0; z-index: 2; flex: none;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 24px;
  min-height: 76px;
  padding: 16px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
  background: var(--blanc);
  border-bottom: 1px solid var(--filet);
}
.qz__logo { grid-column: 1; height: 30px; width: auto; color: var(--encre); }
.qz__progres { grid-column: 2; display: flex; align-items: center; gap: 16px; }
.qz__progres[hidden] { display: none; }
.qz__segments { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; width: 300px; }
.qz__segments li { height: 4px; border-radius: 999px; background: var(--filet); transition: background-color 0.4s; }
.qz__segments .is-fait { background: var(--encre); }
.qz__segments .is-actuel { background: var(--vert); }
.qz__compteur { font: 600 14px/1 var(--sans); color: var(--gris-600); white-space: nowrap; }
.qz__fermer {
  grid-column: 3; justify-self: end;
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  border: 1.5px solid #d7dae0; border-radius: 50%;
  background: var(--blanc); color: var(--encre);
  cursor: pointer; transition: border-color 0.25s;
}
.qz__fermer:hover { border-color: var(--encre); }
.qz__fermer .ic { font-size: 18px; }

.qz__corps {
  flex: 1; display: flex;
  padding: clamp(28px, 4.5vw, 64px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(28px, 4.5vw, 64px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.qz__colonne { width: 100%; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; }
.qz__retour {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  height: 20px; margin-bottom: 28px; padding: 0;
  border: 0; background: none; color: var(--gris-600);
  font: 600 15px/1 var(--sans);
  cursor: pointer; transition: color 0.25s;
}
.qz__retour:hover { color: var(--encre); }
.qz__retour .ic { font-size: 16px; }
/* Sans retour possible, le lien garde sa place : la question ne saute pas d'une étape à l'autre */
.qz__retour[hidden] { display: inline-flex; visibility: hidden; }
.qz__pas { flex: 1; display: flex; flex-direction: column; }
.qz__pas[hidden] { display: none; }
.qz__q { max-width: 17em; font: 700 clamp(30px, 3.2vw, 46px)/1.04 var(--sans); letter-spacing: -0.045em; text-wrap: balance; }
.qz__q:focus { outline: none; }
.qz__aide { margin-top: 14px; font: 400 clamp(16px, 1.25vw, 18px)/1.4 var(--sans); color: var(--gris-600); }

.qz__options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 560px; margin-top: clamp(24px, 2.5vw, 36px); }
.qz__options--deux { max-width: none; }
.qz__opt {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 8px 18px 8px 14px;
  border: 1.5px solid #d7dae0; border-radius: 14px;
  background: var(--blanc);
  font: 500 18px/1.3 var(--sans);
  cursor: pointer; user-select: none;
  transition: border-color 0.25s, background-color 0.25s, opacity 0.25s;
}
.qz__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qz__opt:hover { border-color: var(--gris-400); }
.qz__opt:has(input:checked) { border-color: var(--encre); background: var(--brume); }
.qz__opt:has(input:focus-visible) { outline: 2px solid var(--encre); outline-offset: 3px; }
.qz__opt:has(input:disabled) { opacity: 0.45; }
.qz__opt input:disabled { cursor: not-allowed; }
/* Navigateurs sans :has() : le focus clavier se voit sur la case */
@supports not selector(:has(*)) {
  .qz__opt input:focus-visible + .qz__lettre { outline: 2px solid var(--encre); outline-offset: 2px; }
}
/* La lettre rappelle le raccourci clavier ; une fois la réponse choisie, elle laisse place à une coche sur fond vert */
.qz__lettre {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border: 1.5px solid #d7dae0; border-radius: 8px;
  background: var(--blanc);
  font: 600 13px/1 var(--sans); color: var(--gris-600);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
/* Sélecteur sans :has(), pour que la réponse cochée se voie aussi sur les navigateurs anciens (la case suit l'input) */
.qz__opt input:checked + .qz__lettre {
  border-color: var(--vert); color: transparent;
  background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%230d0f14' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.qz__autre { max-width: 560px; margin-top: 16px; }
.qz__autre[hidden] { display: none; }
.qz__pied { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.qz__pied[hidden] { display: none; }
.qz__pied .btn[aria-disabled="true"] { opacity: 0.35; cursor: not-allowed; }
.qz__nombre { font: 400 15px/1.3 var(--sans); color: var(--gris-600); }

.qz__thierno {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px; padding: 5px 16px 5px 5px;
  border-radius: 999px; background: var(--blanc);
  box-shadow: 0 0 0 1px var(--filet), 0 18px 40px -24px rgba(13, 15, 20, 0.45);
  font: 600 15px/1 var(--sans);
}
.qz__thierno .avatar { width: 34px; height: 34px; }
.qz__cartes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: clamp(24px, 2.5vw, 36px); }
.qz__carte {
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  min-height: 300px; padding: 32px;
  border: 1.5px solid #d7dae0; border-radius: 28px;
  background: var(--blanc); color: var(--encre);
  text-align: left; cursor: pointer;
  transition: border-color 0.25s, transform 0.4s var(--ease);
}
.qz__carte:hover { border-color: var(--encre); transform: translateY(-3px); }
.qz__disque { width: 56px; height: 56px; }
.qz__disque .ic { font-size: 26px; }
.qz__carte-corps { flex: 1; align-self: stretch; display: flex; flex-direction: column; gap: 8px; }
.qz__carte-titre { font: 700 30px/1.05 var(--sans); letter-spacing: -0.035em; }
.qz__carte-texte { font: 400 17px/1.5 var(--sans); color: var(--gris-700); }
.qz__carte-pied { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qz__meta { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); color: var(--gris-600); }
.qz__meta .ic { font-size: 17px; }
.qz__fleche { font-size: 20px; transition: transform 0.5s var(--ease); }
.qz__carte:hover .qz__fleche { transform: translateX(4px); }

/* L'agenda est celui de Cal.com, chargé seulement à cette étape */
.qz__agenda { margin-top: clamp(24px, 2.5vw, 32px); border: 1.5px solid #d7dae0; border-radius: 24px; overflow: hidden; background: var(--blanc); }
.qz__agenda[hidden] { display: none; }
.qz__cal:empty { min-height: 480px; display: grid; place-items: center; }
.qz__cal:empty::before { content: "Chargement de l’agenda…"; font: 500 16px/1.4 var(--sans); color: var(--gris-600); }
.qz__secours {
  margin-top: clamp(24px, 2.5vw, 32px); max-width: 640px; padding: 24px;
  border-radius: 20px; background: var(--brume);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  font: 400 17px/1.5 var(--sans); color: var(--gris-700);
}
.qz__secours[hidden] { display: none; }
.qz__secours-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qz__secours-actions [hidden] { display: none; }
/* Quand l'agenda peut s'ouvrir dans un onglet, le rappel passe au second plan */
.qz__secours-actions [data-secours-lien]:not([hidden]) + .qz__vers-rappel { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }

.qz__champs { display: grid; gap: 18px; margin-top: clamp(24px, 2.5vw, 36px); }
.qz__mention { margin-top: 20px; }
/* Champ piège à robots : hors de la vue et du clavier */
.qz__piege { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.qz__fin { justify-content: center; padding-bottom: 32px; }
.qz__fin-disque { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--vert); color: var(--encre); }
.qz__fin-disque .ic { font-size: 28px; }
.qz__fin-titre { margin-top: 28px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.05em; }
/* La pastille du logo tient lieu de point */
.qz__point { display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.05em; border-radius: 50%; background: var(--vert); }
.qz__fin-texte { margin-top: 18px; max-width: 30em; font: 400 clamp(18px, 1.45vw, 21px)/1.55 var(--sans); color: var(--gris-700); }
.qz__fin-texte a { color: var(--encre); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.qz__recap { margin-top: 32px; max-width: 640px; padding: 20px 24px; border-radius: 20px; background: var(--brume); }
.qz__recap[hidden] { display: none; }
.qz__recap p { margin-bottom: 12px; font: 600 15px/1.3 var(--sans); color: var(--gris-600); }
.qz__recap ul { display: flex; flex-wrap: wrap; gap: 8px; }
.qz__recap li { padding: 10px 14px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1.5px #d7dae0; font: 500 15px/1.2 var(--sans); }
.qz__retour-site { align-self: flex-start; margin-top: 36px; background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.qz__retour-site:hover { background: var(--encre); color: var(--blanc); }

@media (min-width: 760px) {
  .qz__options--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qz__cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 759px) {
  .qz__haut { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding-top: 12px; padding-bottom: 14px; }
  .qz__logo { height: 24px; }
  .qz__fermer { grid-column: 2; grid-row: 1; }
  .qz__progres { grid-column: 1 / -1; grid-row: 2; gap: 12px; }
  .qz__segments { flex: 1; width: auto; gap: 5px; }
  .qz__compteur { font-size: 13px; }
  .qz__retour { margin-bottom: 20px; }
  .qz__opt { min-height: 56px; font-size: 16px; }
  /* Au doigt, les lettres ne servent à rien : la case devient une case à cocher, ronde pour un choix unique */
  .qz__lettre { width: 24px; height: 24px; border-radius: 7px; border-color: #8a909c; font-size: 0; }
  [data-unique] .qz__lettre { border-radius: 50%; }
  .qz__opt input:checked + .qz__lettre { background-size: 13px; }
  /* Le bouton de l'étape reste sous le pouce */
  .qz__pied {
    position: sticky; bottom: 0; z-index: 1;
    margin-top: auto; padding: 16px 0 calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--blanc);
  }
  .qz__pied .btn { width: 100%; }
  /* Une réponse ou un champ atteint au clavier ne passe pas sous ce pied collant */
  .qz__corps :is(a, button, input) { scroll-margin-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  .qz__pied :is(a, button) { scroll-margin-bottom: 0; }
  /* Le compteur des défis n'est plus affiché, mais reste annoncé par les lecteurs d'écran */
  .qz__nombre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .qz__carte { flex-direction: row; gap: 16px; min-height: 0; padding: 20px; }
  .qz__disque { width: 48px; height: 48px; }
  .qz__disque .ic { font-size: 22px; }
  .qz__carte-titre { font-size: 22px; }
  .qz__carte-texte { font-size: 16px; }
}

/* ---------- Pied de page ---------- */

.pied { background: var(--blanc); padding-top: clamp(72px, 9vw, 128px); padding-bottom: 28px; }
/* Le grand logo d'abord, puis l'accroche et les liens */
.pied__haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; margin-top: clamp(32px, 4vw, 56px); }
.pied__accroche { font: 600 18px/1.3 var(--sans); }
.pied__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.pied__nav a { font: 500 15px/1.3 var(--sans); color: var(--gris-700); text-decoration: none; transition: color 0.3s; }
.pied__nav a:hover { color: var(--encre); }
.pied__logo { width: 100%; height: auto; color: var(--encre); }
.pied__legal { margin-top: 28px; font-size: 14px; color: var(--gris-600); }

/* Lien vers la page Confidentialité, sous les formulaires du questionnaire */
.qz__mention a { color: var(--encre); text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Pages légales (mentions légales, confidentialité) ---------- */
.legale__haut { border-bottom: 1px solid var(--filet); }
.legale__barre { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.legale__logo { color: var(--encre); }
.legale__retour { font-size: 15px; }
.legale { padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 10vw, 140px); }
.legale__corps { max-width: 46rem; }
.legale__titre { font: 700 clamp(44px, 6.4vw, 96px)/0.95 var(--sans); letter-spacing: -0.055em; text-wrap: balance; }
.legale__point { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.04em; border-radius: 50%; background: var(--vert); }
.legale .legale__maj { margin-top: 20px; font-size: 15px; color: var(--gris-600); }
.legale .legale__chapo { margin-top: 40px; font: 500 clamp(19px, 1.6vw, 22px)/1.5 var(--sans); }
.legale h2 { margin: clamp(44px, 5vw, 64px) 0 14px; font: 700 clamp(22px, 2vw, 28px)/1.15 var(--sans); letter-spacing: -0.03em; }
.legale p, .legale li { font-size: 17px; color: var(--gris-700); }
.legale :is(p, ul) + p { margin-top: 14px; }
.legale__fin { white-space: nowrap; }
.legale ul { margin: 14px 0 0; padding-left: 1.1em; list-style: disc; }
.legale li + li { margin-top: 12px; }
.legale li::marker { color: var(--vert); }
.legale strong { font-weight: 600; color: var(--encre); }
.legale a { color: var(--encre); text-underline-offset: 3px; }
.legale__fiche { border-top: 1px solid var(--filet); }
.legale__fiche > div { display: grid; grid-template-columns: minmax(150px, 15rem) 1fr; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.legale__fiche dt { font-size: 15px; font-weight: 600; line-height: 1.6; }
.legale__fiche dd { font-size: 17px; color: var(--gris-700); }
.legale__pied { padding: 32px 0 28px; border-top: 1px solid var(--filet); }
.legale__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.legale__nav a { font: 500 15px/1.3 var(--sans); color: var(--gris-700); text-decoration: none; }
.legale__nav a:hover, .legale__nav a[aria-current] { color: var(--encre); }
@media (max-width: 560px) {
  .legale__fiche > div { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .legale__titre { font-size: 38px; }
}

/* Halydays pas encore en ligne : étiquette « Coming soon » à la place du bouton, point jaune Soleil de Halydays */
.bientot { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border: 1px solid var(--gris-300); border-radius: 999px; font: 600 16px/1 var(--sans); color: var(--encre); white-space: nowrap; }
.bientot__point { width: 10px; height: 10px; border-radius: 50%; background: var(--soleil); }

/* Agenda HubSpot Meetings (remplace Cal.com, 28/11) */
.qz__agenda iframe.qz__cal { display: block; width: 100%; height: min(760px, 78vh); min-height: 560px; border: 0; }

/* Pages secondaires : expertises, à propos, accompagnement, FAQ, blog (28/11) */
.pg__haut { border-bottom: 1px solid var(--filet); background: var(--blanc); position: sticky; top: 0; z-index: 20; }
.pg__barre { display: flex; align-items: center; gap: 24px; height: 76px; }
.pg__barre .legale__logo { flex: none; }
.pg__nav { display: flex; gap: 22px; margin-left: auto; }
.pg__nav a { font: 500 15px/1.3 var(--sans); color: var(--gris-700); text-decoration: none; white-space: nowrap; }
.pg__nav a:hover, .pg__nav a[aria-current] { color: var(--encre); }
.pg__barre .btn { flex: none; }
@media (max-width: 960px) {
  .pg__barre { height: auto; padding-block: 14px; flex-wrap: wrap; gap: 12px 16px; }
  .pg__barre .btn { margin-left: auto; }
  .pg__nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: none; }
  .pg__nav::-webkit-scrollbar { display: none; }
}
.pg__fil { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; font-size: 14px; color: var(--gris-600); }
.pg__fil a { color: var(--gris-600); text-decoration: none; }
.pg__fil a:hover { color: var(--encre); }
.pg__fil li + li::before { content: "/"; margin-right: 6px; color: var(--gris-400); }
.legale .pg__fil { list-style: none; padding: 0; margin-top: 0; }
.legale .pg__fil li { font-size: 14px; margin: 0; }
.legale .pg__fil li + li { margin-top: 0; }
.legale h3 { margin: 32px 0 10px; font: 700 clamp(19px, 1.6vw, 22px)/1.2 var(--sans); letter-spacing: -0.02em; }
.legale ol { margin: 14px 0 0; padding-left: 1.3em; }
.legale ol li::marker { color: var(--vert-fonce); font-weight: 700; }
.pg__resume { margin-top: 32px; padding: 22px 24px; border-radius: 22px; background: var(--brume); }
.legale .pg__resume p { color: var(--encre); font-size: 17px; }
.pg__cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
.pg__carte { display: grid; gap: 8px; padding: 24px; border-radius: 24px; background: var(--brume); text-decoration: none; color: var(--encre); transition: transform 0.5s var(--ease), background 0.3s; }
.pg__carte:hover { transform: translateY(-3px); background: #eceef1; }
.pg__carte b { font: 700 20px/1.2 var(--sans); letter-spacing: -0.02em; }
.pg__carte span { font-size: 16px; color: var(--gris-700); }
.legale .pg__carte { text-decoration: none; }
.pg__appel { margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--encre); color: var(--blanc); }
.legale .pg__appel h2 { margin-top: 0; color: var(--blanc); }
.legale .pg__appel p { color: var(--gris-300); }
.pg__appel .pg__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.legale .pg__appel a { text-decoration: none; }
.pg__appel .btn--clair { background: var(--blanc); color: var(--encre); }
.pg__auteur { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 15px; color: var(--gris-600); }
.pg__auteur img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.legale details { border-bottom: 1px solid var(--filet); padding: 18px 0; }
.legale summary { cursor: pointer; font: 600 18px/1.35 var(--sans); color: var(--encre); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.legale summary::-webkit-details-marker { display: none; }
.legale summary::after { content: "+"; color: var(--vert-fonce); font-size: 22px; line-height: 1; }
.legale details[open] summary::after { content: "–"; }
.legale details p { margin-top: 12px; }
.legale table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 16px; }
.legale th, .legale td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--filet); color: var(--gris-700); vertical-align: top; }
.legale th { color: var(--encre); font-weight: 600; }
@media (max-width: 560px) { .legale table { font-size: 14px; } .legale th, .legale td { padding: 10px 6px; } }
