/* =========================================================
   NakFix — feuille de style
   ========================================================= */

:root {
  --bg: #09090b;
  --bg-soft: rgba(14, 14, 17, 0.72);
  --surface: rgba(21, 21, 24, 0.78);
  --surface-2: rgba(27, 27, 31, 0.9);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-2: #a78bfa;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --wrap: 1180px;
  --header-h: 74px;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

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

/* ---------- Fond photo (Garonne / Hôtel-Dieu) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("assets/garonne.jpg") center 30% / cover no-repeat;
  filter: saturate(0.95) contrast(1.03);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.42) 0%, rgba(9, 9, 11, 0.78) 50%, rgba(9, 9, 11, 0.97) 100%),
    linear-gradient(90deg, rgba(9, 9, 11, 0.78) 0%, rgba(9, 9, 11, 0.38) 42%, transparent 68%),
    radial-gradient(110% 60% at 78% 0%, rgba(139, 92, 246, 0.22), transparent 60%);
  pointer-events: none;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--accent); color: #ffffff;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 700; z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2.5rem, 820px); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(180deg, #9d7bfa, #7c3aed);
  color: #ffffff;
  box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(124, 58, 237, 0.85); }

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 46px; height: 38px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-mark svg { width: 20px; height: 20px; }
.logo-text em { font-style: normal; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a:not(.btn) {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.nav > a:not(.btn):hover,
.nav > a:not(.btn).is-active { color: var(--ink); }
.nav > a:not(.btn):hover::after,
.nav > a:not(.btn).is-active::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 5rem) 0 6rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  top: -380px; right: -180px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 850px);
  justify-content: center;
  gap: 0;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 500;
  color: #cfd6e4;
  margin-bottom: 1.6rem;
}
.badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(167, 139, 250, 0.05); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.hero h1 .hl {
  background: linear-gradient(100deg, #c4b5fd, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.lead strong { color: var(--ink); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.8rem; }

.stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column-reverse; gap: 0.15rem; }
.stats dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }

/* --- Visuel téléphone --- */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative;
  width: min(304px, 66vw);
  aspect-ratio: 828 / 1792;
  border-radius: 52px;
  padding: 12px;
  background: linear-gradient(145deg, #55555e, #26262b 32%, #121215 58%, #3a3a42);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 0 2px #050506,
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(-6deg);
  animation: float 7s ease-in-out infinite;
}
/* Boutons latéraux façon iPhone */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #5a5a63, #222226);
}
.phone::before {
  left: -3px;
  top: 118px;
  height: 58px;
  box-shadow: 0 72px 0 #34343a;
}
.phone::after {
  right: -3px;
  top: 150px;
  height: 78px;
}
@keyframes float {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-14px); }
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 41px;
  overflow: hidden;
  background: #000;
}
/* Bordure noire complète par-dessus la photo */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 4px #000,
    inset 0 0 0 5px rgba(255, 255, 255, 0.09);
  pointer-events: none;
  z-index: 1;
}
.phone-chat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 13px 13px 10px;
  overflow: hidden;
  border-radius: inherit;
  color: #f8f6ff;
  background:
    radial-gradient(100% 46% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 75%),
    linear-gradient(180deg, #111015 0%, #09080d 100%);
  font-family: var(--font-body);
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 17px;
  flex: none;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.phone-status-icons { display: flex; align-items: center; gap: 3px; height: 12px; }
.phone-status-icons i { display: block; width: 3px; border-radius: 2px 2px 0 0; background: #f8f6ff; }
.phone-status-icons i:nth-child(1) { height: 5px; }
.phone-status-icons i:nth-child(2) { height: 8px; }
.phone-status-icons b { width: 12px; height: 7px; margin-left: 2px; border: 1px solid #f8f6ff; border-radius: 2px; position: relative; }
.phone-status-icons b::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 3px; border-radius: 0 2px 2px 0; background: #f8f6ff; }
.phone-chat-head { display: flex; align-items: center; gap: 7px; margin: 21px -2px 0; padding: 0 0 12px; border-bottom: 1px solid rgba(255,255,255,.09); }
.phone-back { color: #bd9bff; font-family: Arial, sans-serif; font-size: 25px; line-height: 1; }
.phone-chat-avatar { display: grid; place-items: center; width: 28px; height: 28px; overflow: hidden; flex: none; border-radius: 9px; background: linear-gradient(145deg, #a674ff, #6d28d9); }
.phone-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.phone-chat-title { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.phone-chat-title strong { overflow: hidden; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.phone-chat-title small { color: #aaa4b6; font-size: 7px; }
.phone-chat-title small i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: #7de0a3; vertical-align: 1px; }
.phone-more { color: #aaa4b6; font-size: 10px; letter-spacing: 1px; }
.phone-chat-date { align-self: center; margin: 15px 0 13px; color: #85808e; font-size: 6px; font-weight: 800; letter-spacing: .12em; }
.phone-messages { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; overflow-y: auto; padding: 2px 1px 8px; scrollbar-width: none; }
.phone-messages::-webkit-scrollbar { display: none; }
.phone-bubble { max-width: 96%; padding: 10px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px 15px 15px 5px; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; box-shadow: 0 5px 14px rgba(0,0,0,.2); }
.phone-bot { background: #24212b; color: #f1eef7; }
.phone-user { align-self: flex-end; border-color: rgba(190,156,255,.24); border-radius: 14px 14px 5px 14px; background: linear-gradient(145deg, #8b5cf6, #6d35d7); color: #fff; }
.phone-bubble.is-typing { opacity: .68; }
.phone-error { border-color: rgba(255,100,110,.3); background: rgba(130,30,45,.26); color: #ffc4ca; }
.phone-compose { display: flex; align-items: center; gap: 6px; flex: none; min-height: 38px; margin-top: 8px; padding: 3px 4px 3px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); }
.phone-compose input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #f8f6ff; font: inherit; font-size: 16px; }
.phone-compose input::placeholder { color: #a49baa; opacity: 1; }
.phone-compose button { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 0; border-radius: 50%; background: linear-gradient(145deg, #a674ff, #7036dc); color: white; font-size: 17px; font-weight: 800; cursor: pointer; }
.phone-compose button:disabled { cursor: wait; opacity: .55; }
.phone-compose button:focus-visible, .phone-compose input:focus-visible { outline: 2px solid #c8aeff; outline-offset: 2px; }
.phone-home-indicator { align-self: center; width: 62px; height: 3px; margin-top: 7px; border-radius: 9px; background: rgba(255,255,255,.72); }
.phone-notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 25px;
  border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  z-index: 2;
}
.phone-notch::after {
  content: "";
  position: absolute;
  right: 10px; top: 50%;
  width: 7px; height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3a55, #05070a 70%);
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.8rem 1.1rem;
  border-radius: 16px;
  background: rgba(20, 24, 33, 0.88);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.float-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.float-card span { font-size: 0.76rem; color: var(--muted); }
.fc-1 { top: 14%; left: -4%; animation: float 6s ease-in-out infinite 0.4s; }
.fc-2 { bottom: 18%; right: -9%; animation: float 6.5s ease-in-out infinite 1.1s; }
.fc-2 strong { color: var(--accent-2); }

/* ---------- Marques ---------- */
.brands {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.9rem 0;
}
.brands-label {
  text-align: center;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.brands-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(244, 246, 250, 0.42);
}
.brands-list li { transition: color 0.25s ease; }
.brands-list li:hover { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 0.9rem; }
.section-sub { color: var(--muted); font-size: 1rem; }

.kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.grid { display: grid; gap: 1.2rem; }
.services-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.3rem;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.92rem; color: var(--muted); }

.card .price {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.card .price strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.card .price span { color: var(--muted); }

/* ---------- Tarifs ---------- */
.pricing {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.pricing thead th {
  padding: 1.1rem 1.2rem;
  text-align: left;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.pricing tbody th { font-weight: 700; }
.pricing tbody th,
.pricing tbody td {
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.pricing tbody td:last-child { color: var(--muted); white-space: nowrap; }
.pricing tbody tr { transition: background 0.2s ease; }
.pricing tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.pricing tbody tr:last-child th,
.pricing tbody tr:last-child td { border-bottom: 0; }

.pricing-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  font-size: 0.86rem;
  color: var(--muted);
  background: rgba(139, 92, 246, 0.06);
  border-top: 1px solid var(--line);
}
.pricing-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.steps li::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  right: -1.2rem;
  width: 1.2rem;
  height: 1px;
  background: var(--line-strong);
}
.steps li:last-child::after { display: none; }
.step-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.steps p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Avis ---------- */
.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.review {
  margin: 0;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.review:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.stars { color: #c4b5fd; letter-spacing: 0.16em; font-size: 0.95rem; }
.review blockquote {
  margin: 0;
  font-size: 0.95rem;
  color: #d6dce8;
  line-height: 1.65;
  flex: 1;
}
.review figcaption { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(160deg, #9d7bfa, #6d28d9);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  flex: none;
}
.review figcaption strong { display: block; font-size: 0.9rem; }
.review figcaption small { color: var(--muted); font-size: 0.78rem; }

/* ---------- FAQ ---------- */
.faq { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, 0.025); }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- Contact ---------- */
.section-contact { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2.2rem; }
.contact-info li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ci-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: var(--accent);
  flex: none;
}
.ci-icon svg { width: 20px; height: 20px; }
.contact-info strong { display: block; font-size: 0.88rem; margin-bottom: 0.1rem; }
.contact-info span, .contact-info a { font-size: 0.9rem; color: var(--muted); }
.contact-info a:hover { color: var(--accent); }

.contact-form {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.82rem; font-weight: 700; color: #cdd4e1; }
.field label small { font-weight: 500; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7889; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3b4' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field select option { background: #141821; color: var(--ink); }

.field.has-error input,
.field.has-error select { border-color: #ff5a5a; }
.error { font-size: 0.76rem; color: #ff7b7b; min-height: 0; }

.form-note { margin-top: 0.9rem; text-align: center; font-size: 0.78rem; color: var(--muted); }
.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(77, 212, 172, 0.1);
  border: 1px solid rgba(77, 212, 172, 0.35);
  color: #8ef0d2;
  font-size: 0.88rem;
}
.form-success svg { width: 18px; height: 18px; flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 4rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; color: var(--muted); max-width: 34ch; }
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #cfd6e4;
  margin-bottom: 1rem;
}
.site-footer nav { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer nav a { font-size: 0.88rem; color: var(--muted); transition: color 0.2s ease; }
.site-footer nav a:hover { color: var(--accent); }
.footer-addr { font-size: 0.88rem; color: var(--muted); line-height: 1.8; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: #6f7889;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* =========================================================
   Page formation
   ========================================================= */

.offer-card {
  position: relative;
  padding: 2rem 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), transparent 75%);
}
.offer-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.offer-price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.4rem;
}
.offer-price span { color: var(--accent); }
.offer-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.7rem;
  font-size: 0.9rem;
}
.offer-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: #cfd6e4; }
.offer-list svg { width: 18px; height: 18px; flex: none; color: var(--accent-2); margin-top: 2px; }
.offer-note { text-align: center; font-size: 0.72rem; color: var(--muted); margin-top: 0.8rem; }

.formation-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  padding: 0;
  margin: 0;
}
.formation-points li { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.formation-points li::before { content: "✓"; color: var(--accent-2); font-weight: 700; }

.kit-grid { grid-template-columns: repeat(4, 1fr); }
.kit-item {
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.kit-item h3 { font-size: 0.92rem; margin: 0 0 0.3rem; }
.kit-item p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.program-grid { grid-template-columns: repeat(3, 1fr); }
.program-grid .step-num { font-size: 1.1rem; }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.info-card {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.info-card span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.info-card strong { font-size: 0.95rem; }

@media (max-width: 1000px) {
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .kit-grid, .program-grid, .info-grid { grid-template-columns: 1fr; }
  .offer-price { font-size: 2.8rem; }
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 850px); gap: 0; }
  .hero { padding-top: calc(var(--header-h) + 3rem); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 1.25rem 1.6rem;
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 0.95rem 0.25rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1rem; }
  .site-header { background: rgba(9, 9, 11, 0.85); backdrop-filter: blur(16px); }
}

@media (max-width: 700px) {
  .section { padding: 4.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats { gap: 1.6rem; flex-wrap: wrap; }
  .pricing { overflow-x: auto; }
  .pricing table { min-width: 620px; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

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

/* =========================================================
   Animations & micro-interactions
   ========================================================= */

/* Apparition de la page */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
main { animation: pageIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Reveal enrichi (flou + léger zoom) */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* Titre du hero : dégradé qui ondule */
.hero h1 .hl {
  background-size: 220% 100%;
  animation: shimmerText 7s ease-in-out infinite;
}
@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Boutons : balayage lumineux au survol */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.3) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(0.98); }

/* Logo : petit rebond au survol */
.logo-mark {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.07);
}

/* Cartes : icône vivante */
.card > * { position: relative; z-index: 1; }
.card-icon {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}
.card:hover .card-icon { transform: translateY(-3px) scale(1.07) rotate(-4deg); }

/* Titres de section : barre qui se dessine */
.section-head h2 { position: relative; }
.section-head h2::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 0.6rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.section-head.is-visible h2::after { width: 72px; }

/* Étapes / chiffres */
.step-num { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease; }
.steps li:hover .step-num { transform: scale(1.1) rotate(-3deg); }

/* FAQ : ouverture en douceur */
.faq details[open] p { animation: faqIn 0.32s ease both; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}

/* Halo du hero : respiration */
.hero-glow { animation: glowDrift 16s ease-in-out infinite alternate; }
@keyframes glowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  to { transform: translate3d(-50px, 36px, 0) scale(1.12); opacity: 1; }
}

/* Tableau des tarifs */
.pricing tbody tr:hover { background: rgba(139, 92, 246, 0.07); }

/* Liens du footer */
.site-footer nav a { position: relative; }
.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.site-footer nav a:hover::after { transform: scaleX(1); }
.form-error { margin: 12px 0 0; color: #ff9ca7; font-size: .92rem; }
