/* ============================================================
   Dochot Consulting — sections & composants
   ============================================================ */

/* ---------- filigrane technique (grille + circuit) ---------- */
.pattern-wm {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(10,91,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,91,255,.055) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(34,211,255,.10), transparent 42%),
    radial-gradient(circle at 84% 74%, rgba(10,91,255,.09), transparent 46%);
  background-size: 46px 46px, 46px 46px, 100% 100%, 100% 100%;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 78%);
}
.pattern-wm.dark {
  opacity: .6;
  background-image:
    linear-gradient(rgba(122,175,255,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,175,255,.075) 1px, transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(34,211,255,.16), transparent 44%),
    radial-gradient(circle at 88% 78%, rgba(10,91,255,.20), transparent 48%);
  background-size: 52px 52px, 52px 52px, 100% 100%, 100% 100%;
}

@keyframes fade-rise { to { opacity: 1; } }

/* ============================================================
   EN-TÊTE
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 16px 0;
}
/* --- barre : le fond suit la même ondulation que le trait -----------------
   Le fond blanc + le flou sont portés par un pseudo-élément masqué par la
   silhouette de la vague : plus aucun bord droit ne coupe la courbe.        */
.header::before {
  content: "";
  position: absolute;
  inset: 0 0 -17px 0;
  z-index: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 9c120 0 180 12 300 12S540 9 660 9s180 12 300 12 180-12 300-12 180 12 180 12V0H0Z' fill='%23000'/%3E%3C/svg%3E");
          mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 9c120 0 180 12 300 12S540 9 660 9s180 12 300 12 180-12 300-12 180 12 180 12V0H0Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% calc(100% - 30px), 100% 30px;
          mask-size: 100% calc(100% - 30px), 100% 30px;
  -webkit-mask-position: top left, bottom left;
          mask-position: top left, bottom left;
  -webkit-mask-repeat: no-repeat, no-repeat;
          mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-over;
          mask-composite: add;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.header.scrolled::before { opacity: 1; }

/* le trait dégradé, calé sur la même courbe */
.header__wave {
  position: absolute;
  left: 0; right: 0; bottom: -17px;
  height: 30px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(10,91,255,0) 0%,
    #0B1524 12%,
    #0A5BFF 42%,
    #1E74FF 62%,
    #22D3FF 86%,
    rgba(34,211,255,0) 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 9c120 0 180 12 300 12S540 9 660 9s180 12 300 12 180-12 300-12 180 12 180 12' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 9c120 0 180 12 300 12S540 9 660 9s180 12 300 12 180-12 300-12 180 12 180 12' fill='none' stroke='%23000' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity .35s var(--ease), clip-path 1.1s var(--ease);
}
.header.scrolled .header__wave {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .header__wave, .header::before { transition: none; }
}

/* le fond n'est plus porté par la barre elle-même : plus de rectangle visible */
.header.scrolled { padding: 8px 0; }

.header__row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo { display: flex; align-items: center; position: relative; }
.header__logo img {
  height: 86px;
  width: auto;
  transform-origin: left center;
  transition: height .4s var(--ease), transform .5s var(--ease);
  filter: drop-shadow(0 14px 26px rgba(10,91,255,.16));
}
.header.scrolled .header__logo img { height: 46px; filter: none; }
.header__logo:hover img { transform: rotate(-2deg) scale(1.02); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  padding: 4px 0;
}
/* soulignement dégradé au survol (équivalent du gribouillis) */
.nav a .scribble {
  position: absolute;
  left: 0; bottom: -7px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--grad-b);
  opacity: 0;
  transform: scaleX(.25);
  transform-origin: left;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.nav a:hover .scribble,
.nav a.active .scribble { opacity: 1; transform: scaleX(1); }
.nav a:hover { color: var(--blue); }

.header__cta { display: flex; align-items: center; gap: 16px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  padding: 8px;
}
.burger span {
  width: 26px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* tiroir mobile */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 360px);
  background: var(--ink);
  z-index: 99;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  gap: 4px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  padding: 13px 0;
  border-bottom: 1px solid rgba(234,242,251,.1);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.drawer a:hover { color: var(--cyan); padding-left: 8px; }
.scrim {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(6,13,24,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.scrim.open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 172px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FD 100%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: 40px;
}
.hero__copy, .hero__visual { min-width: 0; }
.hero__copy { padding-left: 6px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 6.2vw, 4.05rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0;
  animation: fade-rise 1s var(--ease) .2s forwards;
}
.hero__sub {
  margin: 26px 0 14px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 44ch;
  opacity: 0;
  animation: fade-rise 1s var(--ease) .42s forwards;
}
.hero__kicker {
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 100px;
  border: 1px solid rgba(10,91,255,.2);
  background: rgba(10,91,255,.05);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0;
  animation: fade-rise 1s var(--ease) .1s forwards;
}
.hero__kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34,211,255,.7);
  animation: ping 2.4s var(--ease-io) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,255,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(34,211,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,255,0); }
}
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 30px;
  opacity: 0;
  animation: fade-rise 1s var(--ease) .56s forwards;
}
.hero__tags span {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-2);
  padding: 6px 13px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid rgba(11,21,36,.09);
}
.hero__cta-wrap {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0;
  animation: fade-rise 1s var(--ease) .7s forwards;
}

/* --- visuel : fenêtre de code + glyphes flottants --- */
.hero__visual { position: relative; }
.hero__arrow {
  position: absolute;
  left: -76px; top: 44%;
  width: 88px;
  z-index: 3;
  color: var(--slate);
  opacity: 0;
  animation: fade-rise 1s var(--ease) .9s forwards;
}
.hero__window {
  position: relative;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 44px 90px -44px rgba(6,13,24,.75), 0 0 0 1px rgba(11,21,36,.08);
  opacity: 0;
  transform: translateY(40px);
  animation: window-up 1.2s var(--ease) .55s forwards;
}
@keyframes window-up { to { opacity: 1; transform: translateY(0); } }

.win__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #0F1B2E;
  border-bottom: 1px solid rgba(122,175,255,.1);
}
.win__dot { width: 11px; height: 11px; border-radius: 50%; }
.win__dot.r { background: #FF5F57; }
.win__dot.y { background: #FEBC2E; }
.win__dot.g { background: #28C840; }
.win__file {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--on-dark-2);
  letter-spacing: .02em;
}
.win__body {
  position: relative;
  padding: 22px 22px 26px;
  font-family: var(--mono);
  font-size: 0.79rem;
  line-height: 1.85;
  color: var(--on-dark-2);
  min-height: 250px;
  overflow-x: auto;
}
.win__body .ln { display: block; white-space: pre; }
.win__body .kw { color: #6FB1FF; }
.win__body .fn { color: var(--cyan); }
.win__body .st { color: #9FE8B4; }
.win__body .cm { color: #56708F; font-style: italic; }
.win__caret {
  display: inline-block;
  width: 8px; height: 1.05em;
  vertical-align: -2px;
  background: var(--cyan);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ligne de scan qui balaie la fenêtre */
.win__scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 130px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(34,211,255,.07) 55%, transparent);
  animation: scan 5.5s var(--ease-io) infinite;
}
@keyframes scan {
  0%   { transform: translateY(-140px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(320px); opacity: 0; }
}

.win__status {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 11px 18px;
  background: #0A1424;
  border-top: 1px solid rgba(122,175,255,.1);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--on-dark-2);
  letter-spacing: .04em;
}
.win__status .ok { color: #6FE3A0; display: inline-flex; align-items: center; gap: 7px; }
.win__status .ok::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #6FE3A0; box-shadow: 0 0 8px #6FE3A0;
}

/* glyphes tech flottants (équivalent des fruits) */
.hero__glyph {
  position: absolute;
  z-index: 3;
  font-size: 0;
  filter: drop-shadow(0 12px 22px rgba(6,13,24,.16));
}
.hero__glyph.chevrons { width: 86px; left: -11%; bottom: -13%; --r: -6deg; }
.hero__glyph.node     { width: 66px; left: -10%; top: 12%;   --r: 5deg;  animation-delay: 1.4s; }
.hero__glyph.wifi     { width: 66px; right: -9%; bottom: -12%; --r: 8deg;  animation-delay: .7s; }
.hero__glyph.chip     { width: 80px; right: -6%; top: -6%;   --r: -4deg; animation-delay: 2s; }

/* ============================================================
   BORD BISEAUTÉ des sections sombres (équivalent papier déchiré)
   ============================================================ */
.torn {
  position: absolute; left: 0; width: 100%;
  z-index: 3; line-height: 0;
}
.torn svg { width: 100%; height: 62px; display: block; }
.torn.top { top: -1px; }
.torn.bottom { bottom: -1px; transform: scaleY(-1); }

/* ============================================================
   SERVICES (section sombre)
   ============================================================ */
.services {
  position: relative;
  background: var(--services-bg, var(--ink));
  color: var(--on-dark);
  padding: 138px 0 132px;
  overflow: hidden;
}
.services .blob { opacity: .3; }
.services__head {
  position: relative; z-index: 2;
  max-width: 620px;
  margin-bottom: 62px;
}
.services__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc {
  position: relative;
  padding: 34px 30px 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.032);
  border: 1px solid rgba(122,175,255,.13);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
/* liseré dégradé qui se révèle au survol */
.svc::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 3px; width: 100%;
  background: var(--grad-b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
/* halo qui s'allume derrière la carte survolée */
.svc::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  background: radial-gradient(420px circle at 50% 0%, rgba(34,211,255,.16), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.svc:hover, .svc:focus-within {
  transform: translateY(-10px) scale(1.045);
  background: rgba(255,255,255,.06);
  border-color: rgba(34,211,255,.42);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(34,211,255,.16);
  z-index: 4;
}
.svc:hover::after, .svc:focus-within::after { transform: scaleX(1); }
.svc:hover::before, .svc:focus-within::before { opacity: 1; }

/* le contenu suit le mouvement */
.svc__label, .svc h3, .svc p, .svc__price { transition: transform .5s var(--ease), color .4s var(--ease); }
.svc:hover h3 { color: #fff; }
.svc:hover .svc__label { color: var(--cyan-soft); }
.svc__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(10,91,255,.16);
  border: 1px solid rgba(34,211,255,.24);
  color: var(--cyan);
  margin-bottom: 20px;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.svc:hover .svc__icon, .svc:focus-within .svc__icon {
  transform: translateY(-3px) scale(1.12) rotate(-6deg);
  background: rgba(10,91,255,.28);
  border-color: rgba(34,211,255,.5);
  box-shadow: 0 12px 26px -12px rgba(34,211,255,.6);
}
.svc__icon svg { width: 25px; height: 25px; }
.svc__label {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}
.svc h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.015em;
  color: var(--on-dark);
  margin: 9px 0 12px;
  line-height: 1.25;
}
.svc p {
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--on-dark-2);
}
.svc__price {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed rgba(122,175,255,.2);
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  color: #fff;
}
.svc__price small {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

/* ============================================================
   RÉALISATIONS — boucle « porte-clés » qui défile en continu
   ============================================================ */
.work {
  position: relative;
  background: var(--cream);
  padding: 124px 0 130px;
  overflow: hidden;
}
.work__head {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.work__head > * { min-width: 0; }
.work__text .lead { max-width: 54ch; }

/* --- la tringle à laquelle les porte-clés sont suspendus --- */
.keyring {
  position: relative;
  z-index: 2;
  display: flex;
  padding-top: 6px;
  overflow: hidden;
  /* les bords s'estompent : la boucle n'a ni début ni fin visible */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.keyring__rail {
  position: absolute;
  left: 0; right: 0; top: 11px;
  height: 7px;
  border-radius: 5px;
  background: linear-gradient(180deg,
    #EAF2FB 0%, #C9D8EA 22%, #93ACC9 52%, #5E7797 78%, #7C93B0 100%);
  box-shadow: 0 4px 10px -3px rgba(11,21,36,.32), inset 0 1px 0 rgba(255,255,255,.7);
  z-index: 3;
}
/* ombre de la tringle projetée sur le fond : la barre semble suspendue */
.keyring__rail::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 11px;
  height: 12px;
  background: linear-gradient(180deg, rgba(11,21,36,.09), transparent);
  filter: blur(3px);
}

.keyring__track {
  display: flex;
  flex: 0 0 auto;
  gap: 26px;
  padding: 0 13px;
  animation: keyloop 46s linear infinite;
  will-change: transform;
}
@keyframes keyloop { to { transform: translateX(-100%); } }

/* la boucle s'arrête quand on veut lire une fiche */
.keyring:hover .keyring__track,
.keyring:focus-within .keyring__track,
.keyring:hover .keytag,
.keyring:focus-within .keytag { animation-play-state: paused; }

/* --- une fiche suspendue --- */
.keytag {
  position: relative;
  flex: 0 0 auto;
  width: 268px;
  margin: 0;
  padding-top: 44px;
  transform-origin: 50% 13px;
  animation: sway 6.5s var(--ease-io) infinite;
  animation-delay: var(--sway, 0s);
  will-change: transform;
}
@keyframes sway {
  0%,100% { transform: rotate(-1.6deg); }
  50%     { transform: rotate(1.6deg); }
}
.keytag__ring {
  position: absolute;
  left: 50%; top: -2px;
  width: 34px; height: 50px;
  margin-left: -17px;
  z-index: 2;
  filter: drop-shadow(0 3px 4px rgba(11,21,36,.32));
}
.keytag__ring svg { width: 100%; height: 100%; display: block; }

.keytag__body {
  position: relative;
  background: linear-gradient(168deg, #FFFFFF 0%, #FFFFFF 58%, #F4F8FD 100%);
  border: 1px solid rgba(11,21,36,.08);
  border-radius: 14px;
  padding: 18px 16px 18px;
  box-shadow:
    0 22px 44px -24px rgba(11,21,36,.42),
    inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
/* liseré dégradé qui se déploie sur le bord haut au survol */
.keytag__body::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--grad-b);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s var(--ease);
}
.keytag:hover .keytag__body::after { transform: scaleX(1); }
/* l'œillet où passe l'anneau */
.keytag__body::before {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 17px; height: 7px;
  margin-left: -8.5px;
  border-radius: 4px;
  background: linear-gradient(180deg, #9FB4CC, #E7EFF8);
  box-shadow:
    inset 0 1.5px 2px rgba(11,21,36,.45),
    0 1px 0 rgba(255,255,255,.9);
}
.keytag:hover .keytag__body {
  transform: translateY(-7px) scale(1.035);
  box-shadow:
    0 36px 60px -22px rgba(11,21,36,.5),
    0 0 0 1px rgba(10,91,255,.18),
    inset 0 1px 0 rgba(255,255,255,.9);
  border-color: rgba(10,91,255,.32);
}
.keytag__screen {
  position: relative;
  margin-top: 12px;
  height: 132px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(122,175,255,.16);
}
.keytag__gloss {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(118deg,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.05) 26%,
    transparent 46%);
}
.keytag__screen svg { width: 100%; height: 100%; display: block; }
.keytag h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 14px;
  line-height: 1.25;
}
.keytag p {
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-2);
}
.keytag__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
  background: rgba(10,91,255,.07);
  border: 1px solid rgba(10,91,255,.16);
  border-radius: 4px;
  padding: 5px 10px;
}
.keytag__label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--teinte, var(--blue));
}

/* ============================================================
   TROUSSEAU — progression, crans et récompense
   ============================================================ */
.trousseau {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.trousseau__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trousseau__hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-2);
}
.trousseau__hint svg { width: 17px; height: 17px; color: var(--blue); flex: 0 0 auto; }
.trousseau__count {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.trousseau__count b {
  font-size: 1.35rem;
  background: var(--grad-b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trousseau__count span { color: var(--text-mute); font-weight: 400; }

/* les six crans, dessinés comme les pixels du logo */
.trousseau__pips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.trousseau__pips i {
  width: 13px; height: 13px;
  border-radius: 3px;
  background: rgba(11,21,36,.09);
  box-shadow: inset 0 0 0 1px rgba(11,21,36,.06);
  transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.trousseau__pips i.on {
  background: var(--grad-b);
  box-shadow: 0 4px 12px -4px rgba(34,211,255,.7);
  animation: pip-pop .5s var(--ease);
}
@keyframes pip-pop {
  0%   { transform: scale(.5) rotate(-25deg); }
  55%  { transform: scale(1.45) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

.trousseau__bar {
  margin-top: 16px;
  height: 4px;
  border-radius: 4px;
  background: rgba(11,21,36,.08);
  overflow: hidden;
}
.trousseau__bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: var(--grad-b);
  transition: width .65s var(--ease);
}

/* panneau de récompense, une fois les six étiquettes décrochées */
/* `display: grid` écraserait l'attribut hidden : on le neutralise explicitement */
.trousseau__reward[hidden] { display: none; }
.trousseau__reward {
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 14px;
  text-align: left;
  background: linear-gradient(150deg, var(--ink) 0%, #10203A 100%);
  color: var(--on-dark);
  box-shadow: 0 32px 60px -34px rgba(6,13,24,.7);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  animation: reward-in .7s var(--ease) both;
}
@keyframes reward-in {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.trousseau__medal {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,91,255,.22);
  border: 1px solid rgba(34,211,255,.35);
  color: var(--cyan);
}
.trousseau__medal svg { width: 26px; height: 26px; }
.trousseau__done-t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.015em;
  color: #fff;
}
.trousseau__done-s {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--on-dark-2);
}
.trousseau__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.trousseau__reset {
  background: none; border: none;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
}
.trousseau__reset:hover { color: var(--cyan); }

/* --- le cran de l'étiquette --- */
.keytag__notch {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 4;
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid; place-items: center;
  background: #F1F5FA;
  box-shadow: inset 0 0 0 1.5px rgba(11,21,36,.1);
  color: transparent;
  transition: background .4s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.keytag__notch svg { width: 14px; height: 14px; }
/* onde de déblocage */
.keytag__notch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 7px;
  border: 2px solid var(--cyan);
  opacity: 0;
}
.keytag.is-found .keytag__notch {
  background: var(--grad-b);
  box-shadow: 0 6px 16px -6px rgba(34,211,255,.8);
  color: #04101f;
  transform: scale(1.06);
}
.keytag.is-found .keytag__notch::after { animation: notch-burst .7s var(--ease) forwards; }
@keyframes notch-burst {
  0%   { opacity: .9; transform: scale(1); }
  100% { opacity: 0;  transform: scale(2.5); }
}

/* --- le bandeau de preuve, révélé au déblocage --- */
.keytag__proof {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 9px 12px 10px;
  font-size: 0.71rem;
  line-height: 1.35;
  font-weight: 400;
  color: #04101f;
  background: var(--grad-b);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.keytag.is-found .keytag__proof { transform: translateY(0); }

/* --- la zone cliquable --- */
.keytag__pick {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 14px;
}
.keytag__pick:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.keytag.is-found .keytag__pick { cursor: default; }

/* l'étiquette décrochée reste distinguée */
.keytag.is-found .keytag__body {
  border-color: rgba(10,91,255,.28);
  box-shadow:
    0 26px 48px -24px rgba(11,21,36,.45),
    0 0 0 1px rgba(34,211,255,.2),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.keytag.is-found .keytag__body::after { transform: scaleX(1); }

@media (max-width: 620px) {
  .trousseau { margin-bottom: 30px; }
  .trousseau__hint { font-size: 0.72rem; letter-spacing: .06em; }
  .trousseau__reward { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 20px; }
  .trousseau__actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .trousseau__pips i.on, .keytag.is-found .keytag__notch::after, .trousseau__reward { animation: none; }
  .keytag__track { animation: none; }
  .keyring__track { animation: none; }
  .keytag { animation: none; transform: none; }
  .keyring {
    overflow-x: auto;
    -webkit-mask-image: none; mask-image: none;
  }
  .keyring__track:last-child { display: none; }
}

/* ============================================================
   MÉTHODE — terminal + étapes (équivalent section vidéo)
   ============================================================ */
.method {
  position: relative;
  background: var(--cream-2);
  padding: 120px 0;
  overflow: hidden;
}
.method__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 58px;
  align-items: center;
}
.method__grid > * { min-width: 0; }
.terminal {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 40px 78px -40px rgba(6,13,24,.7), 0 0 0 1px rgba(11,21,36,.07);
}
.terminal .win__bar { background: #0C1727; }
.term__body {
  padding: 24px 24px 28px;
  font-family: var(--mono);
  font-size: 0.79rem;
  line-height: 2;
  color: var(--on-dark-2);
  min-height: 300px;
  overflow-x: auto;
}
.term__body .p { color: var(--cyan); }
.term__body .out { color: #7D93AE; }
.term__body .ok { color: #6FE3A0; }
.term__line { display: block; white-space: pre-wrap; }

.steps { display: grid; gap: 4px; margin-top: 32px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(11,21,36,.08);
}
.step:last-child { border-bottom: none; }
.step__n {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(10,91,255,.28);
  background: rgba(10,91,255,.05);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--blue);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.step:hover .step__n { background: var(--grad-b); color: #04101f; border-color: transparent; }
.step h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.step p {
  margin-top: 5px;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-2);
}

/* ============================================================
   GARANTIES (section sombre) — badges numérotés
   ============================================================ */
.values {
  position: relative;
  background: var(--ink-2);
  color: var(--on-dark);
  padding: 118px 0 126px;
  overflow: hidden;
}
.values__head { text-align: center; margin-bottom: 74px; position: relative; z-index: 2; }
.values__head .uline { margin: 16px auto 0; }
.values__head .lead { margin: 22px auto 0; text-align: center; color: var(--on-dark-2); }
.values__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.value {
  position: relative;
  text-align: center;
  padding: 8px 30px 0;
}
/* séparateur pointillé entre colonnes */
.value::after {
  content: "";
  position: absolute;
  top: 14px; right: 0;
  width: 1px; height: 170px;
  background-image: linear-gradient(rgba(34,211,255,.85) 55%, transparent 0);
  background-size: 1px 13px;
  opacity: .28;
}
.value:last-child::after { display: none; }

.value__badge {
  position: relative;
  width: 104px; height: 104px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
}
.value__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(34,211,255,.55);
  border-radius: 50%;
  background: rgba(10,91,255,.08);
}
.value__badge::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(34,211,255,.35);
  border-radius: 50%;
  animation: orbit 26s linear infinite;
}
@keyframes orbit { to { transform: rotate(360deg); } }
.value__num {
  position: absolute;
  top: -6px; right: 2px;
  z-index: 3;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-b);
  color: #04101f;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
  box-shadow: 0 6px 18px -6px rgba(34,211,255,.7);
}
.value__icon {
  position: relative; z-index: 2;
  width: 48px; height: 48px;
  color: var(--cyan);
}
.value__icon svg { width: 100%; height: 100%; }
.value h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}
.value p { font-size: 0.9rem; line-height: 1.65; color: var(--on-dark-2); max-width: 24ch; margin: 0 auto; }

/* tracé animé des icônes */
.value__icon path, .value__icon line, .value__icon circle, .value__icon polyline, .value__icon rect {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.3s var(--ease);
}
.values.in .value__icon path,
.values.in .value__icon line,
.values.in .value__icon circle,
.values.in .value__icon polyline,
.values.in .value__icon rect { stroke-dashoffset: 0; }

/* bandeau de chiffres */
.stats {
  position: relative; z-index: 2;
  margin-top: 80px;
  padding-top: 44px;
  border-top: 1px solid rgba(122,175,255,.13);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__v {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__l {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--on-dark-2);
  max-width: 20ch;
  margin-left: auto; margin-right: auto;
}

/* ============================================================
   TARIFS — mosaïque asymétrique (équivalent galerie événements)
   ============================================================ */
.pricing {
  position: relative;
  background: var(--cream);
  padding: 118px 0 126px;
  overflow: hidden;
}
.pricing__head {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 660px;
  margin: 0 auto 62px;
}
.pricing__head .uline { margin: 16px auto 0; }
.pricing__head .lead { margin: 24px auto 0; text-align: center; }

/* carrés en escalier — le motif « pixels » du logo, décliné de part et d'autre du titre */
.pricing__head::before,
.pricing__head::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 22px; height: 22px;
  border-radius: 5px;
  animation: pixel-in 1.2s var(--ease) both;
}
.pricing__head::before {
  top: -10px; left: 0.5%;
  background: var(--blue);
  box-shadow:
     32px  32px 0 -1px var(--ink),
     64px  64px 0 -3px var(--cyan),
     -8px  58px 0 -4px var(--blue-3),
     34px 102px 0 -6px var(--blue-2),
     72px 132px 0 -8px var(--slate);
}
.pricing__head::after {
  top: -10px; right: 0.5%;
  background: var(--ink);
  animation-delay: .12s;
  box-shadow:
    -32px  32px 0 -1px var(--blue),
    -64px  64px 0 -3px var(--cyan),
      8px  58px 0 -4px var(--blue-3),
    -34px 102px 0 -6px var(--blue-2),
    -72px 132px 0 -8px var(--slate);
}
@keyframes pixel-in {
  from { opacity: 0; transform: translate(-8px, -8px); }
  to   { opacity: 1; transform: none; }
}

.pricing__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a a b b"
    "a a c d"
    "note note e e";
  gap: 22px;
}
.pr {
  position: relative;
  margin: 0;
  padding: 28px 28px 26px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(11,21,36,.09);
  box-shadow: 0 20px 42px -26px rgba(11,21,36,.3);
  transform: rotate(var(--r, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.pr--a { grid-area: a; }
.pr--b { grid-area: b; }
.pr--c { grid-area: c; }
.pr--d { grid-area: d; }
.pr--e { grid-area: e; }
.pr--note { grid-area: note; }
.pr:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 36px 60px -28px rgba(11,21,36,.4);
  border-color: rgba(10,91,255,.3);
  z-index: 5;
}
.pr__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pr__price {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.05rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.pr__unit {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 400;
  display: block;
  margin-bottom: 2px;
}
.pr__note {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-2);
}
.pr__list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.pr__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text-2);
}
.pr__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 13px; height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  border-radius: 1px;
}
/* carte mise en avant */
.pr--hl {
  background: linear-gradient(160deg, #FFFFFF 0%, #F1F7FF 100%);
  border-color: rgba(10,91,255,.28);
}
.pr--hl::before {
  content: "Le plus demandé";
  position: absolute;
  top: 18px; right: 18px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #04101f;
  background: var(--grad-b);
  border-radius: 100px;
  padding: 5px 12px;
}
.pr--hl .pr__price { background: var(--grad-b); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* carte note sombre */
.pr--note {
  background: var(--ink);
  border-color: transparent;
  color: var(--on-dark);
  justify-content: center;
  padding: 32px 36px;
  overflow: hidden;
}
.pr--note::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,255,.24), transparent 68%);
  pointer-events: none;
}
.pr--note .pr__hand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}
.pr--note .pr__hand em { font-style: normal; background: var(--grad-b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr--note .pr__sub {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--on-dark-2);
  max-width: 36ch;
}
.pr--note .btn { margin-top: 22px; width: fit-content; }

@media (max-width: 980px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a a"
      "b c"
      "d e"
      "note note";
    gap: 18px;
  }
}
@media (max-width: 620px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e" "note";
    gap: 16px;
  }
  .pr { transform: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  position: relative;
  background: var(--cream-2);
  padding: 112px 0 118px;
  overflow: hidden;
}
.faq__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.faq__list { display: grid; gap: 0; }
.qa {
  border-bottom: 1px solid rgba(11,21,36,.1);
}
.qa:first-child { border-top: 1px solid rgba(11,21,36,.1); }
.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.qa__q:hover { color: var(--blue); }
.qa__ic {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(10,91,255,.3);
  display: grid; place-items: center;
  position: relative;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.qa__ic::before, .qa__ic::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.qa__ic::before { width: 11px; height: 1.8px; }
.qa__ic::after  { width: 1.8px; height: 11px; }
.qa.open .qa__ic { background: var(--grad-b); border-color: transparent; transform: rotate(90deg); }
.qa.open .qa__ic::before, .qa.open .qa__ic::after { background: #04101f; }
.qa.open .qa__ic::after { transform: scaleY(0); }
.qa__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s var(--ease);
}
.qa__a > div {
  padding: 0 46px 24px 4px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-2);
}

/* ============================================================
   CONTACT — bande sombre, coordonnées en tuiles, formulaire vitré
   ============================================================ */
.contact {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: 150px 0 148px;
  overflow: hidden;
}
.contact .blob { opacity: .26; }
.contact__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: start;
}
.contact__grid > * { min-width: 0; }
.contact__side .lead { color: var(--on-dark-2); margin-top: 24px; }

/* coordonnées : une tuile par canal */
.contact__tiles {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ctile {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(122,175,255,.14);
  overflow: hidden;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
a.ctile:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(34,211,255,.4);
  transform: translateY(-3px);
}
.ctile__ic {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(10,91,255,.2);
  border: 1px solid rgba(34,211,255,.22);
  color: var(--cyan);
  transition: transform .4s var(--ease);
}
a.ctile:hover .ctile__ic { transform: scale(1.08) rotate(-5deg); }
.ctile__ic svg { width: 16px; height: 16px; }
.ctile__k {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.ctile__v {
  display: block;
  margin-top: 4px;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--on-dark);
  overflow-wrap: anywhere;
}
.ctile--wide { grid-column: 1 / -1; }

/* panneau du formulaire : bordure dégradée + fond vitré */
.contact__panel {
  position: relative;
  border-radius: 16px;
  padding: 38px 38px 34px;
  background:
    linear-gradient(rgba(9,17,30,.92), rgba(9,17,30,.92)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 46px 90px -46px rgba(0,0,0,.9);
  display: grid;
  gap: 14px;
}
.contact__panel::before {
  content: "";
  position: absolute;
  right: -1px; top: -1px;
  width: 220px; height: 220px;
  border-radius: 0 16px 0 0;
  background: radial-gradient(circle at 100% 0%, rgba(34,211,255,.16), transparent 70%);
  pointer-events: none;
}
.contact__panel > * { position: relative; z-index: 2; }
.panel__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.panel__head h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  color: #fff;
}
.panel__head .tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: .06em;
  color: #6FE3A0;
  display: inline-flex; align-items: center; gap: 7px;
}
.panel__head .tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #6FE3A0; box-shadow: 0 0 8px #6FE3A0;
}
.panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel__row > * { min-width: 0; }

.contact__panel .field input,
.contact__panel .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  color: var(--on-dark);
  background: rgba(255,255,255,.045);
  border: 1.5px solid rgba(122,175,255,.16);
  border-radius: 8px;
  padding: 15px 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.contact__panel .field textarea { resize: vertical; min-height: 124px; }
.contact__panel .field input::placeholder,
.contact__panel .field textarea::placeholder { color: #6A82A0; }
.contact__panel .field input:focus,
.contact__panel .field textarea:focus {
  outline: none;
  background: rgba(255,255,255,.075);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34,211,255,.14);
}
.contact__panel .btn { width: fit-content; margin-top: 4px; }
.contact__panel .btn--cta { background: var(--grad-b); color: #04101f; }
.contact__panel .btn--cta::before { background: #fff; }
.contact__panel .btn--cta:hover { color: var(--ink); box-shadow: 0 16px 34px -14px rgba(34,211,255,.7); }
.contact__ok {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--cyan);
}
.contact__panel .lead { color: var(--on-dark-2); }
.form-note {
  font-size: 0.74rem;
  line-height: 1.55;
  color: #6A82A0;
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.footer {
  position: relative;
  background: var(--cream);
  padding: 30px 0 40px;
}
.footer__top {
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer__brand img { width: 210px; height: auto; }
.footer__brand p {
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 30ch;
}
.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
}
.footer__col a, .footer__col span.li {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.footer__col a:hover { color: var(--blue); padding-left: 5px; }
.socials { display: flex; gap: 12px; margin-top: 4px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  padding: 0;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.socials a:hover { transform: translateY(-3px); background: var(--grad-b); color: #04101f; padding-left: 0; }
.footer__bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(11,21,36,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-mute);
  font-weight: 300;
}
.footer__bottom .chev { color: var(--blue); font-family: var(--mono); }

/* barre d'action mobile */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(11,21,36,.09);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.actionbar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.actionbar .ab--call { background: var(--ink); color: #fff; }
.actionbar .ab--mail { background: rgba(10,91,255,.08); color: var(--blue); border: 1px solid rgba(10,91,255,.22); }
.actionbar svg { width: 16px; height: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  .hero { padding: 148px 0 84px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: 2; }
  .hero__arrow { display: none; }
  .hero__copy { text-align: center; }
  .hero__sub, .lead { margin-left: auto; margin-right: auto; }
  .hero__tags, .hero__cta-wrap { justify-content: center; }
  .work__head, .method__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__grid { gap: 46px; }
  .work__head { align-items: start; margin-bottom: 48px; }
  .terminal { order: 2; }
  .keytag { width: 246px; }
  .values__grid { grid-template-columns: 1fr 1fr; gap: 56px 24px; }
  .value { padding: 0 12px; }
  .value::after { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer { padding-bottom: 100px; }
  .actionbar { display: flex; }
}
@media (max-width: 620px) {
  .container { padding: 0 22px; }
  .services { padding: 110px 0 104px; }
  .services__grid { grid-template-columns: 1fr; }
  .keytag { width: 224px; }
  .keytag__screen { height: 112px; }
  .keyring__track { gap: 18px; animation-duration: 34s; }
  .contact { padding: 104px 0 100px; }
  .contact__panel { padding: 26px 22px 24px; border-radius: 13px; }
  .contact__tiles, .panel__row { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .win__body { font-size: 0.66rem; padding: 16px 14px 18px; min-height: 210px; }
  .term__body { font-size: 0.66rem; padding: 16px 14px 20px; min-height: 240px; }
  .win__status { font-size: 0.6rem; padding: 9px 12px; }
  .win__file { font-size: 0.66rem; }
  .hero__glyph.chevrons { width: 62px; left: -4%;  bottom: -8%; }
  .hero__glyph.node     { width: 50px; left: -3%;  top: 6%; }
  .hero__glyph.wifi     { width: 50px; right: -3%; bottom: -7%; }
  .hero__glyph.chip     { width: 58px; right: -4%; top: -5%; }
}
