
/* =============================
   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: 2vh;
  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;
}


/* SECTION DÉROULEMENT D'UNE SÉANCE */

/* SECTION FRESH APPROACH */
.fresh-approach {
  background-color: #f9f9f9;
  padding: 4rem 1rem;
  text-align: center;
 
}

/* Titre / Sous-titre */
.fresh-approach .intro-text {
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.fresh-approach h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #648A80;
  margin-bottom: 0.5rem;
}

.fresh-approach h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #3f3f3f;
  margin-bottom: 1rem;
}

.fresh-approach p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* CONTENEUR DU CERCLE */
.cycle-container {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 2rem auto; 
}
/* Le cercle en arrière-plan */
.cycle-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;  
  height: 380px;
  border: 2px dashed #648a8013;
  border-radius: 50%;
  z-index: 0;
}

/* TEXTE CENTRAL */
.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px; 
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.center-text h3 {
  font-size: 1.3rem;
  color: #648A80;
  margin-bottom: 0.5rem;
}

.center-text p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.4;
}

/* ICÔNES (4 points) */
.cycle-step {
  position: absolute;
  font-size: 4.5rem; /* Agrandir l’icône */
  color: #648A80;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

/* On assombrit par défaut (dimmed) */
.cycle-step.dimmed {
  opacity: 0.3;
  color: #999; 
}

/* Positionnement (exemple) */
.step1 {
  top: 10%;
  left: 50%;
}
.step2 {
  top: 50%;
  left: 90%;
}
.step3 {
  top: 89%;
  left: 50%;
}
.step4 {
  top: 50%;
  left: 10%;
}

/* Responsive */
@media (max-width: 768px) {
  .cycle-container {
    width: 300px;
    height: 300px;
  }
  .cycle-container::before {
    width: 250px;
    height: 250px;
  }
  .center-text {
    width: 180px;
  }
  .cycle-step {
    font-size: 2rem;
  }
  .step1 { top: 5%;  left: 50%; }
  .step2 { top: 50%; left: 95%; }
  .step3 { top: 95%; left: 50%; }
  .step4 { top: 50%; left: 5%; }
}


/* =============================
   CARDS GRID
============================= */
.progression-section {
  background-color: #648A80;
  padding: 3rem 1rem;
  text-align: center;
  
}

.progression-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.progression-section h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}
.progression-section h2 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4rem;
}
.progression-section p {
  font-size: 1rem;
  color: #4a4a4a;
  margin-bottom: 2rem;
}

/* La liste verticale des étapes */
.progression-steps {
  position: relative;
  margin: 2rem 0;
}

/* Ligne verticale (pseudo-élément) */
.progression-steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background-color: #f5f5de;
  opacity: 0.3;
  transform: translateX(-50%);
  z-index: 0;
}

/* Chaque étape */
.step {
  position: relative;
  width: 50%;
  margin-bottom: 2rem;
  padding: 0 1rem;
  text-align: left;
}

/* Icône à gauche, texte à droite */
.step-icon {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* On alterne la position des étapes (gauche/droite) */
.step:nth-child(odd) {
  left: 0; /* s’aligne à gauche */
  text-align: right; /* texte aligné à droite */
}
.step:nth-child(even) {
  left: 50%; /* s’aligne à droite */
  text-align: left; /* texte aligné à gauche */
}

/* Contenu (titre + paragraphe) */
.step-content {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

/* Position de l’icône et la ligne reliant l’icône au centre */
.step-icon {
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* On relie la box au centre avec un petit trait ou un triangle 
   Optionnel : style plus "timeline" */
.step-content::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}

/* Sur la gauche */
.step:nth-child(odd) .step-content::before {
  right: -16px;
  border-left: 8px solid #fff; 
}
/* Sur la droite */
.step:nth-child(even) .step-content::before {
  left: -16px;
  border-right: 8px solid #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .progression-steps::before {
    left: 4px; /* On décale la ligne */
  }
  .step {
    width: 100%;
    text-align: left !important;
    left: 0 !important;
    margin-bottom: 2rem;
    padding: 0 2rem;
  }
  .step-content::before {
    left: -16px; /* on garde un style unique */
    border-right: 8px solid #fff;
  }
}

/* =============================
   VIDEO SECTION
============================= */
/* SECTION CONSEILS PRATIQUES */
.practical-tips {
  background-color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.practical-tips .container {
  max-width: 800px;
  margin: 0 auto;
}

.practical-tips h2 {
  font-size: 2rem;
  color: #648A80;
  margin-bottom: 1.5rem;
}

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

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  padding: 0 1rem;
}

.tips-list li i {
  font-size: 1.8rem;
  color: #648A80;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.tip-content {
  text-align: left;
}

.tip-content strong {
  color: #35495E;
  display: block;
  margin-bottom: 0.3rem;
}

.tip-content span {
  color: #4a4a4a;
  line-height: 1.4;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .tips-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tip-content strong,
  .tip-content span {
    text-align: center;
  }
}


.reflexo-science {
  background-color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.reflexo-science .container {
  max-width: 800px;
  margin: 0 auto;
}

.reflexo-science h2 {
  font-size: 2rem;
  color: #648A80;
  margin-bottom: 1rem;
}

.reflexo-science p {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.call-to-action {
  background-color: #648A80;
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.call-to-action .container {
  max-width: 800px;
  margin: 0 auto;
}

.call-to-action h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.call-to-action p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.call-to-action .btn-inscrire2 {
  background-color: #fff;
  color: #648A80;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.call-to-action .btn-inscrire2:hover {
  background-color: #e5e5e5;
}


/* =============================
   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;
}
/* =============================
   MEDIA QUERIES (max-width: 768px)
============================= */
@media screen and (max-width: 768px) {
  h1 { font-size: 4vw; font-weight: 500; line-height: 1.3; padding-bottom: 1rem; }
  h2 { font-size: 3.5vw; font-weight: 400; line-height: 1.3; padding-bottom: 1rem; }
  h3 { font-size: 3vw; font-weight: 400; line-height: 1.3; padding-bottom: 1rem; }
  p { font-size: 2.5vw; font-weight: 300; line-height: 1.6; padding-bottom: 1rem; }
  
 
  
  
  .btn-inscrire { font-size: 2vw; }
  .btn-inscrire2 { font-size: 2.5vw; margin-bottom: 2rem; margin-left: 0; }
  
  /* HERO SECTION */
  .hero { grid-template-columns: 1fr; min-height: 35vw; }
  .hero-right { order: -1; }
  .hero-left { text-align: left; padding-bottom: 0rem; padding-top: 0rem; }
  .hero-text h1 { font-size: 6vw; margin-left: 2rem; padding-top: 2rem; font-weight: 400;}
  .hero-text h3 { font-size: 4vw; margin-left: 2rem; padding-top: 2rem; font-weight: 200;}

  .hero .btn-inscrire2 { margin-left: 4rem; }
  .hero-right video { width: 100%; height: 30vh; object-fit: cover; }
  
  .reflexo h2 { margin-left: 2rem; }
  .reflexo p { margin: 0 2rem; }
  .reflexo-video { max-width: 770px; }
  
  /* FOOTER */
  .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;
  }
}

/* =============================
   MEDIA QUERIES (max-width: 430px)
============================= */
@media (max-width: 430px) {
  h1 { font-size: 6vw; font-weight: 500; line-height: 1.3; padding-bottom: 1rem; }
  h2 { font-size: 5vw; font-weight: 400; line-height: 1.3; padding-bottom: 1rem; }
  h3 { font-size: 4vw; font-weight: 400; line-height: 1.3; padding-bottom: 1rem; }
  p { font-size: 3.5vw; font-weight: 300; line-height: 1.6; padding-bottom: 0; }
  
 
  .btn-inscrire { font-size: 4vw; }
  .btn-inscrire2 { font-size: 3.5vw; margin-bottom: 2rem; }
  
  /* HERO SECTION */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { order: -1; }
  .hero-left { text-align: left; padding: 0; }
  .hero-text h1 { font-size: 8vw; margin-left: 1rem; padding-top: 2rem; }
  .hero-text h3 { font-size: 6vw; margin-left: 1rem; padding-top: 0rem; }
  .hero .btn-inscrire2 { font-size: 4vw; margin-left: 3rem;}
  .hero-right video { width: 100%; height: 30vh; object-fit: cover; }
  .reflexo { padding-bottom: 0rem; padding-top: 0rem;}
  .reflexo h2 { font-size: 5vw; margin-left: 1rem; padding-top: 2rem;}
 .reflexo p { font-size: 4vw; margin-left: 1rem; padding-bottom: 0rem;}
  .video-section .container { margin-left: 0; }
  .reflexo-video { max-width: 430px; margin: 0rem 0; }
  /* CARD SECTION */
  .cards-grid {grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));}
  .reflexo li { font-size: 4vw; margin-left: 2rem;}
  
  
  /* FOOTER */
  
  .map-container { padding: 0 1rem; }
  .social-media a { font-size: 1.5rem; }
  .footer-nav ul {flex-direction: column;
  }
}
