/* Site officiel SQBB — design repris à l'identique du site V2 (sqbb-nouveau-site). */
:root { --blue: #0756bb; --navy: #092347; --sky: #8bc3e7; --paper: #f3f6fb; --line: #dbe2ec; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 Arial, Helvetica, sans-serif; color: var(--navy); background: #fff; padding-top: 34px; }
a { color: inherit; text-decoration: none; }
a:hover { color: #4978ba; }
button, input, textarea, select { font: inherit; }
button, a, input, summary, textarea { outline-offset: 5px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b96c04; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #b96c04; outline-offset: 2px; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.release-strip { position: fixed; inset: 0 0 auto; min-height: 34px; z-index: 40; display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 6px max(16px, env(safe-area-inset-right)); background: #102a50; color: #e3edfa; font: 11px/22px Arial, sans-serif; font-variant: tabular-nums; }
.release-strip strong { color: #fff; }
.release-strip .test { margin-right: auto; color: #ffd98a; font-weight: 700; }
.skip { position: fixed; left: 10px; top: -100px; background: #fff; padding: 12px; z-index: 99; }
.skip:focus { top: 44px; }

.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.top { background: var(--navy); color: #fff; padding: 8px 5%; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 1px; }

header.site { position: sticky; top: 34px; background: rgba(255, 255, 255, .98); z-index: 20; border-bottom: 1px solid var(--line); }
.header { padding: 13px 4%; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 12px; letter-spacing: 1px; line-height: 1.3; }
.brand img { height: 63px; width: 54px; object-fit: contain; }
nav.main { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; letter-spacing: .1px; }
nav.main > a.nav-link, .nav-dropdown summary { position: relative; display: inline-flex; align-items: center; padding: 10px 12px; border-radius: 6px; color: var(--navy); transition: color .15s, background .15s; }
nav.main > a.nav-link::after, .nav-dropdown summary::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
nav.main > a.nav-link:hover, .nav-dropdown summary:hover, .nav-dropdown[open] summary { color: var(--blue); background: #f1f6fc; }
nav.main > a.nav-link:hover::after, .nav-dropdown summary:hover::before, nav.main > a.nav-link[aria-current]::after, .nav-dropdown.current summary::before { transform: scaleX(1); }
nav.main > a.nav-link[aria-current], .nav-dropdown.current summary { color: var(--blue); }
.nav-ticket { margin-left: 12px; gap: 0; justify-content: center; padding: 12px 22px; font-size: 14px; letter-spacing: .2px; box-shadow: 0 6px 16px rgba(7, 86, 187, .22); }
nav.main details { position: relative; }
summary { cursor: pointer; }
.nav-dropdown summary { list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform .2s, margin .2s; }
.nav-dropdown[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.nav-dropdown > div { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; box-shadow: 0 18px 45px rgba(27, 47, 84, .15); padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.nav-dropdown a { display: flex; align-items: center; padding: 8px 12px; min-height: 42px; border-radius: 6px; font-weight: 600; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { background: #edf4fb; color: var(--blue); }

.ticket, .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--blue); color: #fff; padding: 14px 20px; border: 0; font-weight: 700; font-size: 13px; min-height: 46px; border-radius: 7px; transition: background .18s, transform .18s; }
.button:hover, .ticket:hover { color: #fff; background: #1b2f54; }
.button:hover { transform: translateY(-1px); }
.button.white { background: #fff; color: var(--navy); }
.button.white:hover { background: #e4eef9; color: var(--navy); }
.button.line { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.button.line:hover { color: #fff; background: #1b2f54; border-color: #1b2f54; }
.mobile { display: none; }
.mobile summary { list-style: none; font-weight: 700; font-size: 14px; padding: 10px 0; }
.mobile summary::-webkit-details-marker { display: none; }
.mobile-close { display: block; margin: 10px 0 10px auto; padding: 12px 18px; background: #0b3876; color: #fff; border: 0; border-radius: 6px; }

/* Bannières de page */
.v3-banner { position: relative; isolation: isolate; background: var(--navy); color: #fff; min-height: var(--banner-height, 420px); display: grid; align-items: center; }
.v3-banner picture, .v3-banner::after { position: absolute; inset: 0; z-index: -1; }
.v3-banner picture img { width: 100%; height: 100%; object-fit: cover; }
.v3-banner::after { content: ""; background: rgba(6, 27, 56, var(--veil, .7)); }
.v3-banner-copy { padding: 60px 6%; width: 100%; max-width: 1600px; margin: auto; }
.v3-banner h1 { font-size: clamp(34px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -.04em; margin: 18px 0; overflow-wrap: anywhere; }
.v3-banner p { font-size: 18px; }
.v3-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.section { padding: 65px 6%; max-width: 1600px; margin: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
h1, h2, h3 { line-height: 1.12; }
h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -1.5px; margin: 10px 0 20px; }
h3 { font-size: 24px; margin: 12px 0; }
p { max-width: 75ch; }
.band, .fixture-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
.card { border: 1px solid var(--line); background: #fff; overflow: hidden; border-radius: 7px; }
.card-content { padding: 25px; min-width: 0; }
.card .meta, .article-card .meta { font-size: 12px; color: #50617b; }

/* Actualités */
.article-card { min-width: 0; overflow-wrap: anywhere; }
.article-card h3 { font-size: 25px; }
.article-card .cover { display: block; width: 100%; aspect-ratio: 16/10; height: auto; max-height: 320px; object-fit: cover; background: var(--paper); transition: transform .3s; }
.article-card a:hover .cover { transform: scale(1.015); }
.article-card a:hover h3 { text-decoration: underline; }
.article-card .cover-empty { display: grid; place-items: center; width: 100%; aspect-ratio: 16/10; background: var(--navy); color: rgba(255,255,255,.25); font-weight: 900; font-size: 48px; letter-spacing: -2px; }
.news-editorial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-editorial > article:first-child { grid-area: span 2 / span 2; }
.news-editorial > article:first-child .cover, .news-editorial > article:first-child .cover-empty { max-height: none; aspect-ratio: 1.38/1; }
.news-editorial > article:first-child h3 { font-size: 38px; }
.news-grid > article:first-child { grid-column: span 2; }
.news-grid > article:first-child .cover { max-height: 430px; }
.pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); }

/* Matchs */
.match { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.match .teams { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 18px; font-weight: 800; min-height: 85px; }
.teams img { height: 52px; width: 52px; object-fit: contain; display: block; }
.score { font-size: 24px; font-weight: 800; }
.competition-logo { width: 65px; height: 45px; object-fit: contain; }
.calendar-note { display: block; margin: 0 0 20px; color: #495d79; }
.next-fixture { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(260px, 2fr); gap: 20px; align-items: center; }
.next-fixture h2 { font-size: 40px; }
.next-fixture .match { display: grid; grid-template-columns: 1fr 2fr; gap: 10px 24px; align-items: center; }
.next-fixture .match .teams { grid-area: 1 / 2 / 5; justify-content: space-around; }
.calendar-tabs { display: flex; gap: 12px; margin: 16px 0; }
.calendar-list { display: grid; gap: 18px; }
.calendar-list .match { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(240px, 2fr) minmax(140px, 1fr); align-items: center; gap: 14px 24px; border-radius: 10px; border-left: 5px solid var(--blue); }
.calendar-list .match .teams { grid-area: 1 / 2 / 5; gap: 20px; }
.calendar-list .match .teams > div { text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; }
.calendar-list .match > small { grid-column: 1; }
.calendar-list .match .button { grid-column: 3; font-size: 12px; }
.calendar-list .match > img { max-width: 75px; max-height: 40px; grid-column: 3; }
.calendar-list .match .when { grid-column: 3; }
.dazn-link { display: flex; gap: 15px; align-items: center; margin: 28px 0; font-weight: 700; }
.dazn-badge { background: var(--navy); color: #fff; padding: 20px 10px; border-radius: 5px; font-weight: 900; letter-spacing: 1px; font-size: 14px; }
.dazn-link img { background: var(--navy); padding: 8px; border-radius: 5px; width: 64px; height: 64px; object-fit: contain; }

/* Joueurs et staff */
.person { position: relative; background: var(--paper); }
.person img { width: 100%; height: 360px; object-fit: contain; object-position: center bottom; display: block; }
.number { position: absolute; right: 20px; top: 8px; font-size: 76px; color: rgba(27, 47, 84, .125); font-weight: 900; z-index: 0; }
.person .card-content { position: relative; background: var(--paper); }
.player-tile { display: block; background: #eef3fa; position: relative; overflow: hidden; border-bottom: 4px solid var(--blue); }
.player-tile img { height: 340px; width: 100%; object-fit: contain; object-position: center bottom; display: block; position: relative; z-index: 1; }
.player-tile > div { padding: 20px; }
.player-tile small { text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: 11px; color: var(--blue); }
.player-tile h3 { margin: 6px 0 0; }
.photo-empty { display: grid; place-items: center; height: 360px; font-size: 64px; font-weight: 900; color: #b4c8df; }
.athlete-hero { background: var(--navy); position: relative; min-height: 660px; color: #fff; display: flex; align-items: end; overflow: hidden; }
.athlete-hero picture { position: absolute; inset: 0; }
.athlete-hero picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 35, 71, .93), rgba(9, 35, 71, .267)); }
.athlete-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.athlete-intro { position: relative; padding: 70px 6%; max-width: 1100px; }
.athlete-intro h1 { font-size: clamp(46px, 7vw, 100px); text-transform: uppercase; line-height: .96; margin: 25px 0; overflow-wrap: anywhere; }
.athlete-intro h1 strong { display: block; }
.athlete-number { position: absolute; right: -140px; top: -10px; font-size: 220px; font-weight: 900; color: rgba(255, 255, 255, .098); }
.athlete-story { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 70px; align-items: start; }
.athlete-portrait { width: 100%; max-height: 360px; object-fit: contain; background: var(--paper); }
.athlete-facts { display: grid; gap: 1px; background: #d8e1ed; border: 1px solid #d8e1ed; margin: 0; }
.athlete-facts div { padding: 18px; background: #f5f8fc; }
.athlete-facts dt { font-size: 12px; color: #456080; }
.athlete-facts dd { margin: 4px 0; font-size: 23px; font-weight: 700; }

/* Blocs d'accueil */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split img { width: 100%; max-height: 520px; object-fit: cover; }
.shop-invite { background: var(--blue); color: #fff; }
.shop-invite h2 { font-size: clamp(38px, 5vw, 72px); }
.shop-invite .eyebrow { color: #fff; }
.practical-band { background: var(--navy); color: #fff; }
.practical-band img { aspect-ratio: 1.4/1; object-fit: cover; }
.partner-ticker { max-width: 100%; min-width: 0; }
.ticker-control { margin-bottom: 16px; }
.ticker-window { overflow: hidden; max-width: 100%; }
.ticker-track { display: flex; width: max-content; animation: travel var(--run, 160s) linear infinite; }
.ticker-run { display: flex; flex: 0 0 auto; }
.badge-logo { display: flex; align-items: center; justify-content: center; width: 168px; height: 104px; padding: 16px; flex: 0 0 auto; color: var(--navy); text-align: center; font-size: 13px; font-weight: 700; }
.badge-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-ticker[data-paused] .ticker-track, .partner-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes travel { 100% { transform: translateX(-50%); } }
.partners-cta { padding-top: 22px; padding-bottom: 22px; }
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; padding: 30px 0; }
.partners > div { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 150px; text-align: center; }
.partners img { width: 145px; height: 90px; object-fit: contain; }
.partners p { margin: 0; font-size: 14px; }
.partners .button { padding: 10px 16px; gap: 16px; }

/* Pages de lecture */
.reading { max-width: 1000px; overflow-wrap: anywhere; min-width: 0; }
.reading > img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(70vh, 660px); object-fit: contain; margin: 24px auto; }
.reading > img.article-cover { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.article-lead { font-size: 1.15em; font-weight: 600; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.timeline { max-width: 1000px; margin: auto; border-left: 2px solid var(--sky); padding-left: 35px; }
.timeline article { margin-bottom: 50px; position: relative; }
.timeline article::before { content: ""; position: absolute; width: 13px; height: 13px; left: -42px; top: 8px; background: var(--blue); border-radius: 50%; }
.timeline img { max-width: 100%; max-height: 400px; object-fit: contain; display: block; }
.timeline figcaption { font-size: 12px; color: #4c6280; margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-weight: 700; font-size: 19px; }
.faq p { white-space: pre-line; }
.empty { padding: 35px; background: var(--paper); color: #50617b; }
.pagination { display: flex; gap: 20px; margin-top: 30px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0; align-items: end; }
.filter-bar label { flex: 1 1 0; min-width: 130px; margin: 0; }
.notice { padding: 14px 18px; border-radius: 7px; background: #e9f5ee; color: #24633f; margin: 0 0 20px; }
.notice.error { background: #fff1ee; color: #963c31; }

/* Formulaires */
form.form { max-width: 800px; }
label { display: block; margin-bottom: 18px; font-weight: 700; font-size: 14px; }
input, textarea, select { border: 1px solid #8b99ad; padding: 13px; background: #fff; color: var(--navy); width: 100%; border-radius: 0; }
textarea { min-height: 170px; }
input[type="checkbox"] { width: auto; margin-right: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
.hidden { position: absolute; left: -9999px; }

/* Pied de page */
footer.site { background: #101f38; color: #d6dfed; padding: 65px 6% 25px; overflow-wrap: anywhere; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 35px; }
footer.site h3 { font-size: 16px; color: #fff; }
footer.site a { display: block; margin: 8px 0; font-size: 14px; }
footer.site img { height: 90px; width: 75px; object-fit: contain; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .133); margin-top: 35px; padding-top: 25px; font-size: 12px; display: flex; justify-content: space-between; }

@media (max-width: 1050px) {
  .desktop { display: none; }
  .mobile { display: block; }
  .mobile > div { position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 22px; box-shadow: 0 20px 30px rgba(0, 0, 0, .133); }
  .mobile nav.main { display: grid; gap: 4px; max-height: 75vh; overflow: auto; font-size: 16px; }
  .mobile nav.main > a.nav-link, .mobile .nav-dropdown summary { width: 100%; padding: 12px; }
  .mobile nav.main > a.nav-link::after, .mobile .nav-dropdown summary::before { display: none; }
  .mobile .nav-dropdown summary::after { margin-left: auto; }
  .mobile .nav-ticket { margin: 10px 0 0; }
  .mobile nav details > div { position: static; box-shadow: none; border: 0; padding: 0 12px; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calendar-list .match { grid-template-columns: 1fr 2fr; }
  .calendar-list .match .button, .calendar-list .match .when, .calendar-list .match > img { grid-column: auto; }
}
@media (max-width: 900px) {
  .athlete-story { grid-template-columns: 220px minmax(0, 1fr); gap: 30px; }
  .news-editorial > article:first-child h3 { font-size: 30px; }
  .player-tile img { height: 270px; }
}
@media (max-width: 710px) {
  .next-fixture { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .top span:last-child { display: none; }
  .grid, .split { grid-template-columns: 1fr; }
  .split { gap: 25px; }
  .section { padding: 42px 6%; }
  .section-head { display: block; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .person img, .photo-empty { height: 220px; }
  .person .card-content { padding: 14px; }
  .person h3 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .reading h1 { font-size: 34px; }
  .copyright { display: block; }
  .news-editorial { grid-template-columns: 1fr; }
  .news-editorial > article:first-child { grid-area: auto; }
  .news-editorial > article:first-child .cover { aspect-ratio: 1.6/1; }
  .news-grid > article:first-child { grid-column: auto; }
  .next-fixture .match { display: flex; }
  .athlete-hero { min-height: 540px; }
  .athlete-intro { padding-top: 140px; }
  .athlete-number { right: 5px; top: 20px; font-size: 160px; }
  .athlete-story { grid-template-columns: 1fr; gap: 25px; }
  .athlete-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-tile img { height: 220px; }
  .player-tile > div { padding: 12px; }
  .player-tile h3 { font-size: 19px; }
  .filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .practical-band .split { gap: 30px; }
  .v3-banner { min-height: min(var(--banner-height, 420px), 520px); }
  .v3-banner-copy { padding: 48px 6%; }
  .v3-banner p { font-size: 16px; }
  .calendar-list .match { display: flex; padding: 20px; align-items: stretch; }
  .calendar-list .match .teams { justify-content: space-between; }
  .calendar-tabs .button { flex: 1; gap: 5px; }
  .brand { gap: 8px; }
  .brand img { height: 52px; width: 44px; }
  .badge-logo { width: 135px; }
}
@media (max-width: 390px) { .release-strip { font-size: 10px; gap: 6px; padding-inline: 10px; } }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .ticker-window { overflow: auto; }
  .ticker-copy, .ticker-control { display: none; }
}
@media print { body { padding-top: 0; } .release-strip { display: none; } }
@media (max-width: 650px) { .release-strip .upd, .release-strip .sep { display: none; } }

.club-alert { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 6%; background: #fff1cd; color: #402c0a; border-bottom: 1px solid #e9cd8e; font-family: Arial, Helvetica, sans-serif; font-size: 15px; }
.club-alert p { margin: 2px 0; max-width: none; }
.club-alert a { flex: 0 0 auto; text-decoration: underline; font-weight: 700; }
@media (max-width: 650px) { .club-alert { display: block; } }

/* Fenêtre d'offre spéciale */
.offer-popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; font-family: Arial, Helvetica, sans-serif; }
.offer-backdrop { position: absolute; inset: 0; background: rgba(6, 22, 46, .62); backdrop-filter: blur(3px); animation: offerFade .2s ease-out; }
.offer-box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; color: #092347; border-radius: 16px; box-shadow: 0 30px 80px rgba(6, 22, 46, .35); animation: offerIn .25s ease-out; }
.offer-box img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.offer-copy { padding: 26px 28px 30px; }
.offer-copy h2 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 32px); line-height: 1.1; letter-spacing: -.8px; color: #092347; }
.offer-copy p { margin: 0 0 12px; color: #3f5470; font-size: 15px; line-height: 1.6; }
.offer-cta { display: flex; justify-content: center; align-items: center; margin-top: 18px; min-height: 50px; border-radius: 10px; background: #0756bb; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s; }
.offer-cta:hover { background: #092347; }
.offer-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: #092347; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.offer-close:hover { background: #fff; transform: scale(1.05); }
@keyframes offerFade { from { opacity: 0; } }
@keyframes offerIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .offer-backdrop, .offer-box { animation: none; } }

/* ---- Finitions : boutons et liens sans flèches ---- */
.ticket, .button { justify-content: center; gap: 10px; padding: 12px 22px; font-size: 14px; letter-spacing: .1px; border-radius: 8px; min-height: 44px; }
.button.line { border-width: 1.5px; }
.button.line:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.white:hover { background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.section-head .button.line { background: #fff; }
.match .button { width: 100%; font-size: 13px; padding: 11px 16px; }
.calendar-list .match .button { width: auto; }
.match .button.line { border-color: #c9d8ee; color: var(--navy); }
.match .button.line:hover { border-color: var(--blue); color: #fff; }
.card.match { transition: box-shadow .2s, transform .2s; }
.card.match:hover { box-shadow: 0 14px 34px rgba(9, 35, 71, .10); }
.article-card .pill { display: inline-block; margin-top: 4px; padding-bottom: 2px; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.article-card a:hover .pill { background-size: 100% 2px; }
.article-card a:hover h3 { text-decoration: none; color: var(--blue); }
.player-tile, .person { transition: transform .2s, box-shadow .2s; }
.player-tile:hover, .person:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(9, 35, 71, .12); }
.player-tile:hover h3, .person:hover h3 { color: var(--blue); }
footer.site a { opacity: .88; transition: opacity .15s, color .15s; }
footer.site a:hover { opacity: 1; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.dazn-link { display: inline-flex; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 10px; }
.dazn-link:hover { border-color: var(--blue); color: var(--navy); }
.dazn-badge { padding: 12px 10px; }

/* Partenaires : cartes cliquables */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin: 10px 0 50px; }
.partner-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.partner-card:hover { border-color: #b9cff3; box-shadow: 0 14px 30px rgba(9, 35, 71, .10); transform: translateY(-2px); color: var(--navy); }
.partner-logo { display: grid; place-items: center; width: 100%; height: 86px; }
.partner-logo img { max-width: 140px; max-height: 86px; object-fit: contain; }
.partner-logo b { font-size: 15px; color: var(--navy); }
.partner-name { font-size: 13px; font-weight: 700; color: #3c5170; line-height: 1.3; }
a.partner-card:hover .partner-name { color: var(--blue); }
@media (max-width: 650px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .partner-logo { height: 70px; } .partner-logo img { max-width: 110px; max-height: 70px; } }
.offer-close:focus-visible, .offer-cta:focus-visible { outline: 3px solid #8bb8f0; outline-offset: 2px; }

/* Fenêtre d'offres regroupées */
.offer-box img.offer-image { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.offer-visual { display: flex; align-items: center; gap: 18px; padding: 30px 28px; background: radial-gradient(circle at 85% 20%, #2f7de0 0, transparent 55%), linear-gradient(135deg, #092347, #0756bb); color: #fff; }
.offer-box .offer-visual img { width: 64px; height: 64px; object-fit: contain; max-height: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.offer-visual strong { font-size: clamp(30px, 6vw, 44px); line-height: 1; letter-spacing: -1px; }
.offer-badge { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 6px; background: #ffe5a8; color: #6a4500; font-size: 12px; font-weight: 800; letter-spacing: .3px; }
.offer-code { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; padding: 10px 10px 10px 16px; border: 2px dashed #9bbbe4; border-radius: 10px; background: #f2f7fd; }
.offer-code span { color: #4b627e; font-size: 12px; font-weight: 700; }
.offer-code strong { flex: 1; font: 800 20px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 2px; color: #092347; }
.offer-code button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: #092347; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.offer-code button:hover { background: #0756bb; }
.offer-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px 18px; border-top: 1px solid #e5ebf2; }
.offer-nav > button { min-height: 38px; padding: 0 14px; border: 1px solid #cfdbe9; border-radius: 8px; background: #fff; color: #12385f; font-weight: 700; font-size: 13px; cursor: pointer; }
.offer-nav > button:hover { border-color: #0756bb; color: #0756bb; }
.offer-dots { display: flex; gap: 8px; }
.offer-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c8d5e5; cursor: pointer; transition: width .2s, background .2s; }
.offer-dots button[aria-current="true"] { width: 26px; border-radius: 6px; background: #0756bb; }
.offer-nav button:focus-visible, .offer-code button:focus-visible { outline: 3px solid #8bb8f0; outline-offset: 2px; }

/* ===== Accueil v2 ===== */
.home-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.home-hero picture, .home-hero::after { position: absolute; inset: 0; z-index: -1; }
.home-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ""; background: linear-gradient(90deg, rgba(6,27,56,.92) 0%, rgba(6,27,56,.72) 45%, rgba(6,27,56,.45) 100%), linear-gradient(0deg, rgba(6,27,56,.6), transparent 40%); }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 470px); gap: 50px; align-items: center; max-width: 1600px; margin: auto; padding: 80px 6% 90px; min-height: 560px; }
.home-hero .eyebrow { color: var(--sky); }
.home-hero h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; margin: 18px 0; }
.home-hero-copy p { font-size: 19px; max-width: 560px; color: #dbe7f6; }
.home-hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-hero-links a { padding: 10px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; font-weight: 700; font-size: 14px; transition: background .15s, border-color .15s; }
.home-hero-links a:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.home-hero-comp { position: absolute; right: 6%; bottom: 18px; height: 34px; opacity: .8; }
.hero-match { background: rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 24px 26px; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.hero-match.empty p { margin: 0; }
.hm-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #c6d7ee; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.hm-label { color: #fff; background: var(--blue); padding: 3px 9px; border-radius: 5px; }
.hm-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 0 18px; text-align: center; }
.crest { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.crest img { width: 74px; height: 74px; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px; }
.crest-empty { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 16px; background: rgba(255,255,255,.15); font-weight: 900; }
.crest strong { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.hm-vs { font-size: 22px; font-weight: 900; color: var(--sky); }
.hm-when { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.hm-when strong { font-size: 18px; }
.hm-when span { color: #c6d7ee; font-size: 14px; }
.hm-countdown { display: flex; justify-content: center; gap: 10px; margin: 16px 0 4px; }
.hm-countdown span { min-width: 62px; padding: 8px 6px; border-radius: 10px; background: rgba(6,27,56,.55); text-align: center; font-size: 11px; color: #c6d7ee; text-transform: uppercase; letter-spacing: .5px; }
.hm-countdown b { display: block; font-size: 22px; color: #fff; letter-spacing: 0; }
.hm-actions { display: flex; gap: 10px; margin-top: 18px; }
.hm-actions .button { flex: 1; justify-content: center; }
.button.glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.button.glass:hover { background: rgba(255,255,255,.24); color: #fff; }
.hm-home { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); color: #dbe7f6; font-size: 14px; text-align: center; }
.hm-home:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.news-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.news-split > .article-card .cover, .news-split > .article-card .cover-empty { aspect-ratio: 16/10; width: 100%; object-fit: cover; max-height: none; }
.news-split > .article-card h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.news-side { display: flex; flex-direction: column; gap: 18px; }
.news-mini { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.news-mini:last-child { border-bottom: 0; }
.news-mini img, .news-mini-empty { width: 140px; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.news-mini-empty { display: grid; place-items: center; background: var(--navy); color: rgba(255,255,255,.3); font-weight: 900; }
.news-mini small { display: block; color: #5c7290; font-size: 12px; margin-bottom: 4px; }
.news-mini b { font-size: 17px; line-height: 1.3; }
.news-mini:hover b { color: var(--blue); }

.results-band { background: var(--paper); border-block: 1px solid var(--line); }
.results-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rs-title { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #5c7290; }
.rs-group > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-match { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; border-top: 4px solid var(--blue); transition: box-shadow .2s, transform .2s; }
.mini-match:hover { box-shadow: 0 12px 26px rgba(9,35,71,.08); transform: translateY(-2px); }
.mini-match.win { border-top-color: #1f9d6b; }
.mini-match.loss { border-top-color: #c8d3e1; }
.mm-date { font-size: 12px; color: #5c7290; text-transform: capitalize; }
.mm-opp { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.mm-opp img { width: 36px; height: 36px; object-fit: contain; flex: 0 0 auto; }
.mm-opp b { font-size: 14px; line-height: 1.25; }
.mm-res { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.mm-res em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 5px; background: #e3f4ec; color: #146c52; }
.mini-match.loss .mm-res em { background: #eef2f7; color: #5c7290; }
.mini-match:not(.win):not(.loss) .mm-res { font-size: 13px; color: var(--blue); }

.shop-home { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr); gap: 50px; align-items: center; }
.shop-home h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.shop-copy p { color: #dce9fa; font-size: 17px; }
.shop-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shop-pick { display: flex; flex-direction: column; gap: 8px; color: #fff; }
.sp-img { position: relative; display: block; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: #fff; }
.sp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shop-pick:hover .sp-img img { transform: scale(1.04); }
.sp-img em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 6px; background: #ffe5a8; color: #6a4500; }
.shop-pick b { font-size: 15px; line-height: 1.3; }
.sp-price { font-weight: 700; }
.sp-price s { opacity: .65; font-weight: 400; margin-right: 4px; }

.team-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.team-card { position: relative; scroll-snap-align: start; display: block; background: linear-gradient(180deg, #eef3fa, #dfe8f4); border-radius: 14px; overflow: hidden; }
.team-card img { display: block; width: 100%; height: 280px; object-fit: contain; object-position: center bottom; transition: transform .3s; }
.team-card:hover img { transform: scale(1.03); }
.tc-num { position: absolute; top: 10px; left: 14px; font-size: 54px; font-weight: 900; color: rgba(7,86,187,.18); line-height: 1; }
.tc-empty { display: grid; place-items: center; height: 280px; font-size: 64px; font-weight: 900; color: rgba(7,86,187,.2); }
.tc-name { display: block; padding: 14px 16px; background: var(--navy); color: #fff; }
.tc-name small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--sky); }
.tc-name b { font-size: 15px; }

.premium-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 26px; }
.premium-logos a { display: flex; align-items: center; justify-content: center; height: 110px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.premium-logos a:hover { border-color: #b8cbe3; box-shadow: 0 12px 26px rgba(9,35,71,.08); }
.premium-logos img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ticker-control-link { display: block; margin: 8px auto 0; border: 0; background: none; color: #5c7290; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.partner-pitch { position: relative; isolation: isolate; overflow: hidden; background: #0a3b8c; color: #fff; }
.pitch-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.partner-pitch::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(9,35,71,.95) 0%, rgba(7,70,160,.86) 50%, rgba(7,86,187,.72) 100%); }
.pitch-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 60px; max-width: 1600px; margin: auto; padding: 80px 6%; align-items: center; }
.partner-pitch .eyebrow { color: var(--sky); }
.pitch-lead h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 12px 0 20px; }
.pitch-lead p { color: #dce9fa; font-size: 16px; }
.pitch-lead .button { margin-top: 14px; }
.pitch-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pitch-point { padding: 22px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pitch-num { display: inline-block; font-size: 13px; font-weight: 900; color: var(--sky); letter-spacing: 1px; }
.pitch-point h3 { margin: 6px 0 10px; font-size: 19px; line-height: 1.25; }
.pitch-point p { margin: 0; color: #dce9fa; font-size: 14px; line-height: 1.6; }

.home-practical { padding-top: 50px; padding-bottom: 60px; }
.practical-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pc { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 14px; background: var(--navy); color: #fff; transition: background .2s, transform .2s; }
.pc:hover { background: var(--blue); transform: translateY(-2px); }
.pc small { color: var(--sky); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.pc b { font-size: 20px; }
.pc span { color: #c6d7ee; font-size: 14px; }

@media (max-width: 1050px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 56px 6% 70px; min-height: 0; }
  .results-strip, .news-split, .shop-home, .pitch-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 650px) {
  .rs-group > div { grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .mini-match { scroll-snap-align: start; }
  .news-mini { grid-template-columns: 100px minmax(0, 1fr); }
  .news-mini img, .news-mini-empty { width: 100px; }
  .shop-picks { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; }
  .team-strip { grid-auto-columns: 62%; }
  .pitch-points, .practical-cards { grid-template-columns: 1fr; }
  .pitch-inner { padding: 56px 6%; }
  .crest img, .crest-empty { width: 60px; height: 60px; }
  .home-hero-comp { display: none; }
}
html[data-sqbb-theme="dark"] .mini-match, html[data-sqbb-theme="dark"] .premium-logos a { background: #0b1624; border-color: #22344c; }

/* ===== Polices SQBB ===== */
body { font-family: var(--font-text); }
h1, h2, .v3-banner h1, .home-hero h1 { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
h1 { line-height: 1; }
h2 { line-height: 1.02; }
h3 { font-family: var(--font-text); font-weight: 700; }
.eyebrow, .pill, .button, .ticket, nav.main, .nav-dropdown summary { font-family: var(--font-text); }
.button, .ticket { font-size: 14px; letter-spacing: .2px; }
.hm-label, .rs-title, .tc-num, .pitch-num, .pc small, .mm-res, .hm-vs, .crest strong { font-family: var(--font-title); }
.hm-label { font-size: 13px; letter-spacing: 1px; }
.hm-vs { font-size: 28px; }
.hm-countdown b { font-family: var(--font-title); font-size: 26px; }
.tc-name b, .pitch-point h3, .pc b { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: .3px; }
.offer-popup { font-family: var(--font-text); }
.offer-copy h2 { text-transform: none; font-family: var(--font-title); font-size: clamp(28px, 4.5vw, 38px); }
footer.site { display: none; }
.club-alert { font-family: var(--font-text); }

/* Visuels des actualités : affichés en entier (ce sont des visuels avec du texte, il ne faut pas les rogner) */
.article-card .cover, .news-split > .article-card .cover, .news-editorial > article:first-child .cover, .news-grid > article:first-child .cover { aspect-ratio: auto !important; height: auto !important; max-height: none !important; object-fit: contain; background: var(--navy); }
.article-cover { display: block; width: 100%; height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 12px; margin-bottom: 28px; }
.news-mini img { object-position: center top; }

/* Téléphone : cadrages des photos */
.news-mini img, .news-mini-empty { aspect-ratio: 4/5 !important; width: 100px !important; height: auto; object-position: center top; }
.news-mini { grid-template-columns: 100px minmax(0, 1fr) !important; }
.sp-img { aspect-ratio: 2/3; }
.athlete-portrait img, img.athlete-portrait { object-position: center 15%; }
.grid.four img { object-position: center top; }
@media (max-width: 650px) {
  .news-mini img, .news-mini-empty { width: 84px !important; }
  .news-mini { grid-template-columns: 84px minmax(0, 1fr) !important; }
}
.reading h2 { font-size: 26px; margin: 34px 0 10px; }
.reading h3 { font-size: 20px; margin: 24px 0 8px; }
.reading ul { margin: 0 0 16px; padding-left: 22px; line-height: 1.6; }

/* ---------- Données LNB : direct, feuilles de stats, classement ---------- */
.pill.live, .hm-label.live { background: #e0182d; color: #fff; }
.pill.live::before, .hm-label.live::before, .live-banner .dot { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: middle; animation: live-pulse 1.4s infinite; }
.live-banner .dot { background: #e0182d; margin-right: 4px; }
@keyframes live-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
.card.match.is-live { box-shadow: 0 0 0 2px #e0182d inset; }
.live-banner { margin: 28px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff1f2; color: #9f1020; font-weight: 600; }
.live-banner small { color: #9f1020; opacity: .7; font-weight: 400; margin-left: 6px; }
.hm-rank { display: block; margin-top: 10px; color: inherit; opacity: .85; font-size: 14px; text-decoration: none; }
.hm-rank b { font-size: 16px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 16px; }
table.box { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.box th, table.box td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
table.box thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #5b6b80; font-weight: 700; background: var(--paper); }
table.box tbody th { text-align: left; font-weight: 600; }
table.box tbody th small { display: inline-block; min-width: 22px; color: #5b6b80; font-weight: 700; }
table.box tr.total td, table.box tr.total th { font-weight: 700; background: var(--paper); }
table.box tr.dnp { color: #8a96a6; }
table.box.periods { max-width: 560px; }
table.box.standings tr.us td, table.box.standings tr.us th { background: #eaf3ff; font-weight: 700; }
.team-cell { display: inline-flex; align-items: center; gap: 10px; }
.team-cell img { width: 28px; height: 28px; object-fit: contain; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 16px 0 8px; }
.stat-tiles div { background: var(--paper); border-radius: 14px; padding: 14px; text-align: center; }
.stat-tiles dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #5b6b80; }
.stat-tiles dd { margin: 4px 0 0; font-family: var(--font-title); font-size: 30px; font-weight: 900; color: var(--navy); }
.stat-note { font-size: 13px; color: #5b6b80; margin-top: 8px; }
ul.career { padding-left: 18px; line-height: 1.7; }

/* ---------- Appli SQBB ---------- */
.app-page .lead { font-size: 18px; }
.app-step { background: var(--paper); border-radius: 18px; padding: 22px 24px; margin-top: 18px; }
.app-step h2 { margin-top: 0; }
.app-ios { line-height: 1.8; padding-left: 20px; }
.push-topics { border: 0; padding: 0; margin: 0 0 16px; }
.push-topics legend { font-weight: 700; margin-bottom: 8px; }
.push-topics .check { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.push-topics input { width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Plan de salle et places (billetterie) ---------- */
.arena-map { width: 100%; height: auto; display: block; }
.arena-map .arena-zone path { fill: #dbe7f7; stroke: #fff; stroke-width: 2; transition: fill .15s; }
.arena-map .arena-zone text { font: 800 15px/1 Arial, sans-serif; fill: #0b2a55; pointer-events: none; }
.arena-map .arena-zone text.small-label { font-size: 10px; }
.arena-map .arena-zone.available path { fill: #8fd3a8; }
.arena-map a.arena-zone.available:hover path, .arena-map a.arena-zone:focus path { fill: #3fb36b; }
.arena-map .arena-zone.sold-out path { fill: #f3b3b3; }
.arena-map .arena-zone.unavailable path { fill: #e3e7ee; }
.arena-map .arena-zone.unavailable text { fill: #8b97a8; }
.arena-map .arena-zone.selected path { fill: #0756bb; }
.arena-map .arena-zone.selected text { fill: #fff; }
.arena-map .arena-zone.hl path { fill: #0756bb; }
.arena-map .arena-zone.hl text { fill: #fff; }
.arena-map .arena-bench, .arena-map .arena-loges-label { font: 700 12px Arial, sans-serif; fill: #5b6b80; letter-spacing: 1px; }
.seat-grid { max-width: 100%; height: auto; }
.seat-grid .seat rect { fill: #dbeafe; stroke: #7aa7e6; stroke-width: 1.5; }
.seat-grid .seat text { font: 700 11px Arial, sans-serif; fill: #0b2a55; pointer-events: none; }
.seat-grid .seat.free { cursor: pointer; }
.seat-grid .seat.free:hover rect, .seat-grid .seat.free:focus rect { fill: #93c5fd; }
.seat-grid .seat.selected rect { fill: #0756bb; stroke: #053f8a; }
.seat-grid .seat.selected text { fill: #fff; }
.seat-grid .seat.taken rect { fill: #cfd5de; stroke: #b6bec9; }
.seat-grid .seat.taken text { fill: #8b97a8; }
.seat-grid .seat.pass rect { fill: #ddd0f7; stroke: #a78bdb; }
.seat-grid .seat.blocked rect { fill: #fff; stroke: #c43d3d; stroke-dasharray: 3 2; }
.seat-grid .seat.blocked text { fill: #c43d3d; }
.seat-grid .row-label { font: 700 11px Arial, sans-serif; fill: #5b6b80; }
.tk-grid { overflow: auto; max-height: 60vh; border: 1px solid #dbe2ec; border-radius: 12px; padding: 8px; background: #fbfcfe; margin: 12px 0; -webkit-overflow-scrolling: touch; }
.tk-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #5b6b80; margin: 8px 0; }
.tk-legend i.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; background: #dbe7f7; }
.tk-legend i.available { background: #8fd3a8; } .tk-legend i.sold-out { background: #f3b3b3; } .tk-legend i.unavailable { background: #e3e7ee; }
.tk-legend i.free { background: #dbeafe; border: 1px solid #7aa7e6; } .tk-legend i.taken { background: #cfd5de; } .tk-legend i.selected { background: #0756bb; }
.tk-basket .basket-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #e6ebf2; }
.tk-basket .basket-line span { flex: 1; }
.tk-basket select { max-width: 55%; }
.tk-basket button.link { background: none; border: 0; color: #c43d3d; cursor: pointer; font-size: 13px; }
.tk-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; font-size: 18px; }
.tk-admin { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .tk-admin { grid-template-columns: 1fr; } }
.scan-input { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.scan-input input { flex: 1; min-width: 200px; font-size: 26px; padding: 12px; letter-spacing: 2px; }
.scan-video video { width: 100%; max-width: 480px; border-radius: 12px; background: #000; }
.scan-result { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 16px; margin: 12px 0; color: #fff; }
.scan-result b { font-size: 30px; } .scan-result span { font-size: 18px; }
.scan-result.ok { background: #14853d; } .scan-result.ko { background: #c0262d; }
.scan-log { font-size: 13px; padding-left: 18px; max-height: 260px; overflow: auto; }
.scan-log li.ko { color: #c0262d; }
.ticketing .tk-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; }
.ticketing .tk-steps span { padding: 6px 12px; border-radius: 99px; background: var(--paper); color: #5b6b80; }
.ticketing .tk-steps span.current { background: var(--navy); color: #fff; }
.tk-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .tk-layout { grid-template-columns: 1fr; } }
.tk-side .card { padding: 22px; }
.tk-contact { border: 0; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.tk-contact legend { font-weight: 700; margin-bottom: 6px; }
.tk-contact label { display: grid; gap: 4px; font-size: 14px; }
.tk-contact .check { display: flex; gap: 8px; align-items: flex-start; }
.tk-contact .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.button.full { width: 100%; justify-content: center; }
.notice { padding: 12px 16px; border-radius: 12px; background: #fff7e6; margin: 0 0 16px; }
.notice.error { background: #fff1f2; color: #9f1020; } .notice.ok { background: #ecfdf3; color: #11632f; }
.ticket-matches { display: grid; gap: 14px; }
.ticket-match { display: flex; align-items: center; gap: 18px; padding: 18px 22px; text-decoration: none; color: inherit; }
.ticket-match img, .ticket-match .tm-logo { width: 56px; height: 56px; object-fit: contain; }
.ticket-match .tm-copy { flex: 1; display: grid; } .ticket-match .tm-copy b { font-size: 20px; }
.ticket-info { margin-top: 32px; background: var(--paper); border-radius: 18px; padding: 22px 24px; }
.tk-prices { padding-left: 18px; line-height: 1.8; }
/* Billet électronique */
.eticket { max-width: 520px; margin: 18px auto; border: 2px solid var(--navy); border-radius: 18px; padding: 18px 20px; background: #fff; page-break-inside: avoid; }
.et-head { display: flex; gap: 12px; align-items: center; } .et-head img { width: 44px; } .et-head div { display: grid; } .et-head b { font-size: 18px; }
.et-seat { margin: 14px 0; display: grid; } .et-seat b { font-size: 22px; color: var(--navy); }
.et-codes { display: flex; gap: 14px; align-items: center; } .et-bar { flex: 1; } .et-bar svg { width: 100%; height: 70px; display: block; } .et-bar code { letter-spacing: 3px; font-size: 15px; }
.et-qr svg { width: 110px; height: 110px; }
.et-note { font-size: 12px; color: #5b6b80; margin: 10px 0 0; }
@media print { .site-header, header.site, .club-footer, .no-print, .sq-header, .sq-footer { display: none !important; } .eticket { border-width: 1px; } }
@media (max-width: 700px) { .tk-grid .seat-grid { max-width: none; } }

/* ---------- Page Pierre Ratte ---------- */
.pr-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .pr-intro { grid-template-columns: 1fr; } }
.pr-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.pr-chips li { background: var(--paper); border-radius: 14px; padding: 12px 16px; display: grid; }
.pr-chips b { font-family: var(--font-title); font-size: 22px; color: var(--navy); } .pr-chips span { font-size: 13px; color: #5b6b80; }
.pr-next { padding: 24px; display: grid; gap: 10px; } .pr-next h3 { margin: 0; font-size: 26px; }
.pr-side-photo { width: 100%; border-radius: 18px; }
.pr-plan-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .pr-plan-grid { grid-template-columns: 1fr; } }
.pr-legend img { width: 100%; border-radius: 16px; margin-top: 12px; }
.pr-zone-info { font-weight: 700; color: var(--navy); margin-top: 8px; min-height: 1.5em; }
.arena-map .arena-zone.info { cursor: pointer; }
.arena-map .arena-zone.info:hover path { fill: #9cc7f2; }
.pr-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; max-width: 1400px; margin: 0 auto; }
.pr-gallery img { width: 100%; height: 320px; object-fit: cover; display: block; }
@media (max-width: 700px) { .pr-gallery { grid-template-columns: 1fr 1fr; } .pr-gallery img { height: 200px; } .pr-gallery img:first-child { grid-column: 1 / -1; } }
.pr-access { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); gap: 32px; align-items: center; }
.pr-access img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 18px; }
@media (max-width: 860px) { .pr-access { grid-template-columns: 1fr; } }
.pr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0; }
.pr-cards .card { padding: 20px 22px; } .pr-cards h3 { margin-top: 0; }
.pr-forbidden { background: #fff1f2; border-radius: 18px; padding: 20px 24px; margin-top: 18px; }
.pr-forbidden ol { columns: 2; column-gap: 32px; line-height: 1.8; padding-left: 20px; }
@media (max-width: 700px) { .pr-forbidden ol { columns: 1; } }
.org-image { display: block; margin: 0 0 24px; } .org-image img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }

/* ---------- Organigramme en arbre ---------- */
.org-tree { overflow-x: auto; padding: 10px 0 30px; -webkit-overflow-scrolling: touch; }
.org-tree ul { display: flex; justify-content: center; padding-top: 26px; position: relative; margin: 0; padding-left: 0; list-style: none; }
.org-tree > ul { padding-top: 0; width: max-content; min-width: 100%; }
.org-tree li { position: relative; padding: 26px 8px 0; display: flex; flex-direction: column; align-items: center; }
.org-tree > ul > li { padding-top: 0; }
.org-tree li::before, .org-tree li::after { content: ''; position: absolute; top: 0; right: 50%; width: 50%; height: 26px; border-top: 2px solid #b9c7da; }
.org-tree li::after { right: auto; left: 50%; border-left: 2px solid #b9c7da; }
.org-tree li:only-child::before, .org-tree li:only-child::after { display: none; }
.org-tree li:only-child { padding-top: 0; }
.org-tree li:first-child::before, .org-tree li:last-child::after { border: 0 none; }
.org-tree li:last-child::before { border-right: 2px solid #b9c7da; border-radius: 0 6px 0 0; }
.org-tree li:first-child::after { border-radius: 6px 0 0 0; }
.org-tree > ul > li::before, .org-tree > ul > li::after { display: none; }
.org-tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; height: 26px; border-left: 2px solid #b9c7da; }
.org-card { width: 160px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 10px; text-align: center; display: grid; gap: 4px; justify-items: center; box-shadow: 0 6px 18px rgba(9, 35, 71, .06); }
.org-card img, .org-card .org-initials { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center top; }
.org-card .org-initials { display: grid; place-items: center; background: var(--navy); color: #fff; font: 800 26px var(--font-title); }
.org-card b { font-size: 15px; color: var(--navy); line-height: 1.2; } .org-card span { font-size: 13px; color: #344a66; } .org-card small { font-size: 11px; color: #7a8aa0; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 700px) {
  .org-tree > ul, .org-tree ul { display: block; width: auto; padding-top: 0; }
  .org-tree li { align-items: stretch; padding: 8px 0 0 18px; border-left: 2px solid #dbe2ec; }
  .org-tree > ul > li { border-left: 0; padding-left: 0; }
  .org-tree li::before, .org-tree li::after, .org-tree ul ul::before { display: none; }
  .org-card { width: auto; grid-template-columns: 56px 1fr; text-align: left; justify-items: start; align-items: center; column-gap: 12px; }
  .org-card img, .org-card .org-initials { width: 56px; height: 56px; grid-row: span 3; font-size: 18px; }
}
