/* Site vitrine MatchDay : couleurs et polices de l'app (vert profond, citron, fond craie) */
:root {
  --brand: #103f2b;
  --brand-2: #105a36;
  --accent: #c4f442;
  --accent-hover: #b6e834;
  --bg: #f4f2ec;
  --surface: #ffffff;
  --ink: #16241c;
  --muted: #5b675f;
  --line: #e2ded3;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .top :focus-visible { outline-color: var(--accent); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--accent); color: var(--brand); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; margin: 0; }
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); color: #fff; }
h2 { font-size: clamp(2rem, 5.5vw, 3.1rem); color: var(--brand); }
h3 { font-size: 1.7rem; color: var(--brand); }
.eyebrow { margin: 0 0 12px; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow.dark { color: var(--brand-2); }
.lead { font-size: 1.2rem; color: #dfe9e2; max-width: 34rem; margin: 20px 0 0; }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 42rem; margin: 16px 0 0; }
.muted { color: var(--muted); }

/* Boutons : 48 px de haut au moins */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); color: var(--brand); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost-light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: var(--brand); color: #fff; }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font: 700 1.6rem/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.brand-small { font-size: 1.25rem; color: var(--brand); }
.top nav { display: none; margin-left: auto; gap: 4px; }
.top nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: #dfe9e2; }
.top nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top .btn { margin-left: auto; min-height: 44px; padding: 8px 18px; }
@media (min-width: 860px) { .top nav { display: flex; } .top .btn { margin-left: 8px; } }

/* Accroche : vert profond rayé comme une pelouse */
.hero { background: repeating-linear-gradient(90deg, #103f2b 0 64px, #12462f 64px 128px); color: #fff; position: relative; z-index: 1; overflow-x: clip; }
.hero-grid { display: grid; gap: 40px; padding: 56px 16px 0; align-items: end; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #dfe9e2; font-size: .95rem; }
.hero-points li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 8px; }
@media (min-width: 640px) { .hero-grid { padding: 56px 24px 0; } }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 1fr; padding-top: 88px; } .hero-grid > div { padding-bottom: 88px; } }

/* Téléphone : vraies captures de l'app */
.phone { margin: 0; }
.phone img { width: 100%; border-radius: 34px; border: 10px solid #0b2a1d; background: #0b2a1d; box-shadow: 0 30px 60px -20px rgba(8, 30, 20, .45); }
.phone figcaption { margin-top: 14px; color: var(--muted); font-size: .98rem; text-align: center; }
.phone-hero { justify-self: center; width: min(320px, 80vw); margin-bottom: -120px; }
.phone-hero img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (min-width: 900px) { .phone-hero { margin-bottom: -60px; } }

/* Bandeaux */
.band { background: var(--surface); padding: 72px 0; border-block: 1px solid var(--line); }
.band-accent { background: var(--accent); border: 0; }
.band-accent h2 { color: var(--brand); max-width: 46rem; }
.band-accent p { color: var(--brand); font-size: 1.15rem; max-width: 46rem; margin: 16px 0 0; }
.section { padding: 80px 0; }
.hero + .band { padding-top: 160px; }
@media (min-width: 900px) { .hero + .band { padding-top: 120px; } }

.questions { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 760px) { .questions { grid-template-columns: repeat(3, 1fr); } }
.q { background: var(--bg); border-radius: 20px; padding: 22px 24px; }
.q span { font: 700 2rem/1 var(--display); text-transform: uppercase; color: var(--brand); }
.q p { margin: 10px 0 0; color: var(--muted); }

/* Étapes */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--accent); font: 700 1.2rem/1 var(--display); margin-bottom: 12px; }
.steps b { display: block; font-size: 1.08rem; color: var(--brand); }
.steps span { display: block; margin-top: 6px; color: var(--muted); font-size: .98rem; }
.screens { display: grid; gap: 40px; margin-top: 56px; justify-items: center; }
.screens .phone { width: min(300px, 78vw); }
@media (min-width: 860px) { .screens { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.whatsapp { max-width: 980px; }

/* Pour qui */
.cards { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { padding-left: 26px; position: relative; }
.card li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 4px var(--brand); }

/* Vidéo */
.video-wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .video-wrap { grid-template-columns: 1fr 1.6fr; } }
.video-wrap video { width: 100%; border-radius: 20px; background: var(--brand); box-shadow: 0 24px 50px -24px rgba(8, 30, 20, .5); }

/* Confiance */
.trust { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { border-top: 4px solid var(--accent); background: var(--surface); border-radius: 0 0 18px 18px; padding: 20px; }
.trust b { color: var(--brand); font-size: 1.08rem; }
.trust p { margin: 6px 0 0; color: var(--muted); font-size: .98rem; }

/* Fin de page */
.hero-end .end { padding: 80px 16px; text-align: center; }
.hero-end h2 { color: #fff; }
.hero-end .lead { margin-inline: auto; }
.hero-end .cta-row { justify-content: center; }
.hero-end .btn { word-break: break-all; }

.foot { padding: 28px 0; border-top: 1px solid var(--line); background: var(--surface); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.foot nav a { padding: 10px 8px; color: var(--brand-2); font-weight: 500; }

/* Pages de texte (mentions légales) */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { color: var(--brand); font-size: clamp(2.2rem, 6vw, 3.2rem); }
.page h2 { font-size: 1.6rem; margin-top: 36px; }
.page p, .page li { color: var(--ink); }
.todo { background: #fff4d6; color: #7a4b00; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
