@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url('fonts/Inter-400.ttf'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url('fonts/Inter-700.ttf'); }
@font-face { font-family: Display; font-weight: 900; font-display: swap; src: url('fonts/InterDisplay-900.ttf'); }

:root {
  --navy: #1d3557; --navy-2: #27446d; --orange: #f2711c; --orange-soft: #fff1e6; --green: #1f8a5b; --green-soft: #e5f5ec;
  --red: #c0392b; --red-soft: #fdecea; --ink: #1f2430; --muted: #5b6275; --line: #dde2ea; --bg: #f6f7fb; --card: #ffffff;
  --radius: 14px; --shadow: 0 6px 24px rgba(29, 53, 87, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--navy-2); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; }
.logo b { color: var(--orange); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #dfe6f2; text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }

/* Titres et sections */
.hero { background: var(--navy); color: #fff; padding: 48px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--orange); opacity: .95; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-family: Display, Inter, sans-serif; font-weight: 900; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; margin: 8px 0 14px; max-width: 760px; }
.hero p { max-width: 620px; color: #dfe6f2; font-size: 1.08rem; margin: 0 0 22px; }
.kicker { color: #ffd9bf; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
section { padding: 44px 0; }
h2 { font-family: Display, Inter, sans-serif; font-weight: 900; color: var(--navy); font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; margin: 0 0 8px; }
h3 { color: var(--navy); margin: 0 0 6px; font-size: 1.12rem; }
.lead { color: var(--muted); max-width: 680px; margin: 0 0 24px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 18px; font: 700 1rem Inter, sans-serif; cursor: pointer; text-decoration: none; background: var(--orange); color: #fff; min-height: 44px; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn.navy { background: var(--navy); }
.btn.small { padding: 8px 12px; min-height: 36px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Cartes */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.card img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .price { font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.card .price s { color: var(--muted); font-weight: 400; font-size: .9rem; margin-left: 6px; }
.card .btn { margin-top: auto; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--orange-soft); color: #a8470b; width: fit-content; }
.tag.free { background: var(--green-soft); color: var(--green); }
.tag.lock { background: #eef1f6; color: var(--muted); }
.soon { font-size: .85rem; color: var(--muted); }

/* Bandeaux, FAQ, pied de page */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.points { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.points div { background: var(--bg); border-radius: 12px; padding: 16px; }
.points b { display: block; color: var(--navy); margin-bottom: 4px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; color: var(--navy); }
footer { background: var(--navy); color: #c9d4e6; padding: 32px 0; font-size: .9rem; margin-top: 40px; }
footer a { color: #fff; }
footer .wrap { display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; }

/* Formulaires */
label { font-weight: 700; display: block; margin: 12px 0 4px; }
input, textarea, select { width: 100%; font: 1rem Inter, sans-serif; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(242,113,28,.35); border-color: var(--orange); }

/* Pages de texte (mentions, CGV, fiches) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 34px; }
.prose table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--navy); color: #fff; }
.note { background: var(--orange-soft); border-left: 4px solid var(--orange); padding: 12px 14px; border-radius: 8px; }

@media (max-width: 560px) {
  .hero { padding: 32px 0 44px; }
  .hero::after { width: 170px; height: 170px; right: -85px; top: -85px; }
  section { padding: 32px 0; }
}

/* Calculateur concours */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { font: 700 .95rem Inter, sans-serif; border: 2px solid var(--line); background: #fff; color: var(--navy); border-radius: 10px; padding: 10px 14px; cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.calc form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-width: 620px; }
.calc .row input, .calc .row select { flex: 1 1 120px; width: auto; }
label.check { font-weight: 400; display: flex; gap: 10px; align-items: center; margin: 8px 0; }
label.check input { width: 20px; height: 20px; flex: 0 0 20px; }
.res { margin-top: 16px; max-width: 620px; border-radius: var(--radius); padding: 16px 18px; border: 2px solid var(--green); background: var(--green-soft); }
.res.ko { border-color: var(--red); background: var(--red-soft); }
.res .big { font-family: Display, Inter, sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--navy); line-height: 1.1; }
.res p { margin: 8px 0 0; }
.goal { font-weight: 700; color: var(--navy); }
.src { font-size: .85rem; color: var(--muted); max-width: 760px; margin-top: 14px; }
