/* =====================================================================
   Jobday Famiflora De Panne — feuille de style / stijlblad
   Les couleurs et polices viennent de brand.css.
   ===================================================================== */

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  /* Sans height:auto, un attribut height= dans le HTML etire l'image des que
     la largeur est contrainte par la CSS. C'est ce qui deformait le QR-code. */
  height: auto;
  display: block;
}

a {
  color: var(--c-green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

:focus-visible {
  outline: 3px solid var(--c-accent-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(760px, 100% - 2.5rem);
}

section {
  scroll-margin-top: 84px;
}

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 242, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--c-green-800);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand__logo {
  height: 30px;
  width: auto;
}
.brand__sub {
  padding-left: 0.75rem;
  border-left: 1px solid var(--c-line);
  color: var(--c-ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
@media (max-width: 560px) {
  .brand__sub {
    display: none;
  }
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.94rem;
}
.site-nav a {
  color: var(--c-ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--c-green-700);
  border-bottom-color: var(--c-green-200);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.lang-switch a {
  padding: 5px 12px;
  text-decoration: none;
  color: var(--c-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lang-switch a[aria-current='true'] {
  background: var(--c-green-700);
  color: #fff;
}

/* Sous ~1080 px la barre devient trop serree : on cache la nav plutot que
   de laisser le selecteur de langue se faire rogner. */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }
}

/* ------------------------------------------------------------------ *
 * HERO — l'affiche de fond avec son fondu / de achtergrondaffiche met fade
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 82vh, 800px);
  display: grid;
  align-items: center;
  padding: 6.5rem 0 5rem;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

/* L'affiche elle-meme. Le mask cree le fondu vers le bas de page. */
.hero__poster {
  position: absolute;
  inset: -1px 0 0 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: 50% 38%;
  background-repeat: no-repeat;
  background-color: var(--c-green-800);
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - var(--hero-fade)),
    rgba(0, 0, 0, 0.55) calc(100% - var(--hero-fade) / 2.2),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 calc(100% - var(--hero-fade)),
    rgba(0, 0, 0, 0.55) calc(100% - var(--hero-fade) / 2.2),
    transparent 100%
  );
}

@media (max-width: 720px) and (orientation: portrait) {
  .hero__poster {
    background-image: var(--hero-image-portrait), var(--hero-image);
    background-position: 50% 30%;
  }
}

/* Voile pour garder le texte lisible quelle que soit l'affiche. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 42, 24, 0.45) 0%,
      rgba(12, 42, 24, 0.1) 30%,
      rgba(12, 42, 24, 0) 62%
    ),
    radial-gradient(90% 85% at 6% 62%, rgba(10, 34, 19, 0.62), transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 86%);
}

.hero__content {
  color: #fff;
  max-width: 46rem;
  text-shadow: 0 1px 24px rgba(9, 26, 15, 0.45);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: none;
}
.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent-500);
  box-shadow: 0 0 0 4px rgba(128, 186, 39, 0.3);
}

.hero__kicker {
  margin: 1.4rem 0 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hero h1 {
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.92;
  margin: 0 0 0.15em;
  letter-spacing: -0.035em;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  max-width: 34ch;
  margin: 0 0 1.7rem;
  opacity: 0.95;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  padding: 8px 15px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: none;
}
.hero__facts svg {
  width: 17px;
  height: 17px;
  flex: none;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------ *
 * Bulles photo / Fotobubbels
 * ------------------------------------------------------------------ */

.bubbles {
  position: relative;
  aspect-ratio: 1 / 0.88;
  min-height: 240px;
}
@media (max-width: 980px) {
  .bubbles {
    display: none;
  }
}

.bubble {
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-green-800);
  border: 5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 60px rgba(9, 26, 15, 0.4);
}
.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bubbles .bubble {
  position: absolute;
  aspect-ratio: 1;
}
.bubble--lg {
  width: 74%;
  top: 0;
  right: 0;
  animation: ff-float 11s ease-in-out infinite;
}
.bubble--md {
  width: 42%;
  bottom: 2%;
  left: 2%;
  border-width: 4px;
  animation: ff-float 9s ease-in-out infinite reverse;
}

@keyframes ff-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bubble--lg,
  .bubble--md {
    animation: none;
  }
}

/* Bulle posee dans le flux du texte / bubbel in de tekstkolom */
.bubble--inline {
  width: min(300px, 100%);
  aspect-ratio: 1;
  border-width: 6px;
  border-color: #fff;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

/* ------------------------------------------------------------------ *
 * Boutons
 * ------------------------------------------------------------------ */

.btn {
  --btn-bg: var(--c-green-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 13px 26px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-shadow: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn--accent {
  --btn-bg: var(--c-accent-500);
}
.btn--accent:hover {
  --btn-bg: var(--c-accent-600);
}
.btn--danger {
  --btn-bg: var(--c-danger);
}
.btn--danger:hover {
  --btn-bg: #94271b;
}
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.14);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  box-shadow: none;
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--c-green-700);
  border-color: var(--c-green-200);
  box-shadow: none;
}
.btn--block {
  width: 100%;
  padding-block: 16px;
  font-size: 1.05rem;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ------------------------------------------------------------------ *
 * Sections
 * ------------------------------------------------------------------ */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--tint {
  background: var(--c-surface-3);
}
.section--green {
  background: var(--c-green-900);
  color: #eaf2ec;
}
.section--green h2,
.section--green h3 {
  color: #fff;
}

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent-ink);
  margin: 0 0 0.7rem;
}
.section--green .section__eyebrow {
  color: var(--c-green-200);
}

.section h2 {
  position: relative;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  max-width: 26ch;
  padding-bottom: 0.7rem;
}
/* Le filet vert clair sous les titres, comme dans le brand manual. */
.section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-green-500);
}
.section__lead {
  font-size: 1.1rem;
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin: 0 0 2.5rem;
}
.section--green .section__lead {
  color: #c3d6c9;
}

/* Intro ------------------------------------------------------------- */

.intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.intro__side {
  display: grid;
  justify-items: start;
}
@media (max-width: 860px) {
  .intro {
    grid-template-columns: 1fr;
  }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 1.02rem;
}
.checklist li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-green-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245d39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  margin-top: 2px;
}
.section--green .checklist li::before {
  background-color: rgba(201, 223, 170, 0.18);
}

/* Job ---------------------------------------------------------------- */

.job-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.6rem;
}
.job-head h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin: 0;
}
.tag {
  display: inline-block;
  background: var(--c-accent-100);
  color: var(--c-accent-ink);
  border-radius: var(--r-pill);
  padding: 4px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.note {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--c-accent-200);
  background: var(--c-accent-100);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--c-ink-soft);
  font-size: 0.98rem;
}

/* Steps -------------------------------------------------------------- */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3.4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 223, 170, 0.14);
  border: 1px solid rgba(201, 223, 170, 0.4);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.steps h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}
.steps p {
  margin: 0;
  color: #b9cfc0;
  font-size: 0.98rem;
}

/* Slots -------------------------------------------------------------- */

.slots {
  display: grid;
  gap: 0.7rem;
}

.slot {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1rem 1.35rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.slot:hover {
  border-color: var(--c-green-200);
  box-shadow: var(--shadow-sm);
}
.slot--open {
  border-color: var(--c-accent-200);
  background: linear-gradient(120deg, var(--c-accent-100), var(--c-surface-2) 60%);
}
.slot--full {
  opacity: 0.6;
}

.slot__time {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-green-800);
}
.slot__who {
  min-width: 0;
}
.slot__label {
  display: block;
  font-weight: 600;
}
.slot__sub {
  display: block;
  font-size: 0.86rem;
  color: var(--c-ink-muted);
}
.slot__free {
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-ok);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.slot__free::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.slot__free--low {
  color: var(--c-warn);
}
.slot__free--full {
  color: var(--c-danger);
}

@media (max-width: 640px) {
  .slot {
    grid-template-columns: 1fr auto;
    row-gap: 0.35rem;
  }
  .slot__time {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ *
 * Formulaire / Formulier
 * ------------------------------------------------------------------ */

.form-section {
  position: relative;
  isolation: isolate;
  background: var(--c-green-900);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  color: #eaf2ec;
}
/* Rappel discret de l'affiche, en fondu haut et bas. */
.form-section__poster {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: 50% 62%;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 55%, transparent);
}

.form-card {
  background: var(--c-surface-2);
  color: var(--c-ink);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 2rem;
}
legend {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.1rem;
}

.field {
  display: block;
  margin-bottom: 1.1rem;
}
.field:last-child {
  margin-bottom: 0;
}
.field > span {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  margin-bottom: 0.4rem;
}
.field .opt {
  font-weight: 400;
  color: var(--c-ink-muted);
}
.hint {
  display: block;
  font-size: 0.85rem;
  color: var(--c-ink-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-green-500);
  box-shadow: 0 0 0 4px rgba(57, 120, 69, 0.18);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23496252' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

/* Choix "candidat / agence" */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.choice__body {
  display: block;
  border: 2px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.2rem 1.1rem 3.1rem;
  background: var(--c-surface);
  transition: border-color 0.15s ease, background 0.15s ease;
  height: 100%;
}
.choice__body::before {
  content: '';
  position: absolute;
  left: 1.15rem;
  top: 1.35rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--c-ink-muted);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.choice input:checked + .choice__body {
  border-color: var(--c-green-600);
  background: var(--c-green-100);
}
.choice input:checked + .choice__body::before {
  border-color: var(--c-green-600);
  box-shadow: inset 0 0 0 4px var(--c-green-600);
}
.choice input:focus-visible + .choice__body {
  outline: 3px solid var(--c-accent-500);
  outline-offset: 2px;
}
.choice strong {
  display: block;
  font-size: 1.02rem;
}
.choice span.hint {
  margin-top: 0.25rem;
}

/* Champ fichier */
.file-field input[type='file'] {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  padding: 11px 14px;
  background: var(--c-surface);
  border: 1px dashed var(--c-green-200);
  border-radius: var(--r-md);
  cursor: pointer;
}
.file-field input[type='file']::file-selector-button {
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  margin-right: 12px;
  padding: 7px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-green-700);
  color: #fff;
  cursor: pointer;
}

/* Case a cocher consentement */
.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.8rem;
  align-items: start;
  font-size: 0.94rem;
  color: var(--c-ink-soft);
  background: var(--c-surface-3);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--c-green-700);
}

.alert {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: #fdecea;
  border: 1px solid #f3c6c0;
  color: #8f2a1e;
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.8rem;
  font-size: 0.97rem;
}
.alert svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.hidden {
  display: none !important;
}

/* Marqueur des champs obligatoires / markering van verplichte velden */
.req {
  font-style: normal;
  font-weight: 700;
  color: var(--c-danger);
  margin-left: 0.15em;
}
.required-note {
  font-size: 0.88rem;
  color: var(--c-ink-muted);
  margin: 0 0 1.2rem;
}

/* Modale "formulaire incomplet" / modaal "formulier onvolledig" */
.modal {
  width: min(28rem, calc(100vw - 2rem));
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 0;
  border-radius: var(--r-xl);
  background: var(--c-surface-2);
  color: var(--c-ink);
  box-shadow: var(--shadow-lg);
}
.modal::backdrop {
  background: rgba(12, 30, 18, 0.55);
}
.modal__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: var(--c-green-800);
}
.modal__title svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--c-danger);
}
.modal__intro {
  margin: 0 0 0.9rem;
  color: var(--c-ink-soft);
  font-size: 0.97rem;
}
.modal__list {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  font-size: 0.97rem;
  max-height: 40vh;
  overflow-y: auto;
}
.modal__list li {
  margin-bottom: 0.3rem;
}
.modal__warn {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-danger);
}
.modal__actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.modal__actions .btn {
  padding: 11px 20px;
  font-size: 0.95rem;
}
/* Le champ fautif, une fois la modale fermee. */
.field--invalid > span {
  color: var(--c-danger);
}
.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: var(--c-danger);
}
.consent--invalid {
  box-shadow: inset 0 0 0 1px var(--c-danger);
}

/* ------------------------------------------------------------------ *
 * Pratique / Praktisch
 * ------------------------------------------------------------------ */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
}
.facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 0.4rem;
}
.facts dd {
  margin: 0;
  font-size: 1.02rem;
}

/* ------------------------------------------------------------------ *
 * Merci / Bedankt
 * ------------------------------------------------------------------ */

.thanks {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.thanks__mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--c-green-100);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.thanks__mark svg {
  width: 34px;
  height: 34px;
  stroke: var(--c-green-700);
}
.recap {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.8rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.recap dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 1.5rem;
  margin: 0;
}
.recap dt {
  color: var(--c-ink-muted);
  font-size: 0.92rem;
}
.recap dd {
  margin: 0;
  font-weight: 600;
}
.ref-badge {
  display: inline-block;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  background: var(--c-green-900);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 3px 10px;
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */

.site-footer {
  background: var(--c-green-900);
  color: #9fb8a7;
  padding: 3rem 0 2.5rem;
  font-size: 0.92rem;
}
.site-footer a {
  color: #cfe2d5;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer p {
  margin: 0 0 0.5rem;
  max-width: 52ch;
}

/* ------------------------------------------------------------------ *
 * Page QR
 * ------------------------------------------------------------------ */

.qr-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  background: var(--c-surface);
}
.qr-card {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  text-align: center;
  max-width: 460px;
}
.qr-card img,
.qr-card canvas {
  width: 100%;
  height: auto;
  max-width: 320px;
  aspect-ratio: 1;
  margin: 1.5rem auto;
}
.qr-url {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  word-break: break-all;
  color: var(--c-ink-soft);
}

@media print {
  .no-print {
    display: none !important;
  }
  .qr-card {
    box-shadow: none;
  }
}

/* ------------------------------------------------------------------ *
 * Admin
 * ------------------------------------------------------------------ */

.admin {
  font-size: 15px;
  background: var(--c-surface-3);
  min-height: 100vh;
}
.admin__bar {
  background: var(--c-green-900);
  color: #fff;
  padding: 1rem 0;
}
.admin__bar .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin__bar h1 {
  font-size: 1.2rem;
  margin: 0;
  margin-right: auto;
  color: #fff;
}
.admin__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin: 1.75rem 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
}
.stat span {
  font-size: 0.82rem;
  color: var(--c-ink-muted);
}
.stat--full b {
  color: var(--c-danger);
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin-bottom: 2.5rem;
}
table.admin-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  font-size: 14px;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.admin-table th {
  background: var(--c-surface-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-ink-muted);
  position: sticky;
  top: 0;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-table .row-slot td {
  background: var(--c-green-100);
  font-weight: 700;
  font-family: var(--font-display);
}
.pill {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--c-surface-3);
  color: var(--c-ink-soft);
}
.pill--present {
  background: var(--c-green-100);
  color: var(--c-green-700);
}
.pill--no_show {
  background: #fdecea;
  color: var(--c-danger);
}
.inline-form {
  display: inline;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--c-green-700);
  cursor: pointer;
  text-decoration: underline;
}
.linkish--danger {
  color: var(--c-danger);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--c-green-900);
  padding: 2rem;
}
.login-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2.2rem;
  width: min(400px, 100%);
  box-shadow: var(--shadow-lg);
}

/* ------------------------------------------------------------------ *
 * Page RGPD / AVG-pagina
 * ------------------------------------------------------------------ */

.legal__lead {
  font-size: 1.15rem;
  color: var(--c-ink);
}
.legal__block {
  padding-top: 1.9rem;
  margin-top: 1.9rem;
  border-top: 1px solid var(--c-line);
}
.legal__block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.legal__block p {
  margin: 0 0 0.9rem;
  color: var(--c-ink-soft);
}
.legal__block p:last-child {
  margin-bottom: 0;
}
.legal__block .checklist {
  gap: 0.6rem;
}
.legal__block .checklist li {
  font-size: 0.98rem;
  color: var(--c-ink-soft);
}
.legal__block .checklist + p {
  margin-top: 1.1rem;
}

.consent__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-accent-ink);
}

/* Variantes claires pour la barre sombre du back-office */
.btn--on-dark {
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}
.lang-switch--dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.lang-switch--dark a {
  color: rgba(255, 255, 255, 0.75);
}
.lang-switch--dark a[aria-current='true'] {
  background: var(--c-green-500);
  color: var(--c-green-900);
}
