/* ==========================================================================
   Kid's Corner — charte graphique
   Rose / orange / jaune / vert / bleu / violet / turquoise sur fond crème.
   ========================================================================== */

:root {
  --pink:   #EC2D7E;
  --pink-d: #C8115F;
  --orange: #F7941E;
  --yellow: #FDBA12;
  --green:  #7DC242;
  --blue:   #29A9E1;
  --purple: #9B5DE5;
  --teal:   #12B5A5;
  --navy:   #123A63;
  --navy-2: #2C5580;
  --cream:  #FFF8E7;
  --cream-2:#FDF1D8;
  --white:  #FFFFFF;
  --ink:    #2A3B4D;
  --muted:  #64768A;
  --line:   rgba(18, 58, 99, .10);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --shadow-sm: 0 6px 18px rgba(18, 58, 99, .07);
  --shadow-md: 0 14px 34px rgba(18, 58, 99, .10);
  --shadow-lg: 0 26px 60px rgba(18, 58, 99, .14);

  --font-title: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body:  "Nunito", "Segoe UI", sans-serif;

  --shell: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-d); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--pink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ------------------------------------------------------------ couleurs --- */
.c-pink   { color: var(--pink); }
.c-orange { color: var(--orange); }
.c-yellow { color: var(--yellow); }
.c-green  { color: var(--green); }
.c-blue   { color: var(--blue); }
.c-purple { color: var(--purple); }
.c-teal   { color: var(--teal); }

/* ------------------------------------------------------------- boutons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 24px rgba(236, 45, 126, .32); }
.btn-primary:hover { background: var(--pink-d); color: #fff; box-shadow: 0 14px 30px rgba(236, 45, 126, .42); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(41, 169, 225, .3); }
.btn-blue:hover { color: #fff; background: #1B90C4; }

.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px rgba(253, 186, 18, .35); }
.btn-yellow:hover { color: var(--navy); background: #F0A800; }

.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--pink); border-color: rgba(236, 45, 126, .35); }

.btn-block { width: 100%; justify-content: center; }

/* -------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 248, 231, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 58, 99, .06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 84px;
}

.logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-img { height: 62px; width: auto; max-width: none; display: block; object-fit: contain; }
.logo-img--footer { height: 72px; margin-bottom: 16px; align-self: flex-start; }
.logo-word {
  font-family: var(--font-title); font-weight: 700;
  font-size: 1.75rem; letter-spacing: -.5px;
}
.logo-word span { display: inline-block; }
.logo-word span:nth-child(odd)  { transform: rotate(-4deg); }
.logo-word span:nth-child(even) { transform: rotate(3deg); }
.logo-tag {
  font-family: var(--font-title); font-weight: 500;
  font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--navy-2); margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-family: var(--font-title); font-weight: 500; font-size: 1.02rem;
  color: var(--navy); padding: 6px 2px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--pink); border-radius: 3px; transform: scaleX(0); transition: transform .2s ease;
}
.main-nav a:hover { color: var(--pink); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--pink); }
.nav-cta::after { display: none; }
.nav-cta { color: #fff !important; padding: 12px 24px; }

.burger {
  display: none; background: #fff; border: 1px solid var(--line); color: var(--navy);
  width: 48px; height: 48px; border-radius: 14px; font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------- décorations --- */
.deco { position: absolute; pointer-events: none; z-index: 0; opacity: .9; }
.deco i { display: block; }
.deco-1 { top: 8%;  left: 2%;  color: var(--yellow); font-size: 2.2rem; }
.deco-2 { top: 26%; left: 46%; color: var(--blue);   font-size: 1.2rem; }
.deco-3 { bottom: 14%; left: 4%; color: var(--pink); font-size: 1.6rem; }
.deco-4 { top: 6%; right: 2%; color: var(--orange); font-size: 1.5rem; }

.blob {
  position: absolute; border-radius: 50%; filter: blur(0); z-index: 0; pointer-events: none;
}

/* ---------------------------------------------------------------- hero --- */
.hero { position: relative; padding: 56px 0 20px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -160px; top: -180px; width: 620px; height: 620px;
  background: radial-gradient(circle at 30% 30%, rgba(253, 186, 18, .22), rgba(253, 186, 18, 0) 70%);
  border-radius: 50%;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-title); font-weight: 600; color: var(--navy);
  font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0;
}
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); margin: 0 0 .15em; letter-spacing: -1px;
}
.hero-title span:nth-child(1) { color: var(--pink); }
.hero-title span:nth-child(2) { color: var(--orange); }
.hero-sub {
  font-family: var(--font-title); font-weight: 600; color: var(--navy);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem); margin-bottom: 1.1em;
}
.hero-text p { color: var(--muted); max-width: 56ch; }
.hero-highlight {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--pink); font-weight: 700; max-width: 54ch; margin-top: 18px;
}
.hero-highlight i { font-size: 1.6rem; margin-top: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-media { position: relative; width: 100%; max-width: 400px; margin-left: auto; }
.hero-photo {
  position: relative; border-radius: 46% 54% 52% 48% / 56% 46% 54% 44%;
  overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-photo::after {
  content: ""; position: absolute; inset: -8px; border-radius: inherit;
  border: 3px dashed rgba(236, 45, 126, .35); pointer-events: none;
}
.hero-badge {
  position: absolute; right: -14px; bottom: -14px; width: 146px; height: 146px;
  background: var(--pink); color: #fff; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 22px;
  font-family: var(--font-title); font-weight: 600; font-size: .84rem; line-height: 1.3;
  box-shadow: 0 18px 40px rgba(236, 45, 126, .38);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* -------------------------------------------------------------- pistes --- */
.section { padding: 62px 0; position: relative; }
.section--tight { padding: 40px 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; font-size: .78rem; color: var(--pink);
  background: rgba(236, 45, 126, .09); padding: 8px 16px; border-radius: 999px; margin-bottom: 14px;
}
.section-head p { color: var(--muted); margin: 0; }
.section-head--left { text-align: left; margin-left: 0; }

/* --------------------------------------------------- barre de confiance --- */
.trust {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  padding: 26px 18px; margin-top: 26px; position: relative; z-index: 2;
}
.trust-title {
  text-align: center; font-family: var(--font-title); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; font-size: .86rem; color: var(--navy);
  margin-bottom: 6px;
}
.trust-intro { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.trust-list {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
}
.trust-item {
  display: flex; align-items: center; gap: 9px; padding: 10px 6px; min-width: 0;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item > span:last-child { font-weight: 700; font-size: .78rem; color: var(--navy); line-height: 1.3; min-width: 0; overflow-wrap: break-word; }
.trust-item .ico { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }
.trust-note { text-align: center; color: var(--muted); max-width: 900px; margin: 22px auto 0; }

.ico {
  width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(18, 58, 99, .16);
}
.ico-sm { width: 42px; height: 42px; min-width: 42px; font-size: 1rem; }
.ico-lg { width: 66px; height: 66px; min-width: 66px; font-size: 1.5rem; }
.ico.pink   { background: var(--pink); }
.ico.orange { background: var(--orange); }
.ico.yellow { background: var(--yellow); color: var(--navy); }
.ico.green  { background: var(--green); }
.ico.blue   { background: var(--blue); }
.ico.purple { background: var(--purple); }
.ico.teal   { background: var(--teal); }

/* ------------------------------------------------ espaces + nos zones --- */
.espaces-grid {
  display: grid; grid-template-columns: .88fr 1.32fr; gap: 30px; align-items: stretch;
}
.espaces-intro {
  background: linear-gradient(160deg, #FFE7F1, #FFF3F8);
  border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column;
}
.espaces-intro h2 { color: var(--pink); }
.espaces-intro p { color: var(--muted); }
.espaces-intro .btn { align-self: flex-start; margin-top: 22px; }
.espaces-photo {
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1; margin-top: 6px;
}
.espaces-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* --- video de presentation (section « Nos espaces ») --- */
.espaces-video { margin: 6px 0 0; text-align: center; }
.espaces-video video {
  /* ratio natif du clip (478x850) : aucun recadrage, le logo de fin reste visible */
  display: block; margin: 0 auto; aspect-ratio: 478 / 850;
  width: auto; max-width: 100%; max-height: 560px;
  background: #0b2440; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.espaces-video figcaption {
  margin-top: 10px; text-align: center; color: var(--navy);
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: .95rem;
}

/* --- bouton sous la grille de la galerie --- */
.gallery-cta { margin: 28px 0 0; text-align: center; }

.zones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: stretch; }
.zone {
  display: flex; gap: 15px; align-items: center;
  background: #fff; border-radius: var(--r-md); padding: 22px 20px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(18, 58, 99, .05);
  border-left: 5px solid var(--pink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.zone:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.zone h3 { margin: 0 0 5px; font-size: 1.06rem; }
.zone p { margin: 0; font-size: .93rem; color: var(--muted); }
.zone .ico { width: 46px; height: 46px; min-width: 46px; font-size: 1.05rem; }
.zone:nth-child(5) { grid-column: span 2; }
.zone.z-pink   { border-left-color: var(--pink);   background: linear-gradient(120deg, rgba(236, 45, 126, .07), #fff 45%); }
.zone.z-orange { border-left-color: var(--orange); background: linear-gradient(120deg, rgba(247, 148, 30, .09), #fff 45%); }
.zone.z-yellow { border-left-color: var(--yellow); background: linear-gradient(120deg, rgba(253, 186, 18, .10), #fff 45%); }
.zone.z-green  { border-left-color: var(--green);  background: linear-gradient(120deg, rgba(125, 194, 66, .10), #fff 45%); }
.zone.z-blue   { border-left-color: var(--blue);   background: linear-gradient(120deg, rgba(41, 169, 225, .09), #fff 45%); }
.zone.z-purple { border-left-color: var(--purple); background: linear-gradient(120deg, rgba(155, 93, 229, .08), #fff 45%); }
.zone.z-teal   { border-left-color: var(--teal);   background: linear-gradient(120deg, rgba(18, 181, 165, .09), #fff 45%); }
.zone.z-pink h3   { color: var(--pink); }
.zone.z-orange h3 { color: #B96A00; }
.zone.z-green h3  { color: #4E8620; }
.zone.z-blue h3   { color: #1279A6; }
.zone.z-purple h3 { color: #6E33B8; }
.zone.z-teal h3   { color: #0E8F83; }

/* ------------------------------------------------------------- équipe --- */
.team {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center;
  background: linear-gradient(150deg, #E4F3FC, #F5FBFF);
  border-radius: var(--r-xl); padding: 42px 44px;
  position: relative; overflow: hidden;
}
.team::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: 34%; top: -190px;
  background: rgba(41, 169, 225, .10); border-radius: 50%;
}
.team > * { position: relative; z-index: 1; }
.team h2 { color: var(--blue); }
.team p { color: var(--muted); }
.team .btn { margin-top: 24px; }
.team-photo {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5; border: 7px solid #fff;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }

.card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(18, 58, 99, .05);
}
.card--pink  { background: linear-gradient(160deg, #FFE7F1, #FFF3F8); }
.card--blue  { background: linear-gradient(160deg, #E4F3FC, #F2FAFF); }
.card--cream { background: var(--cream-2); }
.card > .btn { align-self: flex-start; margin-bottom: 22px; }
.card h2 { color: var(--pink); }
.card--blue h2 { color: var(--blue); }
.card p { color: var(--muted); }

.mini-list { display: grid; grid-template-columns: 1fr; gap: 20px; align-content: space-evenly; flex: 1; }
.mini {
  display: flex; gap: 14px; align-items: flex-start;
}
.mini h3 { margin: 0 0 4px; font-size: 1.05rem; }
.mini p { margin: 0; font-size: .94rem; color: var(--muted); }

.card-photo {
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5; margin-top: auto;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card--pink .card-photo { aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; }

.stats { display: grid; gap: 12px; margin-top: 18px; }
.stat { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-sm); }
.stat strong { font-family: var(--font-title); font-size: 1.25rem; color: var(--navy); display: block; line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--muted); }

/* ------------------------------------------------------------ sections --- */
.sections-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sec-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  border-top: 6px solid var(--pink);
}
.sec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sec-card.t-pink   { border-top-color: var(--pink); }
.sec-card.t-orange { border-top-color: var(--orange); }
.sec-card.t-green  { border-top-color: var(--green); }
.sec-card.t-blue   { border-top-color: var(--blue); }
.sec-card.t-purple { border-top-color: var(--purple); }
.sec-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.sec-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sec-card:hover .sec-photo img { transform: scale(1.06); }
.sec-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sec-body h3 { margin: 0; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .5px; }
.sec-card.t-pink   .sec-body h3 { color: var(--pink); }
.sec-card.t-orange .sec-body h3 { color: var(--orange); }
.sec-card.t-green  .sec-body h3 { color: var(--green); }
.sec-card.t-blue   .sec-body h3 { color: var(--blue); }
.sec-card.t-purple .sec-body h3 { color: var(--purple); }
.sec-body p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1; }
.pill {
  align-self: flex-start; font-family: var(--font-title); font-weight: 600; font-size: .82rem;
  padding: 6px 14px; border-radius: 999px; background: rgba(18, 58, 99, .07); color: var(--navy);
}
.sec-card.t-pink   .pill { background: rgba(236, 45, 126, .12); color: var(--pink-d); }
.sec-card.t-orange .pill { background: rgba(247, 148, 30, .16); color: #B96A00; }
.sec-card.t-green  .pill { background: rgba(125, 194, 66, .18); color: #4E8620; }
.sec-card.t-blue   .pill { background: rgba(41, 169, 225, .16); color: #1279A6; }
.sec-card.t-purple .pill { background: rgba(155, 93, 229, .15); color: #6E33B8; }
.sec-icon { position: absolute; top: 14px; right: 14px; z-index: 2; }

/* ------------------------------------------------------------ promesse --- */
.promise {
  background: linear-gradient(120deg, var(--pink), #FF6FA5);
  color: #fff; border-radius: var(--r-xl); padding: 46px 40px; margin: 30px 0 0;
  position: relative; overflow: hidden;
}
.promise::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -90px; top: -140px;
  background: rgba(255, 255, 255, .12); border-radius: 50%;
}
.promise::after {
  content: ""; position: absolute; width: 220px; height: 220px; left: -80px; bottom: -110px;
  background: rgba(255, 255, 255, .10); border-radius: 50%;
}
.promise > * { position: relative; z-index: 1; }
.promise h2 { color: #fff; text-align: center; }
.promise p { color: rgba(255, 255, 255, .92); text-align: center; max-width: 780px; margin: 0 auto 1em; }
.promise-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 8px;
}
.promise-list li {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.promise-list i { color: #FFE08A; }
.promise-closing {
  font-family: var(--font-title); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  text-align: center; margin-top: 26px; color: #fff;
}
.promise-actions { display: flex; justify-content: center; margin-top: 22px; }

/* ---------------------------------------------------------- page hero --- */
.page-hero { position: relative; padding: 52px 0 10px; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero h1 { color: var(--navy); }
.page-hero h1 .h1-ico { color: var(--pink); font-size: .62em; margin-left: 12px; vertical-align: baseline; white-space: nowrap; }
.page-hero .lead { font-family: var(--font-title); font-weight: 600; color: var(--pink); font-size: 1.15rem; }
.page-hero p { color: var(--muted); max-width: 60ch; }
.page-photo {
  border-radius: var(--r-xl); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.page-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
/* variante paysage : sans elle, une photo horizontale perd la moitie de sa largeur
   dans le cadre 4/5 par defaut. */
.page-photo--wide { aspect-ratio: 16 / 10; }
.page-photo--wide img { object-position: center 50%; }

/* ------------------------------------------------------------- grilles --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.grid-flex > * { flex: 1 1 300px; max-width: 360px; }
.split  { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }

.feature {
  background: #fff; border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature h3 { margin: 0; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------- galerie --- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.filter {
  font-family: var(--font-title); font-weight: 600; font-size: .95rem;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  padding: 9px 20px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background .18s ease, color .18s ease;
}
.filter:hover { color: var(--pink); }
.filter.is-on { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ------------------------------------------------------------- galerie --- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item {
  position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 3 / 4; background: #fff; cursor: zoom-in;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gal-item.is-hidden { display: none; }

/* ------------------------------------------------ visionneuse (lightbox) --- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 36, 64, .94);
  align-items: center; justify-content: center; gap: 8px; padding: 24px;
}
.lightbox.is-open { display: flex; }
body.lb-lock { overflow: hidden; }

.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lb-img {
  max-width: min(92vw, 720px); max-height: 80vh; width: auto; height: auto;
  border-radius: var(--r-md); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); background: #0b2440;
}
.lb-cap {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--font-title); color: #fff; text-align: center;
}
.lb-text { font-weight: 600; font-size: 1.05rem; }
.lb-count { font-weight: 500; font-size: .85rem; color: rgba(255, 255, 255, .7); }

.lb-nav, .lb-close {
  flex: 0 0 auto; border: 0; cursor: pointer; color: var(--navy); background: #fff;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: background .18s ease, color .18s ease;
}
.lb-nav { width: 52px; height: 52px; font-size: 1.1rem; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; font-size: 1.15rem; }
.lb-nav:hover, .lb-close:hover { background: var(--pink); color: #fff; }
.lb-nav[disabled] { opacity: .3; cursor: default; background: #fff; color: var(--navy); }
/* display:grid ci-dessus gagnerait contre l'attribut hidden : on le neutralise. */
.lb-nav[hidden], .lb-close[hidden] { display: none; }

@media (max-width: 720px) {
  /* pas de place pour une rangee [fleche|photo|fleche] : les fleches passent par-dessus */
  .lightbox { padding: 16px; gap: 0; }
  .lb-img { max-width: 92vw; max-height: 66vh; }
  .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
  }
  .lb-nav.prev { left: 10px; }
  .lb-nav.next { right: 10px; }
  .lb-close { top: 12px; right: 12px; }
}

/* -------------------------------------------------------------- agenda --- */
/* 10 creneaux : 2 colonnes = 5 lignes pleines (en 3 colonnes la derniere
   ligne n'aurait qu'une seule carte). */
.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tl-item {
  background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; gap: 16px; align-items: flex-start;
}
.tl-time {
  font-family: var(--font-title); font-weight: 700; color: var(--pink); font-size: .9rem;
  letter-spacing: 1px;
}
.tl-item h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.tl-item p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ------------------------------------------------------------ contact --- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.form-card { background: #fff; border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-md); }
.form-card h2 { margin-bottom: .2em; }
.form-card .form-intro { color: var(--muted); margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-title); font-weight: 600; color: var(--navy);
  margin-bottom: 7px; font-size: .95rem;
}
.field label .req { color: var(--pink); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 2px solid transparent; border-radius: var(--r-sm);
  padding: 13px 16px; transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--pink); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { display: block; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field.has-error input, .field.has-error textarea { border-color: #E04141; background: #FFF3F3; }
.field .err { display: block; color: #C62828; font-size: .85rem; margin-top: 6px; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 22px; font-weight: 600;
}
.alert i { font-size: 1.3rem; margin-top: 2px; }
.alert-ok  { background: #E8F7EC; color: #1E6B33; }
.alert-err { background: #FDECEC; color: #B02A2A; }

.info-card { background: #fff; border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow-sm); }
.info-list { display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list strong { display: block; font-family: var(--font-title); color: var(--navy); font-size: .95rem; }
.info-list a, .info-list span.val { color: var(--muted); font-size: .95rem; word-break: break-word; }
.info-list a:hover { color: var(--pink); }

.hours-card { background: var(--cream-2); border-radius: var(--r-xl); padding: 26px 30px; margin-top: 20px; }
.hours-card h3 { margin-bottom: .6em; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 16px; padding: 9px 0;
  border-bottom: 1px dashed rgba(18, 58, 99, .14); font-size: .95rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list strong { color: var(--navy); }

/* --- carte Google (pied de page + page contact) --- */
.footer-map {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); margin-top: 38px; background: rgba(255, 255, 255, .06);
}
.footer-map iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-open {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--navy); font-family: var(--font-title); font-weight: 600;
  font-size: .95rem; padding: 11px 20px; border-radius: 999px; box-shadow: var(--shadow-md);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.map-open:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }
.map-open i { font-size: .82rem; }

.map-wrap.footer-map { margin-top: 22px; border-radius: var(--r-xl); }
.map-wrap.footer-map iframe { height: 320px; }

/* --------------------------------------------------------------- CTA ---- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), #5AC8F0); color: #fff;
  border-radius: var(--r-xl); padding: 40px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { color: rgba(255, 255, 255, .92); margin: 0; }

/* ------------------------------------------------------------- footer --- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); margin-top: 70px; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 34px; }
.logo-word--footer { font-size: 1.6rem; display: inline-block; margin-bottom: 14px; }
.footer-about { font-size: .95rem; line-height: 1.7; }
.footer-title {
  font-family: var(--font-title); color: #fff; font-size: 1.05rem; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.footer-links a, .footer-contact a, .footer-contact span { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.footer-links li, .footer-contact li { margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.footer-links i, .footer-contact i { color: var(--yellow); margin-top: 5px; font-size: .85rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.footer-hours strong { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s ease;
}
.socials a:hover { background: var(--pink); }
.footer-bottom {
  margin-top: 40px; padding: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.to-top { color: rgba(255, 255, 255, .78); }
.to-top:hover { color: #fff; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 26px rgba(37, 211, 102, .4);
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }

/* -------------------------------------------------------------- 404 ----- */
.nf { text-align: center; padding: 90px 0; }
.nf i { font-size: 4rem; color: var(--yellow); margin-bottom: 20px; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1180px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-item:nth-child(4n) { border-right: 0; }
  .sections-grid { grid-template-columns: repeat(3, 1fr); }
  .espaces-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 84px 0 auto 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 26px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .28s ease; z-index: 55;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px dashed var(--line); }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.1rem; }
  .main-nav a::after { display: none; }
  .nav-cta { margin-top: 18px; justify-content: center; }
  .burger { display: grid; place-items: center; }

  .hero-grid, .page-hero-grid, .split, .contact-grid, .grid-2, .team { grid-template-columns: 1fr; }
  .team { gap: 28px; }
  .team-photo { order: -1; max-width: 420px; }
  .hero-media { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-badge { width: 132px; height: 132px; font-size: .8rem; right: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .timeline { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .section { padding: 46px 0; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; }
  .sections-grid { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr; }
  .zone:nth-child(5) { grid-column: auto; }
  .stats-row { grid-template-columns: 1fr; }
  .team { padding: 28px 22px; border-radius: var(--r-lg); }
  .mini-list { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .timeline { grid-template-columns: 1fr; }
  .promise { padding: 34px 22px; border-radius: var(--r-lg); }
  .cta-band { padding: 28px 24px; }
  .form-card, .info-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .deco { display: none; }

  /* Galerie : 2 colonnes, et les onglets en bande defilante (les noms de zone sont longs). */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Onglets : 7 pastilles empilees mangeaient 235px de haut -> bande defilante. */
  .filters {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: -18px; padding: 4px 18px 10px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; scroll-snap-align: start; font-size: .88rem; padding: 8px 16px; }
}

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