/* US Châtenois-les-Forges : feuille de style du site public */
@font-face { font-family: "Bebas Neue"; src: url("../polices/bebas-neue.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../polices/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --rouge: #d9101b; --rouge-vif: #e91f24; --rouge-fonce: #a50a12;
  --encre: #17181b; --gris-fonce: #3a3c42; --gris: #6b6e76; --gris-clair: #f3f2f0; --ligne: #e3e1dd;
  --blanc: #fff; --marine: #1d2b57;
  --titre: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rayon: 14px; --ombre: 0 10px 30px rgba(23, 24, 27, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texte); font-size: 17px; line-height: 1.6; color: var(--encre); background: var(--blanc); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rouge); text-underline-offset: 3px; }
a:hover { color: var(--rouge-fonce); }
h1, h2, h3, .h3 { font-family: var(--titre); font-weight: 400; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3, .h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.aller-contenu { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: .6em 1em; z-index: 100; }
.aller-contenu:focus { left: 8px; }
.cadre { width: min(1200px, 100% - 32px); margin-inline: auto; }
.etroit { width: min(800px, 100% - 32px); }
.centre { text-align: center; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-gris { background: var(--gris-clair); }
.section-sombre { background: var(--encre); color: #fff; }
.section-sombre a:not(.btn) { color: #fff; }
.vide { color: var(--gris); font-style: italic; }
.note { font-size: .88rem; color: var(--gris); }
.sur-titre { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--rouge); margin-bottom: .7em; display: block; }
.section-sombre .sur-titre { color: #ff6b70; }
.intro { font-size: 1.15rem; color: var(--gris-fonce); max-width: 60ch; }
.petit-titre { font-family: var(--texte); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); margin: 2em 0 1em; padding-bottom: .5em; border-bottom: 2px solid var(--ligne); }
.piege { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.3em; border-radius: 999px; border: 2px solid var(--encre);
  background: transparent; color: var(--encre); font: 700 .95rem/1.2 var(--texte); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; margin: 0 .3em .4em 0; }
.btn:hover { background: var(--encre); color: #fff; }
.btn-rouge { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.btn-rouge:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); color: #fff; }
.btn-clair { border-color: #fff; color: #fff; }
.btn-clair:hover { background: #fff; color: var(--encre); }
.btn-grand { padding: .95em 1.7em; font-size: 1.02rem; }
.lien-fleche { font-weight: 700; text-decoration: none; white-space: nowrap; }
.lien-fleche::after { content: " →"; }

/* bandeaux */
.apercu { background: #ffd23f; color: #3a2c00; text-align: center; font-size: .82rem; font-weight: 700; padding: .35em 16px; }
.bandeau { background: var(--encre); color: #fff; font-size: .88rem; font-weight: 600; text-align: center; }
.bandeau .cadre { padding: .55em 0; }
.bandeau a { color: #fff; text-decoration: none; }
.bandeau a:hover { text-decoration: underline; }

/* en-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--rouge); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.entete-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.marque { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.marque img { width: 56px; height: 56px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.marque strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.75rem; line-height: .95; letter-spacing: .02em; }
.marque small { display: block; font-size: .72rem; font-weight: 600; opacity: .9; letter-spacing: .04em; }
.marque:hover { color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 16px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; flex-wrap: wrap; }
.nav li { position: relative; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; padding: .55em .7em; border-radius: 8px; display: block; }
.nav > ul > li > a:hover, .nav > ul > li.actif > a { background: rgba(0,0,0,.18); }
.nav .sous { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: 12px; box-shadow: var(--ombre); list-style: none; margin: 0; padding: 8px; }
.nav .sous a { color: var(--encre); font-weight: 500; }
.nav .sous a:hover { background: var(--gris-clair); color: var(--rouge); }
.nav li.a-sous:hover .sous, .nav li.a-sous:focus-within .sous { display: block; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-actions .btn { margin: 0; }
.nav-actions .btn-rouge { background: #fff; color: var(--rouge); border-color: #fff; }
.nav-actions .btn-rouge:hover { background: var(--encre); color: #fff; border-color: var(--encre); }
.btn-boutique { color: #fff; font-weight: 700; text-decoration: none; padding: .55em .8em; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; display: inline-flex; align-items: center; gap: .4em; }
.btn-boutique:hover, .btn-boutique.actif { color: #fff; border-color: #fff; background: rgba(0,0,0,.15); }
.compteur-panier[hidden] { display: none; }
.compteur-panier { background: var(--encre); color: #fff; font-size: .72rem; font-weight: 800; min-width: 1.6em; height: 1.6em; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 .35em; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: rgba(0,0,0,.15); border-radius: 10px; cursor: pointer; padding: 12px 11px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .entete-in { flex-wrap: wrap; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 18px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.ouvert { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav a { font-size: 1.05rem; padding: .7em .6em; }
  .nav .sous { display: block; position: static; background: transparent; box-shadow: none; padding: 0 0 0 14px; }
  .nav .sous a { color: rgba(255,255,255,.88); font-size: .95rem; padding: .45em .6em; }
  .nav .sous a:hover { background: rgba(0,0,0,.15); color: #fff; }
  .nav-actions { padding-top: 10px; }
}

/* héros */
.hero { position: relative; background: var(--encre); color: #fff; overflow: hidden; }
.hero-fond { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: .38; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23,24,27,.96) 0%, rgba(23,24,27,.75) 50%, rgba(217,16,27,.55) 100%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; padding: clamp(56px, 9vw, 120px) 0; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 6rem); margin-bottom: .3em; }
.hero h1 span { color: #ff3a40; }
.hero .intro { color: rgba(255,255,255,.88); }
.hero .sur-titre { color: #ff8a8e; }
.hero-logo { width: min(360px, 100%); justify-self: center; filter: drop-shadow(0 18px 40px rgba(0,0,0,.5)); }
.actions { margin-top: 1.6em; }
@media (max-width: 800px) { .hero-in { grid-template-columns: 1fr; } .hero-logo { width: 160px; grid-row: 1; justify-self: start; } }

/* en-tête de page */
.entete-page { background: var(--encre) linear-gradient(110deg, var(--encre) 55%, var(--rouge-fonce)); color: #fff; padding: clamp(36px, 6vw, 64px) 0 clamp(32px, 5vw, 52px); }
.entete-page .intro { color: rgba(255,255,255,.85); margin: 0; }
.entete-page .sur-titre { color: #ff8a8e; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 1.4em; font-size: .82rem; }
.fil li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.entete-page .fil a { color: rgba(255,255,255,.8); }
.entete-page .fil li[aria-current] { color: #fff; }
.fil a { color: var(--gris); }

/* mises en page */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.centre-v { align-items: center; }
@media (max-width: 860px) { .deux-colonnes { grid-template-columns: 1fr; } }
.titre-ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 1.4em; }
.titre-ligne h2 { margin: 0; }
.photo-arrondie { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; }
.texte h2 { font-size: 2rem; margin-top: 1.2em; }
.texte h3 { font-size: 1.5rem; margin-top: 1em; }
.texte ul { padding-left: 1.2em; }
.texte-long p { margin-bottom: .8em; }
.encart { background: var(--gris-clair); border-radius: var(--rayon); padding: clamp(20px, 3vw, 32px); margin-top: 1.5em; }
.signature { font-weight: 700; text-align: right; margin: 0; }

/* chiffres */
.section-chiffres { padding: 0; background: var(--rouge); color: #fff; }
.chiffres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffres li { padding: 26px 12px; text-align: center; }
.chiffres li + li { border-left: 1px solid rgba(255,255,255,.25); }
.chiffres strong { display: block; font-family: var(--titre); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; }
.chiffres span { font-size: .85rem; font-weight: 600; opacity: .92; }
.chiffres-clair { margin-top: 1.5em; background: var(--gris-clair); border-radius: var(--rayon); }
.chiffres-clair strong { color: var(--rouge); }
.chiffres-clair li + li { border-color: var(--ligne); }
@media (max-width: 640px) { .chiffres { grid-template-columns: 1fr 1fr; } .chiffres li:nth-child(3) { border-left: 0; } .chiffres li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); } .chiffres-clair li:nth-child(n+3) { border-top-color: var(--ligne); } }

/* matchs */
.match { background: #fff; border: 1px solid var(--ligne); border-left: 5px solid var(--gris); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.match.domicile { border-left-color: var(--rouge); }
.match-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; color: var(--gris); font-weight: 600; margin: 0 0 8px; }
.match-meta span:first-child::first-letter { text-transform: uppercase; }
.pastille { background: var(--gris-clair); color: var(--encre); padding: 0 .55em; border-radius: 99px; text-transform: none; }
.match-affiche { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 0; font-weight: 700; line-height: 1.2; }
.match-affiche .g { text-align: right; }
.score { font-family: var(--titre); font-size: 1.6rem; font-weight: 400; background: var(--encre); color: #fff; border-radius: 8px; padding: .1em .5em; white-space: nowrap; }
.score.victoire { background: #1d8a3a; } .score.defaite { background: var(--rouge); } .score.nul { background: var(--gris); }
.score.heure, .score.etat { background: var(--gris-clair); color: var(--encre); font-size: 1.25rem; }
.match-lieu, .match-com { font-size: .82rem; color: var(--gris); margin: 8px 0 0; }
.encart-fff { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--gris-clair); border-radius: var(--rayon); padding: 22px 26px; margin: 28px 0; }
.encart-fff p { margin: 0; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtres a { padding: .4em .9em; border-radius: 99px; background: var(--gris-clair); color: var(--encre); text-decoration: none; font-weight: 600; font-size: .9rem; }
.filtres a[aria-current], .filtres a:hover { background: var(--encre); color: #fff; }
.filtres .lien-panier { margin-left: auto; background: var(--rouge); color: #fff; }
.document-image { margin: 28px 0 0; }
.document-image img { border-radius: var(--rayon); border: 1px solid var(--ligne); }
.document-image figcaption { font-size: .85rem; color: var(--gris); margin-top: .5em; }

/* abonnement agenda */
.match-agenda { margin: 8px 0 0; font-size: .82rem; }
.match-agenda a { font-weight: 700; text-decoration: none; }
.abonnement { border: 2px solid var(--rouge); border-radius: var(--rayon); padding: 20px 24px; margin: 28px 0; background: #fff; }
.abonnement-titre { margin-bottom: 12px; }
.abonnement-choix { display: block; font-weight: 600; margin-bottom: 12px; }
.abonnement-choix select { margin-left: 8px; padding: .45em .7em; font: inherit; border: 1.5px solid #cfccc6; border-radius: 8px; }
.abonnement-liens { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.abonnement-liens .btn { margin: 0; }

/* données Score'n'co */
.score.direct { background: #ea580c; }
.match-direct { display: inline-block; margin: 8px 0 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; color: #ea580c; letter-spacing: .08em; }
.match-agenda { display: flex; gap: 16px; flex-wrap: wrap; }
.source { margin-top: 4px; }
.classements { margin: 40px 0; }
.grille-classements { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.grille-classements h3 a { color: inherit; text-decoration: none; }
.classement { overflow-x: auto; border: 1px solid var(--ligne); border-radius: 12px; }
.classement table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 440px; }
.classement caption { text-align: left; padding: 10px 12px; font-size: .8rem; font-weight: 700; color: var(--gris); }
.classement th, .classement td { padding: 7px 6px; text-align: center; border-top: 1px solid var(--ligne); }
.classement th { font-size: .72rem; text-transform: uppercase; color: var(--gris); background: var(--gris-clair); }
.classement .g { text-align: left; }
.classement td.g { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.classement td.g img { width: 22px; height: 22px; object-fit: contain; }
.classement tr.nous td { background: #fff1f1; color: var(--rouge-fonce); }
.classement tr.nous td.g { font-weight: 800; }
.forme span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; font-size: .62rem; font-weight: 800; color: #fff; margin: 0 1px; }
.forme .f-v { background: #1d8a3a; } .forme .f-n { background: #8b8d93; } .forme .f-d { background: var(--rouge); }

/* widgets gratuits Score'n'co */
.snc-widget { background: var(--gris-clair); border-radius: 12px; padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.snc-widget p { margin: 0; font-size: .9rem; color: var(--gris-fonce); }
.snc-widget .btn { margin: 0; }
.snc-toujours { font-size: .8rem; color: var(--gris); display: flex; gap: 6px; align-items: center; cursor: pointer; }
.snc-widget.charge { padding: 0; background: #fff; border: 1px solid var(--ligne); overflow: hidden; }
.snc-widget iframe { width: 100%; border: 0; display: block; }
.widget-semaine { margin-bottom: 36px; }
.snc-attente { margin: 0; padding: 8px 12px; text-align: center; color: var(--gris); font-size: .82rem; background: var(--gris-clair); }
.snc-widget.pret .snc-attente { display: none; }

/* actualités */
.grille-actus { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.carte-actu a { display: block; color: inherit; text-decoration: none; background: #fff; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); height: 100%; transition: transform .2s; }
.carte-actu a:hover { transform: translateY(-4px); }
.carte-actu img, .carte-actu .sans-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sans-image { display: grid; place-items: center; background: var(--gris-clair); }
.sans-image img { width: 90px !important; height: auto !important; aspect-ratio: auto !important; opacity: .5; }
.carte-actu time { display: block; padding: 16px 20px 0; font-size: .8rem; font-weight: 700; color: var(--rouge); }
.carte-actu h2, .carte-actu h3 { padding: 6px 20px 0; font-size: 1.6rem; }
.carte-actu p { padding: 0 20px 20px; color: var(--gris-fonce); font-size: .95rem; margin: 0; }
.article h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.article-img { margin: 1.5em 0; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a { padding: .4em .9em; border-radius: 8px; background: var(--gris-clair); text-decoration: none; color: var(--encre); font-weight: 700; }
.pagination a[aria-current] { background: var(--rouge); color: #fff; }

/* entraînements */
.liste-creneaux { list-style: none; padding: 0; margin: 0 0 1.5em; }
.liste-creneaux li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.liste-creneaux.clair li { border-color: var(--ligne); }
.creneau-h { font-weight: 700; min-width: 7.5em; font-variant-numeric: tabular-nums; }
.puce { display: inline-block; padding: .25em .7em; border-radius: 7px; font-weight: 700; font-size: .85rem; color: #fff; line-height: 1.25; }
.puce small { display: block; font-weight: 500; font-size: .72rem; opacity: .9; }
.c-rouge { background: #c8101a; } .c-bleu { background: #1c47b0; } .c-vert { background: #15803d; } .c-orange { background: #e5700b; }
.c-rose { background: #d6336c; } .c-jaune { background: #f1b20f; color: #2a2000; } .c-noir { background: #26272b; }
.section-sombre .c-noir { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.planning-grille { overflow-x: auto; border-radius: var(--rayon); box-shadow: var(--ombre); }
.planning-grille table { width: 100%; border-collapse: collapse; min-width: 900px; background: #fff; }
.planning-grille th, .planning-grille td { border: 1px solid var(--ligne); padding: 8px; vertical-align: top; text-align: center; }
.planning-grille thead th { background: var(--rouge); color: #fff; font-family: var(--titre); font-weight: 400; font-size: 1.35rem; letter-spacing: .03em; border-color: var(--rouge-fonce); }
.planning-grille thead th.auj { background: var(--encre); }
.planning-grille tbody th { background: var(--gris-clair); white-space: nowrap; font-size: .9rem; }
.planning-grille td.auj { background: #fff6f6; }
.planning-grille td .puce { display: block; margin: 3px 0; }
.planning-jours { display: none; }
.planning-jours details { border: 1px solid var(--ligne); border-radius: 12px; margin-bottom: 10px; padding: 4px 16px; }
.planning-jours summary { font-family: var(--titre); font-size: 1.6rem; cursor: pointer; padding: 6px 0; }
.planning-jours summary em { font-family: var(--texte); font-style: normal; font-size: .75rem; background: var(--rouge); color: #fff; border-radius: 99px; padding: .15em .6em; vertical-align: middle; }
@media (max-width: 760px) { .planning-grille { display: none; } .planning-jours { display: block; } }

/* encart inscription accueil */
.encart-inscription { background: #fff; color: var(--encre); border-radius: var(--rayon); padding: clamp(24px, 4vw, 40px); border-top: 6px solid var(--rouge); }
.tarifs-mini { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tarifs-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--ligne); }
.tarifs-mini strong { color: var(--rouge); }

/* inscription */
.atouts { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.atouts li { background: var(--gris-clair); border-radius: var(--rayon); padding: 20px; font-size: .92rem; color: var(--gris-fonce); }
.atouts strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.5rem; color: var(--encre); line-height: 1.05; margin-bottom: .2em; }
@media (max-width: 860px) { .atouts { grid-template-columns: 1fr 1fr; } }
.tableau-tarifs { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.tableau-tarifs th, .tableau-tarifs td { padding: 12px 6px; border-bottom: 1px solid var(--ligne); text-align: left; }
.tableau-tarifs td { text-align: right; font-family: var(--titre); font-size: 1.6rem; color: var(--rouge); }
.liste-docs { list-style: none; padding: 0; margin: 0 0 1.5em; }
.liste-docs a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ligne); border-radius: 10px; margin-bottom: 8px; text-decoration: none; color: var(--encre); font-weight: 600; }
.liste-docs a:hover { border-color: var(--rouge); color: var(--rouge); }
.ext { background: var(--rouge); color: #fff; font-size: .68rem; font-weight: 800; border-radius: 5px; padding: .2em .45em; flex-shrink: 0; }
.liste-liens { padding-left: 1.2em; }

/* formulaires */
.formulaire label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=tel], .formulaire input[type=date], .formulaire input[type=number], .formulaire select, .formulaire textarea {
  display: block; width: 100%; margin-top: 5px; padding: .75em .9em; font: inherit; font-weight: 400; border: 1.5px solid #cfccc6; border-radius: 10px; background: #fff; color: var(--encre); }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { border-color: var(--rouge); outline: none; box-shadow: 0 0 0 3px rgba(217,16,27,.15); }
.formulaire [aria-invalid="true"] { border-color: var(--rouge); }
.formulaire button[type=submit] { margin-top: 8px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .champs-2 { grid-template-columns: 1fr; } }
.choix { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.choix legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.choix label { margin: 0; font-weight: 500; border: 1.5px solid #cfccc6; border-radius: 99px; padding: .45em .9em; cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--rouge); background: #fff1f1; }
.err { color: var(--rouge); font-size: .85rem; margin: -8px 0 12px; font-weight: 600; }
.alerte { border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.alerte.succes { background: #e8f6ec; border: 1px solid #a7dbb5; color: #14532d; }
.alerte.erreur { background: #fff0f0; border: 1px solid #f3b4b6; color: #8a0b12; }

/* équipes et bureau */
.grille-equipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.carte-equipe { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; background: var(--encre); text-decoration: none; aspect-ratio: 16/10; box-shadow: var(--ombre); }
.carte-equipe > img, .carte-equipe .sans-image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.carte-equipe .sans-image { background: linear-gradient(135deg, var(--rouge), var(--rouge-fonce)); }
.carte-equipe .sans-image img { filter: brightness(0) invert(1); opacity: .35; }
.carte-equipe:hover > img { transform: scale(1.04); }
.carte-equipe-nom { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-family: var(--titre); font-size: 1.8rem; line-height: 1; }
.carte-equipe-nom small { display: block; font-family: var(--texte); font-size: .78rem; opacity: .85; margin-top: 4px; }
.grille-bureau { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 16px; text-align: center; }
.grille-bureau img, .avatar { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--rouge); }
.avatar { display: grid; place-items: center; background: var(--gris-clair); font-family: var(--titre); font-size: 3rem; color: var(--rouge); }
.grille-bureau strong { display: block; }
.grille-bureau span { font-size: .88rem; color: var(--gris); }

/* galerie */
.grille-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.carte-album { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4/3; text-decoration: none; box-shadow: var(--ombre); }
.carte-album img { width: 100%; height: 100%; object-fit: cover; }
.carte-album span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; }
.carte-album strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.carte-album small { font-size: .82rem; opacity: .85; }
.grille-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 30px; }
.grille-photos figure { margin: 0; }
.grille-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.grille-photos figcaption { font-size: .85rem; color: var(--gris); padding-top: 4px; }

/* partenaires */
.grille-partenaires { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.grille-partenaires li > *, .grille-partenaires li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.grille-partenaires li { background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 16px; text-align: center; }
.grille-partenaires a { text-decoration: none; color: inherit; }
.grille-partenaires img { max-height: 90px; width: auto; object-fit: contain; }
.grille-partenaires span { font-size: .82rem; font-weight: 600; color: var(--gris-fonce); }
.section-partenaires { background: var(--gris-clair); }
.defile { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile-piste { display: flex; gap: 22px; width: max-content; animation: defile 70s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile img { height: 90px; width: auto; max-width: 200px; object-fit: contain; background: #fff; border-radius: 10px; padding: 10px; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .defile-piste { animation: none; flex-wrap: wrap; width: auto; } .defile { mask-image: none; } }

/* boutique */
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; }
.carte-produit a { display: block; color: inherit; text-decoration: none; }
.produit-img { position: relative; display: block; aspect-ratio: 1; background: #f7f6f4; border-radius: var(--rayon); overflow: hidden; margin-bottom: 10px; }
.produit-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .25s; mix-blend-mode: multiply; }
.carte-produit a:hover img { transform: scale(1.05); }
.carte-produit h3 { font-family: var(--texte); font-size: .98rem; font-weight: 600; line-height: 1.3; margin: 0 0 4px; }
.prix { font-weight: 800; color: var(--rouge); margin: 0; }
.prix.grand { font-family: var(--titre); font-weight: 400; font-size: 2.6rem; line-height: 1; margin: .2em 0 .5em; }
.ruban { position: absolute; top: 10px; left: 10px; background: var(--rouge); color: #fff; font-size: .7rem; font-weight: 800; padding: .3em .6em; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; max-width: calc(100% - 20px); }
.ruban.statique { position: static; display: inline-block; margin-bottom: 10px; }
.produit-photo-principale { display: block; background: #f7f6f4; border-radius: var(--rayon); }
.produit-photo-principale img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.vignettes { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.vignettes img { width: 72px; height: 72px; object-fit: contain; background: #f7f6f4; border-radius: 8px; }
.produit-infos h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .1em; }
.ref { color: var(--gris); font-size: .85rem; margin: 0; }
.tailles { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tailles legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.tailles label { margin: 0; cursor: pointer; }
.tailles input { position: absolute; opacity: 0; }
.tailles span { display: inline-block; min-width: 3em; text-align: center; padding: .5em .7em; border: 1.5px solid #cfccc6; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.tailles input:checked + span { border-color: var(--rouge); background: var(--rouge); color: #fff; }
.tailles input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 2px; }
.ajout-ok { background: #e8f6ec; color: #14532d; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.panier-liste .ligne-panier { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.ligne-panier img { width: 64px; height: 64px; object-fit: contain; background: #f7f6f4; border-radius: 8px; }
.ligne-panier small { display: block; color: var(--gris); }
.ligne-panier .qte { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.ligne-panier button { border: 1px solid var(--ligne); background: #fff; border-radius: 6px; width: 30px; height: 30px; cursor: pointer; font-weight: 700; }
.ligne-panier .retirer { width: auto; padding: 0 8px; color: var(--rouge); font-size: .8rem; }
.panier-total { font-size: 1.15rem; text-align: right; margin-top: 12px; }
.panier-total strong { font-family: var(--titre); font-weight: 400; font-size: 2rem; color: var(--rouge); }

/* vidéo */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--rayon); overflow: hidden; background: #000; }
.video iframe, .video-lancer, .video-lancer img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-lancer { cursor: pointer; padding: 0; background: #000; }
.lecture { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); background: var(--rouge); border-radius: 14px; }
.lecture::after { content: ""; position: absolute; left: 31px; top: 15px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }

/* visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,12,.94); display: grid; place-items: center; padding: 16px; }
.visionneuse img { max-height: 92vh; max-width: 100%; width: auto; border-radius: 8px; background: #fff; }
.visionneuse button { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }

/* pied */
.pied { background: var(--encre); color: rgba(255,255,255,.82); font-size: .92rem; padding-top: 56px; border-top: 6px solid var(--rouge); }
.pied a { color: #fff; }
.pied h2 { font-size: 1.5rem; color: #fff; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .45em; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.pied-grille img { margin-bottom: 12px; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }
.pied-bas { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 28px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pied-bas p { margin: 0; }

/* derniers posts Instagram */
.grille-instagram { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.grille-instagram a { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--gris-clair); }
.grille-instagram img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .25s, opacity .25s; }
.grille-instagram a:hover img, .grille-instagram a:focus-visible img { transform: scale(1.04); opacity: .9; }
.grille-instagram .ig-type { position: absolute; top: 6px; right: 8px; color: #fff; font-size: .95rem; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
@media (max-width: 900px) { .grille-instagram { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .grille-instagram { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
