/* =====================================================================
   ARPES MÉDIA — Feuille de style principale
   Identité : sommet alpin illuminé dans un champ d'étoiles vivant.
   Palette dérivée du logo : bleu → violet → magenta → orange / navy.
   ===================================================================== */

:root {
  /* Fonds */
  --bg:        #070B1E;
  --bg-2:      #0A0F28;
  --panel:     #0E1530;
  --panel-2:   #131C3D;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  /* Accents (logo) */
  --blue:      #3B82F6;
  --violet:    #7C3AED;
  --magenta:   #E0399C;
  --amber:     #F59E0B;
  --grad:      linear-gradient(120deg, var(--blue), var(--violet) 42%, var(--magenta) 72%, var(--amber));
  --grad-soft: linear-gradient(120deg, rgba(59,130,246,.18), rgba(124,58,237,.18) 50%, rgba(224,57,156,.18));

  /* Texte */
  --ink:       #F5F7FF;
  --steel:     #A6B0D4;
  --steel-2:   #6E7AA6;

  /* Système */
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1200px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* ---------- Atmosphère de fond globale ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(224,57,156,.12), transparent 60%),
    radial-gradient(820px 560px at 12% 4%, rgba(59,130,246,.14), transparent 60%),
    radial-gradient(700px 700px at 50% 120%, rgba(124,58,237,.10), transparent 60%),
    var(--bg);
}

/* =====================================================================
   Typographie partagée
   ===================================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: var(--grad);
}

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-top: 1rem;
}
.section__lead {
  color: var(--steel);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  margin-top: 1.1rem;
  max-width: 52ch;
}

/* =====================================================================
   Boutons
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn--primary {
  color: #0A0F28;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 30px -12px rgba(124,58,237,.7), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 16px 40px -12px rgba(224,57,156,.7);
}
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.34); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* =====================================================================
   Navigation
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,11,30,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; object-position: top center; }
.nav__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: var(--steel); font-size: .96rem; transition: color .25s; position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--ink); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  color: var(--ink) !important;
  border: 1px solid var(--line-2);
  padding: .55rem 1.1rem; border-radius: 100px;
  transition: border-color .25s, background .25s;
}
.nav__cta:hover { border-color: var(--magenta); background: rgba(224,57,156,.1); }
.nav__burger { display: none; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 0;
  width: 720px; height: 720px; max-width: 120vw;
  left: 50%; top: 38%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,58,237,.30), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

/* Logo complet intact ; le halo est un CARRÉ derrière la seule icône */
.hero__logo-wrap {
  position: relative;
  width: clamp(150px, 21vw, 208px);
  aspect-ratio: 575 / 825;        /* ratio exact du logo fourni */
  margin-bottom: 1.8rem;
}
.hero__logo {
  position: relative; z-index: 2;
  width: 100%; height: auto; display: block;
  animation: float 7s ease-in-out infinite;
}
/* Halo dynamique CARRÉ, calé exactement sur l'icône — effet de respiration */
.hero__logo-ring {
  position: absolute; z-index: 0;
  top: -3px; left: 50%;
  width: 100%; aspect-ratio: 1;   /* CARRÉ = largeur de l'icône */
  transform: translateX(-50%);
  border-radius: 23%;
  background: conic-gradient(from 0deg, var(--blue), var(--violet), var(--magenta), var(--amber), var(--blue));
  filter: blur(20px);
  animation: haloBreathe 5.5s ease-in-out infinite;
}
.hero__logo-ring::before {
  content: ""; position: absolute; inset: -8%;
  border-radius: 26%;
  background: conic-gradient(from 180deg, var(--magenta), var(--blue), var(--amber), var(--magenta));
  filter: blur(30px);
  animation: haloBreathe2 7s ease-in-out infinite;
}
.hero__logo-ring::after {
  content: ""; position: absolute; inset: 8%;
  border-radius: 20%;
  background: radial-gradient(circle, rgba(224,57,156,.4), transparent 70%);
  animation: haloPulse 4.6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes haloPulse { 0%,100% { transform: scale(.9); opacity: .45; } 50% { transform: scale(1.18); opacity: .82; } }
/* Respiration : le halo apparaît et disparaît doucement, sans tourner ni se décaler */
@keyframes haloBreathe {
  0%, 100% { opacity: .22; transform: translateX(-50%) scale(.9); }
  50%      { opacity: .7;  transform: translateX(-50%) scale(1.06); }
}
@keyframes haloBreathe2 {
  0%, 100% { opacity: .12; transform: scale(.94); }
  50%      { opacity: .38; transform: scale(1.1); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(clamp(2.2rem, 6.2vw, 4.6rem) * var(--hero-scale, 1));
  line-height: 1.04;
  letter-spacing: -.03em;
  max-width: 22ch;
  text-wrap: balance;     /* répartit le titre sur des lignes équilibrées */
  margin: 1.4rem 0 0;
}
.hero__subtitle {
  color: var(--steel);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  max-width: 56ch;
  margin: 1.4rem auto 0;
}
.hero__actions { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; justify-content: center; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 100px;
  display: flex; justify-content: center; padding-top: 8px; z-index: 2;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--magenta); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(12px); } }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(2.2rem, 4vw, 3.2rem) 1.4rem; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; margin-top: .6rem; color: var(--steel); font-size: .92rem; }

/* =====================================================================
   Cartes (générique)
   ===================================================================== */
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service { padding: 2rem 1.8rem 2.2rem; overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: var(--grad-soft); transition: opacity .4s var(--ease); z-index: 0;
}
.service:hover { transform: translateY(-6px); border-color: var(--line-2); }
.service:hover::before { opacity: 1; }
.service > * { position: relative; z-index: 1; }
.service__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.3rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  color: var(--blue);
}
.service__icon svg { width: 26px; height: 26px; }
.service[data-accent="violet"]  .service__icon { color: var(--violet); }
.service[data-accent="magenta"] .service__icon { color: var(--magenta); }
.service[data-accent="orange"]  .service__icon { color: var(--amber); }
.service__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: .6rem; }
.service__desc { color: var(--steel); font-size: .97rem; }
.service__line {
  display: block; height: 2px; width: 0; margin-top: 1.4rem;
  background: var(--grad); border-radius: 2px; transition: width .5s var(--ease);
}
.service:hover .service__line { width: 56px; }

/* =====================================================================
   Offres — Community management
   ===================================================================== */
.offres { position: relative; }
.offres__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.offre {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.2rem 1.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .3s;
}
.offre::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--accent-color, var(--magenta)); opacity: .8;
}
.offre[data-accent="blue"]    { --accent-color: var(--blue); }
.offre[data-accent="violet"]  { --accent-color: var(--violet); }
.offre[data-accent="magenta"] { --accent-color: var(--magenta); }
.offre[data-accent="orange"]  { --accent-color: var(--amber); }
.offre:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.offre--populaire {
  border-color: color-mix(in srgb, var(--magenta) 55%, transparent);
  box-shadow: 0 28px 60px -28px rgba(224,57,156,.45);
}
.offre--populaire::before { height: 4px; background: var(--grad); opacity: 1; }
.offre__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: .35rem 1rem; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(224,57,156,.8);
}
.offre__nom { font-size: 1.45rem; font-family: var(--font-display); }
.offre__sous { color: var(--steel-2); font-size: .9rem; margin-top: .25rem; }
.offre__prix { display: flex; align-items: baseline; gap: .35rem; margin: 1.3rem 0 .4rem; }
.offre__montant { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--ink); }
.offre__periode { color: var(--steel); font-size: .95rem; }
.offre__desc { color: var(--steel); font-size: .96rem; margin-bottom: 1.4rem; }
.offre__list { display: grid; gap: .7rem; margin: .4rem 0 1.3rem; }
.offre__list li { position: relative; display: flex; align-items: flex-start; gap: .65rem; color: var(--ink); font-size: .92rem; }
.offre__list svg {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  fill: none; stroke: var(--accent-color, var(--magenta)); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.offre__cta {
  margin-top: auto; text-align: center;
  padding: .8rem 1.2rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .94rem;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background .25s, border-color .25s, transform .15s var(--ease);
}
.offre__cta:hover { background: rgba(255,255,255,.05); border-color: var(--accent-color, var(--magenta)); transform: translateY(-1px); }
.offre--populaire .offre__cta { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 28px -12px rgba(124,58,237,.7); }
.offre--populaire .offre__cta:hover { box-shadow: 0 18px 36px -12px rgba(224,57,156,.7); }
.offres__note { text-align: center; color: var(--steel-2); font-size: .95rem; margin-top: 2.6rem; }

/* Étiquettes de sections internes aux cartes */
.offre__top { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.offre__label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-color, var(--magenta)); margin: 0 0 .7rem;
}
.offre__label--muted { color: var(--steel-2); margin-top: .2rem; }
/* Cadre de l'offre : inclus (—) vs exclus (×) */
.offre__scope { display: grid; gap: .55rem; margin: 0 0 1.3rem; }
.offre__scope li { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--steel); }
.offre__scope svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 3px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.offre__scope .is-in svg { stroke: var(--steel); }
.offre__scope .is-out { color: var(--steel-2); }
.offre__scope .is-out svg { stroke: #b06a8f; }
.offre__scope .is-out span { opacity: .8; }
.offre__ideal {
  margin: 0 0 1.5rem; padding: .9rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  font-size: .88rem; color: var(--steel);
}
.offre__ideal span {
  display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-color, var(--magenta)); margin-bottom: .35rem;
}

/* Options complémentaires */
.options { margin-top: 4rem; }
.options__head { text-align: center; margin-bottom: 2rem; }
.options__title { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.01em; }
.options__lead { color: var(--steel-2); margin-top: .4rem; }
.options__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.option {
  padding: 1.3rem 1.4rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; transition: border-color .25s, transform .2s var(--ease), background .25s;
}
.option:hover { border-color: var(--line-2); transform: translateY(-3px); background: rgba(255,255,255,.04); }
.option__row { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-bottom: .5rem; }
.option__nom { font-size: 1.02rem; font-family: var(--font-display); font-weight: 600; }
.option__prix { flex-shrink: 0; font-family: var(--font-mono); font-size: .76rem; color: var(--amber); white-space: nowrap; }
.option__desc { color: var(--steel); font-size: .88rem; line-height: 1.5; }

/* Formule sur mesure */
.surmesure {
  margin-top: 3rem; display: grid; grid-template-columns: 1.6fr .9fr; gap: 2rem; align-items: center;
  padding: 2.2rem; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(124,58,237,.16), rgba(224,57,156,.12));
  border: 1px solid color-mix(in srgb, var(--violet) 35%, transparent);
}
.surmesure__eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); margin-bottom: .5rem; }
.surmesure__title { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: .7rem; }
.surmesure__text { color: var(--steel); font-size: .96rem; }
.surmesure__side { text-align: center; display: grid; gap: 1rem; justify-items: center; }
.surmesure__prix { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); }

/* =====================================================================
   À propos
   ===================================================================== */
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__text { color: var(--steel); margin-top: 1.3rem; font-size: 1.04rem; }
.about__text br + br { display: block; content: ""; margin-top: .6rem; }
.about__list { margin-top: 1.8rem; display: grid; gap: .9rem; }
.about__list li { position: relative; padding-left: 2rem; color: var(--ink); }
.about__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 14px rgba(224,57,156,.7);
}
.about__visual { display: grid; place-items: center; }
.about__peak { position: relative; width: min(320px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.about__peak img { width: 62%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 22px; box-shadow: 0 20px 60px -20px rgba(124,58,237,.8); position: relative; z-index: 2; }
.about__orbit {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--line-2);
  animation: spin 22s linear infinite;
}
.about__orbit::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--magenta); box-shadow: 0 0 16px var(--magenta); transform: translateX(-50%);
}
.about__orbit--2 { inset: 16%; animation-duration: 14s; animation-direction: reverse; border-color: var(--line); }
.about__orbit--2::before { background: var(--amber); box-shadow: 0 0 16px var(--amber); }

/* =====================================================================
   Réalisations
   ===================================================================== */
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.work { overflow: hidden; transition: transform .45s var(--ease), border-color .45s var(--ease); }
.work:hover { transform: translateY(-6px); border-color: var(--line-2); }
.work__media { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--panel-2); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }
.work__placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(59,130,246,.25), transparent 55%),
    radial-gradient(120% 120% at 80% 90%, rgba(224,57,156,.28), transparent 55%),
    var(--panel-2);
}
.work__placeholder span {
  font-family: var(--font-display); font-weight: 700; font-size: 4.5rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.work__body { padding: 1.6rem 1.7rem 1.8rem; }
.work__cat {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-2);
}
.work__title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: .5rem 0 .7rem; }
.work__desc { color: var(--steel); font-size: .97rem; }
.work__link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--magenta);
  transition: gap .3s var(--ease);
}
.work__link svg { width: 17px; height: 17px; }
.work__link:hover { gap: .75rem; }

/* =====================================================================
   Méthode / process
   ===================================================================== */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.process__step { position: relative; padding-top: 2.6rem; }
.process__step::before {
  content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 1px;
  background: var(--line);
}
.process__step::after {
  content: ""; position: absolute; top: calc(.55rem - 3.5px); left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 14px rgba(124,58,237,.8);
}
.process__num {
  font-family: var(--font-mono); font-size: .82rem; color: var(--steel-2); letter-spacing: .1em;
}
.process__title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: .8rem 0 .5rem; }
.process__text { color: var(--steel); font-size: .95rem; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.contact__info { margin-top: 2.2rem; display: grid; gap: 1rem; }
.contact__item { display: inline-flex; align-items: center; gap: .8rem; color: var(--steel); transition: color .25s; }
.contact__item svg { width: 20px; height: 20px; color: var(--magenta); flex-shrink: 0; }
a.contact__item:hover { color: var(--ink); }

.contact__form { padding: clamp(1.8rem, 3vw, 2.6rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--steel-2); }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-body); font-size: 1rem;
  padding: .85rem 1rem;
  transition: border-color .25s, box-shadow .25s;
  width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(224,57,156,.18);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.contact__status { font-size: .92rem; min-height: 1.2em; }
.contact__status.is-ok { color: #4ade80; }
.contact__status.is-error { color: #f87171; }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { border-top: 1px solid var(--line); padding-top: 3.2rem; margin-top: 2rem; background: linear-gradient(180deg, transparent, rgba(124,58,237,.05)); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; padding-bottom: 2.4rem; }
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__logo { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; object-position: top center; }
.footer__brand p { color: var(--steel); font-size: .92rem; }
.footer__nav { display: flex; gap: 1.6rem; }
.footer__nav a { color: var(--steel); font-size: .95rem; transition: color .25s; }
.footer__nav a:hover { color: var(--ink); }
.footer__social { display: flex; gap: .7rem; align-items: center; }
.footer__social-link {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
  transition: transform .2s, border-color .2s, background .2s;
}
.footer__social-link svg { width: 20px; height: 20px; display: block; }
.footer__social-txt { font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__social-link:hover { transform: translateY(-2px); border-color: transparent; background: rgba(255,255,255,.06); box-shadow: 0 8px 20px -8px rgba(224,57,156,.5); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--steel-2);
}

/* =====================================================================
   Révélations au scroll
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .offres__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .options__grid { grid-template-columns: repeat(2, 1fr); }
  .surmesure { grid-template-columns: 1fr; text-align: center; }
  .surmesure__side { justify-items: center; }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .works__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(7,11,30,.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.6rem;
    transform: translateY(-120%); transition: transform .4s var(--ease);
    align-items: stretch;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: .9rem .2rem; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: .8rem; border-color: var(--magenta); }
  .nav__burger { display: flex; }
}

@media (max-width: 560px) {
  .services__grid, .offres__grid, .options__grid, .process__steps, .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
}

/* ---------- Accessibilité : préférence mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Focus visible ---------- */
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }

/* Bandeau "mode maintenance actif" visible uniquement par l'admin connecté */
.maint-banner {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  padding: .65rem 1.2rem;
  background: linear-gradient(90deg, rgba(245,158,11,.18), rgba(224,57,156,.18));
  border-bottom: 1px solid rgba(245,158,11,.45);
  color: var(--amber);
  font-family: var(--font-mono); font-size: .82rem; text-align: center;
}
.maint-banner strong { color: #fff; }
.maint-banner a {
  color: #fff; text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: .2rem .8rem; font-size: .78rem;
}
.maint-banner a:hover { background: rgba(255,255,255,.1); }

/* =====================================================================
   Page Mentions légales
   ===================================================================== */
.legal { padding: clamp(3rem, 8vw, 6rem) 0 4rem; }
.legal__inner { max-width: 760px; }
.legal__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; margin: .5rem 0 .8rem; }
.legal__intro { color: var(--steel-2); font-size: .95rem; margin-bottom: 2.5rem; }
.legal__block { margin-bottom: 2.2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.legal__block:last-of-type { border-bottom: 0; }
.legal__block h2 {
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: .8rem;
  color: var(--ink);
}
.legal__block h2::before {
  content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px;
  background: var(--grad); vertical-align: middle; margin-right: .7rem;
}
.legal__block p { color: var(--steel); line-height: 1.75; }
.legal__maj { margin-top: 1rem; font-family: var(--font-mono); font-size: .82rem; color: var(--steel-2); }

/* Lien Mentions légales dans le pied de page */
.footer__legal { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.footer__legal a { color: var(--steel); transition: color .2s; }
.footer__legal a:hover { color: var(--ink); }
.footer__sep { color: var(--steel-2); }

/* Liste d'identité de l'éditeur (mentions légales) */
.legal__id { display: grid; gap: .7rem; }
.legal__id > div { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; align-items: baseline; }
.legal__id dt { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--steel-2); }
.legal__id dd { color: var(--ink); }
@media (max-width: 560px) {
  .legal__id > div { grid-template-columns: 1fr; gap: .15rem; }
  .legal__id dd { margin-bottom: .4rem; }
}

/* =====================================================================
   Configurateur d'offre (composer.php)
   ===================================================================== */
.cfg { padding: clamp(2.5rem, 7vw, 5rem) 0 4rem; }
.cfg__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.cfg__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; margin: .5rem 0 .8rem; }
.cfg__lead { color: var(--steel); }
.cfg__grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 2rem; align-items: start; }
.cfg__side { position: sticky; top: 5.5rem; }
.cfg-contact { grid-column: 1 / -1; }

.cfg-step { margin-bottom: 2.5rem; }
.cfg-step__title { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.2rem; }
.cfg-step__title span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .95rem; }

/* Cartes de formule (radio) */
.cfg-bases { display: grid; gap: 1rem; }
.cfg-card { --c: var(--magenta); position: relative; display: block; cursor: pointer; padding: 1.3rem 1.4rem 1.3rem 3.2rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s; }
.cfg-card[data-accent="blue"]{--c:var(--blue)} .cfg-card[data-accent="violet"]{--c:var(--violet)} .cfg-card[data-accent="magenta"]{--c:var(--magenta)} .cfg-card[data-accent="orange"]{--c:var(--amber)}
.cfg-card input { position: absolute; left: 1.2rem; top: 1.5rem; accent-color: var(--c); width: 18px; height: 18px; }
.cfg-card:hover { border-color: var(--line-2); }
.cfg-card:has(input:checked) { border-color: var(--c); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--c) inset; }
.cfg-card__nom { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.cfg-pop { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; background: var(--grad); color: #fff; padding: .12rem .5rem; border-radius: 999px; font-style: normal; vertical-align: middle; }
.cfg-card__sous { display: block; color: var(--steel-2); font-size: .88rem; margin-top: .15rem; }
.cfg-card__prix { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-top: .5rem; color: var(--ink); }
.cfg-card__prix small { font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--steel); }

/* Options (checkbox) */
.cfg-opts { display: grid; gap: .7rem; }
.cfg-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; cursor: pointer;
  padding: 1rem 1.2rem; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, background .2s; }
.cfg-opt:hover { border-color: var(--line-2); }
.cfg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-opt__check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.cfg-opt__check::after { content: "✓"; color: #fff; font-size: .8rem; opacity: 0; transform: scale(.5); transition: .15s; }
.cfg-opt:has(input:checked) { border-color: var(--magenta); background: rgba(224,57,156,.06); }
.cfg-opt:has(input:checked) .cfg-opt__check { background: var(--grad); border-color: transparent; }
.cfg-opt:has(input:checked) .cfg-opt__check::after { opacity: 1; transform: scale(1); }
.cfg-opt__nom { font-weight: 600; }
.cfg-opt__desc { display: block; color: var(--steel-2); font-size: .84rem; margin-top: .15rem; line-height: 1.45; }
.cfg-opt__prix { font-family: var(--font-mono); font-size: .82rem; color: var(--amber); white-space: nowrap; }

/* Récapitulatif */
.cfg-summary { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.5rem; }
.cfg-summary__title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1rem; }
.cfg-summary__list { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.1rem; padding: 0 0 1.1rem; border-bottom: 1px solid var(--line); }
.cfg-summary__list li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.cfg-summary__list li span:first-child { color: var(--steel); }
.cfg-summary__list li.is-base span:first-child { color: var(--ink); font-weight: 600; }
.cfg-summary__list li.is-empty { color: var(--steel-2); justify-content: center; }
.cfg-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.cfg-summary__total span { color: var(--steel); }
.cfg-summary__total strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); }
.cfg-summary__total small { font-size: .9rem; color: var(--steel); font-weight: 400; }
.cfg-summary__note { color: var(--amber); font-size: .8rem; min-height: 1rem; margin-bottom: 1rem; }
.cfg-summary__cta { width: 100%; }
.cfg-summary__legal { color: var(--steel-2); font-size: .76rem; text-align: center; margin-top: .8rem; }

/* Coordonnées */
.cfg-contact { margin-top: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); }
.cfg-contact__title { font-family: var(--font-display); font-size: 1.4rem; }
.cfg-contact__lead { color: var(--steel); margin: .3rem 0 1.5rem; }
.cfg-contact__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.cfg-contact .field--full { grid-column: 1 / -1; }
.cfg-contact .field { display: flex; flex-direction: column; gap: .4rem; }
.cfg-contact label { font-size: .85rem; color: var(--steel); }
.cfg-contact input, .cfg-contact textarea { background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: .7rem .9rem; color: var(--ink); font: inherit; }
.cfg-contact input:focus, .cfg-contact textarea:focus { outline: none; border-color: var(--magenta); }

.cfg-alert { max-width: 700px; margin: 0 auto 1.5rem; padding: .9rem 1.2rem; border-radius: 12px; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.4); color: #fca5a5; text-align: center; }
.cfg-done { max-width: 540px; margin: 2rem auto; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 2rem; }
.cfg-done__icon { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--grad); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.cfg-done h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .6rem; }
.cfg-done p { color: var(--steel); margin-bottom: 1.6rem; }
.cfg-empty { text-align: center; color: var(--steel-2); padding: 3rem 0; }

@media (max-width: 900px) {
  .cfg__grid { grid-template-columns: 1fr; }
  .cfg__side { position: static; order: 3; }
  .cfg-contact__fields { grid-template-columns: 1fr; }
}

/* Bouton vers le configurateur (section offres) */
.offres__cta { text-align: center; margin: 2.6rem 0 1rem; display: grid; gap: .6rem; justify-items: center; }
.offres__cta span { color: var(--steel-2); font-size: .9rem; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.05rem; }

/* =====================================================================
   Bandeau de consentement cookies (RGPD)
   ===================================================================== */
.cookie-consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2000;
  max-width: 720px; margin: 0 auto;
  background: rgba(14, 21, 48, .96); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s;
}
.cookie-consent.is-visible { opacity: 1; transform: translateY(0); }
.cookie-consent__inner { display: flex; align-items: center; gap: 1.4rem; padding: 1.1rem 1.3rem; }
.cookie-consent__text strong { display: block; font-family: var(--font-display); font-size: .95rem; margin-bottom: .2rem; }
.cookie-consent__text p { color: var(--steel); font-size: .86rem; line-height: 1.5; margin: 0; }
.cookie-consent__text a { color: var(--blue); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-consent__actions .btn { padding: .6rem 1.2rem; font-size: .9rem; white-space: nowrap; }

@media (max-width: 620px) {
  .cookie-consent__inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-consent__actions { justify-content: flex-end; }
}
