/* Maître Sakho, Belgique
   Direction « Vitrail » : encre verte, vert-de-gris et ambre, arcs et coups de fouet Art nouveau.
   Effet signature : les vitraux s'allument un à un et suivent la lumière de la main. */

:root {
  --bg: #08110f;
  --bg-2: #0d1a17;
  --panel: #12231f;
  --verd: #6fcab3;
  --amber: #e3a94f;
  --amber-l: #f3cf8e;
  --copper: #a8703c;
  --text: #f5f1e6;
  --muted: #c0cabf;
  --line: rgba(245, 241, 230, .14);
  --head: 'Federo', Georgia, serif;
  --body: 'Mulish', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1.08rem; line-height: 1.7; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.wrap { width: min(1220px, 100%); margin-inline: auto; padding-inline: 24px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.14; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: 18px; }
h3 { font-size: 1.5rem; }
p + p { margin-top: 14px; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--verd); margin-bottom: 14px; }
.lead { font-size: 1.16rem; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 22px; font-weight: 700; font-size: 1rem; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-family: inherit; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: #171007; }
.btn-amber:hover { background: var(--amber-l); }
.btn-line { border-color: rgba(245, 241, 230, .5); color: var(--text); }
.btn-line:hover { border-color: var(--amber); color: var(--amber-l); }
.btn-lg { min-height: 56px; padding-inline: 28px; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--amber-l); outline-offset: 3px; }

/* Chargement */
.loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: var(--bg); transition: transform 1s var(--ease) .05s; }
.loader.is-done { transform: translateY(-100%); }
.no-js .loader, .motion-done .loader { display: none; }
.loader-inner { width: min(520px, 84vw); text-align: center; }
.loader-brand { display: block; font-family: var(--head); font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1.1; }
.loader-line { display: block; height: 1px; margin: 24px 0 18px; background: rgba(111, 202, 179, .2); overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--verd), var(--amber)); animation: fill 1.5s var(--ease) forwards; }
.loader-sub { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: var(--muted); padding-left: .36em; }
@keyframes fill { to { width: 100%; } }

/* En-tête */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.header.is-stuck { background: rgba(8, 17, 15, .985); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-arch { width: 34px; height: 42px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.5; }
.brand-arch text { font-family: var(--head); font-size: 11px; fill: var(--text); stroke: none; }
.brand-text { font-family: var(--head); font-size: 1.32rem; line-height: 1.15; }
.brand-text small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; font-weight: 600; font-size: .97rem; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--line); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; background: var(--bg-2); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; z-index: -2; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 17, 15, .94) 0%, rgba(8, 17, 15, .72) 42%, rgba(8, 17, 15, .1) 76%), linear-gradient(0deg, var(--bg) 0%, transparent 34%); }
.hero-frame { position: absolute; right: 3vw; bottom: 0; width: 42vw; height: 84%; fill: none; stroke: var(--amber); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .75; }
.hero-frame path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.js .hero-frame path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .5s; }
.js.is-loaded .hero-frame path, .motion-done .hero-frame path { stroke-dashoffset: 0; }
.hero-body { padding-block: 130px 72px; }
.hero h1 { font-size: clamp(3.3rem, 10vw, 7.4rem); line-height: 1; margin-bottom: 20px; }
.hero h1 span { display: block; margin-top: 14px; font-size: clamp(1.25rem, 2.6vw, 1.9rem); color: var(--amber-l); }
.hero-lead { max-width: 39rem; font-size: 1.2rem; color: #e7e6da; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.ribbon { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 44px; padding: 20px 24px; border-block: 1px solid var(--line); background: var(--bg-2); font-family: var(--head); font-size: 1.2rem; color: var(--amber-l); }

/* Vitrail */
.glass { padding-block: 96px 56px; background: radial-gradient(ellipse 80% 50% at 50% 0%, #16302a 0%, transparent 70%); }
.head { max-width: 780px; margin-bottom: 46px; }
.window { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; background: linear-gradient(160deg, #6a4524, #2b1b0e 45%, #7c5029); }
.pane { position: relative; aspect-ratio: 4 / 4.5; overflow: hidden; background: var(--panel); --x: 50%; --y: 40%; }
.pane:nth-child(-n+3) { border-radius: 50% 50% 0 0 / 24% 24% 0 0; }
.pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.55); transition: filter 1.3s var(--ease), transform 1.3s var(--ease); }
.pane.is-lit img, .no-js .pane img, .motion-done .pane img { filter: brightness(1) saturate(1.08); }
.pane::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .13; background-image: linear-gradient(60deg, transparent 49.6%, #000 49.6%, #000 50.4%, transparent 50.4%), linear-gradient(-60deg, transparent 49.6%, #000 49.6%, #000 50.4%, transparent 50.4%); background-size: 74px 128px; }
.pane::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle 230px at var(--x) var(--y), rgba(255, 215, 150, .42), transparent 72%); mix-blend-mode: soft-light; transition: opacity .35s; }
.pane:hover::after { opacity: 1; }
.pane-text { position: absolute; inset: auto 0 0; z-index: 2; padding: 74px 22px 22px; background: linear-gradient(0deg, rgba(5, 11, 10, .95) 0%, rgba(5, 11, 10, .84) 62%, transparent 100%); }
.pane-text h3 { margin-bottom: 8px; }
.pane-text p { font-size: 1rem; line-height: 1.55; color: #e6e6da; }
.pane-text a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 6px; font-weight: 700; color: var(--amber-l); }
.pane-text a:hover { color: #fff; }

.whip { display: block; width: min(1000px, 100%); margin: 16px auto; fill: none; stroke: var(--copper); stroke-width: 1.4; padding-inline: 24px; }
.whip path { stroke-dasharray: 1; }
.js .whip path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.js .whip.is-in path, .motion-done .whip path { stroke-dashoffset: 0; }

/* Approche */
.approach { padding-block: 56px 96px; }
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; align-items: center; }
.arch { border-radius: 50% 50% 0 0 / 30% 30% 0 0; overflow: hidden; outline: 1px solid var(--amber); outline-offset: 10px; margin: 11px; background: var(--panel); aspect-ratio: 4 / 5.2; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.approach p { color: var(--muted); }
.lancets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.lancet { padding: 28px 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 110px 110px 0 0; text-align: center; }
.lancet .ico { width: 26px; height: 26px; color: var(--amber); margin-bottom: 8px; }
.lancet h3 { font-size: 1.32rem; margin-bottom: 6px; }
.lancet p { font-size: .96rem; line-height: 1.5; }

/* Valeurs */
.values { padding-block: 84px; background: var(--bg-2); border-block: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; }
.values-head { position: sticky; top: 110px; align-self: start; }
.value-list { counter-reset: v; }
.value-list li { counter-increment: v; display: grid; grid-template-columns: 62px minmax(0, 1fr); padding-block: 20px; border-top: 1px solid var(--line); }
.value-list li:last-child { border-bottom: 1px solid var(--line); }
.value-list li::before { content: counter(v, upper-roman); grid-row: span 2; font-family: var(--head); font-size: 1.4rem; color: var(--verd); }
.value-list p { color: var(--muted); }

/* Belgique */
.country { padding-block: 96px; }
.country-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.country p { color: var(--muted); margin-bottom: 24px; }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts > div { padding: 18px 22px; background: var(--panel); }
.facts dt { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--verd); font-weight: 600; }
.facts dd { font-family: var(--head); font-size: 1.32rem; margin-top: 2px; overflow-wrap: anywhere; }

/* Contact */
.contact { padding-block: 96px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.line { display: flex; align-items: center; gap: 16px; padding-block: 15px; border-bottom: 1px solid var(--line); font-weight: 600; overflow-wrap: anywhere; transition: color .25s; }
.line:hover { color: var(--amber-l); }
.line .ico { color: var(--amber); width: 22px; height: 22px; }
.line small { display: block; font-size: .84rem; font-weight: 500; color: var(--muted); }
.contact .lead { margin-bottom: 16px; }
.form { padding: 30px; background: var(--panel); border-top: 3px solid var(--amber); }
.form-title { font-family: var(--head); font-size: 1.6rem; margin-bottom: 16px; }
.field { margin-bottom: 15px; }
.field label, .channels legend { display: block; font-size: .95rem; font-weight: 600; margin-bottom: 6px; color: #e6e6da; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid rgba(245, 241, 230, .28); border-radius: 0; }
.field select option { background: var(--bg); }
.field input::placeholder, .field textarea::placeholder { color: #9dab9f; }
.channels { border: 0; margin-bottom: 18px; }
.channels div, .channels { min-width: 0; }
.channels label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.channels input { position: absolute; opacity: 0; }
.channels span { display: block; padding: 9px 16px; border: 1px solid rgba(245, 241, 230, .28); font-weight: 600; font-size: .96rem; transition: background .2s, color .2s; }
.channels input:checked + span { background: var(--verd); color: #06130f; border-color: var(--verd); }
.channels input:focus-visible + span { outline: 2px solid var(--amber-l); outline-offset: 2px; }
.form-error { color: #ffb4a0; font-weight: 600; margin-bottom: 12px; }
.form-note { margin-top: 12px; font-size: .92rem; color: var(--muted); }

/* Pied de page */
.footer { padding-top: 62px; background: #050c0a; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 42px; }
.footer-brand { font-family: var(--head); font-size: 1.7rem; margin-bottom: 8px; }
.footer p, .footer li { color: var(--muted); font-size: .98rem; overflow-wrap: anywhere; }
.footer h3 { font-size: 1.16rem; margin-bottom: 10px; color: var(--amber-l); }
.footer li { padding-block: 3px; }
.footer li a:hover, .footer-bottom a:hover { color: var(--amber-l); }
.footer-bottom p { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; padding-block: 18px; border-top: 1px solid var(--line); }
.footer-bottom a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.dock { display: none; }

/* Apparitions */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in, .motion-done .reveal { opacity: 1; transform: none; }

/* Secours sans image */
.img-missing { background: radial-gradient(circle at 50% 30%, #2c5a4d, var(--panel) 70%); }
.img-missing img { visibility: hidden; }

@media (max-width: 1080px) {
  .btn-head { display: none; }
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: rgba(8, 17, 15, .98); border-bottom: 1px solid var(--line); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .header { background: rgba(8, 17, 15, .98); }
  .window { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pane:nth-child(-n+3) { border-radius: 0; }
  .pane:nth-child(-n+2) { border-radius: 50% 50% 0 0 / 24% 24% 0 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .approach-grid, .values-grid, .country-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .values-head { position: static; }
  .arch { max-width: 440px; margin-inline: auto; width: calc(100% - 22px); }
  .hero-frame { display: none; }
  .hero-veil { background: linear-gradient(0deg, var(--bg) 4%, rgba(8, 17, 15, .82) 52%, rgba(8, 17, 15, .3) 100%); }
}

@media (max-width: 620px) {
  body { font-size: 1.05rem; padding-bottom: 60px; }
  .wrap { padding-inline: 16px; }
  .window { grid-template-columns: minmax(0, 1fr); }
  .pane { aspect-ratio: auto; }
  .pane img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
  .pane::before, .pane::after { display: none; }
  .pane-text { position: static; padding: 18px 16px 12px; background: var(--panel); }
  .brand-text small { font-size: .58rem; letter-spacing: .06em; white-space: nowrap; }
  .pane:nth-child(-n+2) { border-radius: 0; }
  .pane:first-child { border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
  .lancets { grid-template-columns: minmax(0, 1fr); }
  .lancet { border-radius: 60px 60px 0 0; }
  .hero-cta .btn { width: 100%; }
  .ribbon { gap: 4px 24px; font-size: 1.05rem; }
  .glass, .country, .contact { padding-block: 68px; }
  .form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .dock { position: fixed; inset: auto 0 0; z-index: 90; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--amber); color: #171007; font-weight: 700; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; }
  .dock a + a { background: var(--verd); color: #06130f; }
}

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