/* =============================
   RESET & BASE STYLES
============================= */
:root {
  /* Taille de base */
  --base-font-size: 16px;
  --body-font-size: 1rem;         /* 16px */
  --h1-size: 2.5rem;              /* 40px */
  --h2-size: 2rem;                /* 32px */
  --h3-size: 1.5rem;              /* 24px */
  --line-height: 1.5;
  
  /* Couleurs */
  --primary-color: #35495E;
  --accent-color: #648A80;
  --light-bg: #fff;
  --secondary-bg: #f5f5f5;
  
  /* Container */
  --container-width: 90%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: var(--body-font-size);
  line-height: var(--line-height);
  color: var(--primary-color);
  background-color: var(--light-bg);
  letter-spacing: -0.022em;
  display: flex;
  flex-direction: column;
}
.site-wrapper {
  flex: 1 0 auto; 
}
.site-footer {
  flex-shrink: 0;
  background-color: #f5f5f5; 
}
.container {
  width: var(--container-width);
  margin: 0 auto;
}

/* =============================
   TYPOGRAPHY
============================= */
.typography-overview-hero-headline {
  font-size: 56px;
  line-height: 1.07;
  font-weight: 600;
  text-align: center;
}

.typography-hero-intro {
  font-size: 24px;
  line-height: 1.45;
  font-weight: 400;
  margin-top: 0.8em;
  margin-bottom: 2em;
  text-align: center;
}

.typography-headline-reduced {
  font-size: 3vh;
  line-height: 1.1;
  font-weight: 600;
}


/* =============================
   HEADER & NAVIGATION
============================= */

/* Header principal */
.header {
  background-color: rgba(255, 255, 255, 0.81);
}

/* Conteneur du header */
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

/* Logo */
.logo img {
  height: 6vh;  /* Ajustez si nécessaire */
  width: auto;
}

/* Navigation principale */
.nav-links,
.nav-links2 {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

/* Liens de navigation */
.nav-links li a,
.nav-links2 li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 1rem; 
}
.nav-links li a.active,
.nav-links2 li a.active {
  color: var(--accent-color);          
  text-decoration: none;          
  font-weight: 700;                   
}
/* Burger menu (caché sur desktop) */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

/* Barres du burger */
.bar {
  width: 25px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Animation du burger lorsqu’il est ouvert */
.burger.open .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.burger.open .bar:nth-child(2) {
  opacity: 0;
}
.burger.open .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Menu mobile (max-width: 950px) */
@media (max-width: 950px) {
  /* On affiche le burger */
  .burger {
    display: flex;
    z-index: 300; 
    
    padding: 0.5rem; 
    border-radius: 5px;
  }
  .bar {
    width: 25px;
    height: 3px;
    background-color: #648A80; 
  }
  
  /* On masque le menu principal par défaut */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px; /* Ajustez selon la hauteur de votre header */
    right: 1rem;
    background-color: rgba(245, 245, 245, 0.711);
    padding: 1rem;
    border-radius: 4px;
    z-index: 200;
  }
  
  /* Liens du menu mobile */
  .nav-links li a {
    color: var(--primary-color);
    font-size: 1rem;
    
  }
  
  /* Lorsque le menu est "actif" (ouvert) */
  .nav-links.active {
    display: flex;
    z-index: 9999;
   
  }
  
}

/* =============================
   HERO SECTION (Accueil & À propos)
============================= */
.apropos-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}
.apropos-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-text-center,
.apropos-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1rem;
  margin-top: 1rem;
}
.btn-inscrire2 {
  background-color: #648A80;
  color: #fff;
  padding: 0.7rem 0.7rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  margin-top: 2rem;
  max-width: fit-content;

}
.btn-inscrire2:hover {
  background-color: #35495E;
}
.programme-icon {
  margin-bottom: 1rem;
}
/* =============================
   ABOUT SECTION CONTENT
============================= */
.about-content {
  padding: 2rem 0;
  text-align: left;
}
.about-content h2 {
  font-size: 2.5vw;
  color: #648A80;
  margin-bottom: 1rem;
}
.about-content p {
  font-size: 1.8vw;
  margin-bottom: 1.5rem;
}

.btn-inscrire4 {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4a4a4aae;
  color: #fff;
  padding: 0.7rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  max-width: fit-content;
  z-index: 1000; /* Pour qu'il reste au-dessus du reste */
}


/* =============================
   INFO SECTION
============================= */
/* Section Info */
.info-section {
  background-color: #F5F5DE;
  padding: 4rem;
  margin-top: 2rem; /* Séparation avec le hero */
}

.info-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-item {
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 2.5rem;
  color: #648A80; 
  flex-shrink: 0;
}

.info-label {
  color: #1d1d1f;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-value {
  color: #4a4a4a;
  font-weight: 400;
  line-height: 1.5;
}

/* Responsive: 1 seule colonne en dessous de 768px */
@media (max-width: 768px) {
  .info-section {
    padding: 2rem;
  }
  .info-wrapper {
    grid-template-columns: 1fr;
  }
  .info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .info-icon {
    margin-bottom: 1rem;
  }
}

/* =============================
   PROGRAMMES SECTION
============================= */
.programmes {
  background-color: #fff;
  padding: 4rem 2rem;
}
.programmes .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.programme-card {
  position: relative;
  background-color: #f5f5f7;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 1rem;
}
.card-actions {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: baseline;
}
.card-actions .btn-inscrire2 {
  background-color: #648A80;
  color: #fff;
  padding: 0.7rem 0.7rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  margin-top: 2rem;
  display: flex;

  
}
.learn-more {
  color: #648A80;
  text-decoration: none;
  
  padding-bottom: 2px;
  font-size: 1.8vh;
  font-weight: 400;
  transition: all 0.2s ease;
}
.learn-more::after {
  content: "→";
  display: inline-block;
  
  vertical-align: middle;
}
.learn-more:hover {
  color: #35495E;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #648A80;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* =============================
   MENTORS SECTION
============================= */
.noura-section {
  padding: 4rem;
}
.noura-content {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  gap: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.noura-image {
  flex: 1;
  min-width: 350px;
  max-width: 500px;
}
.noura-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.noura-text {
  flex: 1.5;
  padding: 3rem;
}
.noura-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #648A80;
  margin-bottom: 1rem;
}
.noura-text p {
  color: #4a4a4a;
  margin-bottom: 2rem;
}
.agreee {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.agreee img {
  height: 80px;
  width: auto;
}




/* =============================
   SECTION REFLEXO
============================= */
.reflexo-section {
  background-color: #648A80;
  padding: 4rem 2rem;
  
}

.reflexo-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4rem;
}
.reflexo-intro h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}
.reflexo-intro p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
}

/* Conteneur pour chaque bloc (texte + image) */
.reflexo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Pour inverser l'ordre des colonnes */
.reflexo-container.reverse {
  flex-direction: row-reverse;
}

/* Colonne texte */
.reflexo-text {
  flex: 1;
  max-width: 400px;
}
.reflexo-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
}
.reflexo-text p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #fff;
}
.reflexo-link {
  display: inline-block;
  background-color: #F5F5DE;
  color: #648A80;
  padding: 0.7rem 0.7rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.reflexo-link:hover {
  background-color: #e5e5e5;
}

/* Colonne image */
.reflexo-image {
  flex: 1;
  max-width: 400px;
}
.reflexo-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
  .reflexo-container {
    flex-direction: column;
    text-align: center;
    
  }
  .reflexo-container.reverse {
    flex-direction: column;
    
  }
  .reflexo-text,
  .reflexo-image {
    max-width: 100%;
  }
  .reflexo-image {
    margin-top: 0rem;
padding: 3rem;  }
}

/* =============================
   MEDIA QUERIES
============================= */

/* Écrans ≤ 768px : on empile texte et image en colonne */
@media (max-width: 768px) {
  .reflexo-container {
    flex-direction: column;
    text-align: center;
  }
  .reflexo-text,
  .reflexo-image {
    flex: unset;
    max-width: 100%;
  }
  .reflexo-image img {
    max-width: 100%;
    margin-top: 1rem;
  }
}

/* =============================
   CABINET SECTION
============================= */
.cabinet img {
max-height: 300px;
border-radius: 10px;

}
.photo_cabinet-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-around;
  margin-bottom: 2rem;
}
.cabinet .container  {
  max-width: 700px;
  margin: 0 auto;
  margin-top: 0rem;
  text-align: center;
  padding: 2rem;
  
}
.cabinet .typography-headline-reduced {
  color: #648A80;
  margin-bottom: 1rem;
}

/* =============================
   BIENFAITS SECTION
============================= */
.bienfaits {
  background-color: #F5F5DE;
  padding: 4rem 2rem;
}
.bienfaits .container {
  max-width: 1200px;
  margin: 0 auto;
}
.bienfaits-text {
  text-align: left;
  margin-bottom: 2rem;
}
.bienfaits-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #648A80;
  margin-bottom: 1rem;
}
.bienfaits-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.bienfaits-placeholder {
  background-color: #F5F5DE;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.bienfaits-placeholder video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* =============================
   FOOTER
============================= */
.site-footer {
  background-color: var(--light-bg);
  color: #000;
  margin-top: 2rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-direction: row;
}
.footer-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 400;
}
.footer-nav a:hover {
  color: var(--accent-color);
}
.map-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
.footer-top {
  text-align: center;
  margin-top: 1rem;
}
.social-media a {
  color: var(--accent-color);
  font-size: 2rem;
  margin: 0 0.5rem;
  transition: color 0.3s;
}
.social-media a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  background-color: #35495E;
  text-align: center;
  padding: 1rem 0;
  color: #fff;
}
.footer-bottom-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* =============================
   ABOUT
============================= */
.engagement {
  padding: 2rem;
}

.engagement p {
font-size: 1.5vh;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    color: #4a4a4a;
    text-align: center;
  }

  .engagement .typography-headline-reduced {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #648A80;
    text-align: center;
  }

  

  

/* ====== Container général des cartes ====== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 2rem;
  background: #fafaf4;
  color: #4a4a4a;
  max-width: 1200px;
  margin: 0 auto;

}

/* ====== Carte ====== */
.card {
  background: #648A80;
  border-radius: 10px;
  position: relative;
 height: 380px; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-front,
.card-back {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  transition: opacity 0.4s, visibility 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: #fff;
}

/* Bouton placé en bas à droite */
.toggle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #f5f5f7;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  color: #648A80;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Face arrière masquée par défaut */
.card-back {
  opacity: 0;
  visibility: hidden;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.card-back p {
  font-size: 1.3vh;
  
  max-width: 90%;
  margin: 0 auto;
}

/* Activation de la face arrière */
.card.active .card-front {
  opacity: 0;
  visibility: hidden;
}
.card.active .card-back {
  opacity: 1;
  visibility: visible;
}

/* Icône + Titre (face avant) */
.icon {
  font-size: 6vh;
  font-weight: 600;
  color: #fff;
}
.card-front h3 {
  font-size: 2.5vh;
  margin-top: 1rem;
  color: #fff;
}



.faq-content .container {
  background-color: #fff;   
  color: #000;             
  padding: 5rem 0;         
  
}





/* FAQ */
.faq-section {
  background-color: #648A80;
  padding: 2rem 0;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-content .typography-headline-reduced {
  padding-top: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.faq-bullet {
  font-size: 1.8vh;
  font-weight: 300;
  color: #fff;
  margin-left: 3rem;
  line-height: 1.3;
}

/* DETAILS (ACCORDÉON) */
details {
  border-bottom: 1px solid #fff;
  padding: 1rem 0;
  margin-bottom: 1rem;
}

details summary {
  cursor: pointer;
  font-size: 1.8vh;
  font-weight: 400;
  outline: none;
  position: relative;
  padding-right: 1.5rem;
  color: #fff;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 2vh;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

details[open] summary::after {
  content: "−";
}

details summary marker {
  display: none;
}
details summary {
 
  list-style: none;
  
}

details summary marker {
  display: none; 
}


details summary::-webkit-details-marker {
  display: none;
}
details p {
  margin: 1rem 2rem;
  color: #fff;
  

}

/* =============================
   MEDIA QUERIES
============================= */

/* Pour les écrans de largeur max 768px */
@media (max-width: 768px) {
  .faq-content {
    max-width: 90%;
  }
  
  
  
  .faq-bullet {
    
    margin-left: 1rem;
  }
  
  details {
    padding: 0.8rem 0;
    margin-bottom: 0.8rem;
  }
  
  details summary {
  
    padding-right: 1rem;
  }
  
  
  
  details p {
    margin: 0.8rem 1rem;
    font-size: 1rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }
  .map-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
  }
  .social-media a {
    font-size: 1.8rem;
  }

}

/* Pour les écrans de largeur max 480px */
@media (max-width: 480px) {
 
  .faq-bullet {
    
    margin-left: 0.5rem;
  }
  
  details {
    padding: 0.6rem 0;
    margin-bottom: 0.6rem;
  }
  
  details summary {
    
    padding-right: 0.8rem;
  }
  
  .engagement p {
    font-size: 2vh;
        line-height: 1.5;
        max-width: 900px;
  }
  details p {
    margin: 0.6rem 0.8rem;
    
  }
}



/* ====== Media Queries ====== */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 250px; /* Ajustez si besoin pour un rendu mobile */
  }
  .card-front h3 {
    font-size: 1.8rem;
  }
  .icon {
    font-size: 4rem;
  }
 .learn-more a {
    font-size: 1.5rem;
  }
  .toggle {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
  .noura-section {
    padding: 2rem;
  }
  .noura-content {
    flex-direction: column-reverse;
    text-align: center;
    padding: 1rem;
  }
  .noura-text {
    padding: 1rem;
    padding-top: 0rem;
  }
  .noura-image img {
    width: 70%;
    border-radius: 10px;
    align-items: center;
  }
  .noura-image {
    flex: 0;
    min-width: 400px;
    max-width: 400px;
    align-items: center;
    
    
}
.agreee {
  gap: 1rem;
  align-items: center;
  flex-direction: column;
}

}


@media (max-width: 480px) {
  .card {
    min-height: 120px;
  }
  .card-front h3 {
    font-size: 1.6rem;
  }
  .card-back p {
    font-size: 1rem;
  }
  .cabinet p {
    font-size: 1rem;
  }
  .icon {
    font-size: 3rem;
  }
  .info-value {
    font-size: 1rem;
  }
  .info-label {
    font-size: 1rem;
  }
  .toggle {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 2rem;
  }
  
  .bienfaits-text p {
    font-size: 1rem;
  }
.btn-inscrire4 {
font-size: 1rem;
}
.map-container { padding: 0 1rem; }
  .social-media a { font-size: 1.5rem; }
  .footer-nav ul {flex-direction: column;
  }
}


/* =============================
   MEDIA QUERIES
============================= */


@media (max-width: 500px) {
  .typography-overview-hero-headline {
    font-size: 38px;
  }
  .typography-hero-intro {
    font-size: 20px;
  }
  .apropos-content h1 {
    font-size: 32px;
  }
  
  .about-content h2 {
    font-size: 3vw;
  }
  .about-content p {
    font-size: 2vw;
  }
  .cards-grid {
    max-width: 1200px;
  }
  
.photo_cabinet-grid {
  flex-direction: column;
  max-width: none;
}

.cabinet img {
 max-width: 400px;
margin: 0 auto;

}
  
}

/* Pour les écrans ≤ 500px */
@media (max-width: 500px) {
 
  .apropos-hero {
    height: 50vh;
  }
  .apropos-content {
    padding: 0rem 0rem;
    text-align: left;
  }
  .apropos-content h1 {
    font-size: 5vw;
  }
  .btn-inscrire2 {
    padding: 0.5rem 0.5rem;
    font-size: 3vw;
    margin-left: 0rem;
    max-width: fit-content;
  }
  .container {
    width: 100%;
  }
  
 
 
  
 


}