/* ==========================================================================
   Le Baby Club - feuille de style unique
   Palette relevee sur le logo 2026. Contrastes verifies sur fond creme.
   ========================================================================== */

/* Polices servies par le site (27/11/2026) : plus aucun appel a Google Fonts.
   Fichiers variables fontsource 5.2.7, sous-ensemble latin, licence OFL (assets/fonts/OFL-*.txt). */
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-wght-italic.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  /* Couleurs */
  --creme: #FFF6EA;
  --creme-surface: #FBEEDC;
  --creme-bord: #EFDCC2;
  --blanc: #FFFFFF;
  --vert-feuille: #5E8C31;
  --vert-fonce: #4A6E26;
  --vert-clair: #9BC53D;
  --vert-voile: #EDF4E0;
  --terracotta: #A0694A;
  --terracotta-fonce: #8A5739;
  --brun: #7A4A2E;
  --brun-doux: #8C6450;

  /* Typographie */
  --titre: "Quicksand", "Trebuchet MS", sans-serif;
  --courant: "Nunito", "Segoe UI", sans-serif;

  /* Mesures */
  --largeur: 1180px;
  --largeur-texte: 68ch;
  --rayon: 18px;
  --rayon-s: 10px;
  --ombre: 0 2px 4px rgba(122, 74, 46, .06), 0 12px 28px rgba(122, 74, 46, .09);
  --ombre-douce: 0 1px 2px rgba(122, 74, 46, .05), 0 6px 16px rgba(122, 74, 46, .06);
}

/* --------------------------------------------------------- Socle */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--brun);
  font-family: var(--courant);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  color: var(--vert-feuille);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; color: var(--terracotta-fonce); }
h4 { font-size: 1.05rem; color: var(--brun); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--terracotta-fonce);
  text-decoration-color: rgba(138, 87, 57, .4);
  text-underline-offset: .22em;
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: var(--vert-fonce); text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--vert-fonce);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }

strong { font-weight: 700; color: var(--brun); }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: 32px;
}

.lien-evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--vert-fonce);
  color: var(--blanc);
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 var(--rayon-s) 0;
}
.lien-evitement:focus { left: 0; }

/* --------------------------------------------------------- En-tete */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 234, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--creme-bord);
}

.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.marque {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.marque img { width: 58px; height: 58px; }
.marque__nom {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--terracotta-fonce);
  line-height: 1.15;
  letter-spacing: .01em;
}
.marque__sur {
  display: block;
  font-family: var(--courant);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vert-feuille);
}

.nav__liste {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__liste a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brun);
  text-decoration: none;
  white-space: nowrap;
}
.nav__liste a:hover { background: var(--vert-voile); color: var(--vert-fonce); }
.nav__liste a[aria-current="page"] {
  background: var(--vert-voile);
  color: var(--vert-fonce);
  box-shadow: inset 0 0 0 1px rgba(94, 140, 49, .3);
}
.nav__liste .nav__appui a {
  background: var(--vert-fonce);
  color: var(--blanc);
  margin-left: 8px;
  box-shadow: var(--ombre-douce);
}
.nav__liste .nav__appui a:hover { background: var(--brun); color: var(--blanc); }

.nav__bouton {
  display: none;
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon-s);
  padding: 10px 12px;
  cursor: pointer;
  color: var(--brun);
  font: inherit;
  align-items: center;
  gap: 8px;
}
.nav__bouton span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

/* --------------------------------------------------------- Boutons */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.bouton:hover { transform: translateY(-2px); }

.bouton--plein {
  background: var(--vert-fonce);
  color: var(--blanc);
  box-shadow: var(--ombre-douce);
}
.bouton--plein:hover { background: var(--brun); color: var(--blanc); }

.bouton--trait {
  background: transparent;
  color: var(--terracotta-fonce);
  border-color: var(--terracotta);
}
.bouton--trait:hover { background: var(--terracotta-fonce); color: var(--blanc); }

/* --------------------------------------------------------- Sections */

.section { padding: 84px 0; }
.section--voile { background: var(--vert-voile); }
.section--surface { background: var(--creme-surface); }
.section--serre { padding: 56px 0; }

.section__intro { max-width: var(--largeur-texte); }
.section__intro--centre { margin-inline: auto; text-align: center; }

.surtitre {
  display: inline-block;
  font-family: var(--courant);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vert-fonce);
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.chapeau {
  font-size: 1.16rem;
  color: var(--brun-doux);
  max-width: var(--largeur-texte);
}

/* --------------------------------------------------------- Banniere de page */

.banniere {
  padding: 68px 0 56px;
  background:
    radial-gradient(1000px 300px at 12% -40%, rgba(155, 197, 61, .22), transparent 70%),
    var(--creme-surface);
  border-bottom: 1px solid var(--creme-bord);
}
.banniere__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.banniere h1 { font-size: 2.7rem; margin-bottom: .35em; }
.banniere .chapeau { margin-bottom: 0; }

/* --------------------------------------------------------- Accueil */

.heros {
  padding: 76px 0 88px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(155, 197, 61, .26), transparent 68%),
    radial-gradient(700px 360px at 5% 110%, rgba(160, 105, 74, .12), transparent 70%),
    var(--creme);
}
.heros__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.heros h1 { font-size: 3.1rem; margin-bottom: .3em; }
.heros .chapeau { font-size: 1.22rem; }

.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* --------------------------------------------------------- Illustrations */

.heros__illustration, .banniere__illustration { max-width: 420px; justify-self: end; width: 100%; }

.dessin { width: 100%; height: auto; display: block; }
.dessin--encadre {
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon);
  padding: 24px;
  box-shadow: var(--ombre);
}

/* --------------------------------------------------------- Cartes */

.grille {
  display: grid;
  gap: 26px;
  margin-top: 44px;
}
.grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.carte {
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon);
  padding: 30px;
  box-shadow: var(--ombre-douce);
  display: flex;
  flex-direction: column;
}
.carte h3 { margin-bottom: .5em; }
.carte__pied { margin-top: auto; padding-top: 18px; }
.carte__lien {
  font-family: var(--titre);
  font-weight: 700;
  text-decoration: none;
  color: var(--vert-fonce);
}
.carte__lien::after { content: " \2192"; }
.carte__lien:hover { text-decoration: underline; }

.carte--porte { border-top: 4px solid var(--vert-clair); }
.carte--accent { border-top: 4px solid var(--terracotta); }

.carte__icone {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

/* --------------------------------------------------------- Chiffres */

.chiffres {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chiffre {
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--ombre-douce);
}
.chiffre__valeur {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--vert-feuille);
  line-height: 1;
}
.chiffre__libelle {
  display: block;
  margin-top: 8px;
  font-size: .95rem;
  color: var(--brun-doux);
}

/* --------------------------------------------------------- Citation */

.citation {
  max-width: 54ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--titre);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--brun);
}
.citation cite {
  display: block;
  margin-top: 20px;
  font-family: var(--courant);
  font-size: .95rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vert-fonce);
}

/* --------------------------------------------------------- Encadres */

.encadre {
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-left: 5px solid var(--vert-clair);
  border-radius: var(--rayon-s);
  padding: 24px 28px;
  box-shadow: var(--ombre-douce);
}
.encadre--urgence { border-left-color: var(--terracotta); }
.encadre h3 { margin-top: 0; }

/* --------------------------------------------------------- Frise */

.frise {
  list-style: none;
  margin: 44px 0 0;
  padding: 0 0 0 36px;
  border-left: 2px solid var(--creme-bord);
}
.frise li {
  position: relative;
  padding: 0 0 34px 10px;
}
.frise li:last-child { padding-bottom: 0; }
.frise li::before {
  content: "";
  position: absolute;
  left: -45px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--vert-clair);
  box-shadow: 0 0 0 4px var(--creme);
}
.frise__date {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--vert-feuille);
  margin-bottom: 4px;
}

/* --------------------------------------------------------- Listes */

.liste-coches { list-style: none; margin: 0; padding: 0; }
.liste-coches li {
  position: relative;
  padding: 0 0 12px 32px;
}
.liste-coches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 3px solid var(--vert-clair);
}

.liste-simple { margin: 0; padding-left: 22px; }
.liste-simple li { padding-bottom: 10px; }

/* --------------------------------------------------------- Tableau */

.tableau-enveloppe { overflow-x: auto; margin-top: 36px; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon-s);
  overflow: hidden;
  font-size: .98rem;
}
caption {
  caption-side: bottom;
  padding-top: 14px;
  font-size: .9rem;
  color: var(--brun-doux);
  text-align: left;
}
th, td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--creme-bord);
  vertical-align: top;
}
thead th {
  background: var(--vert-voile);
  font-family: var(--titre);
  color: var(--vert-fonce);
  font-size: .95rem;
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
tbody th { font-family: var(--titre); color: var(--terracotta-fonce); font-weight: 700; }

/* --------------------------------------------------------- Paliers de soutien */

.palier {
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon);
  padding: 28px;
  box-shadow: var(--ombre-douce);
  display: flex;
  flex-direction: column;
}
.palier__rang {
  font-family: var(--courant);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vert-fonce);
}
.palier h3 { font-size: 1.45rem; color: var(--vert-feuille); margin: 8px 0 4px; }
.palier__montant {
  font-family: var(--titre);
  font-weight: 700;
  color: var(--terracotta-fonce);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.palier__barre {
  height: 6px;
  border-radius: 999px;
  background: var(--vert-voile);
  margin-bottom: 20px;
  overflow: hidden;
}
.palier__barre i { display: block; height: 100%; background: var(--vert-clair); border-radius: 999px; }
.palier__cumul { font-style: italic; font-size: .92rem; color: var(--terracotta-fonce); margin: 0 0 10px; }
.palier .liste-coches li { font-size: .95rem; padding-bottom: 6px; }

/* --------------------------------------------------------- Formulaire */

.formulaire {
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon);
  padding: 32px;
  box-shadow: var(--ombre-douce);
}
.champ { margin-bottom: 22px; }
.champ label {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--brun);
}
.champ__aide { display: block; font-weight: 400; font-size: .88rem; color: var(--brun-doux); margin-top: 2px; }
.champ input, .champ textarea, .champ select {
  width: 100%;
  font: inherit;
  color: var(--brun);
  background: var(--creme);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon-s);
  padding: 12px 14px;
}
.champ input:focus, .champ textarea:focus, .champ select:focus {
  background: var(--blanc);
  border-color: var(--vert-feuille);
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ--duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.champ--duo .champ { margin-bottom: 0; }
.mention-rgpd { font-size: .9rem; color: var(--brun-doux); margin-top: 18px; }

/* --------------------------------------------------------- Coordonnees */

.coordonnees { list-style: none; margin: 0; padding: 0; }
.coordonnees li { display: flex; gap: 14px; padding-bottom: 18px; }
.coordonnees svg { flex-shrink: 0; width: 26px; height: 26px; margin-top: 3px; }
.coordonnees strong { display: block; font-family: var(--titre); }

/* --------------------------------------------------------- Appel de bas de page */

.appel {
  background: var(--vert-fonce);
  color: var(--creme);
  border-radius: var(--rayon);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--ombre);
}
.appel h2 { color: var(--blanc); margin-bottom: .4em; }
.appel p { color: rgba(255, 246, 234, .9); margin-bottom: 0; max-width: 56ch; }
.appel .bouton--plein { background: var(--creme); color: var(--vert-fonce); }
.appel .bouton--plein:hover { background: var(--blanc); color: var(--vert-fonce); }

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

.pied {
  background: var(--brun);
  color: #F1E2D6;
  padding: 64px 0 28px;
  margin-top: 0;
}
.pied a { color: #F1E2D6; text-decoration-color: rgba(241, 226, 214, .45); }
.pied a:hover { color: var(--blanc); }
.pied h4 {
  color: var(--vert-clair);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.pied__marque { display: flex; gap: 16px; align-items: flex-start; }
.pied__marque img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--creme);
}
.pied__nom { font-family: var(--titre); font-weight: 700; font-size: 1.1rem; color: var(--blanc); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { padding-bottom: 10px; font-size: .95rem; }
.pied__reseau a { display: inline-flex; align-items: center; gap: 8px; }
.pied__reseau svg { flex-shrink: 0; width: 18px; height: 18px; }
.pied__bas {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(241, 226, 214, .22);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: .9rem;
  color: #D9C4B4;
}

/* --------------------------------------------------------- Page 404 */

.page-erreur { text-align: center; padding: 110px 0 96px; }
.page-erreur .dessin { max-width: 240px; margin: 0 auto 32px; }

/* --------------------------------------------------------- Responsive */

@media (max-width: 1020px) {
  .nav__liste a { padding: 9px 10px; font-size: .9rem; }
  .marque__nom { font-size: 1.1rem; }
  .grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appel { padding: 44px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .conteneur { padding-inline: 20px; }
  .section { padding: 60px 0; }

  .nav__bouton { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--creme);
    border-bottom: 1px solid var(--creme-bord);
    box-shadow: var(--ombre);
    display: none;
  }
  .nav[data-ouvert="true"] { display: block; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; }
  .nav__liste a { padding: 13px 14px; border-radius: var(--rayon-s); font-size: 1rem; }
  .nav__liste .nav__appui a { margin: 10px 0 0; text-align: center; }

  .heros__grille, .banniere__grille { grid-template-columns: 1fr; gap: 36px; }
  .heros { padding: 52px 0 60px; }
  .heros__illustration, .banniere__illustration { order: -1; max-width: 340px; margin-inline: auto; }
  /* Une photo de banniere passe sous le titre : le h1 reste dans le premier ecran */
  .banniere__illustration:has(.banniere__photo) { order: 0; max-width: 520px; margin-inline: 0; }
  .banniere__illustration .banniere__photo--portrait { max-width: 280px; margin-left: 0; }
  h1, .heros h1, .banniere h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .heros .chapeau { font-size: 1.08rem; }

  .grille--2, .grille--3, .grille--4 { grid-template-columns: 1fr; }
  .champ--duo { grid-template-columns: 1fr; gap: 0; }
  .champ--duo .champ { margin-bottom: 22px; }

  .citation { font-size: 1.25rem; }

  .appel { grid-template-columns: 1fr; padding: 34px 26px; gap: 26px; }

  .pied__grille { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pied__marque { grid-column: 1 / -1; }
  .formulaire { padding: 24px 20px; }
  .encadre { padding: 20px 22px; }
}

@media (max-width: 520px) {
  .chiffres { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; }
  .marque img { width: 48px; height: 48px; }
  .marque__nom { font-size: 1rem; }
  .heros__actions .bouton { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .entete, .nav, .appel, .lien-evitement { display: none; }
  body { background: #fff; font-size: 11pt; }
}

/* ==========================================================================
   V1.1 - Mise en avant du projet de renouveau (meme palette, memes polices)
   ========================================================================== */

/* --------------------------------------------------------- Emplacements photo */

.photo { margin: 0; }
.photo__cadre {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--rayon);
  border: 1px solid var(--creme-bord);
  box-shadow: var(--ombre);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(155, 197, 61, .35), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(160, 105, 74, .18), transparent 65%),
    linear-gradient(160deg, var(--vert-voile), var(--creme-surface));
}
.photo__cadre img { width: 100%; height: 100%; object-fit: cover; }
.photo__motif { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo figcaption {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--brun-doux);
  padding-left: 14px;
  border-left: 3px solid var(--vert-clair);
  line-height: 1.5;
}
.photo--large .photo__cadre { aspect-ratio: 16 / 10; }
.photo--panorama .photo__cadre { aspect-ratio: 21 / 9; }

/* Photo de banniere des pages interieures : cadre arrondi pose sur un aplat
   vert voile decale, rappel du cercle des illustrations. */
.banniere__photo { margin: 0 16px 0 0; }
.banniere__photo .photo__cadre {
  border-radius: 28px;
  box-shadow:
    16px 16px 0 -2px var(--vert-voile),
    16px 16px 0 0 var(--vert-clair),
    var(--ombre);
}
.banniere__photo figcaption { margin-top: 30px; }
.banniere__photo--portrait { max-width: 360px; margin-left: auto; }
.banniere__photo--portrait .photo__cadre { aspect-ratio: 3 / 4; }

/* Rangee de photos sous un bloc de texte */
.rangee-photos { margin-top: 40px; }
.rangee-photos .photo__cadre { box-shadow: var(--ombre-douce); }

/* --------------------------------------------------------- Bandeau renouveau (accueil) */

.eco-creche {
  position: relative;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(155, 197, 61, .22), transparent 70%),
    var(--vert-fonce);
  color: var(--creme);
  padding: 80px 0 84px;
}
.eco-creche h2 { color: var(--blanc); font-size: 2.5rem; max-width: 22ch; }
.eco-creche p { color: rgba(255, 246, 234, .92); }
.eco-creche .surtitre { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: var(--creme); }
.eco-creche__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.eco-creche__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.eco-creche .bouton--plein { background: var(--creme); color: var(--vert-fonce); }
.eco-creche .bouton--plein:hover { background: var(--blanc); color: var(--vert-fonce); }
.eco-creche .bouton--trait { color: var(--creme); border-color: rgba(255, 246, 234, .65); }
.eco-creche .bouton--trait:hover { background: var(--creme); color: var(--vert-fonce); }

.echeance {
  background: var(--creme);
  color: var(--brun);
  border-radius: var(--rayon);
  padding: 30px 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  border-top: 6px solid var(--terracotta);
}
.echeance__etiquette {
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta-fonce);
  margin-bottom: 4px;
}
.echeance__valeur {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1.1;
  color: var(--vert-fonce);
  margin-bottom: 4px;
}
.echeance p { color: var(--brun-doux); font-size: .98rem; margin-bottom: 0; }
.echeance hr { border: 0; border-top: 1px solid var(--creme-bord); margin: 20px 0; }

/* --------------------------------------------------------- Calendrier visuel (12 mois) */

.gantt { margin-top: 56px; }
.gantt__annees, .gantt__mois, .gantt__piste {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
}
.gantt__annees span {
  font-family: var(--titre);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
  margin-bottom: 8px;
  opacity: .85;
}
.gantt__annees .a1 { grid-column: 1 / 4; }
.gantt__annees .a2 { grid-column: 4 / 13; }
.gantt__mois span { text-align: center; font-size: .78rem; font-weight: 700; opacity: .8; margin-bottom: 6px; }
.gantt__piste span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.1;
  text-align: center;
  padding: 4px 6px;
  overflow: hidden;
}
.gantt__piste .g1 { grid-column: 1 / 4; background: var(--vert-clair); color: #2F4A14; }
.gantt__piste .g2 { grid-column: 4 / 9; background: var(--terracotta-fonce); color: var(--blanc); }
.gantt__piste .g3 { grid-column: 9 / 12; background: var(--creme); color: var(--vert-fonce); }
.gantt__piste .g4 { grid-column: 12 / 13; background: var(--brun); color: var(--blanc); box-shadow: 0 0 0 3px rgba(255, 246, 234, .6); }

.etapes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.etape {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--rayon-s);
  padding: 18px 20px;
}
.etape__date {
  display: block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blanc);
  margin-bottom: 6px;
}
.etape p { font-size: .95rem; line-height: 1.5; margin: 0; color: rgba(255, 246, 234, .9); }

/* Variante claire (pages internes) */
.gantt--clair .gantt__annees span, .gantt--clair .gantt__mois span { color: var(--brun-doux); }
.gantt--clair .gantt__piste .g3 { background: var(--vert-feuille); color: var(--blanc); }
.etapes--clair .etape { background: var(--blanc); border-color: var(--creme-bord); box-shadow: var(--ombre-douce); }
.etapes--clair .etape__date { color: var(--vert-feuille); }
.etapes--clair .etape p { color: var(--brun); }
.etapes--clair .etape--cle { border-top: 4px solid var(--terracotta); }

/* --------------------------------------------------------- Ce que les travaux changent */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  margin-top: 44px;
}
.duo--inverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.causes { list-style: none; margin: 0; padding: 0; counter-reset: cause; }
.causes li {
  position: relative;
  counter-increment: cause;
  padding: 0 0 22px 62px;
}
.causes li:last-child { padding-bottom: 0; }
.causes li::before {
  content: counter(cause);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vert-voile);
  border: 2px solid var(--vert-clair);
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--vert-fonce);
  display: flex;
  align-items: center;
  justify-content: center;
}
.causes strong { display: block; font-family: var(--titre); font-size: 1.12rem; color: var(--vert-feuille); margin-bottom: 2px; }
.causes span { color: var(--brun-doux); font-size: .97rem; }

/* --------------------------------------------------------- Repartition du financement */

.repart {
  display: flex;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 36px;
  box-shadow: var(--ombre-douce);
  border: 1px solid var(--creme-bord);
}
.repart span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--titre);
  font-weight: 700;
  font-size: .95rem;
  color: var(--blanc);
  min-width: 0;
}
.repart .r1 { width: 51.2%; background: var(--vert-fonce); }
.repart .r2 { width: 20%; background: var(--vert-feuille); }
.repart .r3 { width: 20%; background: var(--brun-doux); }
.repart .r4 { width: 8.8%; background: var(--terracotta-fonce); }
.repart-legende {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.repart-legende li { font-size: .95rem; line-height: 1.45; padding-left: 22px; position: relative; }
.repart-legende li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 4px; background: var(--c, var(--vert-fonce)); }
.repart-legende strong { display: block; font-family: var(--titre); }
.repart-legende .l1 { --c: var(--vert-fonce); }
.repart-legende .l2 { --c: var(--vert-feuille); }
.repart-legende .l3 { --c: var(--brun-doux); }
.repart-legende .l4 { --c: var(--terracotta-fonce); }

/* --------------------------------------------------------- Axes */

.axe {
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-douce);
  padding: 32px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}
.axe--majeur { border-top: 5px solid var(--vert-feuille); }
.axe--complementaire { border-top: 5px solid var(--terracotta); }
.axe__rang {
  display: inline-block;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--vert-voile);
  color: var(--vert-fonce);
  margin-bottom: 12px;
}
.axe--complementaire .axe__rang { background: var(--creme-surface); color: var(--terracotta-fonce); }
.axe h3 { font-size: 1.6rem; color: var(--vert-feuille); }
.axe__accroche { font-family: var(--titre); font-weight: 600; font-size: 1.1rem; color: var(--brun); }
.axe h4 { margin: 0 0 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-fonce); }
.axe .liste-coches { margin-bottom: 18px; }
.axe .liste-coches li { padding-bottom: 8px; }

.axes-resume {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.axes-resume .carte { padding: 24px 26px; }
.axes-resume .carte--mineure { background: var(--creme-surface); }

/* --------------------------------------------------------- Chiffres du projet */

.chiffres--projet .chiffre__valeur { font-size: 2.1rem; color: var(--terracotta-fonce); }

/* --------------------------------------------------------- Telechargement */

.telecharger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--blanc);
  border: 1px solid var(--creme-bord);
  border-left: 6px solid var(--terracotta);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 28px 32px;
}
.telecharger svg { width: 56px; height: 56px; }
.telecharger h3 { margin-bottom: .2em; }
.telecharger p { margin: 0; color: var(--brun-doux); }

.fiscal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}
.fiscal__pourcent {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--terracotta-fonce);
}
.fiscal__pourcent small { font-size: 1rem; color: var(--brun-doux); margin-left: 6px; }

/* --------------------------------------------------------- Porteurs du projet */

.porteurs { list-style: none; margin: 0; padding: 0; }
.porteurs li { padding: 0 0 14px 28px; position: relative; }
.porteurs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 12px; border-radius: 50%; background: var(--vert-clair); }

.lien-bandeau { text-align: center; margin-top: 36px; }

@media (max-width: 1020px) {
  .etapes, .repart-legende { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .axes-resume { grid-template-columns: 1fr; }
  .eco-creche h2 { font-size: 2.1rem; }
}

@media (max-width: 860px) {
  .eco-creche { padding: 56px 0 60px; }
  .eco-creche__grille, .duo, .duo--inverse, .axe, .fiscal { grid-template-columns: 1fr; gap: 32px; }
  .duo .photo { order: -1; }
  .gantt { margin-top: 40px; }
  .gantt__piste span { font-size: 0; padding: 0; min-height: 34px; }
  .gantt__mois span { font-size: .68rem; }
  .gantt__annees span { font-size: .8rem; }
  .telecharger { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .echeance { padding: 24px; }
  .echeance__valeur { font-size: 1.9rem; }
  .axe { padding: 24px 22px; }
  .photo--panorama .photo__cadre { aspect-ratio: 16 / 10; }
}

@media (max-width: 520px) {
  .etapes, .repart-legende { grid-template-columns: 1fr; }
  .eco-creche h2 { font-size: 1.75rem; }
  .eco-creche__actions .bouton { width: 100%; }
  .repart span { font-size: 0; }
  .fiscal__pourcent { font-size: 2.5rem; }
}

.echeance p.echeance__valeur { font-size: 2.3rem; color: var(--vert-fonce); margin-bottom: 4px; }
.echeance p.echeance__etiquette { font-size: .74rem; color: var(--terracotta-fonce); }
@media (max-width: 860px) { .echeance p.echeance__valeur { font-size: 1.9rem; } }
