/* =========================================================
   Halo — studio image & web
   Thème sombre, halos lumineux, accent ambré
   ========================================================= */

:root {
  --bg:        #08080A;
  --bg-alt:    #0D0D11;
  --surface:   #121216;
  --surface-2: #17171D;
  --text:      #F4F3F1;
  --muted:     #9C9CA6;
  --line:      rgba(244, 243, 241, .10);
  --line-2:    rgba(244, 243, 241, .18);

  --glow:      #FFB14D;
  --glow-2:    #FF7A3D;
  --glow-soft: rgba(255, 177, 77, .16);

  --radius:    16px;
  --radius-lg: 26px;

  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap:     1200px;
  --gutter:   clamp(18px, 4vw, 44px);
  --header-h: 74px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p  { margin: 0 0 1em; }

.wrap {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--gutter);
}

.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: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--glow); color: #14100A;
  padding: 12px 22px; border-radius: 0 0 12px 12px; text-decoration: none; font-weight: 500;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

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

/* ---------- Éléments communs ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 500; color: var(--muted); margin: 0 0 1.1rem;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--glow); box-shadow: 0 0 0 4px var(--glow-soft);
}

.btn {
  --btn-bg: var(--glow);
  --btn-fg: #16110A;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: .96rem; font-weight: 500;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s ease,
              background .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -10px rgba(255,177,77,.5); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(244,243,241,.06); box-shadow: none; }

.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-lg {
  padding: 18px 34px; font-size: 1.08rem;
  font-family: var(--display); font-weight: 500; letter-spacing: -0.01em;
}

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: auto 0 0; }
.chips li {
  font-size: .74rem; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(244,243,241,.03);
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header.is-stuck {
  height: 64px;
  background: rgba(8, 8, 10, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand {
  display: flex; align-items: center; gap: .75rem; text-decoration: none;
  position: relative; z-index: 2;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 3px solid var(--glow);
  box-shadow: 0 0 0 5px var(--glow-soft), 0 0 22px rgba(255,177,77,.45);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em;
}
.brand-text em {
  font-style: normal; font-size: .67rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }
.nav > a {
  text-decoration: none; font-size: .94rem; color: var(--muted);
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--glow);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.nav > a:not(.btn):hover { color: var(--text); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav > a.btn { color: var(--btn-fg); }

.burger {
  display: none; position: relative; z-index: 2;
  width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: 999px; background: rgba(244,243,241,.04); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  display: block; width: 18px; height: 1.6px; background: var(--text); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 12vw, 150px)) 0 clamp(70px, 10vw, 130px);
}
.hero-glow {
  position: absolute; z-index: 0; left: 50%; top: -18%;
  width: min(1100px, 130vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,177,77,.20), rgba(255,122,61,.07) 42%, transparent 66%);
  filter: blur(14px); pointer-events: none;
}
.hero-ring {
  position: absolute; z-index: 0; right: -14%; top: 8%;
  width: min(620px, 78vw); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,177,77,.22);
  box-shadow: inset 0 0 90px rgba(255,177,77,.10);
  pointer-events: none;
}
.hero-ring::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid rgba(244,243,241,.07);
}

.hero-inner { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2rem, 7.6vw, 5.2rem);
  font-weight: 600; max-width: 22ch; margin-bottom: 1.3rem;
  overflow-wrap: break-word;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--glow), var(--glow-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-lede {
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  color: var(--muted); max-width: 56ch; margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(44px, 7vw, 76px); }

.hero-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  font-size: .9rem; color: var(--muted);
}
.hero-trust li { display: flex; align-items: center; gap: .55rem; }
.hero-trust li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--glow); flex: none;
}
.hero-trust strong { color: var(--text); font-weight: 500; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 16px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 2.4rem; align-items: center;
  animation: slide 46s linear infinite;
  font-family: var(--display); font-size: 1.02rem; color: var(--text);
}
.marquee-track span:nth-child(even) { color: var(--glow); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(74px, 11vw, 150px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-lede { color: var(--muted); font-size: 1.06rem; margin-top: 1.2rem; }

/* ---------- Le constat ---------- */
.facts {
  display: grid; gap: clamp(20px, 3vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}
.fact {
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  position: relative;
}
.fact::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px;
  background: var(--glow); box-shadow: 0 0 14px rgba(255,177,77,.7);
}
.fact h3 { margin-bottom: .8rem; }
.fact p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Services ---------- */
.services {
  display: grid; gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.service {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  transition: transform .4s cubic-bezier(.2,.8,.3,1), border-color .4s ease, background .4s ease;
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(255,177,77,.38);
  background: var(--surface-2);
}
.service-n {
  font-family: var(--display); font-size: .82rem; letter-spacing: .12em;
  color: var(--glow); display: block; margin-bottom: 1.4rem;
}
.service h3 { margin-bottom: .9rem; font-size: 1.32rem; }
.service p { color: var(--muted); font-size: .97rem; margin-bottom: 1.6rem; }

.services-note {
  margin: clamp(30px, 4vw, 44px) 0 0;
  color: var(--muted); font-size: .97rem;
}
.services-note strong { color: var(--text); font-weight: 500; }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li {
  display: grid; grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(16px, 4vw, 48px); align-items: start;
  padding: clamp(26px, 3.4vw, 38px) 0;
  border-top: 1px solid var(--line);
  transition: background .3s ease;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li:hover .step-n { color: var(--glow); border-color: rgba(255,177,77,.45); }
.step-n {
  font-family: var(--display); font-size: 1.05rem; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line-2);
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  transition: color .3s ease, border-color .3s ease;
}
.steps h3 { margin-bottom: .5rem; font-size: 1.45rem; }
.steps p { color: var(--muted); margin: 0; max-width: 62ch; font-size: .99rem; }

/* ---------- Réalisations ---------- */
.case {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px); align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.case-media { position: relative; height: 100%; min-height: 280px; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-badge {
  position: absolute; top: 18px; left: 18px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(8,8,10,.78); border: 1px solid var(--line-2);
  color: var(--glow); padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.case-body { padding: clamp(26px, 3vw, 44px) clamp(26px, 3vw, 44px) clamp(26px, 3vw, 44px) 0; }
.case-body h3 { font-size: 1.5rem; margin-bottom: .9rem; }
.case-body p { color: var(--muted); font-size: .98rem; }
.case-body .chips { margin: 1.4rem 0; }
.case-note {
  font-size: .86rem; color: var(--muted); opacity: .8;
  padding-top: 1rem; border-top: 1px solid var(--line); margin: 0;
}

/* ---------- Équipe ---------- */
.team {
  display: grid; gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.member {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.8,.3,1), border-color .4s ease;
}
.member:hover { transform: translateY(-5px); border-color: rgba(255,177,77,.32); }

/* Portrait en vignette : volontairement compact, le texte prime. */
.member-photo {
  position: relative; overflow: hidden;
  width: clamp(132px, 38%, 184px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  margin-bottom: clamp(18px, 2.2vw, 26px);
}
.member-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.04);
  transition: transform .7s cubic-bezier(.2,.8,.3,1), filter .5s ease;
}
.member:hover .member-photo img { transform: scale(1.04); filter: saturate(1) contrast(1.04); }
/* amedee.jpg est déjà recadré en 4/5 ; joshua.jpg est carré et se recadre
   latéralement, le sujet restant centré. */

.member-body { padding: 0; }
.member-body h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.member-role {
  color: var(--glow); font-size: .85rem; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.member-body p { color: var(--muted); font-size: .96rem; }
.member-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.1rem 0 0; }
.member-links a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .86rem; color: var(--text); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(244,243,241,.03);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.member-links a:hover { color: var(--glow); border-color: rgba(255,177,77,.45); background: var(--glow-soft); }
.member-links svg { width: 15px; height: 15px; flex: none; }

.member-focus {
  margin: 1.2rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--text); opacity: .75;
}

/* ---------- Contact ---------- */
.section-contact {
  position: relative; overflow: hidden;
  background: var(--bg-alt); border-top: 1px solid var(--line);
  text-align: center;
}
.contact-glow {
  position: absolute; left: 50%; bottom: -55%; transform: translateX(-50%);
  width: min(1000px, 140vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,177,77,.22), rgba(255,122,61,.06) 45%, transparent 68%);
  filter: blur(10px); pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact-inner .eyebrow { justify-content: center; }
.contact-lede {
  color: var(--muted); font-size: 1.08rem;
  max-width: 56ch; margin: 1.5rem auto 2.4rem;
}
/* ---------- Formulaire de contact ---------- */
.contact-form {
  max-width: 760px; margin: 0 auto clamp(44px, 6vw, 68px);
  text-align: left;
  background: rgba(18, 18, 22, .82);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 42px);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-grid {
  display: grid; gap: 18px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend {
  font-size: .86rem; font-weight: 500; color: var(--text); padding: 0;
}
.req { color: var(--glow); }
.opt { color: var(--muted); font-weight: 400; font-size: .8rem; margin-left: .3rem; }

.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: .98rem; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .6; }
.field input:hover, .field textarea:hover { border-color: rgba(244,243,241,.28); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--glow);
  box-shadow: 0 0 0 4px var(--glow-soft);
}
/* erreurs signalées seulement après une tentative d'envoi, pas pendant la saisie */
.contact-form.was-submitted input:invalid,
.contact-form.was-submitted textarea:invalid { border-color: #FF6B5A; }

.field-choices { border: 0; margin: 0 0 22px; padding: 0; }
.field-choices legend { margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block;
  font-size: .88rem; color: var(--muted);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(244,243,241,.03);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.choice:hover span { color: var(--text); border-color: rgba(244,243,241,.3); }
.choice input:checked + span { color: #16110A; background: var(--glow); border-color: var(--glow); }
.choice input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 3px; }

.contact-form > .field { margin-bottom: 18px; }

.form-legal { font-size: .82rem; color: var(--muted); margin: 0 0 22px; }
.form-legal a { color: var(--glow); text-underline-offset: 3px; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-alt { margin: 0; font-size: .88rem; color: var(--muted); }
.form-alt a { color: var(--text); text-underline-offset: 3px; }
.form-alt a:hover { color: var(--glow); }

.form-status { margin: 18px 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-error {
  color: #FFB3A8; background: rgba(255,107,90,.08);
  border: 1px solid rgba(255,107,90,.3); border-radius: 12px; padding: 12px 16px;
}
.form-status.is-info {
  color: var(--text); background: rgba(255,177,77,.08);
  border: 1px solid rgba(255,177,77,.3); border-radius: 12px; padding: 12px 16px;
}

.form-success { text-align: center; padding: clamp(10px, 3vw, 24px) 0; }
.form-success .brand-mark { display: inline-block; margin-bottom: 1.4rem; }
.form-success h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.form-success h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: .9rem; }
.merci { min-height: 100vh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); }
.merci .contact-inner { width: 100%; }
.form-success p { color: var(--muted); margin: 0 auto; max-width: 46ch; }

.contact-meta {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(22px, 5vw, 64px);
}
.contact-meta li { display: flex; flex-direction: column; gap: .3rem; }
.contact-meta strong {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.contact-meta span { font-family: var(--display); font-size: 1.1rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg); padding: clamp(50px, 7vw, 76px) 0 38px; }
.footer-inner { display: grid; gap: 32px; }
.footer-brand { display: flex; align-items: flex-start; gap: .9rem; }
.footer-brand strong {
  font-family: var(--display); font-size: 1.35rem; display: block; margin-bottom: .35rem;
}
.footer-brand p { color: var(--muted); font-size: .94rem; margin: 0; max-width: 46ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a { text-decoration: none; font-size: .94rem; color: var(--muted); transition: color .2s ease; }
.footer-nav a:hover { color: var(--glow); }
.footer-legal {
  margin: 0; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted); opacity: .75;
}

/* ---------- Page mentions légales ---------- */
.site-header.is-solid {
  background: rgba(8, 8, 10, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.legal { padding: calc(var(--header-h) + clamp(44px, 6vw, 76px)) 0 clamp(60px, 8vw, 100px); }
.legal-wrap { max-width: 800px; }
.legal-head { margin-bottom: 2.4rem; }
.legal-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.3rem); }
.legal-updated { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }

.legal-callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--glow);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 3rem;
  font-size: .95rem; color: var(--muted);
}
.legal-callout strong { color: var(--glow); }

.legal-block { margin-bottom: 2.8rem; }
.legal-block h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  padding-bottom: .7rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.legal-block p { color: var(--muted); font-size: .97rem; }
.legal-block a { color: var(--glow); text-underline-offset: 3px; }

.legal-dl { margin: 0; display: grid; gap: .85rem; }
.legal-dl > div {
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 4px 20px;
  padding-bottom: .85rem; border-bottom: 1px dashed var(--line);
}
.legal-dl dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-dl dd { margin: 0; font-size: .97rem; }
.legal-hint { display: block; font-size: .85rem; color: var(--muted); font-style: italic; margin-top: .35rem; opacity: .85; }
p.legal-hint { margin-top: 1rem; }
.legal-back { margin-top: 3rem; }

/* ---------- Apparitions au défilement ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.2,.8,.3,1), transform .85s cubic-bezier(.2,.8,.3,1);
  transition-delay: calc(var(--d, 0) * 95ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  /* minmax(0,1fr) + min-height:0 : sinon le ratio de l'image impose à la
     colonne une largeur minimale qui fait déborder la carte. */
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-media { min-height: 0; aspect-ratio: 16 / 10; }
  .case-body { padding: clamp(24px, 4vw, 34px); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .burger { display: flex; }

  .nav {
    position: fixed; inset: 0 0 auto 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 18px) var(--gutter) 30px;
    background: rgba(8, 8, 10, .97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform .45s cubic-bezier(.2,.8,.3,1);
  }
  .nav.is-open { transform: translateY(0); }
  .nav > a { padding: 16px 0; font-size: 1.16rem; font-family: var(--display); }
  .nav > a + a { border-top: 1px solid var(--line); }
  .nav-cta { margin-top: 18px; align-self: flex-start; border: 0; }
  .nav > a.nav-cta { padding: 13px 26px; font-family: var(--sans); font-size: .95rem; }

  .hero-ring { right: -34%; top: 4%; }
  .hero-title { max-width: none; letter-spacing: -0.035em; }
  .hero-title br { display: none; }
  .hero-trust { gap: 10px 22px; font-size: .86rem; }
  .steps li { grid-template-columns: 1fr; gap: 14px; }
  .step-n { width: 46px; height: 46px; font-size: .95rem; }
  .btn-lg { padding: 16px 22px; font-size: .95rem; }
  .contact-meta { gap: 20px 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .legal-dl > div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
