@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

@charset "utf-8";

:root { --navy: #00338d; --navy-2: #002569; --green-dark: #16234a; --green: #3f7d4a; --green-light: #eef4ec; --gold: #ebb700; --purple: #4b2e83; --purple-light: #f1ecf7; --text: #22292b; --muted: #5c6b60; --bg: #fbfaf6; --card: #ffffff; --border: #e2e6df; --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif; --font-body: 'Inter', 'Segoe UI', Arial, sans-serif; }

* { box-sizing: border-box; margin: 0px; padding: 0px; }

body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.65; font-size: 16px; }

a { color: inherit; }

.proto-banner { background: rgb(43, 43, 43); color: rgb(245, 245, 245); text-align: center; font-size: 12.5px; padding: 6px 12px; letter-spacing: 0.02em; }

.proto-banner b { color: rgb(255, 212, 121); }

header { background: var(--navy); color: rgb(255, 255, 255); position: sticky; top: 0px; z-index: 50; box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px; }

.nav-wrap { max-width: 1140px; margin: 0px auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px;flex-wrap: wrap; gap: 14px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; font-family: var(--font-head);  order: 1;}

.brand img.logo { height: 72px; width: auto; border-radius: 8px; background: rgb(255, 255, 255); padding: 3px; }

.brand img.logo-district { height: 72px; width: auto; }

.brand small { display: block; font-weight: 400; font-size: 10.5px; color: rgb(207, 227, 210); letter-spacing: 0.03em; }

.pillar.c-navy { background: rgb(231, 234, 243); }

.pillar.c-purple { background: var(--purple-light); }

.pillar.c-gold { background: rgb(251, 241, 222); }

.pillar.c-navy span, .pillar.c-purple span, .pillar.c-gold span, .pillar span { color: var(--navy); }

.footer-logo { height: 60px; width: auto; background: rgb(255, 255, 255); border-radius: 8px; padding: 3px; margin-bottom: 10px; vertical-align: middle; }

.hero-inner { display: flex; align-items: center; justify-content: center; gap: 40px; max-width: 980px; margin: 0px auto; flex-wrap: wrap-reverse; text-align: left; }

.hero-text { flex: 1 1 420px; min-width: 280px; }

.hero-text .cta { justify-content: flex-start; }

.hero-logo { height: 220px; width: auto; flex: 0 0 auto; background: rgb(255, 255, 255); border-radius: 18px; padding: 14px; box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 24px; }

@media (max-width: 640px) {
  .hero-inner { justify-content: center; text-align: center; }
  .hero-text .cta { justify-content: center; }
}

nav.links { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; order: 3; flex-basis: 100%; justify-content: center; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
nav.links a.navlink { background: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; color: rgb(233, 241, 234); font-size: 13px; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-family: inherit; text-decoration: none; }

nav.links a.navlink:hover { background: rgba(255, 255, 255, 0.1); }

nav.links a.navlink.active { background: rgba(255, 255, 255, 0.18); font-weight: 600; }

.right-controls { display: flex; align-items: center; gap: 18px; order: 2;}

.lang-switch { display: flex; align-items: center; gap: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 3px; }

.lang-switch a { background: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; color: rgb(223, 233, 224); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 6px; cursor: pointer; font-family: inherit; font-family: var(--font-head); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-width: 32px; text-transform: uppercase; letter-spacing: 0.02em; font-size: 12.5px; }

.lang-switch li.current-lang a { background: var(--gold) ;color: var(--navy); font-weight: 700; }
.lang-switch li { list-style: none; margin: 0; display: flex; }

.member-btn { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12.5px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-family: inherit; font-family: var(--font-head); white-space: nowrap; }

.hero { background: linear-gradient(135deg, rgba(0, 51, 141, 0.55), rgba(0, 37, 105, 0.55)) center 30% / cover, url("../images/hero-bg.jpg"); color: rgb(255, 255, 255); padding: 56px 20px 64px; text-align: center; text-shadow: rgba(0, 0, 0, 0.55) 0px 1px 6px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }

.gallery-grid img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); display: block; }

.map-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.map-filter-btn { background: rgb(255, 255, 255); border: 1px solid var(--border); color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 6px; }

.map-filter-btn .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.map-filter-btn.active { background: var(--navy); color: rgb(255, 255, 255); border-color: var(--navy); }

#leafletMap { height: 520px; width: 100%; border-radius: 14px; border: 1px solid var(--border); background: rgb(238, 242, 239); }

.leaflet-popup-content { font-family: inherit; font-size: 13px; min-width: 200px; }

.leaflet-popup-content h4 { margin: 0px 0px 6px; font-size: 14px; color: var(--navy); }

.popup-action { padding: 5px 0px; border-top: 1px solid rgb(238, 238, 238); }

.popup-action:first-child { border-top-width: medium; border-top-style: none; border-top-color: currentcolor; }

.popup-action .type-badge { display: inline-block; font-size: 10px; font-weight: 700; color: rgb(255, 255, 255); padding: 1px 7px; border-radius: 6px; margin-bottom: 3px; }

.map-legend { font-size: 12px; color: var(--muted); margin-top: 10px; }

.hero h1 { font-size: 46px; line-height: 1.1; margin-bottom: 16px; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; }

.hero p { max-width: 640px; color: rgb(232, 243, 234); font-size: 18px; line-height: 1.5; }

.hero .cta { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 11px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; font-family: inherit; font-family: var(--font-head); letter-spacing: 0.01em; }

.btn-primary { background: var(--gold); color:var(--navy); transition: filter .15s ease, transform .15s ease; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn { transition: filter .15s ease, transform .15s ease; }
.btn:hover { filter: brightness(1.06); }

.btn-ghost { background: rgba(255, 255, 255, 0.12); color: rgb(255, 255, 255); border: 1px solid rgba(255, 255, 255, 0.4); }

main { max-width: 1140px; margin: 0px auto; padding: 48px 20px; }



@keyframes fade { 
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0px); }
}

h2.section-title { font-size: 32px; color: var(--navy); margin-bottom: 14px; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; position: relative; padding-bottom: 14px; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 52px; height: 4px; border-radius: 2px; background: var(--gold); }

.section-sub { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin-bottom: 32px; max-width: 640px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: 10px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: 0 2px 10px rgba(0,20,60,0.05); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,20,60,0.10); }

.card .emoji { font-size: 26px; margin-bottom: 10px; display: block; }

.card h3 { font-size: 16px; margin-bottom: 6px; color: var(--navy); font-family: var(--font-head); font-weight: 700; }

.card p { font-size: 13px; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 24px 0px 36px; }

.pillar { text-align: center; padding: 18px 10px; background: var(--green-light); border-radius: 12px; }

.pillar .emoji { font-size: 28px; }

.pillar span { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 6px; }

.news-item { display: flex; gap: 16px; padding: 16px 0px; border-bottom: 1px solid var(--border); }

.news-date { flex-shrink: 0; width: 78px; font-size: 12px; color: var(--gold); font-weight: 700; }

.news-item h4 { font-size: 14.5px; margin-bottom: 4px; }

.news-item p { font-size: 13px; color: var(--muted); }

table.clubs { width: 100%; border-collapse: collapse; font-size: 13.5px; }

table.clubs th, table.clubs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }

table.clubs th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }

.contact-form { max-width: 480px; display: flex; flex-direction: column; gap: 12px; }

.contact-form input, .contact-form textarea { padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 13.5px; }

.contact-form textarea { min-height: 100px; resize: vertical; }

.login-box { max-width: 380px; margin: 20px auto; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: center; }

.login-box .emoji { font-size: 30px; margin-bottom: 8px; }

.login-box input { width: 100%; padding: 11px 12px; margin-top: 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13.5px; font-family: inherit; }

.login-box .btn-primary { width: 100%; margin-top: 14px; }

.login-note { font-size: 11.5px; color: var(--muted); margin-top: 14px; }

.member-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }

.logout-btn { background: none; border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; font-size: 12.5px; cursor: pointer; font-family: inherit; color: var(--muted); }

.doc-list { display: flex; flex-direction: column; gap: 8px; }

.doc-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; font-size: 13.5px; }

.doc-row .emoji { font-size: 18px; }

.doc-row .tag { margin-left: auto; font-size: 11px; background: var(--green-light); color: var(--navy); padding: 2px 8px; border-radius: 6px; }

footer { background: var(--navy); color: rgb(207, 227, 210); padding: 28px 20px; text-align: center; font-size: 12px; margin-top: 40px; }

footer .assoc { color: rgb(255, 255, 255); font-weight: 600; margin-bottom: 4px; }
/* --- Ajouts thème WordPress (non présents dans le CSS du prototype) --- */

.section { padding: 68px 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.section:first-of-type { border-top: none; }
#accueil.hero { scroll-margin-top: 0; }

.vjl-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer-widgets { margin: 16px 0; }
.footer-meta { margin-top: 16px; font-size: 12px; opacity: .8; }

.lang-switch--todo { font-size: 12px; opacity: .8; cursor: help; }

nav.links a.navlink { text-decoration: none; }

.popup-action { font-size: 13px; }


nav.links li {
	list-style: none;
	margin: 0;
}

/* Section video page d'accueil : cadre 16:9 centre et bien proportionne */
.vjl-video-section { text-align: left; }
.vjl-video-wrap {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
}
.vjl-video-wrap .lyte,
.vjl-video-wrap iframe {
	width: 100%;
	max-width: 100%;
}

/* Video accueil : forcer un lecteur large, en 16:9, veritablement centre
   (le plugin wp-youtube-lyte genere un div .lyte-wrapper en largeur fixe
   (ex. 420px) avec parfois la classe .fourthree (ratio 4:3), qui ignorait
   nos regles precedentes cibalnt ".lyte" au lieu de ".lyte-wrapper"). */
.vjl-video-wrap { max-width: 960px; }
.vjl-video-wrap .lyte-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	float: none !important;
}
.vjl-video-wrap .lyte-wrapper.fourthree .lyte,
.vjl-video-wrap .lyte-wrapper.fourthree .lyMe {
	padding-bottom: 56.25% !important;
}
