/* =========================================================
   Halo — studio image & web
   Direction éditoriale sombre : grotesque nette, filets, grain, ambre en touches
   ========================================================= */

:root {
  --bg:        #2A2927;   /* anthracite chaud, éclairci deux fois à la demande */
  --bg-alt:    #302F2C;
  --surface:   #373633;
  --surface-2: #3F3E3A;
  --text:      #F6F3EE;
  --muted:     #BDB6AC;
  --line:      rgba(246, 243, 238, .13);
  --line-2:    rgba(246, 243, 238, .22);

  --glow:      #FFB14D;   /* ambre du logo : réservé aux accents */
  --glow-soft: rgba(255, 177, 77, .14);

  --radius:    10px;
  --radius-lg: 14px;

  --titre:   "Inter Tight", "Inter", -apple-system, "Segoe UI", sans-serif;   /* titres */
  --display: "Space Grotesk", "Segoe UI", sans-serif;   /* uniquement le mot « Halo » */
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap:     1240px;
  --gutter:   clamp(20px, 4.5vw, 56px);
  --header-h: 78px;
  --ease:     cubic-bezier(.2, .8, .2, 1);
}

/* ---------- 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: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain photographique très léger sur toute la page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
/* les blocs démarrent décalés vers la droite avant de glisser : on coupe ce qui dépasse,
   sans créer de conteneur de défilement (contrairement à overflow: hidden) */
main { overflow-x: clip; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.3rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
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: 400; background: var(--glow); color: #14100A;
  padding: 12px 22px; border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 500;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 1.5px solid var(--glow); outline-offset: 4px; border-radius: 4px; }

::selection { background: var(--glow); color: #14100A; }

/* ---------- Éléments communs ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 500; color: var(--muted); margin: 0 0 1.6rem;
}
.eyebrow--line::before {
  content: ""; width: 34px; height: 1px; background: var(--glow); opacity: .8;
}
.idx {
  font-family: var(--titre); font-style: normal; font-weight: 500; font-size: .8rem;
  letter-spacing: 0; text-transform: none; color: var(--glow);
  display: inline-flex; align-items: center; gap: .9rem;
}
.idx::after { content: ""; width: 26px; height: 1px; background: var(--line-2); }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--glow); box-shadow: 0 0 0 4px var(--glow-soft);
}

.btn {
  --btn-bg: var(--glow);
  --btn-fg: #14100A;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  padding: 15px 28px; border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s ease,
              background .3s ease, border-color .3s ease, color .3s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -16px rgba(255,177,77,.55); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: rgba(246,243,238,.4); box-shadow: none; }

.btn-sm { padding: 10px 20px; font-size: .84rem; }
.btn-lg { padding: 18px 34px; font-size: .98rem; }


/* ---------- 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 .4s ease, box-shadow .4s ease, height .4s var(--ease);
}
.site-header.is-stuck,
.site-header.is-solid {
  background: rgba(42, 41, 39, .84);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-stuck { height: 66px; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand {
  display: flex; align-items: center; gap: .8rem; text-decoration: none;
  position: relative; z-index: 2;
}
.brand-mark {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  border: 2.5px solid var(--glow);
  box-shadow: 0 0 0 5px var(--glow-soft), 0 0 20px rgba(255,177,77,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--display); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.03em;
}
.brand-text em {
  font-style: normal; font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav > a {
  text-decoration: none; font-size: .86rem; letter-spacing: .01em; color: var(--muted);
  position: relative; padding: 4px 0; transition: color .25s ease;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--glow);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.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); padding: 10px 20px; }
.nav > a.is-active { color: var(--text); }
.nav > a.is-active::after { transform: scaleX(1); }

/* barre de progression de lecture */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; overflow: hidden; }
.progress span {
  display: block; height: 100%; background: var(--glow);
  transform: scaleX(0); transform-origin: left; will-change: transform;
}

/* petite flèche qui avance au survol */
.fleche { display: inline-block; transition: transform .35s var(--ease); }
a:hover .fleche, button:hover .fleche { transform: translateX(4px); }

.burger {
  display: none; position: relative; z-index: 2;
  width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: 999px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  display: block; width: 18px; height: 1.4px; background: var(--text); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(80px, 13vw, 170px)) 0 clamp(80px, 10vw, 130px);
  border-bottom: 1px solid var(--line);
}
.hero-glow {
  position: absolute; z-index: 0; right: -10%; top: -20%;
  width: min(1000px, 120vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,177,77,.13), rgba(255,177,77,.035) 45%, transparent 68%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2.35rem, 6.6vw, 5.4rem);
  line-height: 1.03; letter-spacing: -0.034em; font-weight: 400;
  max-width: 17ch; margin-bottom: 2rem;
  overflow-wrap: break-word;
}
.hero-title em { font-style: italic; font-weight: 300; color: var(--glow); }

.hero-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem); font-weight: 300;
  color: var(--muted); max-width: 50ch; margin-bottom: 2.6rem;
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px;
  margin-bottom: 0;
}

/* « Vous parlez directement avec nous deux » */
.hero-hosts {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: .86rem; line-height: 1.35; text-decoration: none;
  transition: color .3s ease;
}
.hero-hosts:hover { color: var(--text); }
.avatars { display: flex; }
.avatars img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--bg); transition: margin .4s var(--ease), transform .4s var(--ease);
}
.avatars img + img { margin-left: -14px; }
.hero-hosts:hover .avatars img + img { margin-left: -4px; }
.hero-hosts:hover .avatars img:first-child { transform: rotate(-4deg); }

/* halo qui suit la souris dans le haut de page */
.hero-spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 70%) var(--my, 35%), rgba(255,177,77,.11), transparent 62%);
  opacity: 0; transition: opacity .8s ease;
}
.hero.is-pointer .hero-spot { opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(52px, 7vw, 88px); }
.section-lede { color: var(--muted); font-size: 1.05rem; font-weight: 300; margin-top: 1.5rem; max-width: 58ch; }

/* ---------- Le constat ---------- */
.facts {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.fact { padding-top: 30px; border-top: 1px solid var(--line-2); position: relative; }
.fact::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--glow);
}
.fact h3 { margin-bottom: 1rem; }
.fact p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Services ---------- */
.services {
  display: grid; gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.service {
  display: flex; flex-direction: column;
  padding: clamp(30px, 3.4vw, 44px) clamp(22px, 2.6vw, 40px) clamp(30px, 3.4vw, 40px) 0;
  position: relative;
}
.service + .service { padding-left: clamp(22px, 2.6vw, 40px); border-left: 1px solid var(--line); }
.service::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--glow);
  transition: width .6s var(--ease);
}
.service:hover::before { width: 100%; }
.service-n {
  font-family: var(--titre); font-weight: 300; font-size: 2rem; line-height: 1; letter-spacing: -0.04em;
  color: var(--glow); display: block; margin-bottom: 1.8rem;
}
.service h3 { margin-bottom: 1rem; }
.service p { color: var(--muted); font-size: .95rem; margin-bottom: 1.8rem; }
.service-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .86rem; color: var(--text); text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2);
  transition: color .3s ease, border-color .3s ease;
}
.service-link:hover { color: var(--glow); border-bottom-color: var(--glow); }

/* ---------- Méthode et questions : volets dépliables ---------- */
.steps, .faq { border-top: 1px solid var(--line-2); max-width: 920px; }
.step, .faq-item { border-bottom: 1px solid var(--line); }
.step summary, .faq-item summary {
  list-style: none; cursor: pointer;
  display: grid; align-items: center; gap: clamp(14px, 3vw, 32px);
}
.step summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.step summary { grid-template-columns: minmax(0, 88px) minmax(0, 1fr) 22px; padding: clamp(22px, 2.8vw, 30px) 0; }
.faq-item summary {
  grid-template-columns: minmax(0, 1fr) 22px; padding: 24px 0;
  font-family: var(--titre); font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 500; letter-spacing: -0.015em;
}
.step-n {
  font-family: var(--titre); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1;
  letter-spacing: -0.04em; color: var(--muted); transition: color .4s ease;
}
.step-t {
  font-family: var(--titre); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 400;
  letter-spacing: -0.02em; transition: color .3s ease;
}
.step summary:hover .step-t, .faq-item summary:hover { color: var(--glow); }
.step[open] .step-n, .step summary:hover .step-n { color: var(--glow); }

/* signe + qui devient − à l'ouverture */
.plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px;
  background: currentColor; transition: transform .4s var(--ease), opacity .3s ease;
}
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); opacity: 0; }

.step p, .faq-item p { color: var(--muted); max-width: 60ch; font-size: .98rem; }
.step p { margin: -6px 0 28px calc(88px + clamp(14px, 3vw, 32px)); }
.faq-item p { margin: -6px 0 24px; }
details[open] > p { animation: deplier .5s var(--ease); }
@keyframes deplier { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Réalisations ---------- */
.case {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px); align-items: center;
}
.case-media {
  position: relative; display: block; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.case-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.05);
  transition: transform 1.2s var(--ease), filter .8s ease;
}
.case:hover .case-media img { transform: scale(1.03); filter: saturate(1) contrast(1.05); }
.case-badge {
  position: absolute; top: 18px; left: 18px;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(42,41,39,.76); border: 1px solid var(--line-2);
  color: var(--glow); padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.case-body { padding: 0; }
.case-body h3 a { color: inherit; text-decoration: none; transition: color .3s ease; }
.case-body h3 a:hover { color: var(--glow); }
.case-lien { margin: 0 0 1.4rem; }

/* pastille « Visiter le site » qui apparaît au survol de l'aperçu */
.case-voir {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 10px 18px; border-radius: 999px;
  background: var(--glow); color: #14100A; font-size: .86rem; font-weight: 500;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.case-media:hover .case-voir, .case-media:focus-visible .case-voir { opacity: 1; transform: none; }
@media (hover: none) { .case-voir { opacity: 1; transform: none; } }
.case-body h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; margin-bottom: 1.2rem; }
.case-body p { color: var(--muted); font-size: .96rem; }
.case-note {
  font-size: .84rem; color: var(--muted); opacity: .85;
  padding-top: 1.1rem; border-top: 1px solid var(--line); margin: 0;
}

/* ---------- Équipe ---------- */
.team {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.member {
  display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 32px); align-items: start;
  padding-top: 30px; border-top: 1px solid var(--line-2);
}
/* Portrait en vignette : volontairement compact, le texte prime. */
.member-photo {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.member-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.3) contrast(1.05);
  transition: transform 1s var(--ease), filter .6s ease;
}
.member:hover .member-photo img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
/* 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: clamp(1.4rem, 2vw, 1.65rem); font-weight: 400; margin-bottom: .5rem; }
.member-body .member-role {
  color: var(--glow); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.member-body p { color: var(--muted); font-size: .94rem; }
.member-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.3rem 0 0; }
.member-links a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--text); text-decoration: none;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-2);
  transition: color .25s ease, border-color .25s ease;
}
.member-links a:hover { color: var(--glow); border-color: rgba(255,177,77,.5); }
.member-links svg { width: 14px; height: 14px; flex: none; }

/* ---------- 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: -62%; transform: translateX(-50%);
  width: min(1100px, 150vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,177,77,.14), rgba(255,177,77,.03) 46%, transparent 68%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact-inner .eyebrow { justify-content: center; }
.contact-inner h2 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); }
.contact-lede {
  color: var(--muted); font-size: 1.05rem; font-weight: 300;
  max-width: 54ch; margin: 1.8rem auto 3rem;
}
.signature {
  display: block; margin-top: 1rem;
  font-family: var(--titre); font-style: italic; font-weight: 300; font-size: 1.1rem; color: var(--text);
}

/* ---------- Formulaire de contact ---------- */
.contact-form {
  max-width: 780px; margin: 0 auto clamp(52px, 7vw, 80px);
  text-align: left;
  background: rgba(55, 54, 51, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4.4vw, 52px);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-grid {
  display: grid; gap: 26px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--large { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); padding: 0;
}
.req { color: var(--glow); }
.opt { color: var(--muted); font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: .78rem; margin-left: .35rem; opacity: .75; }

/* champs soulignés, sans cadre */
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--text);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .55; }
.field input:hover, .field textarea:hover { border-bottom-color: rgba(246,243,238,.32); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--glow); }
/* 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-bottom-color: #FF6B5A; }

.field-choices { border: 0; margin: 0 0 30px; padding: 0; }
.field-choices legend { margin-bottom: 14px; }
.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: .84rem; color: var(--muted);
  padding: 9px 17px; border-radius: 999px;
  border: 1px solid var(--line-2);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.choice:hover span { color: var(--text); border-color: rgba(246,243,238,.34); }
.choice input:checked + span { color: #14100A; background: var(--glow); border-color: var(--glow); }
.choice input:focus-visible + span { outline: 1.5px solid var(--glow); outline-offset: 3px; }

.contact-form > .field { margin-bottom: 26px; }

.form-legal { font-size: .8rem; color: var(--muted); margin: 0 0 28px; }
.form-legal a { color: var(--glow); text-underline-offset: 3px; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-alt { margin: 0; font-size: .86rem; color: var(--muted); }
.form-alt a { color: var(--text); text-underline-offset: 3px; }
.form-alt a:hover { color: var(--glow); }

.form-status { margin: 20px 0 0; font-size: .93rem; }
.form-status:empty { display: none; }
.form-status.is-error {
  color: #FFB3A8; background: rgba(255,107,90,.07);
  border: 1px solid rgba(255,107,90,.28); border-radius: var(--radius); padding: 12px 16px;
}
.form-status.is-info {
  color: var(--text); background: rgba(255,177,77,.07);
  border: 1px solid rgba(255,177,77,.28); border-radius: var(--radius); padding: 12px 16px;
}

.form-success { text-align: center; padding: clamp(12px, 3vw, 28px) 0; }
.form-success .brand-mark { display: inline-block; margin-bottom: 1.6rem; }
.form-success h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 400; margin-bottom: .8rem; }
.form-success h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin-bottom: 1rem; }
.form-success p { color: var(--muted); margin: 0 auto; max-width: 46ch; }
.merci { min-height: 100vh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); }
.merci .contact-inner { width: 100%; }

.contact-meta {
  list-style: none; margin: 0 auto; padding: 30px 0 0; max-width: 900px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(26px, 6vw, 80px);
}
.contact-meta li { display: flex; flex-direction: column; gap: .4rem; }
.contact-meta strong {
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.contact-meta span { font-family: var(--titre); font-size: 1.2rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.3; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg); padding: clamp(64px, 8vw, 96px) 0 40px; }
.footer-inner { display: grid; gap: 36px; }
.footer-brand { display: flex; align-items: flex-start; gap: .9rem; }
.footer-brand strong {
  font-family: var(--display); font-size: 1.3rem; display: block; margin-bottom: .4rem; letter-spacing: -0.03em;
}
.footer-brand p { color: var(--muted); font-size: .9rem; margin: 0; max-width: 46ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.footer-nav a { text-decoration: none; font-size: .86rem; color: var(--muted); transition: color .25s ease; }
.footer-nav a:hover { color: var(--glow); }
.footer-legal {
  margin: 0; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: .78rem; letter-spacing: .02em; color: var(--muted); opacity: .8;
}

/* ---------- Page mentions légales ---------- */
.legal { padding: calc(var(--header-h) + clamp(52px, 7vw, 90px)) 0 clamp(70px, 9vw, 110px); }
.legal-wrap { max-width: 820px; }
.legal-head { margin-bottom: 3rem; }
.legal-head h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); }
.legal-updated { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }

.legal-callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 2px solid var(--glow);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 3rem;
  font-size: .94rem; color: var(--muted);
}
.legal-callout strong { color: var(--glow); }

.legal-block { margin-bottom: 3.2rem; }
.legal-block h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 400;
  padding-bottom: .8rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line);
}
.legal-block p { color: var(--muted); font-size: .95rem; }
.legal-block a { color: var(--glow); text-underline-offset: 3px; }

.legal-dl { margin: 0; display: grid; gap: .9rem; }
.legal-dl > div {
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 4px 24px;
  padding-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.legal-dl dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.legal-dl dd { margin: 0; font-size: .95rem; }
.legal-hint { display: block; font-size: .84rem; color: var(--muted); font-style: italic; margin-top: .35rem; opacity: .85; }
p.legal-hint { margin-top: 1rem; }
.legal-back { margin-top: 3.4rem; }

/* ---------- Apparitions au défilement ---------- */
.reveal {
  opacity: 0; transform: translateX(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.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; }

  .services { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .service, .service + .service {
    padding: 32px 0 34px; border-left: 0; border-top: 1px solid var(--line-2);
  }
}

@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) 32px;
    background: rgba(42, 41, 39, .97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform .5s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav > a { padding: 16px 0; font-size: 1.35rem; font-family: var(--titre); letter-spacing: -0.02em; color: var(--text); }
  .nav > a + a { border-top: 1px solid var(--line); }
  .nav-cta { margin-top: 20px; align-self: flex-start; border: 0; }
  .nav > a.nav-cta { padding: 13px 26px; font-family: var(--sans); font-size: .9rem; color: var(--btn-fg); }

  .hero-title { max-width: none; }
  .hero-title br { display: none; }

  .step summary { grid-template-columns: minmax(0, 48px) minmax(0, 1fr) 20px; }
  .step p { margin-left: 0; }
  .hero-hosts { font-size: .8rem; }
  .member { grid-template-columns: minmax(0, 118px) minmax(0, 1fr); }
  .btn-lg { padding: 16px 22px; font-size: .92rem; }
  .contact-meta { gap: 22px 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .legal-dl > div { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .member { grid-template-columns: 1fr; }
  .member-photo { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
