/* --- Admin adhérents --- */
.adherents-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
}
.adherents-table th, .adherents-table td {
  padding: 0.7em 1em;
  border-bottom: 1px solid #e3e8e0;
  text-align: left;
}
.adherents-table th {
  background: #f8faf7;
  color: #2e5c1a;
  font-weight: 600;
}
.adherents-table tr:last-child td {
  border-bottom: none;
}
.btn--round {
  border-radius: 24px !important;
  padding-left: 1.2em !important;
  padding-right: 1.2em !important;
}
.admin-form input[type="url"] {
  font-family: monospace;
}
.admin-form img {
  display: block;
  margin: 0.5rem auto;
}
/* --- Améliorations admin articles --- */
.admin-form {
  background: #f8faf7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 2rem;
  max-width: 500px;
  margin: 2rem auto;
}
.admin-form .btn-row {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.admin-articles-list {
  margin-bottom: 2rem;
}
.admin-article-card {
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(46,92,26,0.07);
  border-left: 4px solid #2e5c1a;
}
.admin-article-card h3 {
  font-size: 1.1rem;
  color: #2e5c1a;
  margin-bottom: 0.5rem;
}
.admin-article-card .btn-row {
  margin-top: 1rem;
  gap: 0.5rem;
}
.btn--danger {
  background: #d32f2f;
  color: #fff;
  border: none;
}
.btn--danger:hover {
  background: #b71c1c;
}
/* --- Admin articles --- */
.admin-articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.admin-article-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e3e8e0;
}
.admin-article-photo {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 1rem;
}
.admin-form label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}
.admin-form input, .admin-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #e3e8e0;
  font-size: 1rem;
}
/* Photo dans les articles d'actualité */
.article-photo {
  width: 100%;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.article-photo img {
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* --- Actualité --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.article-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e3e8e0;
}
.article-card h3 {
  color: #2e5c1a;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.article-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1rem;
}
.article-content {
  font-size: 1rem;
  color: #333;
}
/* --- Créneaux d'activité --- */
.creneaux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.creneau-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.creneau-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.creneau-card h3 {
  color: #2e5c1a;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.creneau-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  width: 100%;
}
.creneau-card li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #333;
}
.creneau-card b {
  color: #2e5c1a;
  font-weight: 500;
}
.creneau-card {
  border: 1px solid #e3e8e0;
}
/* Onglet actif dans la navigation principale */
.navlinks a.active {
  background: var(--brand-200);
  color: var(--brand-700);
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(47,93,30,0.08);
  border-radius: 12px;
  padding: 0.5em 1.2em;
  transition: background 0.2s;
}
/* Amélioration de la mise en page des infos contact dans les cartes membres */
.member-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  align-items: center;
}
:root{
  --bg:#fff; --surface:#f8fafc; --text:#0f172a; --muted:#64748b; --line:#e2e8f0;
  --brand:#2f5d1e; --brand-600:#224616; --brand-200:#cfe5c6;
  --primary:var(--brand); --primary-600:#224616; --primary-contrast:#fff;
  --radius-sm:10px; --radius:14px; --radius-lg:18px;
  --shadow-sm:0 1px 4px rgba(0,0,0,.06); --shadow:0 10px 30px rgba(0,0,0,.08);
  --font:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  --fs-hero:clamp(32px,5vw,56px);
  --topbar-h:64px;
}

*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font:16px/1.6 var(--font);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  padding-top:var(--topbar-h);
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
:where(a,button,[role="button"]):focus-visible{outline:3px solid #93c5fd; outline-offset:2px; border-radius:10px}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important}
}

.container{width:min(1100px,92%); margin-inline:auto}
.section{padding:72px 0}
.section--alt{background:var(--surface)}
.muted{color:var(--muted)}

.skip-link{position:absolute; left:-9999px}
.skip-link:focus{
  left:1rem; top:1rem; z-index:999;
  background:var(--primary); color:var(--primary-contrast);
  padding:.6rem 1rem; border-radius:10px; box-shadow:var(--shadow)
}

.topbar{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:#fff;
  background: color-mix(in srgb, #fff 100%, transparent);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(160%) blur(8px);
}
.topbar .nav{
  min-height:64px; display:flex; align-items:center; justify-content:center; gap:24px; padding:0 20px
}
.navlinks{display:flex; gap:20px; align-items:center; flex-wrap:wrap}
.navlinks a{
  padding:10px 14px; border-radius:10px; color:var(--brand);
  text-transform:uppercase; letter-spacing:.4px; font-weight:800; position:relative
}
.navlinks a::after{
  content:""; position:absolute; left:10px; right:10px; bottom:6px; height:3px;
  background:transparent; border-radius:2px; transition:background .2s
}
.navlinks a:hover::after,
.navlinks a[aria-current="page"]::after{ background:var(--brand) }
.navlinks a:hover{
  background:#f1f5f9;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}
.navlinks .btn--primary{
  background:var(--primary); color:var(--primary-contrast); border:1px solid var(--brand-600);
  font-weight:700; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); transition:.2s
}
.navlinks .btn--primary:hover{ background:var(--primary-600); transform:translateY(-2px); box-shadow:var(--shadow) }
.navlinks .btn--primary:active{ transform:translateY(0); box-shadow:var(--shadow-sm) }
section[id]{scroll-margin-top:calc(var(--topbar-h) + 16px)}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 16px; border-radius:var(--radius); border:1px solid var(--line);
  background:#fff; cursor:pointer; font-weight:600; transition:.2s; box-shadow:var(--shadow-sm)
}
.btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow) }
.btn--sm{ padding:6px 12px; font-size:.9rem; border-radius:var(--radius-sm) }
.btn--outline{ background:transparent; color:var(--brand); border:1px solid var(--brand) }
.btn--ghost{ background:transparent; color:var(--brand); border:none }
.btn--primary{ background:var(--primary); color:var(--primary-contrast); border:1px solid var(--brand-600) }
.btn--primary:hover{ background:var(--primary-600) }

.hero{position:relative; text-align:center; color:#fff; border-bottom:1px solid var(--line)}
.hero--image{height:clamp(320px,70vh,600px); background:url("images/pexels-pixabay-236973.jpg") center/cover no-repeat}
.hero__overlay{position:absolute; inset:0; background:rgba(0,0,0,.45); z-index:1}
.hero__content{position:relative; z-index:2; top:50%; transform:translateY(-50%)}
.hero h1{margin:0 0 12px; font-size:var(--fs-hero); font-weight:800; text-shadow:0 2px 4px rgba(0,0,0,.35)}
.hero .lead{font-size:1.2rem; max-width:800px; margin:0 auto; text-shadow:0 1px 3px rgba(0,0,0,.35)}

.tiles{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; margin-top:18px}
.tile{padding:18px; border:none; border-radius:var(--radius); background:#fff; transition:.2s; display:block; box-shadow:var(--shadow-sm)}
.tile:hover{transform:translateY(-3px); box-shadow:var(--shadow)}
.tile h3{margin:0 0 6px}
.tile p{margin:0; color:var(--muted); font-size:14px}

.section > h2,
.section > .container > h2{
  text-align:center; font-weight:800; color:var(--brand);
  font-size:clamp(1.6rem,2.5vw,2.2rem); margin:0 0 28px;
}
.section > h2::after,
.section > .container > h2::after{
  content:""; display:block; width:160px; height:4px; margin:12px auto 0;
  background:var(--brand); border-radius:2px;
}

.prose{max-width:70ch; margin-inline:auto}
.prose p{margin:.75rem 0; max-width:70ch; white-space:normal; word-break:normal}
.prose .lead-p{font-size:1.05rem; line-height:1.8; color:var(--text); max-width:62ch}
.prose h1,.prose h2{
  font-size:1.35rem; line-height:1.35; color:var(--text); font-weight:700;
  margin:1.2rem 0 .6rem; text-align:left; border:0
}
.prose h3{margin:1.2rem 0 .6rem; font-size:1.1rem; line-height:1.35; font-weight:700}
.prose ul{padding-left:1.1rem; margin:.6rem 0 .9rem}
.prose li{display:list-item; white-space:normal; word-break:normal; line-height:1.6; margin:.35rem 0}
.prose .rule{height:1px; border:0; background:linear-gradient(to right,transparent,var(--line),transparent); margin:1rem 0 1.2rem}
.prose .callout{margin:1rem 0; padding:.9rem 1rem; background:#f4f8f3; border:1px solid var(--brand-200); border-left:4px solid var(--brand); border-radius:10px; color:#0f172a}
.prose .callout p{margin:.4rem 0}
.prose strong{font-weight:700}

.cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px}
.card{text-align:center; background:#fff; border:1px solid var(--brand-200); border-radius:var(--radius); padding:16px; transition:.2s; box-shadow:var(--shadow-sm)}
.card:hover{transform:translateY(-2px); box-shadow:var(--shadow)}
.card img{width:160px; height:160px; object-fit:cover; border-radius:12px; margin:0 auto 10px; background:var(--surface)}
.card h3{margin:6px 0 2px; font-size:18px}
.card .meta{color:var(--muted); font-size:14px; margin-bottom:4px}

.agenda-controls{display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 14px}
.gcal-wrap{
  position:relative; width:100%; aspect-ratio:16/10; border:1px solid var(--line);
  border-radius:var(--radius-lg); overflow:hidden; background:var(--surface); box-shadow:var(--shadow)
}
#gcal{position:absolute; inset:0; width:100%; height:100%; border:0}

.table-wrap{overflow:auto; border:1px solid var(--line); border-radius:12px; background:#fff; margin:14px 0 18px}
.table{width:100%; border-collapse:collapse; min-width:720px}
.table th,.table td{padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top}
.table thead th{background:var(--surface); text-align:left; font-weight:700}
.table tbody tr:hover{background:rgba(0,0,0,.02)}

.footer{padding:28px 0; border-top:1px solid var(--line); background:#fafafa; background:color-mix(in srgb,var(--bg) 96%, transparent)}
.footer__grid{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap}

@media (max-width:960px){ .section{padding:56px 0} }
@media (max-width:620px){ .section{padding:44px 0} }

@media print{
  :root{--bg:#fff; --text:#000; --line:#e5e7eb}
  body{background:#fff; color:#000}
  .topbar, .agenda-controls, .gcal-wrap, .btn, .tile:hover{box-shadow:none!important}
  .topbar{position:static}
  a{text-decoration:underline}
}

#pratiques-content.prose{ max-width:100%; }

.doc-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(320px, 1fr));
  gap:22px;
  align-items:stretch;
}
@media (max-width:980px){
  .doc-grid{ grid-template-columns:1fr; }
}

.cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
  justify-items:center;
}

.member-card{
  width:100%;
  max-width: 320px;
  text-align:center;
  background:#fff;
  border:1px solid var(--brand-200);
  border-radius:20px;
  padding:18px 18px 16px;
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.member-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand-200) 40%, transparent);
}

.avatar{
  width:120px; height:120px; border-radius:999px;
  margin:6px auto 10px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; position:relative;
  outline:6px solid #fff;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.avatar img{ width:100%; height:100%; object-fit:cover; display:block }
.avatar--fallback{
  background: linear-gradient(180deg, var(--brand-200), #e9f3e4);
  color: var(--brand-600);
  font-weight:800; font-size:2rem;
}

.member-card h3{ margin:6px 0 2px; font-size:1.05rem; font-weight:800 }
.badge{
  display:inline-block;
  padding:4px 10px;
  margin:2px 0 8px;
  border-radius:999px;
  background: color-mix(in srgb, var(--brand) 10%, white);
  color: var(--brand-600);
  font-size:.85rem; font-weight:700;
}
@media (min-width: 1280px){
  .cards{ gap:28px }
  .member-card{ max-width: 340px }
}

.bureau-subtitle{
  margin-top: 2.5rem;
}

.bureau-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bureau-grid .member-card{
  max-width: none;
}

@media (max-width: 980px){
  .bureau-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .bureau-grid{
    grid-template-columns: 1fr;
  }
}

.doc-card .btn-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.btn--full {
  width: 100%;
  justify-content: center;
}
.btn--soft {
  background: var(--primary);
  border: 1px solid var(--brand-600);
  color: var(--primary-contrast);
  justify-content: center;
}
.btn--soft:hover {
  background: var(--primary-600);
  border-color: var(--brand-600);
  color: var(--primary-contrast);
}

.contact-card{
  margin-top: 2rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:1.25rem;
}

.contact-card h3{
  margin:0 0 1rem;
}

.contact-card label{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  margin-bottom:.9rem;
  font-weight:600;
}

.contact-card input,
.contact-card textarea{
  border:1px solid var(--line);
  border-radius:10px;
  padding:.7rem .75rem;
  font:inherit;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1rem;
}

.hidden-field{
  position:absolute;
  left:-9999px;
}

@media (max-width: 700px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   Refonte visuelle (octobre 2026)
   Ces règles viennent après les anciennes et les complètent.
   ========================================================= */
:root{
  --surface:#f5f8f3;
  --brand-50:#eef5ea;
  --accent:#e9b949;
  --topbar-h:72px;
}
html, body{ height:auto }
body{ background:#fff; min-height:100vh; display:flex; flex-direction:column }
body > main{ flex:1 0 auto; display:flex; flex-direction:column }
body > main > .section:last-child{ flex:1 0 auto }
#articles-list.prose, #creneaux-content.prose{ max-width:none }
h1,h2,h3{ letter-spacing:-.01em }

/* ---- En-tête ---- */
.topbar{ box-shadow:0 1px 0 var(--line), 0 6px 20px rgba(15,23,42,.04); border-bottom:0 }
.topbar .nav{
  width:min(1240px,100%); margin-inline:auto; min-height:var(--topbar-h);
  justify-content:space-between; gap:16px; padding:0 20px;
}
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; color:var(--brand-600) }
.brand img{ width:62px; height:40px; object-fit:contain }
.brand span{ display:flex; flex-direction:column; font-weight:800; font-size:1.02rem; line-height:1.15 }
.brand small{ font-weight:600; font-size:.72rem; color:var(--muted); letter-spacing:.02em }
.navlinks{ gap:2px; flex-wrap:nowrap }
.navlinks a{
  font-size:.82rem; letter-spacing:.03em; font-weight:700; padding:9px 11px;
  color:#355a26; white-space:nowrap;
}
.navlinks a::after{ display:none }
.navlinks a:hover{ background:var(--brand-50) }
.navlinks a.active{
  background:var(--brand-50); color:var(--brand-600); box-shadow:none;
  padding:9px 11px; border-radius:10px; font-weight:800;
}
.navlinks .btn--primary{ margin-left:8px; padding:9px 14px; border-radius:999px }
.navlinks .btn--primary:hover{ transform:none }

.nav-toggle{
  display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:12px;
  background:#fff; cursor:pointer; position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:11px; right:11px; height:2px; background:var(--brand-600);
  border-radius:2px; transition:transform .2s, opacity .2s;
}
.nav-toggle span{ top:21px }
.nav-toggle span::before{ left:0; right:0; top:-7px }
.nav-toggle span::after{ left:0; right:0; top:7px }
.topbar.is-open .nav-toggle span{ background:transparent }
.topbar.is-open .nav-toggle span::before{ transform:translateY(7px) rotate(45deg) }
.topbar.is-open .nav-toggle span::after{ transform:translateY(-7px) rotate(-45deg) }

@media (max-width:1180px){
  .nav-toggle{ display:block }
  .navlinks{
    display:none; position:absolute; top:var(--topbar-h); left:0; right:0;
    flex-direction:column; align-items:stretch; gap:2px; padding:10px 16px 16px;
    background:#fff; border-bottom:1px solid var(--line); box-shadow:0 16px 30px rgba(15,23,42,.08);
    max-height:calc(100vh - var(--topbar-h)); overflow-y:auto;
  }
  .topbar.is-open .navlinks{ display:flex }
  .navlinks a, .navlinks a.active{ font-size:.95rem; padding:12px 14px }
  .navlinks .btn--primary{ margin:8px 0 0; justify-content:center }
}

/* ---- Titres de section ---- */
.section > h2, .section > .container > h2, .section.container > h2{
  text-align:center; font-weight:800; color:var(--brand);
  font-size:clamp(1.6rem,2.6vw,2.2rem); margin:0 0 32px;
}
.section > h2::after, .section > .container > h2::after{
  width:56px; height:4px; margin:14px auto 0; background:var(--accent);
}
.bureau-subtitle{ margin-top:3.5rem !important }

/* ---- Boutons ---- */
.btn{ font:inherit; font-weight:700 }
.btn--lg{ padding:13px 22px; font-size:1.02rem; border-radius:999px }
.btn--light{ background:#fff; color:var(--brand-600); border:1px solid #fff }
.btn--light:hover{ background:var(--brand-50) }
.btn-row{ display:flex; flex-wrap:wrap; gap:.75rem }

/* ---- Accueil ---- */
.home-hero{
  position:relative; color:#fff; text-align:left;
  min-height:clamp(420px,72vh,640px); display:flex; align-items:flex-end;
  background:
    linear-gradient(90deg, rgba(16,40,10,.82) 0%, rgba(16,40,10,.55) 45%, rgba(16,40,10,.05) 100%),
    url("images/hero-rando.jpg") center 60%/cover no-repeat;
}
.home-hero__content{ padding:72px 0 64px }
.home-hero__kicker{
  display:inline-block; margin:0 0 14px; padding:5px 12px; border-radius:999px;
  background:rgba(255,255,255,.16); backdrop-filter:blur(4px);
  font-size:.82rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
}
.home-hero h1{
  margin:0 0 14px; max-width:20ch; font-size:clamp(2.3rem,5.5vw,4rem); line-height:1.05; font-weight:800;
  text-shadow:0 2px 12px rgba(0,0,0,.25);
}
.home-hero .lead{ max-width:56ch; margin:0 0 26px; font-size:1.12rem; color:rgba(255,255,255,.92) }
@media (max-width:700px){
  .home-hero{
    background:
      linear-gradient(180deg, rgba(16,40,10,.55) 0%, rgba(16,40,10,.85) 55%, rgba(16,40,10,.92) 100%),
      url("images/hero-rando.jpg") 65% center/cover no-repeat;
  }
  .home-hero__content{ padding:48px 0 40px }
  .home-hero .lead{ font-size:1.02rem }
}

.activity-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px }
.activity-card{
  display:block; padding:24px 22px; border-radius:18px; background:#fff;
  border:1px solid var(--line); box-shadow:var(--shadow-sm); transition:transform .18s, box-shadow .18s, border-color .18s;
}
.activity-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--brand-200) }
.activity-card__icon{
  display:grid; place-items:center; width:52px; height:52px; border-radius:14px;
  background:var(--brand-50); font-size:1.6rem; margin-bottom:14px;
}
.activity-card h3{ margin:0 0 6px; font-size:1.1rem; color:var(--brand-600) }
.activity-card p{ margin:0; color:var(--muted); font-size:.95rem; line-height:1.5 }
@media (max-width:960px){ .activity-grid{ grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:560px){ .activity-grid{ grid-template-columns:1fr } }

.label-block{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center }
.label-block__logo{ width:170px; margin:0 0 18px }
.label-block h2{ margin:0 0 12px; color:var(--brand); font-size:clamp(1.5rem,2.4vw,2rem); font-weight:800 }
.label-block p{ margin:0 0 10px; font-size:1.05rem }
.label-block__diplome{
  width:100%; max-width:520px; justify-self:center; border-radius:14px;
  box-shadow:0 18px 40px rgba(15,23,42,.14); transform:rotate(1.2deg); background:#fff;
}
@media (max-width:800px){ .label-block{ grid-template-columns:1fr; gap:28px; text-align:center } .label-block__logo{ margin-inline:auto } }

.logos-grid{
  list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; justify-content:center; gap:24px;
}
.logos-grid figure{
  margin:0; width:280px; padding:22px; text-align:center; background:#fff;
  border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-sm);
}
.logos-grid img{ height:110px; width:100%; object-fit:contain; margin:0 auto 12px }
.logos-grid figcaption{ font-weight:700; color:var(--text) }

/* ---- Actualité ---- */
.articles-grid{ grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:24px }
.article-card{ padding:0; overflow:hidden; border-radius:18px; border:1px solid var(--line); transition:transform .18s, box-shadow .18s }
.article-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow) }
.article-card > :not(.article-photo){ padding-inline:22px }
.article-card h3{ margin:18px 0 4px; font-size:1.12rem; line-height:1.35 }
.article-date{ font-size:.85rem; color:var(--muted); margin-bottom:10px }
.article-content{ padding-bottom:22px; font-size:.97rem; line-height:1.6; color:#334155 }
.article-photo{ margin:0; display:block; aspect-ratio:16/10; background:var(--surface) }
.article-photo img{ width:100%; height:100%; max-height:none; object-fit:cover; border-radius:0; box-shadow:none }

/* ---- Créneaux ---- */
.creneaux-grid{ grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:20px }
.creneau-card{ padding:22px; border-radius:18px; border:1px solid var(--line); border-top:4px solid var(--brand) }
.creneau-card:hover{ box-shadow:var(--shadow) }
.creneau-when{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px }
.creneau-day, .creneau-time{ padding:4px 12px; border-radius:999px; font-size:.85rem; font-weight:700 }
.creneau-day{ background:var(--brand); color:#fff }
.creneau-time{ background:var(--brand-50); color:var(--brand-600) }
.creneau-card h3{ margin:0 0 12px; font-size:1.15rem; line-height:1.35 }
.creneau-card ul{ margin:0; padding:0; display:grid; gap:8px }
.creneau-card li{ margin:0; display:grid; grid-template-columns:92px 1fr; gap:8px; font-size:.95rem; line-height:1.5 }
.creneau-card li b{ color:var(--muted); font-weight:600; font-size:.85rem; padding-top:1px }

/* ---- Infos pratiques ---- */
.doc-grid{ gap:20px }
.doc-card{
  background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px;
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
}
.doc-card-header{ display:flex; align-items:center; gap:12px; margin-bottom:6px }
.doc-card-header .icon{
  display:grid; place-items:center; width:46px; height:46px; flex-shrink:0;
  border-radius:12px; background:var(--brand-50); font-size:1.4rem;
}
.doc-card-header h3{ margin:0; font-size:1.12rem; color:var(--brand-600) }
.doc-card .btn-row, .doc-card .btn-stack{ margin-top:auto; padding-top:12px }
#pratiques-content.prose{ max-width:100% }
@media (max-width:560px){ .doc-grid{ grid-template-columns:1fr } }

/* ---- Calendrier ---- */
.gcal-wrap{ aspect-ratio:auto; height:clamp(520px,75vh,760px); border-radius:18px }

/* ---- Bureau ---- */
.member-card{ border-color:var(--line); border-radius:18px }
.member-contact a{ color:#334155; font-size:.93rem; word-break:break-word }
.member-contact a:hover{ color:var(--brand) }

/* ---- Vie du club ---- */
.prose{ font-size:1.02rem }
.prose h2, .prose h3{ color:var(--brand-600) }

/* ---- Contact ---- */
.contact-info, .contact-card{ border-radius:18px; box-shadow:var(--shadow-sm) }
.contact-card input:focus, .contact-card textarea:focus{ outline:2px solid var(--brand-200); border-color:var(--brand) }

/* ---- Pied de page ---- */
.footer{ background:#17320f; color:#d9e6d3; border-top:0; padding:40px 0 32px; margin-top:0 }
.footer__grid{ align-items:flex-start }
.footer strong{ color:#fff; font-size:1.05rem }
.footer a{ color:#d9e6d3 }
.footer a:hover{ color:#fff; text-decoration:underline }
.footer__brand{ line-height:1.7 }
.footer__links{ display:flex; flex-wrap:wrap; gap:6px 20px; padding-top:4px }
.footer__end{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; color:#a9c0a0 }
.footer .btn--ghost{ color:#fff; border:1px solid rgba(255,255,255,.3); box-shadow:none; background:transparent }
.footer .btn--ghost:hover{ background:rgba(255,255,255,.08); text-decoration:none; transform:none }
@media (max-width:700px){ .footer__end{ align-items:flex-start } }

/* Articles longs repliés (bouton « Lire la suite ») */
.articles-grid{ align-items:start }
.article-content.is-clamped{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:6; line-clamp:6; overflow:hidden;
  padding-bottom:0; margin-bottom:22px;
}
.article-more{
  align-self:flex-start; margin:-10px 22px 20px; padding:6px 14px; border-radius:999px;
  border:1px solid var(--brand-200); background:var(--brand-50); color:var(--brand-600);
  font:inherit; font-size:.9rem; font-weight:700; cursor:pointer;
}
.article-more:hover{ background:var(--brand-200) }
.article-more[hidden]{ display:none }

/* Infos pratiques : texte saisi dans l'administration */
.doc-card-body > :first-child{ margin-top:.6rem }
.doc-card-body > :last-child{ margin-bottom:0 }
.doc-card-body a{ color:var(--brand); text-decoration:underline }
.doc-card .btn-stack{ display:flex; flex-direction:column; gap:.6rem }

/* Partie à imprimer sous un article (coupon, bulletin…) */
.article-coupon{
  align-self:stretch; margin:0 22px 22px; padding:16px 18px 18px; border:2px dashed var(--brand-200);
  border-radius:12px; background:#fff;
}
.coupon-body{ font-size:.95rem; line-height:1.55; margin-top:10px }
.coupon-details summary{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  cursor:pointer; list-style:none;
}
.coupon-details summary::-webkit-details-marker{ display:none }
.coupon-title{ font-weight:800; color:var(--brand-600); letter-spacing:.02em }
.coupon-toggle{
  flex:none; padding:4px 12px; border-radius:999px; border:1px solid var(--brand-200);
  background:var(--brand-50); color:var(--brand-600); font-size:.85rem; font-weight:700;
}
.coupon-toggle::after{ content:"Afficher" }
.coupon-details[open] .coupon-toggle::after{ content:"Masquer" }
.coupon-details summary:hover .coupon-toggle{ background:var(--brand-200) }
.coupon-gap{ height:.6em }
.coupon-check{ display:flex; align-items:flex-start; gap:10px; margin:4px 0 }
.coupon-box{ flex:none; width:16px; height:16px; margin-top:3px; border:2px solid currentColor; border-radius:3px }
.coupon-field{ display:flex; align-items:flex-end; gap:8px; margin:10px 0 }
.coupon-fill{ flex:1; min-width:60px; border-bottom:1px dotted currentColor; transform:translateY(-4px) }
.coupon-print{ margin-top:14px; display:inline-flex; align-items:center; gap:8px }

@media print{
  body.printing-coupon *:not(.print-path):not(.is-printing):not(.is-printing *){ display:none !important }
  body.printing-coupon .print-path{
    display:block !important; margin:0 !important; padding:0 !important; border:0 !important;
    box-shadow:none !important; background:none !important; transform:none !important; min-height:0 !important;
  }
  body.printing-coupon .article-coupon.is-printing{ margin:0; border-color:#000; color:#000; break-inside:avoid }
  body.printing-coupon .coupon-title{ color:#000 }
  body.printing-coupon .coupon-toggle{ display:none !important }
  body.printing-coupon .coupon-print{ display:none !important }
}

/* Vie du club : bandeau d'introduction et blocs */
.club-hero{
  background:
    radial-gradient(900px 300px at 85% 0%, rgba(233,185,73,.18), transparent 60%),
    linear-gradient(180deg, var(--brand-50), #fff);
  border-bottom:1px solid var(--line);
}
.club-hero__inner{ padding:56px 0 44px; text-align:center; max-width:760px }
.club-hero__kicker{
  margin:0 0 6px; text-transform:uppercase; letter-spacing:.14em; font-size:.8rem; font-weight:700; color:var(--brand);
}
.club-hero h1{ margin:0 0 18px; font-size:clamp(2rem, 4vw, 2.7rem); color:var(--brand-600) }
.club-hero h1::after{ content:""; display:block; width:56px; height:4px; margin:14px auto 0; border-radius:2px; background:var(--accent) }
.club-intro{ font-size:1.12rem; line-height:1.75; color:var(--text) }
.club-intro p{ margin:.4rem 0 }
.club-intro strong{ color:var(--brand-600) }

.club-grid{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:24px; align-items:stretch }
.club-card{
  background:#fff; border:1px solid var(--line); border-radius:18px; padding:26px 28px;
  box-shadow:0 2px 10px rgba(15,23,42,.05);
}
.club-grid > .club-card:nth-of-type(odd):last-of-type{ grid-column:1 / -1 }
.club-card h3{
  display:flex; align-items:center; gap:12px; margin:0 0 14px; font-size:1.25rem; color:var(--brand-600);
}
.club-icon{
  flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:12px;
  background:var(--brand-50); border:1px solid var(--brand-200); font-size:1.35rem;
}
.club-card p{ margin:.5rem 0; line-height:1.65 }
.club-card ul{ list-style:none; padding:0; margin:.4rem 0 0 }
.club-card li{ position:relative; padding:9px 0 9px 26px; line-height:1.55; border-top:1px solid var(--line) }
.club-card li:first-child{ border-top:0 }
.club-card li::before{
  content:""; position:absolute; left:4px; top:17px; width:9px; height:9px; border-radius:50%;
  background:var(--brand); box-shadow:0 0 0 4px var(--brand-50);
}
.club-card li.has-label > strong:first-child{ display:block; color:var(--brand-600) }
.club-card strong{ color:var(--brand-600) }
.club-card li p{ margin:0 }
.club-quote{ margin:0; padding:0; border:0; background:none }
.club-quote > p:first-child{ font-weight:600 }

.club-note{
  grid-column:1 / -1; padding:18px 22px; border-radius:14px; text-align:center;
  background:#fff8e6; border:1px solid #f3dc9f; color:#4a3b10; font-size:1.02rem;
}
.club-note p{ margin:.3rem 0 }
.club-note .club-quote > p:first-child{ font-weight:700; font-size:1.08rem }

@media (max-width:820px){
  .club-grid{ grid-template-columns:1fr }
  .club-hero__inner{ padding:40px 0 32px }
  .club-card{ padding:22px 20px }
}
