/* =========================================================================
   GBOX INTERNATIONAL — Design System "Light Premium"
   Feuille de style autonome (n'utilise ni Bootstrap ni l'ancien style.css).
   ========================================================================= */

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Marque — extraite du logo GBox (dégradé bleu profond → bleu clair) */
  --brand-950: #061634;
  --brand-900: #0A2350;
  --brand-800: #10346F;
  --brand-700: #17489A;
  --brand-600: #1E5FC4;
  --brand-500: #2E7FE0;
  --brand-400: #59A0EE;
  --brand-300: #93C4F7;
  --brand-200: #C7E0FC;
  --brand-100: #E6F1FE;
  --brand-50:  #F3F8FF;

  --accent-500: #F5A524;
  --accent-100: #FEF3DD;

  /* Neutres */
  --ink-900: #08111F;
  --ink-800: #142033;
  --ink-700: #253145;
  --ink-600: #45536C;
  --ink-500: #66768F;
  --ink-400: #8D9BB2;
  --ink-300: #B9C4D4;

  --line:      #E3E9F3;
  --line-soft: #EFF3F9;
  --surface:   #FFFFFF;
  --bg:        #F6F8FC;
  --bg-alt:    #EDF2FB;

  /* Dégradés */
  --grad-brand: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 55%, var(--brand-400) 100%);
  --grad-deep:  linear-gradient(150deg, var(--brand-950) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
  --grad-text:  linear-gradient(100deg, var(--brand-700) 0%, var(--brand-500) 60%, var(--brand-400) 100%);

  /* Rayons */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(10, 35, 80, .06);
  --sh-sm: 0 2px 8px rgba(10, 35, 80, .06), 0 1px 2px rgba(10, 35, 80, .04);
  --sh-md: 0 12px 28px -12px rgba(10, 35, 80, .18), 0 4px 10px -4px rgba(10, 35, 80, .06);
  --sh-lg: 0 30px 60px -24px rgba(10, 35, 80, .26), 0 8px 20px -12px rgba(10, 35, 80, .10);
  --sh-brand: 0 16px 34px -14px rgba(30, 95, 196, .55);

  /* Typographie */
  --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Rythme */
  --gutter: 24px;
  --maxw: 1200px;
  --nav-h: 78px;
  --section-y: clamp(64px, 8vw, 118px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-600);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.18rem; }
h5 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-700); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
strong, b { color: var(--ink-800); font-weight: 650; }

::selection { background: var(--brand-200); color: var(--brand-900); }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* ---------------------------------------------------------------- Layout */
.gx-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.gx-container--wide { max-width: 1340px; }
.gx-container--narrow { max-width: 820px; }

.gx-section { padding-block: var(--section-y); position: relative; }
.gx-section--tight { padding-block: clamp(48px, 5vw, 76px); }
.gx-section--surface { background: var(--surface); }
.gx-section--alt {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(46,127,224,.07), transparent 62%),
    radial-gradient(760px 380px at 92% 100%, rgba(23,72,154,.06), transparent 60%),
    var(--bg-alt);
}

.gx-grid { display: grid; gap: 26px; }
.gx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------- Titres de section */
.gx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .765rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  border: 1px solid rgba(46,127,224,.16);
  padding: 7px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.gx-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(46,127,224,.2);
}
.gx-eyebrow--light {
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}
.gx-eyebrow--light::before { background: var(--brand-300); box-shadow: 0 0 0 3px rgba(147,196,247,.25); }

.gx-section-head { max-width: 720px; margin-bottom: clamp(38px, 4.5vw, 62px); }
.gx-section-head--center { margin-inline: auto; text-align: center; }
.gx-section-head p {
  font-size: 1.075rem;
  color: var(--ink-500);
  margin-bottom: 0;
}

.gx-gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------- Boutons */
.gx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 27px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.gx-btn svg { width: 17px; height: 17px; flex: none; }
.gx-btn:active { transform: translateY(0) scale(.985); }

.gx-btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.gx-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 42px -16px rgba(30,95,196,.62); }

.gx-btn--ghost {
  background: var(--surface);
  color: var(--brand-800);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.gx-btn--ghost:hover { color: var(--brand-700); border-color: var(--brand-300); transform: translateY(-2px); box-shadow: var(--sh-md); }

.gx-btn--light {
  background: #fff;
  color: var(--brand-800);
}
.gx-btn--light:hover { color: var(--brand-900); transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgba(0,0,0,.4); }

.gx-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.gx-btn--outline-light:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }

.gx-btn--sm { padding: 11px 20px; font-size: .875rem; }
.gx-btn--block { width: 100%; }

.gx-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-600);
}
.gx-link-arrow svg { width: 16px; height: 16px; transition: transform .25s ease; }
.gx-link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- Navbar */
.gx-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease, height .3s ease;
}
.gx-header::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity .3s ease, border-color .3s ease;
  z-index: -1;
}
.gx-header.is-stuck { height: 68px; box-shadow: 0 6px 26px -18px rgba(10,35,80,.45); }
.gx-header.is-stuck::after { opacity: 1; border-bottom-color: var(--line); }

.gx-nav {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
}

.gx-brand { display: inline-flex; align-items: center; flex: none; }
.gx-brand img { height: 40px; width: auto; transition: height .3s ease; }
.is-stuck .gx-brand img { height: 34px; }

.gx-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto 0 14px;
  padding: 0;
  list-style: none;
}
.gx-nav-menu a {
  position: relative;
  display: block;
  padding: 9px 14px;
  font-size: .93rem;
  font-weight: 550;
  color: var(--ink-700);
  border-radius: var(--r-pill);
  transition: color .2s ease, background .2s ease;
}
.gx-nav-menu a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.gx-nav-menu a:hover { color: var(--brand-700); background: var(--brand-50); }
.gx-nav-menu a.is-active { color: var(--brand-700); }
.gx-nav-menu a.is-active::after { transform: scaleX(1); }

.gx-nav-cta { flex: none; display: flex; align-items: center; gap: 10px; }

.gx-burger {
  display: none;
  flex: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  place-items: center;
  box-shadow: var(--sh-xs);
}
.gx-burger span {
  display: block;
  width: 19px; height: 2px;
  margin: 2.5px auto;
  border-radius: 2px;
  background: var(--ink-800);
  transition: transform .3s ease, opacity .2s ease;
}
.gx-burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.gx-burger.is-open span:nth-child(2) { opacity: 0; }
.gx-burger.is-open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.gx-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--surface);
  z-index: 950;
  padding: 26px 24px 34px;
  transform: translateX(105%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  box-shadow: -24px 0 60px -30px rgba(10,35,80,.45);
  overflow-y: auto;
}
.gx-drawer.is-open { transform: translateX(0); }
.gx-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.gx-drawer-head img { height: 34px; }
.gx-drawer-close {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink-700);
  font-size: 20px; line-height: 1;
}
.gx-drawer ul { list-style: none; margin: 0 0 26px; padding: 0; }
.gx-drawer ul a {
  display: block;
  padding: 13px 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-800);
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line-soft);
}
.gx-drawer ul a:hover { background: var(--brand-50); color: var(--brand-700); }

.gx-overlay {
  position: fixed; inset: 0;
  background: rgba(8,17,31,.5);
  backdrop-filter: blur(3px);
  z-index: 940;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.gx-overlay.is-open { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------------- Hero */
.gx-hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(54px, 6.5vw, 100px));
  padding-bottom: 0;                 /* la barre de chiffres ferme la section */
  overflow: hidden;
  background: linear-gradient(180deg, #FDFEFF 0%, #F1F5FD 56%, var(--bg-alt) 100%);
}

/* Filigrane : photo du parc de distributeurs, ancrée en bas de section,
   virée au bleu de marque (background-blend-mode) et fondue vers le haut
   pour qu'elle ne gêne jamais la lecture du titre. */
.gx-hero-filigrane {
  position: absolute;
  inset: auto 0 0 0;
  height: min(68%, 620px);
  z-index: -2;
  pointer-events: none;
  /* Teinte bleue partielle : la photo garde une part de ses couleurs d'origine
     (or des enseignes, produits) tout en restant dans l'univers de marque. */
  background-image:
    linear-gradient(180deg, rgba(23,72,154,.52), rgba(10,35,80,.52)),
    var(--gx-hero-photo, none);
  background-blend-mode: color;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: .4;
  /* Montée franche : la photo reste nette dans le bas, le haut du hero
     (sur-titre, titre, chapô) reste dégagé pour la lecture. */
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.22) 34%, #000 62%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.22) 34%, #000 62%, #000 100%);
}

/* Trame technique très discrète, cadrée sur la colonne de texte. */
.gx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10,35,80,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,35,80,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(680px 460px at 22% 26%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(680px 460px at 22% 26%, #000 5%, transparent 72%);
  pointer-events: none;
}

.gx-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-bottom: clamp(46px, 5vw, 78px);
}

/* Sur-titre : filet + capitales espacées, sans pastille. */
.gx-rule-label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin: 0 0 26px;
}
.gx-rule-label::before {
  content: "";
  flex: none;
  width: 48px; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

/* Voile très dégradé derrière la colonne de texte : garde le chapô lisible
   par-dessus le filigrane, sans réduire sa présence ailleurs. */
.gx-hero-content { position: relative; }
.gx-hero-content::before {
  content: "";
  position: absolute;
  inset: -60px -90px -50px -70px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(115% 95% at 26% 48%,
    rgba(255,255,255,.94) 0%,
    rgba(255,255,255,.80) 42%,
    rgba(255,255,255,.35) 68%,
    transparent 84%);
}

.gx-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: 26px;
}

/* Trait de mise en valeur sous un mot du titre. */
.gx-underline { position: relative; white-space: nowrap; }
.gx-underline::after {
  content: "";
  position: absolute;
  left: -.02em; right: -.02em; bottom: .05em;
  height: .1em;
  border-radius: 99px;
  background: var(--grad-brand);
  transform: skewX(-14deg);
  z-index: -1;
}

.gx-hero-lead {
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  color: var(--ink-500);
  max-width: 52ch;
  margin-bottom: 36px;
}
.gx-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }

/* Lien secondaire à pastille, plus sobre qu'un second bouton plein. */
.gx-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink-800);
}
.gx-hero-link i {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--brand-700);
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease, background .26s ease;
}
.gx-hero-link i svg { width: 17px; height: 17px; }
.gx-hero-link:hover { color: var(--brand-800); }
.gx-hero-link:hover i {
  background: #fff;
  border-color: var(--brand-300);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

/* Visuel produit : carte photo + cadre filaire décalé. */
.gx-hero-visual { position: relative; }
.gx-hero-visual::before {
  content: "";
  position: absolute;
  inset: 30px -30px -30px 30px;
  border: 1.5px solid var(--brand-200);
  border-radius: var(--r-xl);
  z-index: -1;
}
.gx-hero-shot {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--sh-lg);
  animation: gx-float 8s ease-in-out infinite;
}
.gx-hero-shot img { width: 100%; display: block; }
.gx-hero-shot figcaption {
  position: absolute;
  left: 16px; top: 16px;
  padding: 7px 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-800);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
}
@keyframes gx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.gx-float-card {
  position: absolute;
  z-index: 2;
  left: -34px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  animation: gx-float 7s ease-in-out infinite .9s;
}
.gx-float-card i {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-100);
  color: var(--brand-600);
}
.gx-float-card i svg { width: 19px; height: 19px; }
.gx-float-card strong { display: block; font-size: .9rem; color: var(--ink-900); font-family: var(--font-display); }
.gx-float-card span { font-size: .78rem; color: var(--ink-400); }

/* Barre de chiffres qui referme le hero. */
.gx-hero-facts {
  border-top: 1px solid rgba(10,35,80,.09);
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gx-facts {
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  align-items: center;
}
.gx-fact { padding: 26px clamp(20px, 2.6vw, 40px); }
.gx-fact:first-child { padding-left: 0; }
.gx-fact + .gx-fact { border-left: 1px solid rgba(10,35,80,.09); }
.gx-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--ink-900);
}
.gx-fact > span {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 550;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.gx-fact--pay { justify-self: end; text-align: right; padding-right: 0; }
.gx-fact--pay .gx-pay-chips { justify-content: flex-end; margin-top: 11px; }
.gx-fact--pay .gx-chip { padding: 6px 12px; font-size: .78rem; }

.gx-pay-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  font-size: .83rem;
  font-weight: 550;
  color: var(--ink-600);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}

/* --------------------------------------------------------------- Cartes */
.gx-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.gx-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s cubic-bezier(.2,.7,.3,1);
}
.gx-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-200); }
.gx-card:hover::before { transform: scaleX(1); }

.gx-card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: var(--sh-brand);
}
.gx-card-icon svg { width: 26px; height: 26px; }
.gx-card h3 { margin-bottom: .5em; }
.gx-card p { color: var(--ink-500); font-size: .97rem; margin-bottom: 0; }

.gx-card-index {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-100);
  letter-spacing: -.04em;
  pointer-events: none;
}

/* --------------------------------------------------------------- À propos */
.gx-about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.gx-about-media { position: relative; }
.gx-about-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  object-fit: cover;
  aspect-ratio: 4 / 4.4;
}
.gx-about-media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 130px; height: 130px;
  border-radius: var(--r-lg);
  background-image: radial-gradient(var(--brand-300) 1.7px, transparent 1.7px);
  background-size: 15px 15px;
  z-index: -1;
}
.gx-about-badge {
  position: absolute;
  left: -22px; bottom: 34px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  text-align: center;
}
.gx-about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gx-about-badge span { font-size: .8rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .07em; }

/* Onglets */
.gx-tabs { margin-top: 30px; }
.gx-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  margin-bottom: 26px;
  width: fit-content;
  max-width: 100%;
}
.gx-tab {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: .91rem;
  font-weight: 600;
  color: var(--ink-500);
  padding: 11px 21px;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.gx-tab:hover { color: var(--brand-700); }
.gx-tab.is-active { background: var(--surface); color: var(--brand-700); box-shadow: var(--sh-sm); }

.gx-tabpanel { display: none; animation: gx-fade .4s ease both; }
.gx-tabpanel.is-active { display: block; }
@keyframes gx-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.gx-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gx-checklist li {
  display: flex;
  gap: 13px;
  font-size: .97rem;
  color: var(--ink-500);
}
.gx-checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5FC4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.gx-checklist--muted li::before { background-color: var(--bg-alt); }

/* --------------------------------------------------------------- Vidéo */
.gx-video {
  max-width: 400px;
  margin: clamp(46px, 5vw, 72px) auto 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  background: #000;
}
.gx-video iframe { width: 100%; height: 700px; border: 0; display: block; }

/* -------------------------------------------------------- Cartes produits */
.gx-product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.gx-product:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: var(--brand-200); }

.gx-product--featured { border-color: var(--brand-300); box-shadow: var(--sh-md); }
.gx-product-flag {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  padding: 6px 13px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-brand);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-brand);
}

.gx-product-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px 28px;
  min-height: 260px;
  background:
    radial-gradient(420px 260px at 50% 12%, rgba(46,127,224,.13), transparent 66%),
    linear-gradient(180deg, var(--brand-50), #fff);
  border-bottom: 1px solid var(--line-soft);
}
.gx-product-media img { max-height: 240px; width: auto; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(10,35,80,.16)); }

.gx-product-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.gx-product-body h3 { margin-bottom: .35em; }
.gx-product-tagline { color: var(--ink-500); font-size: .95rem; margin-bottom: 20px; }
.gx-product-body .gx-checklist { margin-bottom: 24px; }
.gx-product-body .gx-btn { margin-top: auto; }

.gx-rich { color: var(--ink-500); font-size: .95rem; }
.gx-rich p { margin-bottom: .95em; }

.gx-sub-title {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin: 24px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.gx-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.gx-tags li {
  padding: 6px 13px;
  font-size: .82rem;
  font-weight: 550;
  color: var(--brand-800);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-pill);
}

.gx-note {
  max-width: 760px;
  margin: 0 auto clamp(38px, 4vw, 56px);
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-500);
}

/* --------------------------------------------------------------- Logiciel */
.gx-software {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 4.5vw, 62px);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.5vw, 52px);
  box-shadow: var(--sh-md);
}
.gx-software-media {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand-50), #fff);
  border: 1px solid var(--line-soft);
  padding: 22px;
}
.gx-software-media img { width: 100%; border-radius: var(--r-md); }

.gx-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 0 26px; }
.gx-module {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.gx-module:hover { background: var(--brand-50); border-color: var(--brand-200); transform: translateY(-2px); }
.gx-module svg { width: 17px; height: 17px; color: var(--brand-600); flex: none; }

/* ------------------------------------------------------------- Bande CTA */
.gx-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(42px, 5.5vw, 78px) clamp(26px, 5vw, 76px);
  background: var(--grad-deep);
  color: rgba(255,255,255,.78);
  box-shadow: var(--sh-lg);
}
.gx-cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 620px; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89,160,238,.34), transparent 62%);
  pointer-events: none;
}
.gx-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(120deg, #000, transparent 62%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 62%);
  pointer-events: none;
}
/* Filigrane photo optionnel sur la bande bleue : le mode « luminosity »
   ne conserve que la lumière de la photo et garde le bleu du dégradé. */
.gx-cta-filigrane {
  position: absolute;
  inset: 0;
  background-image: var(--gx-cta-photo, none);
  background-size: cover;
  background-position: center right;
  opacity: .24;
  mix-blend-mode: luminosity;
  pointer-events: none;
  mask-image: linear-gradient(100deg, transparent 0%, transparent 30%, #000 76%);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 30%, #000 76%);
}
.gx-cta > *:not(.gx-cta-filigrane) { position: relative; z-index: 1; }
.gx-cta h2 { color: #fff; max-width: 20ch; }
.gx-cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.gx-cta .gx-checklist li { color: rgba(255,255,255,.82); }
.gx-cta .gx-checklist li::before {
  background-color: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.gx-cta-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* ----------------------------------------------------------------- Blog */
.gx-blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 4vw, 54px);
}
.gx-blog-head .gx-section-head { margin-bottom: 0; }

.gx-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.gx-post:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-200); }

.gx-post-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, var(--brand-100), var(--brand-50));
}
.gx-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.3,1); }
.gx-post:hover .gx-post-media img { transform: scale(1.06); }
.gx-post-media--empty { display: grid; place-items: center; }
.gx-post-media--empty svg { width: 54px; height: 54px; color: var(--brand-300); }

.gx-post-cat {
  position: absolute;
  top: 15px; left: 15px;
  padding: 6px 13px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-800);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
}

.gx-post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.gx-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--ink-400);
  margin-bottom: 13px;
}
.gx-post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.gx-post-meta svg { width: 14px; height: 14px; }
.gx-post-meta .gx-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }

.gx-post-body h3 {
  font-size: 1.24rem;
  line-height: 1.32;
  margin-bottom: .55em;
}
.gx-post-body h3 a { color: inherit; background-image: linear-gradient(var(--brand-500), var(--brand-500)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease, color .2s ease; }
.gx-post:hover h3 a { color: var(--brand-700); background-size: 100% 2px; }
.gx-post-body p { color: var(--ink-500); font-size: .94rem; margin-bottom: 20px; }
.gx-post-body .gx-link-arrow { margin-top: auto; }

/* Article à la une (page blog) */
.gx-post--hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  margin-bottom: clamp(38px, 4vw, 58px);
}
.gx-post--hero .gx-post-media { aspect-ratio: auto; min-height: 340px; }
.gx-post--hero .gx-post-body { padding: clamp(28px, 3.4vw, 46px); justify-content: center; }
.gx-post--hero h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.gx-post--hero p { font-size: 1.02rem; }

/* Filtres du blog */
.gx-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.gx-filter {
  padding: 9px 18px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: all .22s ease;
}
.gx-filter:hover { border-color: var(--brand-300); color: var(--brand-700); }
.gx-filter.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--sh-brand); }

.gx-search { position: relative; max-width: 330px; width: 100%; }
.gx-search input {
  width: 100%;
  padding: 13px 44px 13px 18px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--ink-800);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.gx-search input:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(46,127,224,.14); }
.gx-search button {
  position: absolute;
  top: 50%; right: 6px;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  cursor: pointer;
}
.gx-search button svg { width: 15px; height: 15px; }

/* Bandeau de page interne */
.gx-pagehead {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(48px, 6vw, 78px));
  padding-bottom: clamp(42px, 5vw, 66px);
  background:
    radial-gradient(700px 420px at 80% 0%, rgba(46,127,224,.15), transparent 62%),
    linear-gradient(180deg, #FAFCFF, var(--bg));
  border-bottom: 1px solid var(--line);
}
.gx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--ink-400);
  margin-bottom: 18px;
}
.gx-breadcrumb a { color: var(--ink-500); }
.gx-breadcrumb a:hover { color: var(--brand-600); }
.gx-breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

/* Corps d'article */
.gx-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(34px, 4vw, 62px);
  align-items: start;
}
.gx-article-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  margin-bottom: clamp(30px, 3.5vw, 46px);
}
.gx-article-cover img { width: 100%; }
.gx-article-cover figcaption {
  padding: 12px 18px;
  font-size: .82rem;
  color: var(--ink-400);
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.gx-prose {
  font-size: 1.06rem;
  line-height: 1.82;
  color: var(--ink-600);
}
.gx-prose > *:first-child { margin-top: 0; }
.gx-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin: 2em 0 .7em; }
.gx-prose h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin: 1.7em 0 .6em; }
.gx-prose h4 { margin: 1.5em 0 .5em; }
.gx-prose p { margin-bottom: 1.35em; }
.gx-prose img { border-radius: var(--r-md); box-shadow: var(--sh-md); margin: 1.8em 0; }
.gx-prose ul, .gx-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.gx-prose li { margin-bottom: .55em; }
.gx-prose li::marker { color: var(--brand-500); font-weight: 700; }
.gx-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.gx-prose blockquote {
  margin: 2em 0;
  padding: 22px 28px;
  border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--brand-50);
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--brand-900);
  font-style: normal;
}
.gx-prose blockquote p:last-child { margin-bottom: 0; }
.gx-prose hr { border: 0; height: 1px; background: var(--line); margin: 2.6em 0; }
.gx-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: .95rem;
}
.gx-prose th, .gx-prose td { padding: 12px 15px; border: 1px solid var(--line); text-align: left; }
.gx-prose th { background: var(--bg-alt); color: var(--ink-800); font-weight: 650; }
.gx-prose figure { margin: 1.9em 0; }
.gx-prose figure img { margin: 0; }
.gx-prose figcaption {
  margin-top: 12px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink-400);
  padding-left: 14px;
  border-left: 2px solid var(--brand-200);
}
/* Deux photos verticales côte à côte : évite les images fleuves. */
.gx-figure-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gx-figure-duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gx-figure-duo + figcaption { margin-top: 12px; }
/* Photo verticale isolée : on borne sa hauteur et on la centre. */
.gx-figure-portrait img { max-height: 640px; width: auto; margin-inline: auto; }
.gx-prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r-md); }
.gx-table-scroll { overflow-x: auto; }

.gx-aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 20px; }
.gx-aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-sm);
}
.gx-aside-card h4 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 18px;
}
.gx-aside-card--cta { background: var(--grad-deep); border-color: transparent; color: rgba(255,255,255,.8); }
.gx-aside-card--cta h4 { color: rgba(255,255,255,.6); }
.gx-aside-card--cta p { color: rgba(255,255,255,.82); font-size: .93rem; }
.gx-aside-card--cta strong { color: #fff; }

/* Sommaire d'article */
.gx-toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.gx-toc a {
  display: block;
  padding: 8px 12px;
  font-size: .89rem;
  line-height: 1.45;
  color: var(--ink-500);
  border-left: 2px solid var(--line);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  transition: all .2s ease;
}
.gx-toc a:hover { color: var(--brand-700); background: var(--brand-50); border-left-color: var(--brand-300); }
.gx-toc a.is-active { color: var(--brand-700); font-weight: 600; border-left-color: var(--brand-500); background: var(--brand-50); }
.gx-toc .gx-toc-sub a { padding-left: 24px; font-size: .85rem; }

.gx-mini-post { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.gx-mini-post:last-child { border-bottom: 0; padding-bottom: 0; }
.gx-mini-post img { width: 62px; height: 62px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.gx-mini-post-ph { width: 62px; height: 62px; border-radius: var(--r-sm); flex: none; background: linear-gradient(140deg, var(--brand-200), var(--brand-50)); }
.gx-mini-post h5 { font-size: .92rem; line-height: 1.4; margin-bottom: 4px; }
.gx-mini-post h5 a { color: var(--ink-800); }
.gx-mini-post h5 a:hover { color: var(--brand-600); }
.gx-mini-post time { font-size: .78rem; color: var(--ink-400); }

.gx-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: clamp(34px, 4vw, 52px); padding-top: 28px; border-top: 1px solid var(--line); }
.gx-share > span { font-size: .85rem; font-weight: 600; color: var(--ink-500); }
.gx-share a, .gx-share button {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-600);
  cursor: pointer;
  transition: all .22s ease;
}
.gx-share a:hover, .gx-share button:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: var(--sh-brand); }
.gx-share svg { width: 17px; height: 17px; }

/* Pagination */
.gx-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(38px, 4vw, 58px); flex-wrap: wrap; }
.gx-pagination a, .gx-pagination span {
  min-width: 42px;
  height: 42px;
  padding-inline: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: all .2s ease;
}
.gx-pagination a:hover { border-color: var(--brand-300); color: var(--brand-700); }
.gx-pagination .is-current { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--sh-brand); }
.gx-pagination .is-disabled { opacity: .45; pointer-events: none; }

/* État vide */
.gx-empty {
  text-align: center;
  padding: clamp(48px, 6vw, 82px) 26px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}
.gx-empty svg { width: 58px; height: 58px; color: var(--brand-300); margin: 0 auto 20px; }
.gx-empty p { color: var(--ink-400); max-width: 42ch; margin-inline: auto; }

/* --------------------------------------------------------------- Contact */
.gx-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(26px, 3.5vw, 46px); align-items: start; }

.gx-info-card {
  display: flex;
  gap: 17px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  margin-bottom: 16px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.gx-info-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.gx-info-card i {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-100);
  color: var(--brand-600);
}
.gx-info-card i svg { width: 21px; height: 21px; }
.gx-info-card h4 { font-size: 1rem; margin-bottom: 9px; }
.gx-info-card p { font-size: .92rem; color: var(--ink-500); margin-bottom: 4px; }
.gx-info-card p:last-child { margin-bottom: 0; }
.gx-info-card a { color: var(--ink-500); }
.gx-info-card a:hover { color: var(--brand-600); }

.gx-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 48px);
  box-shadow: var(--sh-md);
}
.gx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gx-field--full { grid-column: 1 / -1; }
.gx-field label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 7px;
}

/* Les widgets Django arrivent avec la classe .form-control */
.gx-form-card .form-control,
.gx-form-card input[type="text"],
.gx-form-card input[type="email"],
.gx-form-card input[type="tel"],
.gx-form-card textarea {
  width: 100%;
  padding: 14px 17px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink-800);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.gx-form-card .form-control::placeholder { color: var(--ink-400); }
.gx-form-card .form-control:focus,
.gx-form-card textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(46,127,224,.13);
}
.gx-form-card textarea { resize: vertical; min-height: 140px; }
.gx-form-card .errorlist {
  list-style: none;
  padding: 0;
  margin: 7px 0 0;
  font-size: .82rem;
  color: #D93B3B;
}
.gx-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.gx-form-note { font-size: .82rem; color: var(--ink-400); }

/* --------------------------------------------------------------- Carte */
.gx-map { line-height: 0; border-top: 1px solid var(--line); }
.gx-map object, .gx-map iframe { width: 100%; height: 460px; border: 0; filter: grayscale(.18) contrast(1.02); }

/* --------------------------------------------------------------- Footer */
.gx-footer {
  position: relative;
  overflow: hidden;
  background: var(--grad-deep);
  color: rgba(255,255,255,.62);
  padding-top: clamp(58px, 6vw, 90px);
}
.gx-footer::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 620px; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,127,224,.24), transparent 62%);
  pointer-events: none;
}
.gx-footer > * { position: relative; z-index: 1; }
.gx-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 3.5vw, 52px);
  padding-bottom: clamp(42px, 4.5vw, 64px);
}
.gx-footer-brand img { height: 46px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.gx-footer-brand p { font-size: .94rem; max-width: 34ch; }
.gx-footer h5 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.gx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.gx-footer ul a { color: rgba(255,255,255,.62); font-size: .93rem; }
.gx-footer ul a:hover { color: #fff; }

.gx-socials { display: flex; gap: 10px; margin-top: 22px; }
.gx-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  transition: all .22s ease;
}
.gx-socials a:hover { background: #fff; color: var(--brand-800); transform: translateY(-2px); }
.gx-socials svg { width: 17px; height: 17px; }

.gx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.11);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .86rem;
}
.gx-footer-bottom a { color: rgba(255,255,255,.72); }
.gx-footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------- Retour en haut */
.gx-scrolltop {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 800;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s cubic-bezier(.2,.7,.3,1);
}
.gx-scrolltop.is-visible { opacity: 1; visibility: visible; transform: none; }
.gx-scrolltop:hover { color: #fff; transform: translateY(-3px); }
.gx-scrolltop svg { width: 19px; height: 19px; }

/* ------------------------------------------------- Animation d'apparition */
.gx-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.gx-reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1100px) {
  .gx-hero-grid { grid-template-columns: 1fr; }
  .gx-hero-visual { max-width: 560px; }
  .gx-hero-visual::before { inset: 24px -24px -24px 24px; }
  .gx-float-card { left: auto; right: -22px; bottom: 28px; }
  .gx-facts { grid-template-columns: repeat(3, auto); }
  .gx-fact--pay {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(10,35,80,.09);
  }
  .gx-fact--pay .gx-pay-chips { justify-content: flex-start; }
  .gx-about-grid, .gx-software, .gx-cta-grid, .gx-contact-grid { grid-template-columns: 1fr; }
  .gx-software-media, .gx-aside { position: static; }
  .gx-article { grid-template-columns: 1fr; }
  .gx-post--hero { grid-template-columns: 1fr; }
  .gx-footer-grid { grid-template-columns: 1fr 1fr; }
  .gx-hero-marquee { justify-content: center; }
}

@media (max-width: 980px) {
  .gx-nav-menu, .gx-nav-cta .gx-btn { display: none; }
  .gx-burger { display: grid; margin-left: auto; }
  .gx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; --nav-h: 68px; }
  body { font-size: 16px; }
  .gx-grid--2, .gx-grid--3 { grid-template-columns: 1fr; }
  .gx-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-form-grid { grid-template-columns: 1fr; }
  .gx-footer-grid { grid-template-columns: 1fr; }
  .gx-card, .gx-form-card { padding: 24px; }
  .gx-float-card { display: none; }
  .gx-hero-visual::before { display: none; }
  /* Les 3 chiffres sur une ligne, les moyens de paiement en dessous. */
  .gx-facts { grid-template-columns: repeat(3, 1fr); }
  .gx-fact { padding: 20px 14px; }
  .gx-fact > span { font-size: .7rem; letter-spacing: .06em; }
  .gx-fact--pay { padding-top: 18px; padding-bottom: 22px; }
  .gx-video iframe { height: 560px; }
  .gx-blog-head { flex-direction: column; align-items: stretch; }
  .gx-about-badge { left: 12px; bottom: 12px; padding: 15px 18px; }
  .gx-map object, .gx-map iframe { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .gx-reveal { opacity: 1; transform: none; }
}

@media print {
  .gx-header, .gx-drawer, .gx-overlay, .gx-scrolltop, .gx-footer, .gx-share, .gx-aside { display: none !important; }
  body { background: #fff; }
}
