/* ============================================================
   SEFF Studio — seffstudio.com  ·  v3 « clair »
   ============================================================ */

/* Polices auto-hébergées (subsets latin + latin-ext) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/spacegrotesk-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/spacegrotesk-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/spacegrotesk-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/spacegrotesk-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/spacegrotesk-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/spacegrotesk-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --bg: #f6f6f1;
  --bg-soft: #efefe8;
  --bg-card: #ffffff;
  --bg-card-2: #fcfcf8;
  --line: rgba(14, 14, 24, 0.08);
  --line-strong: rgba(14, 14, 24, 0.15);
  --text: #0e0e18;
  --text-dim: #5a5a6a;
  --accent: #e8ff47;          /* jaune néon : aplats (boutons, logo, badges) */
  --accent-ink: #5c7000;      /* version foncée : texte coloré sur fond clair */
  --accent-2: #6d4aff;
  --accent-3: #0fae86;
  --accent-soft: rgba(232, 255, 71, 0.35);
  --shadow: 0 1px 2px rgba(14,14,24,0.04), 0 8px 24px rgba(14,14,24,0.06);
  --shadow-lg: 0 2px 6px rgba(14,14,24,0.05), 0 28px 60px rgba(14,14,24,0.12);
  --radius: 22px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  /* dégradé lisible sur fond clair (titres, guillemets) */
  --grad-brand: linear-gradient(100deg, #6f8a00 5%, #22a35a 35%, var(--accent-3) 60%, var(--accent-2) 95%);
  /* dégradé néon pour les éléments décoratifs */
  --grad-neon: linear-gradient(100deg, var(--accent) 10%, #a8ff8a 40%, #47ffd1 65%, var(--accent-2) 95%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--text); }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* ---------- Fond : grille + halos pastel animés ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,14,24,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,14,24,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, black 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
/* Halos : dégradés radiaux déjà flous par nature — pas de filter: blur(),
   très coûteux à redessiner sur mobile. */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.bg-glow--1 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(232,255,71,0.5) 0%, rgba(232,255,71,0.18) 35%, transparent 65%);
  top: -380px; right: -300px;
  animation: drift1 26s ease-in-out infinite alternate;
}
.bg-glow--2 {
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(124,92,255,0.2) 0%, rgba(124,92,255,0.08) 35%, transparent 65%);
  bottom: -420px; left: -360px;
  animation: drift2 32s ease-in-out infinite alternate;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-90px, 70px) scale(1.15); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(110px, -80px) scale(1.1); }
}

main, .footer, .nav, .marquee { position: relative; z-index: 1; }

/* ---------- Barre de progression de lecture ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--grad-brand);
  z-index: 200;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14,14,24,0.18);
}
.btn--primary::before {
  /* reflet qui balaie le bouton au survol */
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(232,255,71,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14,14,24,0.25); }
.btn--primary:hover::before { left: 130%; }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,0.85);
}
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--small { padding: 10px 22px; font-size: 14px; background: var(--accent); color: var(--text); border-color: rgba(14,14,24,0.08); }
.btn--small:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(160,180,0,0.3); }
.btn--full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(246,246,241,0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(14,14,24,0.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.nav__logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--text);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  box-shadow: 0 6px 18px rgba(14,14,24,0.18);
}
/* Croix suisse sur le coin du logo */
.nav__logo-mark::after {
  content: "";
  position: absolute;
  right: -6px; bottom: -6px;
  width: 15px; height: 15px;
  border-radius: 5px;
  background-color: #da291c;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(#fff, #fff);
  background-size: 8px 2.5px, 2.5px 8px;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid var(--bg);
}
.nav__logo-text em { font-style: normal; color: var(--accent-ink); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a:not(.btn) {
  position: relative;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.lang {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,0.85);
}
.lang a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 5px 11px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang a.is-active { background: var(--text); color: var(--accent); }
.lang a:not(.is-active):hover { color: var(--text); }
.lang a::after { display: none !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
}
.hero::before {
  /* halo derrière le titre */
  content: "";
  position: absolute;
  top: 8%; left: -12%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(124,92,255,0.07), transparent 65%);
  pointer-events: none;
}

/* Vidéo d'arrière-plan en boucle */
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}
.hero__media::after {
  /* voile pour garder le texte parfaitement lisible */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246,246,241,0.85) 0%, rgba(246,246,241,0.5) 55%, rgba(246,246,241,0.15) 100%),
    linear-gradient(180deg, rgba(246,246,241,0.7) 0%, transparent 28%, transparent 62%, var(--bg) 100%);
}
.hero .container, .hero__scroll { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  width: fit-content;
  margin-bottom: 34px;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8fb300;
  box-shadow: 0 0 0 4px rgba(143,179,0,0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.6vw, 100px);
  font-weight: 700;
  line-height: 1.01;
  letter-spacing: -0.035em;
  margin-bottom: 30px;
}
.hero__title span { display: block; }
.hero__title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 42px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 76px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 5vw, 70px);
  width: fit-content;
}
.stat {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 2px;
  position: relative;
  padding-left: 18px;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #b8d600, transparent);
}
.stat__num, .stat__plus {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
}
.stat__num { color: var(--text); }
.stat__plus { color: var(--accent-ink); }
.stat__label {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(14,14,24,0.25);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--text);
  animation: scrollhint 1.8s infinite ease-in-out;
}
@keyframes scrollhint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 22px;
  background: var(--text);
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--text), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--text), transparent); }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.marquee__track span:hover { color: var(--accent); }
.marquee__track i { color: var(--accent); font-style: normal; font-size: 12px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(96px, 12vw, 160px); }
.section__head { margin-bottom: clamp(50px, 6vw, 76px); }
.section__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.section__eyebrow::after {
  content: "";
  width: 56px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #b8d600, transparent);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.section__title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Cartes services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  border-radius: var(--radius);
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(232,255,71,0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(143,179,0,0.35);
}
.card:hover::before { opacity: 1; }
.card__icon {
  position: relative;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--accent);
  color: var(--text);
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(160,180,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); box-shadow: 0 10px 26px rgba(160,180,0,0.35); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 12px;
}
.card p { position: relative; color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }
.card ul { position: relative; list-style: none; }
.card li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #8fb300;
  font-size: 11px;
  top: 3px;
}
.card--featured {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.card--featured p, .card--featured li { color: rgba(255,255,255,0.72); }
.card--featured li::before { color: var(--accent); }
.card--featured::before { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(232,255,71,0.14), transparent 55%); }
.card--featured:hover { border-color: var(--text); }
.card__badge {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 1;
}

/* ---------- Projets ---------- */
.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.work {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.work:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.work__visual {
  height: 290px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.work__visual--a { background: linear-gradient(135deg, #e3e8ff, #c9d2ff); }
.work__visual--b { background: linear-gradient(135deg, #dcf6e6, #b9ebcc); }
.work__visual--c { background: linear-gradient(135deg, #fdebd6, #f6d2a9); }
.work__visual--d { background: linear-gradient(135deg, #efe2fb, #dac4f3); }
.work__visual::before {
  /* anneau décoratif derrière la maquette */
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(14,14,24,0.15);
  animation: spin 40s linear infinite;
}
.work__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 70% 15%, rgba(255,255,255,0.55), transparent 60%);
}
.work__mock {
  width: 72%;
  background: #fff;
  border: 1px solid rgba(14,14,24,0.08);
  border-radius: 15px;
  padding: 14px;
  transform: translateY(26px) rotate(-1.4deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 30px 60px rgba(14,14,24,0.18);
  position: relative;
  z-index: 1;
}
.work:hover .work__mock { transform: translateY(10px) rotate(0deg) scale(1.04); }
.work__mock--phone {
  width: 34%;
  border-radius: 24px;
  padding: 12px 10px;
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(14,14,24,0.15); }
.mock-bar i:first-child { background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-notch { width: 40%; height: 6px; border-radius: 3px; background: rgba(14,14,24,0.15); margin: 0 auto 12px; }
.mock-hero {
  height: 64px;
  border-radius: 9px;
  background: linear-gradient(120deg, #e8ff47, #7ef0c4, #9d87ff);
  margin-bottom: 10px;
}
.mock-row { display: flex; gap: 8px; margin-bottom: 8px; }
.mock-row span { flex: 1; height: 26px; border-radius: 7px; background: rgba(14,14,24,0.06); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-grid span { height: 52px; border-radius: 9px; background: rgba(14,14,24,0.06); }
.mock-split { display: flex; gap: 8px; }
.mock-split span { flex: 1; height: 90px; border-radius: 9px; background: rgba(14,14,24,0.06); }
.mock-split span:first-child { background: linear-gradient(140deg, #e8ff47, #f4ffc2); }

.work__meta { padding: 26px 28px 30px; }
.work__meta h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}
.work:hover .work__meta h3 { color: var(--accent-ink); }
.work__meta p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 14px; }
.work__tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 13px;
  margin-right: 8px;
  background: var(--bg-card-2);
}
.works__note {
  margin-top: 44px;
  color: var(--text-dim);
  font-size: 16px;
}
.works__note a { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.works__note a:hover { text-decoration: underline; }

/* ---------- Processus ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.step {
  border-radius: var(--radius);
  padding: 32px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109,74,255,0.3);
}
.step:not(:last-child)::after {
  /* trait de liaison entre les étapes */
  content: "";
  position: absolute;
  top: 50px; right: -22px;
  width: 22px; height: 2px;
  background: linear-gradient(90deg, #b8d600, transparent);
}
.step__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 40px;
  border-radius: 50%;
  color: var(--text);
  background: var(--accent);
  box-shadow: 0 6px 18px rgba(160,180,0,0.28);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Studio ---------- */
.section--studio {
  background: linear-gradient(180deg, transparent, rgba(124,92,255,0.06) 30%, transparent);
}
.studio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.studio__text > p {
  color: var(--text-dim);
  margin-bottom: 18px;
  max-width: 540px;
}
.studio__text .section__title { margin-bottom: 28px; }
.studio__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.point {
  border-radius: 18px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.point:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  margin-bottom: 6px;
}
.point span { font-size: 13.5px; color: var(--text-dim); }

.globe {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
}
.globe__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(14,14,24,0.14);
  border-radius: 50%;
}
.globe__ring--1 { animation: spin 28s linear infinite; border-style: dashed; }
.globe__ring--2 { inset: 13%; border-color: rgba(143,179,0,0.55); animation: spin 20s linear infinite reverse; }
.globe__ring--2::before {
  /* comète sur l'anneau */
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #b8d600;
  box-shadow: 0 0 0 4px rgba(184,214,0,0.25);
}
.globe__ring--3 { inset: 27%; border-color: rgba(109,74,255,0.35); border-style: dashed; animation: spin 34s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.globe__core {
  position: absolute;
  inset: 40%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  box-shadow: 0 20px 50px rgba(14,14,24,0.25), 0 0 0 10px rgba(232,255,71,0.45);
}
.globe__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(14,14,24,0.1);
}
.globe__pin:nth-child(odd) { animation-delay: -2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Témoignages ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  position: relative;
  border-radius: var(--radius);
  padding: 54px 28px 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote::before {
  /* grand guillemet décoratif */
  content: "“";
  position: absolute;
  top: 8px; left: 22px;
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote p { font-size: 15.5px; color: var(--text); }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote footer::before {
  content: "";
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent-2), var(--accent-3));
  flex: none;
}
.quote footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
}
.quote footer span { display: block; font-size: 13px; color: var(--text-dim); }

/* ---------- Contact ---------- */
.section--contact {
  background: linear-gradient(180deg, transparent, rgba(232,255,71,0.12) 40%, transparent);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__text > p { color: var(--text-dim); max-width: 460px; margin-top: 22px; }
.contact__infos { margin-top: 38px; display: flex; flex-direction: column; gap: 14px; }
.contact__line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}
a.contact__line:hover { color: var(--accent-ink); transform: translateX(4px); }
.contact__ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 16px;
}
.contact__form {
  border-radius: var(--radius);
  padding: 38px 34px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color-scheme: light;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e0e18' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
}
.field select option {
  background-color: #fff;
  color: var(--text);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(90,90,106,0.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--text);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(232,255,71,0.55);
}
.contact__note { font-size: 12.5px; color: var(--text-dim); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert {
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.form-alert--ok { background: rgba(232,255,71,0.35); border: 1px solid #b8d600; }
.form-alert--err { background: rgba(220,50,50,0.07); border: 1px solid rgba(200,40,40,0.4); color: #8a1c1c; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 60px;
  background: var(--bg-card);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand .nav__logo-mark::after { border-color: var(--bg-card); }
.footer__brand strong { font-family: var(--font-display); font-size: 17px; }
.footer__brand p { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14.5px;
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer__links a:hover { color: var(--text); transform: translateX(3px); }
.footer__meta { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-dim); }
.footer__meta a { color: var(--text); text-decoration: none; }
.footer__meta a:hover { color: var(--accent-ink); }

/* ---------- Animations d'apparition ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Le haut de page s'affiche tout de suite, sans attendre le JavaScript */
.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: heroIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__title .reveal:nth-child(2) { animation-delay: 0.05s; }
.hero__title .reveal:nth-child(3) { animation-delay: 0.1s; }
.hero__title .reveal:nth-child(4) { animation-delay: 0.15s; }
.hero__sub.reveal { animation-delay: 0.15s; }
.hero__cta.reveal, .hero__stats.reveal { animation-delay: 0.2s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .reveal { opacity: 1; transform: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  /* Services, projets et étapes : carrousels à glisser (mobile & tablette) */
  .cards, .works, .steps {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -4vw;                 /* déborde jusqu'aux bords de l'écran */
    padding-inline: 4vw;
    scroll-padding-inline: 4vw;
    padding-top: 8px;                    /* laisse la place aux ombres */
    padding-bottom: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar, .works::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .card {
    flex: 0 0 min(330px, 82vw);
    scroll-snap-align: start;
  }
  .work {
    flex: 0 0 min(420px, 84vw);
    scroll-snap-align: start;
  }
  .step {
    flex: 0 0 min(300px, 76vw);
    scroll-snap-align: start;
  }
  .step:not(:last-child)::after { display: none; }
  /* Dans un carrousel, les cartes apparaissent sans décalage vertical */
  .cards .reveal, .works .reveal, .steps .reveal { transform: translateY(0); }

  .quotes { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .studio__visual { order: -1; }
  .globe { max-width: 340px; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { font-size: 22px; color: var(--text); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .lang a { font-size: 14px; padding: 8px 16px; color: var(--text-dim); }
  .nav__links .lang a.is-active { color: var(--accent); }
  .nav__burger { display: flex; z-index: 110; }
  .nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Mobile & tablette : pas de verre dépoli sur la barre (coûteux pendant le
   défilement), pas de zoom continu sur la vidéo. */
@media (max-width: 1024px) {
  .nav.is-scrolled {
    background: rgba(246,246,241,0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero__media video { animation: none; transform: scale(1.04); }
}

@media (max-width: 768px) {
  .contact { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); width: 100%; gap: 26px; }
  .studio__points { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .work__visual { height: 230px; }
  .work__visual::before { width: 280px; height: 280px; }
  .bg-glow--1, .bg-glow--2 { opacity: 0.4; }
}
