@import "tailwindcss";

/* ============================================================
   INTERNET CONSEIL RÉUNION — globals.css (version Next.js)
   Système de design porté de la version HTML : hero sombre animé,
   corps clair, accent bleu électrique unique.
   Les composants React utilisent ces classes (voir src/components).
   ============================================================ */

/* ------------------------------------------------------------
   1. VARIABLES (tokens de design)
   ------------------------------------------------------------ */
:root {
  --bg:           #f7f9fc;
  --bg-alt:       #eef2f9;
  --surface:      #ffffff;
  --ink:          #0c1222;
  --muted:        #4b5565;
  --line:         #dde4ef;

  --accent:       #1f6ff5;
  --accent-dark:  #1857c9;
  --accent-soft:  #e8f0fe;
  --accent-light: #69b4ff;

  --dark:         #060a18;
  --dark-2:       #0a1230;
  --on-dark:      #eaf0fb;
  --on-dark-muted:#9fb0cd;

  --font: var(--font-outfit), system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-surface: 16px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(16, 38, 84, .07);
  --shadow-md: 0 14px 40px rgba(16, 38, 84, .12);

  --z-header: 100;
  --z-menu: 110;
  --z-modal: 200;
}

/* ------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------ */
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

section[id], footer[id], article[id], form[id] { scroll-margin-top: 90px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

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

/* ------------------------------------------------------------
   3. BOUTONS (pilule)
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .98rem;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost {
  border: 1.5px solid rgba(234, 240, 251, .55);
  color: var(--on-dark);
  background: none;
}
.btn-ghost:hover { border-color: #fff; color: #fff; }

.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--accent-soft); color: var(--accent-dark); }

.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: none;
  padding: 10px 22px;
  font-size: .92rem;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ------------------------------------------------------------
   4. HEADER STICKY + NAVIGATION
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(6, 10, 24, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .85);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(105, 180, 255, .45);
  box-shadow: 0 0 14px rgba(31, 111, 245, .35);
  flex: none;
}
.brand-name {
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -.01em;
  color: #fff;
  transition: color .3s ease;
}
.brand-sub { color: var(--accent-light); }
.site-header.scrolled .brand-name { color: var(--ink); }
.site-header.scrolled .brand-sub { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul a {
  font-size: .94rem;
  font-weight: 500;
  color: rgba(234, 240, 251, .85);
  transition: color .2s ease;
}
.site-nav ul a:hover { color: #fff; }
.site-header.scrolled .site-nav ul a { color: var(--muted); }
.site-header.scrolled .site-nav ul a:hover { color: var(--ink); }

.nav-cta { padding: 10px 20px; font-size: .9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
.site-header.scrolled .nav-toggle { color: var(--ink); }

/* ------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  margin-top: -68px;
  padding-top: 68px;
  color: var(--on-dark);
}

.hero-bg {
  position: absolute;
  inset: -4%;
  background:
    radial-gradient(58% 72% at 26% 40%, rgba(4, 8, 20, .78) 0%, rgba(4, 8, 20, .35) 55%, transparent 75%),
    linear-gradient(180deg, rgba(4, 8, 20, .55) 0%, rgba(4, 8, 20, .12) 45%, rgba(4, 8, 20, .25) 100%),
    url("/img/background.jpg") center / cover no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.04);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  padding-block: 96px 72px;
}

.eyebrow {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-light);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.grad-text {
  background: linear-gradient(92deg, #5aa2ff, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--on-dark-muted);
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { align-self: center; }
.frame {
  margin: 0;
  border-radius: var(--r-surface);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 30px 80px rgba(2, 6, 18, .55);
  background: rgba(255, 255, 255, .06);
  padding: 10px;
}
.frame img { border-radius: calc(var(--r-surface) - 6px); width: 100%; height: auto; }

/* ------------------------------------------------------------
   6. BÉNÉFICES
   ------------------------------------------------------------ */
.benefits { background: var(--bg); border-bottom: 1px solid var(--line); }
.benefits-row { display: grid; gap: 28px; padding-block: 44px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon { color: var(--accent); flex: none; margin-top: 2px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------
   7. SECTIONS GÉNÉRIQUES
   ------------------------------------------------------------ */
.section { padding-block: 96px; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.section-note { margin: 40px 0 0; font-weight: 500; color: var(--accent-dark); }

/* ------------------------------------------------------------
   8. BENTO IA
   ------------------------------------------------------------ */
.bento { display: grid; gap: 20px; }

.bento-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  padding: 32px 30px;
}
.cell-icon { color: var(--accent); }
.bento-cell h3 { font-size: 1.18rem; margin: 14px 0 8px; }
.bento-cell p { margin: 0; color: var(--muted); font-size: .97rem; }

.bento-feature {
  background:
    radial-gradient(120% 140% at 85% 110%, rgba(31, 111, 245, .45), transparent 60%),
    radial-gradient(90% 110% at 10% -10%, rgba(105, 180, 255, .25), transparent 55%),
    var(--dark-2);
  border-color: rgba(255, 255, 255, .1);
  color: var(--on-dark);
}
.bento-feature .cell-icon { color: var(--accent-light); }
.bento-feature p { color: var(--on-dark-muted); }

.bento-tinted { background: var(--accent-soft); border-color: #cfdffc; }

/* ------------------------------------------------------------
   9. SERVICES
   ------------------------------------------------------------ */
.cards-grid { display: grid; gap: 20px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  padding: 30px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c9d8f5;
}
.card h3 { font-size: 1.14rem; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .92rem;
}
.card-link svg { transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ------------------------------------------------------------
   10. RÉALISATIONS
   ------------------------------------------------------------ */
.projects-grid { display: grid; gap: 24px; }

.project {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.project-media, .ref-media {
  margin: 0;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(120% 120% at 20% 100%, rgba(31, 111, 245, .55), transparent 60%),
    radial-gradient(100% 100% at 90% 0%, rgba(105, 180, 255, .35), transparent 55%),
    var(--dark-2);
}
.project-media { aspect-ratio: 3 / 2; }
.ref-media { aspect-ratio: 16 / 10; }

.project-media::after, .ref-media::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(234, 240, 251, .8);
  z-index: 0;
}
.project-media::after { font-size: 3rem; }
.ref-media::after { font-size: 2rem; }

.project-media img, .ref-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.project-media img { transition: transform .4s ease; }
.project:hover .project-media img { transform: scale(1.04); }
.project-media img.is-broken, .ref-media img.is-broken { display: none; }

.project-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.project-type { font-size: .85rem; font-weight: 600; color: var(--accent-dark); margin-bottom: 6px; }
.project h3 { font-size: 1.3rem; margin-bottom: 10px; }
.project-body > p:not(.project-type) { color: var(--muted); font-size: .97rem; flex: 1; }
.project-body .btn { align-self: flex-start; margin-top: 8px; }

/* Autres références */
.refs-head { margin: 64px 0 28px; font-size: 1.25rem; letter-spacing: -.01em; }
.refs-grid { display: grid; gap: 18px; }

.ref {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-surface);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ref:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.ref-body { padding: 18px 20px 20px; }
.ref-body h4 { font-size: 1.02rem; margin: 0 0 4px; }
.ref-type { font-size: .8rem; font-weight: 600; color: var(--accent-dark); margin-bottom: 6px; }
.ref-body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.ref-body a { font-weight: 600; font-size: .88rem; }

/* ------------------------------------------------------------
   11. CARROUSEL LOGOS
   ------------------------------------------------------------ */
.trust {
  padding-block: 72px;
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.trust h2 {
  text-align: center;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  margin-bottom: 40px;
  color: var(--ink);
}
.logo-marquee {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.logo-marquee:hover { animation-play-state: paused; }

.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}
.logo-track img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .3s ease, opacity .3s ease;
}
.logo-track img:hover { filter: none; opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   12. POURQUOI
   ------------------------------------------------------------ */
.why-grid { display: grid; gap: 36px; }

.why-item { border-top: 2px solid var(--accent); padding-top: 22px; }
.why-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.why-icon { color: var(--accent); flex: none; }
.why-item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ------------------------------------------------------------
   13. BANDEAU AUDIT
   ------------------------------------------------------------ */
.audit-band {
  background:
    radial-gradient(110% 160% at 85% 120%, rgba(105, 180, 255, .35), transparent 55%),
    linear-gradient(120deg, #123a8f, var(--accent-dark));
  color: #fff;
  padding-block: 88px;
}
.audit-inner { max-width: 760px; text-align: center; margin-inline: auto; }
.audit-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.audit-band p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.audit-band .btn { margin-block: 14px 18px; }
.audit-note { font-size: .92rem; color: rgba(255, 255, 255, .7); margin: 0; }

/* ------------------------------------------------------------
   14. PROCESS : timeline
   ------------------------------------------------------------ */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
  position: relative;
}

.step { position: relative; padding-left: 64px; }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 20px;
  width: 2px;
  background: var(--line);
}

/* ------------------------------------------------------------
   15. FOOTER / CONTACT + FORMULAIRE
   ------------------------------------------------------------ */
.site-footer {
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(31, 111, 245, .18), transparent 60%),
    radial-gradient(70% 60% at 10% 100%, rgba(105, 180, 255, .12), transparent 55%),
    var(--dark);
  color: var(--on-dark-muted);
  padding-top: 96px;
}

.footer-cta {
  text-align: center;
  max-width: 760px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  letter-spacing: -.02em;
}
.footer-cta > p { font-size: 1.05rem; margin-bottom: 28px; }

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 28px 8px;
  display: grid;
  gap: 18px;
  text-align: left;
}
.form-row { display: grid; gap: 18px; }

.form-field { display: grid; gap: 7px; }
.form-field label { font-size: .9rem; font-weight: 600; color: var(--on-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: .96rem;
  color: var(--on-dark);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(159, 176, 205, .75); }
.form-field select option { color: var(--ink); background: #fff; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
  border-color: transparent;
}
.form-field textarea { min-height: 130px; resize: vertical; }

.form-actions { text-align: center; margin-top: 6px; }
.form-actions .btn { min-width: 260px; }
.form-note { margin: 12px 0 0; font-size: .85rem; color: var(--on-dark-muted); text-align: center; }

.footer-grid { display: grid; gap: 40px; padding-block: 56px; }
.footer-brand { font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--accent-light); }
.footer-text { font-size: .93rem; margin: 0; max-width: 38ch; }

.footer-col h3 {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col li { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.footer-ico { color: var(--accent-light); flex: none; }
.footer-col a { color: var(--on-dark-muted); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  font-size: .87rem;
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------
   16. POPUP DEVIS
   ------------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 0;
  cursor: default;
}

.modal-card {
  position: relative;
  max-width: 440px;
  width: 100%;
  border-radius: var(--r-surface);
  padding: 40px 34px 32px;
  text-align: center;
  color: var(--on-dark);
  background:
    radial-gradient(120% 140% at 85% 110%, rgba(31, 111, 245, .5), transparent 60%),
    radial-gradient(90% 110% at 10% -10%, rgba(105, 180, 255, .28), transparent 55%),
    var(--dark-2);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(2, 6, 18, .6);
  animation: modal-in .35s cubic-bezier(.16, 1, .3, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 0;
  color: var(--on-dark-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}
.modal-close:hover { color: #fff; }

.modal-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  margin-bottom: 16px;
}
.modal-card h3 { font-size: 1.35rem; color: #fff; margin-bottom: 10px; }
.modal-card p { color: var(--on-dark-muted); font-size: .98rem; margin-bottom: 22px; }
.modal-card .btn { display: block; width: 100%; }

.modal-dismiss {
  background: none;
  border: 0;
  margin-top: 14px;
  color: var(--on-dark-muted);
  font-size: .88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.modal-dismiss:hover { color: #fff; }

/* ------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------ */
@media (min-width: 640px) {
  .benefits-row { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .bento { grid-template-columns: 1.35fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }

  .timeline { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .step { padding-left: 0; padding-top: 64px; }
  .step-num { top: 0; left: 0; }
  .timeline::before {
    left: 22px;
    right: 22px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 64px;
    padding-block: 120px 96px;
  }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .refs-grid { grid-template-columns: repeat(3, 1fr); }

  .projects-grid { grid-template-columns: 1.15fr 1fr; }
  .project-featured { grid-row: span 2; }
  .project-featured .project-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
}

@media (max-width: 1079.98px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    z-index: var(--z-menu);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px 20px 24px;
    background: rgba(8, 12, 28, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a {
    display: block;
    padding: 11px 4px;
    font-size: 1.05rem;
    color: var(--on-dark);
  }
  .nav-cta { text-align: center; margin-top: 8px; }
  .site-header.scrolled .site-nav ul a { color: var(--on-dark); }
}

/* ------------------------------------------------------------
   18. ACCESSIBILITÉ : réduction des animations
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .project, .ref, .project-media img, .btn { transition: none; }
  .hero-bg { transform: none; }
  .hero-canvas { display: none; }
  .logo-marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logo-track[aria-hidden="true"] { display: none; }
  .modal-card { animation: none; }
}
