/* =====================================================================
   GCSys — Feuille de styles
   Design system fondé sur la charte graphique GCSys (v1 · 2026)
   ===================================================================== */

/* ---------- 1. Variables de marque ---------- */
:root {
  /* Palette (charte GCSys) */
  --ink:            #141B24;   /* Encre        oklch(22% .02 255)  */
  --ink-deep:       #10171F;   /* Encre profonde                    */
  --bg:             #F7F9FB;   /* Fond         oklch(98% .004 255) */
  --surface:        #FFFFFF;   /* Surface / cartes                  */
  --surface-2:      #F3F5F8;   /* Surface secondaire                */
  --line:           #DBDEE2;   /* Ligne        oklch(90% .006 255) */
  --accent:         #1A73D5;   /* Accent       oklch(56% .17 255)  */
  --accent-strong:  #155FB2;   /* Accent survol                     */
  --accent-soft:    #E7F0FB;   /* Accent 8 %                        */
  --teal:           #009093;   /* Accent secondaire oklch(56% .17 195) */
  --teal-soft:      #E1F1F1;

  /* Texte */
  --text:           #141B24;
  --text-muted:     #414853;
  --text-subtle:    #6E7277;
  --text-invert:    #FFFFFF;
  --text-invert-2:  #B9BEC4;

  /* Typographie */
  --font-title: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body:  'Inter', 'Segoe UI', Arial, sans-serif;

  /* Rayons, ombres, transitions */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 27, 36, .06), 0 1px 3px rgba(20, 27, 36, .04);
  --shadow-md: 0 4px 16px rgba(20, 27, 36, .07), 0 2px 6px rgba(20, 27, 36, .04);
  --shadow-lg: 0 18px 48px rgba(20, 27, 36, .12), 0 6px 16px rgba(20, 27, 36, .06);
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Rythme */
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-strong); }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-title); font-weight: 500; font-size: 1rem;
  padding: .82em 1.5em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(26,115,213,.28); }
.btn--primary:hover { background: var(--accent-strong); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26,115,213,.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--accent); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- 5. En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,249,251,.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(247,249,251,.92); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__icon { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; }
.brand__name b { color: var(--accent); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--text-muted); font-weight: 500; font-size: .98rem;
  padding: .5em .85em; border-radius: var(--r-sm);
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); background: var(--surface-2); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--r-sm); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { transform: rotate(45deg); }
.nav.open .nav__toggle span::after { transform: rotate(-45deg) translateY(-1.4px); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 18px var(--gutter) 26px;
    display: none;
  }
  .nav.open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__links a { padding: .8em 1em; font-size: 1.05rem; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 8%, rgba(26,115,213,.10), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(0,144,147,.08), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 72%);
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--text-muted); font-size: .85rem; font-weight: 500;
  padding: .45em .9em; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.hero h1 { font-size: clamp(2.3rem, 5.3vw, 4rem); font-weight: 700; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; }
.hero__meta div { }
.hero__meta strong { font-family: var(--font-title); font-size: 1.7rem; color: var(--ink); display: block; line-height: 1; }
.hero__meta span { font-size: .88rem; color: var(--text-subtle); }

/* Visuel du hero : carte "terminal / node" */
.hero__visual { position: relative; }
.hero-card {
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.06);
}
.hero-card__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-card__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.22); display: block; }
.hero-card__bar i:first-child { background: #ff5f57; } .hero-card__bar i:nth-child(2){ background:#febc2e; } .hero-card__bar i:nth-child(3){ background:#28c840; }
.hero-card__title { margin-left: auto; font-size: .78rem; color: var(--text-invert-2); font-family: var(--font-body); }
.hero-card__body { padding: 22px; display: grid; gap: 12px; }
.code-line { font-family: 'Space Grotesk', monospace; font-size: .85rem; color: #cdd6e0; display: flex; gap: 10px; }
.code-line .k { color: #6aa9f0; } .code-line .s { color: #4fd1c5; } .code-line .c { color: #7c8695; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.hero-chips span { font-size: .76rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #e6ebf2; padding: .35em .75em; border-radius: 999px; }
.hero-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  border-radius: var(--r-md); padding: 12px 14px; display: flex; align-items: center; gap: 10px;
}
.hero-float__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-float strong { font-family: var(--font-title); font-size: .95rem; color: var(--ink); display: block; line-height: 1.1; }
.hero-float span { font-size: .76rem; color: var(--text-subtle); }
.hero-float--a { bottom: -22px; left: -26px; }
.hero-float--b { top: -22px; right: -18px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__lead { max-width: 46ch; }
  .hero__visual { order: -1; max-width: 460px; }
  .hero-float--a { left: 0; } .hero-float--b { right: 0; }
}

/* ---------- 7. Bandeau logos / réassurance ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--surface); }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 22px; }
.trustbar__item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: .95rem; font-weight: 500; }
.trustbar__item svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

/* ---------- 8. Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 20px;
}
.service {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(26,115,213,.04)); opacity: 0; transition: opacity .25s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::after { opacity: 1; }
.service__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
  transition: transform .25s var(--ease);
}
.service:hover .service__ic { transform: scale(1.06) rotate(-3deg); }
.service__ic svg { width: 26px; height: 26px; }
.service:nth-child(3n+2) .service__ic { background: var(--teal-soft); color: var(--teal); }
.service h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.service p { color: var(--text-muted); font-size: .96rem; margin-bottom: 1rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service__tags span { font-size: .74rem; font-weight: 500; color: var(--text-subtle); background: var(--surface-2); border: 1px solid var(--line); padding: .3em .65em; border-radius: 999px; }

/* ---------- 8b. Réalisations / portfolio ---------- */
.works { background: var(--surface); border-block: 1px solid var(--line); }
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.work-card {
  display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.work-card__cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.work-card__cover svg { width: 100%; height: 100%; display: block; }
.work-card__cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(4px);
  font-family: var(--font-title); font-weight: 600; font-size: .74rem; letter-spacing: .02em;
  padding: .4em .8em; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.work-card__cat i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.work-card__cat.is-game i { background: var(--teal); }
.work-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.work-card__body h3 { font-size: 1.3rem; margin-bottom: .1rem; }
.work-card__plat { font-size: .82rem; color: var(--text-subtle); font-family: var(--font-title); font-weight: 500; margin-bottom: .7rem; }
.work-card__body p { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.1rem; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.3rem; }
.work-card__tags span { font-size: .73rem; font-weight: 500; color: var(--text-subtle); background: var(--surface); border: 1px solid var(--line); padding: .3em .65em; border-radius: 999px; }
.work-card__foot { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.work-card__soon {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-title); font-weight: 500; font-size: .84rem; color: var(--text-subtle);
}
.work-card__soon svg { width: 15px; height: 15px; flex: none; color: var(--text-subtle); }
.btn-store {
  display: inline-flex; align-items: center; gap: .55em;
  background: var(--ink); color: #fff; border-radius: 10px;
  padding: .5em .85em; transition: transform .18s var(--ease), background .2s var(--ease);
}
.btn-store:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-store svg { width: 17px; height: 17px; flex: none; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.08; text-align: left; }
.btn-store span small { font-size: .58rem; font-weight: 400; opacity: .82; letter-spacing: .03em; text-transform: uppercase; }
.btn-store span b { font-family: var(--font-title); font-weight: 600; font-size: .92rem; }
/* État « bientôt » : bouton préparé mais inactif */
.btn-store.is-soon { background: var(--surface-2); color: var(--text-subtle); border: 1px solid var(--line); cursor: default; }
.btn-store.is-soon:hover { background: var(--surface-2); color: var(--text-subtle); transform: none; }
.btn-store.is-soon span small { opacity: 1; color: var(--accent); }

/* ---------- 9. Approche / process ---------- */
.approach { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step__n {
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: var(--accent);
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.step p { color: var(--text-muted); font-size: .94rem; margin: 0; }
.step:not(:last-child)::before {
  content: ""; position: absolute; top: 40px; left: 56px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:not(:last-child)::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 10. À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.about__lead { font-size: 1.15rem; color: var(--text-muted); }
.about__list { display: grid; gap: 16px; margin-top: 26px; }
.about__list li { display: flex; gap: 14px; align-items: flex-start; }
.about__list .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.about__list .ic svg { width: 18px; height: 18px; }
.about__list b { color: var(--ink); font-family: var(--font-title); font-weight: 600; }
.about__list p { margin: 0; color: var(--text-muted); font-size: .95rem; }

.id-card {
  background: linear-gradient(160deg, var(--ink), var(--ink-deep));
  color: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.id-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,115,213,.5), transparent 70%);
}
.id-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; position: relative; }
.id-card__head .brand__icon { width: 44px; height: 44px; }
.id-card__head b { font-family: var(--font-title); font-size: 1.25rem; }
.id-card__head span { color: var(--text-invert-2); font-size: .82rem; display: block; }
.id-list { display: grid; gap: 0; position: relative; }
.id-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.id-list div:first-child { border-top: none; }
.id-list dt { color: var(--text-invert-2); }
.id-list dd { margin: 0; text-align: right; font-weight: 500; color: #fff; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- 11. Statistiques (bande sombre) ---------- */
.stats { background: var(--ink); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats__grid .n { font-family: var(--font-title); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); background: linear-gradient(100deg,#fff,#9ec5f0); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stats__grid .l { color: var(--text-invert-2); font-size: .95rem; margin-top: 8px; }
@media (max-width: 700px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }

/* ---------- 12. CTA ---------- */
.cta { position: relative; }
.cta__box {
  background: linear-gradient(120deg, var(--accent), #1466c1 55%, var(--teal));
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta__box::before, .cta__box::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta__box::before { width: 260px; height: 260px; top: -120px; left: -60px; }
.cta__box::after { width: 200px; height: 200px; bottom: -110px; right: -40px; }
.cta__box > * { position: relative; }
.cta__box h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta__box p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 13. Pied de page ---------- */
.site-footer { background: var(--ink-deep); color: var(--text-invert-2); padding-top: clamp(56px, 7vw, 84px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand .brand { color: #fff; margin-bottom: 16px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .95rem; max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--text-invert-2); font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-bottom: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer__contact a { color: var(--text-invert-2); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer__bar a { color: var(--text-invert-2); } .footer__bar a:hover { color: #fff; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 14. Page intérieure (bannière) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 88px); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(90% 120% at 80% -10%, #000, transparent 70%); mask-image: radial-gradient(90% 120% at 80% -10%, #000, transparent 70%); }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--text-subtle); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-subtle); } .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }

/* ---------- 15. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-title); font-weight: 500; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .8em .95em; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0a7; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; font-size: .9rem; color: var(--text-muted); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--text-subtle); margin-top: 14px; text-align: center; }

.form-alert { border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 20px; font-size: .95rem; display: none; }
.form-alert.show { display: block; }
.form-alert--ok { background: var(--teal-soft); color: #05615f; border: 1px solid #9fd6d5; }
.form-alert--err { background: #fdecec; color: #96181e; border: 1px solid #f3b9bc; }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 18px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-item:last-child { margin-bottom: 0; }
.info-item .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item b { font-family: var(--font-title); display: block; color: var(--ink); font-size: .95rem; }
.info-item a, .info-item span { color: var(--text-muted); font-size: .95rem; }
.info-item a:hover { color: var(--accent); }
.info-card--dark { background: linear-gradient(160deg, var(--ink), var(--ink-deep)); color: var(--text-invert-2); border: none; }
.info-card--dark h3 { color: #fff; }
.info-card--dark .hours { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.info-card--dark .hours:first-of-type { border-top: none; }
.info-card--dark .hours span:last-child { color: #fff; font-weight: 500; }

@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- 16. Contenu légal / prose ---------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose__updated { display: inline-block; font-size: .85rem; color: var(--text-subtle); background: var(--surface-2); border: 1px solid var(--line); padding: .4em .9em; border-radius: 999px; margin-bottom: 2rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { width: 40%; font-family: var(--font-title); font-weight: 500; color: var(--ink); background: var(--surface-2); }
.legal-table td { color: var(--text-muted); }
.callout { background: var(--accent-soft); border: 1px solid #bcd8f6; border-radius: var(--r-md); padding: 16px 18px; font-size: .92rem; color: #14528f; margin: 1.4rem 0; }

/* ---------- 17. Animations d'apparition ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ---------- 18. Bandeau cookies (consentement) ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  border-radius: var(--r-lg); padding: 22px 24px;
  opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.cookie-banner p { font-size: .9rem; color: var(--text-muted); margin-bottom: 16px; }
.cookie-banner p a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { font-size: .92rem; padding: .6em 1.3em; }
@media (max-width: 520px) { .cookie-banner__actions .btn { flex: 1 1 auto; } }
