/* Star Sports — site public. Charte de la marque (noir, bleu Star, sable ; Archivo Black,
   Inter Tight, Roboto Mono pour les dates et les prix) et une couleur par univers :
   bleu = Camps Star Sports, or = Académies Pro, gazon = Performance & Indoor. */

@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-tight-latin-nvar.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-tight-latin-ext-nvar.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo Black'; font-display: swap; src: url('fonts/archivo-black-latin.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: 'Archivo Black'; font-display: swap; src: url('fonts/archivo-black-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'Roboto Mono'; font-weight: 400 700; font-display: swap; src: url('fonts/roboto-mono-latin-nvar.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
  --noir: #0F0F0F; --encre: #1C1C1A; --gris: #5E5E5E; --trait: #D9D5CA;
  --sable: #EBE8E0; --sable-clair: #F5F3EE; --blanc: #FFFFFF;
  --bleu: #0D38FF; --bleu-fonce: #0A2BC4;
  --or: #C99A1A; --or-clair: #F3E7C2;
  --gazon: #17733F; --gazon-clair: #DDEFE3;
  --bleu-clair: #E3E8FF;
  --rouge: #B3261E; --orange: #9A5B00;
  --titre: 'Hanson', 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --texte: 'Inter Tight', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, Consolas, monospace;
  --large: 1200px; --gouttiere: clamp(16px, 4vw, 40px);
  --u: var(--noir); --u-texte: var(--blanc); --u-clair: var(--sable);
}
.theme-camps, .univers-camps, .bandeau-camps, .porte-camps { --u: var(--bleu); --u-texte: var(--blanc); --u-clair: var(--bleu-clair); }
.theme-academies, .univers-academies, .bandeau-academies, .porte-academies { --u: var(--or); --u-texte: var(--noir); --u-clair: var(--or-clair); }
.theme-performance, .univers-performance, .bandeau-performance, .porte-performance { --u: var(--gazon); --u-texte: var(--blanc); --u-clair: var(--gazon-clair); }
.bandeau-neutre { --u: var(--noir); --u-texte: var(--blanc); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.05; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; }
h3 { font-family: var(--texte); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: -999px; top: 8px; background: var(--blanc); padding: 8px 12px; z-index: 10; }
.saut:focus { left: 8px; }

/* ── En-tête ── */
.barre { background: var(--noir); color: var(--blanc); position: sticky; top: 0; z-index: 5; }
.barre-dedans { max-width: var(--large); margin: 0 auto; padding: 10px var(--gouttiere); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 64px; width: auto; margin: -4px 0; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: ''; }
.burger::before { position: absolute; top: -7px; } .burger::after { position: absolute; top: 7px; }
.menu nav ul { list-style: none; margin: 0; padding: 0; }
.menu nav a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; padding: 10px 0; }
.menu nav a:hover, .menu nav a.actif { text-decoration: underline; text-decoration-thickness: 2px; }
.pastille { width: 10px; height: 10px; border-radius: 50%; background: var(--u); flex: none; }
.nav-camps { --u: var(--bleu); } .nav-academies { --u: var(--or); } .nav-performance { --u: #2FAE63; }
.nav-parents a { border: 1.5px solid var(--blanc); border-radius: 999px; padding: 8px 16px !important; }
@media (max-width: 1179px) {
  .menu[open] nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--noir); padding: 8px var(--gouttiere) 24px; border-top: 1px solid #2A2A2A; }
  .menu nav li + li { border-top: 1px solid #2A2A2A; }
  .nav-parents { padding-top: 16px; } .nav-parents a { justify-content: center; }
}
@media (min-width: 1180px) {
  .menu summary { display: none; }
  .menu nav ul { display: flex; gap: 28px; align-items: center; }
  .menu nav a { white-space: nowrap; }
}

/* ── Les trois portes (accueil) ── */
.portes { background: var(--noir); color: var(--blanc); padding: clamp(32px, 6vw, 72px) var(--gouttiere) clamp(40px, 6vw, 80px); }
.portes-tete { max-width: var(--large); margin: 0 auto 32px; }
.portes-tete h1 { font-size: clamp(2.6rem, 8vw, 6rem); margin-bottom: .25em; }
.portes-tete p { max-width: 60ch; font-size: 1.15rem; color: #D6D6D6; }
.portes-rangee { max-width: var(--large); margin: 0 auto; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .portes-rangee { grid-template-columns: repeat(3, 1fr); } }
.porte { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  min-height: clamp(300px, 46vw, 460px); padding: 28px; border-radius: 6px; background: var(--u); color: var(--u-texte); text-decoration: none; isolation: isolate; }
.porte .motif { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; stroke: currentColor; stroke-width: 2; fill: none; opacity: .28; transition: transform .6s ease; }
.porte:hover .motif { transform: scale(1.05); }
.porte-nom { font-family: var(--titre); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.porte-promesse { font-size: 1.15rem; font-weight: 600; max-width: 26ch; }
.porte-faits { font-size: .95rem; opacity: .9; }
.porte-prochain { border-top: 1.5px solid currentColor; padding-top: 12px; font-size: .95rem; font-weight: 600; }
.porte:hover .porte-nom { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .porte { animation: monte .7s cubic-bezier(.2, .7, .2, 1) both; }
  .porte:nth-child(2) { animation-delay: .08s; } .porte:nth-child(3) { animation-delay: .16s; }
  @keyframes monte { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ── Bandeau de tête des univers et des pages ── */
.bandeau { position: relative; overflow: hidden; background: var(--u); color: var(--u-texte); isolation: isolate; }
.bandeau .motif { position: absolute; right: -10%; top: 0; height: 100%; width: 70%; z-index: -1; stroke: currentColor; stroke-width: 2; fill: none; opacity: .22; }
.motif .plein { fill: currentColor; }
.motif .tirets { stroke-dasharray: 8 10; }
.bandeau-dedans { max-width: var(--large); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gouttiere) clamp(32px, 5vw, 56px); }
.bandeau h1 { max-width: 16ch; }
.accroche { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; max-width: 46ch; margin-bottom: 0; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; font-size: .9rem; }
.fil li + li::before { content: '/'; margin-right: 6px; opacity: .7; }
.fil a { text-decoration: none; opacity: .85; } .fil a:hover { text-decoration: underline; opacity: 1; }
.fil li:last-child a { opacity: 1; font-weight: 600; }
.faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 24px; margin: 32px 0 0; max-width: 960px; }
.faits div { border-top: 1.5px solid currentColor; padding-top: 10px; margin-bottom: 12px; }
.faits dt { font-size: .85rem; opacity: .85; }
.faits dd { margin: 2px 0 0; font-weight: 700; }

/* ── Sections ── */
.section { padding: clamp(40px, 6vw, 80px) var(--gouttiere); }
.section-sable { background: var(--sable-clair); }
.colonne { max-width: var(--large); margin: 0 auto; }
.texte, .texte > p { max-width: 68ch; }
.texte h2 { margin-top: 1.4em; } .texte h2:first-child { margin-top: 0; }
.intro { color: var(--gris); max-width: 60ch; }
.deux-colonnes { display: grid; gap: 40px; }
.avec-photo { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
  .deux-colonnes { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .avec-photo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
}
.officiel { display: inline-block; background: var(--or); color: var(--noir); font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.lien-fort { font-weight: 700; text-decoration-thickness: 2px; }
.a-fournir { border-left: 4px solid var(--orange); background: #FFF4E0; padding: 10px 14px; color: #5B3A00; }

/* ── Photos et emplacements ── */
.page-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.photo-vide { position: relative; overflow: hidden; background: var(--u-clair); color: var(--u); border-radius: 6px; aspect-ratio: 4 / 3; }
.photo-vide .motif { position: absolute; inset: 0; width: 100%; height: 100%; stroke: currentColor; stroke-width: 2; fill: none; opacity: .5; }
.photo-attendue { position: absolute; left: 12px; bottom: 10px; font: 500 .8rem var(--mono); color: var(--encre); background: rgba(255, 255, 255, .85); padding: 3px 8px; border-radius: 3px; }

/* ── Les dates ── */
.dates { list-style: none; margin: 24px 0; padding: 0; border-top: 2px solid var(--noir); }
.date-ligne { display: grid; gap: 6px 20px; padding: 18px 0 18px 18px; border-bottom: 1px solid var(--trait); position: relative;
  grid-template-columns: 1fr auto; grid-template-areas: 'quand quand' 'quoi quoi' 'prix places' 'action action'; }
.date-ligne::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 5px; background: var(--u); border-radius: 3px; }
.date-quand { grid-area: quand; font: 600 .95rem var(--mono); }
.date-quoi { grid-area: quoi; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.date-quoi strong { font-size: 1.1rem; } .date-quoi a { text-decoration: none; } .date-quoi a:hover { text-decoration: underline; }
.date-ou { color: var(--gris); font-size: .95rem; }
.date-prix { grid-area: prix; font: 600 1rem var(--mono); }
.date-places { grid-area: places; font-size: .9rem; font-weight: 600; text-align: right; }
.places-ouvert { color: var(--gazon); } .places-presque { color: var(--orange); } .places-complet { color: var(--gris); }
.date-action { grid-area: action; }
@media (min-width: 900px) {
  .date-ligne { grid-template-columns: 200px 1fr 110px 170px auto; grid-template-areas: 'quand quoi prix places action'; align-items: center; }
  .date-places { text-align: left; }
}
.dates-vide { border: 2px dashed var(--trait); border-radius: 6px; padding: 24px; margin: 24px 0; max-width: 640px; }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--u); color: var(--u-texte); }
.badge-camps { --u: var(--bleu); --u-texte: var(--blanc); } .badge-academies { --u: var(--or); --u-texte: var(--noir); } .badge-performance { --u: var(--gazon); --u-texte: var(--blanc); }

.bouton { display: inline-block; background: var(--bleu); color: var(--blanc); text-decoration: none; font-weight: 700; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--bleu); white-space: nowrap; }
.bouton:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); }
.bouton-discret { background: transparent; color: var(--noir); border-color: var(--noir); }
.bouton-discret:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }

/* ── Offres d'un univers ── */
.offres { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.offre a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; height: 100%; }
.offre .offre-photo, .offre .photo-vide { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.offre-titre { font-family: var(--titre); font-size: 1.35rem; text-transform: uppercase; line-height: 1.1; }
.offre a:hover .offre-titre { text-decoration: underline; text-decoration-thickness: 2px; }
.offre-texte { color: var(--encre); }
.offre-faits { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--gris); }

/* ── Blocs, journée, prix ── */
.grille-blocs { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bloc h2 { font-size: 1.3rem; border-top: 4px solid var(--u); padding-top: 12px; }
.bloc ul, .tarif ul, .texte ul { padding-left: 1.1em; margin: 0; }
.bloc li, .tarif li, .texte li { margin-bottom: 6px; }
.journee { list-style: none; margin: 0; padding: 0; }
.journee li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.journee time { font: 600 .95rem var(--mono); color: var(--u); }
.theme-academies .journee time { color: #8A6A10; }
.ouverture { background: var(--sable-clair); border-radius: 6px; padding: 24px; align-self: start; }
.tarifs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 360px)); margin: 16px 0 32px; }
.tarif { border: 2px solid var(--noir); border-radius: 6px; padding: 20px; }
.tarif-nom { font-weight: 700; margin-bottom: 4px; }
.tarif-prix { font: 700 1.8rem var(--mono); margin-bottom: 12px; }
.options { border-collapse: collapse; width: 100%; max-width: 640px; margin: 8px 0 24px; }
.options caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.options th, .options td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--trait); font-weight: 400; }
.options td { text-align: right; font: 600 .95rem var(--mono); white-space: nowrap; padding-left: 16px; }

.contact-bloc { border-left: 5px solid var(--u); padding: 4px 0 4px 20px; max-width: 760px; }
.contact-bloc p:first-child { font-size: 1.15rem; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.faq details { border-bottom: 1px solid var(--trait); padding: 14px 0; max-width: 760px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; }

.temoignages { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.temoignage { margin: 0; }
.temoignage blockquote { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.4; font-weight: 600; }
.temoignage blockquote p::before { content: '« '; } .temoignage blockquote p::after { content: ' »'; }
.temoignage figcaption { color: var(--gris); }

.liens-suite { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.liens-suite a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--trait); text-decoration: none; font-weight: 600; }
.liens-suite a:hover { text-decoration: underline; }

.clubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.clubs a { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 4px solid var(--or); text-decoration: none; }
.clubs strong { font-family: var(--titre); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; }
.clubs span { color: var(--gris); }
.clubs a:hover strong { text-decoration: underline; }

.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.regions a { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--trait); text-decoration: none; }
.regions strong { font-family: var(--titre); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; }
.regions em { font-style: normal; font-weight: 600; color: var(--bleu); }
.regions a:hover strong { text-decoration: underline; }

/* ── Pied ── */
.pied { background: var(--noir); color: #D6D6D6; padding: 56px var(--gouttiere) 24px; font-size: .95rem; }
.pied-dedans { max-width: var(--large); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pied img { height: 44px; width: auto; margin-bottom: 12px; }
.pied address { font-style: normal; line-height: 1.7; }
.pied a { color: var(--blanc); text-decoration: none; } .pied a:hover { text-decoration: underline; }
.pied ul { list-style: none; margin: 0; padding: 0; } .pied li { margin-bottom: 8px; }
.pied-titre { display: block; font-weight: 700; color: var(--blanc); margin-bottom: 12px; padding-top: 8px; border-top: 3px solid #444; }
.pied-camps .pied-titre { border-color: var(--bleu); } .pied-academies .pied-titre { border-color: var(--or); } .pied-performance .pied-titre { border-color: #2FAE63; }
.pied-bas { max-width: var(--large); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #2A2A2A; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; }
@media (min-width: 900px) {
  .offres { grid-template-columns: repeat(3, 1fr); }
  .offres:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
.porte .motif-piste { opacity: .2; }

/* Logos de club (images presque carrées) : montrés en entier sur fond blanc, jamais recadrés */
.photo-logo { object-fit: contain !important; background: #FFFFFF; padding: 6%; border: 1px solid var(--trait); }
@media (min-width: 600px) { .texte .tarifs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; } }

/* v3.1 — aucun mot de titre ne déborde : la taille suit la largeur disponible.
   Mot le plus long mesuré en Archivo Black capitales : PERFORMANCE = 8,5 em, DÉVELOPPEMENT = 9,8 em. */
h1, h2, h3, .porte-nom, .offre-titre { overflow-wrap: break-word; }
.porte { container-type: inline-size; }
.porte-nom { font-size: min(2.6rem, 10.8cqi); }
.bandeau h1 { font-size: min(4.4rem, max(1.6rem, calc((100vw - 2 * var(--gouttiere)) / 10.4))); }
