/* Site 1.0.38 (Rudy) : page Asso refaite. Même famille que l'accueil : bandeau vert sans bouton,
   puis des parties qui alternent papier blanc, sauge, vert profond et sable. */
html body main.asso38 { box-sizing: border-box; display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; padding: 14px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); color: #0b2e22; font: 400 16.5px/1.55 Arial, Helvetica, sans-serif; }
.asso38 h2 { margin: 0 0 14px; color: #0b3d2c; font: 800 clamp(21px, 2.6vw, 26px)/1.2 Arial, Helvetica, sans-serif; text-wrap: balance; }
.asso38 h3 { margin: 0 0 6px; color: #0b3d2c; font: 800 17px/1.3 Arial, Helvetica, sans-serif; }
.asso38 p { margin: 0; }
.asso38 a { color: #1f6b45; font-weight: 700; }

/* Bandeau */
.asso38-tete { display: grid; justify-items: center; gap: 10px; padding: 36px 24px 30px; border-radius: 20px; background: #0b3d2c; color: #fffaf0; text-align: center; box-shadow: inset 0 0 0 1px rgba(255, 250, 240, .14), 0 18px 40px rgba(10, 52, 38, .22); }
.asso38-sur { color: #f2c531; font: 800 12.5px/1.3 Arial, Helvetica, sans-serif !important; letter-spacing: .14em; text-transform: uppercase; }
.asso38-tete h1 { margin: 0; color: #fffaf0; font: 900 clamp(30px, 5.4vw, 52px)/1.05 Arial, Helvetica, sans-serif; letter-spacing: -.01em; text-wrap: balance; }
.asso38-chapo { max-width: 40ch; color: #e6eee4; font-size: 17.5px; text-wrap: balance; }
.asso38-chapo span { white-space: nowrap; }
.asso38-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 640px); margin: 12px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 250, 240, .16); list-style: none; }
.asso38-chiffres li { display: grid; gap: 2px; padding: 0 10px; }
.asso38-chiffres li + li { border-left: 1px solid rgba(255, 250, 240, .16); }
.asso38-chiffres b { color: #f2c531; font: 900 clamp(20px, 3vw, 28px)/1.1 Arial, Helvetica, sans-serif; white-space: nowrap; }
.asso38-chiffres span { color: #cfdccc; font-size: 13.5px; line-height: 1.35; }

/* Parties */
.asso38-bloc { padding: 24px; border-radius: 16px; }
.asso38-papier { background: #fffdf8; border: 1px solid #e7e0cc; }
.asso38-sauge { background: #f1f4ea; border: 1px solid #d0dac5; }
.asso38-sable { background: #f7f0de; border: 1px solid #e6d8b3; }
.asso38-vert { background: #0b3d2c; color: #fffaf0; box-shadow: inset 0 0 0 1px rgba(255, 250, 240, .10); }
.asso38-vert h2 { color: #fffaf0; }
.asso38-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.asso38-case { padding: 16px 18px; border-left: 4px solid #f2c531; border-radius: 4px 12px 12px 4px; background: #f6f3ea; }
.asso38-adhesion { margin-top: 14px !important; padding: 14px 18px; border-radius: 12px; background: #0b3d2c; color: #e6eee4; }
.asso38-adhesion strong { color: #f2c531; }

.asso38-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.asso38-points li { padding: 14px 16px; border-radius: 12px; background: #fffdf8; box-shadow: 0 1px 0 rgba(11, 61, 44, .06); }
.asso38-points strong { color: #0b3d2c; }
.asso38-suite { margin-top: 14px !important; text-align: right; }

.asso38-bureau { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.asso38-bureau li { display: grid; justify-items: center; gap: 2px; text-align: center; }
.asso38-bureau img { width: min(100%, 190px); height: auto; margin-bottom: 10px; border-radius: 10px; box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.asso38-role { color: #f2c531; font: 800 12px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.asso38-bureau strong { color: #fffaf0; font: 800 18px/1.25 Arial, Helvetica, sans-serif; }
.asso38-qui { color: #cfdccc; font-size: 14px; }
.asso38-identite { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid rgba(255, 250, 240, .14); color: #cfdccc; font-size: 14px; text-align: center; }

.asso38-fin { align-items: stretch; }
.asso38-fin > .asso38-bloc { display: grid; align-content: start; gap: 10px; }
.asso38-fin h2 { margin-bottom: 4px; }
.asso38-contacts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.asso38-contacts li { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ece6d4; }
.asso38-contacts li:last-child { border-bottom: 0; }
.asso38-contacts span { color: #5b6f64; font: 800 12px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.asso38-contacts a { overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .asso38-deux, .asso38-points { grid-template-columns: 1fr; }
  .asso38-bureau { gap: 10px; }
  .asso38-bureau strong { font-size: 15px; }
  .asso38-qui { font-size: 12.5px; }
}
@media (max-width: 480px) {
  html body main.asso38 { gap: 14px; }
  .asso38-tete { padding: 26px 16px 22px; }
  .asso38-bloc { padding: 18px 16px; }
  .asso38-chapo { font-size: 16px; }
  .asso38-chiffres li { padding: 0 6px; }
  .asso38-chiffres span { font-size: 12px; }
  .asso38-contacts li { grid-template-columns: 1fr; gap: 2px; }
}

/* Neutralise les marges des anciennes feuilles de la page. */
html body main.asso38 section { margin: 0 !important; }
html body main.asso38 ul { margin-block: 0; }
@media (max-width: 480px) {
  .asso38-chiffres { grid-template-columns: 1fr; gap: 8px; width: 100%; text-align: left; }
  .asso38-chiffres li { grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 0 4px; }
  .asso38-chiffres li + li { border-left: 0; padding-top: 8px; border-top: 1px solid rgba(255, 250, 240, .12); }
  .asso38-chiffres b { font-size: 22px; }
  .asso38-chiffres span { font-size: 13.5px; }
}

/* 1.0.39 (Rudy) : le bandeau dit simplement nos samedis (un tournoi en individuel, un Intercafés par équipe).
   Plus de surtitre ni de chiffres ; adhésion en note, sans fond vert. */
.asso38-samedis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 720px); margin: 14px 0 0; padding: 0; list-style: none; }
.asso38-samedis li { display: grid; gap: 3px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 250, 240, .07); box-shadow: inset 0 0 0 1px rgba(255, 250, 240, .14); }
.asso38-samedis span { color: #f2c531; font: 800 12px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.asso38-samedis strong { color: #fffaf0; font: 900 clamp(19px, 2.4vw, 24px)/1.15 Arial, Helvetica, sans-serif; }
.asso38-samedis em { color: #cfdccc; font-style: normal; font-size: 14.5px; line-height: 1.4; }
.asso38-seul { margin-top: 14px !important; }
.asso38 .asso38-adhesion { margin-top: 10px !important; padding: 12px 0 0; border-top: 1px solid #ece6d4; border-radius: 0; background: none; color: #4a6157; font-size: 14.5px; }
.asso38 .asso38-adhesion a { white-space: nowrap; }
@media (max-width: 560px) { .asso38-samedis { grid-template-columns: 1fr; } }
.asso38 .asso38-chapo { max-width: 56ch; }

/* 1.0.58 (Rudy) : cadre du haut clair (plus de vert foncé) et frise de l'alternance des samedis. */
html body .asso38 .asso38-tete { background: #fffdf7; color: #0e2a21; border: 1px solid #e3dac3; box-shadow: 0 6px 20px rgba(14, 42, 33, .08); background-image: none; }
html body .asso38 .asso38-tete h1 { color: #0e2a21; }
html body .asso38 .asso38-tete .asso38-chapo, html body .asso38 .asso38-tete .asso38-chapo span { color: #3b5a4c; }
html body .asso58-alt-titre { margin: 10px 0 0; font: 800 13px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #6b5a2e; }
html body .asso58-frise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 640px; counter-reset: s; }
html body .asso58-frise li { position: relative; display: grid; gap: 4px; justify-items: center; padding: 12px 4px 10px; border-radius: 12px; text-align: center; }
html body .asso58-frise li small { font: 700 10.5px/1.15 Arial, Helvetica, sans-serif; color: #5a6b62; }
html body .asso58-frise li strong { font: 900 clamp(12px, 3.4vw, 17px)/1.1 Arial, Helvetica, sans-serif; color: #0e2a21; }
html body .asso58-frise li.asso58-to { background: #f8edc6; border: 1px solid #ecd78f; }
html body .asso58-frise li.asso58-ic { background: #dceadb; border: 1px solid #b9d3b8; }
html body .asso58-frise li + li::before { content: "›"; position: absolute; left: -7px; top: 50%; transform: translateY(-50%); font: 900 16px/1 Arial, sans-serif; color: #9aa79f; }
html body .asso58-legende { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; color: #3b5a4c; }
html body .asso58-legende li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
html body .asso58-legende li.asso58-to::before { background: #ecd78f; }
html body .asso58-legende li.asso58-ic::before { background: #9fc49d; }
html body .asso58-cal { margin: 2px 0 0; }
html body .asso58-cal a { color: #1f6b45; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

html body .asso60-insec { white-space: nowrap; }

/* 1.1.0 (Rudy) : phrases qui coulent sans trou, adhésion lisible. */
html body .asso38 .asso38-case p { text-wrap: pretty; }
html body .asso38 .asso38-adhesion, html body .asso38 .asso38-adhesion strong { color: #0e2a21 !important; }
html body #contact { scroll-margin-top: 84px; }

/* 1.4.0 (Rudy) : encadré « Seul ou à deux ? » avec le bouton « Je cherche une équipe ». */
html body .asso38 .lbb-seul-161 { display: grid; gap: 8px; margin: 16px 0 6px; padding: 16px 16px 18px; border-radius: 14px; background: #eef4ec; border: 1px solid #cfe0cc; }
html body .asso38 .lbb-seul-161 h3 { margin: 0; font: 900 19px/1.2 Arial, Helvetica, sans-serif; color: #0e2a21; }
html body .asso38 .lbb-seul-161 p { margin: 0; font-size: 15px; line-height: 1.5; color: #2c4a3e; }
html body .asso38 .lbb-seul-161 .lbb-seul-bouton-161 { justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 6px; padding: 12px 26px; border-radius: 999px; background: #f2c531; color: #0e2a21 !important; font: 800 16px/1.2 Arial, Helvetica, sans-serif; text-decoration: none !important; box-shadow: 0 2px 6px rgba(14, 42, 33, .12); }
@media (max-width: 640px) { html body .asso38 .lbb-seul-161 .lbb-seul-bouton-161 { justify-self: stretch; } }

/* 1.81.0 (Rudy) : première vignette « Les deux prochains samedis » (écrite par le serveur depuis le calendrier),
   même langage que les RDV de l'accueil : pastille vert billard pour l'Intercafés, jaune pour le tournoi.
   Sans date à venir, le texte de repli (deux phrases) reste. */
html body .asso38 .lbb-samedis-trait-1810 { width: 48px; height: 3px; margin: 6px 0 4px; border-radius: 2px; background: #E6BF68; }
html body .asso38 .lbb-samedis-repli-1810 { max-width: 34ch; margin: 0; color: #0e2a21; font: 400 clamp(17px, 2.2vw, 20px)/1.55 Arial, Helvetica, sans-serif; text-wrap: pretty; }
html body .asso38 .lbb-samedis-repli-1810 b { font-weight: 900; }
html body .asso38 .lbb-samedis-titre-1810 { margin: 8px 0 0; color: #6b5a2e; font: 800 12.5px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-wrap: balance; }
html body .asso38 .lbb-samedis-1810 { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; max-width: 640px; margin: 0; padding: 0; list-style: none; text-align: left; }
html body .asso38 .lbb-samedis-1810 li { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fffdf8; border: 1px solid #e3dac3; }
html body .asso38 .lbb-samedis-date-1810 { display: grid; justify-items: center; align-content: center; gap: 1px; height: 62px; border-radius: 10px; background: #0e3d2e; color: #fffaf0; }
html body .asso38 .lbb-samedis-to-1810 .lbb-samedis-date-1810 { background: #E6BF68; color: #0e2a21; }
html body .asso38 .lbb-samedis-date-1810 small { font: 700 10.5px/1 Arial, Helvetica, sans-serif; opacity: .85; }
html body .asso38 .lbb-samedis-date-1810 b { font: 900 24px/1 Arial, Helvetica, sans-serif; }
html body .asso38 .lbb-samedis-quoi-1810 { display: grid; gap: 3px; min-width: 0; }
html body .asso38 .lbb-samedis-quoi-1810 strong { color: #0e2a21; font: 900 17px/1.2 Arial, Helvetica, sans-serif; overflow-wrap: anywhere; }
html body .asso38 .lbb-samedis-quoi-1810 span { color: #3b5a4c; font-size: 14.5px; line-height: 1.4; }
html body .asso38 .lbb-samedis-quoi-1810 .lbb-samedis-nw-1810 { white-space: nowrap; color: inherit; font-size: inherit; }
html body .asso38 .lbb-samedis-pied-1810 { margin: 2px 0 0; color: #3b5a4c; font-size: 14.5px; }
@media (min-width: 720px) { html body .asso38 .lbb-samedis-1810.lbb-samedis-deux-1810 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 1.83.2 (Rudy) : la phrase « Le samedi, on alterne… » au-dessus des deux prochains samedis. */
html body .asso38 .lbb-samedis-alterne-1832 { max-width: 34ch; margin: 6px 0 2px; color: #0e2a21; font: 400 clamp(16.5px, 2vw, 18.5px)/1.45 Arial, Helvetica, sans-serif; text-wrap: balance; }
html body .asso38 .lbb-samedis-alterne-1832 b { font-weight: 900; }
