/* ============================================================
   JPR — Jeunesse Pour la Relève
   Palette: sand base, JPR green, deep indigo ink, warm gold
   Type: Fraunces (display) / Outfit (body)
   ============================================================ */

:root {
  --sand: #F3EDE1;
  --sand-deep: #E7DDC9;
  --ink: #1C2B27;          /* deep pine-indigo for text */
  --green: #1E7A4D;        /* JPR green */
  --green-deep: #145C39;
  --gold: #D9A441;         /* warm accent */
  --clay: #B65B3C;
  --paper: #FBF8F1;
  --line: rgba(28, 43, 39, 0.14);

  --shadow: 0 20px 50px -24px rgba(28, 43, 39, 0.35);
  --r: 18px;
  --wrap: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Type scale ---------- */
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 900; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }

.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section-eyebrow {
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--green);
  margin: 0 0 14px;
}
.section-eyebrow.light { color: var(--gold); }
.section-title.light { color: var(--paper); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243, 237, 225, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  background: #fff; box-shadow: var(--shadow);
}
.brand-logo.small { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Fraunces", serif; font-weight: 900; font-size: 1.25rem; }
.brand-text em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(28,43,39,.62); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: rgba(28,43,39,.8); transition: color .2s var(--ease); }
.site-nav a:hover { color: var(--green); }
.nav-cta {
  background: var(--ink); color: var(--paper) !important; padding: 10px 20px; border-radius: 999px;
}
.nav-cta:hover { background: var(--green-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 132px) 0 clamp(60px, 8vw, 96px); }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(30,122,77,.20), transparent 55%),
    radial-gradient(90% 80% at 6% 110%, rgba(217,164,65,.20), transparent 55%);
}
.grain { position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(28,43,39,.05) 1px, transparent 1px);
  background-size: 4px 4px;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--green-deep);
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251,248,241,.6);
  margin: 0 0 26px;
}
.hero-title {
  font-size: clamp(2.6rem, 7.4vw, 5.2rem);
  margin: 0 0 26px;
}
.rise { position: relative; color: var(--green); white-space: nowrap; }
.rise-arrow {
  width: clamp(30px, 5vw, 48px); height: clamp(30px, 5vw, 48px);
  color: var(--gold); vertical-align: -0.12em; margin-left: .12em;
  animation: rise-float 3.4s var(--ease) infinite;
}
@keyframes rise-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.hero-lede { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 620px; color: rgba(28,43,39,.82); margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--green); color: var(--paper); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ============ STATS ============ */
.stats { background: var(--ink); color: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 44px 24px; }
.stat { text-align: center; padding: 12px; }
.stat-num { display: block; font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat-label { display: block; font-size: 0.86rem; color: rgba(251,248,241,.72); margin-top: 10px; max-width: 200px; margin-inline: auto; }

/* ============ SECTIONS ============ */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-head-center { text-align: center; max-width: 640px; margin: 0 auto 54px; }

/* ---------- Mission ---------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 72px); align-items: start; }
.mission-head { position: sticky; top: 100px; }
.mission-body p { font-size: 1.12rem; margin: 0 0 28px; }
.mission-body strong { color: var(--green-deep); }
.mission-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.mission-points li {
  padding: 18px 4px; border-top: 1px solid var(--line); font-size: 1.05rem; color: rgba(28,43,39,.8);
}
.mission-points li:last-child { border-bottom: 1px solid var(--line); }
.mission-points span { font-family: "Fraunces", serif; font-weight: 900; color: var(--green); margin-right: 12px; }

/* ---------- Domaines ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 28px 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--green); transition: width .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { width: 100%; }
.card-index { font-family: "Fraunces", serif; font-weight: 900; font-size: 0.95rem; color: var(--gold); }
.card h3 { font-size: 1.4rem; margin: 14px 0 10px; }
.card p { margin: 0; color: rgba(28,43,39,.72); font-size: 0.98rem; }

/* ---------- Actions / Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.tl-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 30px 32px; position: relative;
}
.tl-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper); background: var(--green); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.tl-badge--soft { background: var(--gold); color: var(--ink); }
.tl-item h3 { font-size: 1.35rem; margin: 0 0 12px; }
.tl-item p { margin: 0; color: rgba(28,43,39,.76); font-size: 0.98rem; }
.tl-item strong { color: var(--green-deep); }

.partner-note {
  max-width: 960px; margin: 34px auto 0; text-align: center;
  padding: 22px 28px; border: 1px dashed var(--green); border-radius: var(--r);
  background: rgba(30,122,77,.06); font-size: 0.98rem;
}
.partner-note strong { color: var(--green-deep); }

/* ---------- Adhésion ---------- */
.adhesion { background: var(--green-deep); color: var(--paper); }
.adhesion-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.adhesion-lede { font-size: 1.1rem; color: rgba(251,248,241,.86); margin: 22px 0 26px; }
.adhesion-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.adhesion-list li { position: relative; padding-left: 30px; color: rgba(251,248,241,.9); }
.adhesion-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}
.adhesion-form {
  background: var(--paper); color: var(--ink); border-radius: 22px; padding: 34px 30px;
  box-shadow: var(--shadow);
}
.adhesion-form h3 { font-size: 1.5rem; margin: 0 0 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--sand); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,122,77,.18); background: #fff;
}
.field textarea { resize: vertical; }
.form-feedback { margin: 14px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--green-deep); min-height: 1.2em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-lede { color: rgba(28,43,39,.76); font-size: 1.08rem; margin-top: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 22px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); font-weight: 600; margin-bottom: 6px; }
.contact-list a { color: var(--green-deep); font-weight: 600; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-family: "Fraunces", serif; font-size: 1.15rem; }
.footer-brand span { font-size: 0.82rem; color: rgba(251,248,241,.62); }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { text-decoration: none; color: rgba(251,248,241,.8); font-size: 0.92rem; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 22px; border-top: 1px solid rgba(251,248,241,.14); font-size: 0.82rem; color: rgba(251,248,241,.56); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 18px 24px 26px; gap: 4px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s var(--ease); box-shadow: var(--shadow);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-head { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .adhesion-inner, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gf-btn {
  font-family: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: rgba(28,43,39,.75); transition: .2s var(--ease);
}
.gf-btn:hover { border-color: var(--green); color: var(--green); }
.gf-btn.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  grid-auto-rows: 220px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer;
  background: var(--sand-deep); border: 1px solid var(--line);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(28,43,39,.85));
  color: var(--paper); font-size: 0.86rem; line-height: 1.35;
  opacity: 0; transform: translateY(8px); transition: .3s var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: none; }
.gallery-del {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border: 0; border-radius: 8px; background: rgba(182,91,60,.92); color: #fff;
  font-size: 1.1rem; line-height: 1; cursor: pointer; display: none;
}
body.is-admin .gallery-del { display: grid; place-items: center; }
.gallery-empty { grid-column: 1 / -1; text-align: center; color: rgba(28,43,39,.55); padding: 30px 0; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(20,30,27,.92); padding: 24px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.lb-figure img { max-width: 100%; max-height: 78vh; border-radius: 12px; box-shadow: var(--shadow); }
.lb-figure figcaption { color: var(--paper); margin-top: 14px; font-size: 0.95rem; }
.lb-close {
  position: fixed; top: 20px; right: 26px; width: 46px; height: 46px; border: 0;
  border-radius: 50%; background: rgba(251,248,241,.14); color: var(--paper);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lb-close:hover { background: rgba(251,248,241,.28); }

/* ============ ACTUALITÉS ============ */
.actus { background: var(--paper); }
.news-list { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.news-card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px;
  background: var(--sand); position: relative;
}
.news-date {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green);
}
.news-card h3 { font-size: 1.4rem; margin: 8px 0 10px; }
.news-card p { margin: 0; color: rgba(28,43,39,.78); }
.news-del {
  position: absolute; top: 18px; right: 18px; border: 0; background: none;
  color: var(--clay); cursor: pointer; font-size: 0.85rem; font-weight: 600; display: none;
}
body.is-admin .news-del { display: inline; }

/* ============ LIEN + PANNEAU ADMIN ============ */
.admin-link {
  background: none; border: 0; color: rgba(251,248,241,.6); cursor: pointer;
  font: inherit; font-size: 0.82rem; text-decoration: underline; padding: 0;
}
.admin-link:hover { color: var(--gold); }

.admin-overlay {
  position: fixed; inset: 0; z-index: 320; display: grid; place-items: center;
  background: rgba(20,30,27,.6); backdrop-filter: blur(4px); padding: 20px;
}
.admin-overlay[hidden] { display: none; }
.admin-panel {
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); padding: 28px;
}
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-head h2 { font-size: 1.5rem; }
.admin-close, .admin-logout {
  border: 0; background: none; cursor: pointer; font: inherit;
}
.admin-close { font-size: 1.8rem; line-height: 1; color: rgba(28,43,39,.5); }
.admin-close:hover { color: var(--ink); }
.admin-hint { color: rgba(28,43,39,.7); font-size: 0.95rem; margin: 0 0 18px; }

.admin-tabs { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-tab {
  flex: 1; min-width: 120px; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--sand); color: rgba(28,43,39,.7);
}
.admin-tab.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }

.admin-panel select {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--sand); color: var(--ink);
}
.admin-panel input[type="file"] { font-size: 0.9rem; }

.admin-logout {
  margin-top: 22px; color: var(--clay); font-weight: 600; font-size: 0.9rem;
  text-decoration: underline;
}

.members-table { font-size: 0.9rem; }
.member-row {
  padding: 14px 0; border-top: 1px solid var(--line);
}
.member-row strong { display: block; }
.member-row span { color: rgba(28,43,39,.65); }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.tall { grid-row: span 1; }
}

/* ============ FORMULAIRE DE CONTACT ============ */
.contact-info .contact-list { margin-top: 28px; }
.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px 30px; box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.5rem; margin: 0 0 22px; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--sand); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,122,77,.18); background: #fff;
}
.contact-form textarea { resize: vertical; }

/* ============================================================
   BOUTON DE LANGUE
   ============================================================ */
.lang-toggle {
  font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); transition: .2s var(--ease);
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--green); color: var(--green); }

/* ============================================================
   SUPPORT RTL (arabe)
   ============================================================ */
[dir="rtl"] body { font-family: "Segoe UI", "Noto Naskh Arabic", "Tahoma", system-ui, sans-serif; }
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title,
[dir="rtl"] .brand-text strong,
[dir="rtl"] .footer-brand strong,
[dir="rtl"] .card h3,
[dir="rtl"] .tl-item h3,
[dir="rtl"] .news-card h3,
[dir="rtl"] .adhesion-form h3,
[dir="rtl"] .contact-form h3 {
  font-family: "Noto Naskh Arabic", "Segoe UI", "Tahoma", serif;
}

/* La flèche animée pointe vers le haut ; en RTL on la garde mais on ne la retourne pas */
[dir="rtl"] .rise-arrow { transform: scaleX(-1); }
[dir="rtl"] .rise-arrow { animation: rise-float-rtl 3.4s var(--ease) infinite; }
@keyframes rise-float-rtl {
  0%, 100% { transform: scaleX(-1) translateY(0); }
  50% { transform: scaleX(-1) translateY(-9px); }
}

/* Alignements : le flux passe à droite */
[dir="rtl"] .hero-inner,
[dir="rtl"] .mission-body,
[dir="rtl"] .adhesion-copy,
[dir="rtl"] .contact-info { text-align: right; }

/* Puces des listes : passer le marqueur à droite */
[dir="rtl"] .mission-points span { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .adhesion-list li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .adhesion-list li::before { left: auto; right: 0; }

/* Cartes : la barre de survol part de la droite */
[dir="rtl"] .card::after { left: auto; right: 0; }

/* Formulaires : labels et champs alignés à droite */
[dir="rtl"] .field label,
[dir="rtl"] .adhesion-form h3,
[dir="rtl"] .contact-form h3 { text-align: right; }
[dir="rtl"] .field input,
[dir="rtl"] .field textarea,
[dir="rtl"] .admin-panel select { text-align: right; direction: rtl; }

/* Badges timeline restent lisibles */
[dir="rtl"] .tl-item,
[dir="rtl"] .news-card { text-align: right; }
[dir="rtl"] .news-del { right: auto; left: 18px; }
[dir="rtl"] .gallery-del { right: auto; left: 10px; }

/* Lightbox / admin : fermeture à gauche en RTL */
[dir="rtl"] .lb-close { right: auto; left: 26px; }

/* Panneau admin en RTL */
[dir="rtl"] .admin-panel { text-align: right; }
[dir="rtl"] .member-row { text-align: right; }

/* Header : l'ordre logique suffit avec flexbox, mais on garde le logo au début */
[dir="rtl"] .eyebrow,
[dir="rtl"] .section-eyebrow { text-align: right; }
