/* ── Prisme — Intelligence économique sur sources ouvertes ──
   Identité « réfraction » (direction validée Cyril 12/06/2026,
   brief : rapports/DIRECTION_VISUELLE_PRISME.md)
   Fond aubergine chaud · prune signature #6D2350 · spectre
   #6D2350→#8A3FB0→#4F5BD5→#3B8EF0 en filets/dégradés, JAMAIS
   en aplat · serif éditorial (Fraunces) pour titres et grands
   chiffres · rondeur (pilules) · glows diffus · polices
   auto-hébergées (RGPD : zéro appel externe).
   ───────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette validée — hex exacts du brief */
  --bg:           #130B1A;
  --bg-card:      #180D20;
  --bg-card2:     #1C1022;
  --border:       rgba(160,111,192,0.18);
  --border-soft:  rgba(160,111,192,0.11);
  --prune:        #6D2350;
  --violet:       #8A3FB0;
  --indigo:       #4F5BD5;
  --azur:         #3B8EF0;
  --alerte:       #E2504A;
  /* Alias historiques (conservés pour compatibilité templates) :
     --blue = accent interactif (violet), --blue-light = accent clair */
  --blue:         #9B59C6;
  --blue-light:   #C08FE2;
  --blue-glow:    rgba(138,63,176,0.14);
  --grad-spectre: linear-gradient(90deg, #6D2350 0%, #8A3FB0 35%, #4F5BD5 68%, #3B8EF0 100%);
  --grad-accent:  linear-gradient(105deg, #E0A9EE 0%, #B673DC 32%, #8B7BE8 66%, #6FA8F5 100%);
  --grad-btn:     linear-gradient(135deg, #B6478A 0%, #8A50C4 55%, #6A4BD0 100%);
  --grad-border:  linear-gradient(135deg, rgba(224,169,238,0.5) 0%, rgba(138,63,176,0.14) 60%, rgba(79,91,213,0.05) 100%);
  --text:         #F4EEF7;
  --text-muted:   #C4B3D2;
  --text-dim:     #A98FBF;
  --white:        #ffffff;
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius:       16px;
  --radius-sm:    10px;
  --ease:         cubic-bezier(0.25, 0.6, 0.3, 1);
}

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

/* Base typographique : 17px (au lieu de 16) — tout le site est en rem,
   l'échelle entière monte d'un cran en gardant ses proportions (demande
   Cyril 12/06 : « légèrement plus gros, même cohérence »). */
html { scroll-behavior: smooth; font-size: 106.25%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
}

a { color: inherit; text-decoration: none; }

::selection { background: rgba(138,63,176,0.4); color: var(--white); }

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

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

/* ── TYPOGRAPHIE ──────────────────────────────────────────────
   Serif éditorial (display) pour h1/h2, wordmark et grands
   chiffres — gravité « cabinet ». Grotesque (Inter) pour le
   corps et les h3 d'interface. */

h1, h2 {
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: -0.012em;
  line-height: 1.16;
  text-wrap: balance;
  font-weight: 600;
}

h3 {
  color: var(--white);
  letter-spacing: -0.012em;
  line-height: 1.3;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.55rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-muted); line-height: 1.75; }

.text-center { text-align: center; }

/* Filet spectral — LA signature : le spectre en filet, jamais en aplat */
.filet-spectre {
  width: 88px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-spectre);
  opacity: 0.85;
}

/* ── FONDUS / RÉVÉLATION AU SCROLL ────────────────────────────
   Progressive enhancement : la classe .js est posée sur <html>
   par le script de base.html ; la classe .reveal est ajoutée
   par ce même script. Sans JS : rien n'est jamais masqué. */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js .reveal.in { opacity: 1; transform: none; }

/* Léger décalage en cascade dans les grilles */
.js .cards-grid   > .reveal:nth-child(2),
.js .pricing-grid > .reveal:nth-child(2),
.js .steps        > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .cards-grid   > .reveal:nth-child(3),
.js .pricing-grid > .reveal:nth-child(3),
.js .steps        > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .cards-grid   > .reveal:nth-child(4),
.js .pricing-grid > .reveal:nth-child(4),
.js .steps        > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Entrée du hero — CSS pur, fonctionne sans JS */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero > * { animation: fade-up 0.7s var(--ease) backwards; }
.hero > *:nth-child(2) { animation-delay: 0.08s; }
.hero > *:nth-child(3) { animation-delay: 0.16s; }
.hero > *:nth-child(4) { animation-delay: 0.24s; }
.hero > *:nth-child(5) { animation-delay: 0.34s; }

/* ── NAV ──────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 5%;
  height: 64px;
  background: rgba(19,11,26,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-logo svg { flex-shrink: 0; }
.nav-logo-mark { flex-shrink: 0; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.btn-nav {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  background: var(--grad-btn);
  background-size: 160% 160%;
  background-position: 0% 0%;
  color: var(--white) !important;
  border-radius: 100px;
  font-size: 0.875rem !important;
  font-weight: 500;
  transition: background-position 0.3s var(--ease), box-shadow 0.3s var(--ease) !important;
}

.btn-nav:hover {
  background-position: 100% 100%;
  box-shadow: 0 2px 16px rgba(138,63,176,0.35);
}

/* Hamburger (mobile) — CSS only, via checkbox */
.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle:focus-visible ~ .nav-actions .nav-burger {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

/* ── BOUTONS — pilules ────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--grad-btn);
  background-size: 160% 160%;
  background-position: 0% 0%;
  color: var(--white);
  transition: background-position 0.3s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-1px);
  box-shadow: 0 4px 26px rgba(138,63,176,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(192,143,226,0.22);
}
.btn-secondary:hover {
  border-color: rgba(192,143,226,0.45);
  background: rgba(138,63,176,0.07);
}

/* ── SECTIONS ─────────────────────────────────────────────── */

section { padding: 6.5rem 5%; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

/* ── HERO ─────────────────────────────────────────────────── */

.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}

/* Glows diffus : prune profond + violet, pointe d'azur — profondeur, pas de néon */
.hero::before {
  content: '';
  position: absolute;
  top: -22%;
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  height: 760px;
  background:
    radial-gradient(ellipse 58% 52% at 50% 36%, rgba(138,63,176,0.17) 0%, transparent 70%),
    radial-gradient(ellipse 42% 42% at 30% 22%, rgba(109,35,80,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 36% 36% at 74% 20%, rgba(59,142,240,0.07) 0%, transparent 65%);
  pointer-events: none;
  animation: none;
}

.hero > * { position: relative; }

.hero-logo {
  margin-bottom: 1.5rem;
}
.hero-logo-img {
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 32px rgba(138,63,176,0.35)) drop-shadow(0 0 12px rgba(59,142,240,0.20));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.05rem;
  background: rgba(138,63,176,0.10);
  border: 1px solid rgba(192,143,226,0.26);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 2.25rem;
}

.hero h1 { max-width: 820px; margin-bottom: 1.5rem; }

.hero h1 span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust {
  display: flex;
  gap: 1.75rem;
  margin-top: 4.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.trust-item svg { color: var(--blue); opacity: 0.85; }

/* ── BANDEAU OFFRE / GARANTIE ─────────────────────────────── */

.promo-banner {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 1.1rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(138,63,176,0.11) 0%, rgba(109,35,80,0.05) 100%);
  border: 1px solid rgba(192,143,226,0.28);
  border-radius: var(--radius);
}

.promo-banner strong { color: var(--text); }

.guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.75rem auto 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.guarantee-note svg { color: var(--blue-light); flex-shrink: 0; }

.guarantee-note strong { color: var(--text); }

/* ── CARTES SERVICES ──────────────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* Liseré dégradé au survol (cartes services + tarifs) */
.card::after,
.pricing-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.card:hover::after,
.pricing-card:hover::after { opacity: 1; }

.card:hover {
  border-color: rgba(192,143,226,0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(10,5,15,0.55);
}

.card-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-glow);
  border: 1px solid rgba(192,143,226,0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-light);
}

.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.9rem; }

.card-price {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--blue-light);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ── PROCESS ──────────────────────────────────────────────── */

.process {
  background:
    radial-gradient(ellipse 700px 320px at 85% 0%, rgba(138,63,176,0.06), transparent),
    var(--bg-card);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step { text-align: center; }

/* Grands chiffres en serif — élément signature, assumé GRAND */
.step-num {
  width: 64px;
  height: 64px;
  background: var(--blue-glow);
  border: 1px solid rgba(192,143,226,0.32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--blue-light);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 28px rgba(138,63,176,0.18);
}

.step h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.step p { font-size: 0.875rem; }

/* ── TARIFS ───────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* Survol harmonisé avec les cartes services (lift) */
.pricing-card:hover {
  border-color: rgba(192,143,226,0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(10,5,15,0.55);
}

.pricing-card.featured {
  border: 1px solid rgba(170,90,200,0.5);
  background: var(--bg-card2);
  box-shadow: 0 0 44px rgba(138,63,176,0.10);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.95rem;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 1;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}

/* Grands chiffres en serif — « le 400€ se lit comme une gravure » */
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.pricing-price span { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0; }

.pricing-desc { font-size: 0.875rem; margin-bottom: 1.5rem; }

.pricing-features { list-style: none; flex: 1; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.865rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { flex-shrink: 0; margin-top: 3px; color: var(--blue-light); }

.pricing-cta { margin-top: 1.5rem; }

/* ── SOURCES ──────────────────────────────────────────────── */

.sources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.source-tag {
  padding: 0.42rem 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.source-tag:hover { border-color: rgba(192,143,226,0.42); color: var(--text); }

/* ── FAQ ──────────────────────────────────────────────────── */

.faq-list { margin-top: 3rem; max-width: 720px; margin-left: auto; margin-right: auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-size: 1rem;
  font-weight: 550;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.faq-a { font-size: 0.9rem; }

/* ── FOOTER ───────────────────────────────────────────────── */

footer {
  padding: 3rem 5%;
  position: relative;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Filet spectral en signature de bas de page — le spectre, jamais en aplat */
footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(109,35,80,0.55) 18%,
    rgba(138,63,176,0.55) 42%,
    rgba(79,91,213,0.55) 64%,
    rgba(59,142,240,0.5) 84%,
    transparent 100%);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover { color: var(--text-muted); }

.footer-copy { font-size: 0.8rem; color: var(--text-dim); }

/* ── PAGES INTÉRIEURES ────────────────────────────────────── */

.page-hero {
  padding: 5.5rem 5% 3.5rem;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 540px;
  height: 540px;
  background:
    radial-gradient(ellipse, rgba(138,63,176,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 30% 70%, rgba(109,35,80,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero > * { position: relative; animation: fade-up 0.6s var(--ease) backwards; }
.page-hero > *:nth-child(2) { animation-delay: 0.07s; }
.page-hero > *:nth-child(3) { animation-delay: 0.14s; }

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 1rem; max-width: 720px; }
.page-hero p { max-width: 640px; }

.content-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.content-block h2 { font-size: 1.35rem; margin: 2.75rem 0 1rem; }
.content-block p { margin-bottom: 1rem; font-size: 0.95rem; }
.content-block ul { padding-left: 1.5rem; color: var(--text-muted); }
.content-block ul li { margin-bottom: 0.5rem; font-size: 0.95rem; }

/* Vignettes de l'exemple de rapport */
.demo-fig {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.demo-fig:hover {
  border-color: rgba(192,143,226,0.42);
  transform: translateY(-2px);
}

.demo-fig figcaption {
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

/* ── FORMULAIRES ──────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 940px;
  margin: 0 auto;
  padding-top: 2rem;
}

.contact-info h3 { margin-bottom: 0.75rem; }
.contact-info p { font-size: 0.9rem; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-detail svg { color: var(--blue-light); flex-shrink: 0; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.68rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-input::placeholder { color: var(--text-dim); }

.form-input:focus {
  border-color: rgba(192,143,226,0.5);
  box-shadow: 0 0 0 3px rgba(138,63,176,0.14);
}

select.form-input { appearance: none; }
textarea.form-input { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 768px) {
  section { padding: 4rem 5%; }
  .hero { min-height: 70vh; }
  .hero-trust { gap: 1rem 1.5rem; margin-top: 3rem; }

  /* Menu hamburger : panneau déroulant sous la barre */
  .nav-burger { display: flex; }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 5% 1rem;
    background: rgba(19,11,26,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-toggle:checked ~ .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-toggle:checked ~ .nav-actions .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-actions .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-actions .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-card { padding: 1.75rem; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
}

/* ── SCROLLBAR ────────────────────────────────────────────── */

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A1838; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3A2250; }
