/**
* lesjoursdelle css
* 
* Author: lesjoursdelle
* 
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #E8B4BC;
  text-decoration: none;
}

a:hover {
  color: #9B72B0;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #E8B4BC;
  height: 40px;
  font-size: 14px;
  transition: all 0.5s;
  color: white;
  padding: 0;
}

#topbar .contact-info i {
  font-style: normal;
  color: white;
}

#topbar .contact-info a, #topbar .contact-info span {
  padding-left: 5px;
  color: #ffffff !important;
}

#topbar .contact-info a {
  line-height: 1;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: white;
  text-decoration: underline;
}

#topbar .social-links a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

#topbar .social-links a:hover {
  color: white;
}

/* --- Fix Mobile Topbar Visibility --- */
@media (max-width: 768px) {
  #topbar {
    height: auto;
    padding: 10px 15px !important;
    background-color: #9B72B0 !important; /* Fond violet sur mobile pour un contraste parfait avec le texte blanc */
  }
  #topbar .contact-info {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  #topbar .contact-info,
  #topbar .contact-info span,
  #topbar .contact-info a,
  #topbar .contact-info i {
    font-weight: 700 !important; /* Plus gras pour lisibilité */
    font-size: 13px !important;
    color: #ffffff !important;
    letter-spacing: 0.5px;
  }
  #topbar .social-links {
    display: none; /* Masquer les réseaux sociaux sur mobile pour l'espace */
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  display: none !important;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #E8B4BC;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 24px;
  color: white;
  line-height: 0;
}

.back-to-top:hover {
  background: #9B72B0;
  transform: translateY(-3px);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: white;
  transition: all 0.5s;
  z-index: 997;
  height: 86px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

#header.fixed-top {
   position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px; /* Réduit la hauteur quand fixe */
  animation: headerSlideDown 0.3s ease;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.8px;
  font-family: "Poppins", sans-serif;
  flex-shrink: 0;
  min-width: fit-content;
}

#header .logo a {
  color: #5D4E6D;
}

#header .logo a span {
  color: #E8B4BC;
}

#header .logo img {
  max-height: 50px;
  transition: all 0.3s ease;
  display: block;
  width: auto;
  margin-right: 20px;
}

.scrolled-offset {
  margin-top: 70px;
}

/* Animation pour l'apparition du header fixe */
@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Pour éviter que le contenu ne passe sous le header fixe */
.scrolled-offset {
  margin-top: 70px; /* Doit correspondre à la hauteur du header fixe */
}

/* Ajustement du logo quand le header est fixe */
#header.fixed-top .logo img {
  max-height: 40px; /* Logo plus petit */
  transition: all 0.3s ease;
}

/* Ajustement du topbar pour qu'il ne soit plus visible quand le header est fixe */
#header.fixed-top ~ #topbar {
  display: none; /* Cache le topbar quand le header est fixe */
}

/* Ajustement des menus quand le header est réduit */
#header.fixed-top .navbar > ul > li {
  padding: 5px 0 5px 24px; /* Réduction du padding */
}

#header.fixed-top .navbar a {
  font-size: 14px; /* Texte légèrement plus petit */
}

/* Responsive pour le mode fixe */
@media (max-width: 991px) {
  #header.fixed-top {
    height: 60px; /* Encore plus petit sur mobile */
  }
  
  #header.fixed-top .logo img {
    max-height: 35px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  margin-left: auto;
}

@media (min-width: 992px) {
  .navbar {
    flex: 1 1 auto; /* Permet au menu de s'adapter en largeur */
    display: flex;
    align-items: center;
  }
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px; /* Espace réduit pour plus de flexibilité */
  flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
  justify-content: flex-end; /* Aligne les éléments à droite */
}

.navbar li {
  position: relative;
}

.navbar > ul > li {
  white-space: nowrap;
  padding: 10px 0 10px 14px;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  font-size: 15px;
  font-weight: 600;
  color: #5D4E6D;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar > ul > li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: #E8B4BC;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: #E8B4BC;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 28px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: white;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 8px;
  border-top: 3px solid #E8B4BC;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-weight: 500;
  color: #5D4E6D;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #E8B4BC;
  background: #F8F0F2;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #5D4E6D;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: white;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(93, 78, 109, 0.95);
  transition: 0.3s;
  z-index: 999;
  display: flex !important;
  flex-direction: column;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #E8B4BC;
  color: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.navbar-mobile ul {
  display: block !important;
  position: absolute;
  top: 70px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 20px 0;
  background-color: white;
  overflow-y: auto;
  transition: 0.3s;
  border-radius: 10px;
  z-index: 1000;
}

.navbar-mobile a {
  padding: 12px 20px;
  font-size: 16px;
  color: #5D4E6D;
  border-bottom: 1px solid #F8F0F2;
}

.navbar-mobile > ul > li {
  padding: 0;
}

.navbar-mobile a:hover:before, .navbar-mobile li:hover > a:before, .navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #E8B4BC;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none !important; /* Force le masquage par défaut */
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #F8F0F2;
  box-shadow: none;
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #E8B4BC;
}

.navbar-mobile .dropdown.dropdown-active > ul {
  display: block !important; /* Affiche uniquement quand actif */
}

/* ============================================
   HERO1 - NOUVEAU HERO AVEC COUVERTURE
============================================ */
/* ============================================
   HERO1 - AVEC IMAGE DANS LE HTML
============================================ */
#hero1 {
  width: 100%;
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
}

/* Image de fond */
.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay coloré par-dessus l'image */
#hero1:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(232, 180, 188, 0.85) 0%,
    rgba(155, 114, 176, 0.85) 100%
  );
  z-index: 1;
}

/* Gradient supplémentaire pour effet */
#hero1:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(93, 78, 109, 0.3) 0%,
    transparent 50%,
    rgba(232, 180, 188, 0.3) 100%
  );
  z-index: 1;
}

#hero1 .container {
  position: relative;
  z-index: 2;
  padding: 100px 20px;
}

/* Le reste de votre CSS reste identique */
.animated-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.animated-title .static-text {
  display: block;
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 15px;
  opacity: 0.95;
  letter-spacing: 1px;
}

.animated-title .brand-text {
  background: linear-gradient(135deg, #fff 0%, #F8C8DC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.animated-title .brand-text:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: white;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.typewriter-text {
  font-size: 1.8rem;
  min-height: 90px;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
  line-height: 1.6;
}

.typing-line {
  display: inline-block;
  font-style: italic;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cursor {
  display: inline-block;
  width: 3px;
  background: white;
  margin-left: 8px;
  animation: blink 1s infinite;
  font-size: 12px;
  vertical-align: middle;
  height: 1.8em;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero1-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 1s forwards;
  margin-bottom: 40px;
}

#hero1 .btn-get-started {
  background: white;
  color: #9B72B0;
  border: 2px solid white;
  font-weight: 600;
  padding: 18px 45px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#hero1 .btn-get-started:hover {
  background: transparent;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

#hero1 .btn-watch-video {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  padding: 18px 45px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  backdrop-filter: blur(15px);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#hero1 .btn-watch-video:hover {
  background: white;
  color: #9B72B0;
  border-color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4);
}

#hero1 .btn-watch-video i {
  font-size: 28px;
  margin-right: 12px;
}

/* Statistiques Hero1 */


.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #F8C8DC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ============================================
   HERO2 - ANCIEN HERO (SÉPARÉ)
============================================ */
#hero {
  width: 100%;
  min-height: auto;
  background: linear-gradient(
    135deg,
    rgba(232, 180, 188, 0.05) 0%,
    rgba(155, 114, 176, 0.05) 100%
  );
  position: relative;
  margin-top: 0;
  padding: 120px 0;
}

#hero:before {
  content: "";
  background: rgba(255, 255, 255, 0.9);
  position: absolute;
  inset: 0;
}

#hero .container {
  position: relative;
  padding-top: 0;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #5D4E6D;
}

#hero h2 {
  color: #9B72B0;
  margin: 15px 0 20px 0;
  font-size: 24px;
}

#hero .hero-description {
  color: #5D4E6D;
  margin-bottom: 30px;
  font-size: 18px;
}

#hero .hero-description .counter {
  color: #E8B4BC;
  font-weight: 700;
  font-size: 24px;
}

/*--------------------------------------------------------------
# Buttons pour Hero2
--------------------------------------------------------------*/
#hero .btn-get-started,
#hero .btn-communaute {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  transition: 0.3s;
}

#hero .btn-get-started {
  color: white;
  background: #E8B4BC;
  border: 2px solid #E8B4BC;
}

#hero .btn-get-started:hover {
  background: #9B72B0;
  border-color: #9B72B0;
  transform: translateY(-3px);
}

#hero .btn-communaute {
  color: #5D4E6D;
  background: transparent;
  border: 2px solid #9B72B0;
}

#hero .btn-communaute:hover {
  background: #9B72B0;
  color: white;
  transform: translateY(-3px);
}

/* ============================================
   SECTION STATS (APRÈS HERO2)
============================================ */
#stats.stats {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #fdf6f8 100%);
  position: relative;
  overflow: hidden;
}

#stats.stats:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(232,180,188,0.03)"/></svg>');
  background-size: cover;
  z-index: 1;
}

#stats .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

#stats .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

#stats .col-lg-3 {
  flex: 1 1 250px;
  max-width: 280px;
}

#stats .stats-box {
  background: white;
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(93, 78, 109, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

#stats .stats-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E8B4BC, #9B72B0);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#stats .stats-box:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(93, 78, 109, 0.15);
  border-color: rgba(232, 180, 188, 0.3);
}

#stats .stats-box:hover:before {
  opacity: 1;
}

#stats .stats-box span.purecounter {
  font-size: 3.5rem;
  font-weight: 800;
  color: #E8B4BC;
  display: block;
  margin-bottom: 15px;
  line-height: 1;
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 15px;
}

#stats .stats-box span.purecounter:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #E8B4BC, #9B72B0);
  border-radius: 2px;
}

#stats .stats-box p {
  color: #7A6B8A;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* Animation des compteurs */
@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#stats .stats-box.animated span.purecounter {
  animation: countUp 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 1200px) {
  #stats .col-lg-3 {
    flex: 1 1 220px;
  }
}

@media (max-width: 992px) {
  #stats.stats {
    padding: 80px 0;
  }
  
  #stats .stats-box {
    padding: 30px 20px;
  }
  
  #stats .stats-box span.purecounter {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  #stats .row {
    gap: 20px;
  }
  
  #stats .col-lg-3 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  #stats .stats-box {
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  #stats.stats {
    padding: 60px 0;
  }
  
  #stats .stats-box {
    padding: 25px 15px;
  }
  
  #stats .stats-box span.purecounter {
    font-size: 2.5rem;
  }
  
  #stats .stats-box p {
    font-size: 15px;
  }
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #F8F0F2;
}

.section-title {
  text-align: center;
  padding-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #5D4E6D;
}

.section-title h2::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: #E8B4BC;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
  color: #9B72B0;
  font-size: 18px;
}


/*--------------------------------------------------------------
# Phases
--------------------------------------------------------------*/
.phases {
  background: white;
}

.phase-box {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border-top: 4px solid;
  height: 100%;
}

.phase-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.phase-menstruelle {
  border-top-color: #8A6FA8;
}

.phase-folliculaire {
  border-top-color: #A8C6A1;
}

.phase-ovulatoire {
  border-top-color: #FFB74D;
}

.phase-luteale {
  border-top-color: #E8B4BC;
}

.phase-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
}

.phase-menstruelle .phase-icon {
  background: linear-gradient(135deg, #8A6FA8, #B39BC8);
}

.phase-folliculaire .phase-icon {
  background: linear-gradient(135deg, #A8C6A1, #C8E6C9);
}

.phase-ovulatoire .phase-icon {
  background: linear-gradient(135deg, #FFB74D, #FFCC80);
}

.phase-luteale .phase-icon {
  background: linear-gradient(135deg, #E8B4BC, #F8C8DC);
}

.phase-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #5D4E6D;
}

.phase-days {
  color: #9B72B0;
  font-weight: 500;
  margin-bottom: 5px;
}

.phase-energy {
  color: #FFB74D;
  margin-bottom: 15px;
}

.phase-tips {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.phase-tips li {
  padding: 5px 0;
  color: #666;
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.phase-tips li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #A8C6A1;
  font-weight: bold;
}

.btn-phase-details {
  background: transparent;
  border: 2px solid #E8B4BC;
  color: #E8B4BC;
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s;
  font-weight: 500;
  margin-top: 10px;
}

.btn-phase-details:hover {
  background: #E8B4BC;
  color: white;
}

.btn-see-all-phases {
  display: inline-flex;
  align-items: center;
  background: #9B72B0;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-see-all-phases:hover {
  background: #E8B4BC;
  color: white;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: white;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  border-radius: 10px;
  height: 100%;
  position: relative; /* Fix pour le badge "Nouveau" */
}

.icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
  color: #E8B4BC;
}

.icon-box .icon:before {
  position: absolute;
  content: "";
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #F8F0F2;
  transition: 0.5s;
}

.icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.icon-box h4 a {
  color: #5D4E6D;
  transition: ease-in-out 0.3s;
}

.icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.icon-box:hover {
  border-color: white;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

.icon-box:hover h4 a {
  color: #E8B4BC;
}

.icon-box:hover .icon i {
  color: white;
}

.icon-box:hover .icon:before {
  background: #E8B4BC;
}

.feature-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #FFB74D;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.1) 0%, rgba(155, 114, 176, 0.1) 100%);
}

.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid white;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #5D4E6D;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #9B72B0;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #F8C8DC;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 45px;
  padding: 20px 0;
  background: white;
  position: relative;
  border-radius: 6px;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0 0 45px;
}

.testimonials .testimonial-item .stars i {
  color: #FFC107;
}

/*--------------------------------------------------------------
# CTA
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 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;
}

.cta .cta-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  transition: 0.5s;
  color: #9B72B0;
  background: white;
  border: 2px solid white;
}

.cta .cta-btn:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
}

/* ============================================
   STYLES SPÉCIFIQUES POUR LE 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);
}

.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;
}

/* 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;
}

/* Ajustement du conteneur CTA pour deux boutons */
.cta-btn-container.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-btn-container .cta-btn {
  margin-bottom: 10px;
}

/* Option avec formulaire dans la CTA */
.cta-form-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-form-box h5 {
  color: #5D4E6D;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.cta-form .form-control {
  border: 2px solid #E8B4BC;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 16px;
  transition: all 0.3s;
}

.cta-form .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(232, 180, 188, 0.25);
  border-color: #9B72B0;
}

.btn-cta-submit {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.btn-cta-submit:hover {
  background: linear-gradient(135deg, #9B72B0 0%, #E8B4BC 100%);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(155, 114, 176, 0.4);
}

.link-alt {
  color: #9B72B0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.link-alt:hover {
  color: #E8B4BC;
  text-decoration: underline;
}

/* Ajustement responsive */
@media (max-width: 768px) {
  .cta .cta-benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .cta-btn-container {
    margin-top: 20px;
  }
  
  .cta-form-box {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Blog Preview
--------------------------------------------------------------*/
.blog-card {
  background: white;
  border-radius: 20px; /* Harmonisé avec les autres cartes */
  overflow: hidden;
  border: 1px solid #f0e6ea; /* Ajout bordure harmonisée */
  box-shadow: 0 10px 30px rgba(155, 114, 176, 0.08); /* Ombre harmonisée */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(155, 114, 176, 0.15);
  border-color: #E8B4BC; /* Couleur bordure au survol */
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-img a {
  display: block !important;
  height: 100% !important;
}

.blog-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #E8B4BC;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #5D4E6D;
}

.blog-content h3 a {
  color: #5D4E6D;
  transition: color 0.3s;
}

.blog-content h3 a:hover {
  color: #E8B4BC;
}

.blog-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  color: #9B72B0;
  font-size: 14px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.blog-meta span {
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 5px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #9B72B0;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid #9B72B0;
  transition: all 0.3s;
}

.btn-view-all:hover {
  background: #9B72B0;
  color: white;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #5D4E6D;
  color: white;
  font-size: 14px;
  position: relative; /* Ajouté */
  z-index: 1; /* Ajouté */
}

#footer .footer-newsletter {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin-bottom: 15px;
  color: white;
}

#footer .footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 50px;
  position: relative; /* Ajouté - ESSENTIEL pour contenir le bouton */
  display: flex; /* Ajouté pour une meilleure mise en page */
  align-items: center; /* Ajouté */
  padding-right: 6px; /* Espace pour le bouton */
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 10px 20px;
  width: 100%;
  background: transparent;
  color: white;
  font-size: 15px;
  flex: 1; /* Prend tout l'espace disponible */
}

#footer .footer-newsletter form input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#footer .footer-newsletter form input[type=email]:focus {
  outline: none;
  box-shadow: none;
}

/* CORRECTION DU BOUTON - Position corrigée */
#footer .footer-newsletter form input[type=submit],
#footer .footer-newsletter form button[type=submit] {
  border: 0;
  background: #E8B4BC;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 10px; /* Espace propre entre input et bouton */
  position: relative; /* Changé de absolute à relative */
  z-index: 2; /* Pour qu'il soit au-dessus */
}

#footer .footer-newsletter form input[type=submit]:hover,
#footer .footer-newsletter form button[type=submit]:hover {
  background: #9B72B0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  position: relative;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 28px;
  margin: 0 0 10px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  color: white;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: white;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

#footer .footer-top h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: #E8B4BC;
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #E8B4BC;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: white;
  padding-left: 5px;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  line-height: 1;
  padding: 8px 0;
  margin-right: 10px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #E8B4BC;
  color: white;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

#footer .credits a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

#footer .credits a:hover {
  color: white;
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
  #footer .footer-newsletter form {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  #footer .footer-newsletter form input[type=email] {
    width: 100%;
    margin-bottom: 0;
  }
  
  #footer .footer-newsletter form input[type=submit] {
    margin-left: 0;
    width: 100%;
    padding: 12px 30px;
  }
}

/* Alternative si le bouton remonte toujours */
.fix-position-bug {
  position: relative !important;
  overflow: hidden !important;
}

/* S'assurer que le bouton reste dans le footer */
#footer * {
  position: relative;
  z-index: auto;
}

/* ============================================
   ANIMATIONS
============================================ */
@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%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

@keyframes float-stats {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stat-item:hover .stat-number {
  animation: float-stats 1s ease-in-out;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Tablettes */
@media (max-width: 992px) {
  #hero1 {
    min-height: 70vh;
  }
  
  .animated-title {
    font-size: 2.8rem;
  }
  
  .animated-title .static-text {
    font-size: 1.6rem;
  }
  
  .typewriter-text {
    font-size: 1.4rem;
    min-height: 80px;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .quick-stats {
    gap: 30px;
    padding: 20px;
  }
  
  .stat-item {
    min-width: 110px;
  }
  
  #hero {
    padding: 80px 0;
  }
  
  #hero h1 {
    font-size: 36px;
    line-height: 44px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  #hero1 {
    min-height: 85vh;
  }
  
  .animated-title {
    font-size: 2.2rem;
  }
  
  .animated-title .static-text {
    font-size: 1.3rem;
  }
  
  .typewriter-text {
    font-size: 1.2rem;
    min-height: 70px;
    margin-bottom: 30px;
  }
  
  .hero1-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  #hero1 .btn-get-started,
  #hero1 .btn-watch-video {
    width: 100%;
    max-width: 300px;
    padding: 16px 30px;
  }
  
  .quick-stats {
    gap: 20px;
    padding: 15px;
  }
  
  .stat-item {
    min-width: 90px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  #hero {
    padding: 60px 0;
  }
  
  #hero h1 {
    font-size: 32px;
    line-height: 40px;
  }
  
  #hero h2 {
    font-size: 20px;
  }
  
  .stats {
    padding: 40px 0;
  }
  
  .stats-box {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .stats-box span {
    font-size: 40px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    padding-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 17px;
  }
}

/* Petits mobiles */
@media (max-width: 576px) {
  #hero1 {
    min-height: 90vh;
  }
  
  .animated-title {
    font-size: 1.8rem;
  }
  
  .animated-title .static-text {
    font-size: 1.1rem;
  }
  
  .animated-title .brand-text:after {
    width: 80px;
    bottom: -10px;
  }
  
  .typewriter-text {
    font-size: 1rem;
    min-height: 60px;
  }
  
  .quick-stats {
    gap: 15px;
  }
  
  .stat-item {
    min-width: 70px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  #hero {
    padding: 40px 0;
  }
  
  #hero h1 {
    font-size: 20px;
    line-height: 36px;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .trust-badges .badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ============================================
   CORRECTION MENU MOBILE
============================================ */
@media (max-width: 991px) {
  .navbar-mobile {
    background: rgba(93, 78, 109, 0.98) !important;
    backdrop-filter: blur(10px);
  }
  
  .navbar-mobile ul {
    background: white;
    border-radius: 10px;
    padding: 15px 0;
  }
  
  .navbar-mobile a {
    color: #5D4E6D !important;
    font-weight: 500;
    border-bottom: 1px solid #F8F0F2;
  }
  
  .navbar-mobile a:last-child {
    border-bottom: none;
  }
  
  .mobile-nav-toggle {
    z-index: 9999;
    background: #E8B4BC;
    color: white;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
}

/* ============================================
   ANIMATION D'ENTRÉE DU MENU
============================================ */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.navbar-mobile {
  animation: slideInRight 0.3s ease forwards;
}

/* ============================================
   STYLES POUR LA PAGE COMMUNAUTÉ
============================================ */

/* Hero Communauté */
.community-hero {
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.1) 0%, rgba(155, 114, 176, 0.1) 100%);
  padding: 100px 0;
  text-align: center;
}

.community-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #5D4E6D;
}

.community-hero h2 {
  color: #9B72B0;
  margin-bottom: 20px;
  font-size: 24px;
}

.hero-subtitle {
  color: #5D4E6D;
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-primary-community {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-community:hover {
  background: linear-gradient(135deg, #9B72B0 0%, #E8B4BC 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(155, 114, 176, 0.2);
  color: white;
}

/* Statistiques Communauté */
.community-stats {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #E8B4BC;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  color: #5D4E6D;
  font-size: 16px;
  font-weight: 500;
}

/* Cards Communauté */
.community-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.community-card:hover {
  border-color: #E8B4BC;
  transform: translateY(-5px);
}

.community-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #E8B4BC, #9B72B0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.community-icon i {
  font-size: 2rem;
  color: white;
}

/* Valeurs */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.value-card {
  background: #f9f5f7;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: #E8B4BC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.value-icon i {
  color: white;
  font-size: 1.5rem;
}

/* Groupes */
.group-card {
  background: linear-gradient(135deg, #f9f5f7 0%, #f5f0f5 100%);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  height: 100%;
}

.group-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.group-icon {
  width: 60px;
  height: 60px;
  background: #E8B4BC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.group-icon i {
  color: white;
  font-size: 1.5rem;
}

.group-features {
  margin: 20px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature-item i {
  color: #4CAF50;
  margin-right: 10px;
}

.btn-join-group {
  background: linear-gradient(135deg, #E8B4BC, #9B72B0);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-join-group:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(232, 180, 188, 0.3);
  color: white;
}

/* Témoignages Communauté */
.testimonial-community {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin: 20px 0;
  border-left: 4px solid #E8B4BC;
}

.author-avatar-small {
  width: 50px;
  height: 50px;
  background: #f9f5f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  background: #f9f5f7;
  padding: 20px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f5f0f5;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 20px;
  background: white;
  border-radius: 0 0 10px 10px;
  display: none;
}

.faq-question.active + .faq-answer {
  display: block;
}

.faq-answer ul {
  padding-left: 20px;
  margin-top: 10px;
}

.faq-answer li {
  margin-bottom: 5px;
}

/* CTA Final */
.cta-final-community {
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.1) 0%, rgba(155, 114, 176, 0.1) 100%);
  padding: 80px 0;
  text-align: center;
}

/* Footer placeholder */
.footer-placeholder {
  background: #5D4E6D;
  color: white;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .community-hero {
    padding: 80px 0 40px;
  }
  
  .community-hero h1 {
    font-size: 36px;
  }
  
  .community-hero h2 {
    font-size: 20px;
  }
  
  .community-stats {
    padding: 30px 15px;
    margin-top: -30px;
  }
  
  .stat-item {
    padding: 15px 10px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .group-header {
    flex-direction: column;
    text-align: center;
  }
  
  .group-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Modal des phases */
.phase-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.phase-modal.show {
  opacity: 1;
  visibility: visible;
}

.phase-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.phase-modal.show .phase-modal-content {
  transform: translateY(0);
}

.phase-modal-header {
  padding: 20px;
  border-bottom: 2px solid var(--phase-color, #E8B4BC);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phase-modal-close {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #666;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.phase-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.phase-modal-icon {
  font-size: 2rem;
}

.phase-modal-body {
  padding: 20px;
}

.phase-modal-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.phase-modal-info {
  background: #f9f5f7;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.info-label {
  font-weight: 600;
  color: #5D4E6D;
}

.info-value {
  color: var(--phase-color, #9B72B0);
  font-weight: 500;
}

.phase-modal-tips h4 {
  color: #5D4E6D;
  margin-bottom: 15px;
}

.phase-modal-tips ul {
  list-style: none;
  padding: 0;
}

.phase-modal-tips li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.phase-modal-tips li:last-child {
  border-bottom: none;
}

/* ============================================
   BOUTON RENDEZ-VOUS (CONSULTATION)
============================================ */
.btn-consult-now {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(155, 114, 176, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-consult-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(155, 114, 176, 0.4);
  color: white;
  background: linear-gradient(135deg, #9B72B0 0%, #E8B4BC 100%);
}

.btn-consult-now i {
  font-size: 1.3rem;
}

/* ============================================
   PAGE PAROLES DE FEMMES
============================================ */

/* Boutons de filtre */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 2px solid #E8B4BC;
  color: #5D4E6D;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(155, 114, 176, 0.3);
}

/* Carte Formulaire */
.form-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(155, 114, 176, 0.1);
  border: 1px solid #f0e6ea;
}

/* Processus de modération */
.moderation-card {
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.1) 0%, rgba(155, 114, 176, 0.1) 100%);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  border-left: 4px solid #9B72B0;
}

.moderation-card h5 {
  color: #5D4E6D;
  font-weight: 700;
  margin-bottom: 15px;
}

.moderation-card ul li {
  margin-bottom: 8px;
  color: #666;
}
.phase-modal-tips li i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1.1rem;
}

.phase-modal-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.btn-phase-track {
  background: linear-gradient(135deg, #E8B4BC, #9B72B0);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.btn-phase-track:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232, 180, 188, 0.4);
}


/* ==========================
   HERO – PAGE À PROPOS
========================== */

.about-hero {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #000; /* fallback si image ne charge pas */
}

/* Image de fond (chargée depuis le HTML) */
.about-hero .hero-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Overlay sombre pour lisibilité */
.about-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

/* Contenu au-dessus de l’image */
.about-hero .container {
  position: relative;
  z-index: 3;
  color: #fff;
}

/* Titres */
.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0.95;
}

/* Sous-titre */
.about-hero .hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {
  .about-hero {
    min-height: 40vh;
    padding: 60px 0;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero h2 {
    font-size: 1.2rem;
  }

  .about-hero .hero-subtitle {
    font-size: 1rem;
  }
}


/*--------------------------------------------------------------
Cycle
*/
.cycle-hero {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #000;
}


/* Styles pour le hero bien-être */
.bienetre-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bienetre-hero .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bienetre-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.bienetre-hero .container {
  position: relative;
  z-index: 3;
}

.bienetre-hero h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bienetre-hero h2 {
  color: #E8B4BC;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.bienetre-hero .hero-subtitle {
  color: white;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .bienetre-hero {
    min-height: 40vh;
    text-align: center;
  }
  
  .bienetre-hero h1 {
    font-size: 2.5rem;
  }
  
  .bienetre-hero h2 {
    font-size: 1.4rem;
  }
  
  .bienetre-hero .hero-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .bienetre-hero {
    min-height: 40vh;
  }
  
  .bienetre-hero h1 {
    font-size: 2rem;
  }
  
  .bienetre-hero h2 {
    font-size: 1.2rem;
  }
}

/******community ***/
.community-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.z-index-1 {
  position: relative;
  z-index: 2;
}

.community-hero h1,
.community-hero h2,
.community-hero p,
.community-hero .hero-subtitle,
.community-hero .btn-primary-community {
  position: relative;
  z-index: 3;
}

/*-----------------------------Journal ---------------------------------*/
.journal-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.journal-hero .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.journal-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.journal-hero .z-index-1 {
  position: relative;
  z-index: 2;
}

.journal-hero h1,
.journal-hero h2,
.journal-hero .hero-subtitle {
  position: relative;
  z-index: 3;
}

/* Optionnel : Si vous voulez un effet spécial pour le journal */
.journal-hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.journal-hero h2 {
  color: #E8B4BC;
  font-size: 2rem;
  margin-bottom: 20px;
}

.journal-hero .hero-subtitle {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Contact Hero */
.contact-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-hero .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-hero .z-index-1 {
  position: relative;
  z-index: 2;
}

.contact-hero h1,
.contact-hero h2,
.contact-hero .hero-subtitle {
  position: relative;
  z-index: 3;
}

/* Styles spécifiques pour le contact */
.contact-hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact-hero h2 {
  color: #E8B4BC;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-hero .hero-subtitle {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0;
}

/*****Paroles Hero******/

.paroles-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.paroles-hero .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.paroles-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.paroles-hero .z-index-1 {
  position: relative;
  z-index: 2;
}

.paroles-hero h1,
.paroles-hero h2,
.paroles-hero .hero-subtitle,
.paroles-hero .btn-temoigner {
  position: relative;
  z-index: 3;
}

/* Styles spécifiques pour Paroles de femmes */
.paroles-hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.paroles-hero h2 {
  color: #E8B4BC;
  font-size: 2rem;
  margin-bottom: 20px;
}

.paroles-hero .hero-subtitle {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-temoigner {
  background: linear-gradient(135deg, #E8B4BC, #9B72B0);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-temoigner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(232, 180, 188, 0.3);
  color: white;
}
/************Bien etre*********************/

.bienetre-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bienetre-hero .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bienetre-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.2) 0%, rgba(155, 114, 176, 0.2) 100%);
  z-index: 1;
}

.bienetre-hero .z-index-1 {
  position: relative;
  z-index: 2;
}

.bienetre-hero h1,
.bienetre-hero h2,
.bienetre-hero .hero-subtitle {
  position: relative;
  z-index: 3;
}

/* Styles spécifiques pour Bien-être & Santé */
.bienetre-hero h1 {
  color: #7A6B8A;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.bienetre-hero h2 {
  color: #9B72B0;
  font-size: 2rem;
  margin-bottom: 20px;
}

.bienetre-hero .hero-subtitle {
  color: #7A6B8A;
  font-size: 1.2rem;
  margin-bottom: 0;
}

/*****Confidentialité*******/
.privacy-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.privacy-hero .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.privacy-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.privacy-hero .z-index-1 {
  position: relative;
  z-index: 2;
}

.privacy-hero h1,
.privacy-hero .hero-subtitle,
.privacy-hero .badge {
  position: relative;
  z-index: 3;
}

/* Styles spécifiques pour la page Politique de confidentialité */
.privacy-hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
}

.privacy-hero .hero-subtitle {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.privacy-hero .badge {
  font-size: 0.9rem;
  padding: 8px 15px;
}

/******Cookies******/
.cookies-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cookies-hero .hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cookies-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.cookies-hero .z-index-1 {
  position: relative;
  z-index: 2;
}

.cookies-hero h1,
.cookies-hero .hero-subtitle,
.cookies-hero .badge {
  position: relative;
  z-index: 3;
}

/* Styles spécifiques pour la page Cookies */
.cookies-hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
}

.cookies-hero .hero-subtitle {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cookies-hero .badge {
  font-size: 1rem;
  padding: 10px 20px;
}

.cookies-hero .badge.bg-warning {
  background-color: #FF9800 !important;
  color: white;
}

.cookies-hero .badge.bg-info {
  background-color: #2196F3 !important;
  color: white;
}

/* Styles pour Archive et Search Hero */
.archive-hero, .search-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.archive-hero h1, .search-hero h1 {
  color: white !important;
  position: relative;
  z-index: 3;
}

.archive-hero .archive-description, .search-hero p {
  color: white !important;
  font-size: 1.2rem;
  position: relative;
  z-index: 3;
}

/***Ajuster les arrières plan es heros***/
/* Dans votre fichier styles.css, ajoutez cette règle */
body.scrolled-offset #hero1,
body.scrolled-offset #hero,
body.scrolled-offset #hero-section,
body.scrolled-offset .community-hero,
body.scrolled-offset .journal-hero,
body.scrolled-offset .contact-hero,
body.scrolled-offset .paroles-hero,
body.scrolled-offset .bienetre-hero,
body.scrolled-offset .privacy-hero,
body.scrolled-offset .cookies-hero,
body.scrolled-offset .archive-hero,
body.scrolled-offset .search-hero {
  margin-top: 70px !important; /* Compense l'espace pris par le header fixe */
}

/* ============================================
   CARTES UNIFIÉES (DESIGN CYCLE)
   Appliqué à Bien-être, Contact, Journal, etc.
============================================ */

/* Base commune pour les cartes "Chic" */
.natural-remedy-card-chic,
.hygiene-card-chic,
.mental-health-card,
.contact-info-card,
.podcast-card,
.video-card,
.alimentation-card,
.consultation-card,
.impact-card,
.resources-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  border: 1px solid #f0e6ea;
  box-shadow: 0 10px 30px rgba(155, 114, 176, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.natural-remedy-card-chic:hover,
.hygiene-card-chic:hover,
.mental-health-card:hover,
.contact-info-card:hover,
.podcast-card:hover,
.video-card:hover,
.alimentation-card:hover,
.consultation-card:hover,
.impact-card:hover,
.resources-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(155, 114, 176, 0.15);
  border-color: #E8B4BC;
}

/* Icônes dans les cartes */
.remedy-icon-wrapper,
.contact-icon,
.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.2) 0%, rgba(155, 114, 176, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #9B72B0;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.natural-remedy-card-chic:hover .remedy-icon-wrapper,
.contact-info-card:hover .contact-icon {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
}

/* Titres des cartes */
.natural-remedy-card-chic h4,
.hygiene-card-chic h4,
.mental-health-card h4,
.contact-info-card h4,
.podcast-card h4,
.video-card h5,
.alimentation-card h4,
.consultation-card h5,
.impact-card h5,
.resources-card h5 {
  color: #5D4E6D;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

/* Listes dans les cartes */
.hygiene-card-chic ul,
.mental-health-card ul {
  padding-left: 0;
  list-style: none;
}

.hygiene-card-chic ul li,
.mental-health-card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #666;
}

/* ============================================
   NOUVEAUX STYLES TÉMOIGNAGES (4 COLONNES)
============================================ */

/* Bouton "Voir tous les témoignages" */
.btn-see-all-testimonials {
  display: inline-flex;
  align-items: center;
  padding: 12px 35px;
  background-color: transparent;
  border: 2px solid #9B72B0;
  color: #9B72B0;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-see-all-testimonials:hover {
  background-color: #9B72B0;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(155, 114, 176, 0.2);
}

/* Bouton "Envoyer mon témoignage" */
.btn-submit-testimonial {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(155, 114, 176, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-width: 250px;
}

.btn-submit-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(155, 114, 176, 0.4);
  color: white;
  background: linear-gradient(135deg, #9B72B0 0%, #E8B4BC 100%);
}

.btn-submit-testimonial i {
  font-size: 1.2rem;
}

/* --- CARTE TÉMOIGNAGE UNIFIÉE --- */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #f0e6ea;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(155, 114, 176, 0.15);
  border-color: #E8B4BC;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8B4BC, #9B72B0);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.testimonial-content {
  flex-grow: 1;
  margin-bottom: 15px;
}

.testimonial-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  margin-bottom: 10px;
}

.read-more-testimonial {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9B72B0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.read-more-testimonial:hover {
  color: #E8B4BC;
}

.read-more-testimonial i {
  margin-left: 5px;
  transition: transform 0.2s;
}

.read-more-testimonial:hover i {
  transform: translateX(3px);
}

.testimonial-tags {
  border-top: 1px solid #f5f0f5;
  padding-top: 12px;
  margin-top: auto;
}

/* ============================================
   PAGE JOURNAL - RECHERCHE & FILTRES
============================================ */

.search-form .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(155, 114, 176, 0.25);
  border-color: #9B72B0;
}

.search-form button:hover {
  background-color: #E8B4BC !important;
  border-color: #E8B4BC !important;
}

/* Ajustement des cartes blog pour qu'elles soient uniformes */
.blog-card .blog-content {
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px); /* Hauteur totale moins l'image */
}

.blog-card .blog-meta {
  margin-top: auto; /* Pousse les métadonnées vers le bas */
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  display: flex;
  align-items: center;
}

/* ============================================
   BOUTONS "VOIR PLUS" (JOURNAL)
============================================ */
.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 35px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid #9B72B0;
  color: #9B72B0;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 20px;
  cursor: pointer;
}

.btn-load-more:hover {
  background: #9B72B0;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(155, 114, 176, 0.3);
}

.btn-load-more i {
  font-size: 1.2rem;
}

/* ============================================
   PLACEHOLDER IMAGE JOURNAL
============================================ */
.placeholder-img-journal {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
}

/* ============================================
   PAGE CONTACT
============================================ */
.contact-card {
  border-color: #f0e6ea !important;
}

.contact-card h3 {
  font-weight: 700;
}
.hygiene-card-chic ul li::before,
.mental-health-card ul li::before {
  content: "\F26A"; /* Bootstrap icon check */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: #E8B4BC;
  font-weight: bold;
}

/* Badges et Tips */
.remedy-tips,
.hygiene-tips {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.9rem;
  color: #9B72B0;
}

/* Spécifique Podcast & Vidéo */
.podcast-card .episode-info,
.video-card .video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #888;
}

.video-thumbnail {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Boutons de lecture (Journal) --- */

/* Bouton Podcast "À la une" */
.btn-play {
  background: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(232, 180, 188, 0.4);
  transition: all 0.3s ease;
  padding: 0;
  cursor: pointer;
}

.btn-play:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(232, 180, 188, 0.6);
  background: #fff;
}

.btn-play i {
  font-size: 2.5rem !important;
  color: #E8B4BC !important;
  margin-left: 4px; /* Correction optique pour centrer le triangle */
  transition: color 0.3s;
}

.btn-play:hover i {
  color: #9B72B0 !important;
}

/* Bouton Podcast "Liste" */
.btn-play-episode {
  background: transparent;
  border: 2px solid #E8B4BC;
  color: #E8B4BC;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.btn-play-episode:hover {
  background: #E8B4BC;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(232, 180, 188, 0.3);
}

/* Bouton Vidéo (Overlay) */
.play-button {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8B4BC;
  font-size: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(5px);
}

.video-card:hover .play-button {
  background: #E8B4BC;
  color: white;
  transform: scale(1.1);
}

/* Centrage optique de l'icône play */
.video-card .play-button i {
  margin-left: 5px; 
}

/* Spécifique Alimentation Card */
.alimentation-card .phase-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.alimentation-card .phase-icon-small {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(232, 180, 188, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 15px;
}

/* Spécifique Consultation Card */
.consultation-card {
  text-align: center;
}

.consultation-card .consultation-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(232, 180, 188, 0.2) 0%, rgba(155, 114, 176, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #9B72B0;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.consultation-card:hover .consultation-icon {
  background: linear-gradient(135deg, #E8B4BC 0%, #9B72B0 100%);
  color: white;
}

/* Spécifique Ressources Card */
.resources-card .resource-item {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s;
}

.resources-card .resource-item:last-child {
  border-bottom: none;
}

/* ============================================
   DISCLAIMER MÉDICAL (OBLIGATOIRE)
============================================ */
.medical-disclaimer-bar {
  background-color: #fff3cd;
  color: #856404;
  padding: 12px 0;
  border-top: 1px solid #ffeeba;
  position: relative;
  z-index: 999;
  font-weight: 600;
  font-size: 14px;
}

.medical-disclaimer-bar i {
  color: #856404;
}

/* ============================================
   COOKIE CONSENT BANNER
============================================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #5D4E6D;
  color: white;
  padding: 20px;
  z-index: 1050;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-consent-banner p {
  margin: 0;
  font-size: 14px;
}

.cookie-consent-banner a {
  color: #E8B4BC;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-consent-banner .btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: white;
}

.cookie-consent-banner .btn-outline-light:hover {
  background: white;
  color: #5D4E6D;
}

@media (max-width: 768px) {
  .cookie-consent-banner .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
