/* ==========================================================================
   Junior Conseil IMPGT — feuille de style
   Desktop : grille de 980 px centrée (en-tête : 1120 px). Mobile : < 768 px.
   ========================================================================== */

:root {
  --text: #181818;
  --text-strong: #1d1d1d;
  --muted: #8c8c8c;
  --muted-text: #6b6b6b; /* gris lisible (contraste AA) pour les petits textes sur fond clair */
  --line: #525252;
  --panel: #f0f3f4;
  --bg-soft: #fafafa;
  --blue: #3772fb;
  --gold: #f0c248;
  --cyan: #59cfed;
  --sand: #e0c985;
  --coral: #ff6161;
  --coral-quote: #f27979;
  --peach: #f3dbc9;
  --sky: #b5d7f3;
  --navy-veil: rgba(0, 48, 91, .5);
  --hero-fallback: #c5c5c5;

  --font-body: "Raleway", Arial, sans-serif;
  --font-title: "Nunito Sans", "Avenir Next", Avenir, Arial, sans-serif;
  --font-quote-name: "Jost", Futura, Arial, sans-serif;
  --font-president: "Playfair Display", Didot, Georgia, serif;
  --font-caps: "Montserrat", Arial, sans-serif;
  --font-year: "Inter", Helvetica, Arial, sans-serif;

  --grid: min(980px, 100% - 32px);
  --wide: min(1120px, 100% - 32px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; }

a { color: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-title); font-weight: 800; line-height: 1.25; }
p { margin: 0; }

.icon { width: 1em; height: 1em; flex: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--text); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: var(--grid); margin-inline: auto; }
.container-wide { width: var(--wide); margin-inline: auto; }

/* ---------- En-tête desktop ---------- */

.header-desktop {
  width: var(--wide);
  height: 167px;
  margin-inline: auto;
  padding-top: 21px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 80px;
  color: var(--text);
  text-decoration: none;
}
.brand-logo { width: 84px; height: 80px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: 18px; line-height: 1.3; letter-spacing: .02em; }
.brand-tagline { font-size: 14px; line-height: 1.3; }

.header-rule {
  margin: 6px 0 0;
  border: 0;
  border-top: 1px solid var(--text);
  opacity: .85;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  margin-top: 16px;
}

.nav-list { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .15s;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text-strong); }

.header-contact { display: flex; align-items: center; gap: 14px; }
.header-mail { font-size: 14px; text-decoration: underline; }

.social { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: flex; color: var(--text); }
.social .icon { width: 20px; height: 20px; }
.social a:hover { color: var(--blue); }

/* ---------- En-tête mobile ---------- */

.header-mobile, .header-mobile-bar { display: none; }
.mobile-menu[hidden] { display: none; }

/* ---------- Héros + carte ---------- */

.hero { --hero-h: 372px; --card-top: 165px; position: relative; }
.hero-media {
  height: var(--hero-h);
  background: var(--hero-fallback);
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-card {
  position: relative;
  width: var(--grid);
  margin: calc(var(--card-top) - var(--hero-h)) auto 0;
  padding: 40px 64px 56px 128px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-card .h1, .hero-card h1 {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.2;
}
.hero-card p {
  max-width: 658px;
  margin-top: 39px;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

.hero--accueil { --hero-h: 372px; --card-top: 165px; }
.hero--equipe { --hero-h: 446px; --card-top: 194px; }
.hero--histoire { --hero-h: 432px; --card-top: 361px; }
.hero--clients { --hero-h: 504px; --card-top: 193px; }

/* ---------- Accueil : Description ---------- */

.description { padding: 72px 0 40px; }
.description h2 { font-size: 28px; line-height: 1.375; margin-bottom: 20px; }
.description ul { margin: 0; padding-left: 1.2em; }
.description li {
  font-size: 20px;
  line-height: 1.875;
  text-align: justify;
}
.description li + li { margin-top: 1.875em; }

/* ---------- Accueil : Chiffres clés ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  width: min(993px, 100% - 32px);
  min-height: 340px;
  margin: 0 auto;
  padding: 40px 0;
  list-style: none;
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat .icon { width: 102px; height: 102px; stroke-width: 1.3; margin-bottom: 18px; }
.stat-label, .stat-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.34;
}
.stat--blue { color: var(--blue); }
.stat--gold { color: var(--gold); }
.stat--cyan { color: var(--cyan); }

/* ---------- Accueil : Services ---------- */

.services {
  position: relative;
  min-height: 646px;
  padding: 64px 0 72px;
  background: url(/assets/img/bg-services.jpg) center / cover no-repeat;
  background-image: image-set(url(/assets/img/bg-services.webp) type("image/webp"), url(/assets/img/bg-services.jpg) type("image/jpeg"));
  color: #fff;
  isolation: isolate;
}
.services::before {
  /* Dégradé : bleu en bas, clair en haut, la photo floutée restant visible */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(55, 114, 251, .85) 0%, rgba(250, 250, 250, .25) 88%, rgba(250, 250, 250, .25) 100%);
}
.services h2 {
  font-weight: 300;
  font-size: 56px;
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.services-intro {
  max-width: 668px;
  margin: 12px auto 0;
  padding: 6px 12px;
  color: var(--text);
  font-size: 18px;
  text-align: center;
  background: rgba(255, 255, 255, .7);
}
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}
.service { display: flex; flex-direction: column; align-items: center; }
.service img { width: 121px; height: 121px; border-radius: 50%; object-fit: cover; }
.service h3 { margin-top: 33px; font-size: 26px; text-align: center; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.service p {
  max-width: 290px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}

/* ---------- Accueil : Témoignages ---------- */

.band-sand {
  display: flex; align-items: center; justify-content: center;
  height: 153px;
  background: var(--sand);
}
.band-sand h2 { color: #fff; font-size: 40px; line-height: 54px; letter-spacing: .02em; }

.testimonials {
  min-height: 795px;
  padding: 72px 0;
  background: #fff url(/assets/img/bg-temoignages.jpg) center / cover no-repeat;
  background-image: image-set(url(/assets/img/bg-temoignages.webp) type("image/webp"), url(/assets/img/bg-temoignages.jpg) type("image/jpeg"));
}
.testimonials-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.testimonial { display: flex; flex-direction: column; align-items: center; }
.testimonial img {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.testimonial-name {
  margin-top: 40px;
  color: var(--coral);
  font-family: var(--font-quote-name);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  text-align: center;
}
.testimonial-name span { display: block; margin-top: 6px; }
.testimonial blockquote { width: min(277px, 100%); margin: 28px 0 0; }
.testimonial blockquote p {
  font-size: 15px;
  line-height: 1.875;
  text-align: justify;
}
.testimonial blockquote p + p { margin-top: 1em; }
.testimonial .icon-quote { width: 34px; height: 34px; margin-top: 20px; color: var(--coral-quote); }

/* ---------- Bloc contact (accueil et page Contact) ---------- */

.contact-section { padding: 65px 0 0; }
.contact-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: var(--wide);
  margin: 0 auto;
}
.contact-info, .contact-form-panel {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 418px;
  padding: 32px;
  background: var(--panel);
  text-align: center;
}
.contact-info h2, .contact-info h1 { font-size: 40px; line-height: 54px; text-transform: uppercase; }
.contact-pitch { margin-top: 10px; font-size: 18px; font-weight: 700; }
.contact-address { margin-top: 18px; font-size: 15px; font-style: normal; }
.contact-mail { margin-top: 6px; font-size: 17px; text-decoration: underline; }
.contact-info .social { margin-top: 22px; gap: 14px; }
.contact-info .social .icon { width: 26px; height: 26px; }

.contact-form { width: min(460px, 100%); text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-form input:not([type="hidden"]):not(.honeypot),
.contact-form textarea {
  width: 100%;
  height: 42px;
  margin-bottom: 10px;
  padding: 3px 3px 3px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  color: var(--text);
  font: 15px/1.4 var(--font-body);
}
.contact-form textarea { height: 126px; padding-top: 10px; resize: vertical; }
.contact-form ::placeholder { color: #5a5a5a; opacity: 1; }
.contact-form [aria-invalid="true"] { border-bottom-color: #c62828; border-bottom-width: 2px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-legal { margin: 2px 0 12px; color: var(--muted-text); font-size: 12px; line-height: 1.5; }
.contact-form button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 0;
  background: var(--text);
  color: #fff;
  font: 14px var(--font-body);
  cursor: pointer;
}
.contact-form button:hover { background: #333; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 1.5em; margin-top: 10px; font-size: 15px; text-align: center; }
.form-status.is-error { color: #c62828; }

.map-band { width: var(--wide); margin: 11px auto 0; background: var(--panel); }
.map-frame { display: block; width: 100%; height: 308px; border: 0; }
.map-consent { display: grid; place-items: center; padding: 24px 16px; background: var(--panel); border: 1px solid #d9dfe2; text-align: center; }
.map-consent__box { max-width: 520px; font-size: 15px; line-height: 1.5; }
.map-consent__box a { text-decoration: underline; }
.map-consent__title { margin-bottom: 6px; font-family: var(--font-title); font-size: 18px; font-weight: 800; }
.map-consent__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; align-items: center; margin: 16px 0 12px; }
.map-consent__accept { padding: 12px 22px; border: 0; background: var(--text-strong); color: #fff; font: 600 15px var(--font-body); cursor: pointer; }
.map-consent__accept:hover { background: #333; }
.map-consent__remember { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.map-consent__remember[hidden], .map-consent__accept[hidden] { display: none; }
.map-consent-reset { padding: 10px 18px; border: 1px solid var(--text); background: transparent; font: 600 14px var(--font-body); cursor: pointer; }

.page-home .map-band { margin-bottom: 72px; }

/* Page Contact */
.page-contact .contact-section { padding-top: 0; }
.page-contact .contact-info, .page-contact .contact-form-panel { min-height: 501px; }
.page-contact .map-band { margin-top: 0; margin-bottom: 72px; }
.page-contact .map-frame { height: 470px; }

/* ---------- Notre Équipe ---------- */

.president {
  display: grid;
  grid-template-columns: 372px 1fr;
  gap: 34px;
  align-items: center;
  min-height: 423px;
  padding: 64px 0 64px 64px;
}
.president img { width: 372px; height: 360px; object-fit: cover; }
.president-name { font-size: 30px; }
.president-role { margin-top: 2px; color: var(--muted-text); font-size: 24px; }
.member-details { margin-top: 18px; font-size: 13px; line-height: 1.5; }
.member-details p + p { margin-top: 8px; }
.president .member-details { max-width: 479px; font-size: 15px; }
.member-linkedin { display: inline-flex; margin-top: 14px; color: var(--text); }
.member-linkedin .icon { width: 25px; height: 25px; }
.member-linkedin:hover { color: var(--blue); }

.team-group { padding: 24px 0 56px; }
.team-group h2 { font-size: 35px; line-height: 1.25; margin-bottom: 28px; }
.team-group--bureau h2 { color: var(--gold); }

.bureau-list {
  display: grid;
  grid-template-columns: repeat(3, 272px);
  justify-content: center;
  gap: 60px;
  margin: 0; padding: 0;
  list-style: none;
}
.bureau-card { background: var(--peach); }
.bureau-card img { width: 100%; aspect-ratio: 278 / 286; object-fit: cover; }
.bureau-card .card-body { padding: 16px 18px 20px; }
.member-name { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.4; }
.bureau-card .member-role { font-family: var(--font-title); font-weight: 800; font-size: 19px; line-height: 1.3; }

.poles { display: grid; grid-template-columns: repeat(2, 477px); justify-content: space-between; row-gap: 48px; }
/* Titres et cartes des pôles voisins alignés sur les mêmes lignes (même hauteur de carte) */
.pole { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; align-content: start; }
.pole h2 { color: var(--blue); }
.pole--wide { grid-column: 1 / -1; }
.pole-cards { display: grid; grid-template-columns: repeat(2, 477px); justify-content: space-between; row-gap: 26px; margin: 0; padding: 0; list-style: none; }
.pole:not(.pole--wide) .pole-cards { grid-template-columns: 477px; }

.pole-card {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 14px;
  min-height: 265px;
  background: var(--sky);
}
.pole-card img { width: 215px; height: 100%; min-height: 264px; object-fit: cover; }
.pole-card .card-photo--logo { object-fit: contain; padding: 40px; }
.pole-card .card-body { padding: 18px 14px 16px 0; color: #323232; }
.pole-card .member-name { color: var(--text); }
.pole-card .member-role { color: var(--text); font-family: var(--font-title); font-weight: 800; font-size: 20px; line-height: 1.3; }
.member-specialty { color: var(--text); font-family: var(--font-title); font-weight: 800; font-size: 13px; }
.pole-card .member-details { margin-top: 10px; }
.pole-card .member-linkedin .icon { width: 23px; height: 23px; }

/* ---------- Notre Histoire ---------- */

.presidents {
  padding: 64px 0 72px;
  background: var(--bg-soft);
  text-align: center;
}
.presidents h2 {
  color: #2a2a2a;
  font-family: var(--font-caps);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.title-mark { display: block; width: 32px; height: 3px; margin: 16px auto 48px; background: #0f0f0f; }
.presidents-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 48px;
  margin: 0 auto; padding: 0;
  list-style: none;
}
.president-item { display: flex; flex-direction: column; align-items: center; }
.president-item img { width: 216px; height: 216px; border-radius: 50%; object-fit: cover; }
.president-item-name {
  margin-top: 18px;
  color: #0f0f0f;
  font-family: var(--font-president);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
}
.president-item-years { margin-top: 4px; font-family: var(--font-year); font-weight: 300; font-size: 14px; }

.story-block { padding-bottom: 64px; }
.story-band {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 159px;
  background: url(/assets/img/bandeau-aix.jpg) center / cover no-repeat;
  background-image: image-set(url(/assets/img/bandeau-aix-640.webp) type("image/webp"), url(/assets/img/bandeau-aix.jpg) type("image/jpeg"));
  isolation: isolate;
}
.story-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-veil); }
.story-band h2 { color: #fff; font-size: 40px; letter-spacing: .04em; }
.story-frame {
  width: min(1060px, 100% - 32px);
  margin: 40px auto 0;
  padding: 40px 64px 48px;
  border: 1px solid var(--text);
  border-radius: 5px;
}
.story-frame .story-logo { margin: 0 auto 32px; }
.story-frame p {
  font-size: 20px;
  line-height: 1.875;
  text-align: justify;
}
.story-frame p + p { margin-top: 1.4em; }
.story-logo-link { display: block; width: fit-content; margin-inline: auto; }

/* ---------- Partenaires / Clients ---------- */

.logos-section { padding: 72px 0 24px; }
.logos-section:last-of-type { padding-bottom: 80px; }
.logos-section h2 {
  font-weight: 300;
  font-size: 60px;
  line-height: 1.41;
  text-align: center;
  margin-bottom: 40px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: var(--wide);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 281px;
  padding: 24px 20px 20px;
  background: var(--panel);
}
.logo-tile .logo-box { display: flex; flex: 1; align-items: center; justify-content: center; width: 100%; min-height: 0; }
.logo-tile img { max-height: 170px; width: auto; max-width: 100%; object-fit: contain; }
.logo-grid--4 { grid-template-columns: repeat(4, 208px); justify-content: center; }
.logo-tile p { margin-top: 12px; color: var(--muted-text); font-size: 13px; line-height: 1.35; text-align: center; }

/* ---------- Pages texte (mentions, confidentialité) ---------- */

.text-page { width: min(760px, 100% - 32px); margin: 40px auto 80px; }
.text-page h1 { font-weight: 300; font-size: 56px; line-height: 1.2; margin-bottom: 32px; }
.text-page h2 { font-size: 22px; margin: 32px 0 10px; }
.text-page p, .text-page li { font-size: 16px; line-height: 1.8; }
.text-page ul { padding-left: 1.2em; }
.todo { background: #fff3c4; padding: 0 4px; font-weight: 700; }

/* ---------- Pied de page ---------- */

.site-footer {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 96px;
  padding: 16px;
  text-align: center;
}
.footer-copy { font-size: 18px; }
.footer-links { margin-top: 4px; color: var(--muted-text); font-size: 13px; }
.footer-links a { color: inherit; }

/* ---------- Bouton flottant ---------- */

.floating-contact {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 236px; height: 56px;
  border-radius: 28px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.floating-contact .icon { width: 22px; height: 22px; }
.floating-contact:hover { background: #2a5fe0; }

/* ==========================================================================
   Tablette : on resserre les colonnes fixes
   ========================================================================== */

@media (max-width: 1060px) {
  .hero-card { padding-left: 64px; }
  .president { grid-template-columns: 300px 1fr; padding-left: 0; }
  .president img { width: 300px; height: auto; aspect-ratio: 372 / 360; }
  .bureau-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .poles, .pole-cards { grid-template-columns: repeat(2, 1fr) !important; column-gap: 20px; }
  .pole:not(.pole--wide) .pole-cards { grid-template-columns: 1fr !important; }
  .pole-card { grid-template-columns: 160px 1fr; }
  .pole-card img { width: 160px; }
  .nav-list { gap: 18px; }
}

@media (max-width: 900px) and (min-width: 768px) {
  .header-mail { display: none; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Mobile (< 768 px) : une colonne
   ========================================================================== */

@media (max-width: 767px) {
  .header-desktop { display: none; }

  .header-mobile {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 16px 0;
  }
  .brand-mobile img { width: 138px; height: 138px; }
  .menu-toggle, .menu-close {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    cursor: pointer;
  }
  .menu-toggle .icon, .menu-close .icon { width: 26px; height: 26px; }
  .header-mobile-bar { display: block; width: 100px; height: 3px; margin: 4px auto 16px; background: #424242; }

  .mobile-menu {
    position: fixed; inset: 0; z-index: 200;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    padding: 24px;
    background: #fff;
  }
  .menu-close { position: absolute; top: 16px; right: 16px; }
  .mobile-nav-list { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
  .mobile-nav-list a { font-size: 20px; text-decoration: none; color: var(--muted); font-weight: 700; }
  .mobile-nav-list a[aria-current="page"] { color: var(--text-strong); }
  .mobile-menu-mail { font-size: 16px; }
  .mobile-menu .social { gap: 18px; }
  .mobile-menu .social .icon { width: 24px; height: 24px; }
  body.menu-open { overflow: hidden; }

  /* Héros */
  .hero { --hero-h: 180px; }
  .hero--equipe { --hero-h: 200px; }
  .hero--histoire { --hero-h: 160px; }
  .hero--clients { --hero-h: 180px; }
  .hero-card { width: 100%; margin: 0; padding: 20px; }
  .hero-card .h1, .hero-card h1 { font-size: 27px; }
  .hero-card p { margin-top: 16px; text-align: left; }
  .page-home .hero-media { display: none; }

  /* Ordre mobile de l'accueil : chiffres avant la description */
  .page-home main { display: flex; flex-direction: column; }
  .page-home main > * { order: 3; }
  .page-home main > .hero { order: 0; }
  .page-home main > .stats { order: 1; }
  .page-home main > .description { order: 2; }

  .description { padding: 32px 0; }
  .description h2 { font-size: 24px; }
  .description li { font-size: 15px; text-align: left; }

  .stats { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding: 32px 0; }
  .stat--gold { order: 1; }
  .stat--cyan { order: 2; }
  .stat--blue { order: 3; }
  .stat .icon { width: 72px; height: 72px; margin-bottom: 10px; }
  .stat-label, .stat-value { font-size: 22px; }

  .services { min-height: 0; padding: 48px 0; }
  .services h2 { font-size: 30px; }
  .services-intro { font-size: 16px; }
  .services-list { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
  .service h3 { margin-top: 20px; }
  .service p { font-size: 15px; text-align: left; }

  .band-sand { height: 100px; }
  .band-sand h2 { font-size: 24px; line-height: 1.3; }
  .testimonials { min-height: 0; padding: 48px 0; }
  .testimonials-list { grid-template-columns: 1fr; gap: 56px; }
  .testimonial blockquote { width: 100%; max-width: 340px; }
  .testimonial blockquote p { text-align: left; }

  .contact-section { padding-top: 32px; }
  .contact-panels { display: flex; flex-direction: column-reverse; width: 100%; }
  .contact-info, .contact-form-panel,
  .page-contact .contact-info, .page-contact .contact-form-panel { min-height: 0; padding: 32px 20px; }
  .contact-info h2, .contact-info h1 { font-size: 24px; line-height: 1.3; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .map-band { width: 100%; margin-top: 0; }
  .map-frame, .page-contact .map-frame { height: 300px; }
  .page-home .map-band, .page-contact .map-band { margin-bottom: 40px; }

  .president { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 32px 0; justify-items: center; }
  .president img { width: 100%; max-width: 372px; height: auto; }
  .president > div { width: 100%; }
  .president .member-details { font-size: 14px; }
  .member-details { font-size: 14px; }
  .team-group h2 { font-size: 27px; }
  .bureau-list { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .bureau-card { width: 100%; max-width: 320px; }
  .poles, .pole-cards, .pole:not(.pole--wide) .pole-cards { grid-template-columns: 1fr !important; }
  .poles { row-gap: 40px; }
  .pole-card { grid-template-columns: 1fr; }
  .pole-card img { width: 100%; height: auto; min-height: 0; aspect-ratio: 215 / 264; max-height: 360px; }
  .pole-card .card-photo--logo { aspect-ratio: auto; height: 200px; }
  .pole-card .card-body { padding: 16px 18px 20px; }

  .presidents { padding: 48px 0; }
  .presidents h2 { font-size: 22px; }
  .presidents-list { grid-template-columns: 1fr; row-gap: 36px; }

  .story-band { height: 110px; }
  .story-band h2 { font-size: 24px; }
  .story-frame { padding: 24px 18px; margin-top: 24px; }
  .story-frame p { font-size: 15px; text-align: left; }
  .story-frame .story-logo { max-width: 220px; margin-bottom: 20px; }

  .logos-section { padding: 48px 0 8px; }
  .logos-section h2 { font-size: 28px; margin-bottom: 24px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-tile { height: 200px; padding: 16px 12px 14px; }
  .logo-tile img { max-height: 110px; }

  .text-page { margin-top: 16px; }
  .text-page h1 { font-size: 30px; }

  .footer-copy { font-size: 16px; }

  .floating-contact { width: 56px; padding: 0; border-radius: 50%; }
  .floating-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .floating-contact .icon { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
