/* 01-foundation.css */
/* ==========================================================================
   bpp27.tero.be — socle : jetons mesurés du groupe Tero + base
   Palette : § 2.1 / § 2.2 des règles du groupe. Accent de marque BPP #A56933.
   Rampe typographique : § 3.2. Rayons : § 7.2 (trois valeurs).
   ========================================================================== */

:root {
  /* neutres — § 2.1 */
  --black: #000000;
  --white: #ffffff;
  --surface: #f6f4f4;
  --line: #d9d9d9;
  --line-soft: #e5e6e5;
  --ink-soft: #323232;
  --ink-deep: #212121;
  --ink-muted: #5f5f5f;
  --ui-border: #767676;

  /* accent de marque Brussels Premier Padel (mesuré : 4,50:1 sur blanc) */
  --accent: #a56933;
  --accent-ink: #000000;   /* encre sur aplat orange — 4,67:1 */
  --accent-text: #8e5525;  /* orange texte — 6,04:1 sur blanc, 5,51:1 sur crème */
  --accent-hover: #7a4628;

  /* accents d'appoint — § 2.2, sur bande profonde uniquement */
  --sand: #fad282;
  --cyan: #00b7ff;
  --rose: #d7b4b4;
  --pink: #ff1d58;
  --teal: #007864;
  --terracotta: #b93815;

  /* rayons — § 7.2 : trois valeurs, pas quinze */
  --radius-pill: 999px;
  --radius-plate: 20px;
  --radius-card: 12px;

  /* rythme vertical — § 8.1 */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 96px;
  --space-10: 144px;

  /* grille — § 8.2 */
  --container: 1100px;
  --gutter: 16px;

  /* typographie — § 3.2 */
  --font: "Almarose", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-label: 12px;
  --t-meta: 14px;
  --t-body: 16px;
  --t-lead: 18px;
  --t-h3: 20px;
  --t-h2: 25px;
  --t-h1: 40px;
  --t-display: 60px;

  /* mouvement — § 9 */
  --dur: 180ms;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --t-h2: 32px; --t-h1: 50px; --t-display: 80px; --t-h3: 25px; }
}

/* --------------------------------------------------------------------------
   Reset minimal
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block-start: 6rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 var(--t-body) / 1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 2px var(--white); }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--sand); box-shadow: 0 0 0 2px var(--black); }
::selection { background: var(--accent); color: var(--white); }

/* --------------------------------------------------------------------------
   Titres et texte
   -------------------------------------------------------------------------- */
.display, h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.display { font-size: var(--t-display); line-height: 1.02; font-weight: 700; }
h1 { font-size: var(--t-h1); line-height: 1.08; font-weight: 700; }
h2 { font-size: var(--t-h2); line-height: 1.15; }
h3 { font-size: var(--t-h3); line-height: 1.25; font-weight: 500; }
.lead { font-size: var(--t-lead); line-height: 1.6; }
.meta { font-size: var(--t-meta); line-height: 1.45; color: var(--ink-muted); }
.label {
  font-size: var(--t-label); line-height: 1.2; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}
.kicker { font-size: var(--t-label); line-height: 1.2; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Mise en page
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1440px; }
.section { padding-block: var(--space-7); }
@media (min-width: 768px) { .section { padding-block: var(--space-9); } }
.section--tight { padding-block: var(--space-6); }
.section--flush { padding-block: 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--black); color: var(--white); }
.section--deep { background: var(--ink-deep); color: var(--white); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.on-dark .rule { border-top-color: var(--ink-deep); }

.stack > * + * { margin-block-start: var(--space-4); }
.stack--lg > * + * { margin-block-start: var(--space-6); }
.section-head { display: grid; gap: var(--space-4); margin-block-end: var(--space-7); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: end; gap: var(--space-6); }
  .section-head .lead { color: var(--ink-soft); }
}
.section-head--center { text-align: left; }
.section-head h2 { max-width: 22ch; }
.section-head .lead { max-width: 46ch; }

/* ratio des médias */
.media { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius-card); }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media img { transition: transform 260ms var(--ease); }
a:hover .media img, .card:hover .media img { transform: scale(1.03); }

/* révélations au défilement — repli statique sans JS */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
html.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .media img { transition: none; }
}
/* 02-components.css */
/* ==========================================================================
   bpp27.tero.be — composants
   ========================================================================== */

/* --- boutons — § 7.1 ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 24px; border: 1px solid transparent;
  border-radius: var(--radius-pill); background: var(--black); color: var(--white);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1;
  cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { background: var(--ink-deep); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--white); }
.btn--sand { background: var(--sand); color: var(--black); }
.btn--sand:hover { background: var(--sand); color: var(--black); outline: 2px solid var(--sand); outline-offset: 3px; }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover, .section--deep .btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--surface); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { border-color: var(--black); gap: 14px; }
.on-dark .link-arrow { border-color: var(--ink-muted); }
.on-dark .link-arrow:hover { border-color: var(--white); }

.btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px;
  border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink);
  font-size: var(--t-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.chip--light { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }
.chip--sand { background: var(--sand); color: var(--black); }

/* --- en-tête ------------------------------------------------------------- */
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 200; padding: 12px 18px;
  background: var(--black); color: var(--white); border-radius: var(--radius-pill);
  transform: translateY(-200%); transition: transform var(--dur) var(--ease);
}
.skip:focus { transform: none; }

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-block-end: 1px solid var(--line-soft);
}
.hdr__in { display: flex; align-items: center; gap: var(--space-5); min-height: 68px; }
@media (min-width: 1024px) { .hdr__in { min-height: 76px; } }
.hdr__logo { display: flex; align-items: center; flex: none; }
.hdr__logo img { width: 176px; height: auto; }
@media (min-width: 1024px) { .hdr__logo img { width: 214px; } }
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
  .nav a { font-size: 15px; font-weight: 500; padding-block: 11px; border-bottom: 2px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
}
.hdr__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
@media (min-width: 1024px) { .hdr__actions { margin-inline-start: 0; } }
.hdr__buy { display: none; }
@media (min-width: 768px) { .hdr__buy { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: transparent; cursor: pointer;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--black); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--black); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mnav {
  position: fixed; inset: 0; z-index: 150; background: var(--white);
  padding: 20px var(--gutter) 40px; overflow-y: auto; display: none;
}
.mnav[data-open="true"] { display: block; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 28px; }
.mnav__top img { width: 168px; }
.mnav__list { display: grid; border-top: 1px solid var(--line); }
.mnav__list a { display: flex; align-items: baseline; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: var(--t-h2); font-weight: 500; letter-spacing: -.01em; }
.mnav__list a span { font-size: var(--t-label); letter-spacing: .16em; color: var(--ink-muted); }
.mnav__foot { margin-block-start: 28px; display: grid; gap: 12px; }
.mnav__meta { font-size: var(--t-meta); color: var(--ink-muted); }

/* --- bandeau défilant ---------------------------------------------------- */
.marquee { overflow: hidden; background: var(--black); color: var(--white); border-block-end: 1px solid var(--ink-deep); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track > span { display: inline-flex; align-items: center; gap: 24px; padding: 9px 24px 9px 0; font-size: var(--t-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { display: inline-block; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- héros --------------------------------------------------------------- */
.hero { position: relative; min-height: 0; height: auto; display: grid; align-items: end; overflow: hidden; background: var(--ink-deep); color: var(--white); }
@media (min-width: 768px) { .hero { min-height: 560px; height: 86svh; max-height: 820px; } }
.hero__media, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 46%, rgba(0,0,0,0) 78%),
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.16) 30%, rgba(0,0,0,.78) 100%);
}
.hero__in { position: relative; z-index: 2; padding-block: var(--space-8) var(--space-8); display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .hero__in { padding-block: var(--space-7) var(--space-8); gap: var(--space-5); } }
.hero__date { display: none; }
@media (min-width: 768px) {
  .hero__date {
    display: grid; position: absolute; z-index: 3; top: var(--space-5); right: var(--gutter);
    gap: 2px; padding: 12px 16px; background: var(--white); color: var(--black);
    border-radius: var(--radius-pill); text-align: center;
  }
}
.hero__date b { font-size: var(--t-meta); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero__date span { font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.hero h1 { font-size: var(--t-display); line-height: 1.02; font-weight: 700; letter-spacing: -.025em; max-width: 18ch; }
@media (max-width: 767px) { .hero h1 { font-size: var(--t-h1); max-width: 16ch; } }
.hero__lead { font-size: var(--t-body); line-height: 1.55; max-width: 46ch; color: rgba(255,255,255,.92); }
@media (min-width: 768px) { .hero__lead { font-size: var(--t-lead); } }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: var(--t-meta); color: rgba(255,255,255,.86); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 5px; height: 5px; border-radius: var(--radius-pill); background: var(--accent); flex: none; }
.hero__scroll { position: absolute; z-index: 3; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); display: none; }
@media (min-width: 1024px) { .hero__scroll { display: block; } }

/* --- bande de faits ------------------------------------------------------ */
.facts { display: grid; border-block-start: 1px solid var(--line); }
.facts__item { display: grid; gap: 6px; padding-block: var(--space-5); border-block-end: 1px solid var(--line); }
@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__item { padding-inline: var(--space-5); border-inline-end: 1px solid var(--line); }
  .facts__item:nth-child(2n) { border-inline-end: 0; }
}
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts__item { padding-block: var(--space-6); border-block-end: 0; }
  .facts__item:nth-child(2n) { border-inline-end: 1px solid var(--line); }
  .facts__item:last-child { border-inline-end: 0; }
}
.facts__value { font-size: var(--t-h1); line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts__label { font-size: var(--t-meta); color: var(--ink-soft); max-width: 24ch; }

/* --- cartes -------------------------------------------------------------- */
.cards { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card { display: grid; align-content: start; gap: 14px; padding-block-start: var(--space-4); border-block-start: 1px solid var(--line); }
.on-dark .card { border-block-start-color: var(--ink-deep); }
.on-dark .section-head .lead, .section--dark .section-head .lead { color: rgba(255, 255, 255, .74); }
.card__index { font-size: var(--t-label); font-weight: 600; letter-spacing: .16em; color: var(--accent-text); }
.on-dark .card__index { color: var(--sand); }
.card__title { font-size: var(--t-h3); line-height: 1.25; font-weight: 500; }
.card__body { font-size: var(--t-meta); line-height: 1.6; color: var(--ink-soft); }
.on-dark .card__body { color: rgba(255,255,255,.78); }
.card__price { font-size: var(--t-meta); font-weight: 600; color: var(--ink-muted); }
.on-dark .card__price { color: rgba(255,255,255,.7); }
.card__list { display: grid; gap: 6px; font-size: var(--t-meta); }
.card__list li { display: flex; gap: 8px; }
.card__list li::before { content: "—"; color: var(--accent); flex: none; }
.on-dark .card__list li::before { color: var(--sand); }
.card .media { margin-block-end: 4px; }

/* --- bloc texte + média -------------------------------------------------- */
.split { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split--media-first .split__media { order: -1; }
  .split--60 { grid-template-columns: 1.15fr .85fr; }
  .split--40 { grid-template-columns: .85fr 1.15fr; }
}
.split__copy { display: grid; gap: var(--space-4); align-content: center; }
.split__copy p { max-width: 56ch; }
.split__media .media { border-radius: var(--radius-card); }

/* --- frise / étapes ------------------------------------------------------ */
.steps { display: grid; border-block-start: 1px solid var(--line); }
.step { display: grid; gap: 10px; padding-block: var(--space-5); border-block-end: 1px solid var(--line); }
@media (min-width: 900px) {
  .step { grid-template-columns: 120px 200px 1fr; align-items: baseline; gap: var(--space-5); }
}
.step__date { font-size: var(--t-meta); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.step__title { font-size: var(--t-h3); font-weight: 500; }
.step__body { font-size: var(--t-meta); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }

/* --- tableau ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-meta); }
.tbl caption { caption-side: top; text-align: left; font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); padding-block-end: 12px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-block-end: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.tbl td:first-child { font-weight: 600; white-space: nowrap; }
.tbl tr:last-child td { border-block-end: 0; }
@media (max-width: 639px) {
  .tbl thead { display: none; }
  .tbl tr { display: grid; gap: 2px; padding-block: 12px; border-block-end: 1px solid var(--line); }
  .tbl td { border: 0; padding: 0; }
  .tbl td::before { content: attr(data-label) ": "; color: var(--ink-muted); }
  .tbl td:first-child { font-size: var(--t-body); }
}

/* --- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: var(--space-6); }
.faq__group { display: grid; gap: 0; border-block-start: 1px solid var(--line); }
.faq__group > h3 { padding-block: var(--space-4); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding-block: 16px; cursor: pointer; font-size: var(--t-body); font-weight: 500; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--t-h3); line-height: 1; color: var(--accent-text); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-block-end: 18px; font-size: var(--t-meta); line-height: 1.65; color: var(--ink-soft); max-width: 70ch; }
/* 03-blocks.css */
/* ==========================================================================
   bpp27.tero.be — composants (suite) + pages
   ========================================================================== */

/* --- partenaires --------------------------------------------------------- */
.partners { display: grid; gap: var(--space-6); }
.partners__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-deep); border: 1px solid var(--ink-deep); }
@media (min-width: 640px) { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners__grid { grid-template-columns: repeat(4, 1fr); } }
.partners__cell { display: grid; place-items: center; min-height: 92px; padding: 18px; background: var(--ink-deep); }
.partners__cell img { max-height: 42px; max-width: 132px; width: auto; height: auto; object-fit: contain; }
.partners__cell--wide img { max-height: 30px; max-width: 160px; }
.partners__note { font-size: var(--t-meta); color: rgba(255,255,255,.66); max-width: 70ch; }

/* --- formulaire ---------------------------------------------------------- */
.form { display: grid; gap: var(--space-4); max-width: 640px; }
.field { display: grid; gap: 8px; }
.field > label { font-size: var(--t-meta); font-weight: 600; }
.field .hint { font-size: var(--t-label); color: var(--ink-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; background: var(--white);
  border: 1px solid var(--ui-border); border-radius: 0; font-size: var(--t-body);
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.field--error .input { border-color: var(--terracotta); }
.field__error { font-size: var(--t-label); color: var(--terracotta); }
.field--choice { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--choice input { width: 20px; height: 20px; margin-block-start: 3px; accent-color: var(--black); }
.field--choice label { font-weight: 400; font-size: var(--t-meta); line-height: 1.5; }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: var(--t-label); line-height: 1.5; color: var(--ink-muted); max-width: 60ch; }
.form__status { font-size: var(--t-meta); font-weight: 600; }
.form__status[data-state="ok"] { color: var(--teal); }
.form__status[data-state="error"] { color: var(--terracotta); }

/* --- newsletter --------------------------------------------------------- */
.newsletter { display: grid; gap: var(--space-5); align-items: end; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.newsletter h2 { max-width: 20ch; }
.newsletter__form { display: grid; gap: 12px; }
.newsletter__row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__row .input { flex: 1 1 220px; min-height: 48px; background: transparent; border-color: currentColor; color: inherit; }
.newsletter__row .input::placeholder { color: currentColor; opacity: .6; }
.on-dark .newsletter__row .input { border-color: var(--ink-muted); }

/* --- bande d'appel ------------------------------------------------------- */
.band { display: grid; gap: var(--space-5); align-items: center; padding-block: var(--space-8); }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; gap: var(--space-8); } }
.band h2 { max-width: 26ch; }
.band p { color: rgba(255,255,255,.8); max-width: 52ch; margin-block-start: 12px; }

/* --- notice / encadré ---------------------------------------------------- */
.notice { display: grid; gap: 10px; padding: var(--space-5); border: 1px solid var(--line); border-inline-start: 3px solid var(--accent); border-radius: 0; background: var(--surface); }
.notice h3 { font-size: var(--t-h3); }
.notice p, .notice li { font-size: var(--t-meta); line-height: 1.6; color: var(--ink-soft); max-width: 68ch; }
.notice__updated { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); max-width: 62ch; }
.notice ul { display: grid; gap: 6px; }
.notice ul li { display: flex; gap: 8px; }
.notice ul li::before { content: "—"; color: var(--accent-text); flex: none; }

/* --- bloc phase ---------------------------------------------------------- */
.phase { display: grid; gap: var(--space-5); padding-block: var(--space-7); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .phase { grid-template-columns: 220px 1fr auto; align-items: center; gap: var(--space-7); } }
.phase__badge { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.phase__badge::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--accent); }
.phase h2 { max-width: 26ch; }
.phase p { font-size: var(--t-meta); color: var(--ink-soft); margin-block-start: 6px; max-width: 60ch; }

/* --- en-tête de page ----------------------------------------------------- */
.page-head { padding-block: var(--space-6) var(--space-6); border-block-end: 1px solid var(--line); background: var(--surface); }
.page-head .kicker { margin-block-end: 12px; display: block; }
.page-head h1 { max-width: 24ch; }
.page-head .lead { margin-block-start: var(--space-4); max-width: 62ch; color: var(--ink-soft); }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block-start: var(--space-5); font-size: var(--t-meta); color: var(--ink-muted); }
.page-head__meta li { display: flex; align-items: center; gap: 8px; }
.crumbs { padding-block: 14px; font-size: var(--t-label); letter-spacing: .04em; color: var(--ink-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line); }
.crumbs a:hover { color: var(--black); }

/* --- galerie ------------------------------------------------------------- */
.gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .gallery--2 { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { display: grid; gap: 8px; }
.gallery figcaption { font-size: var(--t-label); color: var(--ink-muted); }

/* --- plan / légende ------------------------------------------------------ */
.plan { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .plan { grid-template-columns: 1.4fr 1fr; gap: var(--space-8); align-items: start; } }
.plan__legend { display: grid; gap: 10px; align-content: start; border-block-start: 1px solid var(--line); }
.plan__legend li { display: grid; gap: 2px; padding-block: 10px; border-block-end: 1px solid var(--line); font-size: var(--t-meta); }
.plan__legend b { font-weight: 600; }
.plan__legend span { color: var(--ink-muted); }

/* --- grille contact ------------------------------------------------------ */
.contacts { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .contacts { grid-template-columns: repeat(2, 1fr); } }
.contact { display: grid; gap: 6px; padding-block: var(--space-4); border-block-start: 1px solid var(--line); }
.contact dt, .contact__label { font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.contact a { font-size: var(--t-body); font-weight: 600; border-bottom: 1px solid var(--line); justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.contact a:hover { border-color: var(--black); }
.contact p { font-size: var(--t-meta); color: var(--ink-soft); }

/* --- bande de stats ------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-deep); border: 1px solid var(--ink-deep); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { background: var(--ink-deep); padding: var(--space-5); display: grid; gap: 6px; }
.stats b { font-size: var(--t-h1); line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: var(--t-meta); color: rgba(255,255,255,.72); }

/* --- prose (pages légales) ----------------------------------------------- */
.prose { max-width: 72ch; display: grid; gap: var(--space-5); }
.prose h2 { font-size: var(--t-h3); margin-block-start: var(--space-4); }
.prose h3 { font-size: var(--t-body); font-weight: 600; margin-block-start: var(--space-4); }
.prose p, .prose li { font-size: var(--t-body); line-height: 1.7; color: var(--ink-soft); }
.prose ul { display: grid; gap: 8px; padding-inline-start: 0; }
.prose ul li { display: flex; gap: 10px; }
.prose ul li::before { content: "—"; color: var(--accent-text); flex: none; }
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--black); }

/* --- pied de page -------------------------------------------------------- */
.ftr { background: var(--black); color: var(--white); padding-block: var(--space-8) var(--space-6); }
.ftr__top { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .ftr__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-7); } }
.ftr__brand { display: grid; gap: var(--space-4); align-content: start; }
.ftr__brand img { width: 84px; height: auto; }
.ftr__brand p { font-size: var(--t-meta); color: rgba(255,255,255,.7); max-width: 40ch; }
.ftr__brand a.tero-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-meta); font-weight: 600; border-bottom: 1px solid var(--ink-muted); justify-self: start; min-height: 44px; }
.ftr__brand a.tero-link:hover { border-color: var(--white); }
.ftr h3 { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; margin-block-end: var(--space-4); }
.ftr nav ul { display: grid; gap: 0; }
.ftr nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-meta); color: rgba(255,255,255,.86); }
.ftr nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { margin-block-start: var(--space-7); padding-block-start: var(--space-5); border-block-start: 1px solid var(--ink-soft); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: var(--t-label); color: rgba(255,255,255,.62); }
.ftr__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.ftr__bottom a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink-muted); border-radius: var(--radius-pill); }
.socials a:hover { border-color: var(--white); background: var(--ink-deep); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* --- barre collante mobile ----------------------------------------------- */
.stickybar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--white) 94%, transparent); backdrop-filter: blur(10px);
  border-block-start: 1px solid var(--line);
}
.stickybar__txt { display: grid; gap: 1px; font-size: var(--t-label); line-height: 1.2; }
.stickybar__txt b { font-size: var(--t-meta); letter-spacing: -.01em; }
.stickybar__txt span { color: var(--ink-muted); letter-spacing: .1em; text-transform: uppercase; }
.stickybar .btn { margin-inline-start: auto; white-space: nowrap; padding-inline: 18px; }
@media (min-width: 768px) { .stickybar { display: none; } }
body { padding-block-end: 68px; }
@media (min-width: 768px) { body { padding-block-end: 0; } }

/* --- 404 / divers -------------------------------------------------------- */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--space-9); }
.center-page .btns { justify-content: center; }
.hr-space { margin-block: var(--space-7); }
.only-mobile { display: block; }
@media (min-width: 900px) { .only-mobile { display: none; } }
.stack-tight > * + * { margin-block-start: 10px; }
.muted { color: var(--ink-muted); }
.balance { text-wrap: balance; }
/* --- formulaire + panneau latéral ---------------------------------------- */
.form-layout { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .form-layout { grid-template-columns: 1.25fr .75fr; gap: var(--space-8); align-items: start; } }
.form-aside { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-5); border: 1px solid var(--line); border-inline-start: 3px solid var(--accent); background: var(--surface); }
.form-aside h3 { font-size: var(--t-h3); }
.form-aside ol { display: grid; gap: 10px; counter-reset: step; }
.form-aside ol li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: var(--t-meta); color: var(--ink-soft); }
.form-aside ol li::before { counter-increment: step; content: counter(step); font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.form-aside a { border-bottom: 1px solid var(--line); font-weight: 600; justify-self: start; }
.form-aside a:hover { border-color: var(--black); }

/* 04-utilities.css */
/* ==========================================================================
   bpp27.tero.be — utilitaires et états
   ========================================================================== */

[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hdr.is-scrolled { border-block-end-color: var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.hdr__logo img, .mnav__top img { filter: none; }

.hero__media video { opacity: 0; transition: opacity 600ms var(--ease); }
.hero__media video.is-ready { opacity: 1; }

/* bandeau de consentement — RGPD + Consent Mode v2 */
.consent {
  position: fixed; inset-inline: 12px; bottom: 78px; z-index: 120;
  display: grid; gap: 14px; padding: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
@media (min-width: 768px) {
  .consent { inset-inline: auto; right: 24px; bottom: 24px; width: 420px; padding: 20px; }
}
.consent p { font-size: var(--t-meta); line-height: 1.55; color: var(--ink-soft); }
.consent p a { border-bottom: 1px solid var(--line); }
.consent p a:hover { border-color: var(--black); }
.consent .btns { gap: 8px; }
.consent .btn { min-height: 44px; }
.consent .btns .btn { flex: 1 1 auto; }

/* états des liens du pied de page */
.ftr a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* impression : la page reste lisible */
@media print {
  .hdr, .marquee, .stickybar, .consent, .ftr .socials, .mnav { display: none !important; }
  body { padding: 0; }
  .hero { height: auto; min-height: 0; color: var(--black); }
  .hero__media { display: none; }
}
