/* Open Cup — styles des composants (annuaire, formulaire, forum) et touches de design du site */
:root { --oc-navy: #0f1d3a; --oc-blue: #1d4e89; --oc-gold: #e2b13c; --oc-sand: #f7f4ee; --oc-ink: #1b2233; --oc-muted: #5b6475; }

/* Formulaire */
.oc-form { background: #fff; border: 1px solid #e6e1d6; border-radius: 16px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 10px 30px rgba(15, 29, 58, .06); }
.oc-intro { color: var(--oc-muted); margin-top: 0; }
.oc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }
.oc-field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.oc-field input, .oc-field select, .oc-field textarea { width: 100%; box-sizing: border-box; padding: .7rem .8rem; border: 1px solid #cfd5df; border-radius: 10px; font: inherit; background: #fbfcfe; }
.oc-field input:focus, .oc-field select:focus, .oc-field textarea:focus { outline: 2px solid var(--oc-gold); border-color: var(--oc-gold); }
.oc-req { color: #c0392b; }
.oc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.oc-consent { font-size: .92rem; color: var(--oc-muted); }
.oc-consent input { margin-right: .4rem; }
.oc-btn { display: inline-block; background: var(--oc-gold); color: var(--oc-navy) !important; border: 0; border-radius: 999px; padding: .85rem 1.6rem; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.oc-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(226, 177, 60, .35); }
.oc-btn-small { padding: .55rem 1.1rem; font-size: .9rem; }
.oc-notice { padding: 1rem 1.25rem; border-radius: 12px; background: var(--oc-sand); border-left: 4px solid var(--oc-gold); margin: 1rem 0; }
.oc-ok { background: #ecf8f0; border-color: #2e9e5b; }
.oc-err { background: #fdf0ee; border-color: #c0392b; }

/* Annuaire */
.oc-count { color: var(--oc-muted); }
.oc-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.oc-chip { border: 1px solid #d6dbe4; background: #fff; border-radius: 999px; padding: .45rem .95rem; font: inherit; font-size: .92rem; cursor: pointer; }
.oc-chip.is-on { background: var(--oc-navy); color: #fff; border-color: var(--oc-navy); }
.oc-map { height: 420px; border-radius: 16px; overflow: hidden; margin: 0 0 2rem; box-shadow: 0 10px 30px rgba(15, 29, 58, .12); z-index: 0; }
.oc-map-small { height: 280px; margin-top: 2rem; }
.oc-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--oc-gold); border: 3px solid var(--oc-navy); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.oc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.oc-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; border-radius: 16px; background: #fff; border: 1px solid #e8e4da; text-decoration: none !important; color: var(--oc-ink) !important; transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.oc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--oc-blue), var(--oc-gold)); }
.oc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 29, 58, .12); }
.oc-card[hidden] { display: none; }
.oc-card-flag { font-size: 1.8rem; line-height: 1; }
.oc-card-name { font-weight: 700; font-size: 1.12rem; }
.oc-card-meta { color: var(--oc-muted); font-size: .92rem; }
.oc-badge { display: inline-block; align-self: flex-start; background: var(--oc-sand); color: var(--oc-navy); border-radius: 999px; padding: .2rem .7rem; font-size: .82rem; font-weight: 600; margin: .25rem 0 0; }

/* Fiche club */
.oc-back { text-decoration: none; font-weight: 600; }
.oc-club-head { display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem; border-radius: 18px; color: #fff; background: linear-gradient(120deg, var(--oc-navy), var(--oc-blue)); }
.oc-club-head h2 { color: #fff; margin: .2rem 0; }
.oc-club-logo { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 14px; padding: .4rem; }
.oc-kicker { margin: 0; color: var(--oc-gold); font-weight: 600; letter-spacing: .04em; }
.oc-club-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 2rem; margin-top: 1.5rem; }
.oc-club-side { background: var(--oc-sand); border-radius: 16px; padding: 1.25rem; align-self: start; }
.oc-club-side h3 { font-size: 1rem; margin: 0 0 .3rem; }
.oc-club-side p { margin: 0 0 1rem; }
.oc-locked { color: var(--oc-muted); font-size: .92rem; }
@media (max-width: 720px) { .oc-club-body { grid-template-columns: 1fr; } .oc-club-head { flex-direction: column; align-items: flex-start; } }

/* Forum (bbPress) */
.oc-forum-locked { max-width: 640px; margin: 4rem auto; padding: 0 1.5rem; text-align: center; }
#bbpress-forums { font-size: 1rem; }
#bbpress-forums li.bbp-header { background: var(--oc-navy); color: #fff; border-radius: 10px 10px 0 0; }
#bbpress-forums li.bbp-header a { color: #fff; }
.oc-account { font-size: .9rem; }

/* Touches de design du thème */
.oc-wave { position: relative; }
.oc-gradient-text { background: linear-gradient(90deg, #fff 0%, var(--oc-gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.oc-lift { transition: transform .2s, box-shadow .2s; }
.oc-lift:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 29, 58, .14); }
.wp-block-polylang-language-switcher, .pll-switcher { list-style: none; display: flex; gap: .6rem; margin: 0; padding: 0; font-size: .9rem; }

/* ---- Accueil : bandeau, chiffres, cartes, appel à l'action ---- */
.oc-hero { position: relative; color: #fff; margin-top: 0 !important; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(127,179,255,.25), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(226,177,60,.18), transparent 60%), linear-gradient(135deg, #0b1630 0%, #0f1d3a 45%, #1d4e89 100%); }
.oc-hero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 70px; background: var(--wp--preset--color--base, #fff); clip-path: ellipse(75% 100% at 50% 100%); }
.oc-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 8vw, 6.5rem) 1.5rem clamp(5rem, 9vw, 7.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: center; }
.oc-hero-kicker { color: var(--oc-gold); text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; font-weight: 600; margin: 0 0 1rem; }
.oc-hero-title { color: #fff; font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: .98; margin: 0 0 1rem; font-weight: 800; letter-spacing: -.02em; }
.oc-hero-title span { display: block; font-size: .42em; font-weight: 500; letter-spacing: 0; margin-top: .5rem; color: #cfe0ff; }
.oc-hero-tag { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; margin: 0 0 .75rem; color: #fff; }
.oc-hero-lead { color: #d7e2f5; font-size: 1.05rem; max-width: 40rem; }
.oc-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.oc-btn-ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.oc-btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px #fff; }
.oc-hero-countries { font-size: 1.5rem; margin: 0; }
.oc-hero-countries span { display: block; font-size: .85rem; color: #b8c7e3; margin-top: .3rem; letter-spacing: .02em; }
.oc-rhine { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
@media (max-width: 860px) { .oc-hero-inner { grid-template-columns: 1fr; } .oc-hero-art { order: -1; max-width: 220px; margin: 0 auto; } }

.oc-section { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.oc-center { text-align: center; }
.oc-lead { font-size: 1.2rem; color: var(--oc-muted); }
.oc-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.oc-why-card { background: #fff; border: 1px solid #ece7dc; border-radius: 18px; padding: 1.6rem; position: relative; }
.oc-why-card h3 { margin: .2rem 0 .5rem; font-size: 1.2rem; }
.oc-why-card p, .oc-why-card ul { margin: 0; color: var(--oc-muted); }
.oc-why-card ul { padding-left: 1.1rem; }
.oc-why-card li { margin: .3rem 0; }
.oc-why-num { font-weight: 800; font-size: 2rem; background: linear-gradient(90deg, var(--oc-blue), var(--oc-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oc-why-3 .oc-why-card { border-top: 4px solid var(--oc-gold); }

.oc-stats { margin-top: clamp(2.5rem, 6vw, 4.5rem) !important; background: linear-gradient(90deg, var(--oc-navy), var(--oc-blue)); color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.75rem 1.5rem; box-sizing: border-box; text-align: center; }
.oc-stats strong { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: var(--oc-gold); line-height: 1; }
.oc-stats span { display: block; margin-top: .5rem; color: #d7e2f5; font-size: .95rem; }
@media (max-width: 700px) { .oc-stats { grid-template-columns: 1fr 1fr; } }

.oc-score { gap: 2rem; }
.oc-example { background: var(--oc-sand); border-radius: 18px; padding: 1.5rem !important; border-left: 5px solid var(--oc-gold); }

.oc-join { margin-top: clamp(3rem, 7vw, 5rem) !important; border-radius: 26px; padding: clamp(2rem, 5vw, 3.25rem); color: #fff; display: grid; grid-template-columns: minmax(0, 1.6fr) auto; gap: 2rem; align-items: center;
  background: radial-gradient(600px 300px at 100% 0%, rgba(226,177,60,.35), transparent 60%), linear-gradient(135deg, #0f1d3a, #1d4e89); box-shadow: 0 25px 60px rgba(15,29,58,.25); }
.oc-join h2 { color: #fff; margin: 0 0 .6rem; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.oc-join p { margin: 0; color: #d7e2f5; }
.oc-join-ctas { display: flex; flex-direction: column; gap: .75rem; }
@media (max-width: 760px) { .oc-join { grid-template-columns: 1fr; } .oc-join-ctas { flex-direction: row; flex-wrap: wrap; } }
.oc-soon { color: var(--oc-muted); }

.oc-box { margin: 2.5rem 0; padding: 1.75rem; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #0f1d3a, #1d4e89); }
.oc-box h3 { color: var(--oc-gold); margin-top: 0; }
.oc-note { background: var(--oc-sand); border-left: 5px solid var(--oc-gold); border-radius: 14px; padding: 1.1rem 1.4rem; margin-bottom: 2rem; }
.oc-note p:last-child { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 0; }
.oc-pdf { font-weight: 600; }
.oc-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.oc-steps li { background: var(--oc-sand); border-radius: 14px; padding: .9rem 1rem; display: flex; gap: .8rem; align-items: center; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.oc-steps span { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--oc-navy); color: var(--oc-gold); display: grid; place-items: center; font-weight: 800; }

/* ---- En-tête et pied de page ---- */
.oc-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #ece7dc; }
.oc-header-inner { max-width: 1200px; margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.oc-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none !important; color: var(--oc-navy) !important; }
.oc-brand-mark { width: 48px; height: 42px; font-size: .9rem; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--oc-gold); background: linear-gradient(135deg, var(--oc-navy), var(--oc-blue)); letter-spacing: -.03em; }
.oc-brand-text { font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.oc-brand-text small { display: block; font-weight: 500; font-size: .72rem; color: var(--oc-muted); letter-spacing: .04em; }
.oc-nav { display: flex; align-items: center; gap: 1.25rem; }
.oc-nav-items { list-style: none; display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 0; }
.oc-nav-items a { text-decoration: none; color: var(--oc-ink); font-weight: 500; }
.oc-nav-items a.is-on, .oc-nav-items a:hover { color: var(--oc-blue); }
.oc-langs { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; font-size: .8rem; font-weight: 700; }
.oc-langs a { display: block; padding: .3rem .45rem; border-radius: 8px; text-decoration: none; color: var(--oc-muted); }
.oc-langs .is-on a { background: var(--oc-navy); color: #fff; }
.oc-nav-toggle, .oc-nav-burger { display: none; }
@media (max-width: 960px) {
  .oc-nav-burger { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; order: 3; }
  .oc-nav-burger span, .oc-nav-burger span::before, .oc-nav-burger span::after { content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--oc-navy); }
  .oc-nav-burger span { top: 19px; } .oc-nav-burger span::before { top: -7px; left: 0; right: 0; } .oc-nav-burger span::after { top: 7px; left: 0; right: 0; }
  .oc-nav-items { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid #ece7dc; box-shadow: 0 20px 30px rgba(15,29,58,.1); }
  .oc-nav-toggle:checked ~ .oc-nav-items { display: flex; }
  .oc-nav-items li a { display: block; padding: .6rem 0; }
  .oc-brand-text small { display: none; }
}
.oc-footer { margin-top: 5rem; background: #0b1630; color: #b8c7e3; }
.oc-footer-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.oc-footer-title { color: #fff; font-weight: 800; font-size: 1.1rem; margin: 0 0 .5rem; }
.oc-footer-flags { font-size: 1.4rem; }
.oc-footer-links { list-style: none; margin: 0; padding: 0; }
.oc-footer-links li { margin: .35rem 0; }
.oc-footer a { color: #fff; }
.oc-footer .oc-langs a { color: #b8c7e3; } .oc-footer .oc-langs .is-on a { background: var(--oc-gold); color: var(--oc-navy); }
@media (max-width: 760px) { .oc-footer-inner { grid-template-columns: 1fr; } }

/* Accueil : pas d'espace entre l'en-tête et le bandeau */
.home .wp-site-blocks > main, .home main.wp-block-group { margin-top: 0 !important; padding-top: 0 !important; }
.home .entry-content > .oc-hero:first-child { margin-top: 0 !important; }
.oc-stats > div { max-width: 280px; justify-self: center; }
@media (max-width: 960px) { .oc-brand-text { white-space: nowrap; font-size: 1rem; } .oc-brand-mark { width: 40px; height: 36px; font-size: .8rem; } .oc-header-inner { gap: .5rem; padding: .6rem 1rem; } }
@media (max-width: 420px) { .oc-brand-text { display: none; } }

/* Accueil d'une journée */
.oc-host-check { background: var(--oc-sand); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; }
.oc-host-check input { margin-right: .4rem; }
.oc-facilities { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.oc-facilities legend { font-weight: 600; font-size: .95rem; margin-bottom: .5rem; padding: 0; }
.oc-facilities label { font-weight: 400; display: inline-flex; gap: .4rem; align-items: center; }
.oc-badge-host { background: #e9f6ee; color: #1e6b3c; }
.oc-hostcard { margin-top: 2rem !important; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.75rem 2rem; border-radius: 22px; background: #eef6f0; border: 1px solid #cfe7d6; }
.oc-hostcard h2 { margin: 0 0 .35rem; font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.oc-hostcard p { margin: 0; color: #3d5245; }
.oc-hostcard-icon { font-size: 2.6rem; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 18px; background: #fff; }
@media (max-width: 760px) { .oc-hostcard { grid-template-columns: 1fr; } }
.oc-needs { background: var(--oc-sand); border-radius: 16px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; }
.oc-needs h3 { margin-top: 0; }

/* ---- Identité visuelle : logo, illustrations, frise de flags ---- */
.oc-brand-logo { width: 44px; height: 44px; display: block; border-radius: 12px; }
.oc-brand-text { text-transform: uppercase; letter-spacing: .02em; }
.oc-brand-text b { color: #e2a42b; font-weight: 800; }
.oc-brand-mark { display: none; }
.oc-hero-img { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
@media (max-width: 860px) { .oc-hero-art { max-width: 340px; } }
.oc-why-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--oc-sand); margin-bottom: .6rem; }
.oc-why-icon svg { width: 44px; height: 44px; }
.oc-why-card:nth-child(2) .oc-why-icon { background: #fff4d6; }
.oc-why-card:nth-child(3) .oc-why-icon { background: #ffe9e6; }
.oc-why-card:nth-child(4) .oc-why-icon { background: #e7f0fc; }
/* Frise de flags de ceinture qui flottent */
.oc-flagstrip { height: 46px; margin-top: 2.5rem !important; opacity: .95;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='46' viewBox='0 0 240 46'%3E%3Crect x='-1' y='4' width='242' height='5' fill='%230f1d3a'/%3E%3Cpath d='M14 9h12c1 6-3 10 0 16c2 5-1 9 1 13H15c-2-4 1-8-1-13c-3-6 1-10 0-16z' fill='%23f4c95d'/%3E%3Cpath d='M74 9h12c1 5-2 10 1 15c2 5-1 9 1 13H76c-2-4 1-8-1-13c-3-5 0-10-1-15z' fill='%23ff6b5f'/%3E%3Cpath d='M134 9h12c1 6-3 10 0 16c2 5-1 9 1 13h-12c-2-4 1-8-1-13c-3-6 1-10 0-16z' fill='%237fb3ff'/%3E%3Cpath d='M194 9h12c1 5-2 10 1 15c2 5-1 9 1 13h-12c-2-4 1-8-1-13c-3-5 0-10-1-15z' fill='%232e9e5b'/%3E%3C/svg%3E") repeat-x left center; }

/* Bandeau photo (photo Unsplash : Amari Shutters) */
/* photo décalée vers la droite : le porteur du ballon apparaît à côté du texte (bande gauche couverte par le dégradé) */
.oc-hero-photo { background:
  linear-gradient(90deg, rgba(11,22,48,.97) 0%, rgba(11,22,48,.9) 30%, rgba(11,22,48,.45) 52%, rgba(15,29,58,.05) 75%),
  url("img/hero-flag.jpg") left 19vw top 0 / max(110vw, 1500px) auto no-repeat, #0b1630; }
.oc-hero-photo .oc-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: min(78vh, 680px); align-content: center; }
.oc-hero-photo .oc-hero-text { max-width: 640px; }
.oc-photo-credit { position: absolute; right: 1rem; bottom: 78px; margin: 0; font-size: .7rem; color: rgba(255,255,255,.6); z-index: 2; }
@media (max-width: 860px) {
  .oc-hero-photo { background:
    linear-gradient(180deg, rgba(11,22,48,.55) 0%, rgba(11,22,48,.88) 55%, rgba(11,22,48,.96) 100%),
    url("img/hero-flag-mobile.jpg") 60% top / cover no-repeat; }
  .oc-hero-photo .oc-hero-inner { min-height: 0; padding-top: 14rem; }
}

/* ---- Le flag en 30 secondes ---- */
.oc-f30 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.75rem; }
.oc-f30-card { text-align: center; padding: 1.75rem 1.4rem; border-radius: 20px; background: linear-gradient(180deg, #fff, var(--oc-sand)); border: 1px solid #ece7dc; }
.oc-f30-icon { display: grid; place-items: center; width: 92px; height: 72px; margin: 0 auto .75rem; }
.oc-f30-icon svg { width: 100%; height: 100%; }
.oc-f30-card h3 { margin: 0 0 .4rem; font-size: 1.35rem; font-weight: 800; }
.oc-f30-card p { margin: 0; color: var(--oc-muted); }
@media (max-width: 760px) { .oc-f30 { grid-template-columns: 1fr; } }

/* ---- Bande des clubs inscrits ---- */
.oc-strip { text-align: center; margin-top: 1.25rem; }
.oc-strip-count { color: var(--oc-muted); }
.oc-strip-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1rem 0 1.5rem; }
.oc-strip-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid #e3ded2; text-decoration: none !important; color: var(--oc-ink) !important; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.oc-strip-chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,29,58,.12); }
.oc-strip-chip span { font-size: 1.2rem; }
.oc-strip-empty { text-align: center; margin-top: 1rem; padding: 2rem 1.5rem; border-radius: 20px; border: 2px dashed #d9d2c2; background: var(--oc-sand); }
.oc-strip-empty p:first-child { font-size: 1.15rem; font-weight: 600; }

/* ---- Bandeau des pages intérieures ---- */
main:has(.oc-page-hero), main:has(.oc-page-hero) > .wp-block-group:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.entry-content > .oc-page-hero:first-child { margin-top: 0 !important; }
.oc-page-hero { position: relative; color: #fff; padding: clamp(3rem, 7vw, 5rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(90deg, rgba(11,22,48,.95) 0%, rgba(11,22,48,.85) 45%, rgba(29,78,137,.55) 100%), url("img/hero-flag.jpg") center 35% / cover no-repeat, #0b1630; }
.oc-page-hero-rules { background-position: center, center 70%, center; }
.oc-page-hero-clubs { background-position: center, right 20%, center; }
.oc-page-hero-register, .oc-page-hero-host { background-position: center, left 45%, center; }
.oc-page-hero-inner { max-width: 1100px; margin: 0 auto; }
.oc-page-hero-kicker { color: var(--oc-gold); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; margin: 0 0 .6rem; }
.oc-page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
.oc-page-hero-sub { margin: .8rem 0 0; font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: #d7e2f5; }
.oc-flagstrip-tight { margin-top: 0 !important; margin-bottom: 1.5rem; }

/* ==== Style inspiré de la maquette Rhine Flag Tour (12/10/2026) ==== */
:root { --oc-yellow: #f4c430; }
/* Trait de pinceau jaune (SVG) réutilisable */
.oc-brush { position: absolute; display: block; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60'%3E%3Cpath d='M6 38C60 18 120 14 190 20s140 10 204-8c-30 22-90 34-160 34S70 40 6 50z' fill='%23f4c430'/%3E%3Cpath d='M30 50c70-8 150-6 230-2s100-2 130-10' stroke='%23f4c430' stroke-width='3' fill='none' opacity='.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* Logo texte : italique gras, comme la maquette */
.oc-brand-text { font-style: italic; font-weight: 900; letter-spacing: -.01em; }
.oc-brand-text b { color: var(--oc-yellow); }

/* Bandeau d'accueil : fond bleu nuit + photo de la maquette dans un cadre */
.oc-hero-mq { background:
  radial-gradient(700px 400px at 85% 30%, rgba(127,179,255,.22), transparent 60%),
  linear-gradient(135deg, #0a1530 0%, #0f1d3a 50%, #16386b 100%); }
.oc-hero-mq .oc-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; }
.oc-hero-visual { position: relative; }
.oc-hero-visual picture, .oc-hero-visual img { display: block; width: 100%; height: auto; }
.oc-hero-visual img { border-radius: 18px; transform: rotate(-1.5deg); box-shadow: 0 30px 60px rgba(0,0,0,.45); position: relative; z-index: 1; border: 4px solid rgba(255,255,255,.9); }
.oc-hero-visual .oc-brush-1 { width: 70%; height: 70px; left: -10%; top: -26px; transform: rotate(-8deg); z-index: 0; }
.oc-hero-visual .oc-brush-2 { width: 60%; height: 60px; right: -6%; bottom: -28px; transform: rotate(-4deg); z-index: 2; opacity: .95; }
.oc-hero-mq .oc-hero-title { font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
@media (max-width: 860px) {
  .oc-hero-mq .oc-hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .oc-hero-mq .oc-hero-visual { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
}

/* Mosaïque de vignettes avec accroches « pinceau » */
.oc-mosaic { display: grid; grid-template-columns: 1.15fr 1fr .8fr; gap: 1.1rem; margin-top: clamp(2.5rem, 6vw, 4rem) !important; }
.oc-tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; min-height: 230px; box-shadow: 0 14px 34px rgba(15,29,58,.18); }
.oc-tile picture, .oc-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-tile img { transition: transform .5s; }
.oc-tile:hover img { transform: scale(1.04); }
.oc-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem; color: #fff; font-style: italic; font-weight: 900; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.5);
  background: linear-gradient(180deg, transparent, rgba(10,21,48,.85)); }
.oc-tile figcaption::after { content: ""; display: block; width: 70%; height: 10px; margin-top: .4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8C50 2 110 2 198 5c-40 6-120 7-196 5z' fill='%23f4c430'/%3E%3C/svg%3E") left center / 100% 100% no-repeat; }
.oc-tile-joueuse img { object-position: 35% 20%; }
@media (max-width: 760px) { .oc-mosaic { grid-template-columns: 1fr 1fr; } .oc-tile-equipe { grid-column: 1 / -1; } .oc-tile { min-height: 200px; } }

/* Bande « Nos valeurs » */
.oc-values { margin-top: clamp(2.5rem, 6vw, 4.5rem) !important; padding: 2.75rem 1.5rem 3rem; color: #fff; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #0f1d3a, #1d4e89); }
.oc-values::before, .oc-values::after { content: ""; position: absolute; width: 340px; height: 60px; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60'%3E%3Cpath d='M6 38C60 18 120 14 190 20s140 10 204-8c-30 22-90 34-160 34S70 40 6 50z' fill='%23f4c430'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.oc-values::before { left: -90px; top: 18px; transform: rotate(-12deg); }
.oc-values::after { right: -100px; bottom: 14px; transform: rotate(-6deg); }
.oc-values h2 { color: #fff; margin: 0 0 1.75rem; font-style: italic; font-weight: 900; position: relative; z-index: 1; }
.oc-values-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; z-index: 1; }
.oc-value { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1rem .5rem; }
.oc-value-icon { width: 58px; height: 58px; color: var(--oc-yellow); }
.oc-value-icon svg { width: 100%; height: 100%; }
.oc-value strong { font-size: 1.15rem; }
.oc-value span:last-child { color: #c9d6ee; font-size: .95rem; }
@media (max-width: 760px) { .oc-values-grid { grid-template-columns: 1fr 1fr; } }
.oc-hero-mq .oc-hero-title { font-size: clamp(2.6rem, 5.2vw, 4.3rem); }
.oc-hero-mq .oc-hero-title span { text-transform: none; font-weight: 600; letter-spacing: 0; font-size: .44em; }
.home .oc-hero + .oc-flagstrip, .oc-hero-mq + .oc-flagstrip { margin-top: .5rem !important; }

/* ---- Logos des clubs ---- */
.oc-strip-section { max-width: var(--wp--style--global--wide-size, 1200px); margin: clamp(2.5rem, 6vw, 4.5rem) auto 0 !important; padding: 0 1rem; }
.oc-strip-chip.has-logo { padding: .35rem 1rem .35rem .4rem; }
.oc-strip-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid #ece7dc; }
.oc-card-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid #ece7dc; padding: 4px; }
.oc-logo-field input[type=file] { padding: .55rem; background: #fff; }
.oc-help { display: block; font-size: .85rem; color: var(--oc-muted); margin-top: .3rem; }

/* ---- Étapes ---- */
.oc-stages-section { max-width: var(--wp--style--global--wide-size, 1200px); margin: clamp(2.5rem, 6vw, 4.5rem) auto 0 !important; padding: 0 1rem; }
.oc-stages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin: 1.5rem 0; }
.oc-stages-list { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.oc-stage { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem; border-radius: 18px; background: #fff; border: 1px solid #ece7dc; box-shadow: 0 8px 22px rgba(15,29,58,.06); }
.oc-stage-date { flex: none; width: 70px; text-align: center; border-radius: 14px; padding: .55rem 0; color: #fff; background: linear-gradient(160deg, var(--oc-navy), var(--oc-blue)); }
.oc-stage-date strong { display: block; font-size: 1.9rem; line-height: 1; font-weight: 900; color: var(--oc-yellow, #f4c430); }
.oc-stage-date span { display: block; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; margin-top: .2rem; }
.oc-stage-body { min-width: 0; }
.oc-stage-body h3 { margin: .15rem 0 .35rem; font-size: 1.3rem; font-style: italic; font-weight: 900; }
.oc-stage-body p { margin: .15rem 0; color: var(--oc-muted); font-size: .95rem; }
.oc-stage-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem !important; font-weight: 700; color: var(--oc-blue) !important; }
.oc-stage-status { display: inline-block; padding: .05rem .5rem; border-radius: 999px; background: var(--oc-sand); color: var(--oc-navy); letter-spacing: .04em; }
.oc-stage-confirmed .oc-stage-status { background: #e5f5ea; color: #1e6b3c; }
.oc-stage-full .oc-stage-status { background: #fdecea; color: #a8322a; }
.oc-stage-done { opacity: .7; }
.oc-stage-done .oc-stage-date { background: #8a93a6; }
.oc-stage-info summary { cursor: pointer; font-weight: 600; color: var(--oc-blue); margin-top: .4rem; }
.oc-stage-info summary { font-size: .95rem; }

/* ---- Bandeaux des pages intérieures : style maquette (fond bleu nuit + vignette encadrée) ---- */
.oc-page-hero-mq { background:
  radial-gradient(600px 300px at 85% 20%, rgba(127,179,255,.22), transparent 60%),
  linear-gradient(135deg, #0a1530 0%, #0f1d3a 55%, #16386b 100%) !important; overflow: hidden; }
.oc-page-hero-mq::before { content: ""; position: absolute; left: -80px; bottom: 18px; width: 320px; height: 50px; opacity: .85; transform: rotate(-8deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60'%3E%3Cpath d='M6 38C60 18 120 14 190 20s140 10 204-8c-30 22-90 34-160 34S70 40 6 50z' fill='%23f4c430'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.oc-page-hero-mq .oc-page-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem; align-items: center; }
.oc-page-hero-mq h1 { font-style: italic; font-weight: 900; }
.oc-page-hero-visual { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.oc-page-hero-visual picture, .oc-page-hero-visual img { display: block; width: 100%; height: auto; }
.oc-page-hero-visual img { border-radius: 16px; border: 4px solid rgba(255,255,255,.9); transform: rotate(-2deg); box-shadow: 0 22px 44px rgba(0,0,0,.45); position: relative; z-index: 1; }
.oc-page-hero-visual .oc-brush { width: 75%; height: 50px; right: -8%; bottom: -22px; transform: rotate(-5deg); z-index: 2; }
.oc-pv-mq-joueuse { max-width: 230px; }
.oc-pv-mq-match, .oc-pv-guide-participer, .oc-pv-guide-clubs, .oc-pv-guide-calendrier { max-width: 380px; }
@media (max-width: 760px) {
  .oc-page-hero-mq .oc-page-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .oc-page-hero-visual { justify-self: start; max-width: 300px; }
  .oc-pv-mq-joueuse { max-width: 190px; }
}

/* ---- Logos officiels (brand.json) ---- */
.oc-brand-official-logo { display: block; height: 52px; width: auto; }
@media (max-width: 960px) { .oc-brand-official-logo { height: 44px; } }
.oc-hero-title.oc-hero-has-logo { margin-bottom: 1.25rem; }
.oc-hero-logo { display: block; width: min(460px, 100%); height: auto; margin: 0 0 .25rem -10px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); }
.oc-hero-has-logo span { margin-top: .5rem; }
.oc-footer-logo { display: block; width: 200px; height: auto; margin-bottom: .25rem; }

/* ---- Le guide (cartes photo vers les pages) ---- */
.oc-guide { margin-top: clamp(2.5rem, 6vw, 4.5rem) !important; }
.oc-guide-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin-top: 1.5rem; }
.oc-guide-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; text-decoration: none !important; color: #fff !important;
  background: #0f1d3a; box-shadow: 0 14px 34px rgba(15,29,58,.2); transition: transform .2s, box-shadow .2s; min-height: 320px; }
.oc-guide-rules, .oc-guide-forum { grid-column: span 3; }
.oc-guide-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(15,29,58,.28); }
.oc-guide-photo { display: block; height: 190px; overflow: hidden; }
.oc-guide-photo picture, .oc-guide-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.oc-guide-card:hover .oc-guide-photo img { transform: scale(1.05); }
.oc-guide-body { position: relative; display: block; padding: 1.1rem 1.3rem 1.4rem; flex: 1;
  background: radial-gradient(400px 120px at 100% 100%, rgba(244,196,48,.25), transparent 70%), linear-gradient(160deg, #0f1d3a, #16386b); }
.oc-guide-icon { position: absolute; right: 1rem; top: -26px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #0f1d3a; background: var(--oc-yellow, #f4c430); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.oc-guide-icon svg { width: 28px; height: 28px; }
.oc-guide-title { display: block; font-size: 1.6rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
.oc-guide-title::after { content: ""; display: block; width: 110px; height: 9px; margin: .2rem 0 .55rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8C50 2 110 2 198 5c-40 6-120 7-196 5z' fill='%23f4c430'/%3E%3C/svg%3E") left center / 100% 100% no-repeat; }
.oc-guide-text { display: block; color: #d7e2f5; font-size: .95rem; line-height: 1.45; }
@media (max-width: 960px) { .oc-guide-grid { grid-template-columns: 1fr 1fr; } .oc-guide-card, .oc-guide-rules, .oc-guide-forum { grid-column: span 1; } .oc-guide-forum { grid-column: 1 / -1; } }
@media (max-width: 600px) { .oc-guide-grid { grid-template-columns: 1fr; } .oc-guide-forum { grid-column: auto; } }

/* ---- Forum : page d'entrée et habillage de bbPress ---- */
.oc-forum-cta { margin: 1.5rem 0 2rem; padding: 1.5rem 1.75rem; border-radius: 18px; background: var(--oc-sand); border-left: 5px solid var(--oc-yellow, #f4c430); }
.oc-forum-cta.is-in { background: linear-gradient(135deg, #0f1d3a, #16386b); color: #fff; border-left-color: var(--oc-yellow, #f4c430); }
.oc-forum-cta p { margin: .3rem 0; }
.oc-forum-noaccount { font-size: .95rem; color: var(--oc-muted); }
.oc-forum-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1.25rem 0 2rem; }
.oc-forum-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.3rem; border-radius: 16px; background: #fff; border: 1px solid #ece7dc; text-decoration: none !important; color: var(--oc-ink) !important; position: relative; transition: transform .15s, box-shadow .15s; }
.oc-forum-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: 16px 0 0 16px; background: linear-gradient(180deg, var(--oc-blue), var(--oc-yellow, #f4c430)); }
a.oc-forum-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,29,58,.12); }
.oc-forum-card-title { font-weight: 800; font-size: 1.12rem; }
.oc-forum-card-desc { color: var(--oc-muted); font-size: .95rem; }
.oc-forum-card-meta { font-size: .85rem; font-weight: 700; color: var(--oc-blue); margin-top: auto; }
.oc-forum-card.is-locked { opacity: .8; }
.oc-forum-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .75rem 1rem; margin: 0 0 1.25rem; border-radius: 12px; background: linear-gradient(90deg, #0f1d3a, #16386b); color: #fff; font-size: .92rem; }
.oc-forum-bar a { color: var(--oc-yellow, #f4c430) !important; font-weight: 700; text-decoration: none; }
#bbpress-forums { font-size: 1rem; }
#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-replies { border: 1px solid #ece7dc; border-radius: 14px; overflow: hidden; }
#bbpress-forums li.bbp-header { background: #0f1d3a !important; color: #fff; border: 0; padding: .7rem 1rem; }
#bbpress-forums li.bbp-header a { color: #fff; }
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic { padding: .9rem 1rem; border-top: 1px solid #f0ece3; }
#bbpress-forums .bbp-forum-title, #bbpress-forums .bbp-topic-permalink { font-weight: 800; font-size: 1.05rem; color: var(--oc-navy); }
#bbpress-forums .bbp-forum-content { color: var(--oc-muted); }
#bbpress-forums div.bbp-breadcrumb, #bbpress-forums .bbp-pagination { font-size: .9rem; }
#bbpress-forums fieldset.bbp-form { border: 1px solid #ece7dc; border-radius: 14px; padding: 1.25rem; background: #fbfaf7; }
#bbpress-forums fieldset.bbp-form legend { font-weight: 800; padding: 0 .4rem; }
#bbpress-forums input[type=text], #bbpress-forums textarea, #bbpress-forums select { border: 1px solid #cfd5df; border-radius: 10px; padding: .55rem .7rem; font: inherit; }
#bbpress-forums button.button, #bbpress-forums .button.submit { background: var(--oc-yellow, #f4c430); color: #0f1d3a; border: 0; border-radius: 999px; padding: .6rem 1.3rem; font-weight: 800; cursor: pointer; }
#bbpress-forums div.odd, #bbpress-forums ul.odd { background: #fbfaf7; }
/* Forum : bandeau sur toute la largeur, barre sous le fil d'Ariane, recherche bbPress alignée */
body.bbpress main > .wp-block-group:first-child { margin-top: 0 !important; padding-top: 0 !important; }
body.bbpress .oc-page-hero-forum { margin-top: 0; margin-bottom: 1.5rem; }
.oc-forum-bar { clear: both; }
#bbpress-forums div.bbp-search-form { margin-bottom: .75rem; }
#bbpress-forums #bbp-search-form input[type=text] { width: 14rem; }
#bbpress-forums #bbp-search-form input[type=submit], #bbpress-forums #bbp_search_submit { background: var(--oc-navy, #0f1d3a); color: #fff; border: 0; border-radius: 999px; padding: .5rem 1rem; font-weight: 700; cursor: pointer; }

/* ---- Joueurs libres ---- */
.oc-solo-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; margin: 1.5rem auto 2.5rem; padding: 1.4rem 1.6rem; border-radius: 20px; background: linear-gradient(135deg, #0f1d3a, #16386b); color: #fff; }
.oc-solo-cta h3 { margin: 0 0 .25rem; color: var(--oc-yellow, #f4c430); font-size: 1.35rem; }
.oc-solo-cta p { margin: 0; }
.oc-solo-cta-icon { font-size: 2.4rem; }
@media (max-width: 700px) { .oc-solo-cta { grid-template-columns: 1fr; text-align: center; } }
.oc-solo-stages, .oc-solo-level { display: grid; gap: .55rem; border: 0; padding: 0; margin: 0 0 1.2rem; }
.oc-solo-stages legend, .oc-solo-level legend { font-weight: 700; margin-bottom: .5rem; }
.oc-solo-stage { display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid #e3ded2; border-radius: 14px; background: #fff; cursor: pointer; }
.oc-solo-stage:has(input:checked) { border-color: var(--oc-yellow, #f4c430); box-shadow: 0 0 0 2px rgba(244,196,48,.35); background: #fffbea; }
.oc-solo-stage span { display: flex; flex-direction: column; gap: .15rem; }
.oc-solo-stage small { color: var(--oc-muted); }
.oc-solo-none { padding: .9rem 1rem; border-radius: 14px; background: var(--oc-sand); margin: 0; }
.oc-solo-notify { font-weight: 600; }
.oc-stage-solo { margin: .4rem 0 0; font-weight: 700; }
.oc-stage-solo a { color: var(--oc-blue); text-decoration: none; }
.oc-solo-stages label, .oc-solo-level label { display: flex; gap: .7rem; align-items: center; font-weight: 400; margin: 0; }
.oc-solo-stage { align-items: flex-start !important; }
.oc-solo-stages input, .oc-solo-level input { width: auto !important; flex: none; margin: .2rem 0 0; padding: 0; accent-color: var(--oc-navy); transform: scale(1.15); }
.oc-solo-level { gap: .4rem; }
.oc-steps li > div { font-weight: 600; }
.oc-hero-solo { margin: -.4rem 0 1.2rem; font-size: 1rem; color: rgba(255,255,255,.85); }
.oc-hero-solo a { color: var(--oc-gold); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
.oc-why-link { display: inline-block; margin-top: .8rem; font-weight: 700; color: var(--oc-blue); text-decoration: none; }
/* Menu à 6 entrées : libellés jamais coupés, plus serré sur les écrans moyens */
.oc-nav-items a { white-space: nowrap; }
.oc-why-card[id] { scroll-margin-top: 110px; }

/* ---- Inscription des équipes ---- */
.oc-choice { display: grid; gap: .5rem; border: 0; padding: 0; margin: 0 0 1.2rem; }
.oc-choice legend { font-weight: 700; margin-bottom: .5rem; }
.oc-choice > label { display: flex; gap: .7rem; align-items: center; font-weight: 400; margin: 0; }
.oc-choice input[type=radio] { width: auto !important; flex: none; margin: 0; padding: 0; accent-color: var(--oc-navy); transform: scale(1.15); }
.oc-kind-club, .oc-kind-other { display: none; margin: .2rem 0 0 1.9rem; }
.oc-choice:has(input[value=club]:checked) .oc-kind-club, .oc-choice:has(input[value=other_club]:checked) .oc-kind-other { display: block; }
.oc-team-stages { display: none; }
.oc-team-stages.is-empty, .oc-team-form:has(input[name=oc_formula][value=stage]:checked) .oc-team-stages { display: grid; }
.oc-team-captain { border: 1px solid #e3ded2; border-radius: 16px; padding: 1rem 1.2rem .2rem; margin: 0 0 1.2rem; }
.oc-team-captain legend { font-weight: 700; padding: 0 .4rem; }
.oc-choice input:disabled + * , .oc-choice label:has(input:disabled) { opacity: .5; }

/* ---- Contact ---- */
.oc-shortcuts { margin: 2.5rem 0 1rem; }
.oc-shortcuts-title { font-weight: 700; margin-bottom: .75rem; }
.oc-shortcuts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.oc-shortcut { display: flex; gap: .6rem; align-items: center; padding: .9rem 1rem; border-radius: 14px; background: var(--oc-sand); color: var(--oc-ink) !important; text-decoration: none !important; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.oc-shortcut:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,29,58,.1); }
.oc-shortcut span { font-size: 1.3rem; }
.oc-shortcuts-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.oc-shortcut { font-size: .9rem; line-height: 1.3; padding: .75rem .9rem; }
.oc-shortcut span { font-size: 1.1rem; }

/* ---- Bénévoles ---- */
.oc-vol-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1.5rem auto 2rem; }
.oc-vol-card { background: #fff; border: 1px solid #ece7dc; border-radius: 18px; padding: 1.3rem 1.5rem; }
.oc-vol-card h3 { margin: 0 0 .7rem; font-size: 1.15rem; }
.oc-vol-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.oc-vol-card li { display: flex; gap: .6rem; align-items: center; color: var(--oc-muted); font-size: .98rem; }
.oc-vol-card li span { font-size: 1.15rem; }
.oc-vol-cta { background: linear-gradient(135deg, #1d5a3a, #2f7d52); }
.oc-vol-sub { font-weight: 700; font-size: .9rem; color: var(--oc-muted); margin: .5rem 0 .2rem; }
.oc-vol-missions, .oc-vol-langs { border: 0; padding: 0; margin: 0 0 1.2rem; }
.oc-vol-missions legend, .oc-vol-langs legend { font-weight: 700; margin-bottom: .4rem; }
.oc-vol-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.5rem; }
.oc-vol-missions label, .oc-vol-langs label { display: flex; gap: .55rem; align-items: center; font-weight: 400; margin: .25rem 0; }
.oc-vol-langs { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.oc-vol-langs legend { width: 100%; }
.oc-vol-missions input, .oc-vol-langs input, .oc-vol-when input { width: auto !important; flex: none; margin: 0; padding: 0; accent-color: var(--oc-navy); transform: scale(1.1); }

/* ===== Formulaires plus légers (16/10/2026) =====
   Texte de saisie à taille de lecture (le thème l'agrandissait), champs plus fins, focus doux,
   flèche de liste et bouton de fichier aux couleurs du site. Remplace les règles « Formulaire » du haut. */
.oc-form { --oc-field-bg: #fff; --oc-field-border: #d9dee7; --oc-field-hover: #b9c2d0; --oc-ring: rgba(226, 177, 60, .28); }
.oc-form .oc-intro { font-size: 1rem; line-height: 1.55; margin-bottom: 1.5rem; }
.oc-form .oc-grid { gap: 0 1.1rem; }
.oc-field { margin: 0 0 1.05rem; }
.oc-field label, .oc-form legend { font-size: .86rem; font-weight: 600; letter-spacing: .01em; color: var(--oc-ink); margin-bottom: .3rem; line-height: 1.35; }
.oc-field input, .oc-field select, .oc-field textarea {
  font-family: inherit; font-size: .95rem; line-height: 1.4; color: var(--oc-ink);
  padding: .55rem .75rem; min-height: 2.6rem;
  background: var(--oc-field-bg); border: 1px solid var(--oc-field-border); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 29, 58, .04);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.oc-field textarea { min-height: 6.5rem; resize: vertical; }
.oc-field input::placeholder, .oc-field textarea::placeholder { color: #9aa3b2; opacity: 1; }
.oc-field input:hover, .oc-field select:hover, .oc-field textarea:hover { border-color: var(--oc-field-hover); }
.oc-field input:focus, .oc-field select:focus, .oc-field textarea:focus {
  outline: none; border-color: var(--oc-gold); box-shadow: 0 0 0 3px var(--oc-ring);
}
.oc-field input:user-invalid, .oc-field textarea:user-invalid, .oc-field select:user-invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217, 83, 79, .15); }
/* Liste déroulante : flèche fine */
.oc-field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230f1d3a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 12px 8px;
}
/* Fichier (logo) : bouton discret aux couleurs du site */
.oc-field input[type=file], .oc-logo-field input[type=file] { padding: .35rem; font-size: .88rem; color: var(--oc-muted); background: #fff; cursor: pointer; }
.oc-field input[type=file]::file-selector-button {
  font: inherit; font-weight: 600; font-size: .85rem; color: var(--oc-navy);
  background: var(--oc-sand); border: 1px solid #e6e1d6; border-radius: 6px;
  padding: .4rem .85rem; margin-right: .75rem; cursor: pointer; transition: background-color .15s;
}
.oc-field input[type=file]::file-selector-button:hover { background: #efe9dc; }
.oc-field input[type=checkbox], .oc-field input[type=radio] { width: auto; min-height: 0; padding: 0; box-shadow: none; }
/* Aides sous les champs, consentement, cases à cocher */
.oc-field small, .oc-field .oc-help, .oc-form .description { display: block; font-size: .8rem; color: var(--oc-muted); margin-top: .3rem; line-height: 1.4; }
.oc-consent { font-size: .86rem; line-height: 1.45; }
.oc-form input[type=checkbox], .oc-form input[type=radio] { accent-color: var(--oc-navy); }
/* Bouton d'envoi : un peu plus compact */
.oc-form .oc-btn, .oc-form button[type=submit] { font-size: .95rem; padding: .75rem 1.5rem; }
.oc-form .oc-host-check, .oc-form .oc-host-check label { font-size: .95rem; font-weight: 600; }
.oc-form .oc-host-check input { transform: none; vertical-align: -1px; }
@media (max-width: 600px) {
  .oc-form { padding: 1.1rem; border-radius: 12px; }
  .oc-field input, .oc-field select, .oc-field textarea { font-size: 16px; } /* 16 px : évite le zoom automatique d'iOS */
}

/* ===== Fiche club : encadré (16/10/2026) — libellés discrets, adresse vers Google Maps, lien social compact ===== */
.oc-club-side { font-size: .95rem; line-height: 1.45; }
.oc-club-side h3 { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--oc-muted); margin: 0 0 .35rem; }
.oc-club-side p { margin: 0 0 1.1rem; overflow-wrap: anywhere; }
.oc-club-side p:last-child { margin-bottom: 0; }
.oc-club-addr a:first-child { color: var(--oc-ink); text-decoration: none; font-weight: 600; }
.oc-club-addr a:first-child:hover { text-decoration: underline; }
.oc-club-maps { display: inline-block; margin-top: .3rem; font-size: .82rem; font-weight: 600; color: var(--oc-blue); text-decoration: none; }
.oc-club-maps:hover { text-decoration: underline; }
.oc-club-web { box-sizing: border-box; display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #e6e1d6; color: var(--oc-navy); font-size: .85rem; font-weight: 600; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.oc-club-web:hover { border-color: var(--oc-gold); box-shadow: 0 0 0 3px rgba(226, 177, 60, .2); }
.oc-club-web svg { width: 16px; height: 16px; flex: none; }
.oc-club-web span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-club-side .oc-locked { font-size: .85rem; color: var(--oc-muted); }

/* ===== Description du club en plusieurs langues (16/10/2026) ===== */
.oc-lang-tag { display: inline-block; margin-left: .3rem; padding: .05rem .5rem; border-radius: 999px; background: var(--oc-sand); border: 1px solid #e6e1d6; font-size: .72rem; font-weight: 700; color: var(--oc-navy); vertical-align: 1px; }
.oc-label-hint { font-weight: 400; color: var(--oc-muted); font-size: .8rem; }
.oc-more-langs { margin: 0 0 1.1rem; border: 1px dashed #d9dee7; border-radius: 10px; padding: .6rem .9rem; background: #fcfbf8; }
.oc-more-langs[open] { padding-bottom: .1rem; }
.oc-more-langs summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--oc-blue); list-style: none; }
.oc-more-langs summary::-webkit-details-marker { display: none; }
.oc-more-langs[open] summary { margin-bottom: .8rem; }
.oc-lang-block { border: 1px solid #ece7dc; border-radius: 12px; padding: .9rem 1rem .2rem; margin: 0 0 1rem; background: #fff; }
.oc-lang-block legend { padding: 0 .35rem; margin-left: -.35rem; }
.oc-lang-block legend .oc-lang-tag { margin-left: 0; font-size: .78rem; }
.oc-more-langs .oc-lang-block { background: #fff; }
.oc-translate-check { background: #eef4fb; border-radius: 12px; padding: .75rem 1rem; font-size: .9rem; line-height: 1.45; }
.oc-translate-check input { margin-right: .4rem; vertical-align: -1px; }
.oc-auto-tr { font-size: .78rem; color: var(--oc-muted); margin: -.4rem 0 1rem; }
.oc-clubs-hidden .oc-guide-clubs { display: none; }
