/* ==========================================================================
   CHRONOCONCEPT GROUP — Design system v2
   Direction : canevas navy profond, accent menthe/cyan, typo display large,
   libellés mono, grilles « bento » filaires, dégradés animés.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons
   -------------------------------------------------------------------------- */
:root {
  /* Thème sombre : valeur par défaut du site */
  --bg:        #05080f;
  --bg-soft:   #0a111d;
  --panel:     #0d1522;
  --panel-2:   #111b2b;
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.055);
  --ink:       #ffffff;
  --ink-dim:   #d3dde9;
  --muted:     #8699ae;

  /* Accents de marque */
  --mint:   #3ee9c4;
  --cyan:   #2fb9f0;
  --blue:   #2f6bff;
  --violet: #8a5cff;
  --accent: var(--mint);
  --on-accent: #04131a;

  --container: 1280px;
  --gutter: 24px;
  --radius: 18px;
  --radius-sm: 12px;

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Variante claire : appliquée à une section pour créer le rythme */
.section--light {
  --bg:        #f2f5f9;
  --bg-soft:   #e9eef5;
  --panel:     #ffffff;
  --panel-2:   #f7f9fc;
  --line:      rgba(6, 16, 30, 0.12);
  --line-soft: rgba(6, 16, 30, 0.07);
  --ink:       #060f1c;
  --ink-dim:   #22303f;
  --muted:     #566879;
  --accent:    #0f766e;
  --on-accent: #ffffff;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain discret sur tout le site */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
::selection { background: var(--mint); color: #04131a; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* Titres : mot-clé en gras, reste en finesse (signature Netguru) */
h1 strong, h2 strong, h3 strong { font-weight: 700; color: var(--ink); }
.accent { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding-block: clamp(72px, 10vw, 140px);
}

/* --------------------------------------------------------------------------
   3. Utilitaires
   -------------------------------------------------------------------------- */

.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); text-wrap: balance; }
.section-head p { margin-top: 22px; color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; }

.section-head--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  max-width: none;
}
.section-head--split p { margin-top: 0; }

/* Boutons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn i, .btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arr { transform: translate(4px, -4px); }

.btn-primary { background: var(--mint); color: #04131a; }
.btn-primary:hover { background: #6df4d8; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent); color: var(--on-accent); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* Lien flèche */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 16px; }

/* Puces / tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}

/* Halos lumineux animés */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb--mint   { background: radial-gradient(circle, var(--mint) 0%, transparent 70%); }
.orb--blue   { background: radial-gradient(circle, var(--blue) 0%, transparent 70%); animation-duration: 28s; animation-direction: alternate-reverse; }
.orb--violet { background: radial-gradient(circle, var(--violet) 0%, transparent 70%); animation-duration: 34s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -50px, 0) scale(1.18); }
}

/* Trame technique */
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}

.container, .section-head, .hero-inner { position: relative; z-index: 1; }

/* Apparition au scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .marquee__track, .aurora-blob, .tablet { animation: none !important; }
  .tablet { transition: none; }
}

/* --------------------------------------------------------------------------
   3 bis. Écran d'attente
   -------------------------------------------------------------------------- */
.preloader { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #04070e;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.js .preloader.is-done { opacity: 0; visibility: hidden; }
html.loading, html.loading body { overflow: hidden; }

.pre-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  width: min(300px, 72vw);
  text-align: center;
}
.pre-glow {
  position: absolute;
  top: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 233, 196, 0.22), transparent 68%);
  filter: blur(40px);
  animation: pre-breathe 3.2s ease-in-out infinite;
}
.pre-inner img {
  position: relative;
  width: 160px;
  max-width: 100%;
  animation: pre-breathe 3.2s ease-in-out infinite;
}
.pre-bar {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.pre-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
  transition: width 0.3s ease-out;
}
.pre-pct, .pre-note {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.pre-pct { color: var(--mint); margin-top: -12px; }
@keyframes pre-breathe {
  0%, 100% { opacity: 0.6; transform: scale(0.97); }
  50%      { opacity: 1;   transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .pre-glow, .pre-inner img { animation: none; }
}

/* --------------------------------------------------------------------------
   4. Barre d'annonce + navigation
   -------------------------------------------------------------------------- */
.announce {
  position: relative;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.announce .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.announce a:hover { color: var(--mint); }
.announce-contacts { display: flex; gap: 22px; }
.announce-social { display: flex; gap: 16px; font-size: 0.85rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-stuck { background: rgba(5, 8, 15, 0.94); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 46px; width: auto; }
.nav-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 150px;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links .btn { display: none; }
.nav-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.93rem;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--mint); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   5. Hero — fond fluide + tablette 3D
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 104px);
  background: #04070e;
}

/* Aurore : quatre masses colorées qui dérivent lentement, sans trame ni carrelage. */
.aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px) saturate(115%);
  opacity: 0.55;
}
.aurora-blob {
  position: absolute;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora-blob.b1 {
  width: 48vw; height: 46vw; top: 2%; left: 52%;
  background: radial-gradient(circle at 35% 35%, rgba(109, 94, 255, 0.55), rgba(109, 94, 255, 0) 68%);
  animation: swim-a 26s ease-in-out infinite alternate;
}
.aurora-blob.b2 {
  width: 54vw; height: 44vw; top: 28%; left: 26%;
  background: radial-gradient(circle at 50% 50%, rgba(28, 123, 240, 0.45), rgba(28, 123, 240, 0) 68%);
  animation: swim-b 32s ease-in-out infinite alternate;
}
.aurora-blob.b3 {
  width: 42vw; height: 40vw; top: 50%; left: 60%;
  background: radial-gradient(circle at 45% 55%, rgba(62, 233, 196, 0.38), rgba(62, 233, 196, 0) 70%);
  animation: swim-c 38s ease-in-out infinite alternate;
}
.aurora-blob.b4 {
  width: 36vw; height: 36vw; top: 6%; left: 2%;
  background: radial-gradient(circle at 50% 50%, rgba(214, 64, 168, 0.3), rgba(214, 64, 168, 0) 70%);
  animation: swim-d 30s ease-in-out infinite alternate;
}
@keyframes swim-a {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(-7vw, 6vh, 0) scale(1.14) rotate(40deg); }
  100% { transform: translate3d(4vw, -5vh, 0) scale(0.94) rotate(-25deg); }
}
@keyframes swim-b {
  0%   { transform: translate3d(0, 0, 0) scale(1.05) rotate(0deg); }
  50%  { transform: translate3d(8vw, -7vh, 0) scale(0.9) rotate(-35deg); }
  100% { transform: translate3d(-5vw, 4vh, 0) scale(1.18) rotate(30deg); }
}
@keyframes swim-c {
  0%   { transform: translate3d(0, 0, 0) scale(0.95); }
  50%  { transform: translate3d(-9vw, -8vh, 0) scale(1.2); }
  100% { transform: translate3d(6vw, 5vh, 0) scale(1); }
}
@keyframes swim-d {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vw, 9vh, 0) scale(1.15); }
  100% { transform: translate3d(-4vw, -6vh, 0) scale(0.92); }
}
/* Voile sombre : l'aurore reste une ambiance, jamais un fond criard. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(85% 90% at 18% 62%, rgba(4, 7, 14, 0.97) 28%, rgba(4, 7, 14, 0.6) 65%, transparent 100%),
    linear-gradient(to bottom, rgba(4, 7, 14, 0.78), rgba(4, 7, 14, 0.42) 45%, rgba(4, 7, 14, 0.95));
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: min(66vh, 660px);
}
.hero-copy { grid-column: 1; grid-row: 1; max-width: 52ch; }
.hero-stage { grid-column: 2; grid-row: 1; }

.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.5rem);
  margin-top: 24px;
  letter-spacing: -0.04em;
  font-stretch: 100%;
  text-wrap: balance;
}
.hero h1 .line { display: block; }
.hero h1 .glow {
  background: linear-gradient(92deg, #58d7ff 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--ink-dim);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Ligne de confiance, à la place des anciens compteurs */
.hero-trust { margin-top: 40px; }
.hero-trust > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero-trust ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.hero-trust li {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.4s var(--ease);
}
.hero-trust li:hover { color: #fff; }

/* ---- Tablette 3D ---- */
.hero-stage {
  position: relative;
  perspective: 1700px;
  perspective-origin: 58% 42%;
  padding-block: 10px 48px;
}
.tablet-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
  transform-style: preserve-3d;
}
.tablet-trigger:focus-visible { outline: 2px solid var(--mint); outline-offset: 14px; border-radius: 18px; }

.tablet {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(8deg + var(--px, 0) * -3.5deg))
    rotateY(calc(-15deg + var(--py, 0) * 6deg));
  transition: transform 0.6s var(--ease);
  animation: hover-float 11s ease-in-out infinite;
}
.tablet-trigger:hover .tablet { transform: rotateX(6deg) rotateY(-11deg) scale(1.015); }
@keyframes hover-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

/* Capot : cadre alu, menton épais, arêtes éclairées */
.tablet-lid {
  position: relative;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(158deg, #343d51 0%, #1d2433 34%, #0e131d 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.3),
    inset 1.5px 0 0 rgba(255, 255, 255, 0.1),
    inset -1.5px 0 0 rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 36px 64px -30px rgba(0, 0, 0, 0.95);
  transform-style: flat;
}
.tablet-cam {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #05080e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 2px rgba(120, 190, 255, 0.5);
}
.tablet-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #070b12;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8);
}
/* reflet de dalle */
.tablet-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 24%, transparent 44%);
  transition: opacity 0.5s var(--ease);
}

.screen-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: #0d1420;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.screen-dots { display: flex; gap: 4px; }
.screen-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.screen-dots i:first-child { background: rgba(62, 233, 196, 0.75); }
.screen-url {
  flex: 1;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screen-stage { position: relative; flex: 1; display: grid; }
.screen-slide {
  grid-area: 1 / 1;
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(1.03);
}
.screen-slide.active {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s 0.1s var(--ease), transform 1.2s var(--ease);
}
.screen-shot {
  flex: 1;
  background-size: cover;
  background-position: top center;
  display: grid;
  place-items: center;
}
.screen-shot[data-v="0"] { background-color: #0d2a3f; background-image: linear-gradient(135deg, #0d2a3f, #11566b 55%, #1d8f8a); }
.screen-shot[data-v="1"] { background-color: #131a3c; background-image: linear-gradient(135deg, #131a3c, #2b3a8f 55%, #4f6bff); }
.screen-shot[data-v="2"] { background-color: #1b1233; background-image: linear-gradient(135deg, #1b1233, #4b2a8a 55%, #8a5cff); }
.screen-shot[data-v="3"] { background-color: #07251f; background-image: linear-gradient(135deg, #07251f, #0f5f52 55%, #3ee9c4); }
.screen-slide[style] .screen-shot { background-image: none; }
.screen-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.88);
}
.screen-slide figcaption {
  flex: 0 0 auto;
  padding: 10px 14px 12px;
  background: linear-gradient(to top, #070b12 60%, rgba(7, 11, 18, 0.75));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.screen-slide figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.screen-slide figcaption span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tablet-shadow {
  transition: opacity 0.3s var(--ease);
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 26px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8), transparent 72%);
  filter: blur(16px);
  z-index: -1;
}
.tablet-hint {
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.hero-stage:hover .tablet-hint { color: var(--mint); }

/* ---- Vue agrandie : le tablette est déplacé dans un calque plein écran ---- */
.tablet-overlay {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  gap: clamp(18px, 3vh, 34px);
  padding: clamp(16px, 5vmin, 56px);
  background: rgba(2, 4, 9, 0.95);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
body.tablet-zoom { overflow: hidden; }
body.tablet-zoom .tablet-overlay { opacity: 1; visibility: visible; }
body.tablet-zoom .tablet-shadow,
body.tablet-zoom .tablet-hint { opacity: 0; }

.tablet-holder {
  width: min(1040px, 100%, 105vh);
  perspective: 2600px;
  perspective-origin: 50% 46%;
}
.tablet-holder .tablet-trigger { cursor: default; }
.tablet-holder .tablet { transform: rotateX(4deg); animation: none; }
.tablet-holder .tablet-trigger:hover .tablet { transform: rotateX(4deg); }
.tablet-holder .tablet-screen::after { opacity: 0.3; }
.tablet-holder .screen-url { font-size: 0.78rem; }
.tablet-holder .screen-slide figcaption { padding: 16px 22px 18px; }
.tablet-holder .screen-slide figcaption strong { font-size: 1.3rem; }
.tablet-holder .screen-slide figcaption span { font-size: 0.7rem; }
.tablet-holder .screen-slide[data-href]:not([data-href=""]) { cursor: pointer; }

.zoom-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(12, 18, 30, 0.8);
  border: 1px solid var(--line);
}
.zoom-nav > button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.zoom-nav > button:hover { background: var(--mint); color: #04131a; border-color: var(--mint); }
.zoom-dots { display: flex; gap: 8px; }
.zoom-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.zoom-dots button.active { background: var(--mint); transform: scale(1.35); }
.zoom-close {
  position: absolute;
  top: clamp(14px, 3vh, 30px);
  right: clamp(14px, 3vw, 34px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(12, 18, 30, 0.85);
  color: var(--ink);
  font-size: 1.05rem;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.zoom-close:hover { background: var(--mint); color: #04131a; }

/* --------------------------------------------------------------------------
   6. Bandeau défilant
   -------------------------------------------------------------------------- */
.marquee {
  padding-block: 0;
  border-block: 1px solid var(--line-soft);
  background: var(--bg-soft);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__group span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__group span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.6;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   7. Accordéon services
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px 8px;
  text-align: left;
  transition: padding-left 0.4s var(--ease), color 0.3s var(--ease);
}
.acc-head:hover { padding-left: 22px; }
.acc-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.acc-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  transition: color 0.3s var(--ease);
}
.acc-title i { font-size: 0.8em; color: var(--accent); opacity: 0.85; }
.acc-head:hover .acc-title { color: var(--accent); }
.acc-plus {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.acc-item.open .acc-plus {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body p {
  max-width: 68ch;
  padding: 0 8px 30px 86px;
  color: var(--muted);
  font-size: 1.03rem;
}

/* --------------------------------------------------------------------------
   8. Grilles « bento » et cartes
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento > * { grid-column: span 4; }
.bento > .span-6 { grid-column: span 6; }
.bento > .span-8 { grid-column: span 8; }
.bento > .span-12 { grid-column: span 12; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              background-color 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(62, 233, 196, 0.45); }
.section--light .card { box-shadow: 0 2px 4px rgba(6, 16, 30, 0.04), 0 18px 40px -28px rgba(6, 16, 30, 0.35); }
.section--light .card:hover { box-shadow: 0 6px 12px rgba(6, 16, 30, 0.06), 0 28px 56px -30px rgba(6, 16, 30, 0.45); }
.section--light .card:hover { border-color: rgba(15, 118, 110, 0.4); }

/* Carte offre (formations) */
.offer-card { padding: 30px 26px 34px; }
.offer-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.25rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  margin-bottom: 24px;
  transition: transform 0.45s var(--ease);
}
.offer-card:hover .icon { transform: translateY(-3px) rotate(-6deg); }
.offer-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.offer-card p { color: var(--muted); font-size: 0.97rem; }
.offer-card .offer-index {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  opacity: 0.6;
}

/* Carte projet */
.project-card { cursor: pointer; }
.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--panel-2);
  overflow: hidden;
}
.project-media .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.9);
}
/* 4 variantes de dégradé pour les projets sans visuel */
.project-media[data-v="0"] .ph { background: linear-gradient(135deg, #0d2a3f, #11566b 55%, #1d8f8a); }
.project-media[data-v="1"] .ph { background: linear-gradient(135deg, #131a3c, #2b3a8f 55%, #4f6bff); }
.project-media[data-v="2"] .ph { background: linear-gradient(135deg, #1b1233, #4b2a8a 55%, #8a5cff); }
.project-media[data-v="3"] .ph { background: linear-gradient(135deg, #07251f, #0f5f52 55%, #3ee9c4); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 15, 0.75), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.project-card:hover .project-media::after { opacity: 1; }
.project-card:hover .project-media { transform: none; }

.project-go {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5, 8, 15, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.project-card:hover .project-go { opacity: 1; transform: none; }
.project-go:hover { background: var(--mint); color: #04131a; }

.project-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.project-body h3 { font-size: 1.35rem; font-weight: 600; }
.project-body p { color: var(--muted); font-size: 0.96rem; }
.project-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.project-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Fond adouci (section démarche)
   -------------------------------------------------------------------------- */
.bg-soft { background: var(--bg-soft); overflow: hidden; }
.bg-soft .orb--mint { width: 480px; height: 480px; top: -200px; right: 8%; opacity: 0.18; }

/* --------------------------------------------------------------------------
   10. Témoignages
   -------------------------------------------------------------------------- */
.testi-card { padding: 34px 30px; gap: 20px; }
.testi-card .mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.4;
}
.testi-card .quote { font-size: 1.05rem; color: var(--ink-dim); flex: 1; }
.stars { color: #ffc24b; letter-spacing: 3px; font-size: 0.95rem; }
.testi-meta { padding-top: 18px; border-top: 1px solid var(--line-soft); }
.testi-meta strong { display: block; font-family: var(--font-display); font-weight: 600; }
.testi-meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Bandeau d'appel à l'action
   -------------------------------------------------------------------------- */
.cta {
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(47, 107, 255, 0.22), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}
.cta .orb--mint { width: 520px; height: 520px; bottom: -280px; left: 50%; margin-left: -260px; opacity: 0.22; }
.cta-inner { text-align: center; max-width: 880px; margin-inline: auto; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.cta p { margin-top: 22px; color: var(--muted); font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

/* --------------------------------------------------------------------------
   12. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px 32px;
}
.footer-brand img { height: 54px; width: auto; margin-bottom: 24px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 42ch; }
.footer-social { display: flex; gap: 10px; margin-top: 26px; }
.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { color: var(--mint); border-color: var(--mint); transform: translateY(-3px); }

.footer-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a, .site-footer ul li { color: var(--ink-dim); font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--mint); }
.site-footer ul li i { color: var(--mint); width: 18px; margin-right: 6px; }

/* Signature typographique géante */
.footer-wordmark {
  margin-top: clamp(40px, 6vw, 80px);
  user-select: none;
}
.footer-wordmark svg { width: 100%; height: auto; display: block; overflow: visible; }
.footer-wordmark text {
  font-family: var(--font-display), "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 150px;
  letter-spacing: -0.04em;
}
.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
  padding-block: 22px 26px;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   13. En-tête de page intérieure
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 130px) clamp(50px, 6vw, 90px);
  background:
    radial-gradient(110% 90% at 80% 0%, rgba(47, 185, 240, 0.16), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .orb--violet { width: 460px; height: 460px; top: -180px; left: -100px; opacity: 0.2; }
.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  text-transform: uppercase;
  font-stretch: 112%;
  text-wrap: balance;
}
.page-hero p { margin-top: 24px; max-width: 60ch; color: var(--muted); font-size: 1.08rem; }

/* Fil d'ariane */
.crumbs {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.crumbs a:hover { color: var(--mint); }

/* --------------------------------------------------------------------------
   14. Filtres réalisations
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filters button {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.card.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 72px;
}
.channel-card { padding: 28px 24px; gap: 8px; }
.channel-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.15rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease);
}
.channel-card:hover .icon { transform: translateY(-3px); }
.channel-card h3 { font-size: 1.1rem; font-weight: 600; }
.channel-card .value { font-size: 0.95rem; color: var(--ink-dim); word-break: break-word; }
.channel-card .hint {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 24px;
  align-items: start;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 44px);
}
.panel h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 28px; }
.panel + .panel { margin-top: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.97rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: var(--bg);
}
.field select option { background: #0a111d; color: #fff; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.alert-success { border-color: rgba(62, 233, 196, 0.45); background: rgba(62, 233, 196, 0.1); color: #8ff5de; }
.alert-error { border-color: rgba(255, 106, 106, 0.45); background: rgba(255, 106, 106, 0.1); color: #ffb0b0; }

.info-row { display: flex; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line-soft); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row .ic {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.9rem;
}
.info-row strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.info-row p, .info-row span { color: var(--muted); font-size: 0.93rem; }

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
}
.hours-row:first-of-type { border-top: none; padding-top: 0; }
.hours-row span:first-child { color: var(--muted); }
.hours-row span:last-child { font-family: var(--font-mono); font-size: 0.85rem; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q i { transition: transform 0.45s var(--ease); color: var(--accent); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4px 26px; color: var(--muted); max-width: 72ch; }

/* --------------------------------------------------------------------------
   16. Modale projet
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 6, 12, 0.82);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  width: min(760px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 48px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.5s var(--ease);
}
.modal-overlay.open .modal-box { transform: none; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.modal-close:hover { background: var(--mint); color: #04131a; border-color: var(--mint); }
.modal-box h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 8px; padding-right: 50px; }
.modal-box h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 28px 0 10px;
}
.modal-box p { color: var(--muted); }
.modal-box ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--muted);
}
.modal-box ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   17. Barre de progression + retour haut
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #04131a;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow: 0 14px 34px -12px rgba(62, 233, 196, 0.8);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Flottant WhatsApp */
.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #1fab54;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 16px 36px -14px rgba(31, 171, 84, 0.9);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float i { font-size: 1.25rem; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { grid-row: 1; max-width: none; }
  .hero-stage { grid-column: 1; grid-row: 2; margin-top: 56px; perspective-origin: 50% 40%; }
  .tablet { transform: rotateX(8deg) rotateY(-9deg); }
  .hero-stage { max-width: 620px; margin-inline: auto; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .bento > * { grid-column: span 6; }
  .bento > .span-8, .bento > .span-12 { grid-column: span 12; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .announce-contacts .is-email { display: none; }
  .nav-toggle { display: grid; }
  .nav .container { min-height: 66px; }
  .nav-brand img { height: 38px; }
  .nav-brand span { display: none; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed;
    inset: 0 0 auto;
    top: 66px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px var(--gutter) 28px;
    background: rgba(5, 8, 15, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
  }
  .nav-links .btn {
    display: inline-flex;
    justify-content: center;
    margin-top: 18px;
    border-radius: 999px;
  }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .bento > * { grid-column: span 12; }
  .channels { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .acc-head { grid-template-columns: 1fr auto; gap: 14px; padding: 22px 4px; }
  .acc-num { display: none; }
  .acc-body p { padding-left: 4px; }
  .announce-contacts { gap: 14px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  /* La tablette prend toute la largeur utile : à cette taille elle doit porter la page. */
  .hero-stage {
    perspective: 1500px;
    margin-top: 40px;
    max-width: none;
    margin-inline: calc(var(--gutter) * -0.5);
    padding-block: 6px 40px;
  }
  .tablet { transform: rotateX(3deg) rotateY(-2deg); }
  .tablet-lid { padding: 10px; border-radius: 18px; }
  /* Sur mobile l'écran ne porte aucun texte, ni dans le hero ni une fois agrandi :
     juste le visuel du projet. */
  .screen-slide figcaption { display: none; }
  .hero-trust ul { gap: 8px 18px; }
  .hero-trust li { font-size: 0.85rem; }
}

@media (max-width: 520px) {
  .announce-social { display: none; }
  .marquee__group { gap: 28px; }
  .marquee__group span { gap: 28px; }
}
