/* ============================================================
   STYLE DU SITE — Diables Bleus (site public)
   Titres au pinceau, bleu marine, fond papier hachuré,
   formes en biais, photos teintées en bleu.
   ============================================================ */
:root {
  --navy: #0c2461;
  --navy-2: #08184a;
  --blue: #1f5bff;
  --blue-soft: #e8eeff;
  --paper: #f3f5fa;
  --ink: #0b1d4d;
  --muted: #45536f;
  --line: rgba(12, 36, 97, .16);
  --line-2: rgba(12, 36, 97, .32);
  --green: #0a7f3f;
  --red: #d42a2a;
  --amber: #f5a000;
  --grey: #67718a;
  --brush: "Permanent Marker", "Zalando Sans", cursive;
  --body: "Zalando Sans", system-ui, sans-serif;
  --wrap: 1180px;
  --shadow: 0 16px 36px -24px rgba(12, 36, 97, .6);
  --skew: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); font-size: 16px; line-height: 1.55;
  background: repeating-linear-gradient(115deg, rgba(12, 36, 97, .022) 0 1px, transparent 1px 12px), var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.page { padding-bottom: 3.5rem; }
.ico-ball, .club-svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Texte au pinceau ---------- */
.brush { font-family: var(--brush); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin: 0; transform: skewX(-6deg); }
.brush--blue { color: var(--blue); }
.brush-line { display: block; width: min(300px, 70%); height: 16px; margin-top: .3rem; color: var(--blue); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border: 0; color: var(--fg); background: var(--bg);
  font: 600 .95rem var(--body); text-decoration: none; cursor: pointer;
  clip-path: var(--skew); transition: background .2s, color .2s, transform .2s;
}
.btn:hover { --bg: var(--navy); transform: translateY(-2px); }
.btn i, .btn .ico-ball { font-size: 1.2rem; }
.btn--navy { --bg: var(--navy); }
.btn--navy:hover { --bg: var(--blue); }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--white:hover { --bg: var(--blue); --fg: #fff; }
.btn--sm { padding: .5rem 1.1rem; font-size: .86rem; }
.btn--line {
  background: #fff; color: var(--blue); clip-path: none; border: 2px solid var(--blue); border-radius: 6px;
  padding: .5rem 1rem; font-size: .88rem; transform: skewX(-6deg);
}
.btn--line:hover { background: var(--blue); color: #fff; transform: skewX(-6deg) translateY(-2px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .15rem; padding: .4rem 0;
  background: none; border: 0; color: var(--ink); font: 500 .95rem var(--body); text-decoration: none; cursor: pointer;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue); font-weight: 700; }
.nav__link i { font-size: 1.1rem; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item.is-open > .nav__link i { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 12px); left: -1rem; z-index: 60; display: none; min-width: 230px; padding: .4rem;
  background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow);
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__sub a { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 4px; text-decoration: none; font-weight: 500; font-size: .92rem; }
.nav__sub a i { color: var(--blue); font-size: 1.15rem; }
.nav__sub a:hover, .nav__sub a.is-current { background: var(--blue-soft); color: var(--blue); }
.nav__item.is-open .nav__sub { display: block; }
@media (hover: hover) and (min-width: 1181px) {
  .nav__item:hover .nav__sub { display: block; }
  .nav__item:hover > .nav__link i { transform: rotate(180deg); }
}
.nav .btn { margin-left: .3rem; padding: .7rem 1.3rem; }
.nav .btn::after { display: none; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--navy); border-radius: 10px; background: #fff; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

/* ---------- Photos teintées ---------- */
.photo { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.photo::after { content: ""; position: absolute; inset: 0; background: #4073ff; mix-blend-mode: multiply; pointer-events: none; }

/* ---------- Héros (accueil et pages) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; display: flex; align-items: center; background: var(--navy); border-bottom: 3px solid var(--navy); }
.hero { min-height: 470px; }
.page-hero { min-height: 330px; }
.hero .photo img, .page-hero .photo img { object-position: var(--pos, 60% 12%); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    repeating-linear-gradient(115deg, rgba(12, 36, 97, .025) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, var(--paper) 0%, rgba(243, 245, 250, .96) 34%, rgba(243, 245, 250, .55) 52%, rgba(243, 245, 250, 0) 68%);
}
.page-hero::before {
  background:
    repeating-linear-gradient(115deg, rgba(12, 36, 97, .025) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, var(--paper) 0%, rgba(243, 245, 250, .97) 44%, rgba(243, 245, 250, .6) 62%, rgba(243, 245, 250, 0) 78%);
}
.hero__content, .page-hero__content { position: relative; z-index: 2; }
.hero__content { padding: 3.5rem 0; }
.page-hero__content { padding: 2.6rem 0 3rem; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.6rem); color: var(--navy); }
.hero__title .brush--blue { display: block; font-size: 1.12em; }
.hero__lead { max-width: 420px; margin: 1.1rem 0 1.6rem; font-size: 1.1rem; font-weight: 500; }
.page-hero__title { max-width: 760px; font-size: clamp(2.1rem, 5vw, 3.6rem); color: var(--navy); }
.page-hero__lead { max-width: 540px; margin: .9rem 0 0; font-size: 1.05rem; font-weight: 500; }
.page-hero .actions, .page-hero .tabs { margin-top: 1.4rem; }
.page-hero--short { min-height: 260px; }

/* ---------- Badges, onglets, puces ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .9rem; padding: .35rem 1.1rem;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.tag i, .tag .ico-ball { font-size: 1rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .7rem; }
.tab {
  display: inline-flex; align-items: center; padding: .55rem 1.2rem; background: #fff; border: 2px solid var(--navy);
  color: var(--navy); font-weight: 700; font-size: .9rem; text-decoration: none; transform: skewX(-12deg); transition: background .2s, color .2s;
}
.tab > span { display: inline-flex; align-items: center; gap: .45rem; transform: skewX(12deg); }
.tab i { font-size: 1.15rem; }
.tab:hover { background: var(--blue-soft); }
.tab.is-active { background: var(--navy); color: #fff; }
.chip, .mchip {
  display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .7rem; border: 2px solid var(--navy); color: var(--navy);
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transform: skewX(-10deg);
}
.chip--blue { border-color: var(--blue); color: var(--blue); }
.status, .mstatus {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem 1rem; background: var(--blue); color: #fff;
  font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.status--live, .mstatus--live { background: var(--red); }
.status--live::before, .mstatus--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.status--resched, .mstatus--resched { background: var(--amber); color: #2b1d00; }
.status--win, .mstatus--win { background: var(--green); }
.status--loss, .mstatus--loss { background: var(--red); }
.status--canceled, .mstatus--canceled { background: var(--grey); }
.status--done, .mstatus--done { background: var(--navy); }
@keyframes pulse { 50% { opacity: .25; } }
.ibox {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; background: var(--navy); color: #fff; font-size: 1.4rem;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.ibox--blue { background: var(--blue); }
.stripes {
  position: absolute; right: -10px; bottom: -10px; width: 90px; height: 70px; pointer-events: none; opacity: .85;
  background: repeating-linear-gradient(135deg, var(--blue) 0 6px, transparent 6px 14px); clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.stripes--sm { width: 60px; height: 46px; }

/* ---------- Sections ---------- */
.section { padding: 3rem 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.section-head .brush { display: flex; align-items: center; gap: 1rem; font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--navy); }
.section-head .brush::after { content: ""; width: 80px; height: 5px; border-radius: 5px; background: var(--blue); transform: skewX(-20deg); }
.count {
  display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .5rem; background: var(--blue); color: #fff;
  font: 800 .95rem var(--body); transform: skewX(6deg); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.back { display: flex; justify-content: center; margin-top: 2.4rem; }

/* ---------- Cartes génériques ---------- */
.icard {
  position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem 1.3rem 1.2rem; overflow: hidden;
  background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); text-decoration: none;
}
a.icard { transition: transform .25s; }
a.icard:hover { transform: translateY(-4px); }
.icard__label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.icard__title { margin: 0; font-size: 1.12rem; font-weight: 800; text-transform: uppercase; line-height: 1.25; }
.icard__text { margin: 0; color: var(--muted); font-size: .93rem; }
.icard .actions { margin-top: auto; padding-top: .4rem; }
.icard__head { display: flex; align-items: center; gap: .9rem; }
.icard__head > div { min-width: 0; } /* le texte peut passer à la ligne au lieu de sortir de la carte */
.meta { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; color: var(--muted); font-weight: 500; font-size: .93rem; }
.meta li { display: flex; align-items: flex-start; gap: .5rem; }
.meta i { flex: none; margin-top: .1rem; color: var(--navy); font-size: 1.15rem; }
.note { display: flex; align-items: flex-start; gap: .45rem; margin: .2rem 0 0; padding: .55rem .75rem; background: #fff6e0; border-left: 4px solid var(--amber); font-size: .85rem; font-weight: 600; }
.note i { font-size: 1.1rem; flex: none; }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: .8rem; border-top: 2px dashed var(--line); }
.price__label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price__value { display: inline-block; font-family: var(--brush); font-size: 2.2rem; line-height: 1; color: var(--blue); transform: skewX(-6deg); }
.price__value.is-pending { font-family: var(--body); font-size: .95rem; font-weight: 700; font-style: italic; color: var(--muted); transform: none; }
.contact-value { font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }

.panel { position: relative; padding: 1.5rem; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.panel__title { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font-size: 1.08rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.panel__title i { display: grid; place-items: center; width: 38px; height: 38px; flex: none; background: var(--blue); color: #fff; font-size: 1.25rem; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.panel p { margin: .5rem 0; color: var(--muted); }
.panel .actions { margin-top: 1.2rem; }
.panel--hl { background: var(--navy); color: #fff; }
.panel--hl p { color: rgba(255, 255, 255, .88); }
.panel--hl .panel__title i { background: #fff; color: var(--navy); }
.big { display: inline-block; font-family: var(--brush); font-size: 3.2rem; line-height: 1.1; transform: skewX(-6deg); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checklist li { display: flex; align-items: flex-start; gap: .55rem; font-weight: 500; }
.checklist i { flex: none; margin-top: .05rem; color: var(--blue); font-size: 1.25rem; }
.place { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.place__text { flex: 1 1 220px; }
.place__name { margin: 0; font-weight: 800; text-transform: uppercase; }
.place__addr { margin: .2rem 0 0; color: var(--muted); }

/* ---------- Match à la une (accueil, détail) ---------- */
.match { position: relative; z-index: 5; margin-top: -2.2rem; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: 0 18px 40px -22px rgba(12, 36, 97, .55); }
.match__top { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.6rem; padding-right: 1rem; }
.match__tab { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 2.6rem .75rem 1.2rem; background: var(--navy); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); }
.match__tab i { font-size: 1.6rem; }
.match__tab .brush { font-size: 1.35rem; }
.match__info { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--muted); }
.match__info i { color: var(--navy); font-size: 1.15rem; }
.match__top .status { margin-left: auto; font-size: .78rem; padding: .35rem 1.2rem; }
.match__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1.4rem 2rem 1.8rem; }
.team { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.team--home { justify-content: flex-end; }
.team img { width: 92px; height: 92px; object-fit: contain; flex: none; }
.team__name { font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.vs { display: flex; align-items: center; gap: 1.2rem; font-family: var(--brush); font-size: 3rem; color: var(--blue); transform: skewX(-8deg); }
.vs::before, .vs::after { content: ""; width: 3px; height: 54px; background: var(--blue); opacity: .55; transform: skewX(-20deg) rotate(18deg); border-radius: 3px; }
.bigscore { text-align: center; }
.bigscore__value { display: block; font-family: var(--brush); font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: var(--navy); transform: skewX(-6deg); white-space: nowrap; }
.bigscore__sub { display: block; margin-top: .4rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.match__more { display: flex; justify-content: center; padding: 0 1rem 1.3rem; }
.match .frows, .match .mflag__rows { padding: 1.2rem 1.4rem 1.6rem; }

/* ---------- Cartes de match ---------- */
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.4rem; }
.mcard { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s; }
.mcard:hover { transform: translateY(-4px); }
.mcard__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-right: .8rem; }
.mcard__date { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.8rem .55rem .9rem; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.mcard__date i { font-size: 1.1rem; }
.mcard__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .6rem; padding: 1.3rem 1rem 1rem; }
.mteam { display: flex; flex-direction: column; align-items: center; gap: .5rem; min-width: 0; text-align: center; }
.mteam img { width: 64px; height: 64px; object-fit: contain; }
.mteam span { font-weight: 800; font-size: .86rem; line-height: 1.2; text-transform: uppercase; }
.mscore { font-family: var(--brush); font-size: 1.9rem; color: var(--navy); white-space: nowrap; transform: skewX(-6deg); }
.mvs, .mscore__vs { font-family: var(--brush); font-size: 2rem; color: var(--blue); transform: skewX(-8deg); }
.mcard__note { display: flex; align-items: flex-start; gap: .4rem; margin: 0 1rem .9rem; padding: .55rem .8rem; background: #fff6e0; border-left: 4px solid var(--amber); font-size: .85rem; font-weight: 600; }
.mcard__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding: .75rem 1rem; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.mcard__place { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; }
.mcard__place i { color: var(--navy); font-size: 1.05rem; flex: none; }
.mcard--canceled .mcard__teams { opacity: .45; }
.mcard--live { border-color: var(--red); }
.frows, .mflag__rows { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; }
.frow, .mflag__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .6rem; padding: .55rem .7rem; background: var(--paper); border-radius: 4px; }
.fteam, .mflag__team { display: flex; align-items: center; gap: .5rem; min-width: 0; font-weight: 700; font-size: .88rem; line-height: 1.2; }
.fteam img, .mflag__team img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.fteam--b, .mflag__team--b { flex-direction: row-reverse; text-align: right; }
.fmid, .mflag__mid { padding: .2rem .65rem; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: .88rem; white-space: nowrap; transform: skewX(-10deg); }
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin-top: 1.4rem; }
.info { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.info__label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.info__value { display: block; font-weight: 700; }
.info .btn { margin-top: .7rem; }
.td { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.4rem; }
.td__team { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; padding-bottom: .6rem; border-bottom: 2px solid var(--navy); font-weight: 800; text-transform: uppercase; }
.td__team img { width: 36px; height: 36px; object-fit: contain; }
.td ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.td li { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.td li .ico-ball, .td li .club-svg { color: var(--blue); }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.news { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; box-shadow: 0 12px 30px -24px rgba(12, 36, 97, .6); transition: transform .25s, box-shadow .25s; }
.news:hover { transform: translateY(-5px); box-shadow: 0 20px 36px -22px rgba(12, 36, 97, .6); }
.media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.media.photo { position: relative; inset: auto; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s; }
.media--logo { background: #fff; border-bottom: 1px solid var(--line); }
.media--logo img { object-fit: contain; padding: 1.2rem 2rem; }
.media--brand { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 12px), var(--navy); }
.media--brand img { object-fit: contain; padding: 1.4rem 1.8rem; }
.media--empty { background: repeating-linear-gradient(135deg, rgba(31, 91, 255, .5) 0 6px, transparent 6px 16px), var(--navy); }
.media--empty img { inset: 18% 30%; width: auto; height: auto; max-width: 40%; max-height: 64%; margin: auto; object-fit: contain; }
.news:hover .media--logo img, .news:hover .media--brand img { transform: scale(1.05); }
.news__body { display: flex; flex-direction: column; gap: .4rem; flex: 1; padding: 1rem 1.2rem 1.2rem; }
.news__date { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.news__date i { color: var(--navy); font-size: 1.05rem; }
.news__title { margin: 0; font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.news__excerpt { margin: 0; color: var(--muted); font-size: .92rem; }
.news__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; padding-top: .3rem; color: var(--blue); font-weight: 700; font-size: .92rem; }
.news__more i { transition: transform .2s; }
.news:hover .news__more i { transform: translateX(4px); }
.news--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; border: 2px solid var(--navy); }
.news--featured .media { aspect-ratio: auto; min-height: 320px; }
.news--featured .news__body { justify-content: center; gap: .7rem; padding: 2rem; }
.news--featured .news__title { font-family: var(--brush); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; text-transform: uppercase; color: var(--navy); transform: skewX(-6deg); }
.crop-1 img { transform: scale(1.5); transform-origin: 6% 4%; }
.crop-2 img { transform: scale(1.6); transform-origin: 46% 4%; }
.crop-3 img { transform: scale(1.5); transform-origin: 94% 4%; }
.news:hover .crop-1 img, .news:hover .crop-3 img { transform: scale(1.58); }
.news:hover .crop-2 img { transform: scale(1.68); }
.news:hover .media.photo:not([class*="crop-"]) img { transform: scale(1.05); }
/* Accueil : actualités en formats variés (une grande, des lignes avec vignette, une carte texte) */
.news-mag { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.4rem; align-items: stretch; }
.news-mag__side { display: grid; grid-template-rows: auto auto 1fr; gap: 1rem; min-width: 0; }
.news--lead { border: 2px solid var(--navy); }
.news--lead .media { aspect-ratio: 16 / 10; }
.news--lead .news__body { gap: .6rem; padding: 1.3rem 1.5rem 1.5rem; }
.news--lead .news__title { font-family: var(--brush); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.1; text-transform: uppercase; color: var(--navy); transform: skewX(-6deg); }
.news--row { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.news--row .media { aspect-ratio: auto; height: 100%; min-height: 118px; }
.news--row .media--logo { border-bottom: 0; border-right: 1px solid var(--line); }
.news--row .media--logo img, .news--row .media--brand img { padding: .7rem; }
.news--row .news__body { gap: .3rem; padding: .85rem 1rem; }
.news--row .news__title { font-size: 1rem; }
.news--text { position: relative; overflow: hidden; background: var(--navy); border-color: var(--navy); }
.news--text .news__body { justify-content: center; padding: 1.2rem 4.5rem 1.2rem 1.3rem; }
.news--text .news__date, .news--text .news__date i, .news--text .news__title, .news--text .news__more { color: #fff; }
.news--text .news__excerpt { color: rgba(255, 255, 255, .85); }
.news--text .news__label { align-self: flex-start; padding: .15rem .7rem; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: skewX(-10deg); }

/* Emplacement photo vide (aucune photo choisie dans l'admin) : logo sur fond rayé */
.photo--empty { background: repeating-linear-gradient(135deg, rgba(31, 91, 255, .45) 0 6px, transparent 6px 18px), var(--navy); }
.photo--empty::after { display: none; }
.photo.photo--empty img, .club-life .photo.photo--empty img { position: absolute; inset: 0; width: auto; height: auto; max-width: 42%; max-height: 62%; margin: auto; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.hero .photo.photo--empty img { position: absolute; left: auto; right: 8%; max-width: 30%; }

.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 800; text-decoration: none; transform: skewX(-10deg); }
.pager .is-current { background: var(--navy); color: #fff; }
.pager a:hover { background: var(--blue-soft); }

/* ---------- La vie du club ---------- */
.club-life { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 300px; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; }
.club-life .photo { position: relative; inset: auto; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.club-life .photo img { position: absolute; inset: 0; object-position: 30% 8%; }
.club-life__text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding: 2.4rem 4.5rem 2.4rem 1.5rem; }
.club-life__text .brush { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy); }
.club-life__text p { margin: 0; color: var(--muted); font-weight: 500; }
.club-life__text .btn { align-self: flex-start; }
.club-life__stripes { position: absolute; top: 0; right: 0; bottom: 0; width: 90px; background: repeating-linear-gradient(120deg, transparent 0 10px, rgba(31, 91, 255, .85) 10px 14px, transparent 14px 26px); clip-path: polygon(60% 0, 100% 0, 100% 100%, 0 100%); }

/* ---------- Bandeau d'appel (bleu marine) ---------- */
.join { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.join::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 12px); }
.join .wrap { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem 2rem; padding: 2.3rem 0; }
.join__text { flex: 1 1 380px; }
.join .brush { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.join p { margin: .4rem 0 0; font-size: 1.08rem; opacity: .92; }
.join__ball { width: 110px; height: auto; flex: none; color: #fff; opacity: .9; transform: rotate(-20deg); }

/* ---------- Article ---------- */
.article { max-width: 840px; margin-inline: auto; }
.cover { position: relative; z-index: 5; margin-top: -2.2rem; overflow: hidden; background: #000; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 0; }
.prose { margin-top: 1.6rem; padding: 2rem 2.2rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 1.05rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h3 { display: flex; align-items: center; gap: .7rem; margin: 1.8rem 0 .6rem; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; }
.prose h3::before { content: ""; width: 28px; height: 5px; flex: none; border-radius: 4px; background: var(--blue); transform: skewX(-20deg); }
.prose ul { list-style: none; padding: 0; display: grid; gap: .35rem; }
.prose ul li { display: flex; gap: .6rem; }
.prose ul li::before { content: ""; width: 12px; height: 4px; margin-top: .75em; flex: none; background: var(--blue); transform: skewX(-20deg); }
.prose blockquote { margin: 1.6rem 0; padding: 1.2rem 1.4rem; background: var(--navy); color: #fff; font-weight: 600; font-style: italic; border-left: 6px solid var(--blue); }
.prose a { color: var(--blue); font-weight: 700; }
.reactions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.reactions__label { margin: 0; font-size: .85rem; font-weight: 800; text-transform: uppercase; }
.reactions__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.react { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .9rem; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; font-size: .9rem; cursor: pointer; transform: skewX(-10deg); transition: background .2s, color .2s; }
.react i { font-size: 1.25rem; }
.react:hover { background: var(--blue-soft); }
.react.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1.2rem; }
.player { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.6rem 1rem 1.3rem; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; text-align: center; box-shadow: var(--shadow); }
.player__num { position: absolute; top: .35rem; right: .7rem; font-family: var(--brush); font-size: 1.6rem; color: var(--blue); transform: skewX(-8deg); }
.player__photo { display: grid; place-items: center; width: 96px; height: 96px; background: var(--navy); color: #fff; font-family: var(--brush); font-size: 2rem; object-fit: cover; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.player__name { margin: .55rem 0 0; font-size: 1rem; font-weight: 800; text-transform: uppercase; }
.player__role { font-size: .85rem; font-weight: 600; color: var(--muted); }
.player .chip { margin-top: .35rem; }

/* ---------- Boutique ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.4rem; }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s; }
.product-card:hover { transform: translateY(-4px); }
.product-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 1.4rem; background: repeating-linear-gradient(115deg, rgba(12, 36, 97, .02) 0 1px, transparent 1px 12px), var(--paper); }
.product-card__media img { max-height: 100%; object-fit: contain; transition: transform .4s; }
.product-card:hover .product-card__media img { transform: scale(1.05) rotate(-2deg); }
.flag { position: absolute; top: .8rem; left: 0; z-index: 1; padding: .3rem 1.1rem .3rem .8rem; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.flag--low { background: var(--amber); color: #2b1d00; }
.flag--out { background: var(--grey); }
.product-card__body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1rem 1.1rem 1.2rem; }
.product-card__name { margin: 0; font-size: 1.02rem; font-weight: 800; text-transform: uppercase; }
.pprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; }
.pprice__now { display: inline-block; font-family: var(--brush); font-size: 1.6rem; line-height: 1.1; color: var(--navy); transform: skewX(-6deg); }
.pprice__old { color: var(--muted); font-weight: 600; text-decoration: line-through; }
.sizes { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.sizes__color { margin-right: .2rem; font-size: .76rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.size { min-width: 2rem; padding: .12rem .5rem; border: 2px solid var(--line-2); border-radius: 4px; font-size: .78rem; font-weight: 700; text-align: center; }
.size.is-out { opacity: .45; text-decoration: line-through; }
.product-card .btn--line { align-self: flex-start; margin-top: auto; }
.empty { padding: 2.4rem 1.5rem; text-align: center; background: #fff; border: 2px dashed var(--line-2); border-radius: 6px; }
.empty > i { font-size: 3rem; color: var(--blue); }
.empty .checklist { max-width: 520px; margin: 1rem auto 0; text-align: left; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; padding-top: 1.6rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; padding-top: 1.4rem; }
.gallery__main { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 2rem; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.gallery__main img { max-height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: .7rem; margin-top: .9rem; }
.thumb { width: 78px; height: 78px; padding: .4rem; background: #fff; border: 2px solid var(--line-2); border-radius: 6px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.product__title { margin-bottom: .6rem; font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); }
.stock { display: flex; align-items: center; gap: .4rem; margin: .8rem 0 1.2rem; color: var(--green); font-weight: 700; }
.perso { margin: 1.2rem 0; padding: 1.1rem; background: var(--paper); border: 2px dashed var(--line-2); border-radius: 6px; }
.perso__title { display: flex; align-items: center; gap: .4rem; margin: 0 0 .8rem; font-size: .9rem; font-weight: 800; text-transform: uppercase; }

/* ---------- Formulaires ---------- */
.form-card { position: relative; z-index: 5; max-width: 840px; margin: -2.2rem auto 0; padding: 1.8rem; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row--full { grid-column: 1 / -1; }
.label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.field { width: 100%; padding: .75rem .9rem; background: #fff; border: 2px solid var(--line-2); border-radius: 6px; color: var(--ink); font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 91, 255, .2); }
.check { display: flex; align-items: flex-start; gap: .6rem; margin: 1.2rem 0 1.4rem; font-weight: 500; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--blue); }

/* ---------- Panier ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.6rem; align-items: start; }
.cart-list { display: grid; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.cart-item__img { width: 96px; height: 96px; padding: .4rem; object-fit: contain; background: var(--paper); border-radius: 4px; }
.cart-item__name { margin: 0; font-weight: 800; text-transform: uppercase; }
.cart-item__meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin: .3rem 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.cart-item__unit { margin: 0; color: var(--muted); font-size: .85rem; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.cart-item__total { display: inline-block; font-family: var(--brush); font-size: 1.5rem; color: var(--navy); transform: skewX(-6deg); }
.cart-item__actions { display: flex; align-items: center; gap: .5rem; }
.qty { display: inline-flex; align-items: center; overflow: hidden; border: 2px solid var(--navy); border-radius: 6px; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; color: var(--navy); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--blue-soft); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty__value { min-width: 2rem; text-align: center; font-weight: 800; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; background: #fff; border: 2px solid var(--line-2); border-radius: 6px; color: var(--red); font-size: 1.2rem; cursor: pointer; }
.icon-btn:hover { border-color: var(--red); }
.cart-total { position: sticky; top: 100px; display: grid; gap: .8rem; padding: 1.5rem; overflow: hidden; background: var(--navy); color: #fff; border-radius: 6px; }
.cart-total .panel__title i { background: #fff; color: var(--navy); }
.cart-total__row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.cart-total__row--sum { padding-top: .8rem; border-top: 1px dashed rgba(255, 255, 255, .4); font-size: 1.1rem; font-weight: 800; }
.cart-total__row--sum span:last-child { font-family: var(--brush); font-size: 1.9rem; transform: skewX(-6deg); }
.cart-total .btn { width: 100%; }

/* ---------- Partenaires ---------- */
/* flex (et pas grid) : la hauteur du cadre est fixe, donc max-height: 100% retient bien le logo dedans */
.partner__logo { display: flex; align-items: center; justify-content: center; height: 140px; padding: 1rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.partner__logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Pages légales ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; padding-top: 2.6rem; }
.toc { position: sticky; top: 100px; padding: 1.2rem; background: #fff; border: 2px solid var(--navy); border-radius: 6px; }
.toc__title { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.toc a { display: block; padding: .4rem .5rem; border-radius: 4px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.toc a:hover { background: var(--blue-soft); color: var(--blue); }
.legal__intro { margin: 0 0 1.2rem; padding: 1.2rem 1.4rem; background: var(--navy); color: #fff; border-radius: 6px; line-height: 1.65; }
.legal__section { margin-bottom: 1.2rem; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; line-height: 1.7; scroll-margin-top: 100px; }
.legal__section h2 { display: flex; align-items: center; gap: .8rem; margin: 0 0 .8rem; font-size: 1.12rem; font-weight: 800; text-transform: uppercase; }
.legal__section ul { padding-left: 1.2rem; }
.legal__section a { color: var(--blue); font-weight: 700; }
.num { display: grid; place-items: center; min-width: 2.3rem; height: 2.3rem; flex: none; background: var(--blue); color: #fff; font-family: var(--brush); font-size: 1.1rem; font-weight: 400; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }

/* ---------- Pages d'état ---------- */
.status-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.4rem; padding-top: 2.6rem; }
.status-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 2rem 1.6rem; overflow: hidden; text-align: center; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.status-card__icon { display: grid; place-items: center; width: 74px; height: 74px; background: var(--c, var(--blue)); color: #fff; font-size: 2.3rem; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.status-card .brush { font-size: 1.7rem; color: var(--navy); }
.status-card p { margin: 0; color: var(--muted); }
.status-card .actions { justify-content: center; margin-top: .4rem; }
.status-card--warn { --c: var(--amber); }
.status-card--ok { --c: var(--green); }
.status-card--err { --c: var(--red); }

/* ---------- Formulaire PDF ---------- */
.viewer { margin-top: 2.4rem; overflow: hidden; background: #fff; border: 2px solid var(--navy); border-radius: 6px; box-shadow: var(--shadow); }
.viewer object { display: block; width: 100%; height: 80vh; min-height: 520px; }
.viewer__fallback { padding: 2rem; text-align: center; }
.hint { display: none; align-items: center; gap: .6rem; margin: 2rem 0 0; padding: .9rem 1rem; background: #fff; border-left: 4px solid var(--blue); font-weight: 600; }
.hint i { font-size: 1.5rem; color: var(--blue); }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-2); color: #fff; border-top: 3px solid var(--blue); }
.footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2rem; padding: 1.4rem 0; }
.footer .logo { padding-right: 2rem; border-right: 1px solid rgba(255, 255, 255, .35); }
.footer .logo img { height: 54px; }
.socials { display: flex; gap: .8rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; font-size: 1.25rem; text-decoration: none; transition: background .2s; }
.socials a:hover { background: var(--blue); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 0; font-size: .85rem; }
.footer__links a { text-decoration: none; opacity: .9; }
.footer__links a + a::before { content: "|"; margin: 0 .7rem; opacity: .5; }
.footer__links a:hover { text-decoration: underline; opacity: 1; }
.footer__copy { margin: 0 0 0 auto; font-size: .85rem; opacity: .85; }

/* ============ MENU REPLIÉ ============ */
@media (max-width: 1180px) {
  .burger { display: grid; place-items: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 84px); overflow: auto; padding: .5rem 1rem 1rem; background: #fff; border-bottom: 2px solid var(--navy);
  }
  .nav.is-open { display: flex; }
  .nav__link { width: 100%; justify-content: space-between; padding: .85rem .4rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__sub { position: static; min-width: 0; padding: .2rem 0 .5rem 1rem; border: 0; box-shadow: none; }
  .nav__sub::before { display: none; }
  .nav .btn { margin: .9rem 0 0; }
}

/* ============ TABLETTE ============ */
@media (max-width: 1020px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-mag { grid-template-columns: 1fr; }
  .news--featured { grid-template-columns: 1fr; }
  .news--featured .media { min-height: 0; aspect-ratio: 16 / 9; }
  .club-life { grid-template-columns: 1fr; }
  .club-life .photo { min-height: 220px; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .club-life__text { padding: 1.4rem 4rem 1.8rem 1.4rem; }
  .product, .cart, .legal { grid-template-columns: 1fr; }
  .cart-total, .toc { position: static; }
}

/* ============ MOBILE ============ */
@media (max-width: 680px) {
  .hero { min-height: 520px; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, var(--paper) 0%, rgba(243, 245, 250, .94) 48%, rgba(243, 245, 250, .2) 78%); }
  .hero__content { padding: 2rem 0 3.6rem; }
  .page-hero { min-height: 0; align-items: flex-end; }
  .page-hero::before { background: linear-gradient(0deg, var(--paper) 0%, rgba(243, 245, 250, .95) 58%, rgba(243, 245, 250, .25) 100%); }
  .page-hero__content { padding: 6.5rem 0 2.6rem; }
  .match__top { padding-right: 0; }
  .match__top .status { margin: 0 1rem 0 auto; }
  .match__info { padding: 0 1rem; }
  .match__teams { grid-template-columns: 1fr; justify-items: center; gap: .4rem; padding: 1rem 1rem 1.6rem; }
  .team, .team--home { flex-direction: column; justify-content: center; gap: .4rem; text-align: center; }
  .team img { width: 76px; height: 76px; }
  .vs { font-size: 2.3rem; }
  .vs::before, .vs::after { height: 36px; }
  .section-head .brush::after { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news--featured .news__body { padding: 1.2rem; }
  .news--row { grid-template-columns: 110px minmax(0, 1fr); }
  .news--lead .news__body { padding: 1.1rem 1.2rem 1.3rem; }
  .hero .photo.photo--empty img { right: 50%; transform: translateX(50%); top: 8%; bottom: auto; max-width: 46%; max-height: 40%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.3rem; }
  .prose { padding: 1.3rem; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item__img { width: 72px; height: 72px; }
  .cart-item__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .hint { display: flex; }
  .viewer { display: none; }
  .footer .logo { padding-right: 0; border-right: 0; }
  .footer__copy { margin-left: 0; }
  .join__ball { display: none; }
}
/* ============================================================
   AJOUTS POUR LE VRAI SITE
   (menu de la base, logos d'équipe, formulaires, pages d'état…)
   ============================================================ */

/* ---------- Menu ---------- */
.nav__link--admin { gap: .35rem; justify-content: flex-start; color: var(--blue); font-weight: 700; }
.nav__link--admin i { font-size: 1.15rem; }
.nav__sub a .club-svg { color: var(--blue); width: 1.15rem; height: 1.15rem; }

/* ---------- Logos d'équipe (match_logo_html) ---------- */
.team__logo, .mteam__logo, .mflag__logo { display: grid; place-items: center; flex: none; }
.team__logo.is-empty, .mteam__logo.is-empty, .mflag__logo.is-empty {
  background: var(--navy); color: #fff; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.team__logo.is-empty { width: 92px; height: 92px; font-size: 2.8rem; }
.mteam__logo.is-empty { width: 64px; height: 64px; font-size: 2rem; }
.mflag__logo.is-empty { width: 34px; height: 34px; font-size: 1.1rem; }
.mflag__logo img { width: 34px; height: 34px; object-fit: contain; }

/* ---------- Cartes de match (listes Foot US / Flag) ---------- */
.mcard__date span + span::before { content: "·"; margin-right: .45rem; }
.mcard__teams .mscore { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.mscore__value { white-space: nowrap; }
.mscore__sub { font-family: var(--body); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.mcard__foot .mchip { flex: none; }
.mflag__mid strong { font-weight: 800; }
.mflag__more { margin: 0 1rem 1rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.match .mflag__more { margin: 0; padding: 1.2rem 1.4rem 1.6rem; }
.match__more { gap: .8rem; flex-wrap: wrap; }
.match .mcard__note { margin: -0.6rem 2rem 1.4rem; }
.banner { display: flex; align-items: center; gap: .6rem; margin: 1.4rem 0 0; padding: .85rem 1.1rem; background: #fff6e0; border-left: 5px solid var(--amber); font-weight: 700; border-radius: 0 6px 6px 0; }
.banner i { font-size: 1.3rem; flex: none; }
.banner--canceled { background: #eef0f5; border-color: var(--grey); }
.td__empty { margin: 0; color: var(--muted); font-style: italic; }
.td__team .mflag__logo img { width: 36px; height: 36px; }

/* ---------- Actualités ---------- */
.cover--logo { background: #fff; }
.cover--logo img { object-fit: contain; padding: 2rem; }
.prose img { height: auto; border-radius: 4px; }
.prose figure { margin: 1.4rem 0; }
.prose figure img { margin-inline: auto; }
.prose figcaption { margin-top: .4rem; font-size: .85rem; color: var(--muted); text-align: center; }
.prose h2 { margin: 2rem 0 .7rem; font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.prose h4 { margin: 1.4rem 0 .4rem; font-weight: 800; }
.prose ol { padding-left: 1.3rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.prose td, .prose th { padding: .5rem .7rem; border: 1px solid var(--line); }
.prose iframe, .prose video { max-width: 100%; }
.react:disabled { opacity: .6; cursor: wait; }

/* ---------- Messages ---------- */
.site-alert { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0; padding: .75rem 1rem; background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 6px 6px 0; color: var(--ink); font-weight: 600; font-size: .92rem; text-align: left; }
.site-alert i { flex: none; margin-top: .05rem; font-size: 1.2rem; }
.site-alert--ok { background: #e6f6ed; border-color: var(--green); }
.site-alert--err { background: #fdecec; border-color: var(--red); }
.site-alert--warn { background: #fff6e0; border-color: var(--amber); }
.page > .site-alert { max-width: 840px; margin: 1.6rem auto 0; }

/* ---------- Formulaires ---------- */
.field:disabled { background: #eef0f5; color: var(--muted); cursor: not-allowed; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.site-form .form-grid { margin-bottom: 1rem; }
.form-card .btn[type="submit"] { margin-top: .2rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.newsletter-form .field { flex: 1 1 220px; width: auto; }
.panel--hl .site-alert { color: var(--ink); }
.panel--hl .field { border-color: transparent; }
.panel--hl .btn { --bg: var(--blue); }
.panel--hl .btn:hover { --bg: #fff; --fg: var(--navy); }

/* ---------- Équipe, boutique, panier ---------- */
.empty p { margin: .6rem 0 0; font-weight: 600; }
.empty .actions { justify-content: center; margin-top: 1.2rem; }
.flags { position: absolute; top: .8rem; left: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.flags .flag { position: static; }
.sizes-list { display: grid; gap: .4rem; }
.pprice__now--big { font-size: 2.2rem; }
.stock--out { color: var(--red); }
.qty form, .cart-item__actions form { display: flex; margin: 0; }
.cart-item__warn { display: inline-flex; align-items: center; gap: .3rem; color: var(--red); font-weight: 800; }
.cart-total .site-alert { margin: 0; }

/* ---------- Pages légales ---------- */
.legal__intro p { margin: 0; }
.legal__section h3 { margin: 1.3rem 0 .4rem; font-size: 1rem; font-weight: 800; text-transform: uppercase; color: var(--navy); }
.legal__section p { margin: .5rem 0; }
.num--sub { min-width: 2.9rem; background: var(--navy); font-size: .95rem; }
.legal__table { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 6px; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal__table th { padding: .6rem .8rem; background: var(--navy); color: #fff; font-size: .76rem; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.legal__table td { padding: .6rem .8rem; border-top: 1px solid var(--line); vertical-align: top; }
.legal__table tr:nth-child(even) td { background: var(--paper); }

/* ---------- Pages d'état ---------- */
.status-wrap--single { grid-template-columns: minmax(0, 640px); justify-content: center; }
.status-page { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; min-height: 100vh; padding: 2.5rem 1rem; }
.status-page .status-card { width: min(620px, 100%); }
.status-logo { height: 70px; width: auto; }
.status-card .tag { margin-bottom: 0; }
.status-card form { width: 100%; margin-top: .6rem; text-align: left; }
.status-card .form-row { margin-bottom: 1rem; }
.status-card .site-alert { width: 100%; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 1.2s infinite; }
.status-timer { display: flex; justify-content: center; gap: .8rem; margin-top: .4rem; }
.status-timer__block { display: grid; min-width: 80px; padding: .6rem .5rem; background: var(--navy); color: #fff; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.status-timer__num { font-family: var(--brush); font-size: 2rem; line-height: 1.1; }
.status-timer__label { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ---------- Menu : nombreux liens (menu de la base + Dashboard) ---------- */
@media (min-width: 1181px) {
  .site-header .wrap { gap: 1rem; }
  .nav { gap: 1rem; }
  .nav__link { font-size: .9rem; }
  .nav .btn { padding: .6rem 1rem; }
}
@media (max-width: 680px) {
  .team__logo.is-empty { width: 76px; height: 76px; font-size: 2.3rem; }
  .match .mcard__note { margin: 0 1rem 1.2rem; }
  .status-timer__block { min-width: 66px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
