/* ====================== GLOBAL ====================== */
:root {
  --blue-dark: #1a2b45;
  --white: #ffffff;
  --accent: #ff4d4d;
  --ease-smooth: cubic-bezier(0.4,0,0.2,1);
  --ease-pop: cubic-bezier(0.25,1,0.5,1);
  --anim-fast: 180ms;
  --anim-medium: 360ms;
  --anim-slow: 600ms;
}

/* Fond général de la page et styles globaux */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #cce7ff; /* fond général de la page */
  color: #222;
  scroll-behavior: smooth;
  overflow-x: hidden; /* empêche débordement horizontal */
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }

a { text-decoration: none; }
ul { padding-left: 20px; }
li { margin-bottom: 8px; }

/* ====================== CONTAINER ====================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px 0 20px; /* top = header height + marge */
}

/* ====================== HEADER FIXE ====================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: var(--blue-dark);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  flex-wrap: wrap;
  animation: fadeIn 0.6s var(--ease-smooth);
}
header.scrolled {
  height: 60px; /* réduit en scroll */
  padding: 0 20px;
}

.logo {
  height: 60px; /* taille par défaut du logo */
  transition: height 0.3s ease;
}

header.scrolled .logo {
  height: 40px; /* réduit en scroll */
}

.nav-links {
  display: flex;
  margin-left: auto;
  gap: 20px;
}

.header-left { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 75px; cursor: pointer; animation: scaleIn 0.6s var(--ease-pop); }
.header-right { display: flex; align-items: flex-end; }
.nav-links { display: flex; gap: 14px; }
.nav-links a { color: var(--white); font-weight: 600; padding: 5px 8px; border-radius: 6px; transition: background 0.25s ease, transform 0.3s ease; font-size: 15px; }
.nav-links a:hover { background-color: var(--accent); transform: translateY(-2px); }
.social-header { display: flex; gap: 10px; margin-top: 4px; }
.social-logo { width: 26px; height: 26px; transition: transform 0.3s ease, filter 0.3s ease; filter: brightness(1.25); }
.social-logo:hover { transform: scale(1.18) rotate(8deg); filter: brightness(1.5); }

/* ====================== HERO ====================== */

.hero {
  width: 100%;
  height: 150px; /* ajuste selon ton besoin */
  display: flex;
  justify-content: center; /* centre verticalement le container */
  align-items: center;     /* centre horizontalement */
  text-align: center;
  color: var(--white);
  background: var(--blue-dark);
  background-size: cover;
  background-position: center;
  position: relative;       /* nécessaire si on translate le h1 */
  animation: fadeInUp 0.8s var(--ease-smooth);
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  display: block;
  transform: translateY(15px); /* descend légèrement le texte */
}

/* ====================== SECTIONS ====================== */
section {
  padding: 60px 40px;
  box-sizing: border-box;
}
h2 { text-align: center; margin-bottom: 40px; font-size: 32px; position: relative; }
h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin: 10px auto 0; border-radius: 2px; }


/* ====================== PACKS CENTRÉS ====================== */
/* Conteneur des packs */
.packs {
  display: flex;
  align-items: flex-start; /* 🔑 important */
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Chaque pack */
.pack {
  flex: 0 1 300px;
  max-width: 350px;
  background: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pack:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* PAGINATION CENTRÉE */
.packs-pagination {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
}
.packs-pagination .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}
.packs-pagination .dot.active {
  background: #222;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .packs-container,
  .packs {
    flex-direction: column;
    align-items: center; /* centre verticalement sur mobile */
  }
  .pack {
    max-width: 90%;
  }
}
/* ======================= SWIPE HORIZONTAL MOBILE ======================= */

@media(max-width:768px){

  /* Conteneur qui devient scrollable horizontalement */
  .packs-container,
  .accompagnement-container,
  .about-cards {
    display: flex;
    flex-wrap: nowrap;        /* IMPORTANT : force l’horizontal */
    overflow-x: auto;         /* scroll horizontal */
    overflow-y: hidden;
    gap: 18px;
    padding: 10px;
    scroll-snap-type: x mandatory;  /* effet swipe propre */
  }

  /* Chaque carte */
  .pack,
  .session-card,
  .about-card {
    flex: 0 0 85%;            /* largeur mobile */
    scroll-snap-align: center;
  }

  /* Scroll bar invisible — propre & épuré */
  .packs-container::-webkit-scrollbar,
  .accompagnement-container::-webkit-scrollbar,
  .about-cards::-webkit-scrollbar {
    display: none;
  }
}


.packs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  box-sizing: border-box;
}
.pack {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #f7f7f7;
  padding: 25px 20px;
  border-radius: 14px;
  border: 2px solid #000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pack:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.pack-title { font-size: 22px; font-weight: 700; margin-bottom: 5px; }
.pack-sub { font-size: 14px; opacity: 0.7; margin-bottom: 15px; }
.pack-box { background: white; padding: 18px; border-radius: 10px; margin-bottom: 15px; box-shadow: inset 0 0 5px rgba(0,0,0,0.05); font-weight: 600; text-align: center; }
.pack ul { margin: 0; padding-left: 20px; flex-grow: 1; }
.pack .btn { margin-top: 15px; background: var(--accent); color: white; border-radius: 10px; padding: 12px 0; font-weight: 600; text-align: center; transition: background 0.3s ease; cursor: pointer; }
.pack .btn:hover { background: #cc3a3a; }
.packs::-webkit-scrollbar { display: none; }



/* ====================== ABOUT — SCROLL PACK STYLE ====================== */

/* ====================== SECTION À PROPOS ====================== */
.about-section {
  position: relative;
  padding: 80px 20px;
  background: #cce7ff; /* bleu clair */
  color: #222; /* texte sombre pour bien se voir sur fond bleu clair */
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* Conteneur scroll horizontal */
.about-overlay {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 18px;
  padding-bottom: 15px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.about-overlay::-webkit-scrollbar {
  display: none;
}

/* Cartes / images */
.about-card,
.about-img-container {
  flex: 0 0 85%;
  max-width: 350px;
  scroll-snap-align: center;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  color: #000; /* texte à l’intérieur des cartes */
}

.about-img-container img {
  width: 100%;
  border-radius: 16px;
}

/* Pagination */
.about-pagination {
  margin-top: 20px;
  text-align: center;
}

.about-pagination .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255,255,255,0.4);
  margin: 0 4px;
}

.about-pagination .dot.active {
  background: #fff;
}

/* ============ DESKTOP : plusieurs colonnes ============ */
@media (min-width: 769px) {
  .about-overlay {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: center;
  }

  .about-card,
  .about-img-container {
    flex: 1 1 300px;
    max-width: 350px;
    scroll-snap-align: none;
  }
}


/* ============ DESKTOP : 2 ou 3 colonnes sans scroll ============ */
@media (min-width: 769px) {
  .about-overlay {
    flex-wrap: wrap;          /* retour à la ligne */
    overflow: visible;        /* plus de scroll */
    justify-content: center;
  }

  .about-card,
  .about-img-container {
    flex: 1 1 300px;
    max-width: 350px;
    scroll-snap-align: none;
  }
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
  .about-overlay {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .about-card, .about-img-container {
    max-width: 90%;
  }

  .about-card h3 {
    font-size: 18px;
  }

  .about-card p, .about-card ul {
    font-size: 14px;
  }

  .about-section {
    padding: 40px 15px;
  }
}
/* ====================== FOOTER ====================== */
footer { background:#111; color:white; padding:30px 40px; text-align:center; }

/* ====================== MODALS ====================== */

/* ================== APERÇU PLAN ================== */

.preview-link {
  margin-top: -10px;   /* remonte le texte */
  margin-bottom: 12px;
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
  text-align: center;
}


.preview-link:hover {
  text-decoration: underline;
}

/* Modale aperçu */
.plan-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.plan-modal.active {
  display: flex;
}

/* Contenu modale */
.plan-content {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  display: flex;
  gap: 15px;
  max-width: 90%;
  max-height: 80%;
  overflow: auto;
}

/* Images aperçu */
.plan-img {
  width: 200px;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.plan-img:hover {
  transform: scale(1.05);
}

/* Bouton fermer */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* ================== ZOOM IMAGE ================== */

.zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.zoom-modal.active {
  display: flex;
}

#zoomedImage {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  cursor: zoom-out;
}




.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal-bg.show { display: flex; }
.modal { background: #f7f7f7; border: 2px solid #000; padding: 25px; border-radius: 14px; width: 400px; max-width: 90%; max-height: 85vh; overflow-y: auto; position: relative; opacity: 0; transform: translateY(-6px) scale(.995); transition: opacity var(--anim-medium) var(--ease-smooth), transform var(--anim-medium) var(--ease-smooth); }
.modal-bg.show .modal { opacity: 1; transform: translateY(0) scale(1); }
.modal h3 { text-align: center; margin-bottom: 20px; font-weight: 700; }
.modal h2 {
  font-size: 1.4rem; /* taille réduite */
  text-align: center;
  margin-bottom: 25px;
  color: #222;
}
.modal input, .modal select, .modal textarea { width: 100%; padding: 10px; margin-bottom: 14px; border-radius: 8px; border: 1px solid #ccc; font-size: 15px; }
.modal ul li a.btn { display: block; width: 100%; padding: 12px 0; background: var(--accent); color: white; font-weight: 600; border-radius: 10px; text-align: center; transition: all 0.3s ease; }
.modal ul li a.btn:hover { background: #cc3a3a; }

/* ====================== ANIMATIONS PREMIUM ====================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes fadeInUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes scaleIn { from { opacity:0; transform: scale(.96); } to { opacity:1; transform: scale(1); } }
@keyframes ripple { from { transform: scale(0); opacity:.4; } to { transform: scale(2.5); opacity:0; } }

.reveal { opacity:0; transform:translateY(14px); transition: opacity var(--anim-medium) var(--ease-smooth), transform var(--anim-medium) var(--ease-smooth); will-change: opacity, transform; }
.reveal.is-visible { opacity:1; transform:translateY(0); }

.reveal-group > * { opacity:0; transform:translateY(8px); transition: opacity var(--anim-medium) var(--ease-smooth), transform var(--anim-medium) var(--ease-smooth); }
.reveal-group.is-visible > * { opacity:1; transform:translateY(0); }
.reveal-group.is-visible > *:nth-child(1){ transition-delay:0ms; }
.reveal-group.is-visible > *:nth-child(2){ transition-delay:60ms; }
.reveal-group.is-visible > *:nth-child(3){ transition-delay:120ms; }
.reveal-group.is-visible > *:nth-child(4){ transition-delay:180ms; }

.card-anim { transition: transform var(--anim-medium) var(--ease-pop), box-shadow var(--anim-medium) var(--ease-pop); will-change: transform, box-shadow; }
.card-anim:hover, .card-anim:focus-within { transform: translateY(-8px) scale(1.01); box-shadow: 0 18px 40px rgba(10,26,58,0.16); }

.btn { position:relative; overflow:hidden; z-index:0; transition: transform var(--anim-fast) var(--ease-smooth), box-shadow var(--anim-fast) var(--ease-smooth); }
.btn:active { transform: translateY(1px) scale(.995); }

.btn .ripple { position:absolute; border-radius:50%; pointer-events:none; transform:translate(-50%,-50%) scale(0); width:100px; height:100px; left:50%; top:50%; background: rgba(255,255,255,0.35); }
.ripple-animate { animation: ripple 560ms var(--ease-pop); }

.distance-btn, .chrono-btn { transition: transform var(--anim-fast) var(--ease-smooth), box-shadow var(--anim-fast) var(--ease-smooth), background-color var(--anim-fast); will-change: transform, box-shadow; }
.distance-btn:hover, .chrono-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(10,26,58,0.08); }
.chrono-btn.selected { background: linear-gradient(90deg, rgba(30,144,255,1), rgba(0,120,230,1)); color:#fff; box-shadow:0 10px 28px rgba(30,144,255,0.18); }

.about-img-container img { transition: transform var(--anim-slow) var(--ease-smooth), filter var(--anim-medium); will-change: transform, filter; }
.about-img-container img:hover { transform: scale(1.03) translateY(-4px); filter: saturate(1.05) contrast(1.03); }

.no-motion * { transition:none !important; animation:none !important; }

/* ====================== RESPONSIVE ====================== */
/* ======================= MOBILE CLEAN DESIGN ======================= */
@media(max-width:768px){

  /* Espacements généraux */
  section {
    padding: 30px 15px;
  }

  h2, h3 {
    text-align: center;
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.45;
  }

  /* Packs */
  .pack,
  .session-card,
  .about-card {
    padding: 18px;
    border-radius: 14px;
  }

  /* Images "A propos" sur mobile : plus harmonieux */
  .about-card img {
    border-radius: 14px;
  }
}

/* ========================== */
/*   SWIPE HORIZONTAL MOBILE  */
/* ========================== */

.swipe-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 18px;
  padding: 15px 5px;
  -webkit-overflow-scrolling: touch;
}

.swipe-container::-webkit-scrollbar {
  display: none;
}

.swipe-item {
  scroll-snap-align: center;
  flex: 0 0 85%;
  max-width: 350px;
}

/* ========================== */
/*   A PROPOS — Style Packs   */
/* ========================== */

/* SECTION À PROPOS */
.about-section {
  position: relative;
  padding: 80px 20px;
  background-color: #fff; /* fond blanc uniforme */
  color: #222;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Conteneur horizontal mobile */
.about-overlay,
.about-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 15px;
}

.about-overlay::-webkit-scrollbar,
.about-container::-webkit-scrollbar {
  display: none;
}

/* Cartes */
.about-card,
.about-img-container {
  flex: 0 0 85%;
  max-width: 350px;
  scroll-snap-align: center;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  color: #222;
}

.about-img-container img {
  width: 100%;
  border-radius: 16px;
}

/* Pagination */
.about-pagination {
  margin-top: 20px;
  text-align: center;
}

.about-pagination .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(0,0,0,0.2);
  margin: 0 4px;
}

.about-pagination .dot.active {
  background: #222;
}

/* Desktop : plusieurs colonnes */
@media (min-width: 769px) {
  .about-overlay,
  .about-container {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: center;
  }

  .about-card,
  .about-img-container {
    flex: 1 1 300px;
    max-width: 350px;
    scroll-snap-align: none;
  }
}

/* Supprimer overlay sombre si présent */
.about-section::before {
  content: none;
}
/* ========================== */
/*  MOBILE – Mise en page clean */
/* ========================== */
@media(max-width:768px){

  section {
    padding: 40px 0;
  }

  h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 12px;
  }

  .packs-container,
  .accompagnement-container,
  .about-container {
    display: none; /* remplacé par le swipe */
  }

  .swipe-container {
    display: flex !important;
  }
}

/* ====================== MOBILE OPTIMIZATION WITH BURGER ====================== */
@media(max-width:768px){
  /* Header compact */
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--blue-dark);
  }

  /* Logo réduit */
  .logo-img { max-height: 45px; }

  /* Burger menu */
  .burger {
    display: block;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
  }
  .burger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    left: 0;
    transition: all 0.3s ease;
  }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .burger span:nth-child(3) { bottom: 0; }


  /* Hero */
  .hero {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    padding-bottom: 10px;
  }
  .hero h1 { font-size: 20px; transform: translateY(8px); }

  /* Packs vertical */
  .packs { flex-direction: column; align-items: center; gap: 15px; padding-bottom: 15px; }
  .pack { width: 90%; max-width: 320px; margin-bottom: 15px; }

  /* About section */
  .about-container { flex-direction: column; align-items: center; gap: 20px; }
  .about-card, .about-img-container { width: 100%; max-width: 100%; }
  .about-card { padding: 18px; border-radius: 12px; }
  .about-card h3 { font-size: 18px; margin-bottom: 10px; }
  .about-card p { font-size: 14px; line-height: 1.5; }
  .about-img-container img { max-width: 100%; border-radius: 12px; }

  /* Footer */
  footer { padding: 25px 15px; text-align: center; }

  /* Nav links font size */
  .nav-links a { font-size: 14px; padding: 5px 6px; }
}

/* Extra small screens */
@media(max-width:500px){
  header { height: 50px; padding: 8px 12px; }
  .hero { height: 100px; }
  .hero h1 { font-size: 18px; transform: translateY(6px); }
  .pack { width: 95%; padding: 14px; }
  section { padding: 25px 12px; }
  .about-card h3 { font-size: 16px; }
  .about-card p { font-size: 13px; }
}

/* ====================== MOBILE OPTIMIZATION WITH BURGER ====================== */
@media(max-width:768px){
  /* Header compact */
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    padding: 8px 15px;
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--blue-dark);
  }

  /* Logo réduit */
  .logo-img { max-height: 45px; }

  /* Burger menu */
  .burger {
    display: block;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
  }
  .burger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    left: 0;
    transition: all 0.3s ease;
  }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .burger span:nth-child(3) { bottom: 0; }

 

  /* Hero */
  .hero {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    padding-bottom: 10px;
  }
  .hero h1 { font-size: 20px; transform: translateY(8px); }

  /* Packs vertical */
  .packs { flex-direction: column; align-items: center; gap: 15px; padding-bottom: 15px; }
  .pack { width: 90%; max-width: 320px; margin-bottom: 15px; }

  /* About section */
  .about-container { flex-direction: column; align-items: center; gap: 20px; }
  .about-card, .about-img-container { width: 100%; max-width: 100%; }
  .about-card { padding: 18px; border-radius: 12px; }
  .about-card h3 { font-size: 18px; margin-bottom: 10px; }
  .about-card p { font-size: 14px; line-height: 1.5; }
  .about-img-container img { max-width: 100%; border-radius: 12px; }

  /* Footer */
  footer { padding: 25px 15px; text-align: center; }

  /* Nav links font size */
  .nav-links a { font-size: 14px; padding: 5px 6px; }
}

/* Extra small screens */
@media(max-width:500px){
  header { height: 50px; padding: 8px 12px; }
  .hero { height: 100px; }
  .hero h1 { font-size: 18px; transform: translateY(6px); }
  .pack { width: 95%; padding: 14px; }
  section { padding: 25px 12px; }
  .about-card h3 { font-size: 16px; }
  .about-card p { font-size: 13px; }
}


/* ====================== MOBILE OPTIMIZATION ====================== */
@media(max-width:768px){
  /* HEADER */
  header {
    align-items: center;
    justify-content: center;
    height: 60px; /* réduit pour mobile */
    padding: 10px 15px;
  }
  .header-left, .header-right { width: 100%; justify-content: center; }
  .nav-links {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 5px;
  }
  .social-header { justify-content: center; margin-top: 5px; }

  /* HERO */
  .hero {
    height: 120px; /* un peu plus compact */
  }
  .hero h1 {
    font-size: 20px;
    transform: translateY(12px); /* texte légèrement plus bas */
    padding: 0 10px;
  }

 /* ============================================================
   PACKS + SÉANCES — VERSION PC & MOBILE OPTIMISÉE
============================================================ */

/* Conteneur parent commun */
.packs-container, 
.accompagnement-container {
  display: flex;
  flex-wrap: wrap;              /* Sur PC : 2 colonnes alignées */
  justify-content: center;      /* Centre les blocs */
  gap: 20px;
  margin: 40px 0;
}

/* Cartes Pack + Séances */
.pack,
.session-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 25px;
  width: 320px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.pack:hover,
.session-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}


/* ============================
   SECTION PACKS + SÉANCES
============================ */

/* Conteneur principal */
.cards-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
}

/* Une card */
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: 0.3s ease;
  flex-shrink: 0;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

/* ======== SLIDER MOBILE ======== */
.slider-mobile {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 10px;
}

.slider-mobile::-webkit-scrollbar {
  display: none;
}

.slider-mobile .card {
  scroll-snap-align: center;
}

/* Desktop = centre les cards et supprime le slider */
@media(min-width: 769px){
  .slider-mobile {
    overflow-x: visible;
    justify-content: center;
  }

}/* ====================== MOBILE SWIPE ====================== */
@media(max-width: 768px) {

  /* Activation du scroll horizontal */
  .packs-container,
  .accompagnement-container {
    flex-wrap: nowrap;     /* les cartes s’alignent en rangée */
    overflow-x: auto;      /* swipe horizontal */
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  /* Style des cartes en “slides” */
  .pack,
  .session-card {
    min-width: 80%;        /* taille swipe */
    max-width: 320px;
    margin-right: 14px;
    scroll-snap-align: center;
  }
}

  /* ABOUT */
  .about-container { flex-direction: column; align-items: center; gap: 20px; }
  .about-card, .about-img-container { width: 100%; max-width: 100%; }
  .about-card { padding: 18px; border-radius: 12px; }
  .about-card h3 { font-size: 18px; margin-bottom: 10px; }
  .about-card p { font-size: 14px; line-height: 1.5; }
  .about-img-container img { max-width: 100%; border-radius: 12px; }

  /* SECTIONS */
  section { padding: 35px 20px; }
  .about-section, .about-overlay { padding: 25px 15px; }

  /* FOOTER */
  footer { padding: 25px 15px; text-align: center; }

  /* GENERAL IMAGE */
  img { max-width: 100%; height: auto; display: block; }

  /* NAVIGATION LINKS */
  .nav-links a { font-size: 14px; padding: 5px 6px; }
}

@media(max-width:500px){
  header { height: 50px; padding: 8px 12px; }
  .hero { height: 100px; }
  .hero h1 { font-size: 18px; transform: translateY(8px); }
  .pack { width: 95%; padding: 14px; }
  section { padding: 25px 12px; }
  .about-card h3 { font-size: 16px; }
  .about-card p { font-size: 13px; }
}



/* ====================== MOBILE PREMIUM ====================== */
@media (max-width: 768px) {

  /* ----- HEADER ----- */
  header {
    height: 60px;
    padding: 0 14px;
  }

  .logo-img {
    height: 55px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 4px 6px;
  }

  .social-logo {
    width: 22px;
    height: 22px;
  }

  /* ----- HERO ----- */
  .hero {
    height: 95px;
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
  }

 /* ----- PACKS (empilés verticalement) ----- */
.packs {
  display: flex;
  flex-direction: column;
  gap: 22px;              /* espace élégant entre les packs */
  padding: 12px;
}

/* Carte pack */
.pack {
  width: 100%;
  max-width: 780px;       /* 🔥 limite la largeur (meilleur lisibilité) */
  margin: 0 auto;         /* centre les packs */
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Titre pack */
.pack-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}


/* Encadré type de plan */
.pack-box {
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f2f6ff;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Liste bénéfices */
.pack ul {
  padding-left: 18px;
  margin: 10px 0 16px;
}

.pack li {
  font-size: 14px;
  margin-bottom: 6px;
}

/* Boutons */
.pack-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;              /* ✅ plus d’espace entre les boutons */
  margin-top: 16px;
}

  /* ----- "Voir un extrait" ----- */
  .preview-link {
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: 14px;
  }

  /* ----- LISTES ----- */
  .pack ul {
    padding-left: 18px;
    font-size: 14px;
  }

  .pack li {
    margin-bottom: 6px;
  }

  /* ----- BOUTONS ----- */
  .btn {
    width: 100%;
    margin-top: 12px;
    padding: 12px 0;
    font-size: 15px;
    border-radius: 12px;
  }
}


/* ====================== MOBILE OPTIMIZED PACKS & ABOUT ====================== */
@media(max-width: 768px) {

  /* ===== GENERAL SECTION SETTINGS ===== */
  section {
    padding: 35px 15px;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* ===== PACKS CONTAINER ===== */
  .packs-container,
  .accompagnement-container {
    display: flex !important; /* force affichage sur mobile */
    flex-wrap: nowrap;        /* alignement horizontal */
    overflow-x: auto;         /* swipe horizontal */
    gap: 16px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .packs-container::-webkit-scrollbar,
  .accompagnement-container::-webkit-scrollbar {
    display: none; /* scrollbar invisible */
  }

  /* ===== EACH PACK CARD ===== */
  .pack,
  .session-card {
    flex: 0 0 85%; /* largeur des cartes sur mobile */
    max-width: 320px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto; /* hauteur dépend du contenu */
    margin-right: 14px;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: #fff;
  }

  .pack img,
  .session-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }

  /* Pack titles, buttons */
  .pack-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
  }

  .pack-sub {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 12px;
    text-align: center;
  }

  .pack-box {
    background: #f9f9f9;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.05);
  }

  .pack .btn {
    margin-top: 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 12px 0;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
  }

  .pack .btn:hover {
    background: #cc3a3a;
  }

  /* ===== ABOUT SECTION SWIPE ===== */
  .about-container,
  .about-overlay {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .about-container::-webkit-scrollbar,
  .about-overlay::-webkit-scrollbar {
    display: none;
  }

  .about-card,
  .about-img-container {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    text-align: center;
    height: auto; /* hauteur dépend du contenu */
  }

  .about-card img,
  .about-img-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
  }

  /* Pagination mobile */
  .about-pagination {
    margin-top: 15px;
    text-align: center;
  }

  .about-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: rgba(0,0,0,0.2);
    margin: 0 4px;
  }

  .about-pagination .dot.active {
    background: #222;
  }

  /* ===== MODAL ADJUSTMENTS ===== */
  .modal {
    width: 90%;
    max-width: 350px;
    max-height: 85vh;
    padding: 20px;
  }

  .plan-content {
    max-width: 90%;
    max-height: 80%;
    flex-direction: column;
    gap: 12px;
  }

  .plan-img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    cursor: zoom-in;
  }
}



@media(max-width: 768px) {

  /* Packs et About - container */
  .packs-container,
  .about-container,
  .about-overlay {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* Cache la scrollbar */
  .packs-container::-webkit-scrollbar,
  .about-container::-webkit-scrollbar,
  .about-overlay::-webkit-scrollbar {
    display: none;
  }

  /* Cartes */
  .pack,
  .session-card,
  .about-card,
  .about-img-container {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    margin-right: 14px;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: #fff;
  }

  /* Images dans les cartes */
  .pack img,
  .session-card img,
  .about-card img,
  .about-img-container img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover; /* évite les déformations */
    border-radius: 12px;
  }

  /* Titres et textes */
  .pack-title, .about-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
    text-align: center;
  }

  .pack-sub, .about-card p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 12px;
    text-align: center;
  }

  /* Boutons */
  .pack .btn {
    margin-top: 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 12px 0;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
  }

  .pack .btn:hover {
    background: #cc3a3a;
  }

  /* Modales */
  .modal {
    width: 90%;
    max-width: 350px;
    max-height: 85vh;
    padding: 20px;
  }

  .plan-content {
    max-width: 100%;
    max-height: 80%;
    flex-direction: column;
    gap: 12px;
  }

  .plan-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: zoom-in;
    display: block;
  }
}


/* ====================== HERO COMPACT ====================== */
body, html {
  margin:0;
  padding:0;
  font-family:'Inter', sans-serif;
}

.hero {
  height: 200px; /* hauteur réduite */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url("https://i.ibb.co/bj8VFt9m/3de51ce8-d131-4ed7-b015-20b7147e1952.jpg"); /* image de fond */
  background-size: cover;
  background-position: center;
  gap: 8px;
  padding: 0 20px;
  color:#fff;
}

.hero h1 {
  font-size: 2rem;
  margin:0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero h2 {
  font-size: 1.3rem;
  margin:0;
  margin-bottom: 12px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ====================== HERO BUTTONS ====================== */
.hero-buttons {
  display:flex;
  gap:12px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 12px 20px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ====================== RUBRIQUES ACCUEIL ====================== */
.rubriques {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px;
  margin:20px auto;
  max-width:900px;
}

.rubrique {
  flex:0 0 250px;
  background:#fff;
  color:#000;
  border-radius:12px;
  padding:20px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor:pointer;
  text-decoration:none;
}

.rubrique:hover {
  transform: translateY(-5px);
  box-shadow:0 12px 25px rgba(0,0,0,0.2);
}

/* ====================== FOOTER ====================== */
footer {
  background:#1a2b45;
  color:#fff;
  padding:20px 40px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap:wrap;
}

footer .copyright {
  margin:0 auto;
  text-align:center;
  flex:1 1 100%;
}

footer .contact-footer {
  text-align:right;
  flex:1;
}

@media(max-width:768px){
  .rubriques {
    flex-direction:column;
    align-items:center;
  }
  .rubrique {
    width:90%;
  }
  footer {
    flex-direction:column;
    gap:10px;
  }
  footer .contact-footer {
    text-align:center;
  }
}
/* ====================== HERO CARDS PREMIUM ====================== */

.hero-cards {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-card .icon {
  font-size: 40px;
  display: block;
  margin-bottom: 18px;
}

.hero-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-card p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
}

.hero-card:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}

/* ====================== MOBILE ====================== */
@media (max-width: 768px) {
  .hero-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .hero-card {
    padding: 30px 20px;
  }
}

/* ====================== HERO CARDS – TEXTE NOIR ====================== */

.hero-card {
  background: rgba(255,255,255,0.92); /* fond clair */
  color: #111; /* TEXTE NOIR */
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.hero-card h3 {
  color: #000;
}

.hero-card p {
  color: #333;
  opacity: 1;
}

.hero-card .icon {
  color: #000;
}

/* Hover premium */
.hero-card:hover {
  background: #ffffff;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* ====================== CONTACT ====================== */

.contact-section {
  padding: 80px 20px;
  background: #f7f7f7;
}

.contact-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  color: #000;
}

.contact-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

.contact-form {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form textarea {
  resize: none;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row input,
.form-row select {
  flex: 1;
}

.contact-form label {
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  color: #333;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-weight: 600;
}


/* ====================== FOOTER ====================== */

.site-footer {
  position: relative;
  background: #1a2b45; /* même couleur que le header */
  border-top: 1px solid #e5e5e5;
  padding: 25px 40px;
  font-size: 14px;
}

/* Copyright centré */
.footer-center {
  text-align: center;
  color: #fff;
}

/* Contact bas droite */
.footer-right {
  position: absolute;
  right: 40px;
  bottom: 20px;
  text-align: right;
}

.footer-right h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.footer-right a {
  color: #fff;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .site-footer {
    padding: 20px;
  }

  .footer-right {
    position: static;
    margin-top: 10px;
    text-align: center;
  }
}/* ====================== HERO TITLE ====================== */

.hero-title {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-title h1 {
  font-size: clamp(24px, 4vw, 40px); /* ⬅️ taille réduite */
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #000;
  text-transform: uppercase;
  line-height: 1.25;
}

/* Accent visuel subtil */
.hero-title h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #000;
  margin: 20px auto 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hero-title h1 {
    font-size: 22px;
    letter-spacing: 1px;
  }
}


.hero::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(255,255,255,0.3); /* légère superposition blanche */
  z-index: 0;
}

.hero h1 {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 20px; /* réduit l'écart avec les boutons (avant 40px) */
}

.btn-pack {
  display: inline-block;
  padding: 14px 22px;
  background: #1E40AF;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}

.btn-pack:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.35);
}

.btn-pack:active {
  background: #1E3A8A;
  transform: translateY(0);
}

/* ===== MODALE PACK ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  max-width: 500px;
  width: 90%;
  padding: 25px;
  border-radius: 16px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-box h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.modal-step {
  margin-bottom: 15px;
}

.modal-step p {
  margin: 5px 0 0;
  color: #555;
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  
  to { opacity: 1; transform: translateY(0); }
}

.info-small {
  font-size: 13px;
  color: #777;
  font-style: italic;
  text-align: center;   /* ⬅️ centrage */
  margin-top: 1px;
}


.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: left;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
}
/* Conteneur de tous les packs */
.packs-visual-container {
  display: flex;
  gap: 40px; /* plus d'espace entre les packs */
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px; /* largeur maximale du conteneur */
  margin: 0 auto;
}

.pack-visual {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.step {
  margin-bottom: 15px;
}

html {
  scroll-behavior: smooth;
}
.pack-actions {
  display: flex;
  flex-direction: column; /* Pour empiler les boutons verticalement si souhaité */
  align-items: flex-start; /* Alignement gauche */
  gap: 15px; /* Espace entre les boutons */
  margin-top: 20px; /* Espace au-dessus */
}

.btn-more {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #1E90FF; /* Encadré bleu */
  border-radius: 12px;
  background: #fff; /* Fond blanc */
  color: #1E90FF;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background: #1E90FF;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-pack {
  display: inline-block;
  padding: 10px 20px;
  background: #e65b5b; /* rouge un peu plus vif */
  color: #fff;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-pack:hover {
  background: #e06b3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ====================== MOBILE PREMIUM ====================== */
@media (max-width: 768px) {

  /* ================= HEADER ================= */

  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    padding: 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--blue-dark);
    overflow: hidden; /* anti swipe */
  }

  .logo-img {
    height: 40px;
    flex-shrink: 0;
  }


  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 8px;
    color: #fff;
  }

  /* ================= SOCIAL ICONS ================= */

  .social-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
    overflow: hidden; /* empêche page swipe */
  }

  .social-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  /* ================= HERO ================= */

  .hero {
    height: 95px;
    padding: 0 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  /* ================= PACKS – SWIPE ================= */

  .packs-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 14px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .packs-container::-webkit-scrollbar {
    display: none;
  }

  .pack {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }

  /* aucun contour */
  .pack,
  .pack * {
    border: none;
  }

  /* ================= TEXTES ================= */

  p {
    font-size: 14px;
    line-height: 1.45;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 18px;
    text-align: center;
  }

  /* ================= SECTIONS ================= */

  section {
    padding: 35px 15px;
  }

  /* ================= FOOTER ================= */

  footer {
    padding: 25px 15px;
    text-align: center;
  }
}
/* ====================== MOBILE HEADER FINAL ====================== */
@media (max-width: 768px) {

  /* HEADER */
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    padding: 0 14px;
    display: flex;
    flex-direction: row;          /* ⬅️ tout à gauche */
    align-items: center;
    justify-content: flex-start;  /* ⬅️ gauche */
    gap: 14px;
    background: var(--blue-dark);
    overflow: hidden;
  }

  /* LOGO */
  .logo-img {
    height: 40px;
    flex-shrink: 0;
  }

  /* MENU DANS LE HEADER */
  .nav-links {
    position: static;          /* ⬅️ reste dans le header */
    display: flex !important;
    flex-direction: row;
    gap: 12px;
    padding: 0;
    margin: 0;
    background: none;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 6px;
    color: #fff;
    white-space: nowrap;
  }

  /* ICÔNES SOCIALES */
  .social-header {
    display: flex;
    gap: 8px;
    margin-left: auto;         /* ⬅️ pousse les icônes à droite */
    align-items: center;
  }

  .social-logo {
    width: 22px;
    height: 22px;
  }

  /* HERO (juste en dessous du header) */
  .hero {
    height: 95px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 8px;
  }

  .hero h1 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
  }
}
@media (max-width: 768px) {

  header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 56px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
  }

  /* Groupe droite : icônes + logo */
  .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Logo en haut à droite */
  .logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
  }

  /* Icônes sociales dans le header */
  .social-icons {
    display: flex;
    gap: 8px;
  }

  .social-icons img {
    height: 18px;
    width: 18px;
  }
}
@media (max-width: 768px) {
  header {
    overflow: visible;
  }
}

</style>