/* =========================================================================
   OFFY — Design system partagé
   Marque conservée : violet #6C63FF · dégradé #7B5BF5 → #C850C0 · navy #1E2A4A
   Typo : Plus Jakarta Sans
   ========================================================================= */

:root {
  /* Marque (inchangée) */
  --violet: #6C63FF;
  --violet-600: #5a51f0;
  --gradient-start: #7B5BF5;
  --gradient-end: #C850C0;
  --gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  --gradient-soft: linear-gradient(135deg, rgba(123, 91, 245, 0.12), rgba(200, 80, 192, 0.12));

  --dark: #1E2A4A;
  --dark-2: #182239;
  --bg-light: #F5F6FA;
  --white: #ffffff;

  /* Échelle de gris raffinée (dérivée du navy) */
  --ink-900: #1E2A4A;
  --ink-700: #3a4566;
  --ink-500: #6b7593;
  --ink-400: #8c95b0;
  --line: rgba(30, 42, 74, 0.10);
  --line-strong: rgba(30, 42, 74, 0.16);

  --text: #1E2A4A;
  --text-muted: rgba(30, 42, 74, 0.66);

  /* Surfaces */
  --surface: #ffffff;
  --surface-muted: #F5F6FA;

  /* Élévation */
  --shadow-xs: 0 1px 2px rgba(30, 42, 74, 0.06);
  --shadow: 0 4px 24px rgba(30, 42, 74, 0.08);
  --shadow-md: 0 10px 30px rgba(30, 42, 74, 0.10);
  --shadow-lg: 0 18px 48px rgba(108, 99, 255, 0.16);
  --glow: 0 8px 28px rgba(200, 80, 192, 0.28);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --header-h: 76px;
  --container: 1180px;

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }

::selection { background: rgba(123, 91, 245, 0.22); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 820px; }

/* ---- Typographie utilitaire ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.18; color: var(--dark); font-weight: 800; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.55rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(108, 99, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.55); transform: translateY(-2px); }
.btn-soft {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-soft:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--violet); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---- Focus visible (accessibilité) ---- */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(108, 99, 255, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(30, 42, 74, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled { background: rgba(24, 34, 57, 0.96); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 0.32rem 0.7rem;
  line-height: 0;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.logo:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); transform: translateY(-1px); }
.logo__img { height: 42px; width: auto; object-fit: contain; }

.nav { display: none; align-items: center; gap: 2rem; }
.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px; width: 0;
  border-radius: 2px;
  background: var(--gradient);
  transition: width 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header__actions .btn { padding: 0.55rem 1.3rem; font-size: 0.875rem; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--dark-2);
  padding: 1.25rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 1rem; }

@media (min-width: 940px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

/* =========================================================================
   Sections génériques
   ========================================================================= */
.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--muted { background: var(--surface-muted); }
.section--white { background: var(--white); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.25rem; }
.section-header h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); margin-bottom: 0.85rem; }
.section-header p { color: var(--text-muted); font-size: 1.075rem; }

/* Badges / pills de confiance */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--gradient-soft);
  color: var(--violet);
  border: 1px solid rgba(108, 99, 255, 0.18);
}
.pill svg { width: 15px; height: 15px; }

/* =========================================================================
   Hero (accueil)
   ========================================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 80, 192, 0.20), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(123, 91, 245, 0.18), transparent 55%),
    linear-gradient(165deg, #20183f 0%, var(--dark) 60%, var(--dark-2) 100%);
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
.hero__content { text-align: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #46e3a0; box-shadow: 0 0 0 3px rgba(70, 227, 160, 0.25); }

.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 .gradient-text {
  background: linear-gradient(120deg, #c9b8ff, #ff9be6);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__subtitle {
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

.hero__trust {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: center;
}
.hero__trust span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.78);
}
.hero__trust svg { width: 17px; height: 17px; stroke: #46e3a0; }

/* Visuel / mockup flottant */
.hero__visual { position: relative; perspective: 1400px; }
.mockup {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-12px); } }
.mockup__bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 0.9rem; background: #f3f1fb; border-bottom: 1px solid var(--line); }
.mockup__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mockup__bar i:nth-child(1) { background: #ff6b6b; }
.mockup__bar i:nth-child(2) { background: #ffd166; }
.mockup__bar i:nth-child(3) { background: #46e3a0; }
.mockup__body { padding: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.mockup__kpi { background: var(--surface-muted); border-radius: var(--radius-sm); padding: 0.85rem; border: 1px solid var(--line); }
.mockup__kpi small { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.mockup__kpi strong { display: block; font-size: 1.35rem; color: var(--dark); margin-top: 2px; }
.mockup__kpi .trend { font-size: 0.72rem; font-weight: 700; color: #1f9d63; }
.mockup__chart { grid-column: 1 / -1; background: var(--surface-muted); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.9rem; display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.mockup__chart span { flex: 1; border-radius: 4px 4px 0 0; background: var(--gradient); opacity: 0.85; }
.mockup__chart span:nth-child(1){height:40%}.mockup__chart span:nth-child(2){height:65%}.mockup__chart span:nth-child(3){height:50%}.mockup__chart span:nth-child(4){height:85%}.mockup__chart span:nth-child(5){height:70%}.mockup__chart span:nth-child(6){height:95%}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.8rem 1rem;
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.82rem; font-weight: 700; color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.floating-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gradient); flex-shrink: 0; }
.floating-card .ic svg { width: 18px; height: 18px; stroke: #fff; }
.floating-card--1 { top: 8%; left: -6%; animation: floaty2 6s ease-in-out infinite; }
.floating-card--2 { bottom: 10%; right: -5%; animation: floaty2 5.5s ease-in-out 0.8s infinite; }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (min-width: 992px) {
  .hero { padding: calc(var(--header-h) + 4.5rem) 0 5.5rem; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .hero__content { text-align: left; }
  .hero__subtitle { margin-left: 0; }
  .hero__cta, .hero__trust { justify-content: flex-start; }
}

/* =========================================================================
   Trust bar (logos / réassurance)
   ========================================================================= */
.trustbar { padding: 2.25rem 0; background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__label { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 1.25rem; }
.trustbar__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.5rem; }
.trustbar__item { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; color: var(--ink-500); font-size: 1.05rem; opacity: 0.85; }
.trustbar__item svg { width: 22px; height: 22px; stroke: var(--violet); }

/* =========================================================================
   Cartes fonctionnalités
   ========================================================================= */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.feature-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(108, 99, 255, 0.22); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--gradient);
  border-radius: 15px;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.28);
}
.feature-card__icon svg { width: 26px; height: 26px; stroke: var(--white); fill: none; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.94rem; color: var(--text-muted); }
.feature-card .pill { margin-top: 0.9rem; }

/* Cartes "pourquoi" centrées */
.why-card { text-align: center; padding: 2.1rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card__icon { width: 66px; height: 66px; margin: 0 auto 1.25rem; display: grid; place-items: center; background: var(--gradient-soft); border-radius: 50%; }
.why-card__icon svg { width: 32px; height: 32px; stroke: var(--violet); fill: none; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.94rem; color: var(--text-muted); }

/* =========================================================================
   Stats
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat__num { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.stat__label { margin-top: 0.5rem; font-size: 0.92rem; color: var(--text-muted); font-weight: 600; }

/* =========================================================================
   Témoignages
   ========================================================================= */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial__stars { display: flex; gap: 2px; color: #FFB020; }
.testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.testimonial__quote { font-size: 1rem; color: var(--ink-700); line-height: 1.7; }
.testimonial__author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--gradient); flex-shrink: 0; }
.testimonial__author b { display: block; font-size: 0.92rem; color: var(--dark); }
.testimonial__author small { color: var(--text-muted); font-size: 0.82rem; }

/* =========================================================================
   Bande CTA
   ========================================================================= */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3.25rem 2rem;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(255,255,255,0.16), transparent 60%),
    var(--gradient);
  overflow: hidden;
  box-shadow: var(--glow);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 0.85rem; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.05rem; }
.cta-band .btn-soft { background: var(--white); }
.cta-band .hero__cta { justify-content: center; }

/* =========================================================================
   Formulaire de contact
   ========================================================================= */
.contact__wrapper { max-width: 600px; margin: 0 auto; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; text-align: left; }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.form-group .req { color: var(--gradient-end); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--violet); background: #fff;
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.14);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* Case à cocher consentement RGPD */
.consent { display: flex; align-items: flex-start; gap: 0.7rem; }
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px; background: var(--surface-muted);
  cursor: pointer; position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.consent input[type="checkbox"]:checked { background: var(--gradient); border-color: transparent; }
.consent input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.consent label { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; cursor: pointer; }
.consent a { color: var(--violet); font-weight: 700; }
.consent a:hover { text-decoration: underline; }

.form-note { font-size: 0.82rem; color: var(--ink-400); }

/* =========================================================================
   Hero pages intérieures
   ========================================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3.25rem;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(200, 80, 192, 0.18), transparent 60%),
    linear-gradient(165deg, #20183f 0%, var(--dark) 70%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #d9ccff; justify-content: center; }
.page-hero .eyebrow::before { background: linear-gradient(120deg, #c9b8ff, #ff9be6); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; font-size: 0.84rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.breadcrumb a { color: rgba(255,255,255,0.8); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { border-color: transparent; box-shadow: var(--shadow-lg); background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient) border-box; border: 2px solid transparent; }
.price-card__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; padding: 0.3rem 0.9rem; border-radius: var(--radius-pill); box-shadow: var(--glow); }
.price-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.price-card__desc { font-size: 0.88rem; color: var(--text-muted); min-height: 2.6em; }
.price-card__price { display: flex; align-items: baseline; gap: 0.35rem; margin: 1.1rem 0 0.25rem; }
.price-card__price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--dark); }
.price-card__price .period { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.price-card__note { font-size: 0.8rem; color: var(--ink-400); margin-bottom: 1.4rem; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.6rem; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-700); }
.price-card li svg { width: 18px; height: 18px; stroke: #1f9d63; flex-shrink: 0; margin-top: 2px; }
.price-card li.muted { color: var(--ink-400); }
.price-card li.muted svg { stroke: var(--ink-400); }

/* =========================================================================
   FAQ / accordéon
   ========================================================================= */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); overflow: hidden; transition: border-color 0.25s var(--ease); }
.faq-item[open] { border-color: rgba(108, 99, 255, 0.3); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700; color: var(--dark); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.3s var(--ease); stroke: var(--violet); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item__body { padding: 0 1.35rem 1.25rem; color: var(--text-muted); font-size: 0.96rem; line-height: 1.7; }

/* =========================================================================
   Pages contenu (légal, à propos)
   ========================================================================= */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 2.25rem 0 0.85rem; }
.prose h3 { font-size: 1.1rem; margin: 1.6rem 0 0.6rem; color: var(--ink-700); }
.prose p, .prose li { color: var(--ink-700); font-size: 0.985rem; line-height: 1.8; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; }
.prose a { color: var(--violet); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--dark); }
.prose .placeholder { background: rgba(255, 176, 32, 0.16); color: #8a5a00; padding: 0.05em 0.4em; border-radius: 5px; font-weight: 700; font-size: 0.9em; }
.prose__updated { font-size: 0.85rem; color: var(--ink-400); margin-bottom: 2rem; }

/* Bloc valeurs / about */
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-xs); }
.value-card__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--gradient-soft); margin-bottom: 1rem; }
.value-card__icon svg { width: 26px; height: 26px; stroke: var(--violet); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 1rem; }
.split p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.02rem; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.65rem; color: var(--ink-700); font-weight: 600; }
.checklist svg { width: 22px; height: 22px; stroke: #fff; background: var(--gradient); border-radius: 50%; padding: 4px; flex-shrink: 0; }

.media-frame {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background:
    radial-gradient(500px 240px at 80% 0%, rgba(200,80,192,0.18), transparent 60%),
    linear-gradient(165deg, #221a44, var(--dark));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

/* Offres d'emploi */
.job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-xs); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(108,99,255,0.25); }
.job__info h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.job__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.job__meta svg { width: 15px; height: 15px; stroke: var(--violet); }

/* =========================================================================
   Footer (riche, partagé)
   ========================================================================= */
.footer { background: var(--dark-2); color: rgba(255, 255, 255, 0.66); padding: 3.5rem 0 1.75rem; font-size: 0.92rem; }
.footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .logo { margin-bottom: 1.1rem; }
.footer__brand p { max-width: 320px; line-height: 1.7; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.08); transition: background 0.25s var(--ease), transform 0.25s var(--ease); }
.footer__social a:hover { background: var(--violet); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
.footer__col h4 { color: #fff; font-size: 0.92rem; letter-spacing: 0.02em; margin-bottom: 1rem; font-weight: 700; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a { transition: color 0.2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; align-items: center; justify-content: space-between; font-size: 0.84rem; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }
.footer__bottom a:hover { color: #fff; }

/* =========================================================================
   Animations d'apparition
   ========================================================================= */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.08s; }
.fade-in-delay-2 { transition-delay: 0.16s; }
.fade-in-delay-3 { transition-delay: 0.24s; }
.fade-in-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fade-in { opacity: 1; transform: none; }
}
