/* Theme ytty - CRAP Veauche (mobile-first) */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-800-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/BarlowCondensed-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* CRAP Veauche - feuille de style (mobile-first) */
:root {
  --yellow: #f7ec2f;
  --yellow-d: #e6da12;
  --black: #0b0b0c;
  --ink: #17171a;
  --grey: #5b5b63;
  --line: #e4e4e0;
  --bg: #f6f5ef;
  --white: #fff;
  --radius: 14px;
  --ff-title: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; font-family: var(--ff-body); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--ff-title); font-weight: 800; line-height: 1.02; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-style: italic; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 6px var(--yellow); }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: .6rem 1rem; z-index: 200; font-weight: 700; }
.skip:focus { left: 0; }

.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
section { padding: 72px 0; position: relative; }
.eyebrow {
  display: inline-block; font-family: var(--ff-title); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .14em; text-transform: uppercase; background: var(--yellow); color: var(--black);
  padding: .15em .7em; transform: skewX(-12deg); margin-bottom: 1rem;
}
.eyebrow > span { display: inline-block; transform: skewX(12deg); }
.lead { font-size: 1.15rem; max-width: 62ch; color: var(--grey); }
.dark { background: var(--black); color: var(--white); }
.dark .lead { color: #c9c9c9; }
.dark h2 mark, h2 mark { background: none; color: inherit; box-shadow: inset 0 -.28em 0 var(--yellow); }
.dark h2 mark { color: var(--yellow); box-shadow: none; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-title); font-weight: 800;
  font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer;
  padding: .75rem 1.6rem; border: 3px solid var(--black); background: var(--yellow); color: var(--black);
  transform: skewX(-10deg); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn > span { display: inline-block; transform: skewX(10deg); }
.btn:hover { transform: skewX(-10deg) translateY(-3px); box-shadow: 5px 5px 0 var(--black); }
.dark .btn:hover, .hero .btn:hover { box-shadow: 5px 5px 0 var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--dark { background: var(--black); color: var(--yellow); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 4px solid var(--yellow); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); font-family: var(--ff-title); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: var(--white); object-fit: contain; }
.brand small { display: block; font-size: .8rem; letter-spacing: .2em; color: var(--yellow); font-weight: 600; }
.nav-toggle { background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 26px; height: 3px; background: currentColor; position: relative; margin: auto; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; } .nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--black); padding: 1rem 16px 1.5rem; display: none; border-bottom: 4px solid var(--yellow); }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .7rem 0; color: var(--white); text-decoration: none; font-family: var(--ff-title); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid #2a2a2e; }
.nav a:hover { color: var(--yellow); }
.nav .btn { margin-top: 1rem; display: inline-flex; border: 3px solid var(--black); color: var(--black); font-size: 1.2rem; }
.nav .btn:hover { color: var(--black); }

/* Hero */
.hero { background: var(--black); color: var(--white); padding: 56px 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='146' viewBox='0 0 84 146'%3E%3Cpath d='M42 2l38 21.5v43L42 88 4 66.500v-43zM0 123.500L42 100l42 23.500M42 100v46' fill='none' stroke='%23f7ec2f' stroke-width='1.600'/%3E%3C/svg%3E");
  mask-image: linear-gradient(100deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: end; }
.hero h1 { font-size: clamp(2.8rem, 11vw, 8rem); font-style: italic; line-height: .9; margin-bottom: .3em; }
.hero h1 .y { color: var(--yellow); display: block; }
.hero-text { padding-bottom: 2.5rem; }
.hero-text p { font-size: 1.15rem; max-width: 52ch; color: #dcdcdc; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-visual::before { content: ""; position: absolute; right: 0; top: 8%; width: 78%; height: 92%; background: var(--yellow); transform: skewX(-8deg); }
.hero-visual img { position: relative; max-height: 460px; width: auto; margin-inline: auto; object-fit: cover; }
.hero-badge { position: absolute; left: -4px; bottom: 12%; background: var(--white); color: var(--black); font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; padding: .6rem 1rem; line-height: 1.05; transform: rotate(-4deg); box-shadow: 6px 6px 0 var(--yellow); }
.hero-badge b { display: block; font-size: 2.4rem; }
.ticker { background: var(--yellow); color: var(--black); overflow: hidden; white-space: nowrap; border-top: 4px solid var(--black); }
.ticker div { display: inline-block; padding: .55rem 0; font-family: var(--ff-title); font-weight: 800; font-style: italic; font-size: 1.4rem; text-transform: uppercase; animation: tick 30s linear infinite; }
.ticker span { margin: 0 1.4rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Chiffres */
.stats { padding: 0; margin-top: -1px; background: var(--black); color: var(--white); }
.stats ul { list-style: none; padding: 40px 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.stats li { border-left: 4px solid var(--yellow); padding-left: 1rem; }
.stats b { display: block; font-family: var(--ff-title); font-size: clamp(2.6rem, 8vw, 4.2rem); font-weight: 800; font-style: italic; color: var(--yellow); line-height: 1; }
.stats span { font-size: .95rem; color: #cfcfcf; }

/* Actus */
.head { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.news-grid { display: grid; gap: 1.5rem; }
.card { background: var(--white); border: 3px solid var(--black); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--yellow), 8px 8px 0 3px var(--black); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 1.2rem 1.3rem 1.5rem; }
.tag { display: inline-block; background: var(--black); color: var(--yellow); font-family: var(--ff-title); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .1em .6em; font-size: .95rem; margin-bottom: .6rem; }
.card h3 { margin-bottom: .3rem; }
.card p { color: var(--grey); margin: 0; font-size: .97rem; }
.card time { font-weight: 600; font-size: .9rem; color: var(--black); }

/* Matchs */
.matches { margin-top: 3rem; }
.match-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.match { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; background: var(--white); border-left: 8px solid var(--yellow); border-radius: 6px; padding: .9rem 1.1rem; box-shadow: 0 1px 0 var(--line); }
.match .when { font-family: var(--ff-title); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; grid-row: span 2; text-align: center; line-height: 1.05; min-width: 70px; }
.match .when small { display: block; font-size: 1rem; color: var(--grey); font-weight: 600; }
.match .vs { font-family: var(--ff-title); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.match .where { color: var(--grey); font-size: .9rem; }
.match .score { font-family: var(--ff-title); font-weight: 800; background: var(--black); color: var(--yellow); padding: 0 .5em; margin-left: .5em; }
.matches-cols { display: grid; gap: 1.5rem; }
.matches-col h3 { margin-bottom: 0; }
.matches-empty { margin: 1rem 0 0; background: var(--white); border-left: 8px solid var(--yellow); border-radius: 6px; padding: 1.2rem 1.3rem; color: var(--grey); box-shadow: 0 1px 0 var(--line); }
.matches-empty strong { display: block; font-family: var(--ff-title); font-size: 1.3rem; text-transform: uppercase; color: var(--black); line-height: 1.1; margin-bottom: .3rem; }
.matches-empty p { margin: 0; }
.matches-empty .btn { margin-top: 1.2rem; }
.api-note { font-size: .85rem; color: var(--grey); margin-top: 1rem; }

/* Club */
.club-grid { display: grid; gap: 2.5rem; }
.values { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; }
.values b { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: var(--yellow); color: var(--black); font-family: var(--ff-title); font-size: 1.5rem; font-weight: 800; transform: skewX(-10deg); }
.values strong { display: block; font-family: var(--ff-title); font-size: 1.3rem; text-transform: uppercase; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 4px solid var(--yellow); }
.timeline li { position: relative; padding: 0 0 1.5rem 1rem; }
.timeline li::before { content: ""; position: absolute; left: -2.15rem; top: .3rem; width: 16px; height: 16px; background: var(--black); border: 4px solid var(--yellow); border-radius: 50%; }
.timeline b { font-family: var(--ff-title); font-size: 1.8rem; font-style: italic; display: block; line-height: 1; }
.photo-frame { border: 8px solid var(--yellow); box-shadow: 10px 10px 0 var(--black); }
.presidents { margin-top: 1.5rem; font-size: .95rem; color: var(--grey); }

/* Equipes */
.tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.tab { font-family: var(--ff-title); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .05em; padding: .5rem 1.2rem; background: transparent; color: var(--white); border: 2px solid var(--white); cursor: pointer; transform: skewX(-10deg); transition: .2s; }
.tab > span { display: inline-block; transform: skewX(10deg); }
.tab:hover { border-color: var(--yellow); color: var(--yellow); }
.tab[aria-selected="true"] { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.teams { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.team { border: 2px solid #333; border-radius: 10px; padding: 1rem; background: #151517; transition: .2s; }
.team:hover { border-color: var(--yellow); transform: translateY(-3px); }
.team b { display: block; font-family: var(--ff-title); font-size: 1.9rem; font-style: italic; color: var(--yellow); line-height: 1; }
.team span { font-size: .9rem; color: #cfcfcf; }
.teams-note { margin-top: 1.5rem; font-size: .95rem; color: #bdbdbd; }

/* Labels */
.labels { display: grid; gap: 1.2rem; }
.label { background: var(--white); border: 3px solid var(--black); padding: 1.5rem; border-radius: var(--radius); position: relative; }
.label .stars { color: var(--black); letter-spacing: .2em; font-size: 1.2rem; background: var(--yellow); display: inline-block; padding: 0 .5em; margin-bottom: .6rem; }
.label p { color: var(--grey); font-size: .97rem; margin: 0; }
.palmares { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
.palmares div { background: var(--yellow); border: 3px solid var(--black); padding: 1.2rem; text-align: center; transform: skewX(-4deg); }
.palmares b { display: block; font-family: var(--ff-title); font-weight: 800; font-size: 3.6rem; line-height: 1; font-style: italic; }
.palmares span { font-weight: 600; font-size: .95rem; }

/* Partenaires */
.partners { background: var(--white); }
.partner-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.partner-grid li { border: 2px solid var(--line); border-radius: 10px; background: var(--white); display: grid; place-items: center; aspect-ratio: 1/1; padding: .25rem; transition: .2s; overflow: hidden; }
.partner-grid li:hover { border-color: var(--black); transform: scale(1.04); }
.partner-grid img { width: 100%; height: 100%; object-fit: contain; }

/* FAQ */
.faq details { background: var(--white); border: 3px solid var(--black); border-radius: 10px; margin-bottom: .8rem; }
.faq summary { cursor: pointer; padding: 1rem 1.3rem; font-family: var(--ff-title); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--black); background: var(--yellow); width: 32px; height: 32px; display: grid; place-items: center; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--grey); }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.contact-list li { padding-left: 1rem; border-left: 4px solid var(--yellow); }
.contact-list strong { display: block; font-family: var(--ff-title); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); }
.contact-list a { text-decoration: none; font-size: 1.3rem; font-weight: 700; }
.socials { display: flex; gap: .8rem; flex-wrap: wrap; }
form { background: var(--white); color: var(--ink); border: 3px solid var(--yellow); padding: 1.6rem; border-radius: var(--radius); }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
input, select, textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 2px solid var(--black); border-radius: 6px; background: var(--white); margin-bottom: 1rem; }
textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: .6rem; font-size: .85rem; align-items: flex-start; }
.consent input { width: auto; margin: .25rem 0 0; }
.map { margin-top: 1.5rem; border: 4px solid var(--yellow); aspect-ratio: 16/10; width: 100%; }

/* Footer */
.footer { background: var(--black); color: #cfcfcf; padding: 3rem 0 1.5rem; border-top: 6px solid var(--yellow); font-size: .95rem; }
.footer .wrap { display: grid; gap: 2rem; }
.footer h2 { font-size: 1.5rem; color: var(--white); font-style: normal; margin-bottom: .6rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--yellow); }
.copy { grid-column: 1 / -1; border-top: 1px solid #2a2a2e; padding-top: 1.2rem; font-size: .85rem; }


/* Animations d'apparition */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker div { animation: none; }
  html { scroll-behavior: auto; }
}

/* Tablette */
@media (min-width: 700px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .matches-cols { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .teams { grid-template-columns: repeat(3, 1fr); }
  .labels { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .stats ul { grid-template-columns: repeat(4, 1fr); }
  .palmares { grid-template-columns: repeat(4, 1fr); }
  .footer .wrap { grid-template-columns: 2fr 1fr 1fr; }
  .match { grid-template-columns: 110px 1fr auto; }
  .match .where { grid-row: auto; text-align: right; }
}
/* Desktop */
@media (min-width: 1000px) {
  section { padding: 96px 0; }
  .nav-toggle { display: none; }
  .nav { position: static; display: block; padding: 0; background: none; border: 0; }
  .nav ul { display: flex; align-items: center; gap: 1.6rem; }
  .nav a { border: 0; padding: .3rem 0; font-size: 1.15rem; }
  .nav .btn { margin: 0 0 0 .6rem; padding: .45rem 1.2rem; font-size: 1.05rem; color: var(--black); }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; }
  .hero-visual img { max-height: 540px; }
  .hero-visual { margin-right: 0; }
  .club-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .labels { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .teams { grid-template-columns: repeat(4, 1fr); }
  .partner-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}

/* Corrections */
.teams { list-style: none; padding: 0; margin: 0; }
.dark .presidents { color: #bdbdbd; }
.dark .values li div { color: #dcdcdc; }

/* Blocks communs (common.title, common.text, common.image, common.form) */
.block-title, .block-text, .block-image, .block-form-wrap { width: min(100% - 32px, 820px); margin-inline: auto; }
.block-title { padding-top: 56px; }
.block-title[data-align="center"], .block-text[data-align="center"] { text-align: center; }
.block-title[data-align="right"], .block-text[data-align="right"] { text-align: right; }
.block-title-heading { font-size: clamp(2.4rem, 8vw, 4rem); font-style: italic; border-bottom: 6px solid var(--yellow); padding-bottom: .3em; margin: 0 0 .5rem; }
.block-title-subtitle { color: var(--grey); margin: 0 0 1.5rem; }
.block-text { padding-bottom: 56px; }
.block-text h2 { font-size: 1.7rem; font-style: normal; margin-top: 2rem; }
.block-text a { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.block-text ul { padding-left: 1.2rem; }
.block-image-media { width: 100%; height: auto; display: block; }
.block-image-caption { font-size: .85rem; color: var(--grey); margin-top: .5rem; }
.block-form-wrap { padding: 40px 0; }
.block-form-field { margin-bottom: 1rem; }
.block-form-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.block-form-input { width: 100%; font: inherit; padding: .75rem .9rem; border: 2px solid var(--black); border-radius: 6px; }
.block-form-checkbox { width: auto; margin-right: .5rem; }
.block-form-submit { cursor: pointer; font-family: var(--ff-title); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; padding: .75rem 1.6rem; border: 3px solid var(--black); background: var(--black); color: var(--yellow); }

/* Messages de formulaire (masques par defaut, affiches par la plateforme) */
.form-message-success, .form-message-error { display: none; padding: 1rem; font-weight: 700; margin-top: 1rem; }
.form-message-success { background: var(--black); color: var(--yellow); }
.form-message-error { background: #b00020; color: var(--white); }
.form-message-success p, .form-message-error p { margin: 0; }

.map-wrap iframe { margin-top: 1.5rem; }
.section-flush { padding-top: 0; }
.consent-note { font-size: .85rem; color: var(--grey); }
.consent-note a { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.partner-grid li a { display: grid; place-items: center; width: 100%; height: 100%; }
form .btn--dark { margin-top: .5rem; }

.label { display: flex; flex-direction: column; align-items: flex-start; }
.label-logo { height: 120px; width: auto; max-width: 100%; margin-bottom: 1rem; border-radius: 6px; }

/* Fil Facebook */
.fb-feed { background: var(--white); }
.fb-grid { display: grid; gap: 2rem; align-items: start; }
.fb-box { background: var(--bg); border: 3px solid var(--black); border-radius: var(--radius); padding: 1.5rem; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.fb-notice { font-size: .9rem; color: var(--grey); max-width: 42ch; margin: 0; }
.fb-box iframe { border: 0; width: 100%; max-width: 500px; display: block; }
.fb-box.loaded { padding: 0; border: 0; background: none; min-height: 0; }
@media (min-width: 1000px) { .fb-grid { grid-template-columns: 1fr 1fr; } }

/* Evenement a venir */
.event { background: var(--yellow); color: var(--black); padding: 64px 0; overflow: hidden; border-bottom: 4px solid var(--black); }
.event[hidden] { display: none; }
.event-grid { display: grid; gap: 2.5rem; align-items: center; }
.event-poster { display: block; justify-self: center; width: min(100%, 380px); border: 4px solid var(--black); box-shadow: 12px 12px 0 var(--black); transform: rotate(-2deg); transition: transform .3s; background: var(--black); }
.event-poster:hover { transform: rotate(0) scale(1.02); }
.event-poster img { width: 100%; height: auto; display: block; }
.eyebrow--dark { background: var(--black); color: var(--yellow); }
.event h2 { margin-bottom: .2em; }
.event h3 { font-size: 1.4rem; margin: 1.5rem 0 .6rem; }
.event-date { font-family: var(--ff-title); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1; margin-bottom: .8rem; }
.event-lead { font-size: 1.1rem; font-weight: 600; max-width: 52ch; }
.event-facts { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.event-facts li { background: var(--black); color: var(--white); padding: .7rem 1rem; transform: skewX(-6deg); }
.event-facts span { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); font-weight: 700; }
.event-facts strong { font-family: var(--ff-title); font-size: 1.4rem; text-transform: uppercase; line-height: 1.1; }
.event-prizes { columns: 2; padding-left: 1.2rem; margin: 0; font-weight: 600; }
.event-prices { list-style: none; padding: 0; margin: 0; max-width: 420px; }
.event-prices li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--black); padding: .35rem 0; }
.event-prices strong { font-family: var(--ff-title); font-size: 1.5rem; }
.event-note { display: inline-block; margin-top: 1.5rem; background: var(--black); color: var(--yellow); font-weight: 700; padding: .5rem 1rem; }
@media (min-width: 900px) { .event-grid { grid-template-columns: .8fr 1.2fr; } .event { padding: 88px 0; } }
.brand img { background: none; border-radius: 0; object-fit: contain; width: 52px; height: 52px; }

/* Popup image */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .25s ease; }
.lightbox img { max-width: min(92vw, 640px); max-height: 90vh; width: auto; height: auto; border: 4px solid var(--yellow); box-shadow: 10px 10px 0 var(--black); }
.lightbox-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border: 3px solid var(--black); background: var(--yellow); color: var(--black); font-size: 2rem; line-height: 1; cursor: pointer; }
.event-poster { cursor: zoom-in; }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* Hero avec photo de fond pleine largeur */
.hero--bg { padding-top: 0; }
.hero--bg .wrap { position: relative; min-height: 460px; align-items: center; padding-top: 64px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-bg .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-bg .hero-slide.is-active { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.8) 100%); }
.hero--bg .hero-text { padding-bottom: 3.5rem; }
.hero-badge--bg { position: relative; justify-self: start; bottom: auto; left: auto; margin-bottom: 2.5rem; }
@media (min-width: 1000px) {
  .hero--bg .wrap { min-height: 640px; grid-template-columns: minmax(0, 1fr); }
  .hero-bg::after { background: linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.72) 42%, rgba(11,11,12,.15) 100%), linear-gradient(0deg, rgba(11,11,12,.6) 0%, transparent 30%); }
  .hero-badge--bg { position: absolute; right: 0; bottom: 3rem; margin: 0; }
}

/* Page stages */
.stage-next[hidden] { display: none; }
.stages-hero { background: var(--black); color: var(--white); padding: 72px 0 56px; border-bottom: 4px solid var(--yellow); }
.stages-hero h1 { font-size: clamp(3rem, 11vw, 6.5rem); font-style: italic; margin-bottom: .3em; }
.stages-hero h1 mark { background: none; color: var(--yellow); }
.stages-hero .lead { color: #cfcfcf; }
.stage-next { background: var(--yellow); color: var(--black); padding: 64px 0; border-bottom: 4px solid var(--black); }
.stage-next-grid { display: grid; gap: 2.5rem; align-items: start; }
.stage-next h2 { margin-bottom: .3em; }
.stage-days { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.stage-days li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--black); color: var(--white); padding: .9rem 1.3rem; transform: skewX(-6deg); }
.stage-days strong { font-family: var(--ff-title); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--yellow); }
.stage-days span { font-family: var(--ff-title); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; text-align: right; }
.stage-price { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1rem; }
.stage-price strong { font-family: var(--ff-title); font-style: italic; font-weight: 800; font-size: 4.5rem; line-height: 1; }
.stage-price span { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.stage-info .btn { margin-top: .5rem; }
.stage-planning { padding: 72px 0; }
.weeks { display: grid; gap: 1.5rem; }
.week { background: var(--white); border: 3px solid var(--black); border-radius: var(--radius); padding: 1.5rem; }
.week h3 { background: var(--yellow); display: inline-block; padding: .1em .7em; transform: skewX(-8deg); }
.week ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.week li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--line); padding: .7rem 0; }
.week li:last-child { border: 0; }
.week li span { color: var(--grey); font-weight: 600; }
.week li strong { font-family: var(--ff-title); font-size: 1.5rem; text-transform: uppercase; text-align: right; }
.stage-register { margin-top: 2rem; background: var(--black); color: var(--white); border-left: 8px solid var(--yellow); padding: 1.5rem 1.8rem; border-radius: 6px; }
.stage-register h3 { color: var(--yellow); }
.stage-register p { margin: 0 0 .6em; max-width: 70ch; }
@media (min-width: 900px) { .stage-next-grid { grid-template-columns: 1.1fr .9fr; } .weeks { grid-template-columns: 1fr 1fr; } .stage-next { padding: 88px 0; } }
.stages { padding: 0; }

/* Agenda / page evenements */
.agenda { padding: 0; }
.page-hero { background: var(--black); color: var(--white); padding: 72px 0 56px; border-bottom: 4px solid var(--yellow); }
.page-hero h1 { font-size: clamp(3rem, 11vw, 6.5rem); font-style: italic; margin-bottom: .3em; }
.page-hero h1 mark { background: none; color: var(--yellow); }
.page-hero .lead { color: #cfcfcf; }
.agenda-list { padding: 56px 0 80px; }
.agenda-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.agenda-item { display: flex; gap: 1.2rem; background: var(--white); border: 3px solid var(--black); border-radius: var(--radius); padding: 1.2rem; transition: transform .25s, box-shadow .25s; }
.agenda-item:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--yellow), 8px 8px 0 3px var(--black); }
.agenda-item[hidden] { display: none; }
.agenda-date { flex: none; width: 84px; align-self: flex-start; background: var(--yellow); border: 3px solid var(--black); text-align: center; padding: .5rem .2rem; transform: skewX(-6deg); }
.agenda-date b { display: block; font-family: var(--ff-title); font-style: italic; font-weight: 800; font-size: 2.4rem; line-height: 1; }
.agenda-date span { font-family: var(--ff-title); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; }
.agenda-body h2 { font-size: 1.7rem; font-style: normal; margin-bottom: .25rem; }
.agenda-meta { font-weight: 700; margin: 0; }
.agenda-place { color: var(--grey); margin: 0; }
.agenda-text { margin: .6rem 0 0; color: var(--grey); font-size: .97rem; }
.agenda-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.agenda-actions .btn { font-size: 1.05rem; padding: .5rem 1.1rem; }
.agenda-thumb { display: none; }
.agenda-empty { text-align: center; color: var(--grey); padding: 2rem 0; }
.event-cta { margin: 1.2rem 0 0; }
@media (min-width: 800px) { .agenda-grid { grid-template-columns: 1fr 1fr; } }

/* Liste simple des evenements (accueil) */
.event-list { background: var(--white); padding: 56px 0; }
.el-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--black); }
.el-item { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: .8rem 0; border-bottom: 2px solid var(--line); }
.el-item[hidden] { display: none; }
.el-date { font-family: var(--ff-title); font-weight: 800; font-style: italic; font-size: 1.3rem; text-transform: uppercase; background: var(--yellow); justify-self: start; padding: 0 .6em; }
.el-title { font-family: var(--ff-title); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.el-place { color: var(--grey); font-size: .95rem; }
.el-more { margin-top: 1.5rem; }
@media (min-width: 800px) {
  .el-item { grid-template-columns: 240px 1fr auto; align-items: center; gap: 1.5rem; }
  .el-place { text-align: right; }
}
.event-list[hidden] { display: none; }

/* Lien "Devenir partenaire" sous les logos (accueil) */
.partners-cta { margin: 2.5rem 0 0; text-align: center; }

/* Page devenir partenaire */
.partner-offer { padding: 0; }
.po-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.page-hero .btn--ghost { color: var(--white); }
.page-hero .btn--ghost:hover { color: var(--black); }
.po-why, .po-supports { padding: 72px 0; }
.po-why-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.po-why-list li { display: flex; align-items: center; gap: 1.1rem; background: var(--white); border: 3px solid var(--black); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.po-why-list p { margin: 0; font-weight: 600; font-size: 1.1rem; }
.po-num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; background: var(--yellow); border: 3px solid var(--black); font-family: var(--ff-title); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: 1; transform: skewX(-8deg); }
.po-club { padding: 72px 0; }
.po-facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.po-facts li { border-left: 6px solid var(--yellow); padding: .3rem 0 .3rem 1.1rem; }
.po-facts b { display: block; font-family: var(--ff-title); font-style: italic; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--yellow); text-transform: uppercase; }
.po-facts span { color: #dcdcdc; }
.po-club .palmares { margin-top: 2.5rem; }
.po-club .palmares div { color: var(--black); }
.po-labels { margin: 2rem 0 0; color: #cfcfcf; max-width: 70ch; }
.po-grid { display: grid; gap: 1.2rem; margin-top: 2rem; }
.po-card { background: var(--white); border: 3px solid var(--black); border-radius: var(--radius); padding: 1.5rem; }
.po-card h3 { background: var(--yellow); display: inline-block; padding: .1em .7em; transform: skewX(-8deg); }
.po-card p { margin: .8rem 0 0; color: var(--grey); }
.po-card .po-highlight { color: var(--black); font-weight: 700; border-left: 4px solid var(--yellow); padding-left: .8rem; }
.po-tags { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.po-tags li { background: var(--black); color: var(--yellow); font-family: var(--ff-title); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .8rem; transform: skewX(-8deg); }
.po-cta { padding: 0 0 88px; }
.po-cta-box { display: grid; gap: 1.5rem; background: var(--yellow); border: 4px solid var(--black); box-shadow: 10px 10px 0 var(--black); padding: 2rem 1.5rem; }
.po-cta-box h2 { margin-bottom: .3em; }
.po-cta-box p { margin: 0; font-weight: 600; max-width: 56ch; }
.po-cta-box .po-actions { margin-top: 0; }
.po-cta-box .btn { overflow-wrap: anywhere; }
@media (min-width: 700px) {
  .po-why-list { grid-template-columns: repeat(2, 1fr); }
  .po-facts { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .po-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .po-why, .po-supports, .po-club { padding: 96px 0; }
  .po-facts { grid-template-columns: repeat(4, 1fr); }
  .po-grid { grid-template-columns: repeat(3, 1fr); }
  .po-cta-box { grid-template-columns: 1fr auto; align-items: center; padding: 2.5rem 2.5rem; }
}

/* Partenaires : popup logo */
.partner-grid li a { cursor: zoom-in; }
.lightbox--logo[open] { display: grid; grid-template-columns: auto; justify-items: center; background: var(--white); border: 4px solid var(--yellow); box-shadow: 10px 10px 0 var(--black); padding: 1.5rem 1.5rem 1.2rem; max-width: min(92vw, 520px); }
.lightbox--logo img { width: min(78vw, 400px); max-height: 60vh; object-fit: contain; border: 0; box-shadow: none; background: var(--white); }
.lightbox-caption { margin: 1rem 0 0; text-align: center; font-family: var(--ff-title); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; color: var(--black); display: grid; gap: .6rem; justify-items: center; }
.lightbox-site { font-family: var(--ff-body); font-weight: 700; font-size: .95rem; text-transform: none; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }


ffbb-matches {
  --f-yellow: var(--yellow, #f7ec2f);
  --f-yellow-d: var(--yellow-d, #e6da12);
  --f-black: var(--black, #0b0b0c);
  --f-ink: var(--ink, #17171a);
  --f-grey: var(--grey, #5b5b63);
  --f-line: var(--line, #e4e4e0);
  --f-white: var(--white, #fff);
  --f-radius: var(--radius, 14px);
  --f-title: var(--ff-title, "Barlow Condensed", "Arial Narrow", sans-serif);
  --f-body: var(--ff-body, "Inter", system-ui, sans-serif);

  display: block;
  width: min(100% - 32px, var(--maxw, 1180px));
  margin: 0 auto 2.5rem;
  font-family: var(--f-body);
  color: var(--f-ink);
}

.ffbb { display: block; }

/* ── Barre : onglets + filtre d'équipe ─────────────────────────────────────── */
.ffbb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.ffbb__tabs { display: flex; flex-wrap: wrap; gap: .6rem; }

.ffbb__tab {
  font-family: var(--f-title); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em;
  padding: .55rem 1.4rem; border: 3px solid var(--f-black); background: var(--f-white); color: var(--f-black);
  cursor: pointer; transform: skewX(-10deg); transition: transform .2s, box-shadow .2s, background .2s;
}
.ffbb__tab:hover { transform: skewX(-10deg) translateY(-3px); box-shadow: 5px 5px 0 var(--f-black); }
.ffbb__tab[aria-selected="true"] { background: var(--f-yellow); }

.ffbb__filter {
  font-family: var(--f-title); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em;
  padding: .55rem 2.4rem .55rem 1rem; color: var(--f-black); background-color: var(--f-white);
  border: 3px solid var(--f-black); border-radius: 0; cursor: pointer; max-width: 100%;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--f-black) 50%), linear-gradient(135deg, var(--f-black) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.ffbb__filter:hover { box-shadow: 5px 5px 0 var(--f-black); }

.ffbb__tab:focus-visible, .ffbb__filter:focus-visible, .ffbb__more:focus-visible, .ffbb__retry:focus-visible, .ffbb__venue:focus-visible {
  outline: 3px solid var(--f-black); outline-offset: 3px; box-shadow: 0 0 0 6px var(--f-yellow);
}

.ffbb__period {
  display: inline-block; margin: 0 0 1.2rem; font-family: var(--f-title); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .14em; text-transform: uppercase; background: var(--f-yellow); color: var(--f-black);
  padding: .15em .7em; transform: skewX(-12deg);
}

/* ── Liste ─────────────────────────────────────────────────────────────────── */
.ffbb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }

/* Titres de semaine et de niveau : occupent toute la ligne de la grille */
.ffbb__week, .ffbb__level { grid-column: 1 / -1; }
.ffbb__week {
  margin-top: .8rem; padding-bottom: .4rem; border-bottom: 4px solid var(--f-black);
  font-family: var(--f-title); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: .01em; line-height: 1.05;
}
.ffbb__week:first-child { margin-top: 0; }
.ffbb__level {
  justify-self: start; margin-top: .4rem; background: var(--f-black); color: var(--f-yellow);
  font-family: var(--f-title); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .1em .8em; transform: skewX(-12deg);
}

/* ── Carte d'un match ──────────────────────────────────────────────────────── */
.ffbb__match {
  display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem 1.2rem 1.2rem;
  background: var(--f-white); border: 3px solid var(--f-black); border-radius: var(--f-radius);
  transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.ffbb__match:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--f-yellow), 8px 8px 0 3px var(--f-black); }
/* Bandeau jaune à gauche pour les matchs à domicile */
.ffbb__match--home::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--f-yellow); border-right: 3px solid var(--f-black); }
.ffbb__match--home { padding-left: calc(1.2rem + 8px); }

.ffbb__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; }
.ffbb__date { font-weight: 700; font-size: .9rem; text-transform: capitalize; color: var(--f-black); }
.ffbb__team {
  background: var(--f-black); color: var(--f-yellow); font-family: var(--f-title); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .95rem; padding: .05em .6em;
}
.ffbb__competition { flex-basis: 100%; color: var(--f-grey); font-size: .85rem; line-height: 1.35; }

.ffbb__teams { display: grid; gap: .55rem; }
.ffbb__side { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: .75rem; }
.ffbb__logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.ffbb__logo--fallback {
  display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--f-black); border-radius: 50%;
  background: var(--f-bg, var(--bg, #f6f5ef)); font-family: var(--f-title); font-weight: 800; font-size: 1rem; color: var(--f-black);
}
.ffbb__name { font-family: var(--f-title); font-weight: 700; font-size: 1.2rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.ffbb__side--club .ffbb__name { color: var(--f-black); }
.ffbb__side:not(.ffbb__side--club) .ffbb__name { color: var(--f-grey); }
.ffbb__score { font-family: var(--f-title); font-weight: 800; font-size: 1.9rem; line-height: 1; min-width: 2ch; text-align: right; }
.ffbb__side:not(.ffbb__side--club) .ffbb__score { color: var(--f-grey); }

/* Pied de carte : heure / lieu ou résultat */
.ffbb__info { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: .8rem; border-top: 2px dashed var(--f-line); }
.ffbb__time { font-family: var(--f-title); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.ffbb__where {
  font-family: var(--f-title); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--f-yellow); color: var(--f-black); padding: .1em .7em; transform: skewX(-12deg);
}
.ffbb__match--away .ffbb__where { background: var(--f-white); border: 2px solid var(--f-black); }

.ffbb__result {
  font-family: var(--f-title); font-weight: 800; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .1em .8em; border: 2px solid var(--f-black); transform: skewX(-12deg);
}
.ffbb__result--won { background: var(--f-yellow); color: var(--f-black); }
.ffbb__result--lost { background: var(--f-black); color: var(--f-white); }
.ffbb__result--draw { background: var(--f-white); color: var(--f-black); }
.ffbb__match--won .ffbb__side--club .ffbb__score { box-shadow: inset 0 -.28em 0 var(--f-yellow); }

.ffbb__venue-wrap { margin-top: -.2rem; }
.ffbb__venue { color: var(--f-grey); font-size: .85rem; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--f-yellow); text-decoration-thickness: 2px; }
.ffbb__venue:hover { color: var(--f-black); }

/* ── États, « voir plus », crédit ──────────────────────────────────────────── */
.ffbb__state {
  margin: 0; padding: 1.6rem 1.4rem; text-align: center; background: var(--f-white);
  border: 3px dashed var(--f-black); border-radius: var(--f-radius); color: var(--f-grey);
}
.ffbb__state p { margin: 0 0 1rem; }
.ffbb__state--error { border-style: solid; border-color: var(--f-black); box-shadow: 6px 6px 0 var(--f-yellow), 6px 6px 0 3px var(--f-black); color: var(--f-ink); }
.ffbb__state--loading { animation: ffbb-pulse 1.2s ease-in-out infinite; }
@keyframes ffbb-pulse { 50% { opacity: .45; } }

.ffbb__more-wrap { display: flex; justify-content: center; margin-top: 1.6rem; }
.ffbb__more, .ffbb__retry {
  display: inline-flex; align-items: center; font-family: var(--f-title); font-weight: 800; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: .05em; padding: .7rem 1.6rem; border: 3px solid var(--f-black);
  background: var(--f-yellow); color: var(--f-black); cursor: pointer; transform: skewX(-10deg);
  transition: transform .2s, box-shadow .2s;
}
.ffbb__more:hover, .ffbb__retry:hover { transform: skewX(-10deg) translateY(-3px); box-shadow: 5px 5px 0 var(--f-black); }

.ffbb__credit { margin: 1.6rem 0 0; text-align: right; font-size: .8rem; color: var(--f-grey); }
.ffbb__credit a { color: var(--f-black); font-weight: 600; text-decoration-color: var(--f-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .ffbb__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .ffbb__list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .ffbb__tab { font-size: 1.05rem; padding: .5rem 1rem; }
  .ffbb__filter { width: 100%; }
  .ffbb__name { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ffbb__match, .ffbb__tab, .ffbb__more, .ffbb__retry { transition: none; }
  .ffbb__match:hover, .ffbb__tab:hover, .ffbb__more:hover, .ffbb__retry:hover { transform: none; }
  .ffbb__tab:hover { transform: skewX(-10deg); }
  .ffbb__state--loading { animation: none; }
}


/* Page le club : livrets d'histoire (PDF) */
.club-archives { padding: 0; }
.ca-list { padding: 56px 0 80px; }
.ca-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.ca-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.1rem; align-items: start; background: var(--white); border: 3px solid var(--black); border-radius: var(--radius); padding: 1.1rem; transition: transform .25s, box-shadow .25s; }
.ca-item:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--yellow), 8px 8px 0 3px var(--black); }
.ca-cover { display: block; border: 2px solid var(--black); border-radius: 6px; overflow: hidden; background: var(--bg); }
.ca-cover img { width: 100%; aspect-ratio: 420 / 594; object-fit: cover; }
.ca-body h3 { margin-bottom: .4rem; }
.ca-body p { color: var(--grey); font-size: .97rem; }
.ca-body .btn { font-size: 1.05rem; padding: .5rem 1.1rem; }
.ca-body .ca-size { margin: .7rem 0 0; font-size: .85rem; }
.ca-note { margin: 2rem 0 0; color: var(--grey); font-size: .95rem; max-width: 70ch; }
@media (min-width: 640px) {
  .ca-item { grid-template-columns: 170px minmax(0, 1fr); gap: 1.5rem; padding: 1.3rem; }
}
@media (min-width: 1000px) {
  .ca-grid { grid-template-columns: 1fr 1fr; }
}

/* Page le club : récit de l'histoire */
.club-story { background: var(--white); padding: 72px 0 80px; }
.cs-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--black); }
.cs-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; padding: 1.6rem 0; border-bottom: 2px solid var(--line); }
.cs-period { justify-self: start; align-self: start; font-family: var(--ff-title); font-weight: 800; font-style: italic; font-size: 1.5rem; text-transform: uppercase; background: var(--yellow); padding: 0 .6em; line-height: 1.4; }
.cs-body h3 { margin-bottom: .5rem; }
.cs-body p { max-width: 68ch; color: var(--ink); }
.cs-body p:last-child { margin-bottom: 0; }
.cs-extra { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 3rem; align-items: start; }
.cs-box { border: 3px solid var(--black); border-radius: var(--radius); padding: 1.5rem 1.6rem; background: var(--bg); }
.cs-box h3 { margin-bottom: .6rem; }
.cs-box p:last-child { margin-bottom: 0; }
.cs-box--dark { background: var(--black); color: var(--white); }
.cs-box--dark h3 { color: var(--yellow); }
.cs-presidents { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cs-presidents li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .8rem; align-items: baseline; border-bottom: 1px solid #2c2c31; padding-bottom: .5rem; }
.cs-presidents li:last-child { border-bottom: 0; padding-bottom: 0; }
.cs-presidents b { font-family: var(--ff-title); font-weight: 800; font-size: 1.15rem; color: var(--yellow); letter-spacing: .03em; }
.cs-source { margin: 2rem 0 0; color: var(--grey); font-size: .9rem; max-width: 70ch; }
@media (min-width: 800px) {
  .cs-item { grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; }
  .cs-extra { grid-template-columns: 1fr 1fr; }
}

/* Sous-menu du header */
.nav .sub { margin: 0 0 .4rem; padding: 0 0 0 1rem; }
.nav .sub a { font-size: 1.1rem; color: #cfcfcf; }
.club-more { margin: 1.8rem 0 0; }
.cs-extra > .cs-box:only-child { max-width: 560px; }
@media (min-width: 1000px) {
  .nav li.has-sub { position: relative; padding: 1.2rem 0; }
  .nav li.has-sub > a::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15em) rotate(45deg); }
  .nav .sub { display: none; position: absolute; top: 100%; left: -1rem; min-width: 13rem; margin: 0; padding: .6rem 1rem .8rem; background: var(--black); border-bottom: 4px solid var(--yellow); flex-direction: column; align-items: flex-start; gap: 0; }
  .nav li.has-sub:hover > .sub, .nav li.has-sub:focus-within > .sub { display: flex; }
  .nav .sub a { padding: .45rem 0; font-size: 1.1rem; color: var(--white); white-space: nowrap; }
  .nav .sub a:hover { color: var(--yellow); }
}
