/* --------------------------------------------------------------
   LES JOURS D'ELLE - STYLES PERSONNALISÉS
   Adapté pour deux héros sur la page d'accueil (hero1 + hero2)
-------------------------------------------------------------- */

/* ============================================
   VARIABLES (conservées et bien organisées)
============================================ */
:root {
  --primary-pink: #E8B4BC;
  --primary-pink-light: #F8E8EE;
  --primary-pink-dark: #D88A96;
  
  --secondary-purple: #9B72B0;
  --secondary-purple-light: #D8C6E3;
  --secondary-purple-dark: #7A5690;
  
  --accent-green: #A8C6A1;
  --accent-orange: #FFB74D;
  
  --dark-text: #5D4E6D;
  --medium-text: #7A6B8A;
  --light-text: #9B8CA8;
  
  --light-bg: #F8F0F2;
  --white: #FFFFFF;
  
  --phase-menstruelle: #8A6FA8;
  --phase-folliculaire: #A8C6A1;
  --phase-ovulatoire: #FFB74D;
  --phase-luteale: #E8B4BC;
  
  --shadow-light: 0 5px 15px rgba(93, 78, 109, 0.08);
  --shadow-medium: 0 10px 30px rgba(93, 78, 109, 0.15);
  --shadow-heavy: 0 15px 40px rgba(93, 78, 109, 0.22);
  
  --transition-smooth: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-xl: 50px;
  --border-radius-lg: 24px;
}

/* ============================================
   HERO 1 - Hero principal avec fond image + overlay + animations
============================================ */

/* Titres et typewriter */
.animated-title {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.1;
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
}

.animated-title .static-text {
  display: block;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 0.6rem;
  opacity: 0.95;
  letter-spacing: 1.5px;
}

.animated-title .brand-text {
  background: linear-gradient(90deg, #ffffff, #ffd1e0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typewriter-text {
  font-size: clamp(1.4rem, 4vw, 2rem);
  min-height: 3rem;
  margin: 0 0 2.5rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeIn 1.3s ease 0.7s forwards;
}

.typing-line {
  font-style: italic;
}

.cursor {
  display: none !important;
}

/* Boutons hero1 */
.hero1-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 2rem;
  margin: 2rem 0 3.5rem;
  opacity: 0;
  animation: fadeInUp 1.1s ease 1.2s forwards;
}

.btn-get-started,
.btn-watch-video{
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius-xl);
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  min-width: 220px;
}

.btn-get-started {
  background: white;
  color: var(--secondary-purple);
  border: 2px solid white;
}

.btn-get-started:hover {
  background: transparent;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255,255,255,0.3);
}

.btn-watch-video {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(12px);
}

.btn-watch-video:hover {
  background: white;
  color: var(--secondary-purple);
  border-color: white;
  transform: translateY(-5px);
}

.btn-download-guide {
  background: var(--primary-pink);
  color: white;
  border: 2px solid var(--primary-pink);
}

.btn-download-guide:hover {
  background: transparent;
  border-color: white;
  transform: translateY(-5px);
}




/* ============================================
   HERO 2 - Hero secondaire (texte + image à droite)
============================================ */


/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-badges .badge {
  background: rgba(232, 180, 188, 0.15);
  color: var(--dark-text);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 1rem;
}

/* ============================================
   ANIMATIONS (une seule version par type)
============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blink {
  0%, 55%  { opacity: 1; }
  56%, 100% { opacity: 0; }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
  #hero1 { min-height: 80vh; }
  #hero2 { padding: 80px 0 60px; }
  .hero1-buttons { gap: 1.2rem; }
}

@media (max-width: 768px) {
  #hero1 {
    min-height: 95vh;
    background-attachment: scroll;
  }
  .hero1-buttons {
    flex-direction: column;
    gap: 1.2rem;
  }
  .btn-get-started,
  .btn-watch-video,
  .btn-download-guide {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  .quick-stats {
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem;
  }
  #hero2 h1 { font-size: 2.8rem; }
  #hero2 h2 { font-size: 1.7rem; }
}

@media (max-width: 576px) {
  #hero1 .container { padding: 120px 16px 80px; }
  .animated-title { font-size: 2.4rem; }
  .typewriter-text { font-size: 1.3rem; }
}

/* ============================================
   AUTRES ÉLÉMENTS UTILES
============================================ */
.img-logo {
  max-height: 48px;
  transition: var(--transition-smooth);
}

.logo:hover .img-logo {
  transform: scale(1.08) rotate(-4deg);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-pink), var(--secondary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Menu mobile */
@media (max-width: 991px) {
  .navbar-mobile {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
  }
  .navbar-mobile a {
    color: var(--dark-text) !important;
  }
}

/* ============================================
   MODAL PHASES - VERSION CORRIGÉE ET BELLE
============================================ */
.phase-modal {
  position: fixed;
  inset: 0;
  background: rgba(40, 35, 75, 0.68);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.phase-modal.show {
  opacity: 1;
  visibility: visible;
}

.phase-modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(93, 78, 109, 0.4);
  transform: scale(0.75);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.phase-modal.show .phase-modal-content {
  transform: scale(1);
  opacity: 1;
}

.phase-modal-header {
  padding: 1.6rem 2rem 1rem;
  border-bottom: 1px solid rgba(232, 180, 188, 0.3);
}

.phase-modal-icon {
  font-size: 2.6rem;
  line-height: 1;
}

.phase-modal-close {
  font-size: 2.4rem;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
}

.phase-modal-close:hover {
  color: #e74c3c;
}

.phase-modal-body {
  padding: 1.8rem 2rem;
}

.phase-modal-description {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 1.8rem;
}

.phase-modal-info {
  background: rgba(248, 232, 238, 0.4);
  padding: 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.6rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.info-label {
  color: #6c5b8c;
}

.info-value {
  font-weight: 600;
  color: #e8b4bc;
}

.phase-modal-tips h4 {
  color: var(--secondary-purple);
  margin-bottom: 1.2rem;
}

.phase-modal-tips ul li {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.phase-modal-footer {
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(232, 180, 188, 0.3);
  text-align: center;
}

.btn-phase-track {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
}

/* ============================================
   SECTION CTA - AVEC BOUTON TÉLÉCHARGER LE GUIDE
============================================ */

/* Styles pour le texte d'offre de guide */
.guide-offer {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-block;
  margin: 15px 0;
  font-size: 16px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Style spécifique pour le bouton télécharger le guide */
.cta .cta-btn-download {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  transition: all 0.5s;
  color: white;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  text-decoration: none;
  margin-bottom: 10px;
}

.cta .cta-btn-download:hover {
  background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
  border-color: white;
  text-decoration: none;
}

/* Bouton alternatif pour rejoindre la communauté */
.cta .btn-alt-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  padding: 8px 0;
}

.cta .btn-alt-link:hover {
  color: white;
  padding-left: 5px;
  text-decoration: none;
}

/* Ajustement du conteneur CTA pour deux boutons */
.cta-btn-container.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Styles pour le texte blanc dans la CTA */
.cta .text-white {
  color: white !important;
}

/* Correction du problème avec la section CTA existante */
#cta.cta {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-purple) 100%);
  color: white;
  padding: 100px 0;
}

#cta h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

#cta p {
  font-size: 18px;
  margin-bottom: 25px;
}

#cta .cta-benefits {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

#cta .cta-benefits span {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

#cta .cta-benefits i {
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  #cta .cta-benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  #cta h3 {
    font-size: 28px;
  }
  
  .cta .cta-btn-download {
    padding: 12px 30px;
    font-size: 15px;
  }
}

/* ============================================
   SECTION CTA - CORRECTION URGENTE (priorité !important)
============================================ */

/* Styles pour le texte d'offre de guide */
.guide-offer {
  color: white !important;
  background: rgba(255, 255, 255, 0.15) !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  display: inline-block !important;
  margin: 15px 0 !important;
  font-size: 16px !important;
  backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Style spécifique pour le bouton télécharger le guide */
.cta .cta-btn-download {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
  display: inline-block !important;
  padding: 15px 40px !important;
  border-radius: 50px !important;
  transition: all 0.5s !important;
  color: white !important;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%) !important;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4) !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
}

.cta .cta-btn-download:hover {
  background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%) !important;
  color: white !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6) !important;
  border-color: white !important;
  text-decoration: none !important;
}

/* Bouton alternatif pour rejoindre la communauté */
.cta .btn-alt-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  padding: 8px 0 !important;
}

.cta .btn-alt-link:hover {
  color: white !important;
  padding-left: 5px !important;
  text-decoration: none !important;
}

/* Styles pour le texte blanc dans la CTA */
.cta .text-white {
  color: white !important;
}

/* Surcharger les styles de .cta-btn existants */
.cta .cta-btn-download {
  /* Annuler le style .cta-btn du fichier styles.css */
  color: white !important;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%) !important;
  border: 2px solid transparent !important;
}

/* Correction responsive */
@media (max-width: 768px) {
  .cta .cta-btn-download {
    padding: 12px 30px !important;
    font-size: 15px !important;
  }
}

/* ============================================
   STYLES ARTICLES DE BLOG (DÉTAILS)
============================================ */

/* Hero Article */
.article-detail-hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.1) 0%, rgba(155, 114, 176, 0.1) 100%);
  padding: 100px 0 60px;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.article-category-badge {
  display: inline-block;
  background: var(--primary-pink);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.article-title {
  font-size: 2.5rem;
  color: var(--medium-text);
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #888;
  margin-bottom: 30px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
  justify-content: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0e6ea;
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 15px;
  margin: 40px 0;
  box-shadow: var(--shadow-medium);
}

/* Contenu Article */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.article-content h2 {
  color: var(--medium-text);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0e6ea;
}

.article-content h3 {
  color: var(--secondary-purple);
  margin: 30px 0 15px;
}

.article-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.highlight-box {
  background: linear-gradient(135deg, #f9f5f7 0%, #f5f0f5 100%);
  border-left: 4px solid var(--primary-pink);
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
}

.highlight-box h4 {
  color: var(--medium-text);
  margin-bottom: 10px;
}

.article-image {
  width: 100%;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: var(--shadow-light);
}

.article-footer {
  border-top: 2px solid #f0e6ea;
  border-bottom: 2px solid #f0e6ea;
  padding: 40px 0;
  margin: 60px 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.article-tag {
  background: #f0e6ea;
  color: var(--medium-text);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.article-tag:hover {
  background: var(--primary-pink);
  color: white;
}

.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.share-article {
  display: flex;
  align-items: center;
  gap: 15px;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0e6ea;
  color: var(--medium-text);
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.share-button:hover {
  background: var(--primary-pink);
  color: white;
  transform: translateY(-3px);
}

/* Author Bio */
.author-bio {
  background: #f9f5f7;
  border-radius: 15px;
  padding: 30px;
  margin: 40px 0;
}

.author-bio-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Reading Progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f0e6ea;
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  background: var(--primary-pink);
  width: 0%;
  transition: width 0.3s ease;
}

/* Table of Contents */
.toc-container {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow-light);
  margin-bottom: 30px;
  border: 1px solid #f0e6ea;
}

.toc-title {
  color: var(--medium-text);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0e6ea;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin-bottom: 10px;
}

.toc-link {
  color: #555;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: block;
  padding: 5px 0;
  border-left: 3px solid transparent;
  padding-left: 10px;
}

.toc-link:hover, .toc-link.active {
  color: var(--primary-pink);
  border-left-color: var(--primary-pink);
}

/* ============================================
   STYLES INTERVIEW
============================================ */
.interview-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.1) 0%, rgba(155, 114, 176, 0.1) 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.interview-title {
  font-size: 2.8rem;
  color: var(--medium-text);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.interview-subtitle {
  font-size: 1.8rem;
  color: var(--primary-pink);
  font-style: italic;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-pink);
  padding-left: 20px;
}

.interview-quote {
  background: linear-gradient(135deg, #f9f5f7 0%, #f5f0f5 100%);
  border-left: 5px solid var(--primary-pink);
  padding: 40px;
  margin: 40px 0;
  border-radius: 10px;
  position: relative;
}

.interview-quote::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(232, 180, 188, 0.2);
  font-family: serif;
}

.question-answer {
  margin: 50px 0;
  padding: 30px;
  background: #f9f5f7;
  border-radius: 15px;
  border: 1px solid #f0e6ea;
}

.question {
  color: var(--primary-pink);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ============================================
   STYLES ALIMENTATION (PHASE CARDS)
============================================ */
.phase-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-light);
  border: 2px solid #f0e6ea;
  transition: var(--transition-smooth);
}

.phase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.food-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0e6ea;
}

.food-list li i {
  color: var(--primary-pink);
}

/* ============================================
   STYLES DU BOUTON DU MODAL PHASES
============================================ */

/* Bouton dans le modal */
.btn-phase-track {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-purple) 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(155, 114, 176, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 280px;
  margin: 10px auto;
}

.btn-phase-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-phase-track:hover {
  background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-pink) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(155, 114, 176, 0.4);
}

.btn-phase-track:hover::before {
  left: 100%;
}

.btn-phase-track:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(155, 114, 176, 0.3);
}

.btn-phase-track:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Bouton avec icône */
.btn-phase-track i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-phase-track:hover i {
  transform: translateX(3px);
}

/* Variantes de couleurs selon la phase */
.phase-modal-content[style*="--phase-color: #8A6FA8"] .btn-phase-track {
  background: linear-gradient(135deg, #8A6FA8 0%, #B39BC8 100%);
  box-shadow: 0 4px 15px rgba(138, 111, 168, 0.3);
}

.phase-modal-content[style*="--phase-color: #8A6FA8"] .btn-phase-track:hover {
  background: linear-gradient(135deg, #B39BC8 0%, #8A6FA8 100%);
  box-shadow: 0 8px 25px rgba(138, 111, 168, 0.4);
}

.phase-modal-content[style*="--phase-color: #A8C6A1"] .btn-phase-track {
  background: linear-gradient(135deg, #A8C6A1 0%, #C8E6C9 100%);
  box-shadow: 0 4px 15px rgba(168, 198, 161, 0.3);
}

.phase-modal-content[style*="--phase-color: #A8C6A1"] .btn-phase-track:hover {
  background: linear-gradient(135deg, #C8E6C9 0%, #A8C6A1 100%);
  box-shadow: 0 8px 25px rgba(168, 198, 161, 0.4);
}

.phase-modal-content[style*="--phase-color: #FFB74D"] .btn-phase-track {
  background: linear-gradient(135deg, #FFB74D 0%, #FFCC80 100%);
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.3);
}

.phase-modal-content[style*="--phase-color: #FFB74D"] .btn-phase-track:hover {
  background: linear-gradient(135deg, #FFCC80 0%, #FFB74D 100%);
  box-shadow: 0 8px 25px rgba(255, 183, 77, 0.4);
}

.phase-modal-content[style*="--phase-color: #E8B4BC"] .btn-phase-track {
  background: linear-gradient(135deg, #E8B4BC 0%, #F8C8DC 100%);
  box-shadow: 0 4px 15px rgba(232, 180, 188, 0.3);
}

.phase-modal-content[style*="--phase-color: #E8B4BC"] .btn-phase-track:hover {
  background: linear-gradient(135deg, #F8C8DC 0%, #E8B4BC 100%);
  box-shadow: 0 8px 25px rgba(232, 180, 188, 0.4);
}

/* Animation de chargement pour le bouton */
.btn-phase-track.loading {
  position: relative;
  color: transparent;
}

.btn-phase-track.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: button-loading-spinner 0.8s linear infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .btn-phase-track {
    padding: 12px 24px;
    font-size: 15px;
    min-width: 240px;
  }
}

@media (max-width: 576px) {
  .btn-phase-track {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 200px;
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================
   PAGE À PROPOS - STYLES SPÉCIFIQUES
============================================ */

/* Section Histoire */
.histoire-image img {
  border-radius: 15px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #f0e6ea;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid var(--primary-pink);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item:nth-child(odd) {
  left: 0;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
.timeline-item:nth-child(even)::after {
  left: -10px;
}
.timeline-date {
  position: absolute;
  top: 12px;
  width: 100px;
  text-align: center;
  font-weight: 600;
  color: var(--secondary-purple);
}
.timeline-item:nth-child(odd) .timeline-date {
  right: -140px;
}
.timeline-item:nth-child(even) .timeline-date {
  left: -140px;
}
.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

/* Section Mission & Vision */
.mission-card, .vision-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

/* Section Équipe */
.team-member-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  height: 100%;
}
.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}
.team-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 5px solid #f8e8ea;
}
.team-info h4 {
  color: var(--dark-text);
  font-weight: 600;
}
.team-info .text-muted {
  color: var(--secondary-purple) !important;
  font-weight: 500;
}
.team-social a {
  color: var(--light-text);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}
.team-social a:hover {
  color: var(--primary-pink);
}

/* Section Engagement */
.engagement-card {
  background: #f9f5f7;
  padding: 30px;
  border-radius: 10px;
  height: 100%;
  text-align: center;
}

/* Section Partenaires */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.partner-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  text-align: center;
  flex: 1 1 150px;
  max-width: 200px;
}

/* Responsive pour la timeline */
@media (max-width: 768px) {
  .timeline::after {
    left: 15px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 15px;
    left: 0 !important;
  }
  .timeline-item::after {
    left: 6px;
  }
  .timeline-date {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    text-align: left;
    margin-bottom: 10px;
  }
}

/* Section Valeurs - Cartes Chic */
.value-card-chic {
  background: white;
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0e6ea;
  box-shadow: var(--shadow-light);
}

.value-card-chic:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.value-card-chic .value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-pink-light) 0%, #fff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--secondary-purple);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.value-card-chic:hover .value-icon {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-purple) 100%);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.value-card-chic h4 {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.value-card-chic p {
  color: var(--medium-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   PAGE CYCLE - STYLES SPÉCIFIQUES
============================================ */

/* Cartes détaillées des phases */
.phase-detailed-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0e6ea;
  display: flex;
  flex-direction: column;
}

.phase-detailed-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.phase-detailed-card .phase-header {
  padding: 25px;
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
}

.phase-menstruelle .phase-header { background: linear-gradient(135deg, #8A6FA8, #B39BC8); }
.phase-folliculaire .phase-header { background: linear-gradient(135deg, #A8C6A1, #C8E6C9); }
.phase-ovulatoire .phase-header { background: linear-gradient(135deg, #FFB74D, #FFCC80); }
.phase-luteale .phase-header { background: linear-gradient(135deg, #E8B4BC, #F8C8DC); }

.phase-detailed-card .phase-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phase-detailed-card h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
  color: white;
}

.phase-detailed-card .phase-duration {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.phase-detailed-card .phase-body {
  padding: 25px;
  flex-grow: 1;
}

.phase-detailed-card h4 {
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
  border-bottom: 2px solid #f0e6ea;
  padding-bottom: 5px;
}

.phase-detailed-card h4:first-child { margin-top: 0; }

.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.tip-item {
  background: #f9f5f7;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--medium-text);
}

.tip-item i { color: var(--secondary-purple); }

/* Cartes Mythes & Réalités */
.myth-reality-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.myth-part, .reality-part {
  padding: 25px;
  flex: 1;
}

.myth-part {
  background: #fff5f5;
  border-bottom: 1px solid #ffebeb;
}

.reality-part {
  background: #f0fff4;
}

.myth-icon { color: #dc3545; font-size: 1.5rem; margin-bottom: 10px; }
.reality-icon { color: #198754; font-size: 1.5rem; margin-bottom: 10px; }

.myth-reality-card h4 { font-weight: 700; margin-bottom: 10px; font-size: 1.1rem; }
.myth-part h4 { color: #dc3545; }
.reality-part h4 { color: #198754; }

.myth-reality-card p { font-size: 0.95rem; margin: 0; color: #555; }

/* Cartes Symptômes */
.symptome-card {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0e6ea;
}

.symptome-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-pink);
}

.symptome-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f8e8ea 0%, #fff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-purple);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.symptome-card:hover .symptome-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-purple) 100%);
  color: white;
  transform: scale(1.1);
}

.symptome-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.symptome-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.symptome-tips .badge {
  background: rgba(168, 198, 161, 0.15);
  color: #5d8c56;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Cartes Outils */
.outil-card-chic {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: var(--shadow-light);
  height: 100%;
  border-left: 5px solid var(--primary-pink);
  transition: all 0.3s ease;
}

.outil-card-chic:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.outil-card-chic h3 {
  color: var(--secondary-purple);
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.outil-card-chic ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.outil-card-chic li {
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.outil-card-chic li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

.btn-outil {
  display: inline-flex;
  align-items: center;
  background: var(--primary-pink);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outil:hover {
  background: var(--secondary-purple);
  color: white;
  transform: translateY(-2px);
}

/* Cartes Applications */
.app-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.app-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  flex: 1 1 200px;
  text-align: center;
  border: 1px solid #f0e6ea;
  transition: all 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-pink);
}

.app-card h5 {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 5px;
}

.app-card p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

/* Cartes Remèdes Naturels (Bien-être) */
.natural-remedy-card-chic {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0e6ea;
}

.natural-remedy-card-chic:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.remedy-icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--primary-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.natural-remedy-card-chic:hover .remedy-icon-wrapper {
  transform: rotate(15deg) scale(1.1);
  background: var(--secondary-purple);
}

.natural-remedy-card-chic h4 {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 15px;
}

.remedy-tips {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #e0e0e0;
  color: var(--secondary-purple);
  font-size: 0.9rem;
}

/* Cartes Hygiène (Bien-être) */
.hygiene-card-chic {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: var(--shadow-light);
  height: 100%;
  border-top: 5px solid var(--secondary-purple);
}

.hygiene-card-chic h4 {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.hygiene-card-chic ul {
  list-style: none;
  padding: 0;
}

.hygiene-card-chic li {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  color: #555;
}

.hygiene-card-chic li strong {
  color: var(--secondary-purple);
}

.hygiene-benefits {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hygiene-tips {
  margin-top: 25px;
  background: #fff5f5;
  padding: 15px;
  border-radius: 10px;
  color: #dc3545;
  font-size: 0.9rem;
}

/* ============================================
   SECTION PILIERS
============================================ */
.piliers {
  padding: 100px 0;
  background: #f9f5f7;
}

.pilier-box {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0e6ea;
  position: relative;
  overflow: hidden;
}

.pilier-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(155, 114, 176, 0.1);
}

.pilier-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.pilier-icon i {
  font-size: 2rem;
  color: white;
}

.pilier-box h3 {
  color: #5d4e6d;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.pilier-box p {
  color: #7A6B8A;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.pilier-link {
  color: #E8B4BC;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.pilier-link:hover {
  color: #9B72B0;
}

/* Responsive */
@media (max-width: 992px) {
  .piliers {
    padding: 80px 0;
  }
  
  .pilier-box {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .pilier-box {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* avertissement medical animé */
/* ============================================
   SECTION AVERTISSEMENT MÉDICAL ANIMÉ
============================================ */
.medical-disclaimer {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(135deg, #fef7f9 0%, #f9f0f3 100%);
}

.disclaimer-card {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(155, 114, 176, 0.1);
  border: 2px solid transparent;
  animation: borderGlow 4s infinite alternate;
  max-width: 1000px;
  margin: 0 auto;
}

@keyframes borderGlow {
  0% {
    border-color: rgba(232, 180, 188, 0.3);
    box-shadow: 0 15px 40px rgba(155, 114, 176, 0.1);
  }
  100% {
    border-color: rgba(155, 114, 176, 0.5);
    box-shadow: 0 20px 50px rgba(155, 114, 176, 0.15);
  }
}

/* Vagues animées en arrière-plan */
.wave-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.05;
  z-index: 1;
}

.wave {
  position: absolute;
  background: linear-gradient(90deg, transparent, #E8B4BC, transparent);
  border-radius: 50%;
  animation: waveFloat 15s infinite linear;
}

.wave1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-delay: 0s;
  opacity: 0.3;
}

.wave2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: -200px;
  animation-delay: 5s;
  animation-direction: reverse;
  opacity: 0.2;
}

.wave3 {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
  opacity: 0.1;
}

@keyframes waveFloat {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Icône animée */
.disclaimer-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  z-index: 2;
}

.icon-pulse {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E8B4BC, #9B72B0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  position: relative;
  z-index: 2;
}

.icon-pulse i {
  font-size: 2.5rem;
  color: white;
  animation: iconFloat 3s infinite ease-in-out;
}

.icon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(232, 180, 188, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringExpand 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes ringExpand {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  100% {
    width: 140%;
    height: 140%;
    opacity: 0;
  }
}

/* Contenu */
.disclaimer-content {
  position: relative;
  z-index: 3;
}

.disclaimer-content h3 {
  color: #5d4e6d;
  font-size: 2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.animated-highlight {
  background: linear-gradient(90deg, #E8B4BC, #9B72B0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  padding-bottom: 5px;
}

.animated-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #E8B4BC, #9B72B0);
  transform: scaleX(0);
  animation: underlineSlide 3s infinite alternate;
  border-radius: 2px;
}

@keyframes underlineSlide {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: right;
  }
}

.blinking-dot {
  color: #E8B4BC;
  animation: blink 1.5s infinite;
  font-size: 2.5rem;
  line-height: 1;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.text-highlight {
  background: linear-gradient(120deg, rgba(232, 180, 188, 0.15), rgba(155, 114, 176, 0.15));
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  border-left: 4px solid #E8B4BC;
  animation: highlightPulse 3s infinite alternate;
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 5px 15px rgba(232, 180, 188, 0.1);
  }
  100% {
    box-shadow: 0 5px 20px rgba(232, 180, 188, 0.2);
  }
}

/* Détails */
.disclaimer-details {
  margin: 40px 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f8e8ea, #f2e5f5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.detail-item:hover .detail-icon {
  transform: scale(1.1) rotate(5deg);
}

.detail-icon i {
  font-size: 1.5rem;
  color: #9B72B0;
}

.detail-content h5 {
  color: #5d4e6d;
  margin-bottom: 8px;
  font-weight: 600;
}

.detail-content p {
  color: #7A6B8A;
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
.disclaimer-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #f0e6ea;
}

.btn-disclaimer-more {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #9B72B0;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(232, 180, 188, 0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid #E8B4BC;
}

.btn-disclaimer-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(232, 180, 188, 0.4);
  background: white;
  color: #9B72B0;
}

.btn-disclaimer-more::before {
  display: none;
}

.arrow-animate {
  animation: arrowMove 1.5s infinite ease-in-out;
}

@keyframes arrowMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.disclaimer-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: #9B72B0;
  display: flex;
  align-items: center;
}

/* Décoration des coins */
.corner-decoration {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 1;
}

.corner-tl {
  top: 0;
  left: 0;
  border-top: 2px solid #E8B4BC;
  border-left: 2px solid #E8B4BC;
  border-radius: 20px 0 0 0;
}

.corner-tr {
  top: 0;
  right: 0;
  border-top: 2px solid #9B72B0;
  border-right: 2px solid #9B72B0;
  border-radius: 0 20px 0 0;
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid #E8B4BC;
  border-left: 2px solid #E8B4BC;
  border-radius: 0 0 0 20px;
}

.corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #9B72B0;
  border-right: 2px solid #9B72B0;
  border-radius: 0 0 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
  .medical-disclaimer {
    padding: 60px 0;
  }
  
  .disclaimer-card {
    padding: 40px 30px;
  }
  
  .disclaimer-icon {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto 30px;
  }
}

@media (max-width: 768px) {
  .disclaimer-card {
    padding: 30px 20px;
  }
  
  .disclaimer-content h3 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .detail-item {
    flex-direction: column;
    text-align: center;
  }
  
  .detail-icon {
    margin: 0 auto;
  }
  
  .btn-disclaimer-more {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .medical-disclaimer {
    padding: 40px 0;
  }
  
  .disclaimer-card {
    padding: 25px 15px;
  }
  
  .wave1, .wave2, .wave3 {
    display: none;
  }
}

/* Fin des styles de la section avertissement médical animé */

/* customs.css - Styles personnalisés pour Les Jours d'Elle */

/* Styles pour la section piliers */
.piliers {
    padding: 100px 0;
    background: #f9f5f7;
}

.pilier-box {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0e6ea;
    position: relative;
    overflow: hidden;
}

.pilier-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(155, 114, 176, 0.1);
}

.pilier-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.pilier-icon i {
    font-size: 2rem;
    color: white;
}

.pilier-box h3 {
    color: #5d4e6d;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.pilier-box p {
    color: #7A6B8A;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pilier-link {
    color: #E8B4BC;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.pilier-link:hover {
    color: #9B72B0;
}

/* Styles pour la page d'erreur 404 */
.error-404 {
    padding: 100px 0;
    background: #f9f5f7;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-title {
    font-size: 8rem;
    font-weight: 700;
    color: #E8B4BC;
    margin-bottom: 0;
    line-height: 1;
}

.error-subtitle {
    font-size: 2.5rem;
    color: #5d4e6d;
    margin-bottom: 1.5rem;
}

.error-text {
    font-size: 1.2rem;
    color: #7A6B8A;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-link {
    display: block;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    color: #5d4e6d;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #f0e6ea;
}

.error-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155, 114, 176, 0.1);
    color: #E8B4BC;
}

.search-form-container {
    max-width: 500px;
    margin: 0 auto;
}

/* Styles pour les articles */
.btn-read-more {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155, 114, 176, 0.3);
    color: white;
}

/* Styles pour les lecteurs médias */
.podcast-player-wrapper audio {
    outline: none;
    height: 40px;
}

.podcast-player-wrapper {
    border-left: 5px solid #9B72B0 !important;
}

.video-player-wrapper {
    background: #000;
}

/* ============================================
   PLACEHOLDER ARTICLE (STYLE DOCTISSIMO / BIEN-ÊTRE)
============================================ */
.article-placeholder {
    width: 100%;
    height: 220px; /* Hauteur fixe pour alignement */
    background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.blog-card:hover .article-placeholder {
    transform: scale(1.05);
}

.article-placeholder .placeholder-content {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.article-placeholder .brand-name {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-placeholder .brand-icon {
    font-size: 2rem;
    opacity: 0.8;
}

/* Ajustement hauteur image blog card pour uniformité */
.blog-card .blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-card .blog-img img {
    height: 100%;
    object-fit: cover;
}

/* --- Styles pour le Bandeau de Confiance (Trust Bar) --- */
.trust-bar {
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.trust-bar i {
  font-size: 1.1rem;
}

/* --- Styles pour l'Avertissement Médical Animé (Footer) --- */
.medical-disclaimer {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.disclaimer-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 15px 40px rgba(155, 114, 176, 0.1);
  overflow: hidden;
  border: 1px solid rgba(232, 180, 188, 0.3);
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Animation Vagues Arrière-plan */
.wave-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.wave {
  position: absolute;
  width: 200%;
  height: 200%;
  background: rgba(232, 180, 188, 0.1);
  border-radius: 40%;
  animation: waveRotate 15s infinite linear;
}

.wave1 { top: -50%; left: -50%; animation-duration: 15s; }
.wave2 { top: -60%; left: -60%; animation-duration: 20s; background: rgba(155, 114, 176, 0.05); }
.wave3 { top: -70%; left: -70%; animation-duration: 25s; }

@keyframes waveRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Icône Animée */
.disclaimer-icon {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-pulse {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(155, 114, 176, 0.3);
}

.icon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid #E8B4BC;
  border-radius: 50%;
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { width: 60px; height: 60px; opacity: 1; }
  100% { width: 100px; height: 100px; opacity: 0; }
}

/* Contenu */
.disclaimer-content {
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.disclaimer-content h3 {
  color: #5D4E6D;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.blinking-dot {
  color: #E8B4BC;
  font-size: 2rem;
  line-height: 0;
  margin-left: 5px;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.text-highlight {
  background: linear-gradient(120deg, rgba(232, 180, 188, 0.3) 0%, rgba(232, 180, 188, 0.3) 100%);
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 88%;
  font-weight: 600;
  color: #5D4E6D;
}

/* Détails */
.disclaimer-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.6);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(155, 114, 176, 0.1);
  transition: transform 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-3px);
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.detail-icon {
  color: #9B72B0;
  font-size: 1.5rem;
  margin-right: 15px;
  margin-top: -3px;
}

.detail-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #5D4E6D;
  margin-bottom: 5px;
}

.detail-content p {
  font-size: 0.9rem;
  color: #7A6B8A;
  margin: 0;
  line-height: 1.4;
}

/* Footer & Bouton */
.disclaimer-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 20px;
}

.btn-disclaimer-more {
  color: #9B72B0;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  background: white;
  padding: 12px 25px;
  border-radius: 50px;
  border: 2px solid #E8B4BC;
}

.btn-disclaimer-more:hover {
  color: #9B72B0;
  background: white;
}

.arrow-animate {
  transition: transform 0.3s ease;
}

.btn-disclaimer-more:hover .arrow-animate {
  transform: translateX(5px);
}

.disclaimer-note {
  font-size: 0.85rem;
  color: #aaa;
  font-style: italic;
}

/* Décorations Coins */
.corner-decoration {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #E8B4BC;
  border-style: solid;
  opacity: 0.5;
  pointer-events: none;
}

.corner-tl { top: 20px; left: 20px; border-width: 2px 0 0 2px; }
.corner-tr { top: 20px; right: 20px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 20px; left: 20px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 20px; right: 20px; border-width: 0 2px 2px 0; }

/* Responsive */
@media (max-width: 768px) {
  .disclaimer-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .disclaimer-content h3 {
    justify-content: center;
  }
  
  .detail-item {
    text-align: left;
  }
  
  .disclaimer-footer {
    justify-content: center;
  }
}

/* FAQ Styles */
.faq-question {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* ============================================
   PAGE MENTIONS LÉGALES
============================================ */
.legal-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000;
}

.legal-hero h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.legal-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  font-weight: 300;
}

.legal-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(155, 114, 176, 0.08);
  border: 1px solid #f0e6ea;
  overflow: hidden;
  padding: 50px;
}

.legal-body h2 {
  color: var(--dark-text);
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0e6ea;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ============================================
   STYLES SWIPER (CAROUSELS)
============================================ */
.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #E8B4BC;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: #9B72B0;
  opacity: 1;
}

.swiper-slide {
  height: auto; /* Important pour que toutes les cartes aient la même hauteur */
  display: flex; /* Permet aux enfants de prendre 100% de la hauteur */
}

.swiper-slide > div {
  width: 100%; /* La carte prend toute la largeur du slide */
}

/* Ajustement pour les valeurs en mode slider */
.community-values-slider .value-card {
  height: 100%;
  margin: 0; /* Override margin from grid */
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  background: #f9f5f7;
  border-radius: 10px;
}

/* Icon centered above title */
.community-values-slider .value-card .value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(232,180,188,0.95) 0%, rgba(155,114,176,0.95) 100%);
  color: #fff;
  font-size: 1.6rem;
  flex: 0 0 auto;
}

.community-values-slider .value-card h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* Let description grow so all cards keep same height */
.community-values-slider .value-card p {
  margin: 0;
  color: #6c6c6c;
  flex: 1 1 auto;
}

/* Piliers Communauté Slider */
.community-piliers-slider .swiper-slide > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.community-piliers-slider .community-card {
  height: 100%;
  margin-bottom: 0;
  overflow: hidden;
}

.card-image {
  overflow: hidden;
  background: #f0f0f0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Ajustements Page À Propos */
.about-partners-slider .partner-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
}

/* Ajustements Page Cyclea */
.cycle-myths-slider .myth-reality-card,
.cycle-symptoms-slider .symptome-card,
.cycle-schemas-slider .cycle-visual-card,
.phases-slider .phase-detailed-card,
.cycle-tools-slider .outil-card-chic {
  height: 100%; /* Force la hauteur égale */
}

/* Ajustements Page Cyclea */
.cycle-myths-slider .myth-reality-card,
.cycle-symptoms-slider .symptome-card {
  height: 100%; /* Force la hauteur égale */
}

/* ============================================
   CORRECTION ORPHELINS (MOBILE/TABLETTE)
   Force l'équilibre du texte pour éviter un seul mot sur la dernière ligne
============================================ */
/* Utilise `balance` pour les titres et textes courts pour un meilleur équilibre visuel */
h1, h2, h3, h4, h5, h6,
.section-title p,
.hero-subtitle,
.hero-description,
.lead,
.stat-label,
.newsletter-subtitle {
  text-wrap: balance;
}

/* Utilise `pretty` pour les paragraphes plus longs pour éviter les orphelins sans trop impacter la performance */
p, li, .card-text {
  text-wrap: pretty;
}

/* ============================================
   BLOG/ARCHIVE LIST LAYOUT
============================================ */
.article-list-card {
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.card-img-left-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.article-list-card .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-list-card .card-title a:hover {
    color: var(--primary-pink);
}

.article-list-card .read-more {
    font-weight: 600;
    color: var(--secondary-purple);
    text-decoration: none;
}
/* ============================================
   MENU DROPDOWN HOVER (DESKTOP UNIQUEMENT)
   Affiche les sous-menus au survol en mode large écran
============================================ */

/* Le comportement du menu au survol est géré par le fichier `styles.css`
   pour assurer la cohérence et les animations de transition.
   Ce bloc a été supprimé pour éviter les conflits. */

/* Mode mobile/tablette - sous-menus gérés au clic */
@media (max-width: 991.98px) {
  #navbar ul ul {
    display: none;
  }
  
  /* Le dropdown toggle est géré par JavaScript */
  #navbar ul ul.active {
    display: flex;
  }
}

/* ============================================
   HEADER LAYOUT CORRIGÉ - Logo et Menu propre
============================================ */
/* Container header avec espacement généreux */
#header .container {
  gap: 2rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo propre sans troncature */
#header .logo h1 {
  margin: 0;
  padding: 0 0.5rem;
  white-space: nowrap;
  /* Supprime overflow/ellipsis pour laisser respirer */
}

#header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Menu avec padding confortable */
.navbar a {
  padding: 10px 15px; /* Padding par défaut pour grands écrans */
  font-size: 15px;
  white-space: nowrap;
}

.navbar > ul > li {
  padding: 0.75rem 0; /* Padding vertical équilibré */
}

/* ============================================
   CORRECTION MENU - ÉCRANS MOYENS (Laptops)
============================================ */
@media (min-width: 992px) and (max-width: 1350px) {
  #header .navbar a {
    padding: 10px 8px !important;
    font-size: 14px !important;
  }
}

@media (min-width: 992px) {
  #navbar ul {
    flex-wrap: nowrap !important; /* Force le menu sur une seule ligne pour éviter le retour à la ligne de "Contact" */
  }
}
/* ============================================
   TIKTOK SOCIAL ICON - SVG Support
============================================ */
#footer .footer-top .social-links a svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  color: inherit;
  fill: currentColor;
}

/* ============================================
   NEWSLETTER SECTIONS - STYLES AMÉLIORÉS
============================================ */

/* --- Footer Newsletter --- */
#footer .footer-newsletter {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: 20px;
  padding: 40px;
  margin-top: 30px;
  border: 1px solid rgba(255,255,255,0.1);
}

#footer .footer-newsletter h4 {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

#footer .footer-newsletter p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* --- Journal Page Newsletter --- */
.newsletter-section h2 {
  font-weight: 700;
  color: var(--dark-text);
  background: linear-gradient(135deg, var(--primary-pink), var(--secondary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 10px;
}

.newsletter-section p {
  color: var(--medium-text);
  font-size: 1.1rem;
  font-weight: 400;
}

/* ============================================
   VISUAL CARDS (PAGE JOURNAL)
============================================ */
.visual-card {
  border-radius: 25px !important;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #f0e6ea !important;
  box-shadow: 0 10px 30px rgba(155, 114, 176, 0.08) !important;
  background: white;
}

.visual-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(155, 114, 176, 0.2) !important;
  border-color: #E8B4BC !important;
}

.visual-card-img {
  height: 350px; /* Bien grand */
  overflow: hidden;
  position: relative;
  background-color: #f9f5f7;
}

.visual-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bien rempli */
  transition: transform 0.6s ease;
}

.visual-card:hover .visual-card-img img {
  transform: scale(1.1); /* Animé */
}

.visual-card .card-body {
  padding: 2rem !important;
}

.visual-card .card-title {
  color: #5D4E6D;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.25rem;
}

.visual-card .card-title i {
  color: #E8B4BC;
}

.visual-card .btn-outline-primary {
  border-color: #E8B4BC;
  color: #E8B4BC;
  border-width: 2px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.visual-card:hover .btn-outline-primary {
  background-color: #E8B4BC;
  color: white !important;
  border-color: #E8B4BC !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232, 180, 188, 0.4);
}

/* Ajustement spécifique pour Podcasts et Vidéos en 4 colonnes */
.podcasts-section .visual-card-img,
.videos-section .visual-card-img {
  height: 250px; /* Hauteur réduite pour l'équilibre en col-md-3 */
}

/* ============================================
   FIX MOBILE-ONLY SLIDER SUR DESKTOP
   Restaure la grille Bootstrap quand le slider est désactivé
============================================ */
@media (min-width: 992px) {
  .mobile-only-slider .swiper-wrapper {
    flex-wrap: wrap !important; /* Force le retour à la ligne (comportement row) */
    transform: none !important; /* Désactive le défilement */
  }
  
  .mobile-only-slider .swiper-slide {
    width: auto !important; /* Annule le width: 100% de Swiper */
    margin-right: 0 !important;
    height: auto !important;
  }
  
  /* Force la largeur des colonnes Bootstrap */
  .mobile-only-slider .col-md-4 {
    width: 33.33333333% !important;
    flex: 0 0 auto !important;
  }
}

/* ============================================
   CARTES STATISTIQUES (COMMUNAUTÉ & PAROLES)
============================================ */
.stats-card {
  height: 100%;
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(155, 114, 176, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.stats-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(155, 114, 176, 0.15) !important;
}

.stats-card-img-wrapper {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ============================================
   NEWSLETTER SECTION (PAGE JOURNAL)
============================================ */
.newsletter-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #fdf6f8 0%, #f5f0f5 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(232, 180, 188, 0.2);
  border-radius: 50%;
  filter: blur(50px);
}

.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(155, 114, 176, 0.15);
  border-radius: 50%;
  filter: blur(60px);
}

/* ============================================
   UNIFORMISATION DES CARTES (JOURNAL)
   Articles, Podcasts, Vidéos : Même taille, pas de débordement
============================================ */

.blog-card, .podcast-card, .video-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* Force la hauteur égale dans le swiper */
  background: white;
  border-radius: 20px;
  overflow: hidden; /* Empêche tout débordement */
  border: 1px solid #f0e6ea;
  box-shadow: 0 10px 30px rgba(155, 114, 176, 0.08);
  transition: transform 0.3s ease;
}

.blog-card:hover, .podcast-card:hover, .video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(155, 114, 176, 0.15);
}

/* Images et Thumbnails : Hauteur fixe uniforme */
.blog-img, 
.podcast-img, 
.video-thumbnail {
  height: 220px !important; /* Hauteur fixe stricte pour toutes les images */
  width: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* Empêche le rétrécissement */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.blog-img img, 
.podcast-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenu : Flexbox pour aligner le bas */
.blog-content,
.podcast-content,
.video-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Titres : Limite à 2 lignes - Uniformisation stricte */
.blog-content h3, 
.podcast-content h4, 
.video-content h5 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
  color: #5D4E6D;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em; /* Réserve l'espace pour 2 lignes */
}

/* Extraits : Limite à 3 lignes - Uniformisation stricte */
.blog-content p, 
.podcast-content p, 
.video-content p {
  font-size: 0.95rem !important;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px !important;
  flex-grow: 1; /* Pousse les métadonnées/boutons vers le bas */
}

/* Métadonnées et Boutons : Toujours en bas */
.blog-meta, 
.episode-info, 
.video-meta, 
.btn-play-episode {
  margin-top: auto; /* Colle au bas de la carte */
}

/* Correction spécifique Vidéo */
.video-thumbnail {
  margin-bottom: 0 !important; /* Enlève la marge du style précédent */
  border-radius: 0 !important; /* Enlève le border-radius interne */
}

.play-button {
  z-index: 10; /* S'assure que le bouton est au-dessus */
  pointer-events: none; /* Laisse le clic passer au lien parent */
}

.newsletter-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #5D4E6D;
  margin-bottom: 20px;
}

.newsletter-title .highlight {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.newsletter-subtitle {
  font-size: 1.2rem;
  color: #7A6B8A;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form-wrapper {
  max-width: 550px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(155, 114, 176, 0.1);
}

.newsletter-form .form-control {
  border: none;
  background: transparent;
  padding: 0 25px;
  height: 50px;
  font-size: 1rem;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
}

.btn-newsletter {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-newsletter:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(155, 114, 176, 0.3);
}

.btn-newsletter:hover i {
  transform: translateX(5px);
}

.newsletter-privacy {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #9B72B0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================
   FIX ICONS VISIBILITY
============================================ */
.phase-icon i {
  display: inline-block;
  line-height: 1;
  font-size: inherit;
  color: inherit;
}

/* ============================================
   TYPOGRAPHY FIXES (ORPHANS & COLONS)
============================================ */
/* Évite les mots orphelins sur mobile */
p, h1, h2, h3, h4, h5, h6, li, .card-text {
  text-wrap: pretty; /* Améliore le rendu des paragraphes */
}

/* Mise en forme automatique des labels avec deux-points */
.auto-label {
  font-weight: 700;
  color: var(--secondary-purple);
}

@media (max-width: 768px) {
  p, li {
    hyphens: auto; /* Coupe les mots longs si nécessaire */
  }
}

/* ============================================
   AMÉLIORATION ALIGNEMENT MOBILE (ICÔNES + TEXTE)
   Assure que les icônes restent alignées avec le texte sur petits écrans
============================================ */
@media (max-width: 768px) {
  /* 1. Listes à puces avec icônes : Alignement haut pour éviter l'icône flottante au milieu */
  .food-list li,
  .phase-modal-tips ul li,
  .tip-item,
  .question,
  .hygiene-card-chic li {
    display: flex !important;
    align-items: flex-start !important; /* Force l'alignement en haut */
  }

  /* Petit ajustement vertical pour que l'icône soit face à la 1ère ligne de texte */
  .food-list li i,
  .phase-modal-tips ul li i,
  .tip-item i,
  .question i {
    margin-top: 0.25rem !important; 
    flex-shrink: 0; /* Empêche l'icône de s'écraser */
    margin-right: 0.5rem; /* Espace garanti */
  }

  /* 2. Boutons avec icônes : Flexbox centré et gap garanti */
  .btn, 
  .cta-btn-download, 
  .btn-phase-track,
  .pilier-link,
  .read-more-link,
  .btn-newsletter {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem !important; /* Espace constant entre icône et texte */
    white-space: normal !important; /* Permet le retour à la ligne si texte long */
    text-align: center;
    line-height: 1.3;
  }
}
