/*
Theme Name: Garage Base
Theme URI: https://movalib.com
Author: Movalib
Description: Thème FSE de base pour tous les sites de garages Movalib. Aucun contenu client en dur.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.2
License: Proprietary
Text Domain: garage-base
*/

/* ================================================================
   BRIDGE — mappe les vars WP (theme.json) vers les noms du design
   ================================================================ */

:root {
  --bg:            var(--wp--preset--color--bg);
  --surface:       var(--wp--preset--color--surface);
  --text:          var(--wp--preset--color--text);
  --text-muted:    var(--wp--preset--color--text-muted);
  --text-faint:    var(--wp--preset--color--text-faint);
  --line:          var(--wp--preset--color--line);
  --ph-1:          var(--wp--preset--color--ph-1);
  --ph-2:          var(--wp--preset--color--ph-2);
  --accent:        var(--wp--preset--color--accent);
  --accent-hover:  color-mix(in srgb, var(--wp--preset--color--accent) 77%, #000);
  --on-accent:     var(--wp--preset--color--on-accent);
  --inverse-bg:    var(--wp--preset--color--inverse-bg);
  --inverse-text:  var(--wp--preset--color--inverse-text);
  --inverse-muted: var(--wp--preset--color--inverse-muted);
  --inverse-line:  var(--wp--preset--color--inverse-line);

  /* Fond de la barre d'en-tête (et du menu mobile qui la prolonge).
     Par défaut identique au footer ; un enfant le surcharge via
     settings.custom.headerBg dans son theme.json. */
  --header-bg:     var(--wp--custom--header-bg, var(--inverse-bg));

  --radius: var(--wp--custom--radius, 0px);
  --cut:    var(--wp--custom--cut, 1);

  --clip-btn:   polygon(0 0, 100% 0, calc(100% - 6% * var(--cut)) 100%, 0 100%);
  --clip-hero:  polygon(calc(22% * var(--cut)) 0, 100% 0, 100% 100%, 0 100%);
  --clip-photo: polygon(calc(10% * var(--cut)) 0, 100% 0, calc(100% - 10% * var(--cut)) 100%, 0 100%);

  --font-display: var(--wp--preset--font-family--display);
  --font-body:    var(--wp--preset--font-family--body);
  --font-mono:    var(--wp--preset--font-family--mono);

  --fs-h1:    var(--wp--preset--font-size--h-1);
  --fs-h2:    var(--wp--preset--font-size--h-2);
  --fs-h3:    var(--wp--preset--font-size--h-3);
  --fs-lead:  var(--wp--preset--font-size--lead);
  --fs-body:  var(--wp--preset--font-size--body);
  --fs-small: var(--wp--preset--font-size--small);
  --fs-label: var(--wp--preset--font-size--label);

  --section-y: var(--wp--preset--spacing--section-y);
  --pad-x:     var(--wp--preset--spacing--pad-x);
  --gap:       var(--wp--preset--spacing--gap);

  --content-max: 1280px;
  --page-max:    1440px;
}

/* ================================================================
   RESET
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }
body  { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
a   { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

/* ================================================================
   PRIMITIVES
   ================================================================ */

.gb-container { max-width: var(--content-max); margin: 0 auto; }
.gb-section   { padding: var(--section-y) var(--pad-x); }
.gb-section--surface { background: var(--surface); }
.gb-stack { display: flex; flex-direction: column; }

.gb-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted);
}
.gb-eyebrow::before {
  content: ""; width: 32px; height: 3px;
  background: var(--accent); flex: none;
}

/* Interlignage : laisse passer les accents des capitales (À, É) sans les coller
   à la ligne du dessus — un .88 les faisait se chevaucher. */
.gb-display   { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: .98; }
.gb-h1        { font-size: var(--fs-h1); line-height: .95; }
.gb-h2        { font-size: var(--fs-h2); }
.gb-h3        { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); line-height: .95; text-transform: uppercase; }
.gb-lead      { font-size: var(--fs-lead); color: var(--text-muted); max-width: 520px; }
.gb-muted     { color: var(--text-muted); }
.gb-mono      { font-family: var(--font-mono); }
.gb-accent    { color: var(--accent); }

.gb-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--text-faint); text-transform: uppercase; }

.gb-section-head {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 48px;
}
.gb-section-head .gb-stack { gap: 16px; }

.gb-link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
}
.gb-link-arrow svg { width: 18px; height: 18px; flex: none; }

/* ================================================================
   BOUTONS
   ================================================================ */

.gb-btn {
  white-space: nowrap; display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 44px; font-family: var(--font-body); font-weight: 700;
  font-size: var(--fs-body); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; border-radius: var(--radius); cursor: pointer; border: 0;
}
.gb-btn--primary { background: var(--accent); color: var(--on-accent); padding: 18px 28px; clip-path: var(--clip-btn); }
.gb-btn--primary:hover { background: var(--accent-hover); }
.gb-btn--outline  { border: 1.5px solid var(--text); color: var(--text); padding: 16px 26px; background: transparent; clip-path: none; }
.gb-btn--dark     { background: var(--inverse-bg); color: var(--inverse-text); padding: 18px 28px; clip-path: var(--clip-btn); }
.gb-btn--sm       { font-size: var(--fs-small); padding: 14px 22px; }
.gb-btn-row       { display: flex; flex-wrap: wrap; gap: 12px; }

/* WP native buttons — clip-path */
.wp-block-button__link,
.wp-element-button {
  clip-path: var(--clip-btn);
  border-radius: var(--radius);
  min-height: 44px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  clip-path: none; border-radius: var(--radius);
  border: 1.5px solid currentColor; background: transparent;
}

/* ================================================================
   PHOTO (placeholder + img)
   ================================================================ */

.gb-photo {
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--ph-1) 0 14px, var(--ph-2) 14px 28px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-faint);
  text-align: center; overflow: hidden;
}
.gb-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}
/* Une vraie photo remplit le cadre : le fond rayé du placeholder ne doit pas
   déborder en liseré autour d'elle. */
.gb-photo:has(img) { padding: 0; }

/* ================================================================
   HEADER
   ================================================================ */

.gb-site-header {
  background: var(--header-bg); color: var(--inverse-text);
  border-bottom: 1px solid var(--inverse-line);
  position: sticky; top: 0; z-index: 20;
}
.gb-header-inner {
  max-width: var(--page-max); margin: 0 auto; padding: 0 var(--pad-x);
  height: 80px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.gb-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 30px;
  letter-spacing: .02em; text-decoration: none;
  color: var(--inverse-text); white-space: nowrap; flex: none;
  display: inline-flex; align-items: center;
}
.gb-logo__img {
  height: 64px; width: auto; max-width: 220px;
  object-fit: contain; display: block;
}
.gb-nav {
  display: flex; gap: clamp(16px, 1.6vw, 28px); white-space: nowrap;
  font-size: var(--fs-small); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.gb-nav a { color: var(--inverse-muted); text-decoration: none; }
.gb-nav a:hover { color: var(--inverse-text); }
.gb-header-actions { display: flex; align-items: center; gap: 20px; }
.gb-lang { white-space: nowrap; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--inverse-muted); }
.gb-header-phone { font-family: var(--font-mono); font-size: 15px; text-decoration: none; color: var(--inverse-text); }
.gb-icon-btn {
  width: 44px; height: 44px; display: none; align-items: center; justify-content: center;
  background: transparent; color: var(--inverse-text);
  border: 1px solid var(--inverse-line); border-radius: var(--radius); cursor: pointer;
}
.gb-icon-btn svg { width: 20px; height: 20px; }

.gb-mobile-menu {
  position: fixed; inset: 64px 0 0 0;
  background: var(--header-bg); color: var(--inverse-text);
  padding: 32px 20px; display: none; flex-direction: column; gap: 8px; z-index: 19;
  overflow-y: auto;
}
.gb-mobile-menu.is-open { display: flex; }
.gb-mobile-menu a {
  font-family: var(--font-display); font-weight: 800; font-size: 40px;
  text-transform: uppercase; text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid var(--inverse-line); color: var(--inverse-text);
}
.gb-mobile-menu .gb-btn { margin-top: 24px; font-size: var(--fs-body); }

/* ================================================================
   HERO
   ================================================================ */

.gb-hero { background: var(--surface); }
.gb-hero__inner {
  max-width: var(--page-max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: stretch;
}
.gb-hero__content {
  flex: 1 1 560px; min-width: 0;
  padding: 96px var(--pad-x);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.gb-hero__media {
  flex: 1 1 420px; min-height: 620px;
  display: flex;
  padding: calc((1 - var(--cut)) * 32px);
  padding-left: 0;
}
.gb-hero__media .gb-photo {
  flex: 1;
  clip-path: var(--clip-hero);
  align-items: flex-end; justify-content: flex-end;
  padding: 24px; text-align: right; line-height: 1.6;
}

/* Variante vidéo plein fond */
.gb-hero--video { position: relative; overflow: hidden; }
.gb-hero__video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .25;
  filter: grayscale(1) contrast(1.15);
  z-index: 0;
}
.gb-hero--video .gb-hero__inner { position: relative; z-index: 1; }

/* ================================================================
   BANDEAU RÉASSURANCE
   ================================================================ */

.gb-trust {
  background: var(--inverse-bg); color: var(--inverse-muted);
  border-top: 1px solid var(--inverse-line);
}
.gb-trust__inner {
  max-width: var(--page-max); margin: 0 auto; padding: 18px var(--pad-x);
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ================================================================
   PRESTATIONS
   ================================================================ */

.gb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--gap);
}
.gb-service-card {
  background: var(--surface); color: var(--text);
  text-decoration: none; padding: 28px; min-height: 240px;
  display: flex; flex-direction: column; gap: 14px;
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: transform .15s ease;
}
.gb-service-card:hover { transform: translateY(-3px); }
.gb-service-card__num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .15em; color: var(--text-faint);
}
.gb-service-card p { font-size: 15px; color: var(--text-muted); }
.gb-service-card .gb-link-arrow { margin-top: auto; font-size: var(--fs-label); }

/* ================================================================
   MÉTHODE
   ================================================================ */

.gb-steps {
  display: grid;
  /* Colonnes explicites : 4 étapes ne doivent jamais tomber en 3 + 1 orphelin,
     et les flèches de liaison ont besoin d'un nombre de colonnes connu. */
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.gb-step {
  position: relative;
  padding: 32px 76px 32px 0;
  display: flex; flex-direction: column; gap: 14px;
  border-bottom: 1px solid var(--line);
}

/* Flèche de liaison entre deux étapes, à hauteur du numéro */
.gb-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M2 12h18M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M2 12h18M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gb-step__num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 72px; line-height: .85; color: var(--accent);
}
.gb-step p { font-size: 15px; color: var(--text-muted); }
.gb-method-head { max-width: 760px; gap: 16px; margin-bottom: 48px; }

/* ================================================================
   OCCASIONS
   ================================================================ */

.gb-vehicles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}
.gb-vehicle { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 16px; }
.gb-vehicle .gb-photo { height: 240px; clip-path: var(--clip-photo); }
.gb-vehicle__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.gb-vehicle__price { font-family: var(--font-display); font-weight: 900; font-size: 28px; white-space: nowrap; }
.gb-vehicle__meta {
  font-family: var(--font-mono); font-size: var(--fs-label);
  color: var(--text-muted); border-top: 1px solid var(--line); padding-top: 12px;
}

/* ================================================================
   ÉQUIPE
   ================================================================ */

.gb-team-wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.gb-team-intro { flex: 1 1 360px; gap: 16px; }
.gb-team {
  flex: 2 1 560px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 20px;
}
.gb-member { display: flex; flex-direction: column; gap: 6px; }
.gb-member .gb-photo {
  aspect-ratio: 4 / 5; align-items: flex-end; justify-content: flex-start;
  padding: 14px; font-family: var(--font-display); font-weight: 900;
  font-size: 48px; margin-bottom: 6px;
}
/* Le padding ne sert qu'à caler l'initiale du placeholder */
.gb-member .gb-photo:has(img) { padding: 0; }
.gb-member__name { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.gb-member__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-muted); }

/* Garagiste seul : une carte lisible plutôt qu'une colonne étirée */
.gb-team--solo { flex: 0 1 340px; grid-template-columns: minmax(0, 340px); }

/* ================================================================
   AVIS
   ================================================================ */

.gb-rating { display: flex; align-items: baseline; gap: 12px; }
.gb-rating__score { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1; }
.gb-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--gap);
}
.gb-review {
  background: var(--surface); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  border-radius: var(--radius);
}
.gb-stars { display: flex; gap: 4px; color: var(--accent); }
.gb-stars svg { width: 16px; height: 16px; fill: currentColor; }
.gb-review__author { margin-top: auto; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); }

/* ================================================================
   BANDEAU (recrutement) — héritage couleur on-accent
   ================================================================ */

.gb-band .gb-eyebrow { color: var(--on-accent); opacity: .7; }
.gb-band .gb-eyebrow::before { background: var(--on-accent); }
.gb-band h2, .gb-band p { color: var(--on-accent); }
.gb-band p { opacity: .85; }
.gb-band__text { gap: 8px; }

/* ================================================================
   INFOS PRATIQUES
   ================================================================ */

.gb-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px;
}
.gb-infos__col { gap: 32px; }
.gb-address { font-size: 18px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
.gb-address__tel { text-decoration: none; color: var(--accent); font-family: var(--font-mono); }
.gb-address__email { font-size: 15px; color: var(--text-muted); text-decoration: none; }
.gb-hours { border-top: 1px solid var(--line); }
.gb-hours__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.gb-hours__row span:first-child { font-weight: 600; }
.gb-hours__row span:last-child { font-family: var(--font-mono); color: var(--text-muted); text-align: right; }
.gb-infos__visual { display: flex; flex-direction: column; gap: 20px; }
.gb-devanture {
  aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden;
}
.gb-devanture img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Couleur conservée : les banderoles portent l'accent de la marque */
.gb-photo--color img { filter: none; }

.gb-map {
  min-height: 320px; border-radius: var(--radius);
  position: relative; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(0deg, var(--ph-1) 0 1px, transparent 1px 40px),
              repeating-linear-gradient(90deg, var(--ph-1) 0 1px, transparent 1px 40px),
              var(--ph-2);
  overflow: hidden;
}
.gb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gb-map__pin { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.gb-map__pin svg { width: 40px; height: 40px; fill: var(--accent); }
.gb-map .gb-btn { position: absolute; left: 20px; bottom: 20px; }

/* ================================================================
   RDV (iframe Movalib)
   ================================================================ */

.gb-rdv-wrap { position: relative; }
.gb-rdv-iframe {
  width: 100%; min-height: 750px; border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  display: block;
}

/* ================================================================
   RECRUTEMENT
   ================================================================ */

.gb-band { background: var(--accent); color: var(--on-accent); padding: 72px var(--pad-x); }
.gb-band__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
  max-width: var(--content-max); margin: 0 auto;
}
.gb-band p { font-size: 18px; max-width: 560px; margin-top: 8px; }

/* ================================================================
   FOOTER
   ================================================================ */

.gb-site-footer {
  background: var(--inverse-bg); color: var(--inverse-muted);
  padding: 80px var(--pad-x) 32px;
}
.gb-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 40px; margin-bottom: 48px;
  max-width: var(--content-max); margin-left: auto; margin-right: auto;
}
.gb-footer-col { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-small); align-items: flex-start; }
.gb-footer-col a { color: var(--inverse-muted); text-decoration: none; }
.gb-footer-col a:hover { color: var(--inverse-text); }
.gb-footer-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em; color: var(--inverse-text); }
.gb-footer-logo { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--inverse-text); }
.gb-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--inverse-line); padding-top: 24px;
  font-size: var(--fs-label);
  max-width: var(--content-max); margin: 0 auto;
}

/* ================================================================
   GOOGLE TRANSLATE — masquer la barre native
   ================================================================ */

/* Ancienne barre */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
/* Barre actuelle : iframe .skiptranslate injectée en haut du body */
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }

/* Google décale la page pour loger sa barre — on annule les deux variantes */
html { margin-top: 0 !important; }
body { top: 0 !important; position: static !important; }

.goog-text-highlight { background: none !important; box-shadow: none !important; }
/* Le widget lui-même reste invisible : le toggle FR/EN du header le pilote */
#gb-translate-el { display: none !important; }

/* Toggle FR / EN */
.gb-lang { display: flex; align-items: center; gap: 4px; }
.gb-lang-btn {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; color: var(--text-faint);
  background: none; border: none; cursor: pointer; padding: 4px 3px;
  transition: color .15s;
}
.gb-lang-btn:hover { color: var(--text); }
.gb-lang-btn.is-active { color: var(--text); }
.gb-lang-sep { color: var(--line); font-size: 11px; user-select: none; }

/* ================================================================
   PAGE CONTENT (mentions légales, confidentialité, etc.)
   ================================================================ */

.gb-page-hero {
  background: var(--surface);
  padding: 80px var(--pad-x) 56px;
}
.gb-page-hero .gb-h1,
.gb-page-hero .wp-block-post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
  max-width: var(--content-max);
  margin-inline: auto;
}
.gb-page-body {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 64px var(--pad-x) 96px;
  color: var(--text-muted);
  line-height: 1.8;
}
.gb-page-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  margin: 2.5em 0 .75em;
  padding-bottom: .5em;
  border-bottom: 1px solid var(--line);
}
.gb-page-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5em 0 .5em;
}
.gb-page-body p { margin: 0 0 1em; }
.gb-page-body a { color: var(--accent); text-decoration: none; }
.gb-page-body a:hover { text-decoration: underline; }
.gb-page-body ul { padding-left: 1.4em; margin: 0 0 1em; }
.gb-page-body li { margin-bottom: .4em; }
.gb-page-body strong { color: var(--text); font-weight: 600; }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */

.gb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(.22,.61,.36,1),
              transform 0.55s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.gb-reveal.gb-is-visible {
  opacity: 1;
  transform: none;
}
/* Respecter prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .gb-reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 1320px) { .gb-lang { display: none; } }

@media (max-width: 960px) {
  .gb-nav, .gb-lang, .gb-header-phone, .gb-header-actions .gb-btn { display: none; }
  .gb-icon-btn { display: inline-flex; }
  .gb-header-actions { gap: 8px; }
}

@media (max-width: 1064px) {
  .gb-steps { grid-template-columns: repeat(2, 1fr); }
  /* Fin de ligne : la flèche pointerait dans le vide */
  .gb-step:nth-child(2)::after { display: none; }
}

@media (max-width: 560px) {
  .gb-steps { grid-template-columns: 1fr; }
  .gb-step:nth-child(2)::after { display: block; }
  /* Étapes empilées : la flèche bascule vers le bas */
  /* Place pour la flèche sous le texte, sinon elle le chevauche */
  .gb-step:not(:last-child) { padding-bottom: 96px; }
  .gb-step:not(:last-child)::after {
    top: auto; bottom: 20px; right: auto; left: 0;
    transform: none; rotate: 90deg;
  }
}

@media (max-width: 760px) {
  .gb-header-inner { height: 64px; }
  .gb-logo { font-size: 24px; }
  .gb-mobile-menu { inset-top: 64px; top: 64px; }
  .gb-hero__content { padding: 48px var(--pad-x); }
  .gb-hero__media { min-height: 300px; padding: calc((1 - var(--cut)) * 20px); padding-top: 0; }
  .gb-band { padding: 56px var(--pad-x); }
  .gb-site-footer { padding-top: 56px; }
}
