/* ==========================================================================
   yep-d1760.org — Feuille de styles commune
   Charte : couleurs officielles Rotary (fiche « Your Logos at a Glance », 2025)
   Toutes les classes sont préfixées « yep- » pour éviter les conflits avec Elementor.
   ========================================================================== */

/* ---------- Polices hébergées localement (pas d'appel à Google) ---------- */
@font-face { font-family: 'Open Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/open-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/open-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/open-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/open-sans-condensed-latin-700-normal.woff2) format('woff2'); }

:root {
  --yep-royal: #17458F;      /* Rotary Royal Blue */
  --yep-azure: #0067C8;      /* Azure */
  --yep-gold: #F7A81B;       /* Rotary Gold */
  --yep-charcoal: #54565A;   /* Charcoal */
  --yep-powder: #B9D9EB;     /* Powder Blue */
  --yep-powder-l: #EEF5FA;   /* Powder Blue en aplat léger */
  --yep-cloud: #D6D1CA;      /* Cloud */
  --yep-ink: #1D1D1D;
  --yep-radius: 14px;
  --yep-shadow: 0 6px 24px rgba(23, 69, 143, .10);
  --yep-max: 1180px;
  --yep-font: 'Open Sans', Arial, sans-serif;
  --yep-font-title: 'Open Sans Condensed', 'Open Sans', Arial Narrow, sans-serif;
}

/* ---------- Intégration Elementor : supprimer les marges autour des widgets HTML ---------- */
.elementor-widget-html:has(.yep) { margin-bottom: 0 !important; }
.elementor-widget-html:has(.yep) > .elementor-widget-container { padding: 0; margin: 0; }

/* ---------- Base ---------- */
.yep, .yep *, .yep *::before, .yep *::after { box-sizing: border-box; }
.yep { font-family: var(--yep-font); color: var(--yep-charcoal); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.yep p { margin: 0 0 1em; }
.yep img { max-width: 100%; height: auto; display: block; }
.yep a { color: var(--yep-azure); font-weight: 600; text-decoration: none; }
.yep a:hover { text-decoration: underline; }
.yep a:focus-visible, .yep button:focus-visible { outline: 3px solid var(--yep-gold); outline-offset: 2px; }
.yep-wrap { max-width: var(--yep-max); margin: 0 auto; padding: 0 32px; }
.yep-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Titres ---------- */
.yep .yep-h1, .yep .yep-h2, .yep .yep-h3, .yep .yep-h4, .yep .yep-h5 { font-family: var(--yep-font-title); color: var(--yep-royal); line-height: 1.15; margin: 0 0 .45em; font-weight: 700; letter-spacing: 0; }
.yep .yep-h1 { font-size: clamp(38px, 5vw, 62px); }
.yep .yep-h2 { font-size: clamp(29px, 3.2vw, 40px); }
.yep .yep-h3 { font-size: clamp(21px, 2vw, 24px); }
.yep .yep-h4 { font-family: var(--yep-font); font-size: 17px; }
.yep .yep-h5 { font-family: var(--yep-font); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--yep-azure); }
.yep .yep-kicker { display: block; font-family: var(--yep-font); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yep-azure); margin: 0 0 10px; }
.yep .yep-lead { font-size: 18px; max-width: 680px; }
.yep-center { text-align: center; }
.yep-center .yep-lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.yep .yep-btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; transition: transform .15s, box-shadow .15s; border: 2px solid transparent; }
.yep .yep-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.yep .yep-btn--gold { background: var(--yep-gold); color: var(--yep-ink); }
.yep .yep-btn--royal { background: var(--yep-royal); color: #fff; }
.yep .yep-btn--ghost { border-color: #fff; color: #fff; }
.yep .yep-btn--outline { border-color: var(--yep-royal); color: var(--yep-royal); }
.yep .yep-more { font-weight: 700; }
.yep .yep-more::after { content: ' →'; }
.yep-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Images à remplacer ---------- */
.yep-img { position: relative; margin: 0; overflow: hidden; background: var(--yep-powder-l); }
.yep-img img { width: 100%; height: 100%; object-fit: cover; }
.yep-img[data-img]:has(img[src*="a-remplacer"])::after { content: attr(data-img); position: absolute; left: 12px; bottom: 12px; background: var(--yep-royal); color: #fff; font: 700 12px/1.3 var(--yep-font); padding: 5px 10px; border-radius: 4px; max-width: calc(100% - 24px); }
.yep-img--contain img { object-fit: contain; }

/* ---------- Sections ---------- */
.yep-sec { padding: 88px 0; background: #fff; }
.yep-sec--alt { background: var(--yep-powder-l); }
.yep-sec--royal { background: var(--yep-royal); color: #fff; }
.yep-sec--royal .yep-h2, .yep-sec--royal .yep-h3 { color: #fff; }
.yep-sec--royal .yep-kicker { color: var(--yep-gold); }
.yep-sec--royal a:not(.yep-btn) { color: #fff; }
.yep-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.yep-head-row .yep-h2 { margin: 0; }

/* ---------- Bandeau d'ouverture (hero) ---------- */
.yep-hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: var(--yep-royal); }
.yep-hero > .yep-img { position: absolute; inset: 0; }
.yep-hero > .yep-img[data-img]:has(img[src*="a-remplacer"])::after { top: 16px; right: 16px; left: auto; bottom: auto; }
.yep-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(23,69,143,.96) 0%, rgba(23,69,143,.86) 45%, rgba(23,69,143,.25) 100%); }
.yep-hero .yep-wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 110px; width: 100%; }
.yep-hero .yep-h1 { color: #fff; max-width: 680px; }
.yep-hero .yep-h1 .yep-kicker { color: var(--yep-gold); margin-bottom: 18px; }
.yep-hero p { color: #fff; font-size: 19px; max-width: 580px; opacity: .95; }
.yep-hero--short { min-height: 380px; }
.yep-hero--short .yep-wrap { padding-bottom: 72px; }

/* ---------- Chiffres clés ---------- */
.yep-stats { position: relative; z-index: 3; margin-top: -56px; }
.yep-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--yep-radius); box-shadow: 0 12px 40px rgba(23,69,143,.15); overflow: hidden; }
.yep-stats li { padding: 28px 26px; border-right: 1px solid #eee; font-size: 14.5px; line-height: 1.45; }
.yep-stats li:last-child { border-right: 0; }
.yep-stats li::before { content: ''; display: block; width: 32px; height: 4px; border-radius: 2px; background: var(--yep-gold); margin-bottom: 14px; }
.yep-stats strong { display: block; font-family: var(--yep-font-title); font-size: 44px; line-height: 1; color: var(--yep-royal); margin-bottom: 6px; }

/* ---------- Grilles et cartes ---------- */
.yep-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.yep-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.yep-card { background: #fff; border: 1px solid #E8ECF1; border-radius: var(--yep-radius); overflow: hidden; box-shadow: var(--yep-shadow); display: flex; flex-direction: column; }
.yep-card > .yep-img { aspect-ratio: 4 / 3; max-height: 230px; }
.yep-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.yep-card-body p { font-size: 15.5px; }
.yep-card-body .yep-more { margin-top: auto; }
.yep-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yep-azure); margin: 0 0 6px !important; }

/* ---------- Programmes ---------- */
.yep-prog { background: #fff; border-radius: var(--yep-radius); padding: 32px 28px; border-top: 6px solid var(--yep-royal); }
.yep-prog--azure { border-top-color: var(--yep-azure); }
.yep-prog--gold { border-top-color: var(--yep-gold); }
.yep-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--yep-powder-l); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.yep-chips { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.yep-chips li { font-size: 12.5px; font-weight: 700; background: var(--yep-powder-l); color: var(--yep-royal); padding: 4px 10px; border-radius: 999px; }
.yep-prog p { font-size: 15.5px; }

/* ---------- Deux colonnes ---------- */
.yep-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.yep-split--rev { grid-template-columns: 1fr 1.2fr; }
.yep-split .yep-img { border-radius: var(--yep-radius); border: 1px solid #E6E6E6; background: #fff; }
.yep-sec--royal .yep-split .yep-img { border: 0; padding: 10px; }

/* ---------- Listes ---------- */
.yep-checks { list-style: none; margin: 22px 0 28px; padding: 0; }
.yep-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.yep-checks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--yep-gold); box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--yep-gold); }
.yep-list { margin: 0 0 1.2em; padding-left: 1.2em; }
.yep-list li { margin-bottom: .45em; }
.yep-list li::marker { color: var(--yep-gold); }

/* ---------- Étapes numérotées ---------- */
.yep-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.yep-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 72px; background: #fff; border: 1px solid #E8ECF1; border-radius: var(--yep-radius); }
.yep-steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--yep-royal); color: #fff; font: 700 18px/36px var(--yep-font-title); text-align: center; }
.yep-steps .yep-h3 { font-size: 19px; margin-bottom: 2px; }
.yep-steps p { margin: 0; font-size: 15.5px; }

/* ---------- Tableaux ---------- */
.yep-table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; border-radius: var(--yep-radius); overflow: hidden; box-shadow: var(--yep-shadow); }
.yep-table th { background: var(--yep-royal); color: #fff; text-align: left; padding: 12px 16px; font-weight: 700; }
.yep-table td { padding: 12px 16px; border-bottom: 1px solid #EDF0F4; vertical-align: top; }
.yep-table tr:nth-child(even) td { background: #F8FAFC; }

/* ---------- Agenda ---------- */
.yep-agenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yep-ev { display: flex; gap: 18px; padding: 22px; border: 1px solid #E8ECF1; border-radius: var(--yep-radius); background: #fff; }
.yep-date { min-width: 74px; text-align: center; background: var(--yep-royal); color: #fff; border-radius: 10px; padding: 10px 6px; font-family: var(--yep-font-title); align-self: flex-start; }
.yep-date b { display: block; font-size: 30px; line-height: 1; }
.yep-date small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.yep-ev .yep-h3 { font-family: var(--yep-font); font-size: 17px; margin-bottom: 4px; }
.yep-ev p { font-size: 14.5px; margin: 0; }

/* ---------- FAQ ---------- */
.yep-faq details { background: #fff; border: 1px solid #E8ECF1; border-radius: 12px; margin-bottom: 12px; }
.yep-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative; }
.yep-faq summary::-webkit-details-marker { display: none; }
.yep-faq summary::after { content: '+'; position: absolute; right: 22px; top: 12px; font: 700 26px/1 var(--yep-font); color: var(--yep-azure); }
.yep-faq details[open] summary::after { content: '–'; }
.yep-faq summary .yep-h3 { display: inline; font-family: var(--yep-font); font-size: 17.5px; margin: 0; }
.yep-faq details > div { padding: 0 22px 18px; }

/* ---------- Encadré ---------- */
.yep-note { border-left: 5px solid var(--yep-gold); background: #FEF6E6; padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: 15.5px; }

/* ---------- Bandeau d'appel ---------- */
.yep-cta { background: var(--yep-gold); padding: 56px 0; }
.yep-cta .yep-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.yep-cta .yep-h2 { color: var(--yep-ink); font-size: clamp(26px, 3vw, 36px); margin: 0 0 4px; }
.yep-cta p { color: #2A2A2A; margin: 0; }

/* ---------- Actualités (shortcode [yep_actus]) ---------- */
.yep-news .yep-card > .yep-img { aspect-ratio: 16 / 10; }
.yep-news time { font-size: 13px; color: #888; display: block; margin-bottom: 4px; }
.yep-news-empty { font-style: italic; }

/* ==========================================================================
   En-tête (thème enfant hello-yep)
   ========================================================================== */
.yep-top { background: var(--yep-royal); color: #fff; font-size: 13px; }
.yep-top .yep-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; }
.yep-lang { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.yep-lang a { color: #fff; opacity: .75; font-weight: 600; text-transform: uppercase; }
.yep-lang .is-current a { color: var(--yep-gold); opacity: 1; }
.yep-header { background: #fff; border-bottom: 1px solid #E6E6E6; position: sticky; top: 0; z-index: 50; }
.admin-bar .yep-header { top: 32px; }
.yep-header .yep-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.yep-logo img { height: 64px; width: auto; }
.yep-nav ul { list-style: none; margin: 0; padding: 0; }
.yep-nav > ul { display: flex; gap: 6px; }
.yep-nav li { position: relative; }
.yep-nav a { display: block; padding: 10px 11px; color: var(--yep-royal); font-weight: 600; font-size: 15px; }
.yep-nav a:hover { text-decoration: none; color: var(--yep-azure); }
.yep-nav .current-menu-item > a, .yep-nav .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--yep-gold); }
.yep-nav .menu-item-has-children > a::after { content: ' ▾'; font-size: 11px; color: var(--yep-azure); }
.yep-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 8px; display: none; z-index: 60; }
.yep-nav li:hover > .sub-menu, .yep-nav li:focus-within > .sub-menu { display: block; }
.yep-nav .sub-menu a { padding: 9px 12px; border-radius: 6px; }
.yep-nav .sub-menu a:hover { background: var(--yep-powder-l); }
.yep-header .yep-btn { padding: 11px 22px; font-size: 14.5px; white-space: nowrap; }
.yep-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.yep-burger span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--yep-royal); border-radius: 2px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.yep-footer { background: var(--yep-royal); color: #DFE8F4; font-size: 14.5px; padding: 64px 0 0; }
.yep-footer a { color: #DFE8F4; font-weight: 400; }
.yep-footer a:hover { color: #fff; }
.yep-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.yep-footer-logo img { height: 64px; width: auto; margin-bottom: 16px; }
.yep-foot-title { color: var(--yep-gold) !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px !important; }
.yep-footer ul { list-style: none; margin: 0; padding: 0; }
.yep-footer li { margin-bottom: 8px; }
.yep-legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 48px; padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; color: #DFE8F4; }
.yep-legal ul { display: flex; gap: 16px; }
.yep-legal li { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .yep-nav a { padding: 10px 8px; font-size: 14px; }
  .yep-header .yep-btn { display: none; }
}
@media (max-width: 960px) {
  .yep-burger { display: block; }
  .yep-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #E6E6E6; box-shadow: 0 16px 30px rgba(0,0,0,.08); padding: 8px 18px 18px; }
  .yep-nav.is-open { display: block; }
  .yep-nav > ul { flex-direction: column; gap: 0; }
  .yep-nav .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .yep-nav .menu-item-has-children > a::after { content: ''; }
  .yep-stats ul { grid-template-columns: 1fr 1fr; }
  .yep-stats li:nth-child(2) { border-right: 0; }
  .yep-stats li { border-bottom: 1px solid #eee; }
  .yep-grid-3, .yep-agenda { grid-template-columns: 1fr 1fr; }
  .yep-split, .yep-split--rev { grid-template-columns: 1fr; gap: 32px; }
  .yep-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .yep { font-size: 16px; }
  .yep-wrap { padding: 0 18px; }
  .yep-header .yep-wrap { min-height: 70px; }
  .yep-logo img { height: 48px; }
  .yep-sec { padding: 60px 0; }
  .yep-hero { min-height: 0; }
  .yep-hero::before { background: linear-gradient(180deg, rgba(23,69,143,.75), rgba(23,69,143,.95)); }
  .yep-hero .yep-wrap { padding-top: 64px; padding-bottom: 100px; }
  .yep-hero p { font-size: 16.5px; }
  .yep-stats strong { font-size: 34px; }
  .yep-stats li { padding: 20px 16px; }
  .yep-grid-3, .yep-grid-2, .yep-agenda { grid-template-columns: 1fr; gap: 20px; }
  .yep-head-row, .yep-cta .yep-wrap { display: block; }
  .yep-cta .yep-h2 { margin-bottom: 12px; }
  .yep-cta .yep-btn { margin-top: 16px; }
  .yep-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .yep-legal { display: block; }
  .yep-legal ul { margin-top: 8px; flex-wrap: wrap; }
  .yep-table { font-size: 14.5px; }
  .yep-table th, .yep-table td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .yep .yep-btn { transition: none; } }

/* ---------- Utilitaires ---------- */
.yep .yep-m0 { margin: 0; }
.yep .yep-mt { margin-top: 22px; }
.yep .yep-mt-l { margin-top: 36px; }

/* ---------- Pagination des actualités ---------- */
.yep-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.yep-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid #D5DDE8; color: var(--yep-royal); text-align: center; font-weight: 600; }
.yep-pagination .current { background: var(--yep-royal); color: #fff; border-color: var(--yep-royal); }

/* ---------- Articles d'actualité (modèle Hello, éditeur WordPress) ---------- */
body.single-post .site-main { max-width: 820px; margin: 56px auto 80px; padding: 0 18px; font-family: var(--yep-font); color: var(--yep-charcoal); font-size: 17px; line-height: 1.7; }
body.single-post .site-main .entry-title { font-family: var(--yep-font-title); color: var(--yep-royal); font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin-bottom: 24px; }
body.single-post .site-main h2, body.single-post .site-main h3 { font-family: var(--yep-font-title); color: var(--yep-royal); line-height: 1.2; margin: 1.6em 0 .5em; }
body.single-post .site-main a { color: var(--yep-azure); }
body.single-post .site-main img { border-radius: 12px; height: auto; }
body.single-post .site-main blockquote { border-left: 5px solid var(--yep-gold); margin: 1.5em 0; padding: 4px 0 4px 20px; font-style: italic; }

/* ---------- Pages légales et contenus texte ---------- */
.yep-prose { max-width: 820px; }
.yep-prose .yep-h2 { margin-top: 1.4em; }
.yep-prose ul { padding-left: 1.2em; }
.yep-prose > .yep-h2:first-child, .yep-prose .yep-kicker + .yep-h2 { margin-top: 0; }

/* ==========================================================================
   Animations discrètes (v1.2.0)
   – apparition au défilement (classes posées par yep.js, contenu visible sans JS)
   – survols des cartes, boutons et liens « → »
   – zoom très lent de la photo des bandeaux
   – tout est désactivé si l'utilisateur demande moins d'animations
   ========================================================================== */
.yep-reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--yep-delay, 0s); will-change: opacity, transform; }
.yep-reveal.is-visible { opacity: 1; transform: none; }

.yep-card, .yep-prog { transition: transform .25s ease, box-shadow .25s ease; }
.yep-card:hover, .yep-prog:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(23,69,143,.14); }

.yep .yep-btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.yep .yep-btn:hover { transform: translateY(-2px); }

.yep .yep-more::after { display: inline-block; transition: transform .2s ease; }
.yep .yep-more:hover::after { transform: translateX(4px); }

.yep-hero > .yep-img img { animation: yep-slowzoom 20s ease-out both; transform-origin: 60% 50%; }
@keyframes yep-slowzoom { from { transform: scale(1); } to { transform: scale(1.03); } }

.yep-faq details > div { animation: none; }
.yep-faq details[open] > div { animation: yep-fadein .35s ease both; }
@keyframes yep-fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .yep-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .yep-hero > .yep-img img, .yep-faq details[open] > div { animation: none !important; }
  .yep-card, .yep-prog, .yep .yep-btn, .yep .yep-more::after { transition: none !important; }
  .yep-card:hover, .yep-prog:hover, .yep .yep-btn:hover, .yep .yep-more:hover::after { transform: none !important; }
}

/* ==========================================================================
   Recherche d'un club à proximité (v1.3.0)
   ========================================================================== */
.yep-cf-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; margin-top: 24px; max-width: 720px; }
.yep-cf-field { position: relative; flex: 1 1 320px; }
.yep-cf-q { width: 100%; padding: 14px 18px; font-size: 17px; border: 2px solid #c8d3e3; border-radius: 999px; background: #fff; color: var(--yep-ink); }
.yep-cf-q:focus { outline: none; border-color: var(--yep-royal); box-shadow: 0 0 0 4px rgba(0,80,162,.15); }
.yep-cf-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(23,69,143,.18); max-height: 320px; overflow: auto; }
.yep-cf-list li { padding: 10px 14px; border-radius: 10px; cursor: pointer; font-size: 15.5px; }
.yep-cf-list li small { color: #6b7a90; margin-left: 6px; }
.yep-cf-list li:hover, .yep-cf-list li.is-active { background: #EEF4FB; color: var(--yep-royal); }
.yep-cf-list .yep-cf-none { cursor: default; color: #6b7a90; }
.yep-cf-privacy { margin-top: 10px; font-size: 13.5px; }
.yep-cf-title { margin: 32px 0 14px; }
.yep-cf-res { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 860px; }
.yep-cf-club { display: flex; justify-content: space-between; gap: 18px; align-items: center; background: #fff; border-radius: var(--yep-radius); padding: 18px 22px; border-left: 5px solid var(--yep-gold); box-shadow: var(--yep-shadow); animation: yep-fadein .35s ease both; }
.yep .yep-cf-name { margin: 0; font-family: var(--yep-font-title); font-size: 20px; color: var(--yep-royal); }
.yep .yep-cf-meta { margin: 2px 0 0; font-size: 14.5px; color: #4a5568; }
.yep-cf-side { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.yep-cf-km { font-weight: 700; color: var(--yep-ink); white-space: nowrap; }
.yep-cf-help { margin-top: 22px; font-size: 15px; }
@media (max-width: 640px) { .yep-cf-club { flex-direction: column; align-items: flex-start; } .yep-cf-side { text-align: left; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .yep-cf-club { animation: none; } }

/* Formulaires de contact ES (n° 4) et PT-BR (n° 5) : même style que les formulaires FR et EN (v1.4.0) */
:is(.fluentform_wrapper_4,.fluentform_wrapper_5){max-width:760px;margin:0 auto;padding:48px 20px}
:is(.fluentform_wrapper_4,.fluentform_wrapper_5) .ff-el-input--label label{font-weight:600;color:#17458F}
:is(.fluentform_wrapper_4,.fluentform_wrapper_5) .ff-el-form-control{border:1px solid #c8d3e3;border-radius:6px;padding:12px 14px;font-size:16px}
:is(.fluentform_wrapper_4,.fluentform_wrapper_5) .ff-el-form-control:focus{border-color:#0050A2;box-shadow:0 0 0 3px rgba(0,80,162,.15)}
:is(.fluentform_wrapper_4,.fluentform_wrapper_5) .ff-el-tc a{color:#0050A2;text-decoration:underline}
:is(.fluentform_wrapper_4,.fluentform_wrapper_5) .ff-btn-submit{background:#0050A2!important;border-color:#0050A2!important;color:#fff!important;border-radius:999px;padding:12px 28px;font-weight:700}
:is(.fluentform_wrapper_4,.fluentform_wrapper_5) .ff-btn-submit:hover{background:#17458F!important}
:is(.fluentform_wrapper_4,.fluentform_wrapper_5) .ff-message-success{border-left:4px solid #F7A81B;background:#fff8ea;color:#17458F;padding:16px 20px}

/* Chiffres clés : pictogrammes à la place des tirets (v1.4.2). Ordre FR : partis, accueillis, pays, clubs ; EN/ES/PT : accueillis, pays, clubs, partis */
.yep-stats li::before { width: 48px; height: 48px; border-radius: 50%; background: var(--yep-gold) center / 26px 26px no-repeat; margin-bottom: 14px; }
.yep-stats li:nth-child(1)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M12 18s-3.2-1.9-3.2-3.9a1.7 1.7 0 0 1 3.2-.8 1.7 1.7 0 0 1 3.2.8c0 2-3.2 3.9-3.2 3.9z' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.yep-stats li:nth-child(2)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><ellipse cx='12' cy='12' rx='4' ry='9' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M3 12h18' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.yep-stats li:nth-child(3)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='9' cy='8' r='3.2' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><circle cx='17' cy='9' r='2.6' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M16.5 14.1c2.6.4 4.5 2.7 4.5 5.4' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.yep-stats li:nth-child(4)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 3 3 10.5l7 2.5 2.5 7z' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M10 13l11-10' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
:lang(fr) .yep-stats li:nth-child(1)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 3 3 10.5l7 2.5 2.5 7z' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M10 13l11-10' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
:lang(fr) .yep-stats li:nth-child(2)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M12 18s-3.2-1.9-3.2-3.9a1.7 1.7 0 0 1 3.2-.8 1.7 1.7 0 0 1 3.2.8c0 2-3.2 3.9-3.2 3.9z' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
:lang(fr) .yep-stats li:nth-child(3)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><ellipse cx='12' cy='12' rx='4' ry='9' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M3 12h18' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
:lang(fr) .yep-stats li:nth-child(4)::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='9' cy='8' r='3.2' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><circle cx='17' cy='9' r='2.6' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M16.5 14.1c2.6.4 4.5 2.7 4.5 5.4' fill='none' stroke='%2317458F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
@media (max-width: 600px) { .yep-stats li::before { width: 40px; height: 40px; background-size: 22px 22px; } }

/* Espace membres (v1.5.0) */
.yep-top-right { display: flex; align-items: center; gap: 18px; }
.yep-top a.yep-top-member, .yep-top-member { color: #fff; font-weight: 600; opacity: .9; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.yep-top a.yep-top-member:hover, .yep-top a.yep-top-member:focus-visible { color: var(--yep-gold); opacity: 1; }
.yep-top-member svg { width: 13px; height: 13px; }
.yep-em .yep-lead { max-width: 720px; }
.yep-em-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; margin-top: 32px; align-items: start; }
.yep-em-card { background: #fff; border-radius: var(--yep-radius); box-shadow: 0 12px 40px rgba(23,69,143,.12); border-top: 4px solid #0050A2; padding: 28px; }
.yep-em-card:last-child { border-top-color: var(--yep-gold); }
.yep-em-form p { margin: 0 0 14px; }
.yep-em-form label { display: block; font-weight: 600; color: var(--yep-royal); font-size: 14.5px; margin-bottom: 6px; }
.yep-em-form input:not([type=checkbox]), .yep-em-form select { width: 100%; border: 1px solid #c8d3e3; border-radius: 6px; padding: 11px 13px; font-size: 16px; background: #fff; }
.yep-em-form input:focus, .yep-em-form select:focus { outline: none; border-color: #0050A2; box-shadow: 0 0 0 3px rgba(0,80,162,.15); }
.yep-em-check label { font-weight: 400; color: inherit; display: flex; gap: 8px; align-items: flex-start; }
.yep-em-check input { margin-top: 4px; }
.yep-em-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.yep-em-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yep-em-msg { padding: 14px 18px; border-radius: 8px; margin: 18px 0; max-width: 720px; }
.yep-em-msg--ok { background: #fff8ea; border-left: 4px solid var(--yep-gold); color: var(--yep-royal); }
.yep-em-msg--err { background: #fdecec; border-left: 4px solid #c62828; color: #8a1c1c; }
.yep-em-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.yep-em-une { background: #fff8ea; border-left: 4px solid var(--yep-gold); border-radius: 8px; padding: 18px 22px; margin-top: 24px; }
.yep-em-une > :last-child { margin-bottom: 0; }
.yep-em-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid #e6ebf3; }
.yep-em-list li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid #e6ebf3; }
.yep-em-t { margin: 0; font-weight: 600; color: var(--yep-royal); }
.yep-em-d { margin: 4px 0 0; font-size: 14.5px; color: #555; }
.yep-em-badge { font-size: 12px; font-weight: 600; background: #e8eef8; color: var(--yep-royal); border-radius: 999px; padding: 2px 10px; margin-left: 6px; vertical-align: middle; }
.yep-em-list .yep-btn { flex: 0 0 auto; }
@media (max-width: 800px) {
  .yep-em-cols { grid-template-columns: 1fr; }
  .yep-em-list li { flex-direction: column; align-items: flex-start; }
}

/* Vidéos du Rotary International, chargées au clic (v1.6.0) */
.yep-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--yep-radius); overflow: hidden; background: #0e2a57; box-shadow: var(--yep-shadow); }
.yep-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yep-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle at 30% 20%, rgba(247,168,27,.28), transparent 55%), linear-gradient(150deg, #17458F 0%, #0050A2 55%, #0e2a57 100%); font: inherit; }
.yep-video-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--yep-gold); color: #17458F; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s ease; }
.yep-video-icon svg { width: 34px; height: 34px; margin-left: 4px; }
.yep-video-label { font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.yep-video-play:hover .yep-video-icon, .yep-video-play:focus-visible .yep-video-icon { transform: scale(1.08); }
.yep-video-play:focus-visible { outline: 3px solid var(--yep-gold); outline-offset: -6px; }
.yep-video-feature { align-items: center; }
.yep-video-card .yep-h3 { margin-top: 18px; }
.yep-video-note { margin-top: 18px; font-size: 13.5px; background: none; border: 0; padding: 0; color: #666; }
@media (prefers-reduced-motion: reduce) { .yep-video-icon { transition: none; } }

/* Aperçu de vidéo (v1.7.0) */
.yep-video.has-poster .yep-video-play { background: linear-gradient(180deg, rgba(14,42,87,.15) 0%, rgba(14,42,87,.65) 100%), var(--yep-poster) center / cover no-repeat; }
.yep-video.has-poster .yep-video-label { text-shadow: 0 1px 6px rgba(0,0,0,.45); }

/* Plaquette à télécharger (v1.7.2) */
.yep-doc { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 48px; align-items: center; }
.yep-doc-cover { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(14,42,87,.22); transform: rotate(-2deg); transition: transform .2s ease; }
.yep-doc-cover:hover, .yep-doc-cover:focus-visible { transform: rotate(0); }
.yep-doc-cover:focus-visible { outline: 3px solid var(--yep-gold); outline-offset: 4px; }
.yep-doc-cover img { display: block; width: 100%; height: auto; }
.yep-doc .yep-note { margin-top: 14px; }
@media (max-width: 760px) { .yep-doc { grid-template-columns: 1fr; gap: 28px; } .yep-doc-cover { max-width: 220px; } }
@media (prefers-reduced-motion: reduce) { .yep-doc-cover { transition: none; transform: none; } }

/* Mention de réalisation (v1.8.1) */
.yep-credit { color: #C9D6EA; }
.yep-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.yep-credit a:hover, .yep-credit a:focus-visible { text-decoration-color: var(--yep-gold); }
@media (max-width: 760px) { .yep-credit { display: block; margin-top: 6px; } .yep-credit-sep { display: none; } }

/* Vignettes des ressources (v1.9.1) */
.yep-em-list li { justify-content: flex-start; }
.yep-em-body { flex: 1 1 auto; min-width: 0; }
.yep-em-vlink { flex: 0 0 auto; display: block; }
.yep-em-vig { flex: 0 0 auto; width: 112px; height: 72px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: #f2f5fa; border: 1px solid #e1e7f0; font-weight: 700; font-size: 13px; letter-spacing: .04em; color: #fff; }
.yep-em-vig img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; background: #fff; }
.yep-em-vig--img img { object-fit: contain; object-position: center; }
.yep-em-vig--pdf { background: #c8102e; border-color: #c8102e; }
.yep-em-vig--ppt { background: #d24726; border-color: #d24726; }
.yep-em-vig--doc { background: #17458F; border-color: #17458F; }
.yep-em-vig--xls { background: #1d6f42; border-color: #1d6f42; }
.yep-em-vig--zip { background: #6b7280; border-color: #6b7280; }
.yep-em-vig--lien { background: #e8eef8; border-color: #d5deec; color: var(--yep-royal); }
.yep-em-vig svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .yep-em-list li { flex-direction: row; flex-wrap: wrap; align-items: center; } .yep-em-body { flex-basis: calc(100% - 134px); } .yep-em-list .yep-btn { margin-left: 130px; } }

/* Espace membres : présentation et membres du club (v1.9.3) */
.yep-em-moi { margin: 4px 0 0; color: #5b6577; font-size: 15px; }
.yep-em-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: 24px; align-items: start; }
.yep-em-intro-txt .yep-lead { margin-top: 0; }
.yep-em-club { background: #fff; border-radius: var(--yep-radius); box-shadow: 0 12px 40px rgba(23,69,143,.10); border-top: 4px solid var(--yep-gold); padding: 20px 22px; }
.yep-em-club .yep-h3 { margin: 0; font-size: 18px; }
.yep-em-club-nom { margin: 2px 0 0; font-weight: 600; color: var(--yep-royal); font-size: 14.5px; }
.yep-em-club ul { list-style: none; margin: 12px 0 0; padding: 0; }
.yep-em-club li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #e6ebf3; font-size: 15px; margin: 0; }
.yep-em-club li em { color: #5b6577; font-style: normal; font-size: 13px; }
.yep-em-fct { color: #5b6577; font-size: 13.5px; white-space: nowrap; }
.yep-em-club-note { margin: 10px 0 0; font-size: 13px; color: #5b6577; }
@media (max-width: 760px) { .yep-em-intro { grid-template-columns: 1fr; } }
.yep-em-intro:not(:has(.yep-em-club)) { grid-template-columns: minmax(0, 46rem); }

/* Colonne des inscrits (v1.9.4) */
.yep-em-side { display: grid; gap: 18px; }
.yep-em-intro:not(:has(.yep-em-side)) { grid-template-columns: minmax(0, 46rem); }

/* Démarches des bénévoles (v1.9.5) */
.yep-em-benevole { margin-top: 36px; background: #fff; border-radius: var(--yep-radius); box-shadow: 0 12px 40px rgba(23,69,143,.10); border-left: 4px solid #0050A2; padding: 26px 28px; }
.yep-em-benevole .yep-h2 { margin-top: 0; }
.yep-em-etapes { list-style: none; counter-reset: etape; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.yep-em-etapes > li { counter-increment: etape; position: relative; padding-top: 46px; margin: 0; }
.yep-em-etapes > li::before { content: counter(etape); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--yep-gold); color: #17458F; font-weight: 700; display: grid; place-items: center; }
.yep-em-etapes .yep-h3 { margin: 0 0 6px; font-size: 17px; }
.yep-em-etapes p { margin: 0 0 12px; font-size: 15px; }
.yep-em-etapes ul { margin: 0; padding-left: 18px; font-size: 15px; }
.yep-em-etapes ul li { margin: 0 0 6px; }
@media (max-width: 900px) { .yep-em-etapes { grid-template-columns: 1fr; } }

/* Pas-à-pas YEOHub bénévole (v1.9.6) */
.yep-em-tuto-lien { margin: 10px 0 0 !important; }
.yep-em-tuto-lien a { font-weight: 600; }
.yep-em-tuto { margin-top: 24px; border: 1px solid #d5deec; border-radius: 8px; background: #f6f8fb; scroll-margin-top: 110px; }
.yep-em-tuto > summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--yep-royal); list-style-position: inside; }
.yep-em-tuto[open] > summary { border-bottom: 1px solid #d5deec; }
.yep-em-tuto-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 18px 22px 22px; }
.yep-em-tuto .yep-h3 { margin: 0 0 10px; font-size: 17px; }
.yep-em-tuto ol { margin: 0; padding-left: 22px; font-size: 15px; }
.yep-em-tuto ol li { margin: 0 0 8px; }
.yep-em-tuto p { font-size: 15px; }
.yep-em-tuto q { font-style: italic; }
.yep-em-tuto-aide { background: #fff8ea; border-left: 4px solid var(--yep-gold); border-radius: 6px; padding: 14px 16px; }
@media (max-width: 900px) { .yep-em-tuto-cols { grid-template-columns: 1fr; } }

/* Bénévole inscrit (v1.9.7) */
.yep-em-ok { background: #eaf6ee; border-left: 4px solid #1d6f42; border-radius: 6px; padding: 10px 14px; color: #1d4d31; }
.yep-em-benevole.is-inscrit { border-left-color: #1d6f42; }
.yep-em-casier { margin-top: 18px; }
.yep-em-casier ul { margin: 0; padding-left: 18px; font-size: 15px; }

/* Cartes des pays et calendrier automatique (v1.10.0) */
.yep-carte { margin: 0; --yep-carte-hl: #F7A81B; }
.yep-carte--dest { --yep-carte-hl: #0050A2; }
.yep-carte svg { display: block; width: 100%; height: auto; }
.yep-carte-terre path { fill: #dbe3ee; stroke: #fff; stroke-width: .6; }
.yep-carte-points circle { fill: var(--yep-carte-hl); stroke: #fff; stroke-width: 1.6; }
.yep-carte--sombre { --yep-carte-hl: #F7A81B; }
.yep-carte--sombre .yep-carte-terre path { fill: rgba(255,255,255,.2); stroke: rgba(14,42,87,.55); }
.yep-carte--sombre .yep-carte-points circle { stroke: #17458F; }
.yep-ev.is-passe { opacity: .55; }

/* v1.11 : dates de candidature dans le bandeau d'accueil */
.yep-hero .yep-hero-dates { list-style: none; margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.28); display: flex; flex-wrap: wrap; gap: 10px 30px; max-width: 660px; font-size: 15px; color: #fff; }
.yep-hero .yep-hero-dates li { display: flex; align-items: center; gap: 8px; margin: 0; }
.yep-hero .yep-hero-dates span { opacity: .82; }
.yep-hero .yep-hero-dates strong { color: var(--yep-gold); font-weight: 700; }
.yep-hero .yep-hero-dates i { width: 9px; height: 9px; border-radius: 50%; background: var(--yep-gold); box-shadow: 0 0 0 4px rgba(247,168,27,.28); }
/* v1.11 : lien contact dans le bandeau supérieur */
.yep-top-contact { display: inline-flex; align-items: center; gap: 6px; }
.yep-top-contact svg { width: 15px; height: 15px; }
@media (max-width: 700px) { .yep-hero .yep-hero-dates { font-size: 14px; gap: 8px 20px; } .yep-top-contact span { display: none; } }
.yep [id^="yep-"] { scroll-margin-top: 120px; }
.yep-hero p.yep-hero-alt { margin-top: 14px; font-size: 15px; }
.yep-hero .yep-hero-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; opacity: .9; }
.yep-hero .yep-hero-alt a:hover, .yep-hero .yep-hero-alt a:focus-visible { color: var(--yep-gold); opacity: 1; }
/* v1.11.1 : formulaire d'opposition Matomo (politique de confidentialité) */
.yep-optout { margin: 18px 0 8px; padding: 18px 20px; border: 1px solid #d5deec; border-radius: 10px; background: #f6f8fb; }
.yep-optout p { margin: 0 0 8px; }
.yep-optout label { font-weight: 600; color: var(--yep-royal); }
.yep-img picture { display: contents; }
/* v1.11.3 : bandeau supérieur sur mobile (la taille de texte mobile de .yep le faisait passer sur deux lignes) */
.yep.yep-top { font-size: 13px; }
.yep-top .yep-m0, .yep-top-member, .yep-lang a { white-space: nowrap; }
@media (max-width: 700px) {
  .yep.yep-top { font-size: 12.5px; }
  .yep-top .yep-wrap { gap: 10px; }
  .yep-top-right { gap: 12px; }
  .yep-lang { gap: 8px; }
}
/* v1.14 : ressources de l'espace membres en listes déroulantes (catégories et sous-catégories) */
.yep-em-aide { margin: 4px 0 14px; color: #5b6472; font-size: 15px; }
.yep-em-cat { border: 1px solid #d5deec; border-radius: 10px; background: #fff; margin: 0 0 12px; }
.yep-em-cat > summary, .yep-em-sub > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.yep-em-cat > summary::-webkit-details-marker, .yep-em-sub > summary::-webkit-details-marker { display: none; }
.yep-em-cat > summary { padding: 16px 20px; border-radius: 10px; }
.yep-em-cat > summary:hover, .yep-em-sub > summary:hover { background: #f6f8fb; }
.yep-em-cat > summary:focus-visible, .yep-em-sub > summary:focus-visible { outline: 3px solid var(--yep-gold); outline-offset: 2px; }
.yep-em-cat > summary::after, .yep-em-sub > summary::after { content: ''; width: 9px; height: 9px; margin-left: 4px; border-right: 2px solid var(--yep-azure); border-bottom: 2px solid var(--yep-azure); transform: rotate(45deg); transition: transform .2s ease; flex: 0 0 auto; position: relative; top: -3px; }
.yep-em-cat[open] > summary::after, .yep-em-sub[open] > summary::after { transform: rotate(-135deg); top: 2px; }
.yep-em-cat-t { font-weight: 700; color: var(--yep-royal); font-size: 18px; flex: 1 1 auto; }
.yep-em-nb { font-size: 13px; font-weight: 600; color: var(--yep-royal); background: #e8eef8; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.yep-em-cat-in { padding: 0 20px 14px; }
.yep-em-cat-in > .yep-em-list { margin-top: 0; }
.yep-em-sub { border-left: 3px solid var(--yep-gold); margin: 12px 0 0; background: #fcfdff; border-radius: 0 8px 8px 0; }
.yep-em-sub > summary { padding: 10px 14px; border-radius: 0 8px 8px 0; }
.yep-em-sub .yep-em-cat-t { font-size: 16px; }
.yep-em-sub > .yep-em-list { margin: 0 14px 6px; }
@media (prefers-reduced-motion: reduce) { .yep-em-cat > summary::after, .yep-em-sub > summary::after { transition: none; } }
@media (max-width: 700px) { .yep-em-cat > summary { padding: 14px; } .yep-em-cat-in { padding: 0 14px 12px; } .yep-em-cat-t { font-size: 16.5px; } }
/* v1.15 : équipe Jeunesse (page publique, contacts de l'espace membres, fiche du membre) */
.yep-eq { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.yep-eq-carte { background: #fff; border: 1px solid #e3e9f2; border-radius: 14px; padding: 28px 22px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.yep-eq-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--yep-gold); margin-bottom: 18px; }
.yep-eq-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--yep-royal); color: var(--yep-gold); font-weight: 700; font-size: 40px; letter-spacing: .02em; }
.yep-eq-nom { font-size: 20px; margin: 0 0 8px; color: var(--yep-royal); }
.yep-eq-roles { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.yep-eq-roles li { font-size: 14.5px; font-weight: 600; color: var(--yep-azure); line-height: 1.35; }
.yep-eq-club { font-size: 14px; color: #5b6472; margin: 0 0 10px; }
.yep-eq-club:has(+ .yep-eq-poste) { margin-bottom: 2px; }
.yep-eq-poste { font-size: 14px; color: #3b4350; margin: 0 0 10px; }
.yep-eq-bio { font-size: 15px; margin: 0 0 12px; }
.yep-eq-mail { margin: auto 0 0; padding-top: 6px; font-size: 14.5px; word-break: break-word; }
.yep-eqm { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid #e6ebf3; }
.yep-eqm li { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e6ebf3; }
.yep-eqm-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.yep-eqm-photo.yep-eq-ini { font-size: 18px; }
.yep-eqm-nom { margin: 0; font-weight: 700; color: var(--yep-royal); }
.yep-eqm-roles { margin: 2px 0 0; font-size: 14px; color: var(--yep-azure); font-weight: 600; }
.yep-eqm-club { margin: 2px 0 0; font-size: 13.5px; color: #5b6472; }
.yep-eqm-co { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 14.5px; text-align: right; }
.yep-fiche-tete { display: flex; gap: 14px; align-items: center; margin: 4px 0 14px; }
.yep-em-fiche { border-color: var(--yep-gold); }
@media (max-width: 700px) {
  .yep-eqm li { grid-template-columns: 48px 1fr; }
  .yep-eqm-photo { width: 48px; height: 48px; }
  .yep-eqm-co { grid-column: 2; align-items: flex-start; text-align: left; }
}
/* v1.17.1 : les règles img d'Elementor (border-radius:0, box-shadow:none, height:auto) l'emportaient */
img.yep-eq-photo.yep-eq-photo { border-radius: 50%; height: 132px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--yep-gold); object-fit: cover; }
img.yep-eqm-photo.yep-eqm-photo { border-radius: 50%; height: 56px; object-fit: cover; }
@media (max-width: 700px) { img.yep-eqm-photo.yep-eqm-photo { height: 48px; } }
/* v1.18.0 : bandeau supérieur mobile, phrase complète et langues en menu déroulant */
.yep-lang-menu { display: none; position: relative; }
.yep-lang-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--yep-gold); padding: 4px 2px; }
.yep-lang-menu > summary::-webkit-details-marker { display: none; }
.yep-lang-menu > summary::after { content: ''; width: 6px; height: 6px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); position: relative; top: -2px; }
.yep-lang-menu[open] > summary::after { transform: rotate(-135deg); top: 1px; }
.yep-lang-menu > summary:focus-visible { outline: 2px solid var(--yep-gold); outline-offset: 2px; }
.yep-lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1000; list-style: none; margin: 0; padding: 6px 0; min-width: 150px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 30, 70, .22); }
.yep-lang-menu li a { display: block; padding: 9px 16px; color: var(--yep-royal); font-size: 15px; font-weight: 600; text-decoration: none; }
.yep-lang-menu li a:hover, .yep-lang-menu li a:focus-visible { background: #f1f5fb; }
.yep-lang-menu li.is-current a { color: var(--yep-azure); }
.yep-lang-menu li.is-current a::after { content: ' ✓'; color: var(--yep-gold); }
@media (max-width: 700px) {
  .yep-top .yep-wrap { padding-top: 5px; padding-bottom: 5px; }
  .yep-top .yep-m0 { display: none; } /* v1.18.3 : redondant avec le logo juste en dessous */
  .yep-top .yep-wrap { justify-content: flex-end; min-height: 40px; }
  .yep-top-right { flex: 0 0 auto; gap: 14px; }
  .yep-top .yep-lang { display: none; }
  .yep-lang-menu { display: block; }
  .yep-top-member span { display: none; }
  .yep-top-member svg { width: 16px; height: 16px; }
  .yep-top-contact svg { width: 17px; height: 17px; }
}
/* v1.19.0 : phrase du bandeau supérieur retirée (redondante avec le logo) */
.yep-top .yep-wrap { justify-content: flex-end; }
/* v1.19.1 : bandeau mobile, « Espace membres » écrit en entier, icônes plus grandes et espacées */
@media (max-width: 700px) {
  .yep.yep-top { font-size: 14px; }
  .yep-top .yep-wrap { min-height: 44px; }
  .yep-top-right { gap: 26px; }
  .yep-top-member:not(.yep-top-contact) span { display: inline; }
  .yep-top-member { gap: 7px; }
  .yep-top-member svg { width: 19px; height: 19px; }
  .yep-top-contact svg { width: 21px; height: 21px; }
  .yep-lang-menu > summary { font-size: 14px; padding: 6px 2px; }
}
/* v1.19.2 : cases à cocher des formulaires, texte et lien sur une seule colonne */
.yep-em-check label { display: block; position: relative; padding-left: 26px; }
.yep-em-check input[type=checkbox] { position: absolute; left: 0; top: 3px; margin: 0; }
/* v1.21.0 : inscriptions aux événements */
.yep-insc-wrap { max-width: 780px; }
.yep-insc-quand { font-size: 18px; font-weight: 600; color: var(--yep-royal); margin: -6px 0 14px; }
.yep-insc-infos { background: #f3f6fb; border-radius: 10px; padding: 16px 20px; margin: 0 0 18px; }
.yep-insc-infos p:last-child { margin-bottom: 0; }
.yep-insc-limite { display: inline-block; background: var(--yep-gold); color: #1D1D1D; font-weight: 700; border-radius: 999px; padding: 6px 16px; margin: 0 0 20px; }
.yep-insc-form { background: #fff; border-radius: var(--yep-radius); box-shadow: 0 12px 40px rgba(23,69,143,.12); border-top: 4px solid var(--yep-gold); padding: 28px; }
.yep-insc-form textarea { width: 100%; border: 1px solid #c8d3e3; border-radius: 6px; padding: 11px 13px; font-size: 16px; }
.yep-insc-form .yep-insc-nb input { max-width: 120px; }
.yep-insc-aide { font-size: 14px; color: #5b6472; margin: -6px 0 14px !important; }
.yep-insc-reg { border: 1px solid #e0e6ef; border-radius: 8px; padding: 12px 16px 4px; margin: 0 0 16px; }
.yep-insc-reg legend { font-weight: 600; color: var(--yep-royal); font-size: 14.5px; padding: 0 6px; }
.yep-insc-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; margin: 4px 0 12px; }
.yep-insc-cases label { font-weight: 400 !important; color: inherit !important; display: flex !important; gap: 8px; align-items: center; margin: 0 !important; }
.yep-insc-liste { list-style: none; padding: 0; margin: 0; }
.yep-insc-liste a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; margin-bottom: 10px; background: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgba(23,69,143,.10); text-decoration: none; color: var(--yep-royal); }
.yep-ev-insc { margin: 6px 0 0; }
@media (max-width: 700px) { .yep-insc-form { padding: 20px; } }

.yep-insc-valid{margin:0 0 18px;padding:10px 14px;border-left:4px solid #0050A2;background:#eef4fb;border-radius:4px;color:#17458F}
.yep-insc-bandeau{margin:0 0 26px;border-radius:12px;overflow:hidden;aspect-ratio:8/3;background:#eef4fb}.yep-insc-bandeau img{display:block;width:100%;height:100%;object-fit:cover}@media(max-width:600px){.yep-insc-bandeau{aspect-ratio:16/9;border-radius:8px}}
.yep-insc-pers { border: 1px solid #e0e6ef; border-radius: 8px; padding: 12px 16px 4px; margin: 0 0 16px; }
.yep-insc-pers legend { font-weight: 600; color: var(--yep-royal); font-size: 14.5px; padding: 0 6px; }
.yep-insc-p { border-top: 1px dashed #e0e6ef; padding-top: 8px; }
.yep-insc-p:first-of-type { border-top: 0; padding-top: 0; }
.yep-insc-p-t { margin: 0 0 4px !important; font-size: 13px; font-weight: 700; color: var(--yep-azur, #0050A2); }
.yep-insc-p-g { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 0 12px; align-items: end; }
.yep-insc-p-g p { margin-bottom: 10px; }
.yep-insc-p-inb label { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 400; padding-bottom: 10px; }
.yep-insc-p-inb input { width: auto !important; }
[hidden].yep-insc-p, fieldset[hidden] { display: none !important; }
@media (max-width: 700px) { .yep-insc-p-g { grid-template-columns: 1fr 1fr; } .yep-insc-p-g p:nth-child(3) { grid-column: 1 / -1; } }
/* v1.25.0 : familles d'accueil, calendrier membres, inscriptions préremplies */
.yep-em-demande:not(.is-famille) .yep-si-fam, .yep-em-demande.is-famille .yep-si-club { display: none !important; }
.yep-em-type { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.yep-em-type legend { font-weight: 600; color: var(--yep-royal); font-size: 14.5px; padding: 0; margin-bottom: 6px; }
.yep-em-type label { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.yep-em-type input { width: auto !important; }
.yep-insc-moi { background: #eef4fb; border-left: 4px solid #0050A2; border-radius: 6px; padding: 12px 16px; margin: 0 0 16px; }
.yep-insc-moi p { margin: 0 !important; }
.yep-insc-moi-t { font-size: 13.5px; color: #5b6472; margin-bottom: 4px !important; }
.yep-ev-membres { background: #fff8ea; border-left: 3px solid #F7A81B; padding: 6px 10px; border-radius: 4px; font-size: 14.5px; }
.yep-ev-badge { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 11.5px; font-weight: 700; color: #17458F; background: #e6eef8; border-radius: 10px; padding: 2px 9px; font-family: inherit; letter-spacing: 0; }
.yep-em-insc, .yep-em-agenda { margin-top: 36px; }
.yep-em-insc-l { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.yep-em-insc-l li { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid #e0e6ef; border-left: 4px solid #F7A81B; border-radius: 8px; padding: 12px 16px; }
.yep-em-insc-l .yep-em-t { margin: 0; font-weight: 700; color: var(--yep-royal); }
.yep-em-insc-l .yep-em-d { margin: 2px 0 0; font-size: 14px; color: #5b6472; }
.yep-em-insc-st { font-size: 13px; font-weight: 600; border-radius: 12px; padding: 4px 12px; white-space: nowrap; background: #fff3cd; color: #7a5b00; }
.yep-em-insc-st--validee { background: #e6f4ea; color: #1e6b35; }
.yep-em-insc-st--refusee { background: #fbe9e9; color: #a12626; }
@media (max-width: 600px) { .yep-em-insc-l li { flex-direction: column; align-items: flex-start; } }
.yep-em-accueil { margin-top: 28px; }
.yep-insc-p-g .yep-insc-club { grid-column: 1 / -1; }
.yep-insc-club[hidden] { display: none !important; }
/* v1.27.0 : Mon compte */
.yep-em-compte { margin-top: 16px; }
.yep-em-compte-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.yep-em-compte-cols .yep-h3 { margin: 0 0 10px; }
.yep-em-compte input[readonly] { background: #f1f4f9; color: #5b6472; }
@media (max-width: 760px) { .yep-em-compte-cols { grid-template-columns: 1fr; } }

/* ---------- Visionneuse des documents (v1.28.0) ---------- */
.yep-em-acts { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.yep-em-dl { font-size: 13px; color: var(--yep-royal, #17458F); text-decoration: underline; }
@media (max-width: 760px) { .yep-em-acts { margin-left: 130px; flex-direction: row; gap: 14px; } .yep-em-acts .yep-btn { margin-left: 0; } }
.yep-vis { width: min(1200px, 94vw); height: 92vh; max-width: none; max-height: none; padding: 0; border: 0; border-radius: 14px; background: #0B3D7A; color: #fff; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 20, 50, .45); }
.yep-vis[open] { display: flex; flex-direction: column; }
.yep-vis::backdrop { background: rgba(5, 20, 45, .72); }
html.yep-vis-ouvert { overflow: hidden; }
.yep-vis-barre { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 20px; border-bottom: 3px solid #F7A81B; }
.yep-vis-t { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.yep-vis-btn { flex: 0 0 auto; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; }
.yep-vis-btn:hover, .yep-vis-btn:focus-visible { background: #fff; color: #0B3D7A !important; }
.yep-vis .yep-vis-fermer, .yep-vis .yep-vis-fermer:hover, .yep-vis .yep-vis-fermer:focus { flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #F7A81B !important; color: #0B3D7A !important; font-size: 26px; line-height: 1; cursor: pointer; }
.yep-vis .yep-vis-fermer:hover { background: #fff !important; }
.yep-vis-fermer:focus-visible, .yep-vis-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.yep-vis-corps { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; background: #27313f; overflow: auto; }
.yep-vis-corps iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.yep-vis-corps.is-img img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; background: #fff; }
.yep-vis-corps.is-img.is-zoom { display: block; }
.yep-vis-corps.is-img.is-zoom img { max-width: none; max-height: none; cursor: zoom-out; }

/* ---------- Inscriptions : options par personne (v1.29.0) ---------- */
.yep-insc-opts { border: 1px solid #d6e3f3; background: #f4f8fd; border-radius: 8px; padding: 8px 14px 10px; margin: 0 0 14px; }
.yep-insc-opts legend { font-weight: 600; color: var(--yep-royal, #17458F); font-size: 14px; padding: 0 6px; }
.yep-insc-opts label { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; color: inherit !important; margin: 4px 0 !important; }
.yep-insc-opts label[hidden], .yep-insc-opts[hidden] { display: none !important; }
.yep-insc-p-g .yep-insc-opts { grid-column: 1 / -1; margin-bottom: 10px; }
.yep-insc-reg[hidden] { display: none !important; }
