/* =========================================================
   glasz — mise en page des pages vitrine
   Header, menu, hero, sections, footer et animations.
   Toutes les classes sont préfixées « g- » pour ne jamais
   entrer en collision avec celles que génère js/main.js.
   Chargé après css/style.css (polices, variables, composants).
   ========================================================= */

/* ---------- Grain tactile ---------- */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 290;
  pointer-events: none;
  opacity: 0.06;
  background-image: var(--grain);
  animation: g-grain 1.2s steps(6) infinite;
}
@keyframes g-grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

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

/* Lignes masquées par SplitText (titres qui montent) : sans marge, le
   masque rogne les accents des capitales (É, È, À). */
[data-hero-title] > div,
[data-split] > div { padding-top: 0.16em; margin-top: -0.16em; padding-bottom: 0.04em; margin-bottom: -0.04em; }

/* ---------- Lettres qui roulent au survol ---------- */
.g-roll { display: inline-flex; overflow: hidden; height: 1.25em; line-height: 1.25; }
.g-roll .ch {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.25em 0 currentColor;
  transition: transform 0.55s var(--ease);
  transition-delay: calc(var(--i) * 16ms);
}
.g-rh:hover .g-roll .ch,
.g-rh:focus-visible .g-roll .ch { transform: translateY(-1.25em); }

/* ---------- Écran de chargement (première visite de la session) ---------- */
.g-loader { display: none; }
.g-js.g-first:not(.g-rm) .g-loader { display: block; position: fixed; inset: 0; z-index: 400; }
.g-loader__red, .g-loader__black { position: absolute; inset: 0; }
.g-loader__red { background: var(--red); }
.g-loader__black {
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(28px + env(safe-area-inset-top, 0px)) var(--pad) calc(28px + env(safe-area-inset-bottom, 0px));
}
.g-loader__top { display: flex; justify-content: space-between; align-items: center; }
.g-loader__top svg { width: 44px; height: 44px; color: var(--red); }
.g-loader__bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.g-loader__word { display: grid; gap: 6px; }
.g-loader__word .mono { color: var(--ink-soft); }
.g-loader__word b { font-family: var(--font-display); font-size: clamp(22px, 3vw, 40px); text-transform: uppercase; line-height: 1; }
.g-loader__num { font-family: var(--font-display); font-size: clamp(90px, 19vw, 300px); line-height: 0.78; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.g-loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.g-hdr {
  position: fixed;
  z-index: 100;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 12px;
  right: 12px;
  height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  background: rgba(10, 10, 13, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--line);
  color: var(--white);
  transition: transform 0.7s var(--ease), background-color 0.4s ease;
}
.g-hdr.is-scrolled { background: rgba(10, 10, 13, 0.9); }
.g-hdr.is-hidden,
.g-js:not(.g-rm) .g-hdr.is-pre { transform: translateY(calc(-100% - 30px)); }
.g-hdr__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.g-hdr__brand svg { width: 28px; height: 28px; transition: transform 0.8s var(--ease), color 0.3s; }
.g-hdr__brand:hover svg { transform: rotate(-18deg) scale(1.08); color: var(--red); }
.g-hdr__nav { display: flex; justify-content: center; align-items: stretch; }
.g-hdr__nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(12px, 1.3vw, 20px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9d8dd;
  transition: color 0.3s;
}
.g-hdr__nav a::before { content: ''; width: 6px; height: 6px; background: var(--red); transform: scale(0); transition: transform 0.4s var(--ease); }
.g-hdr__nav a:hover,
.g-hdr__nav a.is-current { color: var(--white); }
.g-hdr__nav a.is-current::before { transform: scale(1); }
.g-hdr__right { display: flex; align-items: stretch; }
.g-hdr__icon {
  position: relative;
  width: 60px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: var(--white);
  transition: background-color 0.3s ease;
}
.g-hdr__icon:hover { background: rgba(255, 255, 255, 0.08); }
.g-hdr__icon svg { width: 18px; height: 18px; }
.g-hdr__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px 0 22px;
  background: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.4s var(--ease), color 0.4s;
}
.g-hdr__cta i { width: 44px; height: 44px; display: grid; place-items: center; background: var(--black); color: var(--white); transition: transform 0.6s var(--ease); }
.g-hdr__cta i svg { width: 17px; height: 17px; }
.g-hdr__cta:hover { background: var(--white); color: var(--black); }
.g-hdr__cta:hover i { transform: rotate(-45deg); }
.g-hdr__burger { display: none; width: 62px; border-left: 1px solid var(--line); position: relative; }
.g-hdr__burger span { position: absolute; left: 20px; right: 20px; height: 2px; background: var(--white); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.g-hdr__burger span:first-child { top: 25px; }
.g-hdr__burger span:last-child { top: 34px; }
.g-hdr__burger[aria-expanded="true"] span:first-child { top: 29.5px; transform: rotate(45deg); }
.g-hdr__burger[aria-expanded="true"] span:last-child { top: 29.5px; transform: rotate(-45deg); }
.g-hdr__progress { position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.g-hdr__progress i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.g-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; animation: g-pulse 1.8s infinite; }
@keyframes g-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 10, 61, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(255, 10, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 10, 61, 0); }
}

/* ---------- Menu plein écran (mobile) — #mobileMenu, ouvert par js/main.js ---------- */
.g-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--red);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 36px;
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0% at calc(100% - 44px) 44px);
  visibility: hidden;
  transition: clip-path 0.9s var(--ease-io), visibility 0s 0.9s;
}
.g-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path 0.9s var(--ease-io), visibility 0s; }
.g-menu nav { display: grid; }
.g-menu nav a {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(26px, 7.4vw, 84px);
  line-height: 1.08;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.25);
  padding-block: 6px;
}
.g-menu nav a span { display: block; transform: translateY(105%); transition: transform 0.8s var(--ease); }
.g-menu.is-open nav a span { transform: none; }
.g-menu.is-open nav a:nth-child(2) span { transition-delay: 0.05s; }
.g-menu.is-open nav a:nth-child(3) span { transition-delay: 0.1s; }
.g-menu.is-open nav a:nth-child(4) span { transition-delay: 0.15s; }
.g-menu.is-open nav a:nth-child(5) span { transition-delay: 0.2s; }
.g-menu.is-open nav a:nth-child(6) span { transition-delay: 0.25s; }
.g-menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.g-menu__foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.g-hero {
  position: relative;
  min-height: max(660px, min(100svh, 1000px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--red-deep);
  color: var(--white);
}
.g-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.g-hero__media img {
  position: relative;
  z-index: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 62% 22%;
  filter: grayscale(1) contrast(1.08) brightness(1.45);
  transform-origin: 60% 40%;
}
.g-hero__media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--red); mix-blend-mode: multiply; }
.g-hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(10, 10, 13, 0.42) 0%, rgba(10, 10, 13, 0.05) 50%, transparent),
    linear-gradient(0deg, rgba(10, 10, 13, 0.35), transparent 40%);
}
.g-hero__inner {
  flex: 1;
  padding-top: calc(130px + env(safe-area-inset-top, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 40px 64px;
  align-items: end;
}
.g-hero__title { font-size: clamp(27px, 5.2vw, 92px); line-height: 0.9; align-self: start; }
.g-hero__aside { display: grid; gap: 24px; justify-items: start; padding-bottom: 6px; }
.g-hero__aside p { font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); max-width: 34ch; }
.g-hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-block: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.88);
}
.g-hero__meta > span { display: inline-flex; align-items: center; gap: 10px; }
.g-word {
  display: flex;
  justify-content: space-between;
  padding-inline: var(--pad);
  font-family: var(--font-display);
  font-size: 24vw;
  line-height: 0.74;
  letter-spacing: -0.02em;
  margin-bottom: -0.035em;
  user-select: none;
}
.g-word .l { display: inline-block; overflow: hidden; padding-top: 0.24em; margin-top: -0.18em; }
.g-word .li { display: inline-block; transition: color 0.3s; }
.g-hero .g-word .l:hover .li { color: var(--black); }
.g-hero--team .g-word { padding-top: 0.14em; }
.g-hero--team .g-hero__media img { object-position: 50% 30%; filter: grayscale(1) contrast(1.05) brightness(1.3); }

/* ---------- Manifeste ---------- */
.g-mf { background: var(--paper); color: var(--black); padding-block: clamp(90px, 12vw, 190px) clamp(60px, 8vw, 120px); }
.g-mf__grid { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 40px; }
.g-mf__text { font-size: clamp(27px, 3.9vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -0.025em; max-width: 22ch; }
.g-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 120px); border-top: 2px solid var(--black); }
.g-stat { padding: 22px 24px 0 0; display: grid; gap: 14px; align-content: start; }
.g-stat + .g-stat { border-left: 2px solid var(--black); padding-left: 24px; }
.g-stat__n { font-family: var(--font-display); font-size: clamp(56px, 6.4vw, 118px); line-height: 0.8; letter-spacing: -0.03em; overflow: hidden; padding-top: 0.05em; }
.g-stat__n span { display: inline-block; }
.g-stat__n em { font-style: normal; color: var(--red); }
.g-stat__l { color: var(--ink); font-weight: 500; max-width: 26ch; }
.g-ref { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 100px); padding-block: 22px; border-block: 2px solid var(--black); }
.g-ref b { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 40px); text-transform: uppercase; letter-spacing: -0.01em; }

/* ---------- iPhone construit en CSS ----------
   L'écran garde exactement le ratio des captures (720×1558) :
   aucune déformation, aucun rognage. */
.g-phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.036);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(155deg, #5a5a62 0%, #232328 14%, #0d0d10 45%, #18181d 80%, #4d4d55 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 0 calc(var(--w) * 0.011) #050506,
    0 60px 120px -40px rgba(0, 0, 0, 0.95),
    0 40px 90px -40px rgba(255, 10, 61, 0.55);
}
.g-phone::before,
.g-phone::after { content: ''; position: absolute; width: 3px; background: linear-gradient(90deg, #3a3a41, #1c1c21); border-radius: 2px; }
.g-phone::before { left: -2.5px; top: 21%; height: 6%; box-shadow: 0 calc(var(--w) * 0.16) 0 #26262b, 0 calc(var(--w) * 0.3) 0 #26262b; }
.g-phone::after { right: -2.5px; top: 27%; height: 13%; }
.g-phone__scr { position: relative; aspect-ratio: 720 / 1558; border-radius: calc(var(--w) * 0.13); overflow: hidden; background: #141416; isolation: isolate; transform: translateZ(0); }
.g-phone__scr > img { width: 100%; height: 100%; object-fit: cover; }
.g-phone__island { position: absolute; z-index: 6; top: calc(var(--w) * 0.028); left: 50%; translate: -50% 0; width: 30%; height: calc(var(--w) * 0.082); background: #000; border-radius: 99px; }
.g-phone__glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 26%, transparent 40%); }
.g-shot { position: absolute; inset: 0; overflow: hidden; }
.g-shot img { width: 100%; height: 100%; object-fit: cover; }
.g-shot i { position: absolute; inset: 0; background: #000; opacity: 0; }
.g-shot ~ .g-shot { transform: translateX(100%); }

/* ---------- L'app, un soir de service (section épinglée) ---------- */
.g-app { position: relative; background: var(--black); color: var(--white); }
.g-app__pin {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
  padding: calc(96px + env(safe-area-inset-top, 0px)) var(--pad) 40px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 25% 100%;
}
.g-app__glow { position: absolute; left: 50%; top: 56%; width: min(90vw, 980px); aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(circle, rgba(255, 10, 61, 0.42) 0%, rgba(255, 10, 61, 0.12) 35%, transparent 62%); pointer-events: none; }
.g-app__track {
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(120px, 19vw, 340px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.g-app__track span { padding-right: 0.4em; }
.g-app__head { position: absolute; top: calc(98px + env(safe-area-inset-top, 0px)); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; color: var(--ink-soft); z-index: 3; }
.g-app__intro { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--pad); pointer-events: none; }
.g-app__intro span { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(40px, 7.4vw, 130px); line-height: 0.88; letter-spacing: -0.02em; }
.g-app__intro .r { text-align: right; color: var(--red); }
.g-app__intro small { display: block; margin-top: 0.5em; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-soft); }
.g-app__copy { position: relative; z-index: 3; min-height: 330px; align-self: center; }
.g-step { position: absolute; inset: 0 0 auto 0; }
.g-step:not(:first-child) { visibility: hidden; }
.g-step__t { display: flex; align-items: center; gap: 12px; color: var(--red); }
.g-step__t::after { content: ''; height: 1px; width: 48px; background: currentColor; }
.g-step h3 { font-size: clamp(28px, 3.3vw, 58px); line-height: 0.92; margin: 18px 0; }
.g-step p { font-size: 17px; color: #b9b8be; max-width: 36ch; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.g-chip { border: 1px solid var(--line); padding: 7px 11px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: #d9d8dd; }
.g-chip--red { background: var(--red); border-color: var(--red); color: var(--white); }
.g-app__phone { position: relative; z-index: 2; perspective: 1600px; }
.g-app__phone .g-phone { --w: min(clamp(230px, 21vw, 320px), calc((100svh - 190px) / 2.12)); }
.g-phone-wrap { transform-style: preserve-3d; will-change: transform; }
.g-app__tl { position: relative; z-index: 3; justify-self: end; width: min(100%, 250px); }
.g-tl { position: relative; padding-left: 24px; }
.g-tl::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.g-tl__fill { position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; margin-left: -0.5px; background: var(--red); transform-origin: top; transform: scaleY(0); }
.g-tl li { display: flex; gap: 16px; align-items: baseline; padding-block: 11px; opacity: 0.32; cursor: pointer; }
.g-tl li:first-child { opacity: 1; }
.g-tl li:hover .n { color: var(--red); }
.g-tl .t { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); width: 44px; flex: none; font-variant-numeric: tabular-nums; }
.g-tl .n { font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }

/* ---------- Fonctionnalités (bento) ---------- */
.g-bento { background: var(--paper); color: var(--black); padding-block: clamp(90px, 11vw, 170px); }
.g-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.g-head h2 { margin-top: 18px; }
.g-head p { max-width: 38ch; color: var(--ink); font-size: 18px; }
.g-head--light p { color: #b9b8be; }
.g-hint { display: block; margin-top: 14px; color: var(--red); }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(290px, auto); gap: 2px; background: var(--black); border: 2px solid var(--black); }
.g-cell { position: relative; background: var(--white); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; overflow: hidden; }
.g-cell::after { content: ''; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: var(--red); transition: width 0.6s var(--ease), height 0.6s var(--ease); }
.g-cell:hover::after { width: 34px; height: 34px; }
.g-cell__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.g-tag { border: 1.5px solid currentColor; padding: 4px 8px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.g-cell h3 { font-size: clamp(20px, 1.9vw, 30px); line-height: 0.95; }
.g-cell p { font-size: 15px; color: var(--ink); max-width: 38ch; margin-top: 10px; }
.g-cell--dark { background: var(--black); color: var(--white); }
.g-cell--dark p { color: #b9b8be; }
.g-cell--red { background: var(--red); color: var(--white); }
.g-cell--red p { color: rgba(255, 255, 255, 0.9); }
.g-cell--red::after { background: var(--black); }

.g-bible { grid-column: 1 / 3; grid-row: 1 / 3; padding: 0; background: var(--black); color: var(--white); min-height: 600px; }
.g-bible__img { position: absolute; inset: 0; overflow: hidden; }
.g-bible__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.08); opacity: 0; transition: opacity 0.6s var(--ease); }
.g-bible__img img.is-on { opacity: 1; }
.g-bible__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 13, 0.96) 30%, rgba(10, 10, 13, 0.3) 65%, rgba(10, 10, 13, 0.55)); }
.g-bible__in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 26px; }
.g-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.g-tabs button { padding: 7px 12px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.g-tabs button:hover { border-color: var(--white); }
.g-tabs button[aria-selected="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.g-recipes { display: grid; }
/* Les 4 fiches sont empilées dans la même case : la hauteur reste celle de la plus longue. */
.g-recipe { grid-area: 1 / 1; align-self: end; }
.g-recipe:not(.is-on) { visibility: hidden; }
.g-recipe h3 { font-size: clamp(30px, 3.6vw, 58px); margin-bottom: 10px; }
.g-bible .g-recipe__meta { color: #b9b8be; margin: 0 0 22px; max-width: none; font-size: 12px; }
.g-recipe.is-in h3, .g-recipe.is-in .g-recipe__meta { animation: g-rise 0.6s var(--ease) both; }
.g-recipe.is-in li { animation: g-rise 0.6s var(--ease) both; animation-delay: calc(0.08s + var(--i, 0) * 0.06s); }
@keyframes g-rise { from { opacity: 0; transform: translateY(14px); } }
.g-ing { display: grid; gap: 12px; max-width: 520px; }
.g-ing li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: clamp(15px, 1.3vw, 18px); }
.g-ing b { color: var(--gold); width: 64px; flex: none; font-variant-numeric: tabular-nums; }
.g-ing i { flex: 1; min-width: 16px; height: 1px; background: rgba(255, 255, 255, 0.45); transform-origin: left; }
.g-ing--kv b { width: auto; min-width: 96px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.g-ing--kv span { text-align: right; }
.g-ing__al span { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.g-ing__al em { font-style: normal; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; background: var(--red); color: var(--white); }
.g-bible__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.g-bible__foot p { color: #b9b8be; max-width: 34ch; font-size: 15px; margin: 0; }
.g-bible__foot .mono { color: var(--ink-soft); }

.g-al-cell { grid-column: 3 / 5; }
.g-al { display: flex; flex-wrap: wrap; gap: 7px; }
.g-al button { padding: 9px 13px; border: 1.5px solid var(--black); font-size: 13px; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.g-al button:hover { background: rgba(10, 10, 13, 0.08); }
.g-al button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.g-al__count { font-family: var(--font-mono); font-size: 12px; color: var(--ink); margin-top: 14px; }

.g-ring { width: 118px; height: 118px; position: relative; align-self: center; }
.g-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-ring circle { fill: none; stroke-width: 9; }
.g-ring .bg { stroke: rgba(10, 10, 13, 0.1); }
.g-ring .fg { stroke: var(--red); stroke-dasharray: 314.16; stroke-dashoffset: 0; }
.g-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; }

.g-sig { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.g-sig i { width: 14px; background: var(--white); transform-origin: bottom; animation: g-sig 3.2s var(--ease-io) infinite; }
.g-sig i:nth-child(1) { height: 25%; }
.g-sig i:nth-child(2) { height: 50%; animation-delay: 0.1s; }
.g-sig i:nth-child(3) { height: 75%; animation-delay: 0.2s; }
.g-sig i:nth-child(4) { height: 100%; animation-delay: 0.3s; }
@keyframes g-sig { 0%, 20% { opacity: 1; transform: scaleY(1); } 45%, 75% { opacity: 0.25; transform: scaleY(0.25); } 100% { opacity: 1; transform: scaleY(1); } }
.g-big0 { font-family: var(--font-display); font-size: clamp(84px, 8vw, 130px); line-height: 0.8; letter-spacing: -0.03em; }

.g-check { grid-column: 1 / 3; }
.g-ck { display: grid; border-top: 2px solid var(--black); }
.g-ck label { display: flex; align-items: center; gap: 14px; padding: 12px 2px; border-bottom: 1.5px solid var(--line-ink); cursor: pointer; font-weight: 500; }
.g-ck input { position: absolute; opacity: 0; pointer-events: none; }
.g-box { width: 24px; height: 24px; border: 2px solid var(--black); flex: none; display: grid; place-items: center; transition: background-color 0.15s, border-color 0.15s; }
.g-box svg { width: 15px; height: 15px; fill: none; stroke: var(--white); stroke-width: 3.4; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.3s var(--ease); }
.g-ck input:checked + .g-box { background: var(--red); border-color: var(--red); }
.g-ck input:checked + .g-box svg { stroke-dashoffset: 0; }
.g-ck input:focus-visible + .g-box { outline: 2px solid var(--red); outline-offset: 3px; }
.g-ck .txt { flex: 1; transition: color 0.2s; }
.g-ck input:checked ~ .txt { color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.g-ck .who { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.g-ck__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.g-segs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 260px; }
.g-segs i { height: 10px; background: rgba(10, 10, 13, 0.12); transition: background-color 0.25s; }
.g-segs i.on { background: var(--black); }
.g-ck__reset { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: underline; text-underline-offset: 3px; }
.g-stamp {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 38px);
  text-transform: uppercase;
  color: var(--red);
  border: 5px solid var(--red);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) rotate(-10deg) scale(2.2);
  transition: transform 0.45s cubic-bezier(0.3, 1.7, 0.5, 1), opacity 0.2s;
}
.g-check.is-done .g-stamp { opacity: 1; transform: translateY(-50%) rotate(-10deg) scale(1); }

.g-waste { display: flex; align-items: center; gap: 14px; position: relative; }
.g-waste button { height: 48px; padding: 0 18px; background: var(--black); color: var(--white); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.25s; }
.g-waste button:hover { background: var(--red); }
.g-waste__n { font-family: var(--font-display); font-size: 34px; font-variant-numeric: tabular-nums; line-height: 1; }
.g-waste__lbl { color: var(--ink-soft); }
.g-pop { position: absolute; left: 0; bottom: 56px; padding: 6px 10px; background: var(--red); color: var(--white); font-family: var(--font-mono); font-size: 11px; font-weight: 600; white-space: nowrap; pointer-events: none; animation: g-pop 1.4s var(--ease) forwards; }
@keyframes g-pop { 0% { opacity: 0; transform: translateY(12px); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }

.g-kpis { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--line); }
.g-kpis div { padding-top: 14px; }
.g-kpis div + div { border-left: 1.5px solid var(--line); padding-left: 14px; }
.g-kpis b { display: block; font-family: var(--font-display); font-size: clamp(34px, 3vw, 48px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.g-kpis span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; }

/* Températures : même lecture que l'écran de tournée de l'app */
.g-temp { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.g-temp__info { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.g-temp .g-cell__top { flex-wrap: wrap; }
.g-temp__demo { display: grid; gap: 18px; align-content: center; }
.g-temp__head { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); }
.g-temp__state { padding: 3px 8px; border: 1.5px solid var(--line); color: var(--white); transition: color 0.25s, border-color 0.25s; }
.g-temp__read { display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; border: 2px solid var(--white); }
.g-temp__range { display: grid; align-content: center; gap: 6px; padding: 14px 18px; border-right: 1.5px solid var(--line); color: var(--ink-soft); }
.g-temp__range b { color: var(--white); font-weight: 500; white-space: nowrap; }
.g-temp__val { display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 10px 18px; }
.g-temp__val output { font-family: var(--font-display); font-size: clamp(48px, 5.4vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; transition: color 0.25s; }
.g-temp__val span { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.g-temp__btns { display: grid; border-left: 1.5px solid var(--line); }
.g-temp__btns button { width: 64px; font-size: 26px; line-height: 1; transition: background-color 0.2s, color 0.2s; }
.g-temp__btns button + button { border-top: 1.5px solid var(--line); }
.g-temp__btns button:hover { background: var(--white); color: var(--black); }
.g-temp__gauge { position: relative; height: 70px; margin-inline: 10px; }
.g-temp__gauge::before { content: ''; position: absolute; left: 0; right: 0; top: 44px; height: 2px; background: var(--white); }
.g-temp__band { position: absolute; left: 25%; width: 37.5%; top: 8px; height: 36px; background: rgba(255, 255, 255, 0.14); border-inline: 2px solid var(--white); }
.g-temp__mark { position: absolute; left: calc(var(--p, 56.25) * 1%); top: 0; width: 2px; height: 44px; margin-left: -1px; background: var(--white); transition: left 0.45s var(--ease), background-color 0.25s; }
.g-temp__mark::before { content: ''; position: absolute; top: 0; left: 50%; width: 18px; height: 18px; translate: -50% 0; background: inherit; }
.g-temp__scale i { position: absolute; top: 52px; left: calc(var(--t) / 16 * 100%); translate: -50% 0; font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.g-temp__scale i::before { content: ''; position: absolute; left: 50%; bottom: calc(100% + 1px); width: 1px; height: 7px; background: var(--white); }
.g-temp__scale b { color: var(--white); font-weight: 600; }
.g-temp .g-temp__msg { margin: 0; max-width: none; font-size: 12px; color: var(--ink-soft); min-height: 1.4em; transition: color 0.25s; }
.g-temp.is-out .g-temp__val output, .g-temp.is-out .g-temp__msg { color: var(--red); }
.g-temp.is-out .g-temp__state { color: var(--red); border-color: var(--red); }
.g-temp.is-out .g-temp__mark { background: var(--red); }

/* ---------- Personnalisation : l'écran Formation aux couleurs du bar ---------- */
.g-perso { --acc: var(--red); --on-acc: #fff; --on-acc-2: rgba(10, 10, 13, 0.72); background: var(--black); color: var(--white); padding-block: clamp(90px, 11vw, 170px); overflow: hidden; }
.g-perso .accent { color: var(--acc); transition: color 0.4s; }
.g-perso__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  /* Les rangées 1fr en haut et en bas centrent la colonne de gauche face au téléphone. */
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-template-areas: ". phone" "head phone" "ctrl phone" "list phone" ". phone";
  column-gap: clamp(40px, 6vw, 100px);
}
.g-perso__head { grid-area: head; }
.g-perso__phone { grid-area: phone; align-self: center; }
.g-perso__ctrl { grid-area: ctrl; }
.g-perso__list { grid-area: list; }
.g-perso h2 { margin-top: 18px; }
.g-perso__lead { color: #b9b8be; font-size: 18px; max-width: 44ch; margin-top: 26px; }
.g-perso__ctrl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; margin-top: 34px; padding: 22px 0; border-block: 1.5px solid var(--line); }
.g-perso__field { display: grid; gap: 10px; align-content: start; }
.g-perso__field > .mono { color: var(--ink-soft); }
.g-perso__field input[type="text"] { width: 100%; height: 50px; padding: 0 14px; background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.35); color: var(--white); font-size: 17px; font-weight: 600; transition: border-color 0.2s; }
.g-perso__field input[type="text"]::placeholder { color: #6f6e75; font-weight: 500; }
.g-perso__field input[type="text"]:focus { outline: none; border-color: var(--white); }
.g-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.g-swatches button, .g-swatch-custom { position: relative; width: 50px; height: 50px; background: var(--c); border: 1.5px solid rgba(255, 255, 255, 0.2); cursor: pointer; }
.g-swatches button[aria-pressed="true"], .g-swatch-custom.is-on { outline: 2px solid var(--white); outline-offset: 3px; }
.g-swatch-custom { background: conic-gradient(from 90deg, #ff0a3d, #ff7a1a, #d6a64f, #12b886, #3d6bff, #9b5cf6, #ff0a3d); }
.g-swatch-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.g-perso__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 30px; }
.g-perso__list li { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--acc); transition: border-color 0.4s; }
.g-perso__list b { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.g-perso__list span { color: #b9b8be; font-size: 15px; }
.g-perso__phone { display: grid; justify-items: center; }
.g-perso__phone .g-phone {
  --w: clamp(250px, 24vw, 340px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 0 calc(var(--w) * 0.011) #050506,
    0 60px 120px -40px rgba(0, 0, 0, 0.95),
    0 40px 90px -40px color-mix(in srgb, var(--acc) 55%, transparent);
  transition: box-shadow 0.4s;
}

/* Maquette HTML de l'écran Formation (capture 603 px de large : 1cqw = 6,03 px) */
.g-mock { position: absolute; inset: 0; container-type: inline-size; background: #0a090e; color: #fff; overflow: hidden; }
.g-mock__in { padding: 19.6cqw 5cqw 0; }
.g-mock .m { font-family: var(--font-mono); font-size: 2.2cqw; letter-spacing: 0.1em; text-transform: uppercase; color: #9d9ca2; }
.g-mock__title { font-family: var(--font-display); font-size: 8.4cqw; line-height: 1; text-transform: uppercase; }
.g-mock__sub { margin: 4.4cqw 0 0 1cqw; font-size: 3.45cqw; color: #aaa9ae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-mock__prog { display: flex; align-items: center; gap: 5.8cqw; margin-top: 6cqw; padding: 4.8cqw 5.1cqw; border: 0.25cqw solid #3a393f; background: #121116; }
.g-mock__ring { position: relative; width: 20.6cqw; flex: none; }
.g-mock__ring svg { width: 100%; }
.g-mock__ring circle { fill: none; stroke: var(--acc); stroke-width: 7.5; transition: stroke 0.4s; }
.g-mock__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.9cqw; font-weight: 400; }
.g-mock__pt { display: grid; gap: 1.6cqw; }
.g-mock__pt b { font-family: var(--font-display); font-size: 7.6cqw; line-height: 1; font-weight: 400; }
.g-mock__quiz { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; margin-top: 3.3cqw; padding: 3.3cqw 2cqw 3.3cqw 3.8cqw; background: var(--acc); transition: background-color 0.4s; }
.g-mock__quiz .m { display: block; color: var(--on-acc-2); letter-spacing: 0.08em; white-space: nowrap; }
.g-mock__quiz b { display: block; margin-top: 1.4cqw; font-family: var(--font-display); font-size: 4.5cqw; font-weight: 400; text-transform: uppercase; color: var(--on-acc); }
.g-mock__quiz i { display: grid; place-items: center; width: 10cqw; aspect-ratio: 1; flex: none; background: #0a090e; }
.g-mock__quiz svg { width: 4.4cqw; fill: none; stroke: var(--acc); stroke-width: 2.4; transition: stroke 0.4s; }
.g-mock__acc { position: relative; display: flex; align-items: center; gap: 3cqw; margin-top: 4.3cqw; padding: 4.4cqw 3.5cqw; border: 0.25cqw solid #3a393f; background: #121116; }
.g-mock__acc > div { flex: 1; display: grid; gap: 1.4cqw; }
.g-mock__acc b { font-family: var(--font-display); font-size: 3.6cqw; font-weight: 400; text-transform: uppercase; }
.g-mock__acc::after { content: ''; position: absolute; top: -0.25cqw; right: -0.25cqw; width: 2.4cqw; aspect-ratio: 1; background: var(--acc); transition: background-color 0.4s; }
.g-mock__acc--open { margin-top: 3.3cqw; background: #fff; color: #0a090e; border-color: #fff; }
.g-mock__acc--open .m { color: #55545a; }
.g-mock__acc--open::after { width: 5cqw; }
.g-mock__chev { width: 4cqw; fill: none; stroke: currentColor; stroke-width: 2; }
.g-mock__sq { display: flex; gap: 0.6cqw; }
.g-mock__sq i { width: 2.2cqw; aspect-ratio: 1; background: #fff; }
.g-mock__sq i + i { background: transparent; border: 0.3cqw solid var(--acc); transition: border-color 0.4s; }
.g-mock__dots { display: flex; gap: 0.5cqw; }
.g-mock__dots i { width: 2.1cqw; aspect-ratio: 1; background: #0a090e; }
.g-mock__list { border: 0.25cqw solid #3a393f; border-top: 0; padding-inline: 3.5cqw; }
.g-mock__list li { display: flex; align-items: center; gap: 3.2cqw; padding: 3.4cqw 0; border-bottom: 0.2cqw solid #2a292f; }
.g-mock__list li > div { display: grid; gap: 0.8cqw; }
.g-mock__list b { font-size: 3.3cqw; font-weight: 600; }
.g-mock__list .m { font-size: 2.3cqw; }
.g-mock__ck { display: grid; place-items: center; width: 6.6cqw; aspect-ratio: 1; flex: none; background: #fff; }
.g-mock__ck svg { width: 4cqw; fill: none; stroke: #0a090e; stroke-width: 3; }
.g-mock__nav { position: absolute; left: 0; right: 0; bottom: 0; height: 21.5cqw; display: flex; align-items: center; justify-content: space-around; padding: 0 3cqw 5cqw; background: #0a090e; border-top: 0.2cqw solid #2a292f; color: #8a8990; }
.g-mock__nav svg { width: 4.4cqw; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.g-mock__nav .is-on { position: relative; display: flex; align-items: center; gap: 2cqw; height: 100%; padding-inline: 2cqw; color: #fff; font-size: 2.5cqw; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.g-mock__nav .is-on::before { content: ''; position: absolute; left: 0; right: 0; top: -0.2cqw; height: 0.7cqw; background: var(--acc); transition: background-color 0.4s; }

/* ---------- Manifeste rouge + éventail de téléphones ---------- */
.g-stmt { background: var(--red); color: var(--white); overflow: hidden; padding-block: clamp(90px, 11vw, 170px); }
.g-stmt__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.g-stmt__text { font-size: clamp(26px, 3.4vw, 54px); line-height: 1; }
.g-stmt__sign { display: flex; align-items: center; gap: 14px; margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 2px solid rgba(0, 0, 0, 0.3); }
.g-stmt__sign svg { width: 42px; height: 42px; color: var(--black); }
.g-stmt__sign b { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1; }
.g-fan { position: relative; height: clamp(420px, 44vw, 640px); display: grid; place-items: center; }
.g-fan .g-phone { --w: clamp(150px, 15vw, 230px); position: absolute; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), inset 0 0 0 calc(var(--w) * 0.011) #050506, 0 40px 80px -30px rgba(61, 3, 19, 0.9); }
.g-fan .g-phone:nth-child(1) { transform: translateX(-62%) rotate(-12deg) translateY(6%); }
.g-fan .g-phone:nth-child(2) { z-index: 2; }
.g-fan .g-phone:nth-child(3) { transform: translateX(62%) rotate(12deg) translateY(6%); }

/* ---------- Tarifs & mise en route ---------- */
.g-price { background: var(--black); color: var(--white); padding-block: clamp(90px, 11vw, 170px); }
.g-price__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.g-price__bar .mono { color: var(--ink-soft); }
.g-price .pricing-legal { color: var(--ink-soft); }
.g-setup { margin-top: clamp(90px, 10vw, 150px); }

/* ---------- FAQ ---------- */
.g-faq { background: var(--paper); color: var(--black); padding-block: clamp(90px, 11vw, 170px); }
.g-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.g-faq__side { position: sticky; top: 110px; display: grid; gap: 22px; justify-items: start; }
.g-faq__side p { color: var(--ink); font-size: 18px; max-width: 32ch; }

/* ---------- Équipe (aperçu sur l'accueil + page équipe) ---------- */
.g-team { background: var(--black); color: var(--white); padding-block: clamp(90px, 11vw, 170px); }
.g-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.g-person { background: var(--black); display: grid; grid-template-rows: auto 1fr; }
.g-person__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--red-deep); }
.g-person__img img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05) brightness(1.5); transition: filter 0.6s ease; }
.g-person__img::after { content: ''; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; opacity: 0.8; transition: opacity 0.6s ease; }
.g-person:hover .g-person__img::after { opacity: 0.3; }
.g-person__body { padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; }
.g-person__name { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 36px); text-transform: uppercase; line-height: 0.95; }
.g-person__role { color: var(--red); }
.g-person__bio { color: #b9b8be; max-width: 48ch; }
.g-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2px; border: 1px solid var(--line); border-top: 0; }
.g-fact { padding: 22px clamp(18px, 2vw, 26px); display: grid; gap: 8px; align-content: start; }
.g-fact + .g-fact { border-left: 1px solid var(--line); }
.g-fact:nth-child(n + 4) { border-top: 1px solid var(--line); }
.g-fact:nth-child(4) { border-left: 0; }
.g-fact b { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 60px); line-height: 0.9; }
.g-fact span { color: #b9b8be; font-size: 14.5px; max-width: 28ch; }

/* Page équipe */
.g-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--black); border: 2px solid var(--black); margin-top: clamp(56px, 7vw, 100px); }
.g-principle { position: relative; background: var(--white); min-height: 240px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow: hidden; transition: color 0.45s var(--ease); isolation: isolate; }
.g-principle::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.g-principle:hover { color: var(--white); }
.g-principle:hover::before { transform: scaleY(1); }
.g-principle svg { width: 34px; height: 34px; color: var(--red); transition: color 0.45s; }
.g-principle:hover svg { color: var(--black); }
.g-principle span { font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 26px); text-transform: uppercase; line-height: 1; }
.g-leader { background: var(--black); color: var(--white); padding-block: clamp(90px, 11vw, 170px); }
.g-leader__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.g-leader__img { position: relative; aspect-ratio: 1000 / 1114; overflow: hidden; background: var(--red-deep); }
.g-leader__img img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.5); }
.g-leader__img::after { content: ''; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; }
.g-leader blockquote { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 3vw, 48px); line-height: 1.02; margin: 26px 0 30px; }
.g-leader__who { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.g-leader__who b { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.g-leader__who span { color: #b9b8be; max-width: 52ch; }
.g-values { background: var(--paper); color: var(--black); padding-block: clamp(90px, 11vw, 170px); }
.g-value { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 32ch); gap: 24px; align-items: center; padding-block: clamp(20px, 2.6vw, 34px); border-bottom: 2px solid var(--black); isolation: isolate; overflow: hidden; transition: color 0.45s var(--ease), padding 0.45s var(--ease); }
.g-value:first-of-type { border-top: 2px solid var(--black); }
.g-value::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.g-value:hover { color: var(--white); padding-inline: 20px; }
.g-value:hover::before { transform: scaleY(1); }
.g-value h3 { font-size: clamp(30px, 5.4vw, 84px); line-height: 0.95; }
.g-value p { font-size: clamp(16px, 1.5vw, 21px); font-weight: 500; max-width: 34ch; }

/* ---------- Bandeau d'appel (pages internes) ---------- */
.g-band { background: var(--red); color: var(--white); padding-block: clamp(70px, 9vw, 130px); }
.g-band__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.g-band h2 { font-size: clamp(34px, 6vw, 96px); line-height: 0.88; }
.g-band p { max-width: 42ch; margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.92); }
.g-band .btn { background: var(--black); border-color: var(--black); color: var(--white); }
.g-band .btn::before { background: var(--white); }
.g-band .btn:hover { color: var(--black); border-color: var(--white); }
.g-band .btn:hover .btn__ic { background: var(--red); }

/* ---------- Footer (rideau) ---------- */
.g-foot { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.g-foot__in { padding-top: clamp(80px, 10vw, 150px); }
.g-foot__cta { display: grid; gap: 26px; justify-items: start; }
.g-foot__cta .eyebrow::before { background: var(--black); }
.g-big { display: inline-flex; align-items: flex-end; gap: 0.25em; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(46px, 10.5vw, 190px); line-height: 0.86; letter-spacing: -0.02em; }
.g-big__t {
  display: inline-block;
  padding-top: 0.16em;
  margin-top: -0.16em;
  background: linear-gradient(90deg, var(--black) 50%, var(--white) 50%);
  background-size: 200.5% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 0.9s var(--ease);
}
.g-big:hover .g-big__t,
.g-big:focus-visible .g-big__t { background-position: 0 0; }
.g-big__ic { width: 0.62em; height: 0.62em; flex: none; display: grid; place-items: center; background: var(--black); color: var(--white); margin-bottom: 0.06em; transition: transform 0.8s var(--ease), background-color 0.4s, color 0.4s; }
.g-big__ic svg { width: 48%; height: 48%; }
.g-big:hover .g-big__ic { transform: rotate(-45deg); background: var(--white); color: var(--black); }
.g-foot__sub { max-width: 44ch; font-size: 18px; color: rgba(255, 255, 255, 0.92); }
.g-mail { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; }
.g-mail a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.g-mail button { border: 1.5px solid var(--white); padding: 8px 14px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; transition: background-color 0.3s, color 0.3s; }
.g-mail button:hover { background: var(--white); color: var(--red); }
.g-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 120px); border-top: 1.5px solid rgba(0, 0, 0, 0.3); }
.g-foot__cols > div { padding: 22px 20px 26px 0; display: grid; gap: 12px; align-content: start; }
.g-foot__cols > div + div { border-left: 1.5px solid rgba(0, 0, 0, 0.3); padding-left: 20px; }
.g-foot__cols h4 { margin: 0 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(0, 0, 0, 0.62); }
.g-foot__cols a { font-weight: 600; font-size: 16px; width: fit-content; }
.g-top { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; width: fit-content; }
.g-top i { width: 34px; height: 34px; display: grid; place-items: center; background: var(--black); transition: transform 0.6s var(--ease); }
.g-top:hover i { transform: translateY(-4px); }
.g-top svg { width: 15px; height: 15px; transform: rotate(-90deg); }
.g-foot .g-word { color: var(--black); margin-top: clamp(40px, 5vw, 72px); }
.g-foot .g-word .l:hover .li { color: var(--white); }
.g-foot__bar { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 16px var(--pad) calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--black); color: var(--ink-soft); position: relative; z-index: 1; }

/* ---------- Pages internes (compte, légal) ---------- */
.page-head .page-title { max-width: 16ch; }
.g-inner-section { background: var(--white); }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 76ch); }
.empty-state .h-section,
.empty-state h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }
.account-split .h-section { font-size: clamp(2rem, 4vw, 4.2rem); }

.g-dock, .g-dots { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-bible { grid-column: 1 / 3; grid-row: auto; min-height: 560px; }
  .g-al-cell, .g-check { grid-column: 1 / 3; }
  .g-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .g-hdr__nav { display: none; }
  .g-hdr__brand { border-right: 0; }
  .g-hdr__burger { display: block; }
}
@media (max-width: 900px) {
  .g-hero__inner { grid-template-columns: 1fr; align-content: space-between; }
  .g-mf__grid, .g-stmt__grid, .g-faq__grid, .g-leader__grid { grid-template-columns: 1fr; }
  .g-temp { grid-template-columns: minmax(0, 1fr); }
  .g-perso__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "phone" "ctrl" "list"; }
  .g-perso__phone { margin-top: 48px; }
  .g-faq__side { position: static; }
  .g-stats { grid-template-columns: 1fr; }
  .g-stat + .g-stat { border-left: 0; border-top: 2px solid var(--black); padding-left: 0; margin-top: 22px; }
  .g-stat { padding-right: 0; }
  .g-app__pin { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; justify-items: center; gap: 22px; padding-top: calc(88px + env(safe-area-inset-top, 0px)); padding-bottom: 22px; background-size: 50% 100%; }
  .g-app__head, .g-app__tl { display: none; }
  .g-app__intro { flex-direction: column; align-items: flex-start; justify-content: space-between; padding-block: 110px 60px; }
  .g-app__intro .r { align-self: flex-end; }
  .g-app__phone .g-phone { --w: min(50vw, calc((100svh - 340px) / 2.12)); }
  .g-app__copy { width: 100%; min-height: 200px; }
  .g-step h3 { font-size: clamp(24px, 7vw, 40px); margin: 10px 0; }
  .g-step p { font-size: 15px; }
  .g-app .g-chips { display: none; }
  .g-fan { height: clamp(360px, 90vw, 520px); }
  .g-fan .g-phone { --w: clamp(130px, 30vw, 200px); }
  .g-facts { grid-template-columns: 1fr 1fr; }
  .g-fact:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .g-fact:nth-child(even) { border-left: 1px solid var(--line); }
  .g-fact:nth-child(-n + 2) { border-top: 0; }
  .g-value { grid-template-columns: 1fr; gap: 10px; }
  .g-foot__cols { grid-template-columns: 1fr 1fr; }
  .g-foot__cols > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .g-foot__cols > div:nth-child(n + 3) { border-top: 1.5px solid rgba(0, 0, 0, 0.3); }
}
@media (max-width: 600px) {
  .g-hdr { left: 8px; right: 8px; top: calc(8px + env(safe-area-inset-top, 0px)); height: 56px; }
  .g-hdr__brand { padding: 0 14px; }
  .g-hdr__cta-label { display: none; }
  .g-hdr__cta { padding: 0; }
  .g-hdr__cta i { width: 54px; height: 100%; background: transparent; }
  .g-hdr__icon { width: 48px; }
  .g-hdr__burger { width: 54px; }
  .g-hdr__burger span { left: 17px; right: 17px; }
  .g-hdr__burger span:first-child { top: 22px; }
  .g-hdr__burger span:last-child { top: 31px; }
  .g-hdr__burger[aria-expanded="true"] span:first-child,
  .g-hdr__burger[aria-expanded="true"] span:last-child { top: 26.5px; }
  .g-grid { grid-template-columns: 1fr; }
  .g-bible, .g-al-cell, .g-check { grid-column: auto; }
  .g-bible { min-height: 540px; }
  .g-stamp { right: 12px; }
  .g-perso__ctrl, .g-perso__list { grid-template-columns: minmax(0, 1fr); }
  .g-swatches button, .g-swatch-custom { width: 42px; height: 42px; }
  .g-temp__range { padding: 12px; }
  .g-temp__val { padding: 8px 12px; }
  .g-temp__btns button { width: 52px; }
  .g-hero__meta > span:last-child { display: none; }
  .g-people, .g-principles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* Titres de section : les mots longs (OPÉRATIONNEL…) ne débordent plus. */
  .h-section { font-size: min(2.2rem, 8.4vw); }
  .g-big { font-size: clamp(34px, 10.5vw, 190px); }

  /* Tarifs : carrousel horizontal plutôt que 3 cartes empilées. */
  .pricing-grid, .pricing-grid.setup-grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    border: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-grid > .pricing-card { flex: 0 0 86%; scroll-snap-align: start; box-shadow: inset 0 0 0 1px var(--line); }
  .pricing-card + .pricing-card { border: 0; }
  .g-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .g-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
  .g-dots button::before { content: ''; width: 8px; height: 8px; background: var(--ink-soft); transition: width 0.3s var(--ease), background-color 0.3s; }
  .g-dots button[aria-current="true"]::before { width: 22px; background: var(--red); }

  /* Barre d'action fixe en bas d'écran. */
  .g-dock {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    display: flex;
    height: 56px;
    background: var(--black);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.5s var(--ease);
  }
  .g-dock.is-on { transform: none; }
  .g-dock a { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; }
  .g-dock__alt { flex: 0 0 34%; border-right: 1px solid rgba(255, 255, 255, 0.16); color: var(--ink-soft); }
  .g-dock__main { flex: 1; background: var(--red); }
  .g-dock__main svg { width: 14px; height: 14px; }
  .g-foot__bar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

  /* Cibles tactiles du pied de page. */
  .g-foot__cols a { display: inline-block; padding-block: 6px; }
}
@media (max-width: 420px) {
  .g-hdr__icon { width: 42px; }
  .g-hdr__brand { font-size: 18px; gap: 8px; }
  .g-hdr__brand svg { width: 24px; height: 24px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  body::after, .g-pulse, .g-sig i { animation: none !important; }
  .g-roll .ch, .g-menu, .g-menu nav a span, .g-hdr, .btn::before { transition: none !important; }
}
