/* Savate Boxe Nogentaise — charte de la maquette validée : bleu #0B2A6F, rouge #D7262E, blanc ; Oswald / Inter. */
:root {
  --blue: #0B2A6F; --red: #D7262E; --red-dark: #B71F27; --ink: #14213D; --muted: #4A5675;
  --bg: #F4F6FB; --line: #E1E6F0; --soft-blue: #E8EDF9; --soft-red: #FBE7E8; --white: #fff;
  --radius: 16px; --wrap: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3, .oswald { font-family: Oswald, sans-serif; text-transform: uppercase; color: var(--blue); line-height: 1.05; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.muted { color: var(--muted); }
.todo { color: var(--muted); background: #FFF6D6; border-radius: 4px; padding: 0 4px; }
.tricolore { height: 6px; display: flex; } .tricolore span { flex: 1; } .tricolore span:nth-child(1){background:var(--blue)} .tricolore span:nth-child(2){background:#fff} .tricolore span:nth-child(3){background:var(--red)}

/* En-tête */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); }
.brand span { font-family: Oswald, sans-serif; font-weight: 600; font-size: 19px; line-height: 1.05; text-transform: uppercase; letter-spacing: .5px; }
.cocarde { width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex: none; }
.cocarde::before { content: ""; width: 75%; height: 75%; border-radius: 50%; background: #fff; grid-area: 1/1; }
.cocarde::after { content: ""; width: 50%; height: 50%; border-radius: 50%; background: var(--blue); grid-area: 1/1; }
.cocarde.lg { width: 96px; height: 96px; }
.main-nav { display: none; gap: 24px; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.main-nav a[aria-current="page"] { color: var(--red); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { color: #fff; filter: brightness(1.15); }
.btn-white { background: #fff; color: var(--blue); }
.btn-pill { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.btn svg { width: 20px; height: 20px; }

/* Barre de navigation mobile (bas d'écran) */
.tabbar { position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(11,42,111,.08); z-index: 10; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 12px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.tabbar a[aria-current="page"] { color: var(--red); font-weight: 700; }
.tabbar svg { width: 24px; height: 24px; }

/* Sections */
.section { padding: 32px 0; }
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 40px 0 36px; }
.hero::after { content: ""; position: absolute; right: -90px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle closest-side, var(--blue) 0 38%, #fff 38.5% 69%, var(--red) 69.5% 100%); opacity: .9; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(44px, 7vw, 72px); }
.hero .kicker { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #C9D4F2; }
.hero p { font-size: 17px; max-width: 460px; }
.hero .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; max-width: 460px; }
.photo-slot { min-height: 220px; background: #E3E9F5; border: 2px dashed #8E9BBE; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; text-align: center; padding: 12px; }
.photo-slot small { font-weight: 400; font-size: 12px; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 20px; }
.card-top { border-top: 6px solid var(--blue); }
.feature { display: flex; gap: 14px; align-items: center; padding: 16px; }
.feature .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--soft-blue); color: var(--blue); display: grid; place-items: center; }
.feature .ico.red { background: var(--soft-red); color: var(--red-dark); }
.feature strong { display: block; }
.feature span { font-size: 14px; color: var(--muted); }
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hours-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.hours-row:last-of-type { border-bottom: 0; }
.slot { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.slot .day { flex: none; width: 92px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 0; font-family: Oswald, sans-serif; }
.slot:nth-child(3n+2) .day { background: #fff; color: var(--blue); border-right: 1px solid var(--line); }
.slot:nth-child(3n) .day { background: var(--red); }
.slot .day small { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.slot .day b { font-size: 22px; }
.slot .body { padding: 16px; }
.cta-red { background: var(--red); color: #fff; border-radius: var(--radius); padding: 24px 20px; }
.cta-red h2 { color: #fff; }
.price { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.price .amount { font-family: Oswald, sans-serif; font-size: 30px; color: var(--blue); text-align: right; line-height: 1; }
.price .amount small { display: block; font-family: Inter, sans-serif; font-size: 13px; color: var(--muted); }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: Oswald, sans-serif; font-size: 18px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 18px; text-decoration: none; color: var(--ink); }
.contact-link strong { display: block; font-size: 17px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: 8px; color: var(--muted); }
form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
input, textarea { font: inherit; padding: 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); }
.alert { padding: 14px; border-radius: 12px; font-weight: 600; }
.alert-ok { background: var(--soft-blue); color: var(--blue); }
.alert-err { background: var(--soft-red); color: #9B1B22; }
.hp { position: absolute; left: -9999px; }
.legal h2 { font-size: 22px; margin-bottom: 8px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pied de page */
.site-footer { background: var(--blue); color: #DCE3F5; font-size: 14px; padding: 28px 0 32px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 12px; }
.site-footer strong { font-family: Oswald, sans-serif; font-size: 18px; text-transform: uppercase; color: #fff; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .tabbar { display: none; }
  .hero { padding: 72px 0 64px; }
  .hero::after { width: 420px; height: 420px; right: -60px; top: -60px; }
  .hero .actions { flex-direction: row; }
  .md-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .md-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
