/* ==========================================================================
   SURVOL STUDIO — survol.css
   Studio créatif : web, drone, menus, merch.
   Palette « constellation sur velours noir ».
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --void:        #000000;
  --blanc:       #ffffff;
  --cendre:      #9a9a9a;
  --brume:       #bdbdbd;
  --iris:        #8052ff;
  --iris-clair:  #a98cff;
  --ambre:       #ffb829;
  --jade:        #15846e;

  /* Typographie */
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --t-display: clamp(3.4rem, 10.6vw, 7.0625rem);
  --t-lg:      clamp(2.7rem, 7.2vw, 4.875rem);
  --t-h:       clamp(2.1rem, 4.6vw, 3rem);
  --t-sm:      clamp(1.9rem, 4vw, 2.625rem);
  --t-sub:     clamp(1.55rem, 3.1vw, 2.25rem);
  --t-xs:      clamp(1.4rem, 2.2vw, 1.6875rem);
  --t-2xs:     clamp(1.25rem, 1.8vw, 1.5rem);
  --t-body:    clamp(1rem, .55vw + .86rem, 1.125rem);
  --t-nav:     .875rem;
  --t-cap:     .75rem;

  --w-light:  200;
  --w-reg:    400;
  --w-med:    500;
  --w-semi:   600;

  /* Rythme — base 6px */
  --s-6:   6px;   --s-12: 12px;  --s-18: 18px;  --s-24: 24px;
  --s-30: 30px;   --s-36: 36px;  --s-60: 60px;  --s-96: 96px;
  --s-120: 120px;

  --page: 1280px;
  --gutter: clamp(20px, 5vw, 60px);
  --section: clamp(72px, 12vw, 160px);

  --r-24: 24px;
  --r-full: 9999px;

  /* Courbes */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--void);
  color: var(--blanc);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: var(--w-light);
  line-height: 1.5;
  font-feature-settings: 'ss01' on, 'cv11' on;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

::selection { background: var(--iris); color: var(--blanc); }

/* --------------------------------------------------------------------------
   3. UTILITAIRES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }

.label {
  font-size: var(--t-nav);
  font-weight: var(--w-semi);
  letter-spacing: .35px;
  text-transform: uppercase;
  color: var(--ambre);
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
}
.label::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .55;
}

.display, .h-lg, .h, .h-sm {
  font-weight: var(--w-reg);
  line-height: 1.06;
  text-wrap: balance;
}
.display { font-size: var(--t-display); letter-spacing: -.04em; }
.h-lg    { font-size: var(--t-lg);      letter-spacing: -.04em; }
.h       { font-size: var(--t-h);       letter-spacing: -.035em; line-height: 1.1; }
.h-sm    { font-size: var(--t-sm);      letter-spacing: -.04em;  line-height: 1.15; }

.lede {
  font-size: var(--t-body);
  font-weight: var(--w-light);
  color: var(--brume);
  max-width: 52ch;
  line-height: 1.6;
}
.muted { color: var(--cendre); }
.amber { color: var(--ambre); }
.iris  { color: var(--iris-clair); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Lien fantôme : soulignement qui se dessine au survol */
.ghost-link {
  position: relative;
  font-size: var(--t-nav);
  font-weight: var(--w-med);
  letter-spacing: .02em;
  color: var(--blanc);
  padding-block: 4px;
  display: inline-block;
}
.ghost-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease);
}
.ghost-link:hover { color: var(--ambre); }
.ghost-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Bouton pilule violet — action primaire unique */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
  padding: 15px 26px;
  border-radius: var(--r-full);
  background: var(--iris);
  color: var(--blanc);
  font-size: var(--t-nav);
  font-weight: var(--w-semi);
  letter-spacing: .025em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 140% at 50% 120%, var(--iris-clair) 0%, var(--iris) 60%);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 0 0 1px rgba(160,130,255,.4), 0 18px 50px -18px var(--iris); }
.btn:active { transform: scale(.97); }
.btn__icon { transition: transform .5s var(--ease); flex: none; }
.btn:hover .btn__icon { transform: translate(3px, -3px); }

.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.btn--ghost::before { background: var(--blanc); }
.btn--ghost:hover { color: var(--void); box-shadow: inset 0 0 0 1px var(--blanc); }

/* --------------------------------------------------------------------------
   4. CURSEUR PERSONNALISÉ — « le survol », signature de la marque
   -------------------------------------------------------------------------- */
.cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
  }
  .cursor__dot {
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--ambre);
    transition: opacity .3s;
  }
  .cursor__ring {
    width: 42px; height: 42px;
    margin: -21px 0 0 -21px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    display: grid;
    place-items: center;
    transition: width .5s var(--ease), height .5s var(--ease),
                margin .5s var(--ease), background-color .5s var(--ease),
                border-color .5s var(--ease), opacity .3s;
  }
  .cursor__txt {
    font-size: 10px;
    font-weight: var(--w-semi);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blanc);
    opacity: 0;
    transform: scale(.6);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    white-space: nowrap;
  }
  body.cursor-hover .cursor__ring {
    width: 92px; height: 92px;
    margin: -46px 0 0 -46px;
    background: var(--iris);
    border-color: transparent;
  }
  body.cursor-hover .cursor__txt { opacity: 1; transform: scale(1); }
  body.cursor-hover .cursor__dot { opacity: 0; }
  body.cursor-idle .cursor { opacity: 0; }
}

/* --------------------------------------------------------------------------
   5. BARRE DE PROGRESSION DE SCROLL
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 200;
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
  background: linear-gradient(90deg, var(--jade), var(--iris) 45%, var(--ambre));
}
@supports (animation-timeline: scroll()) {
  .progress {
    transform: scaleX(0);
    animation: grow linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* --------------------------------------------------------------------------
   6. NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  padding-block: var(--s-24);
  transition: padding .6s var(--ease);
}
.nav::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.94) 0%, rgba(0,0,0,.62) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.nav.is-scrolled { padding-block: var(--s-18); }
.nav.is-scrolled::before { opacity: 1; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-24);
  position: relative;
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 34px; height: 34px; flex: none; transition: transform .7s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-5px) rotate(-8deg); }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__t1 { font-size: 17px; font-weight: var(--w-med); letter-spacing: -.02em; }
.brand__t2 { font-size: 9px; font-weight: var(--w-med); letter-spacing: .42em; color: var(--cendre); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: var(--s-30); }

/* Effet « roll » au survol des liens de navigation */
.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  font-size: var(--t-nav);
  font-weight: var(--w-semi);
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--cendre);
  line-height: 1.25;
  transition: color .4s var(--ease);
}
.roll__in { display: block; transition: transform .55s var(--ease); }
.roll__out {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--blanc);
  transform: translateY(100%);
  transition: transform .55s var(--ease);
}
.roll:hover { color: var(--blanc); }
.roll:hover .roll__in  { transform: translateY(-100%); }
.roll:hover .roll__out { transform: translateY(0); }

/* Burger mobile */
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--blanc);
  transition: transform .5s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 150px var(--s-96);
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid { max-width: 44rem; }
.hero .display { margin-block: var(--s-24) var(--s-30); }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-24) var(--s-36);
  margin-top: var(--s-36);
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: var(--s-30);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
  font-size: var(--t-cap);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cendre);
}
.hero__scroll i {
  display: block;
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--ambre), transparent);
  animation: drop 2.6s var(--ease-soft) infinite;
}
@keyframes drop {
  0%   { transform: scaleY(.25); transform-origin: top;    opacity: .3; }
  45%  { transform: scaleY(1);   transform-origin: top;    opacity: 1; }
  55%  { transform: scaleY(1);   transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0);   transform-origin: bottom; opacity: .2; }
}

@supports (animation-timeline: view()) {
  .hero__inner {
    animation: heroLift linear both;
    animation-timeline: view(block);
    animation-range: exit 0% exit 95%;
  }
  @keyframes heroLift { to { transform: translateY(-80px); opacity: .08; } }
}

/* --------------------------------------------------------------------------
   8. BANDEAU DÉFILANT
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  padding-block: var(--s-30);
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.07);
  --speed: 34s;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide var(--speed) linear infinite;
  animation-play-state: running;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--s-36);
  padding-right: var(--s-36);
  flex: none;
}
.marquee__item {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: var(--w-reg);
  letter-spacing: -.03em;
  white-space: nowrap;
  color: var(--blanc);
}
.marquee__sep { color: var(--iris); font-size: 1rem; flex: none; }
.marquee__item:nth-child(4n+3) { color: var(--cendre); }

/* --------------------------------------------------------------------------
   9. PRESTATIONS — lignes qui s'ouvrent au survol
   -------------------------------------------------------------------------- */
.svc { margin-top: var(--s-60); }

.svc__row { border-top: 1px solid rgba(255,255,255,.1); }
.svc__row:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }

.svc__link {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--s-24);
  padding-block: var(--s-30);
  transition: opacity .5s var(--ease);
}
/* trait violet qui balaie la ligne */
.svc__link::before {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--iris), var(--ambre));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.svc__link:hover::before { transform: scaleX(1); }

.svc__num {
  font-size: var(--t-cap);
  font-weight: var(--w-semi);
  letter-spacing: .2em;
  color: var(--cendre);
  padding-top: .8em;
  transition: color .5s var(--ease), transform .6s var(--ease);
}
.svc__link:hover .svc__num { color: var(--ambre); transform: translateY(-4px); }

.svc__body { min-width: 0; }
.svc__title {
  max-width: 24ch;
  display: block;
  font-size: var(--t-sm);
  font-weight: var(--w-reg);
  letter-spacing: -.04em;
  line-height: 1.12;
  text-wrap: balance;
  transition: transform .6s var(--ease);
}
.svc__link:hover .svc__title { transform: translateX(10px); }

.svc__wrap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .7s var(--ease), opacity .5s var(--ease);
}
.svc__reveal { display: block; overflow: hidden; }
.svc__desc {
  display: block;
  color: var(--brume);
  font-size: var(--t-body);
  font-weight: var(--w-light);
  line-height: 1.55;
  max-width: 54ch;
  padding-top: var(--s-12);
}
.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: var(--s-18);
}
.svc__tag {
  font-size: 11px;
  font-weight: var(--w-med);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cendre);
  padding: 6px 13px;
  border-radius: var(--r-full);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.13);
  transition: color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease);
}
.svc__link:hover .svc__tag { color: var(--blanc); box-shadow: inset 0 0 0 1px rgba(160,130,255,.5); }

.svc__arrow {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  color: var(--blanc);
  flex: none;
  overflow: hidden;
  position: relative;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.svc__arrow svg { transition: transform .5s var(--ease); }
.svc__link:hover .svc__arrow {
  background: var(--iris);
  box-shadow: inset 0 0 0 1px transparent;
  transform: rotate(45deg) scale(1.06);
}

/* Au survol d'une ligne, les autres s'effacent */
@media (hover: hover) and (pointer: fine) {
  .svc:has(.svc__link:hover) .svc__link:not(:hover) { opacity: .3; }
  .svc__wrap { grid-template-rows: 0fr; opacity: 0; }
  .svc__link:hover .svc__wrap,
  .svc__link:focus-visible .svc__wrap { grid-template-rows: 1fr; opacity: 1; }
}

/* Aperçu abstrait qui suit le curseur */
.svc-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  width: 272px; height: 190px;
  border-radius: var(--r-24);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.82) rotate(-5deg);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
  display: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
  .svc-preview { display: block; }
  .svc-preview.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1) rotate(0deg); }
}
.svc-preview__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.svc-preview__item.is-active { opacity: 1; transform: scale(1); }

/* --------------------------------------------------------------------------
   10. MÉTHODE — plan de vol
   -------------------------------------------------------------------------- */
.flight { position: relative; margin-top: var(--s-96); }
.flight__line {
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.flight__line i {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: calc(var(--p, 0) * 100%);
  background: linear-gradient(to bottom, var(--iris), var(--ambre));
}
.flight__drone {
  position: absolute;
  left: 28px;
  top: calc(var(--p, 0) * 100%);
  width: 26px; height: 26px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 14px rgba(128,82,255,.85));
  z-index: 2;
}
.flight__steps { display: grid; gap: clamp(40px, 7vw, 86px); }
.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--s-24);
  align-items: start;
}
.step__dot {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--void);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  font-size: var(--t-cap);
  font-weight: var(--w-semi);
  letter-spacing: .12em;
  color: var(--cendre);
  transition: box-shadow .6s var(--ease), color .6s var(--ease), transform .6s var(--ease);
}
.step.in .step__dot { box-shadow: inset 0 0 0 1px var(--iris); color: var(--blanc); }
.step__t { font-size: var(--t-xs); font-weight: var(--w-reg); letter-spacing: -.02em; margin-bottom: var(--s-12); }
.step__d { color: var(--brume); font-weight: var(--w-light); max-width: 46ch; line-height: 1.6; }

/* --------------------------------------------------------------------------
   11. ENGAGEMENTS
   -------------------------------------------------------------------------- */
.pledge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--s-60) var(--s-36);
  margin-top: var(--s-60);
}
.pledge__n {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: var(--w-reg);
  letter-spacing: -.045em;
  line-height: 1;
  background: linear-gradient(120deg, var(--blanc) 25%, var(--iris-clair));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pledge__t { margin-top: var(--s-12); font-size: var(--t-nav); font-weight: var(--w-semi);
  letter-spacing: .12em; text-transform: uppercase; color: var(--blanc); }
.pledge__d { margin-top: var(--s-6); color: var(--cendre); font-size: .9375rem; font-weight: var(--w-light); }

/* --------------------------------------------------------------------------
   12. CONTACT
   -------------------------------------------------------------------------- */
.contact { position: relative; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-60) var(--s-96);
  margin-top: var(--s-60);
  align-items: start;
}
.contact__big {
  display: inline-flex;
  align-items: center;
  gap: var(--s-18);
  font-size: clamp(1.6rem, 3.4vw, 2.625rem);
  font-weight: var(--w-reg);
  letter-spacing: -.035em;
  line-height: 1.15;
  position: relative;
  padding-block: 6px;
  word-break: break-word;
}
.contact__big span { position: relative; display: inline-block; }
.contact__big span::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 1px;
  background: var(--ambre);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}
.contact__big:hover { color: var(--ambre); }
.contact__big:hover span::after { transform: scaleX(1); transform-origin: left; }
.contact__k {
  display: block;
  font-size: var(--t-cap);
  font-weight: var(--w-semi);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cendre);
  margin-bottom: var(--s-18);
}
.contact__item + .contact__item { margin-top: var(--s-60); }

/* --------------------------------------------------------------------------
   13. PIED DE PAGE
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: var(--s-60);
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-36);
  align-items: center;
  justify-content: space-between;
}
.footer__links { display: flex; flex-wrap: wrap; gap: var(--s-24) var(--s-30); }
.footer__links a { font-size: .9375rem; color: var(--cendre); transition: color .4s var(--ease); }
.footer__links a:hover { color: var(--ambre); }
.footer__legal { width: 100%; color: var(--cendre); font-size: var(--t-cap); margin-top: var(--s-36); line-height: 1.7; }

/* --------------------------------------------------------------------------
   14. RÉVÉLATIONS AU SCROLL
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--ry, 34px), 0);
  transition: opacity .95s var(--ease) var(--delay, 0ms),
              transform .95s var(--ease) var(--delay, 0ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* Titres découpés mot à mot */
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.w-in {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--ease) var(--delay, 0ms);
}
.in .w-in, [data-split].in .w-in { transform: translateY(0); }
.js [data-split]:not(.in) .w-in { transform: translateY(105%); }

/* Ligne qui se trace */
.rule {
  height: 1px;
  background: rgba(255,255,255,.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.rule.in { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   14 bis. TARIFS — trois formules, rien de plus
   -------------------------------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
  gap: var(--s-60) var(--s-36);
  margin-top: var(--s-60);
}

.tier {
  position: relative;
  padding-top: var(--s-30);
  border-top: 1px solid rgba(255,255,255,.14);
  transition: transform .6s var(--ease);
}
.tier::before {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--iris), var(--ambre));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.tier:hover { transform: translateY(-6px); }
.tier:hover::before { transform: scaleX(1); }
.tier--pack::before { transform: scaleX(1); }

.tier__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--w-semi);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cendre);
  margin-bottom: var(--s-12);
}
.tier--pack .tier__tag { color: var(--ambre); }
.tier__n {
  font-size: var(--t-2xs);
  font-weight: var(--w-reg);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.tier__p {
  font-size: clamp(2.4rem, 4.2vw, 3.1rem);
  font-weight: var(--w-reg);
  letter-spacing: -.05em;
  line-height: 1;
  margin: var(--s-18) 0 var(--s-12);
  background: linear-gradient(120deg, var(--blanc) 30%, var(--iris-clair));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .6s var(--ease);
}
.tier:hover .tier__p { transform: translateX(4px); }
.tier__d {
  color: var(--brume);
  font-size: .9375rem;
  font-weight: var(--w-light);
  line-height: 1.55;
  max-width: 34ch;
}
.tier__l { display: grid; gap: 11px; margin-top: var(--s-24); }
.tier__l li {
  display: flex;
  gap: 12px;
  font-size: .9375rem;
  font-weight: var(--w-light);
  color: var(--brume);
  line-height: 1.45;
}
.tier__l i { color: var(--iris-clair); flex: none; font-style: normal; }
.tier--pack .tier__l i { color: var(--ambre); }

.tier__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-30);
  font-size: var(--t-nav);
  font-weight: var(--w-semi);
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--blanc);
  transition: color .4s var(--ease), gap .4s var(--ease);
}
.tier__go:hover { color: var(--ambre); gap: 16px; }

/* bandeau zone d'intervention */
.zone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-12) var(--s-30);
  margin-top: var(--s-60);
  padding-top: var(--s-30);
  border-top: 1px solid rgba(255,255,255,.1);
}
.zone__k {
  font-size: var(--t-cap);
  font-weight: var(--w-semi);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cendre);
}
.zone__d {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-12);
}
.zone__d span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: var(--w-reg);
  letter-spacing: -.02em;
}
.zone__d b {
  font-size: var(--t-cap);
  font-weight: var(--w-semi);
  letter-spacing: .14em;
  color: var(--ambre);
}
.zone__n {
  width: 100%;
  font-size: .875rem;
  font-weight: var(--w-light);
  color: var(--cendre);
}

/* note sous les tarifs */
.fineprint {
  margin-top: var(--s-36);
  font-size: .875rem;
  font-weight: var(--w-light);
  color: var(--cendre);
  max-width: 68ch;
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   14 ter. SUIVI — actualisations et abonnement
   -------------------------------------------------------------------------- */
.suivi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--s-36);
  margin-top: var(--s-96);
}
.suivi__b {
  position: relative;
  padding-top: var(--s-24);
  border-top: 1px solid rgba(255,255,255,.14);
  transition: transform .6s var(--ease);
}
.suivi__b::before {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--jade), var(--iris));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.suivi__b:hover { transform: translateY(-5px); }
.suivi__b:hover::before { transform: scaleX(1); }
.suivi__k {
  font-size: 11px;
  font-weight: var(--w-semi);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cendre);
}
.suivi__p {
  display: block;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: var(--w-reg);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: var(--s-12) 0 var(--s-12);
  color: var(--blanc);
}
.suivi__p small { font-size: .45em; letter-spacing: 0; color: var(--cendre); }
.suivi__d { color: var(--brume); font-size: .9375rem; font-weight: var(--w-light); line-height: 1.6; max-width: 42ch; }

/* --------------------------------------------------------------------------
   14 quater. À LA CARTE — 30 options filtrables
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--s-36);
}
.filters button {
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: var(--w-semi);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cendre);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: color .4s var(--ease), box-shadow .4s var(--ease),
              background-color .4s var(--ease), transform .4s var(--ease);
}
.filters button:hover { color: var(--blanc); box-shadow: inset 0 0 0 1px rgba(160,130,255,.5); transform: translateY(-2px); }
.filters button[aria-pressed='true'] {
  color: var(--blanc);
  background: var(--iris);
  box-shadow: inset 0 0 0 1px transparent;
}

.opts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 0 var(--s-60);
  margin-top: var(--s-36);
}
.opt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--s-18);
  padding: var(--s-18) 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  position: relative;
}
.opt::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--iris), var(--ambre));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.opt:hover::after { transform: scaleX(1); }
.opt__n {
  display: block;
  font-size: 1.0625rem;
  font-weight: var(--w-reg);
  letter-spacing: -.02em;
  line-height: 1.25;
  transition: transform .5s var(--ease);
}
.opt:hover .opt__n { transform: translateX(6px); }
.opt__d {
  display: block;
  font-size: .875rem;
  font-weight: var(--w-light);
  color: var(--cendre);
  line-height: 1.5;
  margin-top: 5px;
  transition: color .5s var(--ease), transform .5s var(--ease);
}
.opt:hover .opt__d { color: var(--brume); transform: translateX(6px); }
.opt__p {
  font-size: 1.0625rem;
  font-weight: var(--w-med);
  letter-spacing: -.02em;
  color: var(--blanc);
  white-space: nowrap;
  transition: color .45s var(--ease);
}
.opt:hover .opt__p { color: var(--ambre); }

.opts__empty { color: var(--cendre); padding: var(--s-30) 0; }
/* --------------------------------------------------------------------------
   15. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--s-30);
    padding: var(--s-96) var(--gutter);
    background: var(--void);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s var(--ease);
    z-index: -1;
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); }
  .nav__links .roll { font-size: var(--t-sub); text-transform: none; letter-spacing: -.02em; color: var(--blanc); }
  .nav__links .btn { margin-top: var(--s-18); }
  .burger { display: block; z-index: 2; }
  .nav.is-open::before { opacity: 1; }
}

@media (max-width: 720px) {
  .svc__link { grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-12) var(--s-18); }
  .svc__arrow { display: none; }
  .svc__title { font-size: var(--t-sub); }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .step__dot { width: 44px; height: 44px; }
  .flight__line { left: 21.5px; }
  .flight__drone { left: 22px; width: 22px; height: 22px; }
  .hero { padding-block: 130px var(--s-96); min-height: auto; }
  .hero__scroll { display: none; }
  .contact__item + .contact__item { margin-top: var(--s-36); }
}

/* --------------------------------------------------------------------------
   16. MOUVEMENT RÉDUIT — on retire tout ce qui bouge
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-split] .w-in { transform: none; }
  .marquee__track { animation: none; }
  .cursor { display: none !important; }
  .svc__wrap { grid-template-rows: 1fr !important; opacity: 1 !important; }
  .opt { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   17. IMPRESSION
   -------------------------------------------------------------------------- */
@media print {
  .nav, .cursor, .progress, .hero__canvas, .hero__scroll, .marquee, .svc-preview { display: none !important; }
  body { background: #fff; color: #000; }
  .lede, .muted, .svc__desc, .step__d { color: #333; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js [data-split] .w-in { transform: none !important; }
  .svc__wrap { grid-template-rows: 1fr !important; opacity: 1 !important; }
  .opt { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
}

/* Transitions entre pages, là où c'est supporté */
@view-transition { navigation: auto; }

/* --------------------------------------------------------------------------
   18. AJUSTEMENTS PILOTÉS PAR LE SCRIPT
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; }
}

/* Le bandeau s'incline selon la vitesse de défilement */
.marquee__item, .marquee__sep {
  transform: skewX(var(--skew, 0deg));
  transition: transform .55s var(--ease-out);
}

/* Boutons magnétiques */
.btn { transform: translate3d(var(--mx, 0), var(--my, 0), 0); }
.btn:active { transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(.97); }

/* Sur petit écran la constellation passe derrière le texte, en retrait */
@media (max-width: 900px) {
  .hero__canvas { opacity: .5; }
}

/* --------------------------------------------------------------------------
   18. FORMULE SUR MESURE — carte d'appel
   -------------------------------------------------------------------------- */
.compo {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-36);
  margin-top: var(--s-24);
  padding: var(--s-36);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(128,82,255,.16), transparent 58%),
    radial-gradient(120% 140% at 100% 100%, rgba(255,184,41,.10), transparent 55%),
    rgba(255,255,255,.02);
  overflow: hidden;
  transition: border-color .6s var(--ease), transform .6s var(--ease);
}
.compo::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--iris), var(--ambre), var(--jade));
}
.compo:hover { border-color: rgba(169,140,255,.45); transform: translateY(-4px); }

.compo__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--w-semi);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ambre);
}
.compo__n {
  font-size: var(--t-sub);
  font-weight: var(--w-reg);
  letter-spacing: -.03em;
  margin-top: var(--s-12);
}
.compo__d {
  margin-top: var(--s-12);
  max-width: 54ch;
  color: var(--brume);
  font-weight: var(--w-light);
}
.compo__pts { display: grid; gap: 9px; margin-top: var(--s-24); }
.compo__pts li {
  display: flex; gap: 10px;
  font-size: .9375rem;
  color: var(--cendre);
  font-weight: var(--w-light);
}
.compo__pts i { color: var(--ambre); flex: none; font-style: normal; }

.compo__r { display: grid; gap: var(--s-12); justify-items: center; }
.compo__go {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  border: 0; border-radius: 99px;
  background: var(--iris);
  color: var(--blanc);
  font: var(--w-med) 1rem/1 var(--font);
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .4s var(--ease), gap .4s var(--ease), transform .4s var(--ease);
}
.compo__go:hover { background: var(--iris-clair); gap: 18px; transform: translateY(-2px); }
.compo__go:focus-visible { outline: 2px solid var(--ambre); outline-offset: 4px; }
.compo__note { font-size: var(--t-cap); color: var(--cendre); text-align: center; }

@media (max-width: 880px) {
  .compo { grid-template-columns: 1fr; padding: var(--s-30); }
  .compo__r { justify-items: stretch; }
  .compo__go { justify-content: center; width: 100%; }
}

/* --------------------------------------------------------------------------
   19. FORMULE SUR MESURE — fenêtre de composition
   -------------------------------------------------------------------------- */
.cx {
  width: min(1120px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: #0a0a0c;
  color: var(--blanc);
  overflow: hidden;
}
.cx::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.cx[open] { display: grid; grid-template-rows: auto 1fr; }

.cx__x { position: absolute; right: 14px; top: 14px; z-index: 3; }
.cx__x button {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(0,0,0,.5);
  color: var(--brume);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.cx__x button:hover { border-color: var(--ambre); color: var(--ambre); }

.cx__head { padding: var(--s-36) var(--s-36) var(--s-24); border-bottom: 1px solid rgba(255,255,255,.1); }
.cx__lab {
  font-size: 11px; font-weight: var(--w-semi);
  letter-spacing: .22em; text-transform: uppercase; color: var(--ambre);
}
.cx__t { font-size: var(--t-xs); font-weight: var(--w-reg); letter-spacing: -.03em; margin-top: var(--s-12); }
.cx__s { margin-top: 8px; color: var(--cendre); font-weight: var(--w-light); max-width: 66ch; font-size: .9375rem; }

.cx__body {
  display: grid;
  grid-template-columns: 1fr 340px;
  overflow: hidden;
  min-height: 0;
}
.cx__cols { overflow-y: auto; padding: var(--s-24) var(--s-36) var(--s-36); }
.cx__side {
  border-left: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.02);
  overflow-y: auto;
  padding: var(--s-24);
  display: grid;
  gap: var(--s-24);
  align-content: start;
}

.cx__grp { margin-bottom: var(--s-30); }
.cx__grp:last-child { margin-bottom: 0; }
.cx__grpn {
  font-size: 11px; font-weight: var(--w-semi);
  letter-spacing: .18em; text-transform: uppercase; color: var(--iris-clair);
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.cx__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2px; margin-top: 10px; }

.cx__o {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.cx__o:hover { background: rgba(255,255,255,.04); }
.cx__o:has(input:checked) { background: rgba(128,82,255,.13); }
.cx__o input {
  appearance: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 5px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cx__o input:checked { background: var(--iris); border-color: var(--iris); }
.cx__o input:checked::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  margin: 2px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cx__o input:focus-visible { outline: 2px solid var(--ambre); outline-offset: 2px; }
.cx__on { font-size: .9375rem; font-weight: var(--w-reg); line-height: 1.35; }
.cx__od { display: block; font-size: .8125rem; color: var(--cendre); font-weight: var(--w-light); margin-top: 3px; line-height: 1.45; }
.cx__op { font-size: .9375rem; font-weight: var(--w-med); color: var(--brume); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx__o:has(input:checked) .cx__op { color: var(--ambre); }

.cx__sum { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 18px; }
.cx__sumk {
  font-size: 11px; font-weight: var(--w-semi);
  letter-spacing: .18em; text-transform: uppercase; color: var(--cendre);
}
.cx__list { display: grid; gap: 7px; margin-top: 12px; max-height: 210px; overflow-y: auto; }
.cx__list li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .8125rem; font-weight: var(--w-light); color: var(--brume);
}
.cx__list li b { font-weight: var(--w-med); color: var(--blanc); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx__vide { color: var(--cendre) !important; font-style: italic; }
.cx__tot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .8125rem; color: var(--cendre);
  letter-spacing: .04em; text-transform: uppercase;
}
.cx__tot b { font-size: 1.75rem; font-weight: var(--w-reg); color: var(--blanc); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cx__jauge { margin-top: 10px; font-size: .8125rem; color: var(--ambre); }
.cx__jauge.ok { color: #4fd6b6; }

.cx__form { display: grid; gap: 12px; }
.cx__f { display: grid; gap: 5px; }
.cx__f label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cendre); }
.cx__f input, .cx__f textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  background: rgba(0,0,0,.45);
  color: var(--blanc);
  font: var(--w-light) .9375rem/1.5 var(--font);
  transition: border-color .3s var(--ease);
}
.cx__f textarea { resize: vertical; min-height: 66px; }
.cx__f input:focus, .cx__f textarea:focus { outline: 0; border-color: var(--iris); }
.cx__f input:user-invalid { border-color: #e0483d; }

.cx__err { font-size: .8125rem; color: #ff8b80; }
.cx__send {
  padding: 14px;
  border: 0; border-radius: 99px;
  background: var(--iris);
  color: var(--blanc);
  font: var(--w-med) .9375rem/1 var(--font);
  cursor: pointer;
  transition: background .3s var(--ease), opacity .3s;
}
.cx__send:hover:not(:disabled) { background: var(--iris-clair); }
.cx__send:disabled { opacity: .38; cursor: not-allowed; }
.cx__send:focus-visible { outline: 2px solid var(--ambre); outline-offset: 3px; }
.cx__legal { font-size: .75rem; color: var(--cendre); font-weight: var(--w-light); line-height: 1.5; }

.cx__ok { border: 1px solid rgba(21,132,110,.5); border-radius: 12px; padding: var(--s-24); background: rgba(21,132,110,.1); display: grid; gap: 10px; }
.cx__okt { font-size: 1.125rem; color: #4fd6b6; }
.cx__okd { font-size: .875rem; color: var(--brume); font-weight: var(--w-light); line-height: 1.55; }
.cx__again {
  justify-self: start;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 99px;
  background: none; color: var(--blanc);
  font: var(--w-light) .875rem/1 var(--font);
  cursor: pointer;
}
.cx__again:hover { border-color: var(--ambre); color: var(--ambre); }

@media (max-width: 900px) {
  .cx { width: 96vw; max-height: 94vh; }
  .cx__body { grid-template-columns: 1fr; overflow-y: auto; }
  .cx__cols { overflow: visible; padding: 18px var(--s-24) var(--s-24); }
  .cx__side { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); overflow: visible; }
  .cx__head { padding: var(--s-30) var(--s-24) 18px; }
  .cx__opts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .compo, .compo__go, .cx__o, .cx__send { transition: none; }
}

/* Une classe qui pose display: grid l'emporte sur l'attribut hidden :
   sans ceci, le formulaire et le message de confirmation s'affichent ensemble. */
.cx__form[hidden], .cx__ok[hidden] { display: none; }

/* Barre de total, téléphone uniquement */
.cx__bar { display: none; }
@media (max-width: 900px) {
  .cx[open] { grid-template-rows: auto 1fr auto; }
  .cx__bar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 14px var(--s-24);
    border-top: 1px solid rgba(255,255,255,.14);
    background: #0a0a0c;
    font-size: .8125rem;
    color: var(--cendre);
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .cx__bar b {
    font-size: 1.5rem;
    font-weight: var(--w-reg);
    color: var(--blanc);
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
  }
}

/* --------------------------------------------------------------------------
   20. FORMULES — cartes
   Reprend les règles de la section 12 : à spécificité égale, ce qui suit
   l'emporte. Avec seulement deux formules, des colonnes nues paraissaient
   vides à côté de la carte « Sur mesure ».
   -------------------------------------------------------------------------- */
.tiers {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: var(--s-30);
  margin-top: var(--s-60);
}

.tier {
  display: flex;
  flex-direction: column;
  padding: var(--s-36);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
  overflow: hidden;
  transition: transform .6s var(--ease), border-color .6s var(--ease), background .6s var(--ease);
}
.tier::before {
  left: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--iris), var(--iris-clair));
  transform: scaleX(0);
}
.tier:hover {
  transform: translateY(-6px);
  border-color: rgba(169,140,255,.4);
  background: rgba(255,255,255,.035);
}
.tier:hover::before { transform: scaleX(1); }

/* La formule la plus complète : repérable sans crier. */
.tier--top { border-color: rgba(169,140,255,.34); background: rgba(128,82,255,.05); }
.tier--top::before { transform: scaleX(1); background: linear-gradient(90deg, var(--iris), var(--ambre)); }
.tier--top .tier__tag { color: var(--ambre); }

.tier__tag {
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 99px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--iris-clair);
  background: rgba(0,0,0,.35);
}
.tier--top .tier__tag { border-color: rgba(255,184,41,.4); }

.tier__n {
  font-size: var(--t-2xs);
  font-weight: var(--w-reg);
  letter-spacing: -.03em;
  margin-top: var(--s-18, 18px);
}
.tier__d {
  margin-top: 8px;
  color: var(--brume);
  font-weight: var(--w-light);
  font-size: .9375rem;
  line-height: 1.6;
  min-height: 3.2em;
}

.tier__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--s-24);
  padding-top: var(--s-18, 18px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.tier__p {
  font-size: clamp(2.6rem, 4.2vw, 3.4rem);
  font-weight: var(--w-light);
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--blanc);
  font-variant-numeric: tabular-nums;
  transform: none;
}
.tier:hover .tier__p { transform: none; }
.tier--top .tier__p { color: var(--ambre); }
.tier__u { font-size: var(--t-cap); color: var(--cendre); font-weight: var(--w-light); }

.tier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}
.tier__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-cap);
  color: var(--cendre);
  font-weight: var(--w-light);
}
.tier__meta span::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--jade);
  flex: none;
}

.tier__l {
  display: grid;
  gap: 12px;
  margin-top: var(--s-24);
  padding-top: var(--s-24);
  border-top: 1px solid rgba(255,255,255,.08);
  flex: 1;
}
.tier__l li {
  display: flex;
  gap: 11px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--brume);
  font-weight: var(--w-light);
}
.tier--top .tier__l i { color: var(--ambre); }

.tier__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--s-30);
  padding: 15px 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px;
  color: var(--blanc);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: var(--w-med);
  transition: background .4s var(--ease), border-color .4s var(--ease), gap .4s var(--ease), color .4s var(--ease);
}
.tier__go i { font-style: normal; }
.tier__go:hover { background: var(--blanc); border-color: var(--blanc); color: var(--void); gap: 16px; }
.tier--top .tier__go { background: var(--iris); border-color: var(--iris); }
.tier--top .tier__go:hover { background: var(--iris-clair); border-color: var(--iris-clair); color: var(--blanc); }
.tier__go:focus-visible { outline: 2px solid var(--ambre); outline-offset: 3px; }

@media (max-width: 560px) {
  .tier { padding: var(--s-30); }
  .tier__d { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tier, .tier__go, .tier::before { transition: none; }
}

/* --------------------------------------------------------------------------
   21. FORMULES — bandes pleine largeur
   Une formule par ligne, sur toute la largeur, comme la carte « Sur mesure ».
   L'intérieur passe en deux colonnes : l'offre à gauche, les livrables à
   droite. Le placement se fait en CSS, le HTML garde son ordre de lecture.
   -------------------------------------------------------------------------- */
.tiers {
  grid-template-columns: 1fr;
  gap: var(--s-24);
}

.tier {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(270px, 360px) 1fr;
  grid-auto-rows: min-content;
  align-content: start;
  column-gap: var(--s-60);
  padding: var(--s-36) var(--s-36) var(--s-30);
}

/* Colonne de gauche : tout sauf la liste. */
.tier__tag,
.tier__n,
.tier__d,
.tier__price,
.tier__meta,
.tier__go { grid-column: 1; }

.tier__d { min-height: 0; max-width: 42ch; }
.tier__go { margin-top: var(--s-30); }

/* Colonne de droite : les livrables, sur toute la hauteur de la carte. */
.tier__l {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: stretch;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 13px var(--s-36);
  align-content: start;
  margin-top: 0;
  padding: 0 0 0 var(--s-36);
  border-top: 0;
  border-left: 1px solid rgba(255,255,255,.1);
}

/* Sous 1000 px, deux colonnes serrent trop : on empile. */
@media (max-width: 1000px) {
  .tier {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .tier__tag, .tier__n, .tier__d, .tier__price, .tier__meta, .tier__go { grid-column: 1; }
  .tier__l {
    grid-column: 1;
    grid-row: auto;
    margin-top: var(--s-24);
    padding: var(--s-24) 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  /* (le bouton vit maintenant dans .tier__main : plus rien à réordonner ici) */
}

/* En grille, align-self ne suffit plus : sans justify-self, le badge et le
   bouton s'étirent sur toute la largeur de la colonne. */
.tier__tag { justify-self: start; }
.tier__go { justify-self: start; padding-left: 30px; padding-right: 30px; }
@media (max-width: 560px) {
  .tier__go { justify-self: stretch; }
}

/* La colonne de gauche est désormais un bloc unique : sans ça, chacun de ses
   éléments occupait sa propre ligne de grille et s'écartait pour suivre la
   hauteur de la liste des livrables. */
.tier__main {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tier__main .tier__go { margin-top: auto; }
.tier__main .tier__meta { margin-bottom: var(--s-30); }

@media (max-width: 560px) {
  /* À 375 px, « Choisir cette formule » se coupait en deux lignes. */
  .tier__go { padding-left: 18px; padding-right: 18px; }
  .tier__go span { white-space: nowrap; }
}
