@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --brand: #0f3d2e;          /* couleur principale */
  --on-brand: #ffffff;
  --on-brand-soft: rgba(255, 255, 255, .84);
  --on-brand-line: rgba(255, 255, 255, .28);
  --white: #ffffff;
  --tint: #f2f4f8;
  --ink: #0d1430;
  --muted: #454b60;
  --line: #c9cedb;
  --focus: #17a36b;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(18px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
.i18n-wait body { visibility: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
svg path { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--brand); color: var(--on-brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.header :focus-visible, .hero :focus-visible, .section--brand :focus-visible { outline-color: var(--on-brand); }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ——— En-tête ——— */
.header { position: sticky; top: 0; z-index: 50; background: var(--brand); color: var(--on-brand); }
.header__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.04em; }
.logo__mark { display: block; height: 40px; width: auto; aspect-ratio: 309.5 / 125.6; flex: none; }
.logo__mark rect { fill: var(--on-brand); }
.logo__mark use { fill: var(--brand); }
.footer .logo__mark rect { fill: var(--brand); }
.footer .logo__mark use { fill: var(--on-brand); }
svg path#minia-word { stroke: none; }
.logo b { font-weight: 800; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 1rem; padding: 6px 0; background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; transition: background-size .25s ease; }
.nav a:hover { background-size: 100% 2px; }
.langs { display: flex; flex: none; border: 1.5px solid var(--on-brand-line); border-radius: 8px; overflow: hidden; }
.langs button {
  font: 600 0.95rem/1 var(--sans); color: var(--on-brand); background: none; border: 0; cursor: pointer;
  padding: 11px 12px; border-left: 1.5px solid var(--on-brand-line);
}
.langs button:first-child { border-left: 0; }
.langs button:hover { background: rgba(255, 255, 255, .14); }
.langs button[aria-pressed="true"] { background: var(--on-brand); color: var(--brand); }

/* ——— Boutons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font: 700 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  color: var(--on-brand); background: var(--brand); border: 0; border-radius: 10px;
  padding: 13px 20px;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: color-mix(in srgb, var(--brand) 82%, white); }
.btn:active { transform: scale(.98); }
.btn svg { width: 24px; height: 24px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(5px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--light { background: var(--on-brand); color: var(--brand); }
.btn--light:hover { background: color-mix(in srgb, var(--brand) 12%, white); }
.btn--big { font-size: clamp(1.1rem, 1.3vw, 1.2rem); padding: 18px 26px; border-radius: 12px; }

/* ——— Accueil ——— */
.hero { background: var(--brand); color: var(--on-brand); padding: clamp(36px, 6vw, 84px) 0 clamp(52px, 7vw, 104px); }
.kicker { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-brand-soft); }
h1 {
  margin-top: clamp(16px, 2.2vw, 28px);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 7.4vw, 6.8rem); line-height: 0.97; letter-spacing: -0.045em;
  max-width: 11.5em;
}
h1 em { font-style: normal; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; margin-top: clamp(30px, 4.6vw, 64px); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.4; color: var(--on-brand-soft); max-width: 31em; flex: 1 1 22em; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero__note { font-size: 1rem; color: var(--on-brand-soft); }

/* ——— Sections ——— */
.section { padding: clamp(64px, 9vw, 124px) 0; }
.section--tint { background: var(--tint); }
.section--brand { background: var(--brand); color: var(--on-brand); }
.head { display: grid; grid-template-columns: 7fr 5fr; gap: 16px var(--pad); align-items: end; margin-bottom: clamp(32px, 5vw, 60px); }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4.1vw, 3.4rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.head p { color: var(--muted); font-size: 1.1rem; max-width: 30em; padding-bottom: 0.3em; }
.section--brand .head p { color: var(--on-brand-soft); }

/* Services */
.index { border-top: 2px solid var(--ink); }
.index li { border-bottom: 2px solid var(--ink); }
.index a {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 34px; gap: var(--pad); align-items: center;
  padding: clamp(20px, 2.6vw, 34px) 0; text-decoration: none;
  transition: background .18s ease, color .18s ease, padding .18s ease;
}
.index h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 2.8vw, 2.3rem); line-height: 1.05; letter-spacing: -0.04em; }
.index p { max-width: 30em; }
.index__tags { margin-top: 6px; font-size: 0.95rem; color: var(--muted); transition: color .18s ease; }
.index svg { width: 32px; height: 32px; opacity: .3; transition: opacity .18s ease, transform .18s ease; }
.index a:hover, .index a:focus-visible { background: var(--brand); color: var(--on-brand); padding-left: 20px; padding-right: 20px; outline: none; }
.index a:hover .index__tags, .index a:focus-visible .index__tags { color: var(--on-brand-soft); }
.index a:hover svg, .index a:focus-visible svg { opacity: 1; transform: translateX(4px); }

/* Méthode */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px var(--pad); }
.stairs__num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font: 800 1.5rem/1 var(--display); background: var(--brand); color: var(--on-brand);
}
.stairs h3 { margin-top: 20px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.stairs p { margin-top: 8px; color: var(--muted); }

/* Fiche technique */
.sheet { border-top: 1px solid var(--on-brand-line); }
.sheet div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--pad); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--on-brand-line); }
.sheet dt { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.1; }
.sheet dd { color: var(--on-brand-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.contact__title { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.contact__intro { margin-top: 20px; font-size: 1.1rem; color: var(--muted); max-width: 24em; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 1.05rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; font: 400 1.1rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); border-radius: 10px;
}
.money { position: relative; }
.money input { padding-right: 46px; }
.money span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.1rem; font-weight: 700; color: var(--muted); pointer-events: none; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(23, 163, 107, .28); }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .16); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__status { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.form__status:empty { display: none; }
.form__status.is-ok, .form__status.is-err { padding: 16px 18px; border-radius: 10px; border: 2px solid; }
.form__status.is-ok { color: #12602f; background: #e3f4e8; }
.form__status.is-err { color: #9a1f18; background: #fbe6e4; }
.form__note { font-size: 0.95rem; color: var(--muted); }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 26px 0 30px; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.footer .logo { color: var(--brand); }
.footer p, .footer__link { font-size: 1rem; color: var(--muted); }
.footer__link { padding: 10px 0; text-underline-offset: 3px; }
.footer__link:hover { color: var(--ink); }

/* ——— Curseur : un petit point remplace la flèche ——— */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor::before {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid #fff; transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, background .18s ease, border-radius .18s ease;
}
.cursor.is-link::before { width: 34px; height: 34px; background: transparent; }
.cursor.is-text::before { width: 3px; height: 26px; border-radius: 2px; border-width: 0; }
.cursor.is-down::before { width: 9px; height: 9px; background: #fff; }

/* ——— Adaptation ——— */
@media (max-width: 980px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .head, .contact { grid-template-columns: 1fr; }
  .hero__cta { align-items: flex-start; }
  .index a { grid-template-columns: minmax(0, 1fr) 28px; gap: 8px 14px; align-items: start; }
  .index a > div { grid-column: 1; grid-row: 2; }
  .index a > svg { grid-column: 2; grid-row: 1; width: 26px; height: 26px; margin-top: 0.2em; }
  .stairs { grid-template-columns: 1fr 1fr; }
  .sheet div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .header .btn--small { display: none; }
  .header__in { height: 62px; gap: 12px; }
  .stairs { grid-template-columns: 1fr; gap: 30px; }
  .stairs li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .stairs__num { grid-row: 1 / 3; width: 52px; height: 52px; font-size: 1.5rem; }
  .stairs h3 { margin-top: 8px; }
  .hero__cta, .hero__cta .btn { width: 100%; }
}

/* Écran peu haut (téléphone en paysage) : l'en-tête ne reste pas collé en haut. */
@media (max-height: 520px) {
  .header { position: static; }
  .header__in { height: 60px; }
  html { scroll-padding-top: 16px; }
}

/* ——— Pages simples : mentions légales, page introuvable ——— */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--pad); }
.doc h1 { color: var(--ink); font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 12px; max-width: none; }
.doc h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.doc dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 20px; }
.doc dt { font-weight: 700; }
.doc dd { color: var(--muted); }
.doc a { color: var(--brand); font-weight: 700; text-underline-offset: 3px; }
.doc .btn { color: var(--on-brand); margin-top: 28px; }
.doc mark { background: #fff1b8; color: var(--ink); padding: 1px 6px; border-radius: 4px; }
.doc [data-lang] { display: none; }
html[lang="fr"] .doc [data-lang="fr"], html[lang="en"] .doc [data-lang="en"], html[lang="nl"] .doc [data-lang="nl"] { display: block; }
.header__in > .logo + .langs { margin-left: auto; }

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