/* ═══ POLICES LOCALES ═══
   Déposez les fichiers .woff2 correspondants dans le dossier /fonts à la racine du site.
   Noms attendus (convention google-webfonts-helper) : */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/nunito-v32-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-v32-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/nunito-v32-latin-600.woff2') format('woff2');
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: #f5f7f5;
  color: #2d3a2e;
  min-height: 100vh;
}

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: #f5f7f5;
  border-bottom: 0.5px solid #d6ddd6;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600;
  color: #3a4b3c; line-height: 1.3;
  cursor: pointer; text-decoration: none;
}
.nav-links { display: flex; align-items: center; list-style: none; flex-wrap: wrap; gap: 0; }
.nav-links li { display: flex; align-items: center; }
.nav-links li + li::before {
  content: ''; display: inline-block;
  width: 1px; height: 13px;
  background: #afb6b0; margin: 0 0.75rem;
}
.nav-links a {
  font-size: 1rem; font-weight: 600;
  color: #3a4b3c; text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
  cursor: pointer;
}
.nav-links a:hover { border-bottom-color: #d26db8; }
.nav-links a.active { border-bottom-color: #d26db8; color: #3a4b3c; }

/* ─── PAGES ─── */
.page { display: block; max-width: 860px; margin: 0 auto; padding-bottom: 3.5rem; }

/* ─── HERO ─── */
.hero { padding: 3rem 2.5rem 2rem; }
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #d26db8;
  margin-bottom: 0.6rem; font-weight: 600;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 600;
  color: #3a4b3c; line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-center { text-align: center; }
.hero-center h1 { font-size: 3rem; }
.hero-sub {
  font-size: 1rem; font-weight: 300;
  color: #5a6b5c; line-height: 1.75;
  max-width: 520px;
}
.hero-center .hero-sub { margin: 0 auto 1.8rem; max-width: 480px; }
.hero-badge {
  display: inline-block;
  background: #edf1ed; color: #3a4b3c;
  font-size: 0.78rem; font-weight: 900;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 35px; border-radius: 20px;
  margin-bottom: 1.4rem;
  box-shadow: 6px 5px 7px -11px #3A4B3C;
}
.hero-lieu {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 0.5px solid #d6ddd6;
  border-radius: 8px; padding: 0.5rem 1.1rem;
  font-size: 0.92rem; color: #3a4b3c; margin-top: 0.2rem;
}
.hero-lieu strong { font-weight: 600; }
.hero-lieu span { color: #afb6b0; }
.hero-deco {
  display: flex; justify-content: center;
  gap: 2.5rem; margin-bottom: 1.6rem; opacity: 0.55;
}
.hero-info {
  font-size: 1rem; font-weight: 600;
  color: #3a4b3c; margin-top: 0.2rem;
}

/* ─── HERO RIGHT ILLUSTRATION ─── */
.hero-page {
  position: relative;
  overflow: hidden;
}

.hero-page .hero__inner {
  position: relative;
  z-index: 2;
}

.hero-page::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  transform: rotate(20deg) translateX(50px);
  filter: blur(0.2px);
}

#page-apropos .hero-page::after,
#page-visiteurs .hero-page::after, 
#page-praticiens .hero-page::after,
#page-benevoles .hero-page::after,
#page-programme .hero-page::after,
#page-infos .hero-page::after,
#page-permettre .hero-page::after{
  background-image: url('../images/illustration-plant.png');
}

/* ─── SECTIONS ─── */
.section { padding: 2.2rem 2.5rem 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 400;
  color: #3a4b3c; margin-bottom: 0.35rem;
}
.section-rule {
  width: 36px; height: 3px;
  background: #d26db8; border: none;
  margin-bottom: 1.5rem;
}

/* ─── QUOTE ─── */
.quote {
  margin: 2rem 2.5rem 0;
  border-left: 3px solid #d26db8;
  border-radius: 0 10px 10px 0;
  background: #fff; padding: 1rem 1.5rem;
  box-shadow: 6px 5px 17px -11px rgba(58,75,60,0.46);
}
.quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1rem;
  color: #3a4b3c; line-height: 1.7;
}

/* ─── CARDS ─── */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 0.9rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-top: 0.9rem; }
.cards-2-center {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem; margin-top: 0.9rem;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.card {
  background: #fff; border: 0.5px solid #e8ece8;
  border-radius: 10px; padding: 1.1rem 1.15rem;
  box-shadow: 6px 5px 17px -11px rgba(58,75,60,0.46);
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem; font-weight: 600;
  color: #3a4b3c; margin-bottom: 0.4rem;
}
.card p { font-size: 0.83rem; color: #5a6b5c; line-height: 1.6; }

/* Public cards accueil */
.public-card {
  background: #fff; border: 0.5px solid #e8ece8;
  border-radius: 10px; padding: 1.3rem 1.2rem 1.1rem;
  box-shadow: 6px 5px 17px -11px rgba(58,75,60,0.46);
}
.public-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600;
  color: #3a4b3c; margin-bottom: 0.35rem;
}
.public-card p { font-size: 0.82rem; color: #5a6b5c; line-height: 1.6; margin-bottom: 0.8rem; }
.public-card a {
  font-size: 0.82rem; font-weight: 600;
  color: #d26db8; text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s; cursor: pointer;
}
.public-card a:hover { border-bottom-color: #d26db8; }

/* ─── TAGS ─── */
.tags { display: flex; flex-wrap: wrap; gap: 1rem; }
.tag {
  background: #edf1ed; color: #3a4b3c;
  box-shadow: 6px 5px 7px -11px #3A4B3C;
  font-size: 0.8rem; font-weight: 600;
  padding: 5px 13px; border-radius: 20px;
}

/* ─── TEXTE EVENEMENT ─── */
.event-text { font-size: 0.95rem; color: #4a5a4c; line-height: 1.8; }
.event-text p + p { margin-top: 0.9rem; }

/* ─── LISTE ─── */
.event-list { list-style: none; padding: 0; margin-top: 0.8rem; }
.event-list li {
  display: flex; gap: 0.6rem;
  font-size: 0.88rem; color: #4a5a4c;
  padding: 0.3rem 0; line-height: 1.5;
}
.event-list li::before { content: '•'; color: #d26db8; font-weight: 600; flex-shrink: 0; }

/* ─── INFO BLOCK ─── */
.info-block {
  background: #fff; border: 0.5px solid #d6ddd6;
  border-radius: 10px; padding: 1.2rem 1.4rem;
}
.info-row {
  display: flex; gap: 1rem;
  padding: 0.45rem 0;
  border-top: 0.5px solid #edf1ed;
  font-size: 0.88rem; align-items: baseline;
}
.info-row:first-child { border-top: none; }
.info-label { color: #4a5a4c; font-weight: 800; min-width: 140px; font-size: 0.82rem; flex-shrink: 0; }
.info-label-date, .info-label-title { color: #d26db8; font-weight: 600; min-width: 140px; font-size: 0.82rem; flex-shrink: 0; }
.info-val { color: #4a5a4c; line-height: 1.6; }
.info-val a { color: #3a4b3c; font-weight: 600; text-decoration: none; }

/* ─── ETHIQUE LIST ─── */
.ethique-list { list-style: none; padding: 0; }
.ethique-list li {
  display: flex; gap: 0.7rem;
  padding: 0.55rem 0;
  border-top: 0.5px solid #edf1ed;
  font-size: 0.88rem; color: #4a5a4c; line-height: 1.5;
}
.ethique-list li:first-child { border-top: none; padding-top: 0; }
.ethique-list li::before { content: '•'; color: #d26db8; font-weight: 600; flex-shrink: 0; }

/* ─── CARTE ─── */
.map-wrap {
  background: #fff; border: 0.5px solid #d6ddd6;
  border-radius: 10px; overflow: hidden;
}
#map { height: 280px; width: 100%; }
.map-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-top: 0.5px solid #edf1ed;
}
.map-address { font-size: 0.85rem; color: #4a5a4c; line-height: 1.5; }
.map-address strong { color: #3a4b3c; font-weight: 600; }
.map-link {
  font-size: 0.82rem; font-weight: 600;
  color: #d26db8; text-decoration: none;
  white-space: nowrap;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s;
}
.map-link:hover { border-bottom-color: #d26db8; }

/* ─── CONTACT CARDS ─── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.contact-card {
  background: #fff; border: 0.5px solid #d6ddd6;
  border-radius: 10px; padding: 1.1rem 1.15rem;
}
.contact-card .c-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: #afb6b0; margin-bottom: 0.4rem;
}
.contact-card .c-val {
  font-size: 0.88rem; color: #3a4b3c;
  font-weight: 600; line-height: 1.5;
}
.contact-card .c-val a { color: #3a4b3c; text-decoration: none; }

/* ─── CARD LISTE ─── */
.card-list { list-style: none; padding: 0; }
.card-list li {
  display: flex; gap: 0.6rem;
  font-size: 0.85rem; color: #4a5a4c;
  padding: 0.35rem 0;
  border-top: 0.5px solid #edf1ed;
  line-height: 1.5;
}
.card-list li:first-child { border-top: none; padding-top: 0; }
.card-list li::before { content: '•'; color: #d26db8; font-weight: 600; flex-shrink: 0; }

/* ─── FINANCEMENT BLOC ─── */
.financement-bloc {
  background: #fff;
  border: 0.5px solid #e8ece8;
  border-radius: 14px;
  padding: 1.8rem 2rem;
  box-shadow: 6px 5px 17px -11px rgba(58,75,60,0.46);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.financement-bloc .fi-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 600;
  color: #3a4b3c;
}
.financement-bloc .fi-text {
  font-size: 0.88rem; color: #4a5a4c; line-height: 1.75;
}
.financement-bloc .fi-items {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.8rem;
}
.fi-item {
  background: #f5f7f5; border-radius: 10px;
  padding: 0.9rem 1rem;
}
.fi-item .fi-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: #afb6b0; margin-bottom: 0.3rem;
}
.fi-item .fi-val {
  font-size: 0.85rem; color: #3a4b3c; font-weight: 600; line-height: 1.5;
}
.btn-cagnotte {
  display: inline-block;
  background: #d26db8; color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  padding: 0.7rem 1.8rem; border-radius: 8px;
  text-decoration: none; cursor: pointer;
  border: none; transition: background 0.2s;
  align-self: flex-start;
}
.btn-cagnotte:hover { background: #c45ca6; }

/* ─── LIEN ACCUEIL ─── */
.home-link {
  display: inline-block;
  font-size: 0.85rem; font-weight: 600;
  color: #d26db8; text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s; cursor: pointer;
}
.home-link:hover { border-bottom-color: #d26db8; }

/* ─── PROGRAMME HORAIRE ─── */
.prog-jour { margin-bottom: 1.2rem; }
.prog-jour-titre {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600;
  color: #d26db8; margin-bottom: 0.6rem;
}
.prog-ligne {
  display: flex; gap: 1rem;
  padding: 0.5rem 0;
  border-top: 0.5px solid #edf1ed;
  font-size: 0.87rem; align-items: baseline;
}
.prog-ligne:first-child { border-top: none; }
.prog-heure { color: #d26db8; font-weight: 700; min-width: 56px; flex-shrink: 0; font-size: 0.85rem; }
.prog-libelle { color: #4a5a4c; line-height: 1.55; }
.prog-note {
  background: #fff; border: 0.5px solid #d6ddd6;
  border-radius: 8px; padding: 0.7rem 1rem;
  font-size: 0.82rem; color: #afb6b0; text-align: center;
  margin-bottom: 1.2rem; font-style: italic;
}

/* ─── INTERVENANT ACCORDÉON ─── */
.intervenant-card {
  background: #fff; border: 0.5px solid #e8ece8;
  border-radius: 10px; overflow: hidden;
  box-shadow: 6px 5px 17px -11px rgba(58,75,60,0.46);
  margin-bottom: 0.8rem;
}
.intervenant-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.3rem;
  cursor: pointer; user-select: none;
}
.intervenant-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600; color: #3a4b3c;
  margin-bottom: 0.25rem;
}
.intervenant-head p {
  font-size: 0.83rem; color: #5a6b5c; line-height: 1.5;
}
.intervenant-toggle {
  flex-shrink: 0; width: 26px; height: 26px;
  border-radius: 50%; background: #f5f7f5;
  display: flex; align-items: center; justify-content: center;
  color: #d26db8; font-size: 1rem; font-weight: 700;
  transition: transform 0.25s;
}
.intervenant-card.open .intervenant-toggle { transform: rotate(45deg); }
.intervenant-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.intervenant-card.open .intervenant-body { border-top: 0.5px solid #edf1ed; }
.intervenant-body-inner {
  padding: 1.2rem 1.3rem 1.4rem;
  font-size: 0.85rem; color: #4a5a4c; line-height: 1.75;
}
.intervenant-body-inner h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem; font-weight: 600; color: #3a4b3c;
  margin: 0.9rem 0 0.4rem;
}
.intervenant-body-inner h4:first-child { margin-top: 0; }
.intervenant-body-inner ul { list-style: none; padding: 0; margin: 0.3rem 0; }
.intervenant-body-inner ul li {
  display: flex; gap: 0.5rem; padding: 0.2rem 0;
}
.intervenant-body-inner ul li::before { content: '•'; color: #d26db8; font-weight: 600; flex-shrink: 0; }
.intervenant-body-inner a { color: #d26db8; font-weight: 600; text-decoration: none; cursor: pointer; }
.intervenant-body-inner a:hover { text-decoration: underline; }
.intervenant-body-inner p + h4 { margin-top: 0.9rem; }

.intervenant-propose {
  font-size: 0.85rem;
  color: #4a5a4c;
  line-height: 1.75;
}

.intervenant-propose .ip-titre {
  color: #3a4b3c;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.intervenant-propose ul {
  list-style: none;
  margin: 0.3rem 0 0 1rem;
  padding: 0;
}

.intervenant-propose li {
  position: relative;
  padding-left: 0.9rem;
  color: #4a5a4c;
  font-size: 0.85rem;
  line-height: 1.75;
}

.intervenant-propose li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d26db8;
  font-weight: 600;
}

/* ─── BOUTON PLACEHOLDER / À VENIR ─── */
.btn-placeholder {
  display: inline-block;
  background: #d26db8; color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  padding: 0.7rem 1.8rem; border-radius: 8px;
  text-decoration: none; cursor: pointer;
  border: none; transition: background 0.2s;
}
.btn-placeholder:hover { background: #c45ca6; }
.placeholder-note {
  font-size: 0.78rem; color: #afb6b0; margin-top: 0.6rem; line-height: 1.5;
}

/* ─── SCHÉMAS ILLUSTRATIFS ─── */
.schemas-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem; margin: 1.5rem 0;
}
.schema-bloc {
  background: #fff; border: 0.5px solid #e8ece8;
  border-radius: 12px; padding: 1.2rem;
  box-shadow: 6px 5px 17px -11px rgba(58,75,60,0.46);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.schema-bloc img {
  width: 100%; height: auto; border-radius: 8px;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.15s;
}
.schema-bloc img:hover {
  opacity: 0.88;
}
.schema-legende {
  font-size: 0.74rem; color: #afb6b0; line-height: 1.6;
}
.schema-legende strong {
  color: #5a6b5c; font-weight: 700;
}

/* ─── LIGHTBOX SCHÉMAS ─── */
.lightbox-overlay {
  display: none;
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(42, 46, 42, 0.92);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-overlay img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}

/* ─── FORMULAIRES ─── */
.form-wrap {
  margin: 2.5rem 2.5rem 0;
  background: #3a4b3c;
  border-radius: 14px; padding: 2rem;
}
.form-wrap .section-title { color: #f5f7f5; }
.form-intro { font-size: 0.88rem; color: #f5f7f5; line-height: 1.6; margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-bottom: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.span2 { grid-column: 1 / -1; }
.field label {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: #f5f7f5;
}
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: 7px; padding: 0.6rem 0.8rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem; color: #f5f7f5;
  outline: none; width: 100%;
  transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.28); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #d26db8; }
.field select option { background: #3a4b3c; color: #f5f7f5; }
.field textarea { resize: vertical; min-height: 80px; }
.check-row {
  display: flex; align-items: flex-start;
  gap: 0.55rem; margin: 0.5rem 0 1.4rem;
}
.check-row input[type="checkbox"] { margin-top: 3px; accent-color: #d26db8; flex-shrink: 0; }
.check-row label { font-size: 0.8rem; color: #afb6b0; line-height: 1.5; }
.btn-submit {
  background: #d26db8; color: #fff; border: none;
  border-radius: 7px; padding: 0.75rem 0; width: 100%;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: #c45ca6; }
.btn-submit:disabled { opacity: 0.5; cursor: default; }
.form-notice {
  font-size: 0.75rem; color: rgba(175,182,176,0.7);
  margin-bottom: 1rem; line-height: 1.5;
}
.form-notice a { color: #d26db8; }
.confirm {
  display: none; margin-top: 1rem;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 1rem 1.2rem;
  text-align: center; color: #c8d1c9; font-size: 0.88rem;
}
.confirm strong { display: block; color: #d26db8; font-size: 1rem; margin-bottom: 0.3rem; }
.form-error {
  display: none; margin-top: 1rem;
  background: rgba(200,80,80,0.15);
  border: 0.5px solid rgba(200,80,80,0.3);
  border-radius: 8px; padding: 0.8rem 1rem;
  color: #f5b5b5; font-size: 0.85rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #3a4b3c; color: #afb6b0;
  text-align: center; padding: 1.5rem 2rem;
  font-size: 0.8rem; line-height: 1.8; margin-top: 3rem;
}
.site-footer a { color: #d26db8; text-decoration: none; }

/* ─── RESPONSIVE ─── */
img, svg { max-width: 100%; }
.nav-toggle { display: none; }

@media (max-width: 1024px) {
  .page { max-width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { margin: 2rem 1.5rem 0; }
  .financement-bloc .fi-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; background: none; border: none; font-size: 1.8rem; color: #3a4b3c; cursor: pointer; }
  .nav { flex-wrap: wrap; align-items: center; }
  .nav-links { display: none; width: 100%; flex-direction: column; margin-top: 0.8rem; border-top: 0.5px solid #d6ddd6; padding-top: 0.8rem; }
  .nav-links.open { display: flex; }
  .nav-links li + li::before { display: none; }
  .nav-links a { padding: 0.6rem 0; }
  .hero { padding: 2rem 1.2rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-center h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .cards-4, .cards-3, .cards-2, .cards-2-center { grid-template-columns: 1fr; }
  .schemas-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.span2 { grid-column: auto; }
  .section { padding: 1.5rem 1.2rem 0; }
  .quote { margin: 1.5rem 1.2rem 0; }
  .form-wrap { padding: 1.5rem; margin: 1.5rem 1.2rem 0; }
  .financement-bloc { padding: 1.3rem; }
  .financement-bloc .fi-items { grid-template-columns: 1fr; }
  .hero-page::after { width: 70%; height: 70%; top: 10%; right: -20px; transform: rotate(12deg) translateX(0); opacity: 0.18; filter: none; }

  /* Tableaux info-row : passage en colonne pour lisibilité mobile */
  .info-row {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.7rem 0;
  }
  .info-label, .info-label-date, .info-label-title {
    min-width: 0;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #d26db8;
  }
  .info-val {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* Contact : email/téléphone ne débordent jamais */
  .contact-card .c-val,
  .contact-card .c-val a {
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-badge { padding: 8px 18px; font-size: 0.7rem; }
  .nav-logo { font-size: 0.85rem; }
}
