/* =========================================================
   FormUp & Go — HOME.CSS (full)
   Palette + layout + composants (sans inline styles)
   ========================================================= */

/* ===== Palette FormUp & Go ===== */
:root {
  --fu-graphite: #2E2E2E;
  /* Gris graphite (fond) */
  --fu-cyan: #00FFFF;
  /* Cyan électrique (accent) */
  --fu-silver: #D9D9D9;
  /* Argent clair (texte) */
  --fu-bg-deeper: #242424;
  /* Panneaux/cartes */
  --fu-border: #3a3a3a;

  /* Typo & rythme */
  --fu-radius: 14px;
  --fu-radius-lg: 16px;
  --fu-shadow: 0 2px 14px rgba(0, 0, 0, .25);
  --fu-gap: 14px;
  --fu-wrap: 1100px;

  /* Focus */
  --fu-focus: 0 0 0 3px rgba(0, 255, 255, .25), 0 0 0 1px var(--fu-cyan) inset;
}

/* ===== Reset léger / bases ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}


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

a {
  color: var(--fu-cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: none;
  box-shadow: var(--fu-focus);
  border-radius: 10px;
}

/* ===== Body HOME ===== */
body.home {
  background: var(--fu-graphite);
  color: var(--fu-silver);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .2px;
  overflow-x: hidden;
}

/* =========================================================
   NAVBAR (sans liens Pompes/Gainage/Squats)
   ========================================================= */
.fu-navbar-wrap {
  background: var(--fu-graphite);
  border-bottom: none;
}

.fu-navbar {
  max-width: var(--fu-wrap);
  margin: 0 auto;
  /* décale un peu sur la gauche → padding-left plus petit */
  padding: 14px 8px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* IMPORTANT : on force le conteneur de liens à rester sur UNE ligne */
.fu-navbar__links {
  display: flex;
  align-items: center;
  gap: 12px;
  /* espacement homogène entre tous les liens + l'icône */
  flex-wrap: nowrap;
  /* pas de retour à la ligne */
}

/* liens texte */
.fu-navbar__links a {
  color: var(--fu-silver);
  text-decoration: none;
  opacity: .95;
  margin: 0;
  /* on enlève le margin-left, le gap gère l’écart */
}

.fu-navbar__links a:hover {
  color: var(--fu-cyan);
}

/* lien “image profil” */
.fu-navbar__profile-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  /* évite les décalages verticaux */
}

.fu-navbar__profile-link img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--fu-border);
  vertical-align: middle;
}


.fu-navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fu-silver);
}

.fu-navbar__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.fu-navbar__title {
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--fu-cyan);
}

.fu-navbar__links a:hover {
  color: var(--fu-cyan);
}

/* Mobile: cacher le panneau de liens par défaut et n'afficher que lorsqu'on ajoute .is-open
   (on met ces règles dans home.css pour qu'elles priment sur les règles globales si nécessaire) */
/* Mobile: menu hamburger — largeur limitée et espacement augmenté */
@media (max-width: 768px) {
  .fu-navbar__links {
    display: none;
  }

  .fu-navbar__links.is-open {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    position: absolute;
    top: 58px;
    right: 8px;        /* Menu collé à droite */
    left: auto;
    transform: none;   /* On désactive le centrage */
    width: 200px;      /* ← si tu veux qu'il soit plus étroit */
    background: var(--fu-bg-deeper);
    border: 1px solid var(--fu-border);
    border-radius: var(--fu-radius);
    box-shadow: var(--fu-shadow);
    z-index: 1000;
}


  /* augmenter l'aire de clic / espacement interne des liens */
  .fu-navbar__links a {
    padding: 12px 10px;
  }

  .fu-navbar {
    position: relative;
  }

  .fu-hamburger {
    display: inline-block;
    position: relative;
    z-index: 1101;
  }
}


/* =========================================================
   HOME HERO CAROUSEL (3 slides, auto 5s, loop)
   ========================================================= */
.fu-home-carousel{
  padding: 18px 16px 8px;
}

.fu-home-carousel__wrap{
  max-width: var(--fu-wrap);
  margin: 0 auto;
}

.fu-home-carousel__viewport{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--fu-border);
  background: rgba(0,0,0,.25);
  box-shadow: var(--fu-shadow);
  /* ✅ Proportions identiques au mobile (référence)
     → plus de bannière trop "plate" sur desktop */
  aspect-ratio: 8 / 5;
}

.fu-home-carousel__track{
  display: flex;
  width: 100%;
  will-change: transform;
  transform: translateX(0);
  height: 100%;
}

.fu-home-slide{
  min-width: 100%;
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.fu-home-slide__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

/* (On ne fixe plus la hauteur par breakpoint : l'aspect-ratio fait foi) */

.fu-home-slide__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 18px 32px;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.68) 62%, rgba(0,0,0,0.78) 100%);
}

.fu-home-slide__title{
  margin: 0;
  color: var(--fu-cyan);
  font-size: 1.7rem;
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 768px){
  .fu-home-slide__title{
    font-size: 1.25rem;
  }
}

.fu-home-slide__text{
  margin: 0;
  max-width: 720px;
  opacity: .92;
  line-height: 1.45;
}

.fu-home-slide__cta{
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  background: rgba(0,255,255,.14);
  border: 1px solid rgba(0,255,255,.55);
  color: var(--fu-cyan);
  transition: transform .12s ease, filter .12s ease;
}

.fu-home-slide:hover .fu-home-slide__cta{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* nav arrows */
.fu-home-carousel__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  /* keep a generous click target but remove the visible "box" */
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--fu-cyan);
  font-size: 28px;
  font-weight: 900;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  text-shadow: 0 0 10px rgba(0,255,255,.35);
  transition: transform .12s ease, filter .12s ease;
}

/* Zones cliquables sur les côtés (swipe au clic) */
.fu-home-carousel__hit{
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(56px, 6vw, 96px);
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 4; /* sous les flèches */
}

.fu-home-carousel__hit--prev{ left: 0; }
.fu-home-carousel__hit--next{ right: 0; }

/* évite un focus trop agressif sur ces zones */
.fu-home-carousel__hit:focus-visible{
  outline: 2px solid rgba(0,255,255,.55);
  outline-offset: -2px;
}

.fu-home-carousel__nav:hover{
  transform: translateY(-50%) scale(1.06);
  filter: brightness(1.08);
}

.fu-home-carousel__nav--prev{ left: 10px; }
.fu-home-carousel__nav--next{ right: 10px; }

@media (max-width: 768px){
  .fu-home-carousel__nav{
    width: 36px;
    height: 36px;
    font-size: 24px;
    border-radius: 0;
  }
  .fu-home-carousel__nav--prev{ left: 8px; }
  .fu-home-carousel__nav--next{ right: 8px; }
}

/* dots */
.fu-home-carousel__dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.fu-home-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,255,.45);
  background: rgba(217,217,217,.12);
  opacity: .9;
  cursor: pointer;
}

.fu-home-dot.is-active{
  background: var(--fu-cyan);
  border-color: var(--fu-cyan);
  opacity: 1;
}


/* =========================================================
   TOP BAND (logo + nom à gauche / valeur à droite)
   ========================================================= */
.fu-topband {
  background: var(--fu-graphite);
  border-bottom: none;
}

.fu-topband__inner {
  max-width: var(--fu-wrap);
  margin: 0 auto;
  padding: 30px 16px 26px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 0.8fr;
  /* gros bloc marque / panneau valeur */
}

@media (max-width: 980px) {
  .fu-topband__inner {
    grid-template-columns: 1fr;
  }
}

/* Bloc marque gauche */
.fu-brandblock {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fu-brandblock__logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

@media (max-width: 520px) {
  .fu-brandblock__logo {
    width: 86px;
    height: 86px;
  }
}

.fu-brandblock__name {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fu-brandblock__title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--fu-silver);
}

.fu-brandblock__title--cyan {
  color: var(--fu-cyan);
  /* ← nom de marque en cyan */
}

.fu-brandblock__tagline {
  margin: 0;
  font-size: 1.05rem;
  opacity: .92;
}

/* ===== HERO (index) : logo + nom en ligne, phrase centrée ===== */
.fu-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.fu-hero__brandline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.fu-hero__brandline .fu-brandblock__title {
  margin: 0;
}

.fu-hero__tagline {
  max-width: 900px;
  line-height: 1.6;
}

/* Mobile : réduire légèrement l’écart */
@media (max-width: 520px) {
  .fu-hero__brandline {
    gap: 10px;
  }
}


/* Carte valeur droite */
.fu-valuecard {
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius);
  padding: 16px 16px 14px;
  box-shadow: var(--fu-shadow);
}

.fu-valuecard__title,
.fu-valuecard__subtitle {
  color: var(--fu-cyan);
  margin: 0 0 8px;
}

.fu-valuecard__subtitle {
  margin-top: 12px;
  font-size: 1rem;
}

/* Listes */
.fu-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.fu-list li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
  color: var(--fu-silver);
  line-height: 1.6;
}

.fu-list--checks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.6;
  color: var(--fu-cyan);
  font-weight: 700;
}

/* =========================================================
   Liens / Boutons (génériques, réutilisables)
   ========================================================= */
.fu-link {
  color: var(--fu-cyan);
  text-decoration: none;
}

.fu-link:hover {
  text-decoration: underline;
}

.fu-btn {
  display: inline-block;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .05s ease, filter .15s ease;
}

.fu-btn:active {
  transform: translateY(1px);
}

.fu-btn--primary {
  background: var(--fu-cyan);
  color: #0a0a0a;
  border: none;
}

.fu-btn--primary:hover {
  filter: brightness(1.08);
}

.fu-btn--outline {
  background: transparent;
  color: var(--fu-cyan);
  border: 1px solid var(--fu-cyan);
}

.fu-btn--outline:hover {
  background: rgba(0, 255, 255, 0.08);
}

/* =========================================================
   Sections génériques
   ========================================================= */
.fu-section {
  max-width: var(--fu-wrap);
  margin: 0 auto;
  padding: 0 16px 32px;
}

.fu-section__head {
  text-align: center;
  margin-bottom: 14px;
}

.fu-section__title {
  color: var(--fu-cyan);
  font-size: 1.45rem;
  margin: 0 0 8px;
  text-align: center;
}

.fu-section__lead {
  opacity: .9;
  margin: 0 auto 16px;
  max-width: 820px;
  text-align: center;
  line-height: 1.55;
}

.fu-divider {
  height: 0;
  border-top: 1px solid var(--fu-border);
  background: none;

  /* ✅ même largeur que le contenu (respecte les marges/paddings des sections) */
  width: 100%;
  max-width: var(--fu-wrap);
  margin: 18px auto 22px;
}


/* =========================================================
   Grids & Cards
   ========================================================= */
.fu-grid-3 {
  display: grid;
  gap: var(--fu-gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}



/* ===== HOME : panneau anthracite pour la section "À venir" ===== */
.home #avenir .fu-grid-3 {
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius-lg);
  padding: 16px;
  box-shadow: var(--fu-shadow);
  margin-top: 14px;
}
.fu-card {
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius);
  padding: 16px;
  box-shadow: var(--fu-shadow);
  margin-bottom: 0;

}

.fu-card__title {
  margin: 6px 0 8px;
  color: var(--fu-silver);
  font-size: 1.1rem;
}

.fu-card__text {
  margin: 0;
  opacity: .95;
  line-height: 1.55;
}

.fu-card__img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.fu-card__link {
  font-weight: 600;
}

/* Tags */
.fu-tag {
  display: inline-block;
  font-size: .8rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--fu-border);
  opacity: .9;
  margin-bottom: 8px;
}

/* =========================================================
   Panneau “Analyses de mouvements”
   ========================================================= */
.fu-moves {
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius-lg);
  padding: 16px;
  margin-top: 14px;
  box-shadow: var(--fu-shadow);
}

.fu-moves__grid {
  display: grid;
  gap: var(--fu-gap);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.is-hidden {
  display: none;
}

.fu-card--move {
  text-align: center;
}

/* Bouton d’extension (si tu en as un pour révéler les cartes) */
.fu-disclose {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.fu-disclose__btn {
  display: block;
  width: 60%;
  box-sizing: border-box;
  background: transparent;
  color: var(--fu-cyan);
  border: 1px solid var(--fu-cyan);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  /* important pour le <a> */
  transition: transform .05s ease, filter .15s ease, background .15s ease;
}

.fu-disclose__btn:hover {
  background: rgba(0, 255, 255, 0.08);
  text-decoration: none;
  /* empêche le soulignement au hover */
}

.fu-disclose__btn--small {
  font-size: 0.85rem;
  /* ou 0.85rem si tu veux encore plus petit */
}

/* Petite anim d’apparition */
@keyframes fu-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility spacing classes (moved from inline styles in index.html) */
.mt-14 { margin-top: 14px; }
.mt-10 { margin-top: 10px; }

.fu-animate-in {
  animation: fu-fade-in-up .3s ease-out both;
}

/* =========================================================
   Harmonisation HOME ↔ autres pages
   ========================================================= */
.home .fu-section__title {
  color: var(--fu-cyan);
}

.home .fu-card {
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
}

.home .fu-navbar__links a:hover {
  color: var(--fu-cyan);
}

/* =========================================================
   Footer
   ========================================================= */
.fu-footer {
  margin-top: 40px;
  padding: 24px 16px 50px;
  text-align: center;
  opacity: .85;
  border-top: none;
}

.fu-footer__copy a {
  color: var(--fu-cyan);
}

/* =========================================================
   Utilitaires
   ========================================================= */
.u-wrap {
  max-width: var(--fu-wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.u-center {
  text-align: center;
}

.u-muted {
  opacity: .85;
}

.u-hidden {
  display: none !important;
}

/* 4.1 — NAV petite marque (déjà présent, juste pour cohérence) */
.fu-navbar-wrap {
  background: var(--fu-graphite);
  border-bottom: none;
}

/* 4.2 — TOP BAND en 1 colonne + logo plus gros */
.fu-topband__inner {
  max-width: var(--fu-wrap);
  margin: 0 auto;
  padding: 30px 16px 26px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  /* ← on force UNE colonne */
}



.fu-brandblock__logo--xl {
  width: 150px;
  /* ← plus gros qu’avant */
  height: 150px;
}

@media (max-width: 520px) {
  .fu-brandblock__logo--xl {
    width: 120px;
    height: 120px;
  }
}

/* 4.3 — Image cliquable dans les cartes mouvements */
.fu-card__imglink {
  display: inline-block;
  border-radius: 12px;
  transition: transform .06s ease, filter .15s ease;
}

.fu-card__imglink:hover {
  filter: brightness(1.05);
}

.fu-card__imglink:active {
  transform: translateY(1px);
}

/* ===== Chrono ===== */
.fu-chrono {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.fu-chrono__digits {
  font-variant-numeric: tabular-nums;
  font-size: 1.6rem;
  color: var(--fu-cyan);
}

.fu-chrono__actions .fu-btn {
  padding: 8px 12px;
}

/* ===============================
   📱 Ajustements mobile globaux
   =============================== */
@media (max-width: 768px) {
  .fu-section__title {
    font-size: 1.25rem;
  }

  .fu-card__title {
    font-size: 1rem;
  }

  .fu-card__text {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .fu-btn {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .fu-navbar__title {
    font-size: 1.1rem;
  }

  .fu-brandblock__logo--xl {
    width: 110px;
    height: 110px;
  }

  .fu-topband__inner {
    padding: 20px 14px;
  }
}

/* ====== PaDe (séances par défaut) ====== */
.pade-grid {
  display: grid;
  gap: var(--fu-gap);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.pade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius);
  padding: 16px 12px;
  box-shadow: var(--fu-shadow);
  transition: transform .06s ease, filter .15s ease, border-color .15s ease;
}

.pade-card:hover {
  filter: brightness(1.05);
  border-color: rgba(0, 255, 255, .35);
}

.pade-card:active {
  transform: translateY(1px);
}

/* Boutons PaDe horizontaux : image à gauche, texte à droite */
.pade-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  /* espace entre image et texte */
  text-decoration: none;
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius);
  padding: 10px 14px;
  box-shadow: var(--fu-shadow);
  transition: transform .06s ease, filter .15s ease, border-color .15s ease;
}

.pade-card:hover {
  filter: brightness(1.05);
  border-color: rgba(0, 255, 255, .35);
}

.pade-card:active {
  transform: translateY(1px);
}

/* Image à gauche */
.pade-card__img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  /* empêche l’image de se réduire */
}

/* Texte à droite */
.pade-card__label {
  color: var(--fu-silver);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .2px;
  text-align: left;
}


/* petite cohérence visuelle pour la carte qui déclenche le panneau */
.fu-card--pade {
  cursor: pointer;
}

.fu-card--pade:focus-visible {
  box-shadow: var(--fu-focus);
}


/* --- Bouton "i" --- */
.pade-info {
  margin-left: 8px;
  background: transparent;
  border: 1px solid var(--fu-cyan);
  color: var(--fu-cyan);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  line-height: 26px;
  text-align: center;
  font-weight: 900;
  cursor: pointer;
}

.pade-info:hover {
  filter: brightness(1.1);
}

/* --- Modale --- */
.fu-modal.u-hidden {
  display: none;
}

.fu-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.fu-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
}

.fu-modal__dialog {
  position: relative;
  width: min(680px, 92vw);
  margin: 8vh auto 0;
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius);
  box-shadow: var(--fu-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  /* image | texte */
  gap: 0;
}

@media (max-width: 640px) {
  .fu-modal__dialog {
    grid-template-columns: 1fr;
    width: min(560px, 94vw);
  }
}

.fu-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: 1px solid var(--fu-cyan);
  color: var(--fu-cyan);
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
}

.fu-modal__media {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.fu-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fu-modal__body {
  padding: 14px 16px 18px;
}

.fu-modal__title {
  color: var(--fu-cyan);
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.fu-modal__text {
  margin: 0;
  opacity: .95;
  line-height: 1.55;
}


/* ===== Ligne titre + bouton switch rapproché ===== */
.pade-head__row {
  display: flex;
  align-items: center;
  justify-content: center;
  /* centre le groupe (bouton + titre) */
  gap: 10px;
  /* rapproche le bouton du titre */
  min-height: 64px;
}

/* Conteneur switch aligné naturellement à gauche du titre */
.muscle-switch {
  position: relative;
  /* ancre pour le menu absolu */
  display: inline-block;
}

/* Bouton image */
.muscle-switch__btn {
  background: transparent;
  border: 1px solid var(--fu-border);
  border-radius: 12px;
  padding: 4px;
  cursor: pointer;
  line-height: 0;
  transition: filter .15s ease;
}

.muscle-switch__btn img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.muscle-switch__btn:hover {
  filter: brightness(1.05);
}

/* Menu déroulant (CACHÉ PAR DÉFAUT) */
.muscle-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--fu-bg-deeper);
  border: 1px solid var(--fu-border);
  border-radius: var(--fu-radius);
  box-shadow: var(--fu-shadow);
  padding: 10px;
  width: 320px;
  z-index: 50;

  /* état initial : caché */
  display: none;

  /* grille d'images (sera appliquée quand ouvert) */
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.muscle-switch__menu.is-open {
  display: grid;
  /* visible uniquement quand .is-open */
}

.muscle-switch__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid var(--fu-border);
  border-radius: 10px;
  padding: 8px;
  color: var(--fu-silver);
  transition: filter .15s ease, border-color .15s ease;
}

.muscle-switch__item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.muscle-switch__item span {
  font-size: .9rem;
  opacity: .9;
}

/* Soulignement au survol (pc + focus clavier) */
.muscle-switch__item:hover,
.muscle-switch__item:focus-visible {
  text-decoration: underline;
  border-color: var(--fu-cyan);
  filter: brightness(1.05);
}

/* Mobile : plus compact */
@media (max-width: 520px) {
  .muscle-switch__btn img {
    width: 48px;
    height: 48px;
  }

  .muscle-switch__menu {
    width: 270px;
  }

  .muscle-switch__item img {
    width: 60px;
    height: 60px;
  }
}

/* ===== Bouton rouge de déconnexion ===== */
.fu-btn--danger {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
}

.fu-btn--danger:hover {
  background: #e74c3c;
}

.fu-btn--danger:active {
  transform: translateY(1px);
}

.profil-logout {
  text-align: center;
  margin-top: 28px;
}

/* ===== Modal création de séance ===== */

.create-modal__media {
  text-align: center;
  margin-bottom: 16px;
}

.create-modal__img-label {
  display: inline-block;
  cursor: pointer;
}

.create-modal__img-wrap {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  border: 1px solid var(--fu-border);
  overflow: hidden;
  margin: 0 auto 8px;
  box-shadow: var(--fu-shadow);
}

#createImgPreview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* recadrage carré automatique */
  display: block;
}

.create-modal__img-hint {
  font-size: 0.8rem;
  opacity: 0.8;
}

.create-modal__body {
  text-align: left;
}

.create-modal__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.create-modal__field label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.create-modal__field input[type="text"],
.create-modal__field textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--fu-border);
  background: var(--fu-bg-deeper);
  color: var(--fu-silver);
}

.create-modal__field textarea {
  min-height: 70px;
  resize: vertical;
}

.create-modal__fav {
  margin-top: 4px;
}

.create-modal__fav label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.create-modal__actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ===== Modale création séance : boutons sous l'image (caméra/import) ===== */

.create-modal__media{
  /* override du centrage de .fu-modal__media */
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px 12px;
  gap: 10px;
}

.create-modal__img-wrap{
  cursor: pointer; /* image cliquable = importer */
}

.create-modal__img-hint{
  display: block;
  margin-top: 4px;
}

.create-modal__btns{
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.create-modal__btns .fu-btn{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.create-modal__camera-modes{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* bouton caméra grisé sur PC */
.fu-btn.is-disabled{
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}


/* ===== HOME: rythme vertical avant le footer (Contact) ===== */
body.home footer {
  margin-top: 18px; /* même écart que les séparateurs */
}
