@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════
   04 — COMPOSANTS
   Boutons, curseur, rideau d'intro, marquee, maquette
   navigateur, jauge, accordéon, pastilles.
   ═══════════════════════════════════════════════════════════ */

/* ══ BOUTONS ════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding-inline: 20px;
  border-radius: 99px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--t) var(--ease), box-shadow var(--t) var(--ease),
              translate var(--t) var(--ease), background var(--t) var(--ease);
  will-change: transform;
}
.btn > span, .btn > .ico { position: relative; z-index: 2; }
.btn .ico { width: 17px; height: 17px; transition: translate var(--t) var(--ease); }
.btn:hover .ico { translate: 3px 0; }

.btn--lg { height: 54px; padding-inline: 28px; font-size: .95rem; }
.btn--block { width: 100%; }

/* Plein — encre */
.btn--solid { background: var(--ink); color: #fff; box-shadow: var(--sh-sm); }
.btn--solid::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-deep) 100%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.btn--solid:hover { box-shadow: 0 10px 26px -10px var(--accent-glow), 0 3px 8px -3px rgba(11,11,16,.2); }
.btn--solid:hover::before { opacity: 1; }

/* Inversé — sur fond sombre */
.btn--invert { background: #fff; color: var(--ink); }
.btn--invert::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-deep) 100%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.btn--invert:hover { color: #fff; box-shadow: 0 12px 32px -12px var(--accent-glow); }
.btn--invert:hover::before { opacity: 1; }

/* Contour — sur fond clair */
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); background: var(--bg); translate: 0 -1px; }

/* Contour — sur fond sombre */
.btn--lineLight { color: #fff; box-shadow: inset 0 0 0 1px var(--line-light-2); }
.btn--lineLight:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

/* Fantôme */
.btn--ghost { color: var(--gray-700); }
.btn--ghost:hover { color: var(--ink); background: var(--gray-100); }

.btn:active { translate: 0 1px; }


/* ══ RIDEAU D'INTRO ═════════════════════════════════════ */
.intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  background: var(--bg);
  display: grid;
  place-content: center;
  gap: 26px;
  justify-items: center;
  transition: clip-path .9s var(--ease-out), visibility 0s .9s;
  clip-path: inset(0 0 0 0);
}
.intro.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.intro__inner { display: flex; align-items: center; gap: 12px; }
.intro__mark {
  width: 34px; height: 34px;
  animation: intro-mark .9s var(--ease-out) both;
}
.intro__label {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--ink);
  overflow: hidden;
  animation: intro-label .9s var(--ease-out) .08s both;
}
.intro__bar {
  width: 148px; height: 2px;
  border-radius: 99px;
  background: var(--gray-200);
  overflow: hidden;
}
.intro__bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left;
  scale: 0 1;
  animation: intro-bar 1.05s var(--ease-io) .12s forwards;
}
body.no-intro .intro { display: none; }


/* ══ PROGRESSION DE LECTURE ═════════════════════════════ */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: calc(var(--z-header) + 1);
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  scale: 0 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}


/* ══ CURSEUR SUR-MESURE ═════════════════════════════════ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cursor.is-live { opacity: 1; }
.cursor__dot, .cursor__ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 99px;
  translate: -50% -50%;
}
.cursor__dot {
  width: 5px; height: 5px;
  background: var(--ink);
}
.cursor__ring {
  width: 30px; height: 30px;
  box-shadow: inset 0 0 0 1.2px var(--line-2);
  transition: width .28s var(--ease), height .28s var(--ease),
              box-shadow .28s var(--ease), background .28s var(--ease);
}
.cursor.is-hot .cursor__ring {
  width: 48px; height: 48px;
  box-shadow: inset 0 0 0 1.2px var(--accent);
  background: var(--accent-glow);
}
.cursor.is-hot .cursor__dot { opacity: 0; }


/* ══ MARQUEE LOGOS ══════════════════════════════════════ */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
  padding-inline: clamp(22px, 3vw, 42px);
}
/* Les fichiers sont détourés au plus juste : la hauteur imposée
   ici est donc celle du logo lui-même, pas d'un carré à moitié
   vide. `max-width` plafonne les logos très allongés pour qu'ils
   ne dominent pas les autres — `object-fit` évite alors toute
   déformation. */
.marquee__group img {
  height: clamp(30px, 3.8vw, 44px);
  width: auto;
  max-width: clamp(120px, 15vw, 168px);
  object-fit: contain;
  filter: grayscale(1) contrast(.05) brightness(1.55);
  opacity: .82;
  transition: filter .45s var(--ease), opacity .45s var(--ease), scale .45s var(--ease);
}
.marquee__group img:hover {
  filter: grayscale(0) contrast(1) brightness(1);
  opacity: 1;
  scale: 1.06;
}


/* ══ MAQUETTE NAVIGATEUR ════════════════════════════════ */
.browser {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--sh-xl);
  overflow: hidden;
  will-change: transform;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding-inline: 16px;
  background: var(--bg-sunken);
  box-shadow: 0 1px 0 var(--line);
}
.browser__dots { display: flex; gap: 6px; flex: none; }
.browser__dots i { width: 9px; height: 9px; border-radius: 99px; background: var(--gray-300); }
.browser__dots i:first-child { background: #FF5F57; }
.browser__dots i:nth-child(2) { background: #FEBC2E; }
.browser__dots i:last-child { background: #28C840; }

.browser__url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  max-width: 260px;
  margin-inline: auto;
  padding: 5px 14px;
  border-radius: 99px;
  background: var(--bg);
  box-shadow: var(--hairline);
  color: var(--gray-600);
  text-transform: none;
  letter-spacing: .01em;
  justify-content: center;
}
.browser__url .ico { color: var(--ok); width: 12px; height: 12px; }
.browser__meta {
  flex: none;
  color: var(--ok);
  letter-spacing: .05em;
  text-transform: none;
}

.browser__view {
  position: relative;
  aspect-ratio: 16 / 9.6;
  background: #fff;
  overflow: hidden;
}

/* ── contenu du site de démonstration ── */
.site {
  position: absolute;
  inset: 0;
  padding: clamp(14px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 22px);
  background:
    radial-gradient(120% 100% at 100% 0%, #FFF7F1 0%, transparent 52%),
    #fff;
}

/* barre de nav du faux site */
.site__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: clamp(10px, 1.4vw, 16px);
  box-shadow: 0 1px 0 var(--line);
}
.site__logo { width: 78px; height: 11px; border-radius: 3px; background: var(--ink); opacity: .85; }
.site__links { display: flex; gap: 12px; }
.site__links i { width: 34px; height: 7px; border-radius: 3px; background: var(--gray-200); }
.site__btn { width: 66px; height: 22px; border-radius: 99px; background: var(--accent); }

/* héros du faux site */
.site__hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  flex: 1;
}
.site__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(7px, 1vw, 12px); }
.site__tag {
  font-size: clamp(.5rem, .8vw, .62rem);
  letter-spacing: .14em;
  color: var(--accent-text);
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--accent-tint);
}
.site__h {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 2.35vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 600;
  color: var(--ink);
}
.site__p {
  font-size: clamp(.56rem, 1.05vw, .8rem);
  line-height: 1.5;
  color: var(--gray-600);
  max-width: 26ch;
}
.site__cta {
  margin-top: 3px;
  padding: clamp(6px, .9vw, 10px) clamp(12px, 1.7vw, 20px);
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(.52rem, .95vw, .72rem);
  font-weight: 500;
}

.site__visual { position: relative; height: 100%; min-height: 96px; }
.site__photo {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background:
    radial-gradient(90% 80% at 22% 18%, rgba(255,255,255,.5), transparent 60%),
    linear-gradient(155deg, #E9F3EA 0%, #CFE4D4 42%, #A9CDB6 100%);
  box-shadow: var(--hairline), 0 12px 26px -14px rgba(11,11,16,.28);
  overflow: hidden;
}
.site__photo::after {
  content: '';
  position: absolute;
  inset: -30% -10% auto auto;
  width: 74%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.6), transparent 62%);
}
.site__badge {
  position: absolute;
  left: -14px; bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  background: #fff;
  box-shadow: var(--hairline), var(--sh-md);
  font-size: clamp(.5rem, .85vw, .64rem);
  color: var(--gray-600);
}
.site__badge b { color: var(--ink); font-weight: 600; }
.site__badge span { color: var(--accent); letter-spacing: -1px; }

/* cartes du bas */
.site__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 14px); }
.site__card {
  padding: clamp(8px, 1.2vw, 14px);
  border-radius: 10px;
  background: var(--bg-alt);
  box-shadow: var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site__card i { width: 16px; height: 16px; border-radius: 5px; background: var(--accent); opacity: .22; }
.site__card b { display: block; width: 62%; height: 7px; border-radius: 3px; background: var(--gray-300); }
.site__card u { display: block; text-decoration: none; width: 88%; height: 5px; border-radius: 3px; background: var(--gray-200); }

/* squelette de construction : chaque bloc apparaît en séquence */
.js [data-build] {
  opacity: 0;
  translate: 0 10px;
  filter: blur(4px);
}
.browser.is-built [data-build] {
  animation: build-in .62s var(--ease-out) forwards;
  animation-delay: calc(var(--b, 0) * .09s);
}


/* ══ PASTILLES FLOTTANTES ═══════════════════════════════ */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--hairline), var(--sh-md);
  white-space: nowrap;
  will-change: translate;
}
.chip b { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); line-height: 1.35; }
.chip em {
  display: block;
  font-style: normal;
  font-size: .625rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.chip__ico {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  flex: none;
}
.chip__ico--ok { background: rgba(18,161,80,.1); color: var(--ok); }
.chip__ico--brand { background: var(--accent-tint); color: var(--accent-text); }
.chip__score {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  flex: none;
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.chip--1 { top: 11%; left: -3%; animation: float-a 7s var(--ease-io) infinite alternate; }
.chip--2 { bottom: 16%; right: -4%; animation: float-b 8.4s var(--ease-io) infinite alternate; }
.chip--3 { bottom: -4%; left: 9%; animation: float-a 9.2s var(--ease-io) .8s infinite alternate; }


/* ══ JAUGE DE PERFORMANCE ═══════════════════════════════ */
.gauge-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--hairline), var(--sh-lg);
}
.gauge-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray-500);
  padding-bottom: 20px;
  box-shadow: 0 1px 0 var(--line);
}
.gauge-card__live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); }
.gauge-card__live i {
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--ok);
  animation: pulse-dot-ok 2s var(--ease) infinite;
}

.gauge {
  position: relative;
  width: clamp(150px, 20vw, 186px);
  aspect-ratio: 1;
  margin: 30px auto 26px;
}
.gauge svg { width: 100%; height: 100%; rotate: -90deg; }
.gauge circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.gauge__bg { stroke: var(--gray-200); }
.gauge__fg {
  stroke: var(--ok);
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.gauge.is-on .gauge__fg { stroke-dashoffset: var(--off, 6.5); }
.gauge__val {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
}
.gauge__val b { font-size: clamp(2.4rem, 4.4vw, 3.1rem); font-weight: 500; letter-spacing: -.05em; color: var(--ink); }
.gauge__val span { color: var(--gray-500); }

.bars { display: flex; flex-direction: column; gap: 15px; }
.bars li {
  display: grid;
  grid-template-columns: 108px 1fr 30px;
  align-items: center;
  gap: 14px;
}
.bars span { color: var(--gray-600); letter-spacing: .06em; }
.bars i { display: block; height: 5px; border-radius: 99px; background: var(--gray-200); overflow: hidden; }
.bars u {
  text-decoration: none;
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ok), #3ECF7E);
  transform-origin: left;
  scale: 0 1;
  transition: scale 1.4s var(--ease-out);
}
.bars li.is-on u { scale: var(--v, 1) 1; }
.bars b { text-align: right; color: var(--ink); font-weight: 500; letter-spacing: 0; }
.gauge-card__foot {
  margin-top: 24px;
  padding-top: 18px;
  box-shadow: 0 -1px 0 var(--line);
  color: var(--gray-500);
  text-transform: none;
  letter-spacing: .04em;
}


/* ══ ACCORDÉON ══════════════════════════════════════════ */
.qa { box-shadow: 0 1px 0 var(--line); }
.qa:first-child { box-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line); }

.qa__q {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 24px 4px;
  text-align: left;
  transition: color var(--t) var(--ease);
}
.qa__n { flex: none; color: var(--gray-500); transition: color var(--t) var(--ease); }
.qa__t {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1rem, .95rem + .28vw, 1.16rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.35;
}
.qa__i {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease), rotate .42s var(--ease-out);
}
.qa__i::before, .qa__i::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--ink);
  border-radius: 2px;
  transition: opacity var(--t) var(--ease), background var(--t) var(--ease);
}
.qa__i::before { width: 11px; height: 1.5px; }
.qa__i::after  { width: 1.5px; height: 11px; }

.qa__q:hover .qa__n { color: var(--accent-text); }
.qa__q:hover .qa__i { box-shadow: inset 0 0 0 1px var(--ink); }

.qa.is-open .qa__i { rotate: 135deg; background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.qa.is-open .qa__i::before, .qa.is-open .qa__i::after { background: #fff; }
.qa.is-open .qa__i::after { opacity: 0; }
.qa.is-open .qa__n { color: var(--accent-text); }

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .48s var(--ease-out);
}
.qa__a > div { overflow: hidden; min-height: 0; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a p {
  padding: 0 66px 26px 40px;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: .95rem;
  opacity: 0;
  translate: 0 -6px;
  transition: opacity .4s var(--ease) .06s, translate .4s var(--ease) .06s;
}
.qa.is-open .qa__a p { opacity: 1; translate: 0 0; }
