/* =========================================================
   Les P'tits Gones du 8ème — feuille de style unique
   Reprise fidèle du visuel Elementor, sans dépendance.
   ========================================================= */

@font-face {
  font-family: "Bellaboo";
  src: url("../fonts/bellaboo.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-600.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --teal: #206464;
  --sky: #90ccdb;
  --sun: #fdf598;
  --grey: #dddddd;
  --popup: #fccc2c; /* jaune de l'annonce */
  --white: #fff;
  --container: 1140px;
  --script: "Bellaboo", "Segoe Print", "Comic Sans MS", cursive;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--teal);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 .9em; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 10px; }
.script { font-family: var(--script); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--white); padding: 8px 14px;
}
.skip-link:focus { top: 8px; }

/* Titre de section script + trait */
.section-title {
  font-family: var(--script);
  font-size: 60px;
  line-height: 1.6;
  text-align: center;
  color: var(--teal);
}
.section-title sup { font-size: .5em; }
.divider {
  width: 112px; height: 0; margin: 20px auto 0;
  border: 0; border-top: 2px solid var(--teal);
}

/* ---------- Barre du haut ---------- */
.topbar { background: var(--grey); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 50px; padding: 5px 15px;
}
.topbar__contacts { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.topbar__contacts li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.topbar__contacts li + li { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--teal); line-height: 1; }
.topbar__contacts a { text-decoration: none; }
.topbar__contacts a[href^="mailto"] { text-decoration: underline; }
.topbar__social { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 17px; }

/* ---------- En-tête ---------- */
.header { background: var(--white); position: relative; z-index: 20; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 135px; gap: 20px;
}
.header__logo { flex: 0 1 742px; display: flex; justify-content: center; padding: 10px 0; }
.header__logo img { width: auto; height: 115px; }
.nav__toggle { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__list a {
  position: relative; display: flex; align-items: center; height: 44px; padding: 0 8px;
  font-family: var(--script); font-size: 30px; line-height: 1; white-space: nowrap;
  text-decoration: none; color: var(--teal);
  transition: color .2s;
}
/* petit trait dessiné sous l'entrée active / survolée */
.nav__list a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 2px;
  background: currentColor; border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list .icon { font-size: 22px; }
.nav__home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Menu replié (téléphone) : bouton burger + liste déroulante sous l'en-tête */
@media (max-width: 767px) {
  .nav { position: static; }
  .nav__toggle {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border: 0; border-radius: 50%; background: none; color: var(--teal); font-size: 26px; cursor: pointer;
  }
  .nav__toggle:hover { background: rgba(32, 100, 100, .08); }
  .nav__toggle .icon--close { display: none; }
  .nav.is-open .nav__toggle .icon--open { display: none; }
  .nav.is-open .nav__toggle .icon--close { display: block; }
  .nav__list {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-top: 1px solid var(--grey);
    box-shadow: 0 14px 24px rgba(0, 0, 0, .12);
  }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { justify-content: center; gap: 10px; height: 56px; font-size: 28px; border-bottom: 1px solid var(--grey); }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { background: var(--sun); }
  .nav__home-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  min-height: 644px;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px 150px;
  background: #000 image-set(url("../img/hero-creche-1920.webp") type("image/webp")) 100% 50% / cover no-repeat;
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(96, 95, 95, .5);
}
.hero__title {
  max-width: 700px;
  font-family: var(--script);
  font-size: 68px; line-height: 1.1;
  animation: bounceInDown 1s both;
}
.hero__title sup { font-size: .5em; }
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  height: 110px; overflow: hidden; line-height: 0; pointer-events: none;
}
.wave svg {
  position: relative; left: 50%; transform: translateX(-50%);
  width: calc(100% + 1.3px); height: 110px; fill: var(--sky);
}

@keyframes bounceInDown {
  0%, 60%, 75%, 90%, 100% { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  0%   { opacity: 0; transform: translate3d(0, -1200px, 0); }
  60%  { opacity: 1; transform: translate3d(0, 25px, 0); }
  75%  { transform: translate3d(0, -10px, 0); }
  90%  { transform: translate3d(0, 5px, 0); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Présentation (ciel) ---------- */
.presentation {
  position: relative;
  background: var(--sky);
  padding: 10px 0 0;
  overflow-x: clip;
}
.presentation__inner { position: relative; max-width: var(--container); margin: 0 auto; }
.presentation .section-title { position: relative; z-index: 2; padding: 0 10px; }
.cards {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 20px;
  width: 591px; max-width: calc(100% - 40px);
  margin: 20px auto 0;
}
/* Cartes « papier » : vrai texte, lisibles à toutes les tailles */
.card {
  display: block;
  padding: 22px 34px 16px;
  background: url("../img/carte-papier.webp") center / 100% 100% no-repeat;
  color: var(--teal); text-decoration: none; text-align: center;
  transition: transform .25s;
}
.card:hover, .card:focus-visible { transform: scale(1.02); }
.card__title { font-family: var(--script); font-size: 36px; line-height: 1.2; }
.card__facts {
  display: flex; justify-content: center; align-items: flex-start; gap: 14px;
  margin: 12px 0 6px; padding: 0; list-style: none;
}
.card__facts li { flex: 1 1 0; max-width: 220px; font-size: 13.5px; line-height: 1.4; }
.card__facts img { height: 56px; width: auto; margin: 0 auto 8px; }
.card__more { display: block; text-align: right; font-size: 14px; }
.card:hover .card__more { text-decoration: underline; }
/* Nuages : deux encadrent le titre, deux accompagnent les cartes */
.cloud { position: absolute; z-index: 1; width: 220px; }
.cloud--1 { left: 0;    top: 18px; }
.cloud--3 { right: 0;   top: 0; }
.cloud--2 { left: 40px; top: 380px; width: 190px; }
.cloud--4 { right: 40px; top: 600px; width: 190px; }

/* Personnages « posés » sur la limite entre deux sections : pieds sur la ligne */
.bridge { position: relative; z-index: 2; display: block; }
.bridge--capes   { width: 330px; margin: 40px auto 0; }   /* centrés, comme les cartes et le titre */
.bridge--plantes { width: 300px; margin: 50px auto 0; }

/* ---------- Les + de l'association (soleil) ---------- */
.atouts {
  position: relative;
  background: var(--sun);
  padding: 10px 0 0;
}
.atouts__kids { display: block; width: 240px; margin: 28px auto 0; }
.atouts__grid {
  display: grid; grid-template-columns: 450px 443px; column-gap: 107px; row-gap: 20px;
  justify-content: center;
  margin: 36px auto 0; padding: 0 10px;
}
.atout { text-align: center; }
.atout__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--teal); color: var(--white); font-size: 50px;
}
.atout__title {
  margin: 12px 0 19px;
  font-family: var(--script); font-size: 35px; line-height: 1;
  font-weight: 600; color: var(--teal);
}
.atout p { font-size: 14px; line-height: 24.75px; }

/* ---------- Pied de page ---------- */
.footer {
  position: relative;
  background: var(--grey);
  padding: 30px 0 20px;
  overflow: hidden;
}
/* Titre encadré : soleil à gauche ; la liane pend depuis le haut du pied de page, à droite */
.footer__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 28px; }
.footer__sun  { justify-self: end; width: 80px; }
.footer__vine { position: absolute; z-index: 1; top: 0; right: max(0px, calc(50% - 600px)); width: 250px; transform-origin: 50% 0; }
.footer .section-title { position: relative; z-index: 2; }
.footer__cols {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 230px 340px 285px 285px;
  margin-top: 10px; padding: 0;
}
.footer__col { padding: 10px; }
.footer__col h3 { font-size: 18px; font-weight: 600; line-height: 1.2; margin-bottom: 20px; }
.footer__col p, .footer__col li { font-size: 14px; }
.footer__col address { font-style: normal; font-size: 14px; line-height: 1; }
.footer__col address span { display: block; margin-bottom: 20px; }
.footer__list { margin: 0; padding: 0; list-style: none; }
.footer__list li { display: flex; align-items: center; gap: 15px; margin-bottom: 7px; }
.footer__list--icons li { font-size: 15px; }
.footer__list--icons .icon { font-size: 15px; }
.footer__list--icons a[href^="mailto"] { text-decoration: underline; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { text-decoration: underline; }
.footer__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); font-size: 16px;
}
.footer__copy { text-align: right; font-size: 14px; padding: 50px 10px 0; margin: 0; }

/* ---------- Annonce : bulle tenue par le soleil (en bas à droite) ----------
   Ordinateur : la bulle s'ouvre seule après 4 s à la première visite.
   Téléphone : un aperçu de 2 lignes apparaît après 2 s ; un toucher ouvre le détail. */
.annonce-bulle { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; }
.annonce-bulle__panel,
.annonce-bulle__teaser {
  position: relative;
  background: var(--teal); color: var(--white);
  border-radius: 24px 24px 6px 24px;
  box-shadow: 0 12px 28px rgba(32, 100, 100, .35);
  animation: bulle-in .45s cubic-bezier(.34, 1.56, .64, 1);
  transform-origin: 90% 100%;
}
.annonce-bulle__panel {
  width: 340px; max-width: calc(100vw - 40px); margin-bottom: 14px;
  padding: 24px 26px 22px; font-size: 15px; line-height: 1.5;
}
.annonce-bulle__panel .annonce-close { position: absolute; top: 10px; right: 10px; }
.annonce-bulle__title { margin: 0 0 10px; padding-right: 26px; font-family: var(--script); font-size: 30px; line-height: 1.1; color: var(--popup); }
.annonce-kicker { margin: 0 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.annonce-list { margin: 0 0 12px; padding-left: 20px; }
.annonce-list li { margin-bottom: 4px; }
.annonce-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 22px;
  border-radius: 999px; background: var(--popup); color: var(--teal);
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .2s, background-color .2s;
}
.annonce-btn:hover { background: #ffd84d; transform: translateY(-1px); }
.annonce-close {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--white); font-size: 15px; cursor: pointer;
}
.annonce-close:hover { background: rgba(255, 255, 255, .15); }

.annonce-bulle__teaser {
  display: flex; align-items: flex-start; gap: 2px;
  width: 270px; max-width: calc(100vw - 24px); margin-bottom: 12px; padding: 12px 6px 12px 16px;
}
.annonce-bulle__teaser-open {
  flex: 1; padding: 0; border: 0; background: none; color: inherit; text-align: left;
  font: 14px/1.45 var(--sans); cursor: pointer;
}
.annonce-bulle__teaser-more { font-weight: 700; white-space: nowrap; text-decoration: underline; color: var(--popup); }
.annonce-bulle__teaser .annonce-close { width: 30px; height: 30px; font-size: 12px; }

.annonce-bulle__sun {
  position: relative; width: 76px; height: 76px; padding: 6px;
  border: 0; border-radius: 50%; background: var(--white); cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  animation: soleil-hop 3.5s ease-in-out infinite;
}
.annonce-bulle__sun img { width: 100%; height: 100%; }
.annonce-bulle__sun:hover img { transform: rotate(20deg) scale(1.08); transition: transform .3s; }
.annonce-bulle__badge {
  position: absolute; top: 0; right: 0; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: #e4572e; color: var(--white);
  font-size: 12px; font-weight: 700; line-height: 22px;
}
.annonce-bulle.is-read .annonce-bulle__badge { display: none; }
@keyframes bulle-in { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes soleil-hop { 0%, 80%, 100% { transform: translateY(0); } 88% { transform: translateY(-8px); } 94% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .annonce-bulle__panel, .annonce-bulle__teaser, .annonce-bulle__sun { animation: none; }
}

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

/* ---------- Personnages interactifs ----------
   1. vie au repos (lente, discrète)
   2. apparition au défilement (.is-visible ajoutée par main.js)
   3. réaction au survol / au toucher (.is-playing ajoutée par main.js) */
.perso {
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-drag: none;
}
.js .perso:not(.is-visible) { opacity: 0; transform: translateY(30px) scale(.95); }
.js .perso.is-visible { transition: opacity .7s ease, transform .7s cubic-bezier(.34, 1.56, .64, 1); }

/* Repos */
.perso[data-anim="souffle"].is-visible    { animation: flotte 7s ease-in-out infinite; }
.cloud--2.is-visible, .cloud--4.is-visible { animation-duration: 9s; animation-delay: -3s; }
.perso[data-anim="soleil"].is-visible     { animation: rayonne 6s ease-in-out infinite; }
.perso[data-anim="balancoire"].is-visible { animation: berce 5s ease-in-out infinite; }

/* Réactions (prioritaires sur le repos) */
.perso.is-playing[data-anim="souffle"]    { animation: pousse 1.4s ease-in-out; }
.perso.is-playing[data-anim="course"]     { animation: course 1.6s ease-in-out; }
.perso.is-playing[data-anim="saut"]       { animation: saut 1s ease-out; }
.perso.is-playing[data-anim="marche"]     { animation: marche 1.2s ease-in-out; }
.perso.is-playing[data-anim="soleil"]     { animation: tourne 1.2s cubic-bezier(.34, 1.56, .64, 1); }
.perso.is-playing[data-anim="balancoire"] { animation: elan 1.6s ease-in-out; }

@keyframes flotte { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(12px, -8px); } }
@keyframes rayonne { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(8deg) scale(1.06); } }
@keyframes berce { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

@keyframes pousse {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(60px) scale(1.05); }
  100% { transform: translateX(0); }
}
@keyframes course {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(-12px) translateY(0); }
  30%  { transform: translateX(80px) translateY(-14px); }
  45%  { transform: translateX(160px) translateY(0); }
  60%  { transform: translateX(220px) translateY(-14px) scaleX(-1); }
  80%  { transform: translateX(90px) translateY(0) scaleX(-1); }
  95%  { transform: translateX(0) translateY(-6px) scaleX(-1); }
  100% { transform: translateX(0); }
}
@keyframes saut {
  0%   { transform: translateY(0) scale(1, 1); }
  15%  { transform: translateY(0) scale(1.06, .9); }
  40%  { transform: translateY(-40px) scale(.96, 1.06); }
  65%  { transform: translateY(0) scale(1.05, .93); }
  80%  { transform: translateY(-12px) scale(1); }
  100% { transform: translateY(0); }
}
@keyframes marche {
  0%, 100% { transform: rotate(0) translateY(0); }
  20% { transform: rotate(-4deg) translateY(-8px); }
  40% { transform: rotate(4deg) translateY(0); }
  60% { transform: rotate(-4deg) translateY(-8px); }
  80% { transform: rotate(3deg) translateY(0); }
}
@keyframes tourne {
  0%   { transform: rotate(0) scale(1); }
  60%  { transform: rotate(330deg) scale(1.35); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes elan {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  55% { transform: rotate(9deg); }
  80% { transform: rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .perso, .perso.is-visible, .perso.is-playing { animation: none !important; }
  .js .perso:not(.is-visible) { opacity: 1; transform: none; }
}

/* =========================================================
   Pages intérieures — composants communs
   ========================================================= */
.section { position: relative; padding: 60px 0 0; }
.section--sky  { background: var(--sky); overflow-x: clip; }
.section--sun  { background: var(--sun); }
.section--white { background: var(--white); }
.section--pad-bottom { padding-bottom: 70px; }
.page-title {
  font-family: var(--script); font-size: 56px; line-height: 1.25; text-align: center; color: var(--teal);
}
.page-title sup, .section-title sup { font-size: .5em; }
.lead { max-width: 760px; margin: 22px auto 0; padding: 0 20px; font-size: 16px; line-height: 1.7; text-align: center; }
.block-title { font-family: var(--script); font-size: 38px; line-height: 1.2; text-align: center; color: var(--teal); }
.block-title--left { text-align: left; }
/* Personnages posés sur la limite haute d'une section (pieds sur la ligne, corps dans la section du dessus) */
/* .bridge.bridge--top : sélecteur renforcé pour ne jamais être écrasé par les réglages de .bridge--capes */
.bridge.bridge--top { margin: calc(-60px - 80px) auto 20px; }
.bridge--top.bridge--capes { width: 330px; }
/* Page L'association : au-dessus, la section est coupée en deux (texte | photo) : les enfants restent côté texte */
@media (min-width: 901px) {
  .split + .section > .bridge.bridge--top { margin-left: max(16px, calc(25% - 165px)); }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 24px; border-radius: 999px;
  background: var(--teal); color: var(--white); border: 2px solid var(--teal);
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); background: #174b4b; border-color: #174b4b; }
.btn--light { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn--light:hover { background: var(--sun); border-color: var(--sun); color: var(--teal); }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--white); }
.btn .icon { font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { font-size: 13px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Bloc « papier » (même forme que les cartes de l'accueil) */
.paper {
  position: relative; padding: 36px 40px 32px;
  background: url("../img/carte-papier.webp") center / 100% 100% no-repeat;
}

/* Introduction en deux colonnes : texte + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 520px; }
.split__text { display: flex; flex-direction: column; justify-content: center; padding: 50px 60px 60px max(20px, calc(50vw - 570px)); }
.split__text .page-title { font-size: 50px; text-align: left; }
.split__text .divider { margin-left: 0; }
.split__text p { margin-top: 20px; font-size: 16px; line-height: 1.7; }
.split__media { position: relative; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Documents à télécharger */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 40px auto 0; padding: 0 20px; }
.doc {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 30px; border-radius: 22px; background: var(--white);
  box-shadow: 0 10px 24px rgba(32, 100, 100, .12);
}
.doc__head { display: flex; align-items: center; gap: 14px; }
.doc__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%; background: var(--sky); color: var(--teal); font-size: 22px;
}
.doc--lock .doc__icon { background: var(--sun); }
.doc__title { font-family: var(--script); font-size: 30px; line-height: 1.1; }
.doc p { margin: 0; line-height: 1.6; }
.doc__meta { font-size: 13px; opacity: .75; }
.doc .btn { align-self: flex-start; margin-top: auto; }

/* En bref : chiffres clés */
.facts {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  max-width: 820px; margin: 36px auto 0; padding: 28px 30px; list-style: none;
  border-radius: 22px; background: rgba(255, 255, 255, .55);
}
.facts li { flex: 1 1 260px; display: flex; align-items: center; gap: 18px; font-size: 15px; line-height: 1.55; }
.facts img { flex: none; width: 74px; height: auto; }

/* Organigramme */
.orga { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 1100px; margin: 40px auto 0; padding: 0 20px; }
.orga__group {
  padding: 26px 24px 30px; border: 2px solid var(--teal); border-radius: 60px; text-align: center;
}
.orga__group--wide { grid-column: 1 / -1; justify-self: center; width: min(100%, 540px); }
.orga__title { font-family: var(--script); font-size: 32px; line-height: 1.2; }
.orga__title::after { content: ""; display: block; width: 40px; height: 2px; margin: 10px auto 0; background: var(--teal); }
.orga__people { display: flex; justify-content: center; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.orga__people li { flex: 1 1 0; max-width: 170px; font-size: 14px; line-height: 1.45; }
.orga__people img { width: auto; height: 82px; margin: 0 auto 12px; }

/* Encart « renvoi » vers une autre page */
.teaser {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center;
  max-width: 980px; margin: 60px auto 0; padding: 26px; border-radius: 26px; background: var(--white);
  box-shadow: 0 10px 24px rgba(32, 100, 100, .12);
}
.teaser__photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 240px; }
.teaser__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.teaser__photos img:first-child { grid-row: 1 / 3; }
.teaser p { margin: 12px 0 18px; line-height: 1.6; }

/* Actualités */
.news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 1000px; margin: 44px auto 0; padding: 0 20px; }
.news__item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 32px 28px; border-radius: 24px; background: var(--white);
  box-shadow: 0 10px 24px rgba(32, 100, 100, .12);
}
.news__item--wide { grid-column: 1 / -1; }
.news__head { display: flex; align-items: center; gap: 14px; }
.news__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 22px;
}
.news__title { font-family: var(--script); font-size: 30px; line-height: 1.1; }
.news__item p { margin: 0; line-height: 1.6; }
.news__item .btn { align-self: flex-start; margin-top: auto; }
.news__meta { font-size: 13px; opacity: .75; }
.news__empty { grid-column: 1 / -1; text-align: center; }

/* Galerie + visionneuse */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1140px; margin: 40px auto 0; padding: 0 20px; }
.gallery__item {
  position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in;
  background: var(--white); aspect-ratio: 3 / 2;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__credit { margin: 18px auto 0; text-align: center; font-size: 13px; opacity: .8; }
.lightbox {
  width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 40, 40, .94); color: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); border-radius: 10px; }
.lightbox__btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .15); color: var(--white); font-size: 20px; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .3); }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 20px; top: 20px; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-size: 14px; opacity: .8; }

/* Bandeau photo des pages intérieures (Contact) */
.banner {
  position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px 100px; color: var(--white); text-align: center; isolation: isolate;
  background: #000 image-set(url("../img/contact-banniere-1920.webp") type("image/webp")) center 60% / cover no-repeat;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(96, 95, 95, .5); }
.banner .page-title { color: var(--white); font-size: 70px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.contact__lead { font-family: var(--script); font-size: 36px; line-height: 1.3; }
.contact__list { margin: 24px 0 0; padding: 0; list-style: none; }
.contact__list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; font-size: 16px; line-height: 1.5; }
.contact__list .icon { flex: none; margin-top: 4px; font-size: 18px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.map {
  position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3;
  background: var(--sky);
  box-shadow: 0 10px 24px rgba(32, 100, 100, .15);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center; background: rgba(32, 100, 100, .82); color: var(--white);
}
.map__consent p { max-width: 340px; margin: 0; font-size: 14px; line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; max-width: 1100px; margin: 40px auto 0; padding: 0 20px; list-style: none; counter-reset: etape; }
.step { position: relative; overflow: hidden; border-radius: 24px; background: var(--white); box-shadow: 0 10px 24px rgba(32, 100, 100, .12); counter-increment: etape; }
.step img { width: 100%; height: 260px; object-fit: cover; }
.step__body { padding: 20px 22px 24px; }
.step__body::before {
  content: counter(etape); position: absolute; top: 14px; left: 14px;
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun); font-family: var(--script); font-size: 26px; box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
}
.step__title { font-family: var(--script); font-size: 28px; line-height: 1.15; }
.step p { margin: 8px 0 0; line-height: 1.55; }

/* Pied de page court (Contact) */
.footer--compact { padding: 26px 0; }
.footer__compact { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__compact-links { display: flex; gap: 24px; }
.footer__compact-links li { margin: 0; }
.footer--compact .footer__copy { padding: 0; }

/* Texte long (mentions légales) */
.prose { max-width: 820px; margin: 40px auto 0; padding: 44px 50px; border-radius: 26px; background: var(--white); font-size: 15px; line-height: 1.75; }
.prose h2 { margin: 34px 0 10px; font-family: var(--sans); font-size: 19px; font-weight: 700; line-height: 1.35; }
.prose h2:first-child { margin-top: 0; }
.prose a { word-break: break-word; }

/* Espace familles */
.vault { max-width: 520px; margin: 34px auto 0; padding: 30px 32px 26px; border-radius: 26px; background: var(--white); box-shadow: 0 10px 24px rgba(32, 100, 100, .12); }
.vault label { display: block; margin-bottom: 10px; font-weight: 600; }
/* champ + bouton dans une seule « barre » arrondie */
.vault__row {
  display: flex; align-items: center; gap: 6px; padding: 5px;
  border: 2px solid var(--sky); border-radius: 999px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.vault__row:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(32, 100, 100, .12); }
.vault input[type="password"] {
  flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 0; background: transparent;
  font: 16px var(--sans); letter-spacing: .08em; color: var(--teal);
}
.vault input[type="password"]:focus { outline: none; }
.vault__row .btn { flex: none; min-height: 42px; padding: 8px 20px; }
.vault__row .btn:hover { transform: none; }
.vault__error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #b3261e; font-size: 14px; font-weight: 600; }
.vault__help { margin: 14px 0 0; font-size: 14px; opacity: .8; }
.vault__files { margin: 20px 0 0; padding: 0; list-style: none; }
.vault__files li { border-top: 1px solid var(--grey); }
.vault__files a { display: flex; align-items: center; gap: 12px; padding: 14px 4px; text-decoration: none; }
.vault__files a:hover { background: rgba(144, 204, 219, .2); }
.vault__files .icon { flex: none; font-size: 20px; }
.vault__size { margin-left: auto; font-size: 13px; opacity: .7; white-space: nowrap; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__text { padding: 40px 20px 40px; text-align: center; align-items: center; }
  .split__text .page-title { text-align: center; }
  .split__text .divider { margin-left: auto; }
  .split__actions { justify-content: center; }
  .split__media { height: 320px; }
  .orga { grid-template-columns: 1fr; }
  .orga__group { border-radius: 40px; }
  .teaser { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 520px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .section { padding-top: 40px; }
  .bridge.bridge--top { margin-top: calc(-40px - 60px); }
  .bridge--top.bridge--capes { width: 250px; }
  .block-title--left { text-align: center; }
  .page-title, .split__text .page-title { font-size: 42px; }
  .banner { min-height: 220px; background-image: image-set(url("../img/contact-banniere-1100.webp") type("image/webp")); }
  .banner .page-title { font-size: 54px; }
  .block-title { font-size: 32px; }
  .docs, .news { grid-template-columns: 1fr; padding: 0 12px; gap: 18px; }
  .doc, .news__item { padding: 24px 22px; }
  .facts { gap: 20px; max-width: min(820px, calc(100% - 24px)); padding: 22px 20px; }
  .orga { padding: 0 12px; }
  .orga__people { flex-direction: column; align-items: center; gap: 22px; }
  .orga__people li { max-width: 240px; }
  .teaser { max-width: min(980px, calc(100% - 24px)); padding: 18px; }
  .teaser__photos { height: 200px; }
  .gallery { padding: 0 12px; gap: 10px; }
  .lightbox__img { max-width: 100vw; max-height: calc(100vh - 160px); border-radius: 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__count { bottom: 32px; }
  .contact { padding: 0 16px; gap: 28px; }
  .contact__lead { font-size: 30px; }
  .step img { height: 220px; }
  .prose { max-width: min(820px, calc(100% - 24px)); padding: 28px 22px; }
  .vault { max-width: min(520px, calc(100% - 28px)); padding: 24px 18px 20px; }
  /* téléphone : bouton rond avec le seul cadenas, le champ garde toute la place */
  .vault__submit { width: 42px; height: 42px; min-height: 42px; padding: 0 !important; border-radius: 50%; }
  .vault__submit .icon { font-size: 17px; }
  .vault__submit-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .footer__compact { flex-direction: column; text-align: center; }
  .footer__compact-links { flex-direction: column; gap: 8px; }
}

/* =========================================================
   Tablette
   ========================================================= */
@media (max-width: 1024px) {
  .header__logo img { width: 100%; height: auto; max-width: 371px; }
  .atouts__grid { grid-template-columns: 1fr 1fr; column-gap: 40px; max-width: 900px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-inline: auto; }
  .footer__vine { width: 190px; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767px) {
  .topbar__inner { flex-direction: column; justify-content: center; gap: 8px; padding: 10px 15px 14px; }
  .topbar__contacts { flex-wrap: wrap; justify-content: center; }

  .header__inner { flex-direction: column; min-height: 0; gap: 0; padding-bottom: 12px; }
  .header__logo { flex: none; width: 100%; }
  .header__logo img { max-width: none; }
  .header__logo img { width: 100%; height: auto; }
  .nav__toggle { margin-top: 10px; }

  .hero { min-height: 560px; padding: 40px 16px 130px; background-image: image-set(url("../img/hero-creche-1100.webp") type("image/webp")); }
  .hero__title { font-size: 48px; }
  .wave, .wave svg { height: 60px; }

  .section-title { font-size: 44px; line-height: 1.5; }
  .cards { max-width: calc(100% - 24px); margin-top: 16px; gap: 24px; }
  .card { padding: 34px 30px 30px; }
  .card__title { font-size: 34px; }
  /* Sur téléphone : une ligne par info, pictogramme à gauche, texte lisible et aéré */
  .card__facts { flex-direction: column; align-items: stretch; gap: 24px; margin: 24px 0 24px; text-align: left; }
  .card__facts li { display: flex; align-items: center; gap: 18px; max-width: none; font-size: 15px; line-height: 1.5; }
  .card__facts img { flex: none; width: 58px; height: auto; max-height: 46px; object-fit: contain; margin: 0; }
  .card__more { font-size: 15px; }
  .cloud { width: 130px; }
  .cloud--1 { left: 8px; top: 14px; }
  .cloud--3 { right: 8px; top: 34px; }
  .cloud--2, .cloud--4 { display: none; }
  .presentation .section-title { padding-top: 86px; }
  .bridge--capes { width: 250px; margin: 30px auto 0; }
  .bridge--plantes { width: 240px; margin-top: 40px; }

  .atouts__kids { width: 200px; }
  .atouts__grid { grid-template-columns: 1fr; row-gap: 30px; margin-top: 40px; padding: 0 16px; }

  .footer { padding-top: 96px; }
  .footer__head { grid-template-columns: 1fr; }
  .footer__sun { position: absolute; left: 16px; top: 16px; width: 64px; }
  .footer__vine { width: 150px; right: 0; }
  .footer__cols { grid-template-columns: 1fr; padding: 0 6px; text-align: center; row-gap: 8px; }
  .footer__col h3 { margin-bottom: 12px; }
  .footer__col address span { margin-bottom: 8px; }
  .footer__list li { justify-content: center; }
  .footer__list--icons li { gap: 10px; }
  .footer__copy { text-align: center; padding-top: 20px; }

  .annonce-bulle { right: 12px; bottom: 12px; }
  .annonce-bulle__panel { width: calc(100vw - 24px); }
  .annonce-bulle__sun { width: 64px; height: 64px; }
}

/* Compléments pages Crèche familiale / Micro-crèche */
.block-title--spaced { margin-top: 56px; }
.cloud--page-left  { left: max(10px, calc(50% - 560px)); top: 30px; width: 200px; }
.cloud--page-right { right: max(10px, calc(50% - 560px)); top: 70px; width: 200px; }
.section > .lead .link-arrow { margin-top: 30px; }
.bridge--fleurs { width: 320px; margin: 40px auto 0; }
@media (max-width: 767px) {
  .cloud--page-left, .cloud--page-right { width: 120px; top: 8px; }
  .cloud--page-right { top: 20px; }
  .section--sky > .page-title { padding-top: 50px; }
  .bridge--fleurs { width: 240px; }
}

/* Compléments page Contact */
.wave--white svg { fill: var(--white); }
.map__pin { font-size: 34px; }
.map__consent .link-arrow { color: var(--white); }
.step:first-child img { object-position: 50% 15%; }
.vault__logout { margin-top: 22px; }
a[href^="tel:"] { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vault__all { margin: 16px 0 0; }
.vault__group { margin: 26px 0 0; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.vault__group + .vault__files { margin-top: 8px; }
.page-title__sub { font-size: .6em; }
.vault--choix { display: flex; flex-direction: column; gap: 14px; }
.vault--choix .btn { width: 100%; }
.vault__logout { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
