/*
Theme Name: ISSU
Theme URI: https://issu-association.org/
Author: NosAssos pour ISSU
Description: Theme sur mesure du site de l'association ISSU (Initiatives pour la Sauvegarde des Sols Urbains). Ce fichier porte l'integralite du CSS du site, a la suite de cet en-tete.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: issu
Tags: association, one-column, custom-menu, translation-ready
*/

/* ================================================================================ */

/* Un seul fichier CSS, mobile-first, zero framework, zero webfont externe. */

/* ---------- Variables ---------- */

:root {
  /* Couleurs */
  --fond: #faf8f5;          /* blanc casse tres clair */
  --surface: #ffffff;       /* cartes, nav, dropdowns */
  --rose: #ffd8c3;          /* rose pale ver de terre - accent, pas fond global */
  --rose-fonce: #e8cfc7;    /* trait / hover rose */
  --vert: #11493e;          /* vert sarcelle du logo (immeubles, lettrage) */
  /* Vert clair : desaturation du vert #266a5e du logo, contraste du texte encre veri */
  --vert-clair: #cbd8ca;
  --vert-clair-bord: #bcd6cc;
  --vert-fonce: #1c5247;    /* hover boutons / liens */
  --encre: #26302c;         /* texte principal, presque noir teinte vert */
  --encre-2: #5b645f;       /* texte secondaire */
  --ligne: #e7e1d8;         /* filets */
  --placeholder-fond: #f5f3ef;
  --placeholder-bord: #b8b0a4;
  --placeholder-texte: #6e675d;

  /* Espacements */
  --esp-1: 0.5rem;
  --esp-2: 1rem;
  --esp-3: 1.75rem;
  --esp-4: 3rem;
  --esp-5: 4.5rem;

  /* Rayons */
  --rayon-s: 8px;
  --rayon-m: 12px;
  --rayon-pill: 999px;

  /* Transitions */
  --transition: 180ms ease;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--fond);
  color: var(--encre);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.2;
  color: var(--encre);
  letter-spacing: -0.01em;
}
h1 { font-size: 2rem; font-weight: 750; margin: 0 0 var(--esp-2); }
h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: var(--esp-4) 0 var(--esp-2);
  padding-bottom: 0.4rem;
  border-bottom: 3px solid var(--rose);
  width: fit-content;
}
h3 { font-size: 1.1rem; font-weight: 650; margin: var(--esp-2) 0 0.4rem; }

/* Le header sticky ne doit pas masquer les sections ancrees (#equipe, etc.) */
[id] { scroll-margin-top: 5.5rem; }

p, ul, ol { margin: 0 0 var(--esp-2); }

/* Largeur de lecture confortable */
main p, main ul, main ol { max-width: 68ch; }

a {
  color: var(--vert);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover { color: var(--vert-fonce); }

:focus-visible {
  outline: 3px solid var(--vert);
  outline-offset: 2px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; }

strong { font-weight: 650; }

/* Ne pas descendre cette largeur sous 72rem : le header a besoin de 1 119px pour t */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- En-tete et menu ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92); /* teinte du fond de page, translucide : un blanc pur casserait le beige */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ligne);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--vert);
}
.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--encre-2);
}
/* Petits telephones (<= 420px) : brider la baseline force son enroulement sur deux */
@media (max-width: 420px) {
  .brand-sub { max-width: 9.5rem; }
}

.menu-toggle {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  color: var(--vert);
  border: 1.5px solid var(--vert);
  border-radius: var(--rayon-pill);
  padding: 0.35rem 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.menu-toggle:hover { background: var(--rose); }

.site-nav { display: none; width: 100%; }
.site-nav.ouvert { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0.8rem 0 0.3rem;
  padding: 0;
  max-width: none;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.5rem;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 550;
  color: var(--encre);
  border-top: 1px solid var(--ligne);
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover { color: var(--vert); background: var(--rose); }
.site-nav a[aria-current="page"] { color: var(--vert); font-weight: 700; }
.site-nav .sub {
  margin: 0;
  padding-left: 1.1rem;
}
.site-nav .sub a { font-size: 0.9rem; font-weight: 450; }

/* ---------- Contenu ---------- */

main { padding: var(--esp-4) 0 var(--esp-5); }

.hero {
  background: var(--rose);
  text-align: center;
  padding: var(--esp-5) 0;
  margin: calc(-1 * var(--esp-4)) 0 0;
}
.hero .wrap { max-width: 46rem; }
/* Le visuel du hero est une image PAYSAGE (rapport 1,73:1), detouree. Ne pas lui a */
.hero-logo {
  width: min(100%, 340px);
  height: auto;
  margin-bottom: var(--esp-2);
}
.hero h1 { font-size: 2.1rem; margin-bottom: var(--esp-2); }
.hero .chapeau { margin: 0 auto var(--esp-2); }
.hero .a-completer { text-align: left; margin: var(--esp-2) auto; }
.hero .bouton { margin-top: var(--esp-1); }

.chapeau { font-size: 1.15rem; color: var(--encre-2); }

/* Cartes */
.carte {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  padding: 1.4rem 1.5rem;
  margin: var(--esp-2) 0;
  box-shadow: 0 1px 3px rgba(38, 48, 44, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.carte:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 48, 44, 0.08);
  border-color: var(--rose-fonce);
}
.carte h3 { margin-top: 0; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }

/* Placeholder visible : provisoire assume, discret, jamais de lorem ipsum */
.a-completer {
  display: block;
  background: var(--placeholder-fond);
  border: 1px dashed var(--placeholder-bord);
  border-radius: var(--rayon-s);
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--placeholder-texte);
  max-width: 68ch;
}
span.a-completer { margin-top: 0.35rem; }

/* Bloc visuel (photo a venir) */
.visuel {
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: var(--esp-2) 0;
}

/* Boutons */
.bouton {
  display: inline-block;
  background: var(--vert);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--rayon-pill);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.bouton:hover {
  background: var(--vert-fonce);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(38, 48, 44, 0.15);
}

/* Grille de renvois (accueil) */
.grille-renvois {
  display: grid;
  gap: var(--esp-2);
  grid-template-columns: 1fr;
  margin-top: var(--esp-3);
}
.grille-renvois .carte { margin: 0; }

/* Badges texte (médias, partenaires) : repli quand aucun fichier de logo n'est disponible */
.badges-medias {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 var(--esp-2);
  max-width: 68ch;
}
.badge-media {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-pill);
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vert);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
a.badge-media:hover { background: var(--rose); border-color: var(--rose-fonce); color: var(--vert-fonce); }
span.badge-media { color: var(--encre-2); }
.badge-logo { height: 18px; width: auto; border-radius: 3px; }

/* Icônes réseaux : SVG inline sobres, dessinés à la main (pas de lib externe) */
.ico { width: 1.05em; height: 1.05em; vertical-align: -0.18em; margin-right: 0.35em; }

/* Logos partenaires : hauteur homogène, léger niveaux de gris au repos */
.logos-partenaires {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin: 0 0 var(--esp-2);
}
.logos-partenaires img {
  height: 40px;
  width: auto;
  filter: grayscale(30%) opacity(0.9);
  transition: filter var(--transition);
}
.logos-partenaires a:hover img { filter: none; }

/* Photos */
.photo { margin: var(--esp-2) 0; max-width: 40rem; }
.photo img { width: 100%; border-radius: var(--rayon-m); display: block; }
.photo figcaption { font-size: 0.85rem; color: var(--encre-2); margin-top: 0.4rem; }

.impact {
  background: var(--rose);
  padding: var(--esp-5) 0;
  margin: 0;
}
.impact-titre {
  margin: 0 0 var(--esp-3);
  border-bottom: none;
  font-size: 1.5rem;
  color: var(--vert);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.impact-grille {
  display: grid;
  gap: var(--esp-3);
  grid-template-columns: 1fr;
  align-items: start;
}
.impact-heros {
  background: var(--vert-clair);
  border-radius: var(--rayon-m);
  padding: var(--esp-3) 1.6rem;
  border-left: 5px solid var(--vert);
  box-shadow: 0 1px 3px rgba(38, 48, 44, 0.05);
}
.impact-chiffre-xl {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--vert);
  margin: 0 0 var(--esp-1);
}
.impact-cartes {
  display: grid;
  gap: var(--esp-2);
  grid-template-columns: 1fr;
}
.impact-carte {
  background: var(--vert-clair);
  border: 1px solid var(--vert-clair-bord);
  border-radius: var(--rayon-m);
  padding: 1.1rem 1.3rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.impact-carte:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 48, 44, 0.09);
}
.impact-chiffre {
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--vert);
  margin: 0 0 0.3rem;
}
.impact .impact-texte {
  margin: 0 0 0.5rem;
  max-width: 46ch;
  color: var(--encre);
}
.impact-heros .impact-texte { font-size: 1.1rem; }
.impact-carte .impact-texte { font-size: 0.95rem; }
.impact-source {
  font-size: 0.78rem;
  color: var(--encre-2);
  margin: 0;
  max-width: none;
}
.impact-soustitre {
  margin: var(--esp-3) 0 var(--esp-2);
  font-size: 1.05rem;
  color: var(--vert);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.impact-rangee2 { margin-top: 0; }

.impact-transition {
  margin: var(--esp-3) 0 0;
  font-size: 1.02rem;
  max-width: 62ch;
}

@media (min-width: 800px) {
  .impact-grille { grid-template-columns: 1fr 1.15fr; gap: var(--esp-4); }
  .impact-heros { padding: var(--esp-4) 2rem; }
  .impact-chiffre-xl { font-size: 5.5rem; }
  .impact-cartes { grid-template-columns: 1fr 1fr; }
  .impact-cartes .impact-carte:first-child { grid-column: 1 / -1; }
  /* auto-fit, et non un gabarit fige a trois colonnes : la rangee doit se repartir p */
  .impact-rangee2 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
  .impact-rangee2 .impact-carte:first-child { grid-column: auto; }
}

/* Encart defiscalisation (page Adhesions & Don) */
.encart-defisc {
  background: var(--vert-clair);
  border-left: 5px solid var(--vert);
  border-radius: var(--rayon-m);
  padding: 1.1rem 1.4rem;
  margin: var(--esp-3) 0;
}
.encart-defisc p { margin: 0 0 0.5rem; }
.encart-defisc .footnote { margin: 0; }

/* Tableaux */
table { border-collapse: collapse; width: 100%; margin-bottom: var(--esp-2); }
th, td { border: 1px solid var(--ligne); padding: 0.5rem 0.7rem; text-align: left; }
th { background: var(--rose); font-weight: 650; }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--ligne);
  padding: var(--esp-4) 0 var(--esp-3);
  font-size: 0.92rem;
  color: var(--encre-2);
}
.footer-grid {
  display: grid;
  gap: var(--esp-3);
  grid-template-columns: 1fr;
}
.footer-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--vert);
  margin-bottom: 0.3rem;
}
.footer-titre {
  font-weight: 700;
  color: var(--encre);
  margin-bottom: 0.5rem;
}
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  display: inline-block;
  padding: 0.15rem 0;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; }
.footnote { font-size: 0.8rem; margin: var(--esp-3) 0 0; }

/* ---------- Ecrans moyens et larges ---------- */

@media (min-width: 800px) {
  h1 { font-size: 2.5rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-logo { width: min(100%, 460px); height: auto; }

  .grille-renvois { grid-template-columns: 1fr 1fr 1fr; }

  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* ---------- Accessibilite : mouvement reduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Logo dans le header, a cote de "ISSU" ------------------------------------------ */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.brand-txt { display: block; }

/* Reseaux sociaux du header : trois comportements selon la largeur --------------- */
.header-social {
  display: flex;
  gap: 0.25rem;
  margin: 0.4rem 0 0;
  order: 3;
  width: 100%;
  justify-content: flex-end;
}

/* Palier intermediaire (600px -> 1151px) : `margin-left: auto` sur le bouton Menu */
@media (min-width: 600px) {
  .header-social { width: auto; margin-top: 0; }
  .menu-toggle { margin-left: auto; }
  .header-inner { gap: 0.6rem; }
}
.header-social a {
  display: inline-flex;
  padding: 0.4rem;
  border-radius: var(--rayon-s);
  color: var(--vert);
  transition: background var(--transition), color var(--transition);
}
.header-social a:hover { background: var(--vert-clair); color: var(--vert-fonce); }
.header-social .ico { width: 1.25rem; height: 1.25rem; margin: 0; vertical-align: middle; }

/* Pied de page aminci : logo, Contact, Mentions legales et reseaux, sur une seule */
.site-footer {
  background: var(--fond);
  padding: var(--esp-3) 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  text-align: center;
}
.footer-inner p { margin: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.footer-liens a { text-decoration: none; }
.footer-liens a:hover { text-decoration: underline; }
.footer-social { display: inline-flex; gap: 0.15rem; }
.footer-social a { display: inline-flex; padding: 0.3rem; color: var(--vert); border-radius: var(--rayon-s); }
.footer-social a:hover { background: var(--vert-clair); }
.footer-social .ico { width: 1.1rem; height: 1.1rem; margin: 0; }
.site-footer .footnote { margin: 0; flex-basis: 100%; }

/* Bandeau de titre de page : toutes les pages interieures ouvrent sur la meme band */
.page-hero {
  background: var(--rose);
  padding: var(--esp-4) 0;
  margin: calc(-1 * var(--esp-4)) 0 var(--esp-4);
}
.page-hero h1 { margin: 0; }

/* Bande d'appel a l'action de l'accueil ------------------------------------------ */
.bande-cta {
  background: var(--vert-clair);
  text-align: center;
  padding: var(--esp-4) 0;
  margin: 0 0 var(--esp-5);
}
.bande-cta-phrase {
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 46ch;
  margin: 0 auto var(--esp-2);
}
.bande-cta p { max-width: none; }

/* Les trois blocs de l'accueil, centres ------------------------------------------ */
.grille-renvois .carte { text-align: center; }

/* Titres de section du contenu --------------------------------------------------- */
main h2 { font-size: 1.7rem; }

/* Les 5 missions : le verbe en gros et en vert, la suite de phrase en dessous ---- */
.titre-missions, .titre-equipe {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vert);
  margin-top: var(--esp-3);
}
.missions { list-style: none; padding: 0; margin: 0 0 var(--esp-3); max-width: none; }
.missions li {
  border-left: 4px solid var(--vert);
  background: var(--vert-clair);
  border-radius: 0 var(--rayon-s) var(--rayon-s) 0;
  padding: 0.7rem 1.1rem;
  margin-bottom: 0.6rem;
}
.mission-mot {
  display: block;
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--vert);
  letter-spacing: -0.01em;
}
.mission-suite { display: block; }

/* Equipe et conseil d'administration --------------------------------------------- */
.equipe-grille {
  display: grid;
  gap: var(--esp-2);
  grid-template-columns: 1fr;
  margin: 0 0 var(--esp-3);
}
.membre {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  padding: 1rem 1.1rem;
  text-align: center;
}
.membre-photo {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.membre-nom { font-weight: 700; margin: 0 0 0.2rem; }
.membre-role { font-size: 0.9rem; color: var(--encre-2); margin: 0; }
.membre p { max-width: none; }

/* Catalogue : bandes de categorie ENFANT / ADULTE. */
.bande-categorie {
  background: var(--vert-clair);
  border: none;
  border-top: 3px solid var(--vert);
  width: auto;
  padding: 0.8rem 1.2rem;
  margin: var(--esp-5) 0 var(--esp-2);
  border-radius: var(--rayon-s);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vert);
}
.categorie-note { margin-top: 0; }

/* Public cible affiche a cote du titre d'une activite ---------------------------- */
.public-cible {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6rem;
  background: var(--vert);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.7rem;
  border-radius: var(--rayon-pill);
}
span.public-cible.a-completer {
  background: var(--placeholder-fond);
  color: var(--placeholder-texte);
  border: 1px dashed var(--placeholder-bord);
  font-style: normal;
}
.meta-activite { font-size: 0.9rem; color: var(--encre-2); }

/* Alternance photo / texte : ne s'applique qu'a partir de 800px. Sur mobile, tout */
.activite { margin-bottom: var(--esp-3); }
.activite .photo, .activite-img { margin: var(--esp-2) 0; max-width: 100%; }
.activite-txt p:last-child { margin-bottom: 0; }

/* Sommaire de la page globale "Nos actions" -------------------------------------- */
.sommaire-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: none; }
.sommaire-actions a {
  background: var(--vert-clair);
  border: 1px solid var(--vert-clair-bord);
  border-radius: var(--rayon-pill);
  padding: 0.3rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.sommaire-actions a:hover { background: var(--vert); color: #fff; }

/* Page dons : particuliers / entreprises, cote a cote, en deux colonnes de meme po */
.deux-voies { display: grid; gap: var(--esp-2); grid-template-columns: 1fr; margin: var(--esp-3) 0; }
.voie {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-m);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.voie h3 { margin-top: 0; font-size: 1.2rem; color: var(--vert); }
.voie p { max-width: none; }
.voie .encart-defisc { margin: var(--esp-2) 0; }
.voie > p:last-child { margin-bottom: 0; }

/* Formulaire de contact ---------------------------------------------------------- */
.form-contact { max-width: 40rem; margin-bottom: var(--esp-3); }
.form-contact p { margin-bottom: var(--esp-2); max-width: none; }
.form-contact label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.form-contact input, .form-contact textarea {
  font: inherit;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-s);
  background: var(--surface);
  color: var(--encre);
}
.form-contact input:disabled, .form-contact textarea:disabled { background: var(--placeholder-fond); }
.form-contact .bouton:disabled { opacity: 0.55; cursor: not-allowed; }

/* Logos de presse a la place du nom du media ------------------------------------- */
.badges-logos { gap: 1.5rem; align-items: center; }
.badges-logos .badge-media { padding: 0.5rem 1rem; }
.badges-logos .badge-logo { height: 32px; border-radius: 0; }

.accroche-partenaire { font-size: 1.1rem; font-weight: 600; }

/* Menu horizontal : seulement a partir de 1152px --------------------------------- */
@media (min-width: 1152px) {
  .menu-toggle { display: none; }

  /* La nav ne prend que sa largeur (`flex: 0 0 auto`) et c'est la marque qui pousse */
  .header-inner { flex-wrap: nowrap; gap: 0.5rem; }
  .brand { margin-right: auto; }
  .site-nav { display: block; width: auto; flex: 0 0 auto; }
  .header-social { margin-left: 0; }
  .site-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
  }
  .site-nav a {
    border-top: none;
    padding: 0.5rem 0.65rem;
    border-radius: var(--rayon-s);
  }
  /* Ne pas retirer ce `white-space: nowrap`. Sans lui, le <ul> en flex nowrap retrec */
  .site-nav > ul > li > a { white-space: nowrap; }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--rose-fonce);
    border-radius: var(--rayon-s) var(--rayon-s) 0 0;
  }

  .site-nav .has-sub { position: relative; }
  .site-nav .sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 15rem;
    background: var(--surface);
    border: 1px solid var(--ligne);
    border-radius: var(--rayon-m);
    box-shadow: 0 8px 24px rgba(38, 48, 44, 0.1);
    padding: 0.4rem;
    z-index: 60;
  }
  .site-nav .sub a { border-radius: var(--rayon-s); }
  .site-nav .has-sub:hover .sub,
  .site-nav .has-sub:focus-within .sub { display: block; }
}

@media (min-width: 800px) {
  
  .equipe-rangee { display: block; }
  .titre-equipe { text-align: center; }
  .equipe-grille { grid-template-columns: repeat(2, minmax(0, 22rem)); justify-content: center; }
  .equipe-grille-solo { grid-template-columns: minmax(0, 22rem); }
  /* conseil d'administration : les 4 membres sur une meme ligne */
  .ca-grille { grid-template-columns: repeat(4, 1fr); }

  .deux-voies { grid-template-columns: 1fr 1fr; }

  /* Alternance photo / texte, uniquement sur ordinateur. */
  
  .activite { display: grid; grid-template-columns: 1fr 1fr; gap: var(--esp-3); align-items: start; }
  .activite .activite-txt { grid-column: 1; grid-row: 1; }
  .activite .activite-img { grid-column: 2; grid-row: 1; margin: 0; }
  .activite.activite-inverse .activite-txt { grid-column: 2; }
  .activite.activite-inverse .activite-img { grid-column: 1; }

  .bande-categorie { font-size: 1.6rem; }
}

/* Petits boutons des trois blocs de l'accueil : meme style que .bouton, en plus pe */
.bouton-petit {
  display: inline-block;
  background: var(--vert);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--rayon-pill);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.bouton-petit:hover {
  background: var(--vert-fonce);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(38, 48, 44, 0.15);
}
.grille-renvois .carte { display: flex; flex-direction: column; }
.grille-renvois .carte p:last-child { margin-top: auto; margin-bottom: 0; padding-top: var(--esp-1); }

/* Partenaires : trois familles bien dissociees, la 3e traitee a part ------------- */
.groupe-partenaires { margin: 0 0 var(--esp-4); }
.groupe-partenaires > h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vert);
  margin: 0 0 0.3rem;
}
.groupe-partenaires .groupe-intro { color: var(--encre-2); margin-bottom: var(--esp-2); max-width: 62ch; }
/* la 3e famille : posee sur le vert clair de la charte, comme un bloc a part */
.groupe-collectif {
  background: var(--vert-clair);
  border-left: 5px solid var(--vert);
  border-radius: var(--rayon-m);
  padding: var(--esp-3) 1.6rem;
}
.groupe-collectif .logos-partenaires img { filter: none; }

/* Logos de presse : le logo remplace le nom du media ----------------------------- */
.badges-logos .badge-media {
  background: #fff;
  border: 1px solid var(--ligne);
  padding: 0.55rem 1.1rem;
  min-height: 3rem;
}
/* Hauteur plafonnee a 30px : ne pas l'augmenter pour compenser un fichier de mauva */
.badges-logos .badge-logo {
  height: auto;
  max-height: 30px;
  max-width: 170px;
  width: auto;
  border-radius: 0;
}

/* « On parle de nous » : une ligne par article ----------------------------------- */
.liste-presse { list-style: none; padding: 0; margin: 0; max-width: none; }
.liste-presse li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ligne);
}
.liste-presse li:last-child { border-bottom: none; }
.liste-presse .badge-media { flex: 0 0 auto; }
.liste-presse .presse-ref { flex: 1 1 16rem; }
/* Un logo carre (favicon) reste lisible s'il n'y a que ca de disponible, mais il e */
.badges-logos .badge-logo-carre { max-width: 30px; }

/* Section Projets : reutilise .activite / .activite-inverse, comme le catalogue -- */
.activite-img figcaption { font-size: 0.85rem; color: var(--encre-2); margin-top: 0.4rem; }
.activite .photo { max-width: 100%; }
.lien-evenement { font-size: 0.95rem; }

.form-contact .wpforms-container,
.form-contact .wpforms-form { border: 0; background: none; padding: 0; margin: 0; max-width: none; }

.form-contact .wpforms-field-label {
  display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; color: inherit;
}

/* Champs : arrondis et filet discret, comme partout ailleurs sur le site. */
html body .form-contact .wpforms-container .wpforms-form .wpforms-field input,
html body .form-contact .wpforms-container .wpforms-form .wpforms-field textarea,
html body .form-contact .wpforms-container .wpforms-form .wpforms-field select {
  border-radius: var(--rayon-s) !important;
  border-color: var(--ligne) !important;
  font: inherit;
  padding: 0.6rem 0.8rem;
  background: var(--surface);
}

html body .form-contact .wpforms-container .wpforms-form .wpforms-field input:focus,
html body .form-contact .wpforms-container .wpforms-form .wpforms-field textarea:focus {
  outline: none;
  border-color: var(--vert) !important;
  box-shadow: 0 0 0 2px rgba(38, 106, 94, 0.15);
}

/* LE BOUTON. Les trois etats sont declares, y compris `:not(:hover):not(:active)` */
html body .form-contact div.wpforms-container button[type=submit],
html body .form-contact div.wpforms-container button[type=submit]:not(:hover):not(:active),
html body .form-contact div.wpforms-container-full button[type=submit],
html body .form-contact div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
html body .form-contact button.wpforms-submit,
html body .form-contact button.wpforms-submit:not(:hover):not(:active) {
  background: var(--vert) !important;
  background-color: var(--vert) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--rayon-pill) !important;
  font: inherit;
  font-weight: 600 !important;
  padding: 0.7rem 1.5rem !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  /* Centrage du libelle : WPForms fixe une hauteur et une hauteur de ligne qui decal */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  min-height: 0 !important;
  vertical-align: middle !important;
}

html body .form-contact div.wpforms-container button[type=submit]:hover,
html body .form-contact div.wpforms-container-full button[type=submit]:hover,
html body .form-contact button.wpforms-submit:hover {
  background: var(--vert-fonce) !important;
  background-color: var(--vert-fonce) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(38, 48, 44, 0.15) !important;
}

.form-contact .wpforms-form .wpforms-field { padding: 0 0 var(--esp-2) 0; }
.form-contact .wpforms-form .wpforms-required-label { color: var(--vert); }

@media (min-width: 800px) {
  main > .wrap > h2,
  main > .wrap > h3:not(.bande-categorie),
  main > .wrap > h4,
  main > .wrap > p,
  main > .wrap > ul:not(.liste-presse),
  main > .wrap > ol,
  main > .wrap > figure,
  main > .wrap > .form-contact,
  main > .wrap > .carte,
  .groupe-partenaires > h3,
  .groupe-partenaires > p,
  .groupe-partenaires > .logos-partenaires {
    margin-left: max(0rem, calc((100% - 40rem) / 2));
    margin-right: max(0rem, calc((100% - 40rem) / 2));
  }
  /* Le titre du bandeau rose des pages interieures suit le mouvement : centre sur PC */
  .page-hero h1 { text-align: center; }
}

@media (min-width: 1152px) {
  main > .wrap > p.phrase-projets {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 800px) {
  body.home main { display: flex; flex-direction: column; }
  body.home main > .wrap { width: 100%; }
  body.home .hero { order: 1; }
  body.home .accueil-actus { order: 2; }
  
  body.home .accueil-photo { order: 3; }
  body.home .impact { order: 4; }
  body.home .bande-cta { order: 5; }
  body.home .accueil-renvois { order: 6; }
  /* Le hero (rose) n'est plus directement suivi de la bande rose des chiffres : la s */
  body.home .accueil-actus { margin-bottom: var(--esp-4); }
}

@media (min-width: 800px) {
  main h1, main h2, main h3,
  .impact-titre, .impact-soustitre, .bande-cta-phrase { text-align: center; }
  
  main h2, main > .wrap > h2 { margin-left: auto; margin-right: auto; }
  main .chapeau, main .sommaire-actions { text-align: center; }
  main .phrase-projets { text-align: center; }
  .accueil-actus { text-align: center; }
  .accueil-actus article { margin-left: auto; margin-right: auto; }
}
/* Arrivee par ancre : ne pas coller la section sous le bord haut */
main [id] { scroll-margin-top: 6rem; }
/* Photo d'ambiance de l'accueil (mediatheque, remplaçable par ISSU) */
.accueil-photo .photo { margin: 2rem auto; max-width: none; }
.accueil-photo img { width: 100%; height: auto; border-radius: 12px; }

@media (min-width: 800px) {
  /* Textes : tous les paragraphes et legendes du contenu principal */
  main p, main figcaption { text-align: center; }
  /* Boutons : un <p> centre suffit pour .bouton / .bouton-petit (inline-block) ; */
  .bande-cta .wrap, .voie, .encart-defisc { text-align: center; }
  /* Logos partenaires : ranges au centre de leur rangee (flex) */
  .logos-partenaires { justify-content: center; }
  /* Listes : le bloc se centre (colonne), les puces restent lisibles a gauche */
  main ul, main ol { margin-left: auto; margin-right: auto; width: fit-content; text-align: left; }
  /* Titres h3 des groupes (Partenaires institutionnels / prives / d'action) et */
  .groupe-partenaires h3, .carte h3, .voie h3 { text-align: center; }
}

/* Accueil : ordre unique, identique sur ordinateur et mobile. */
@media (min-width: 800px) { body.home main { display: block; } }

/* Banniere pleine largeur. */
.accueil-photo { margin: 0 0 var(--esp-4); }
.accueil-photo .wrap { max-width: none; width: 100%; padding-left: 0; padding-right: 0; }
.accueil-photo .photo { margin: 0; max-width: none; }
.accueil-photo img { width: 100%; height: clamp(200px, 34vw, 420px); object-fit: cover; border-radius: 0; display: block; }

/* Grille de logos : meme hauteur, espacement regulier. */
.logos-partenaires { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.5rem; }
.logos-partenaires img { height: 60px; width: auto; max-width: 150px; object-fit: contain; }
@media (min-width: 800px) { .logos-partenaires img { height: 78px; max-width: 185px; } }

/* Cartes d actualite : image mise en avant en fond, texte par-dessus. */
.grille-renvois .carte { position: relative; overflow: hidden; isolation: isolate; }
.grille-renvois .carte .photo { position: absolute; inset: 0; margin: 0; max-width: none; z-index: 0; }
.grille-renvois .carte .photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.grille-renvois .carte .photo::after { content: ""; position: absolute; inset: 0; background: rgba(15, 20, 15, 0.58); }
.grille-renvois .carte > *:not(.photo) { position: relative; z-index: 1; }
.grille-renvois .carte:has(.photo) { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; }
.grille-renvois .carte:has(.photo) h3 a, .grille-renvois .carte:has(.photo) p { color: #fff; }
.grille-renvois .carte:has(.photo) .meta-activite { color: rgba(255, 255, 255, 0.85); }
.grille-renvois .carte:has(.photo) .bouton-petit { color: #fff; border-color: rgba(255, 255, 255, 0.7); }

/* Articles : meme police et meme mise en forme que le reste du site. */
.single main, .single main p, .single main li, .single main h1, .single main h2, .single main h3,
.entry-content, .entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3 { font-family: inherit; }
.entry-content { max-width: 40rem; margin-left: auto; margin-right: auto; }
.entry-content p { font-size: 1rem; line-height: 1.65; }

/* Deux photos cote a cote (une colonne sur mobile). */
.duo-photos { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: var(--esp-2) 0; }
.duo-photos .photo { margin: 0; max-width: none; }
.duo-photos .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 800px) { .duo-photos { grid-template-columns: 1fr 1fr; gap: 1.25rem; } .duo-photos .photo img { height: 260px; } }

/* Portrait rond, taille identique pour tous. */
img.membre-photo { display: block; width: 108px; height: 108px; min-height: 0; object-fit: cover; border-radius: 50%; margin: 0 auto 0.7rem; }
@media (min-width: 800px) { img.membre-photo { width: 128px; height: 128px; } }


/* ============================================================================
   Modifs client 30/08 (mail Thibaud) - appliquees en ligne le 01/09 (NosAssos).
   Bloc AJOUTE en fin de fichier : aucune regle existante retiree.
   ============================================================================ */

/* 1. Accueil - "ISSU" seul sur la premiere ligne, le nom entier sur la deuxieme */
.hero h1 .h1-sigle { display: block; font-size: 2.8rem; line-height: 1.1; letter-spacing: 0.04em; }
.hero h1 .h1-nom { display: block; font-size: 1.25rem; font-weight: 600; margin-top: 0.35rem; }
@media (min-width: 800px) { .hero h1 .h1-nom { white-space: nowrap; font-size: 1.45rem; } }

/* 2. Accueil - "ISSU EN CHIFFRES" nettement plus gros que "POURQUOI LES SOLS COMPTENT" (1.5rem inchange) */
.impact-soustitre { font-size: 2rem; }

/* 3. Accueil - bloc "3 terrains de foot" : texte centre (toutes largeurs) */
.impact .impact-texte { text-align: center; margin-left: auto; margin-right: auto; }

/* 4. Association - "NOS 5 MISSIONS" plus gros (le titre "Notre equipe" n'est pas touche) */
.titre-missions { font-size: 1.55rem; }

/* (les pages n'ont pas de classe de modele : ciblage par page-id, 331 = L'association, 333 = Nos actions) */
/* 5. Association - "Qui sommes-nous" et "Le projet associatif" : texte justifie (ordinateur) */
@media (min-width: 800px) { .page-id-331 main .wrap > p { text-align: justify; } }

/* 6. Nos actions - textes des activites : justifies (ordinateur), a gauche (telephone) ;
      le bloc texte fait la meme hauteur que la photo */
.page-id-333 .activite-txt p { text-align: left; }
@media (min-width: 800px) {
  .page-id-333 .activite-txt p { text-align: justify; }
  .activite { align-items: stretch; }
  .activite .activite-img { display: flex; flex-direction: column; }
  .activite .activite-img img { flex: 1 1 auto; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
}

/* 7. Nos actions - logos Ville de Marseille + Departement 13 sous le lien (Sol Imaginarium),
      et tout logo place dans un paragraphe (AFES, Fresque du sol) : taille bornee, meme ligne */
.logos-soutien { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0.75rem 0 0; }
.logos-soutien img { height: 54px; width: auto; max-width: 160px; object-fit: contain; }
.activite-txt p img { height: 48px; width: auto; max-width: 140px; vertical-align: middle; display: inline-block; margin: 0 0.35rem; }

/* 8. Nos actions - "Plus belle ma friche" : logos plus petits, environ 5 par ligne */
.logos-consortium { gap: 0.9rem 1.1rem; justify-content: center; }
.logos-consortium img { height: 40px; max-width: 92px; }
@media (min-width: 800px) { .logos-consortium img { height: 42px; max-width: 88px; } } /* 5 x 88 + 4 x 17,6 = 510 < 542 px de colonne : 5 par ligne */

/* 9. Accueil + Nos actions - cartes d'actualite : photo en HAUT, infos + "Lire la suite" en BAS
      (remplace la photo en fond de carte du 27/08, jugee trop peu visible par le client) */
.grille-renvois .carte:has(.photo) { min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 0; overflow: hidden; }
.grille-renvois .carte .photo { position: static; inset: auto; margin: 0; max-width: none; height: 190px; z-index: auto; }
.grille-renvois .carte .photo img { width: 100%; height: 190px; object-fit: cover; border-radius: 0; display: block; }
.grille-renvois .carte .photo::after { content: none; }
.grille-renvois .carte:has(.photo) > *:not(.photo) { padding-left: 1.5rem; padding-right: 1.5rem; }
.grille-renvois .carte:has(.photo) h3 { margin-top: 1.1rem; }
.grille-renvois .carte:has(.photo) > *:last-child { padding-bottom: 1.4rem; }
.grille-renvois .carte:has(.photo) h3 a, .grille-renvois .carte:has(.photo) p { color: var(--encre); }
.grille-renvois .carte:has(.photo) .meta-activite { color: var(--encre-2); }
.grille-renvois .carte:has(.photo) .bouton-petit { color: #fff; border-color: var(--vert); }

/* 10. Telephone - titres, sous-titres, phrases seules et textes de bulles centres
       (le centrage global du 24/08 ne valait que sur ordinateur) */
@media (max-width: 799px) {
  main h1, main h2, main h3, .impact-titre, .impact-soustitre, .bande-cta-phrase,
  main .chapeau, main .sommaire-actions, main .phrase-projets, .accueil-actus,
  .carte h3, .voie h3, .groupe-partenaires h3, .bande-cta .wrap, .voie, .encart-defisc,
  .carte p, .impact-texte, .lien-evenement, .accueil-renvois, .membre { text-align: center; }
  main h2 { margin-left: auto; margin-right: auto; }
  .logos-partenaires { justify-content: center; }
}

/* 2bis. "POURQUOI LES SOLS COMPTENT" restait colle a gauche : son margin: 0 0 (specificite classe)
   battait le main h2 { margin auto } du 24/08 ; le titre est en width: fit-content, donc marges auto = centre */
.impact-titre { margin-left: auto; margin-right: auto; }

/* 5bis. Association - les 2 premieres photos en pleine largeur, comme la banniere de l'accueil
   (ici la section est imbriquee dans un .wrap de 1112 px : on la fait deborder sur toute la fenetre) */
.page-id-331 .accueil-photo { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.page-id-331 .accueil-photo .wrap { max-width: none; width: 100%; padding-left: 0; padding-right: 0; }
/* 5ter. le debordement 100vw ci-dessus compte la barre de defilement : on interdit le defilement horizontal sur cette page */
body.page-id-331 { overflow-x: hidden; }

/* 11. Telephone - Association, duo de photos sous les missions : la 2e photo (Florent) etait ecrasee
       a 51 px par le height: 100% de la grille (mesure 01/09 en 386 px) et chevauchait la legende de la 1re */
@media (max-width: 799px) { .duo-photos .photo img { height: auto; } .duo-photos .photo { margin-bottom: 0.5rem; } }

/* 12. Page Partenaires UNIQUEMENT (page-id 335) : logos plus petits et plus serres, donc plus de logos
       par ligne et une page moins haute (demande Thibaud 30/08). Les logos des autres pages ne bougent pas. */
.page-id-335 .logos-partenaires { gap: 1.1rem 1.4rem; }
.page-id-335 .logos-partenaires img { height: 52px; max-width: 120px; }
@media (min-width: 800px) { .page-id-335 .logos-partenaires img { height: 60px; max-width: 132px; } }

/* 13. L'association : la photo banniere colle au bandeau rose du titre, comme sur l'accueil
       (demande Alexandre 01/09 17h50). Regle limitee a cette page : aucune autre page ne bouge. */
.page-id-331 .page-hero { margin-bottom: 0; }

/* 14. Menu deroulant (PC) : apres un clic SOURIS sur une ancre de la meme page, il n'y a pas de
       rechargement, le lien garde le focus et :focus-within laissait le sous-menu ouvert devant la
       page. Le focus ne maintient plus le sous-menu que s'il vient du CLAVIER (:focus-visible) ;
       a la souris, le sous-menu se referme des que le curseur quitte l'onglet. */
@media (min-width: 800px) {
  .site-nav .has-sub:focus-within:not(:hover):not(:has(a:focus-visible)) .sub { display: none; }
}

/* 15. Menu deroulant : l'en-tete est collant, donc apres un clic sur une ancre de la meme page la
       souris reste posee sur le sous-menu et le survol le gardait ouvert. script.js pose .sub-ferme
       sur l'onglet clique jusqu'a ce que la souris le quitte ; cette regle le cache pendant ce temps. */
.site-nav .has-sub.sub-ferme:hover .sub,
.site-nav .has-sub.sub-ferme:focus-within .sub { display: none; }


/* ============================================================ */
/* RETOUCHES CLIENT 02/09/2026 - mail Thibaud, appliquees par NosAssos */
/* 1. Titres de pages interieures en marron (ref client) */
.page-hero h1 { color: #55280d; }
/* 2. Accueil : titre ISSU en vert fonce, couleur de ISSU en chiffres */
.hero h1 { color: var(--vert); }
/* 3. Centrage definitif des blocs etroits ancres a gauche (cause : main p max-width 68ch sans marges auto) */
main p.lien-evenement, main .sommaire-actions, main .liste-presse, main .groupe-intro, main .badges-medias { margin-left: auto; margin-right: auto; }
main .sommaire-actions { justify-content: center; }
main .liste-presse { width: fit-content; }
main p:has(> a.bouton) { margin-left: auto; margin-right: auto; text-align: center; }
/* 4. Accueil : banniere photo visible sans defiler - hero moins haut */
body.home .hero { padding: var(--esp-3) 0 var(--esp-2); }
/* 5. Accueil, bloc 3 terrains de foot : texte sur toute la largeur de la carte */
.impact .impact-texte { max-width: none; }
/* 6. Partenaires (335) et Adhesions & Don (337) : premiere photo en banniere pleine largeur, meme geste que la page association (331) */
.page-id-335 .accueil-photo, .page-id-337 .accueil-photo { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.page-id-335 .accueil-photo .wrap, .page-id-337 .accueil-photo .wrap { max-width: none; width: 100%; padding-left: 0; padding-right: 0; }
.page-id-335 .accueil-photo .photo, .page-id-337 .accueil-photo .photo { margin: 0; max-width: none; }
.page-id-335 .accueil-photo img, .page-id-337 .accueil-photo img { width: 100%; height: clamp(200px, 34vw, 420px); object-fit: cover; border-radius: 0; display: block; }
/* 7. Partenaires : titres des groupes agrandis */
.groupe-partenaires h3 { font-size: 1.45rem; }
/* 8. Contact : centrage reel du formulaire et de l'intro (retour client 02/09 soir) */
.form-contact { margin-left: auto; margin-right: auto; }
.page-id-339 main p { max-width: none; }
/* 9. Contact mobile : adresse mail jamais coupee, texte centre aussi sur petit ecran (retour client 02/09 soir) */
main a[href^="mailto:"] { white-space: nowrap; }
.page-id-339 main p { text-align: center; }
/* 10. L'association - les 5 missions en cartes illustrees (illustrations client, mail du 02/09, modele Cite des Transitions) */
.missions-cartes { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: var(--esp-3) 0; }
.missions-cartes .mission-carte { flex: 1 1 170px; max-width: 210px; }
.mission-carte { background: var(--surface); border: 1px solid var(--vert-clair-bord); border-radius: 12px; padding: 1.1rem 0.9rem 1rem; text-align: center; }
.mission-carte img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 0.6rem; display: block; }
.mission-carte .mission-mot { margin: 0 0 0.35rem; font-size: 1.02rem; color: var(--vert); text-transform: uppercase; letter-spacing: 0.03em; text-align: center; }
.mission-carte .mission-suite { margin: 0 auto; font-size: 0.9rem; max-width: none; text-align: center; }

/* ============================================================ */
/* 11. Retours Thibaud 04/09/2026 : Partenaires (335) et Adhesions & Don (337),
      banniere collee au bandeau du titre, meme regle que L'association (331). */
.page-id-335 .page-hero, .page-id-337 .page-hero { margin-bottom: 0; }


/* 12. Retour Thibaud 05/09/2026 (version telephone) : accueil, chiffres de « ISSU en chiffres » centres ; Partenaires, bouton « Parler mecenat avec ISSU » centre. Cause : main p n'est centre qu'a partir de 800 px (bloc 8) et .impact-chiffre est un p dans .impact-carte. */
@media (max-width: 799px) {
.impact-carte, .impact-heros, .impact-chiffre, .impact-chiffre-xl, .impact-label { text-align: center; }
.impact .impact-texte { margin-left: auto; margin-right: auto; }
.groupe-partenaires p:has(> .bouton-petit), .groupe-partenaires p:has(> .bouton) { text-align: center; }
}
