/* =========================================================
   REFONTE-2026.CSS — Rentrée 2026-2027
   Chargée EN DERNIER, après layout/components/home.
   Ne remplace rien : complète et rafraîchit l'existant.

   Sommaire
   1.  Tokens complémentaires
   2.  Barre de contact (topbar)
   3.  Header collant + navigation
   4.  Hero d'accueil
   5.  Bandeau d'annonce rentrée
   6.  Titres de section
   7.  Résultats aux examens
   8.  Chiffres clés
   9.  Cartes cycles / actualités / offres d'emploi
   10. Étapes d'inscription
   11. Bandeau d'appel à l'action
   12. Bouton WhatsApp flottant
   13. Apparition au défilement
   14. Impression & mouvement réduit
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS COMPLÉMENTAIRES
   --------------------------------------------------------- */
:root {
  --primary-dark: #06255c;
  --ring: rgba(10, 61, 145, 0.12);
  --topbar-h: 40px;
  --shadow-soft: 0 2px 8px rgba(10, 61, 145, .06), 0 12px 32px -12px rgba(10, 61, 145, .18);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 28px -14px rgba(15, 23, 42, .22);
  --whatsapp: #25D366;
}

/* ---------------------------------------------------------
   2. BARRE DE CONTACT (TOPBAR)
   --------------------------------------------------------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .92);
  font-size: .875rem;
}

.topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  padding: 6px 0;
}

.topbar a {
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--transition-base);
}

.topbar a:hover { color: var(--secondary-light); }

.topbar-sep {
  opacity: .35;
  user-select: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 6px 0;
}

.topbar-actions .topbar-join {
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

@media (max-width: 900px) {
  .topbar-inner { justify-content: center; }
  .topbar-actions { display: none; }
}

@media (max-width: 520px) {
  .topbar { font-size: .8125rem; }
  .topbar-contacts { gap: var(--spacing-md); }
  .topbar-mail { display: none; }
}

/* ---------------------------------------------------------
   3. HEADER COLLANT + NAVIGATION
   Le JS existant bascule .scrolled : on lui donne enfin un style.
   --------------------------------------------------------- */
header#header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

header#header .nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px var(--container-padding);
}

header#header.scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-soft);
}

/* Logo : image plus nette, texte resserré */
.logo img { width: 48px; height: 48px; border-radius: 10px; }
.logo-text { font-size: .7rem; letter-spacing: .12em; color: var(--text-tertiary); }
.logo-text strong { font-size: 1.25rem; letter-spacing: .02em; }

/* Menu : un peu plus dense pour absorber les nouvelles rubriques */
.nav-menu { gap: 20px; font-size: .95rem; }
.nav-menu > li { flex: 0 0 auto; }   /* aucun item ne doit être compressé */
.nav-menu a { padding: 8px 0; }
.nav-menu a::after { background: var(--secondary); height: 2.5px; }

/* Rubrique active */
.nav-menu a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav-menu a[aria-current="page"]::after { width: 100%; }

/* Bouton d'inscription dans la barre de navigation */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 6px 16px -6px rgba(245, 134, 52, .8);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(245, 134, 52, .9); }

@media (max-width: 1440px) {
  .nav-menu { gap: 16px; font-size: .9rem; }
  .logo { padding-right: 20px; margin-right: 20px; }
  .nav-right { gap: 24px; }
  .nav-cta { padding: 10px 15px; }
}

@media (max-width: 1180px) {
  .nav-menu { gap: 12px; font-size: .85rem; }
  .logo { padding-right: 14px; margin-right: 14px; }
  .logo-text strong { font-size: 1.1rem; }
  .nav-right { gap: 16px; }
  .nav-cta { padding: 9px 13px; font-size: .85rem; }
}

@media (max-width: 768px) {
  .nav-menu.active { top: 68px; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav-menu.active .nav-cta { justify-content: center; margin-top: 8px; }
  .logo img { width: 42px; height: 42px; }
}

/* ---------------------------------------------------------
   4. HERO D'ACCUEIL
   --------------------------------------------------------- */
.hero-2026 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 0;
  background: var(--primary-dark);
}

.hero-2026 .hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-2026 .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-2026::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 37, 92, .94) 0%, rgba(10, 61, 145, .86) 42%, rgba(10, 61, 145, .55) 72%, rgba(10, 61, 145, .35) 100%);
}

.hero-2026 .container { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(245, 134, 52, .25);
}

.hero-2026 h1 {
  color: #fff;
  max-width: 16ch;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: var(--spacing-lg);
}

.hero-2026 h1 .accent {
  color: var(--secondary-light);
  display: block;
}

.hero-2026 .hero-lead {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  max-width: 54ch;
  margin-bottom: var(--spacing-xl);
}

.hero-2026 .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero-2026 .btn-ghost {
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
  backdrop-filter: blur(4px);
}

.hero-2026 .btn-ghost:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

/* Bandeau de confiance collé au bas du hero */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-bottom: none;
}

.hero-trust div {
  background: rgba(6, 37, 92, .55);
  backdrop-filter: blur(6px);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

.hero-trust b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  color: #fff;
  line-height: 1.1;
}

.hero-trust span {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .8);
}

@media (min-width: 720px) {
  .hero-trust { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------
   5. BANDEAU D'ANNONCE RENTRÉE
   --------------------------------------------------------- */
.announce {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #fff;
  padding: var(--spacing-md) var(--container-padding);
}

.announce-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md) var(--spacing-lg);
  flex-wrap: wrap;
  text-align: center;
}

.announce p { color: #fff; margin: 0; font-weight: 500; }
.announce strong { font-weight: 800; }

.announce .announce-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   6. TITRES DE SECTION
   --------------------------------------------------------- */
.sec-head {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.sec-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--spacing-sm);
}

.sec-head h2 { margin-bottom: var(--spacing-md); }

.sec-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--secondary);
  margin: var(--spacing-md) auto 0;
}

.sec-head p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.section-alt { background: var(--bg-light); }

/* Grilles : éviter les rangées orphelines (3 + 1) sur grand écran */
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infra-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Bloc image de la section présentation : vraie photo au lieu du aplat */
.presentation-image.has-photo {
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--bg-lighter);
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.presentation-image.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1023px) {
  .presentation-image.has-photo { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------
   7. RÉSULTATS AUX EXAMENS
   --------------------------------------------------------- */
.results {
  background:
    radial-gradient(1100px 420px at 50% -12%, rgba(245, 134, 52, .12), transparent 62%),
    linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}

.results .sec-head h2 { color: #fff; }
.results .sec-head p { color: rgba(255, 255, 255, .82); }
.results .sec-eyebrow { color: var(--secondary-light); }

.results-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.result-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .34);
}

.result-card h3 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
}

/* Jauge circulaire (conic-gradient, sans JS) */
.gauge {
  --val: 0;
  width: 148px;
  height: 148px;
  margin: 0 auto var(--spacing-lg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(var(--secondary) calc(var(--val) * 1%), rgba(255, 255, 255, .16) 0);
  position: relative;
}

.gauge::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #0a3d91;
}

.gauge span {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: #fff;
  line-height: 1;
}

.gauge small {
  position: relative;
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
}

.result-compare {
  font-size: .9rem;
  color: rgba(255, 255, 255, .78);
  margin-bottom: var(--spacing-md);
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, .18);
  border: 1px solid rgba(16, 185, 129, .45);
  color: #7df3ce;
  font-size: .8125rem;
  font-weight: 700;
}

.result-badge.is-neutral {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

/* Détail par série */
.series {
  margin-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: var(--spacing-xl);
}

.series h4 {
  color: rgba(255, 255, 255, .82);
  text-align: center;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8125rem;
  margin-bottom: var(--spacing-lg);
}

.series-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-md);
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.series-list li {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  text-align: center;
}

.series-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--secondary-light);
}

.series-list span {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .04em;
}

.results-note {
  text-align: center;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
  margin-top: var(--spacing-xl);
}

/* ---------------------------------------------------------
   8. CHIFFRES CLÉS
   --------------------------------------------------------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.kpi {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.kpi-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--primary);
  line-height: 1.1;
}

.kpi span {
  font-size: .9rem;
  color: var(--text-secondary);
}

/* ---------------------------------------------------------
   9. CARTES CYCLES / ACTUALITÉS / OFFRES
   --------------------------------------------------------- */
.cycle-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.cycle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.cycle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }

.cycle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-lighter);
}

.cycle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-extra);
}

.cycle-card:hover .cycle-media img { transform: scale(1.05); }

.cycle-tag {
  position: absolute;
  left: var(--spacing-md);
  top: var(--spacing-md);
  background: rgba(6, 37, 92, .85);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.cycle-body {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cycle-body h3 { margin-bottom: var(--spacing-sm); }
.cycle-body p { flex: 1; }

.cycle-meta {
  list-style: none;
  margin: var(--spacing-md) 0 var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .9rem;
  color: var(--text-secondary);
}

.cycle-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cycle-meta li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.5;
}

.cycle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: auto;
}

.cycle-actions .btn { flex: 1 1 auto; font-size: .875rem; padding: 12px 16px; }

/* Actualités */
.news-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.news-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-lighter);
}

.news-media img { width: 100%; height: 100%; object-fit: cover; }

.news-body { padding: var(--spacing-xl); display: flex; flex-direction: column; flex: 1; }

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--spacing-sm);
}

.news-body h3 { font-size: 1.15rem; margin-bottom: var(--spacing-sm); }
.news-body p { flex: 1; font-size: .95rem; }

.news-tag {
  align-self: flex-start;
  margin-top: var(--spacing-md);
  background: var(--primary-lighter);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* Offres d'emploi */
.job-list { display: grid; gap: var(--spacing-lg); }

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: var(--spacing-md);
}

@media (min-width: 820px) {
  .job-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.job-card h3 { margin-bottom: var(--spacing-xs); }

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  list-style: none;
  margin-top: var(--spacing-md);
}

.job-tags li {
  background: var(--bg-lighter);
  color: var(--text-secondary);
  font-size: .8125rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ---------------------------------------------------------
   10. ÉTAPES D'INSCRIPTION
   --------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  box-shadow: var(--shadow-card);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: var(--spacing-lg);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(10, 61, 145, .9);
}

.steps h3 { font-size: 1.05rem; margin: var(--spacing-sm) 0; }
.steps p { font-size: .93rem; margin: 0; }

/* ---------------------------------------------------------
   11. BANDEAU D'APPEL À L'ACTION
   --------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(245, 134, 52, .22), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 { color: #fff; margin-bottom: var(--spacing-md); }

.cta-band p {
  color: rgba(255, 255, 255, .88);
  max-width: 60ch;
  margin: 0 auto var(--spacing-xl);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06301a;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .9);
}

.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-light {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.btn-light:hover { transform: translateY(-2px); background: var(--primary-lighter); }

/* ---------------------------------------------------------
   12. BOUTON WHATSAPP FLOTTANT
   --------------------------------------------------------- */
.wa-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-fixed);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 15px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: #06301a;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .85), 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, .95);
}

.wa-fab svg { width: 22px; height: 22px; flex: none; }

@media (max-width: 560px) {
  .wa-fab { padding: 14px; }
  .wa-fab .wa-label { display: none; }
}

/* ---------------------------------------------------------
   12 bis. PIED DE PAGE
   --------------------------------------------------------- */
footer.footer-2026 {
  background:
    radial-gradient(800px 340px at 85% 0%, rgba(245, 134, 52, .16), transparent 62%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: clamp(3rem, 7vw, 4.5rem) var(--container-padding) var(--spacing-2xl);
}

.footer-2026 .footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  max-width: var(--container-max);
  margin: 0 auto var(--spacing-2xl);
}

@media (min-width: 700px) {
  .footer-2026 .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .footer-2026 .footer-content { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--spacing-md);
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
}

.footer-brand b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: .02em;
}

.footer-brand span {
  font-size: .85rem;
  color: rgba(255, 255, 255, .72);
}

.footer-2026 p { color: rgba(255, 255, 255, .8); font-size: .93rem; }

.footer-2026 h4 {
  color: #fff;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
}

.footer-2026 .footer-links a,
.footer-2026 .footer-contact a { color: rgba(255, 255, 255, .85); }

.footer-2026 .footer-links { gap: var(--spacing-sm); font-size: .95rem; }

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { flex: none; opacity: .9; }

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  transition: background var(--transition-base), transform var(--transition-base);
}

.footer-social a:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }

.footer-2026 .footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md) var(--spacing-lg);
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding-top: var(--spacing-xl);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-2026 .footer-bottom a { color: rgba(255, 255, 255, .8); }
.footer-2026 .footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------
   12 ter. GALERIE
   auto-fill (et non auto-fit) : un album de 2 photos garde des
   vignettes de taille normale au lieu de s'étirer sur la ligne.
   --------------------------------------------------------- */
.gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.gallery-grid img { height: 190px; }

.gallery-section {
  padding-top: 0;
  padding-bottom: var(--spacing-xl);
  margin-bottom: 0;
}

.gallery-section h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--border);
}

.gallery-section .muted {
  font-size: .85rem;
  color: var(--text-tertiary);
  margin-top: var(--spacing-sm);
}

/* ---------------------------------------------------------
   13. APPARITION AU DÉFILEMENT
   --------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   14. IMPRESSION & MOUVEMENT RÉDUIT
   --------------------------------------------------------- */
@media print {
  .topbar, .wa-fab, .announce, .nav-cta { display: none !important; }
  header#header { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cycle-card:hover, .news-card:hover, .kpi:hover, .result-card:hover { transform: none; }
}
