@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/BricolageGrotesque.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/InterVariable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --encre: #0B0B0B;
  --papier: #FFFFFF;
  --doux: #555555;
  --trait: #E2E2E2;
  --titre: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--papier); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--papier); color: var(--encre); font: 400 1.0625rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
h1, h2, h3 { font-family: var(--titre); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }

.cadre { width: 100%; max-width: 980px; margin-inline: auto; padding-inline: 20px; }

.bouton { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 1px solid var(--encre); background: var(--encre); color: var(--papier); font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.bouton:hover { background: var(--papier); color: var(--encre); }
.bouton--clair { background: transparent; color: var(--encre); }
.bouton--clair:hover { background: var(--encre); color: var(--papier); }

.hero { padding: clamp(36px, 6vh, 64px) 0 clamp(56px, 8vw, 88px); text-align: center; }
.logo { width: min(82vw, 430px); margin-inline: auto; }
h1 { margin-top: 30px; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 600; line-height: 1.25; }
.date { margin-top: 10px; font: 800 clamp(2.3rem, 7vw, 4rem)/1.05 var(--titre); font-stretch: 75%; letter-spacing: -.005em; text-transform: uppercase; }
.compte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin: 28px auto 0; }
.compte div { padding: 18px 8px 14px; background: var(--encre); color: var(--papier); }
.compte b { display: block; font: 800 clamp(2.4rem, 8vw, 3.9rem)/1 var(--titre); font-stretch: 75%; font-variant-numeric: tabular-nums; }
.compte span { display: block; margin-top: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #CFCFCF; }
.chapo { max-width: 34em; margin: 28px auto 0; color: var(--doux); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

.bloc { padding: clamp(56px, 8vw, 92px) 0; background: var(--encre); color: var(--papier); }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; font-stretch: 75%; line-height: 1.05; text-transform: uppercase; }
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 30px; background: #333; border: 1px solid #333; }
.questions article { padding: 24px; background: var(--encre); }
.questions h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.questions p { color: #CFCFCF; }

.pied { padding: 22px 0; border-top: 1px solid var(--trait); color: var(--doux); font-size: .92rem; }
.pied .cadre { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; }

.tete { padding: 22px 0 0; }
.marque { display: inline-flex; align-items: center; gap: 12px; font: 700 1.2rem/1 var(--titre); text-decoration: none; }
.marque img { width: auto; height: 44px; }
.legal { padding-top: 36px; padding-bottom: 64px; }
.legal h1 { margin-top: 0; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.legal h2 { font-size: 1.3rem; font-weight: 700; font-stretch: 100%; text-transform: none; margin: 28px 0 8px; }
.legal p { color: var(--doux); margin-top: 10px; }

.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: clamp(24px, 4vw, 36px); border: 0; background: var(--papier); color: var(--encre); overflow-y: auto; }
.modal::backdrop { background: rgba(0, 0, 0, .72); }
.modal h2 { padding-right: 36px; font-size: clamp(1.9rem, 5vw, 2.5rem); }
.modal__intro { margin-top: 6px; color: var(--doux); }
.modal__fermer { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--encre); font-size: 2rem; line-height: 1; cursor: pointer; }
.modal__envoyer { width: 100%; margin-top: 16px; font: inherit; font-weight: 600; cursor: pointer; }
.modal__envoyer:disabled { opacity: .6; cursor: wait; }
.modal__succes { text-align: center; padding: 24px 0 8px; }
.modal__succes h2 { padding-right: 0; }
.modal__succes p { margin: 10px 0 22px; color: var(--doux); }
.modal__succes .bouton { font: inherit; font-weight: 600; cursor: pointer; }
.champ { margin-top: 16px; }
.champ label { display: block; margin-bottom: 5px; font-weight: 600; font-size: .96rem; }
.champ small { font-weight: 400; color: var(--doux); }
.champ input, .champ textarea { display: block; width: 100%; padding: 12px; border: 1px solid #8A8A8A; border-radius: 0; background: var(--papier); color: var(--encre); font: inherit; }
.champ textarea { resize: vertical; min-height: 120px; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--encre); outline-offset: 1px; }
.champ [aria-invalid="true"] { border-color: #B00020; }
.piege { position: absolute; left: -9999px; }
.accord { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: .92rem; color: var(--doux); }
.accord input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--encre); }
.erreur { margin-top: 5px; color: #B00020; font-size: .9rem; }

@media (max-width: 640px) {
  .questions { grid-template-columns: 1fr; }
  .compte { gap: 6px; }
  .compte div { padding: 14px 4px 10px; }
  .compte span { font-size: .68rem; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton { transition: none; }
}
