@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 800; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-800-normal.woff2) format('woff2'); }

:root {
  --bleu: #0b4ea2; --bleu-fonce: #08386f; --rouge: #d62828; --encre: #121826; --gris: #5a6478;
  --fond: #f4f6fa; --carte: #fff; --ligne: #dde3ee; --vert: #1d7a3e;
}
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 Barlow, system-ui, sans-serif; color: var(--encre); background: var(--fond); }
h1, h2, h3 { font-family: 'Barlow Semi Condensed', Barlow, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
a { color: var(--bleu); }
.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 760px; }

header.site { background: var(--bleu); color: #fff; }
header.site .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: 'Barlow Semi Condensed'; font-weight: 800; font-size: 22px; }
.marque img { width: 36px; height: 36px; border-radius: 8px; }
nav.site a { color: #fff; text-decoration: none; margin-left: 18px; font-weight: 600; }
nav.site a:hover { text-decoration: underline; }

.heros { background: linear-gradient(160deg, var(--bleu) 0%, var(--bleu-fonce) 100%); color: #fff; padding: 56px 0 64px; }
.heros .conteneur { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.heros h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.heros p.sous { font-size: 20px; opacity: .95; max-width: 34em; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; list-style: none; }
.pastilles li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.capture { width: 100%; max-width: 300px; justify-self: center; border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 6px solid #0a1730; }

.bouton { display: inline-flex; align-items: center; gap: 10px; background: var(--rouge); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 10px; border: 0; font-size: 17px; cursor: pointer; }
.bouton.second { background: transparent; border: 2px solid #fff; }
.bouton[aria-disabled="true"] { opacity: .85; cursor: default; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }

section { padding: 56px 0; }
section.blanc { background: var(--carte); }
.sur-titre { color: var(--rouge); font-size: 13px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; margin: 0 0 6px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 24px; }
.carte { background: var(--carte); border: 1px solid var(--ligne); border-radius: 14px; padding: 20px; }
section.blanc .carte { background: var(--fond); }
.carte h3 { font-size: 22px; }
.carte p { margin: 0; color: var(--gris); }

.epreuves { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.epreuves div { background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 14px; }
.epreuves b { display: block; font-family: 'Barlow Semi Condensed'; font-size: 19px; }
.epreuves span { color: var(--gris); font-size: 15px; }

.captures { display: flex; gap: 18px; overflow-x: auto; padding: 8px 2px 18px; scroll-snap-type: x mandatory; }
.captures img { width: 220px; flex: none; border-radius: 18px; border: 1px solid var(--ligne); scroll-snap-align: start; }

.prix { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.prix .carte.vedette { border: 3px solid var(--rouge); }
.prix .montant { font-family: 'Barlow Semi Condensed'; font-weight: 800; font-size: 40px; color: var(--encre); }
.prix ul { padding-left: 20px; color: var(--gris); }

form.formulaire { display: grid; gap: 14px; max-width: 560px; }
form.formulaire label { display: grid; gap: 4px; font-weight: 600; }
form.formulaire input:not([type=checkbox]) { min-height: 48px; padding: 0 12px; font: inherit; border: 2px solid var(--ligne); border-radius: 10px; background: #fff; }
form.formulaire label.coche { display: flex; gap: 10px; font-weight: 400; font-size: 15px; align-items: flex-start; }
form.formulaire label.coche input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
#message { margin: 0; font-weight: 600; }
#message.ok { color: var(--vert); }
#message.ko { color: var(--rouge); }

footer.site { background: #0a1730; color: #c9d3e6; padding: 32px 0; font-size: 15px; }
footer.site a { color: #fff; }
footer.site .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.legal h2 { margin-top: 1.4em; font-size: 26px; }

@media (max-width: 760px) {
  .heros .conteneur { grid-template-columns: 1fr; }
  .capture { max-width: 230px; }
  nav.site a { margin-left: 12px; font-size: 15px; }
  nav.site a.option { display: none; }
}
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
