/* ═══════════════════════════════════════════════
   ATEL — Feuille de styles principale
   Palette : orange leucémie · bleu espoir · blanc · beige doux
   ═══════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────── */
:root {
  --orange:      #C84E18;
  --orange-light:#E8911E;
  --orange-pale: #FFF1E8;
  --blue:        #1B5DA0;
  --blue-light:  #EBF3FB;
  --beige:       #F7F2EC;
  --white:       #FFFFFF;
  --text-dark:   #1C2B38;
  --text-mid:    #536070;
  --text-light:  #8896A4;
  --border:      #E0D8D0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.06);
  --shadow-md:   0 2px 8px rgba(0,0,0,.05), 0 12px 36px rgba(0,0,0,.09);
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --transition:  .3s cubic-bezier(.25,.46,.45,.94);
  --font-head:   'Poppins', sans-serif;
  --font-body:   'Nunito', sans-serif;
}

/* ── Reset & base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #FAFAF8;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.22;
  color: var(--text-dark);
  letter-spacing: -.015em;
}

/* ── Helpers ─────────────────────────────────── */
.container {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding-block: 5.5rem;
}

.section--beige { background: var(--beige); }
.section--blue-light { background: var(--blue-light); }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.25rem;
  letter-spacing: -.025em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .01em;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(200,78,24,.20);
}
.btn--primary:hover {
  background: #A83E12;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(200,78,24,.32);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(27,93,160,.20);
}
.btn--blue:hover {
  background: #154D88;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(27,93,160,.30);
}

.btn--ghost {
  background: transparent;
  border-color: var(--orange);
  color: var(--orange);
}
.btn--ghost:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Navigation ──────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding-block: 1rem;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding-block: .6rem;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.35));
  transition: filter var(--transition);
}
.navbar.scrolled .navbar__logo-img {
  filter: none;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.navbar__link {
  padding: .4rem .85rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.navbar__link:hover,
.navbar__link.active {
  background: rgba(255,255,255,.2);
}

.navbar.scrolled .navbar__link { color: var(--text-dark); }
.navbar.scrolled .navbar__link:hover { background: var(--orange-pale); color: var(--orange); }

.navbar__cta {
  background: var(--white);
  color: var(--orange) !important;
}
.navbar.scrolled .navbar__cta {
  background: var(--orange);
  color: var(--white) !important;
}
.navbar__cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .navbar__burger span { background: var(--text-dark); }

/* ── Hero ─────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: linear-gradient(145deg, #C03808 0%, #D95720 38%, #E87030 65%, #F08B42 100%);
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Radial depth glows */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at  5% 120%, rgba(255,140,40,.40) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 95%  -5%, rgba(255,220,140,.22) 0%, transparent 50%),
    radial-gradient(ellipse 55% 60% at 68%  55%, rgba(0,0,0,.18)       0%, transparent 55%);
  pointer-events: none;
}

/* Glass trail — extracted transparent PNG from reference image */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/glass-trail-reference.png');
  background-size: cover;
  background-position: center center;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: start;
  gap: 3rem;
  padding-block-start: 2rem;
  padding-block-end: 4rem;
  width: 100%;
}

/* ── Left column — text content ── */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  padding-inline-start: clamp(1rem, 3vw, 2rem);
}


.hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--white);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0,0,0,.30), 0 4px 20px rgba(0,0,0,.22);
}
.hero__title span { color: rgba(255,235,120,1); }

/* CTA — single button */
.hero__ctas {
  display: flex;
}



.btn--hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: .9rem 2rem;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--hero-secondary:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.70);
  transform: translateY(-3px);
}

/* ── Right column — portrait ── */
.hero__visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-block-start: 4.5rem;
  padding-inline-end: 3.5rem;
}

.hero__img-frame {
  width: 100%;
  max-width: 510px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0  8px 32px rgba(0,0,0,.28),
    0 24px 64px rgba(0,0,0,.22),
    inset 0 0 0 1px rgba(255,255,255,.18);
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ──────────────────────────────────────────────────
   HERO SHOWCASE — 2 panneaux blancs (build propre)
   Classes: hero-showcase / hero-panel / hero-panel__*
────────────────────────────────────────────────── */

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
  width: 100%;
}

.hero-panel {
  background: #ffffff;
  border: 1px solid rgba(200,214,228,.75);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 500px;
  box-shadow:
    0  2px  6px  rgba(0,0,0,.07),
    0 10px 28px  rgba(0,0,0,.11),
    0 24px 56px  rgba(0,0,0,.07);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s cubic-bezier(.25,.46,.45,.94);
}

.hero-panel:hover {
  transform: translateY(-6px);
  box-shadow:
    0  3px  9px  rgba(0,0,0,.09),
    0 14px 38px  rgba(0,0,0,.14),
    0 32px 68px  rgba(0,0,0,.09);
}

.hero-panel__icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.hero-panel--blue   .hero-panel__icon { background: #dbeafe; color: #1d4ed8; }
.hero-panel--orange .hero-panel__icon { background: #ffedd5; color: #c2410c; }

.hero-panel__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: .45rem;
}

.hero-panel__rule {
  width: 36px; height: 3px;
  border-radius: 2px;
  margin-bottom: .75rem;
}
.hero-panel--blue   .hero-panel__rule { background: #1877f2; }
.hero-panel--orange .hero-panel__rule { background: #e8531a; }

.hero-panel__text {
  font-size: .8rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
  width: 100%;
}

.hero-panel__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

/* Third thumbnail spans both columns as a wide panoramic strip */
.hero-panel__gallery .hero-panel__thumb:nth-child(3) {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}

.hero-panel__thumb {
  display: block;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
}

.hero-panel__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  will-change: transform;
}
.hero-panel__thumb img:hover { transform: scale(1.08); }

/* Gradient shown as fallback when the photo is absent or still loading */
.hero-panel--blue   .hero-panel__thumb:nth-child(1) { background: linear-gradient(135deg,#7dd3fc,#2563eb); }
.hero-panel--blue   .hero-panel__thumb:nth-child(2) { background: linear-gradient(135deg,#60a5fa,#1d4ed8); }
.hero-panel--blue   .hero-panel__thumb:nth-child(3) { background: linear-gradient(135deg,#93c5fd,#3b82f6); }
.hero-panel--orange .hero-panel__thumb:nth-child(1) { background: linear-gradient(135deg,#fdba74,#ea580c); }
.hero-panel--orange .hero-panel__thumb:nth-child(2) { background: linear-gradient(135deg,#fb923c,#c2410c); }
.hero-panel--orange .hero-panel__thumb:nth-child(3) { background: linear-gradient(135deg,#fbbf24,#f97316); }

.hero-panel__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-top: auto;
  transition: filter .2s ease, transform .2s ease;
}
.hero-panel--blue   .hero-panel__button { background: #1877f2; }
.hero-panel--orange .hero-panel__button { background: #e8531a; }
.hero-panel__button:hover { filter: brightness(1.1); transform: translateY(-2px); }

.hero-panel__caption {
  font-size: .66rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: .5rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero__scroll svg { width: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Découvrir ─────────────────────────────── */
.decouvrir__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.decouvrir__lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: .75rem;
}

.decouvrir__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* ── À propos ──────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #0C2540 0%, #1B5DA0 65%, #2A72C2 100%);
  display: flex;
  flex-direction: column;
  padding: 1.375rem 1.5rem 1.5rem;
  gap: .875rem;
  position: relative;
}

.about__actions-label {
  font-family: var(--font-head);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0;
  flex-shrink: 0;
}

.actions-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  flex: 1;
  min-height: 0;
}

.action-mini {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 11px;
  padding: .75rem .875rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  transition: background .2s ease;
}

.action-mini:hover { background: rgba(255,255,255,.14); }

.action-mini:nth-child(5) {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .625rem;
}

.action-mini__icon { font-size: 1.3rem; line-height: 1; }

.action-mini__title {
  font-family: var(--font-head);
  font-size: .71rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 180px; height: 180px;
  background: var(--orange);
  border-radius: 50%;
  opacity: .07;
  transform: translate(35%, 35%);
  pointer-events: none;
}

.about__content {
  display: flex;
  flex-direction: column;
}

.about__intro {
  color: var(--text-mid);
  font-size: .97rem;
  line-height: 1.82;
  margin-bottom: 1rem;
}

.about__mission {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--orange);
  margin-block: 1.75rem;
  box-shadow: var(--shadow-sm);
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.about__mission strong { color: var(--text-dark); }

.about__facts {
  display: flex;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.about__fact {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.about__fact-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
  margin-inline: 2rem;
  flex-shrink: 0;
}

.about__fact-value {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -.02em;
  display: block;
}

.about__fact-label {
  font-size: .72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   NOS ACTIONS — Bento Grid
══════════════════════════════════════════════ */
.section--actions {
  background: #F5F0E8;
  position: relative;
  overflow: hidden;
}
.section--actions::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,78,24,.06) 0%, transparent 65%);
  pointer-events: none;
}
.section--actions::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,93,160,.05) 0%, transparent 65%);
  pointer-events: none;
}


/* ── Activités Carousel ────────────────────── */
.activites-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.activites-track-wrap {
  flex: 1;
  overflow: hidden;
}

.activites-track {
  display: flex;
  transition: transform .42s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.activites-empty {
  width: 100%;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--text-mid);
  font-size: .95rem;
}

/* Card width set via JS */
.activite-card {
  flex-shrink: 0;
  padding: 0 .75rem;
  box-sizing: border-box;
}

.activite-card__inner {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.activite-card__inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.activite-card__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}
.activite-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.activite-card__inner:hover .activite-card__img-wrap img {
  transform: scale(1.04);
}

.activite-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}

.activite-card__date {
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
}

.activite-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}

.activite-card__desc {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.activite-card__social {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  padding-top: .5rem;
  transition: opacity .2s ease;
}
.activite-card__social:hover { opacity: .75; }
.activite-card__social--instagram { color: #C13584; }
.activite-card__social--facebook  { color: #1877F2; }
.activite-card__social svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Navigation arrows */
.activites-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: background .2s ease, border-color .2s ease,
              color .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.activites-nav:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,78,24,.3);
}
.activites-nav:disabled {
  opacity: .3;
  cursor: not-allowed;
  box-shadow: none;
}
.activites-nav svg {
  width: 18px;
  height: 18px;
}

/* Position dots */
.activites-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
}
.activites-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background .25s ease, transform .25s ease;
}
.activites-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
  .activites-carousel { gap: .5rem; }
  .activite-card { padding: 0 .5rem; }
  .activites-nav { width: 38px; height: 38px; }
  .activites-nav svg { width: 15px; height: 15px; }
}
@media (max-width: 480px) {
  .activites-nav { width: 34px; height: 34px; }
  .activite-card { padding: 0 .375rem; }
}

/* ── Lightbox ────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  transform: scale(.95);
  transition: transform .28s ease;
}
.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox__close:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.5);
}
.lightbox__close svg {
  width: 18px;
  height: 18px;
}

/* Clickable image hint */
.activite-card__img-wrap[data-lightbox-src] {
  cursor: zoom-in;
  position: relative;
}
.activite-card__img-wrap[data-lightbox-src]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .25s ease;
  pointer-events: none;
}
.activite-card__img-wrap[data-lightbox-src]:hover::after {
  background: rgba(0,0,0,.18);
}

/* ── Réalisations ────────────────────────────── */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.realisation-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.realisation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.realisation-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(200,78,24,0));
}
.realisation-card__icon {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
  width: 72px;
  height: 72px;
  background: var(--beige);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.realisation-card__annee { font-size: .72rem; font-weight: 700; color: var(--orange); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.realisation-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; letter-spacing: -.01em; }
.realisation-card__text  { font-size: .88rem; color: var(--text-mid); line-height: 1.75; }
.realisation-card__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  color: #1A9060;
  background: rgba(26,144,96,.06);
  border: 1px solid rgba(26,144,96,.18);
  padding: .3rem .75rem;
  border-radius: 50px;
  letter-spacing: .04em;
}

/* ══════════════════════════════════════════════
   CHEBEB ATEL
══════════════════════════════════════════════ */
.chebeb__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.chebeb__desc {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 1rem;
}
.chebeb__desc:last-of-type { margin-bottom: 0; }

.chebeb__cta-btn { margin-top: 2rem; }

/* ── Roles — 2×2 divided grid ──────────────── */
.chebeb__roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-top: 2.5rem;
}
.chebeb-role {
  padding: 1.25rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transition: background .25s ease;
}
.chebeb-role:hover {
  transform: none;
  box-shadow: none;
  background: rgba(247,242,236,.65);
}
.chebeb-role__icon {
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  background: var(--beige);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .65rem;
}
.chebeb-role__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  color: var(--text-dark);
  margin-bottom: .3rem;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.chebeb-role__text {
  font-size: .8rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── Visual feature panel ──────────────────── */
.chebeb__visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 2px 8px rgba(0,0,0,.04),
    0 16px 48px rgba(0,0,0,.09);
  display: flex;
  flex-direction: column;
  text-align: left;
  color: var(--text-dark);
}

/* Real photo container */
.chebeb__visual-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #1B5DA0;
}
.chebeb__visual-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 55%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(200,78,24,0));
  z-index: 2;
}
.chebeb__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.chebeb__visual:hover .chebeb__visual-img {
  transform: scale(1.04);
}

/* Caption area */
.chebeb__visual-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -.02em;
  line-height: 1.2;
  padding: 1.5rem 1.75rem .4rem;
  margin: 0;
  position: relative;
  z-index: 2;
}
.chebeb__visual-title::before {
  content: 'Section jeunesse';
  display: block;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid rgba(200,78,24,.18);
  padding: .2rem .65rem;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: .65rem;
}
.chebeb__visual-subtitle {
  font-size: .88rem;
  color: var(--text-mid);
  opacity: 1;
  line-height: 1.6;
  padding: 0 1.75rem .75rem;
  margin: 0;
  position: relative;
  z-index: 2;
}
.chebeb__visual-desc {
  font-size: .83rem;
  color: var(--text-light);
  line-height: 1.75;
  padding: 0 1.75rem 1.25rem;
  margin: 0;
  opacity: 1;
  position: relative;
  z-index: 2;
}

/* Instagram button — override white-outline for light background */
.chebeb__visual .btn--white-outline {
  margin: 0 1.75rem 1.75rem;
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: .85rem;
  position: relative;
  z-index: 2;
}
.chebeb__visual .btn--white-outline:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ── Don ─────────────────────────────────────── */
.don__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.don__impact-intro {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-light);
  margin-bottom: 0;
}

.don__impact-grid {
  display: flex;
  flex-direction: column;
  margin-top: 1.25rem;
}

.impact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}
.impact-item:first-child { border-top: 1px solid var(--border); }
.impact-item:hover { transform: none; box-shadow: none; }

.impact-item__icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--beige);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.impact-item__title { font-weight: 700; font-size: .9rem; margin-bottom: .2rem; }
.impact-item__text  { font-size: .83rem; color: var(--text-mid); line-height: 1.65; }

.don__cta-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.don__cta-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid rgba(200,78,24,.18);
  padding: .22rem .7rem;
  border-radius: 50px;
  margin-bottom: .85rem;
}
.don__cta-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.don__cta-text {
  color: var(--text-mid);
  font-size: .93rem;
  line-height: 1.78;
  margin-bottom: 1.75rem;
}
.don__cta-btn {
  width: 100%;
  justify-content: center;
  padding: .9rem 1.5rem;
  font-size: .93rem;
}
.don__cta-reassurance {
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .85rem;
  line-height: 1.6;
}

.btn--white-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
}
.btn--white-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }

/* ── Contact ─────────────────────────────────── */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}

.contact__info-items { display: grid; gap: 1.25rem; margin-top: 1.5rem; }

.contact__info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact__info-icon {
  width: 44px; height: 44px;
  background: var(--beige);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact__info-label { font-size: .75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .12em; }
.contact__info-value { font-weight: 600; color: var(--text-dark); }

.contact__socials { display: flex; gap: 1rem; margin-top: 2rem; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid var(--border);
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.social-btn--fb { color: #1877f2; border-color: #1877f2; }
.social-btn--fb:hover { background: #1877f2; color: white; }
.social-btn--ig { color: #e1306c; border-color: #e1306c; }
.social-btn--ig:hover { background: #e1306c; color: white; }

/* Form */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.35rem; }
.form-label  { font-size: .85rem; font-weight: 700; color: var(--text-dark); }
.form-input,
.form-textarea,
.form-select {
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200,78,24,.10);
}
.form-textarea { resize: vertical; min-height: 130px; }

.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }

/* Form mode selector */
.form-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--beige);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
  margin-bottom: 2.25rem;
}
.form-mode-btn {
  padding: .65rem 1rem;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--text-mid);
  transition: background .2s, color .2s, box-shadow .2s;
  text-align: center;
  line-height: 1.35;
}
.form-mode-btn[aria-pressed="true"] {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06);
}
.form-mode-btn--don[aria-pressed="true"] { color: var(--orange); }

.form-panel--hidden { display: none; }

.form-label-opt {
  font-weight: 400;
  color: var(--text-light);
  font-size: .8em;
  margin-left: .25rem;
}
.form-reassurance {
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .85rem;
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────── */
.footer {
  background: #101C29;
  color: rgba(255,255,255,.75);
  padding-block: 3.5rem 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo  {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer__logo-badge {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  font-family: var(--font-head);
  font-size: .9rem;
  flex-shrink: 0;
}
.footer__logo-name { font-family: var(--font-head); font-weight: 700; color: var(--white); }
.footer__tagline   { font-size: .9rem; line-height: 1.82; }
.footer__socials   { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer__social-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  transition: var(--transition);
}
.footer__social-icon:hover { background: var(--orange); transform: translateY(-2px); }

.footer__col-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(200,78,24,.45);
  display: inline-block;
}

.footer__links { display: grid; gap: .55rem; }
.footer__link  {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--orange-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  flex-wrap: wrap;
}
.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-wrap: wrap;
}
.footer__bottom-sep { opacity: .3; }
.footer__admin-link {
  font-size: .76rem;
  color: rgba(255,255,255,.28);
  text-decoration: none;
  transition: color .2s;
}
.footer__admin-link:hover { color: rgba(255,255,255,.6); }

/* ── Toast notification ──────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--text-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { background: #27ae60; }
.toast--error   { background: #c0392b; }

/* ── Animations ──────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .realisations-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding-block: 3.5rem; }

  .navbar__links,
  .navbar__cta { display: none; }

  .navbar__burger { display: flex; }
  .navbar__burger span { background: var(--white); }
  .navbar.scrolled .navbar__burger span { background: var(--text-dark); }
  .navbar__logo-img { height: 46px; }

  /* Mobile nav open state */
  .navbar.menu-open .navbar__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0C2540;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 998;
  }
  .navbar.menu-open .navbar__link { font-size: 1.25rem; color: var(--white); }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 2rem;
    gap: 2.5rem;
  }
  .hero__content { align-items: center; }
  .hero__title { text-align: center; }
  .hero__ctas { justify-content: center; }
  .hero__visual { padding-block-start: 1rem; padding-inline-end: 0; }
  .hero__img-frame { max-width: 380px; }
  .hero-panel__gallery { grid-template-columns: 1fr; }
  .hero-panel__gallery .hero-panel__thumb:nth-child(3) { grid-column: 1; aspect-ratio: 4/3; }

  .about__grid,
  .chebeb__inner,
  .don__inner,
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__facts { flex-wrap: wrap; gap: 1.25rem 0; }
  .about__fact-divider { display: none; }
  .about__fact { flex: 0 0 48%; }

  .realisations-grid { grid-template-columns: 1fr; }

  .about__image-wrap { aspect-ratio: auto; min-height: 280px; }

  .chebeb__roles { grid-template-columns: 1fr; }
  .chebeb__visual-photo { aspect-ratio: 3/2; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-right { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-showcase   { grid-template-columns: 1fr; gap: 1.25rem; }
  .decouvrir__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-panel { min-height: auto; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.1rem; }
  .hero__img-frame { max-width: 300px; }
  .btn { padding: .75rem 1.5rem; font-size: .88rem; }
}

