/* Variables CSS */
:root {
  --bg: #c4b8a8;
  --fg: #42200A;
  --muted: #42200A;
  --accent: #42200A;
  --line: #1f2540;
  --dot: #dfe4ff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --shadow: rgba(66, 32, 10, 0.1);
}

/* Reset et styles de base */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 50% 30%, #B8A07F 0%, var(--bg) 60%);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Contenu principal */
.prestations-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  margin-top: 80px;
  padding-bottom: 2rem;
}

/* Section hero */
.hero-section {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
  text-shadow: 2px 2px 4px var(--shadow);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section de contenu */
.content-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.prestations-article {
  max-width: 100%;
}

/* Styles pour les cartes de tarification */
.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

.pricing-card.popular {
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px var(--shadow);
  background: rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 10;
}

.pricing-title {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: var(--fg);
  line-height: 1.3;
  text-align: center;
}

.price-tag {
  text-align: center;
  margin-bottom: 1.5rem;
}

.price {
  display: block;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.price-unit {
  display: block;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--muted);
  margin-top: 0.5rem;
}

.price-savings {
  display: block;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.5rem;
}

.pricing-description {
  text-align: center;
  color: var(--fg);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  margin: 0;
}

.pack-content {
  margin-top: 1.5rem;
}

.pack-content > p {
  font-size: clamp(1.1rem, 3vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
  text-align: center;
}

.pack-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pack-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.5;
  transition: all 0.3s ease;
  color: var(--fg);
}

.pack-features li:last-child {
  border-bottom: none;
}

.pack-features li:hover {
  color: var(--accent);
  transform: translateX(8px);
}

/* === STYLES POUR LE CAROUSEL ET LES CARTES FLIP === */

/* Carousel des packs */
/* ... existing code ... */

/* ===== STYLES POUR LE CAROUSEL DES PACKS ===== */

/* Container du carousel */
.packs-carousel {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin: 3rem 0;
  flex-wrap: wrap;
}

/* Cartes flip */
.flip-card {
  background-color: transparent;
  width: 320px;
  height: 400px;
  perspective: 1000px;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 32px rgba(66, 32, 10, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.flip-card-back {
  transform: rotateY(180deg);
  padding: 1.5rem;
}

/* Styles pour les différents packs */
.pack-basic .flip-card-front {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.pack-basic .flip-card-back {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  color: white;
}

.pack-gold .flip-card-front {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  position: relative;
}

.pack-gold .flip-card-back {
  background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
  color: white;
}

.pack-premium .flip-card-front {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.pack-premium .flip-card-back {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: white;
}

/* Styles pour le logo dans les cartes flip */
.flip-card-front .logo {
  width: 90px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0);
  opacity: 0.9;
}

.flip-card-front .logoYellow {
  width: 90px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) saturate(100%) invert(89%) sepia(100%) saturate(1000%) hue-rotate(360deg) brightness(100%) contrast(100%);
  opacity: 0.9;
}

/* Badge "Le plus populaire" */
.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 4px 15px var(--accent);
  z-index: 10;
}

/* Titres des cartes */
.flip-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.flip-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Prix */
/* Prix dans les cartes flip - sélecteur plus spécifique */
.flip-card .price {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  margin: 1rem 0 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
  color: white !important;
  display: block !important;
  line-height: 1.2 !important;
}

.flip-card .price-savings {
  font-size: 1rem !important;
  font-weight: 600 !important;
  opacity: 0.9 !important;
  margin-top: 0.5rem !important;
  color: white !important;
}

/* Titres des cartes flip - sélecteur plus spécifique */
.flip-card h2 {
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: 700 !important;
  color: white !important;
}

.flip-card h3 {
  font-size: 1.2rem !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
  color: white !important;
}

/* Listes des fonctionnalités - sélecteur plus spécifique */
.flip-card-back ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  width: 100% !important;
}

.flip-card-back li {
  margin: 0.5rem 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  color: white !important;
}

/* Container du carousel - sélecteur plus spécifique */
.packs-carousel {
  display: flex !important;
  gap: 2rem !important;
  justify-content: center !important;
  align-items: stretch !important;
  margin: 3rem 0 !important;
  flex-wrap: wrap !important;
}

/* Cartes flip - sélecteur plus spécifique */
.packs-carousel .flip-card {
  background-color: transparent !important;
  width: 320px !important;
  height: 400px !important;
  perspective: 1000px !important;
  position: relative !important;
}

.packs-carousel .flip-card-inner {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  text-align: center !important;
  transition: transform 0.6s !important;
  transform-style: preserve-3d !important;
  cursor: pointer !important;
}

.packs-carousel .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg) !important;
}

.packs-carousel .flip-card-front, 
.packs-carousel .flip-card-back {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 8px 32px rgba(66, 32, 10, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
}

.packs-carousel .flip-card-back {
  transform: rotateY(180deg) !important;
  padding: 1.5rem !important;
}

/* Styles pour les différents packs */
.pack-basic .flip-card-front {
background: linear-gradient(
  135deg,
  #cd7f32 0%,   /* bronze clair */
  #915c27 100%  /* bronze foncé */
);
  color: white;
}

.pack-basic .flip-card-back {
background: linear-gradient(
  135deg,
  #cd7f32 0%,   /* bronze clair */
  #915c27 100%  /* bronze foncé */
);
  color: white;
}

.pack-gold .flip-card-front {
  background: linear-gradient(
  135deg,
  #ffd700 0%,   /* or vif */
  #b8860b 100%  /* or foncé */
);
  color: white;
  position: relative;
}

.pack-gold .flip-card-back {
  background: linear-gradient(
  135deg,
  #ffd700 0%,   /* or vif */
  #b8860b 100%  /* or foncé */
);
  color: white;
}

.pack-premium .flip-card-front {
  background: linear-gradient(
  135deg,
  #000000 0%,   /* or vif */
  #878787 100%  /* or foncé */
);
  color: white;
}

.pack-premium .flip-card-back {
  background: linear-gradient(
  135deg,
  #000000 0%,   /* or vif */
  #878787 100%  /* or foncé */
);
  color: white;
}

/* Badge "Le plus populaire" */
.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 4px 15px var(--accent);
  z-index: 10;
}

/* Titres des cartes */
.flip-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.flip-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Prix */
.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.price-savings {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Listes des fonctionnalités */
.flip-card-back ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.flip-card-back li {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .packs-carousel {
    gap: 1.5rem;
  }
  
  .flip-card {
    width: 300px;
    height: 380px;
  }
}

@media (max-width: 768px) {
  .packs-carousel {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .flip-card {
    width: 100%;
    max-width: 350px;
    height: 400px;
  }
  
  .flip-card-front, .flip-card-back {
    padding: 1.5rem;
  }
  
  .price {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .flip-card {
    height: 380px;
  }
  
  .flip-card-front, .flip-card-back {
    padding: 1rem;
  }
  
  .flip-card h2 {
    font-size: 1.3rem;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  .flip-card-back li {
    font-size: 0.85rem;
  }
}

/* Animation d'entrée pour les cartes */
@keyframes flipCardEntry {
  from {
    opacity: 0;
    transform: translateY(30px) rotateY(-10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateY(0deg);
  }
}

.flip-card {
  animation: flipCardEntry 0.8s ease-out;
}

.flip-card:nth-child(1) {
  animation-delay: 0.1s;
}

.flip-card:nth-child(2) {
  animation-delay: 0.2s;
}

.flip-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Amélioration pour les appareils tactiles */
@media (hover: none) {
  .flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Alternative : affichage permanent du contenu sur mobile */
  .flip-card-back {
    position: static;
    transform: none;
    margin-top: 1rem;
    height: auto;
  }
  
  .flip-card-inner {
    height: auto;
    transform-style: flat;
  }
  
  .flip-card {
    height: auto;
  }
}

/* Styles pour les séances collectives */
.collective-sessions {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.collective-sessions:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow);
}

.collective-sessions h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: var(--fg);
  line-height: 1.3;
}

.collective-description {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.contact-buttons {
  margin-top: 1.5rem;
}

.cta-button.primary {
  background: var(--accent);
  color: var(--bg);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--shadow);
}

/* Section informative */
.info-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  margin: 0 0 2rem 0;
  color: var(--fg);
  text-align: center;
  line-height: 1.3;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow);
}

.benefit-card h3 {
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
  line-height: 1.3;
}

.benefit-card p {
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  text-align: center;
  line-height: 1.7;
  color: var(--fg);
}

/* Footer Styles */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-content p {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--muted);
  opacity: 0.8;
}

/* Responsive Design amélioré */
@media (max-width: 768px) {
  .prestations-content {
    padding: 0.5rem;
    margin-top: 70px;
  }
  
  .content-section {
    padding: 0.5rem;
    border-radius: 15px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .benefit-card {
    padding: 1.5rem;
  }
  
  .pricing-card {
    padding: 1.2rem;
  }
  
  .pricing-card.popular {
    margin-top: 1.5rem;
  }
  
  .popular-badge {
    font-size: 12px;
    padding: 6px 18px;
    top: -10px;
  }
  
  .collective-sessions {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  /* Responsive pour le carousel */
  .packs-carousel {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin: 2rem 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .flip-card {
    width: calc(100vw - 2rem);
    max-width: 320px;
    height: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .prestations-content {
    padding: 0.8rem;
    margin-top: 60px;
  }
  
  .hero-section {
    padding: 1rem 0;
    margin-bottom: 2rem;
  }
  
  .content-section {
    padding: 1rem;
    border-radius: 10px;
  }
  
  .pricing-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .pricing-card.popular {
    margin-top: 1.2rem;
  }
  
  .popular-badge {
    font-size: 11px;
    padding: 5px 15px;
    top: -8px;
    border-radius: 15px;
  }
  
  .benefit-card {
    padding: 1rem;
  }
  
  .collective-sessions {
    padding: 1rem;
  }
}

@media (max-width: 360px) {
  .prestations-content {
    padding: 0.5rem;
  }
  
  .content-section {
    padding: 0.8rem;
  }
  
  .pricing-card {
    padding: 0.8rem;
  }
  
  .pricing-card.popular {
    margin-top: 1rem;
  }
  
  .popular-badge {
    font-size: 10px;
    padding: 4px 12px;
    top: -6px;
  }

  .benefit-card {
    padding: 0.8rem;
  }
  
  .collective-sessions {
    padding: 0.8rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prestations-article > * {
  animation: fadeInUp 0.6s ease-out;
}

.pricing-card {
  animation: fadeInUp 0.6s ease-out;
}

.benefit-card {
  animation: fadeInUp 0.6s ease-out;
}

.collective-sessions {
  animation: fadeInUp 0.6s ease-out;
}

/* Amélioration de l'accessibilité */
.pricing-title:focus,
.benefit-card h3:focus,
.collective-sessions h2:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Amélioration pour les écrans tactiles */
@media (hover: none) {
  .pricing-card:hover,
  .benefit-card:hover,
  .collective-sessions:hover {
    transform: none;
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus pour l'accessibilité */
.cta-button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Masquer le hint mobile par défaut */
.flip-card .mobile-hint {
  display: none;
}

/* UX Mobile uniquement */
@media (hover: none) and (pointer: coarse) {
  
  /* Afficher le message d'aide seulement sur mobile */
  .flip-card .mobile-hint {
    display: block !important;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 20;
    animation: bounceHint 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(66, 32, 10, 0.4);
    white-space: nowrap;
  }
  
  @keyframes bounceHint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
  }
  
  /* Effet de pression au tap */
  .flip-card:active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
  }
  
  /* Masquer l'indicateur quand la carte est retournée */
  .flip-card.flipped .mobile-hint {
    display: none !important;
  }
  
  /* Activation au tap */
  .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg) !important;
  }
}

/* ... existing code ... */