/* 
 * Styles spécifiques pour la page Hypnose En Savoir Plus
 * Ce fichier complète les styles de base (fiche.css) avec des styles spécifiques
 * pour la page détaillée sur l'hypnose ericksonienne
 */

/* ===== VARIABLES ===== */
:root {
  --hypnose-primary: #547a94; /* Bleu apaisant */
  --hypnose-secondary: #a5c4b4; /* Vert doux */
  --hypnose-accent: #f7d48b; /* Jaune doux */
  --hypnose-dark: #2d4654; /* Bleu foncé */
  --hypnose-light: #f8f9fa; /* Gris très clair */
  --hypnose-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --hypnose-border-radius: 12px;
}

/* ===== MISE EN PAGE GÉNÉRALE ===== */
.hypnose-page-title {
  color: var(--hypnose-dark);
  position: relative;
  margin-bottom: 2.5rem;
  margin-top: 1rem; /* Ajouter un peu d'espace en haut */
}

.hypnose-page-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, var(--hypnose-primary), var(--hypnose-secondary));
}

.hypnose-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== SIDEBAR DE RÉSERVATION ===== */
.hypnose-sidebar {
  background-color: var(--hypnose-light);
  padding: 1.5rem;
  border-radius: var(--hypnose-border-radius);
  box-shadow: var(--hypnose-box-shadow);
  height: fit-content;
  position: fixed;
  top: 120px;
  right: 20px;
  width: 280px;
  max-width: calc(100vw - 40px);
  overflow: hidden; /* Empêcher l'image de déborder lors du survol */
  z-index: 1000; /* Assurer un z-index approprié pour rester au-dessus */
  border: 2px solid var(--hypnose-primary);
}

/* Amélioration pour mobile - rendre le sidebar plus visible */
@media (max-width: 768px) {
  .hypnose-sidebar {
    position: fixed !important;
    top: 80px;
    right: 15px;
    width: 260px;
    max-width: calc(100vw - 30px);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--hypnose-primary);
  }
  
  .hypnose-sidebar img {
    max-height: 120px;
    object-fit: cover;
  }
}

.hypnose-sidebar h3 {
  color: var(--hypnose-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--hypnose-primary);
  padding-bottom: 0.5rem;
}

.hypnose-sidebar img {
  transition: transform 0.3s ease;
  margin-bottom: 1.5rem;
  transform-origin: center; /* S'assurer que le zoom est centré */
  position: relative; /* Ajouter un positionnement relatif */
  z-index: 1; /* S'assurer que l'image reste dans son contexte */
}

.hypnose-sidebar img:hover {
  transform: scale(1.01); /* Réduire l'effet de zoom pour éviter les débordements */
}

.booking-btn {
  display: block;
  background-color: var(--hypnose-primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(107, 144, 128, 0.3);
}

.booking-btn:hover {
  background-color: var(--hypnose-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 70, 84, 0.3);
  color: white;
}

/* ===== CONTENU PRINCIPAL ===== */
.hypnose-content {
  line-height: 1.8;
}

.hypnose-content h2 {
  color: var(--hypnose-dark);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eaeaea;
  position: relative;
}

.hypnose-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  height: 3px;
  background-color: var(--hypnose-primary);
}

.hypnose-content p {
  margin-bottom: 1.2rem;
  color: #444;
}

/* ===== BOÎTES D'INFORMATION ===== */
.info-box {
  padding: 1.5rem;
  border-radius: var(--hypnose-border-radius);
  margin: 1.5rem 0;
  position: relative;
}

.info-box h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.info-box.primary {
  background-color: rgba(84, 122, 148, 0.1);
  border-left: 4px solid var(--hypnose-primary);
}

.info-box.accent {
  background-color: rgba(247, 212, 139, 0.15);
  border-left: 4px solid var(--hypnose-accent);
}

.info-box.success {
  background-color: rgba(165, 196, 180, 0.15);
  border-left: 4px solid var(--hypnose-secondary);
}

/* ===== LISTES ===== */
.hypnose-content ul, .hypnose-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.hypnose-content li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.hypnose-content ul li::before {
  content: "•";
  color: var(--hypnose-primary);
  font-weight: bold;
  position: absolute;
  left: -0.5rem;
}

.hypnose-content ol {
  counter-reset: item;
  list-style-type: none;
}

.hypnose-content ol li {
  counter-increment: item;
}

.hypnose-content ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: -1rem;
  color: var(--hypnose-primary);
  font-weight: bold;
}

/* ===== FAQ SECTION ===== */
.faq-item {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: white;
  border-radius: var(--hypnose-border-radius);
  box-shadow: var(--hypnose-box-shadow);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-item h3 {
  color: var(--hypnose-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.5rem;
}

.faq-item h3::before {
  content: "Q:";
  position: absolute;
  left: 0;
  color: var(--hypnose-primary);
  font-weight: bold;
}

.faq-item p {
  padding-left: 1.5rem;
  position: relative;
}

.faq-item p::before {
  content: "R:";
  position: absolute;
  left: 0;
  color: var(--hypnose-secondary);
  font-weight: bold;
}

/* ===== TÉMOIGNAGES ===== */
.testimonial-section {
  background-color: var(--hypnose-light);
  padding: 2rem;
  border-radius: var(--hypnose-border-radius);
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--hypnose-border-radius);
  box-shadow: var(--hypnose-box-shadow);
  position: relative;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-style: italic;
  padding-left: 2rem;
}

.testimonial-card p::before {
  content: '"';
  font-size: 3rem;
  color: rgba(84, 122, 148, 0.2);
  position: absolute;
  top: -10px;
  left: 15px;
  font-family: Georgia, serif;
}

.testimonial-author {
  text-align: right;
  font-weight: 600;
  color: var(--hypnose-primary);
}

/* ===== BOUTONS D'ACTION ===== */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--hypnose-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--hypnose-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(45, 70, 84, 0.2);
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #545b62;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.2);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 480px) {
  .hypnose-sidebar {
    width: 240px;
    top: 70px;
    right: 10px;
  }
}

@media (max-width: 767px) {
  .hypnose-page-title {
    font-size: 2rem;
  }
  
  .hypnose-content h2 {
    font-size: 1.6rem;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hypnose-page-title {
    font-size: 1.8rem;
  }
  
  .info-box, .faq-item, .testimonial-card {
    padding: 1rem;
  }
  
  .hypnose-content h2::before {
    width: 30px;
  }
}

/* Ajuster la marge supérieure du contenu principal pour compenser le header fixe */
main.pt-24 {
  padding-top: 6rem; /* Augmenter le padding pour compenser le header fixe */
}

