/* =============================
   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: var(--h1-size);
  line-height: 1.07;
  font-weight: 600;
  text-align: center;
}

.typography-hero-intro {
  font-size: var(--h2-size);
  line-height: 1.45;
  font-weight: 400;
  margin-top: 0.8em;
  margin-bottom: 0.5em;
  text-align: center;
}

.typography-headline-reduced {
  font-size: var(--h3-size);
  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
============================= */
.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: var(--accent-color);
  color: var(--light-bg);
  padding: 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 ENTREPRISE
============================= */
.engagement {
  padding: 2rem;
}
.engagement p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  color: var(--primary-color);
  text-align: center;
}
.engagement .typography-headline-reduced {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  text-align: center;
  margin-top: 2rem;
}
.btn-inscrire4 {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(74,74,74,0.67);
  color: var(--light-bg);
  padding: 0.7rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  max-width: fit-content;
  z-index: 1000;
}
.btn-inscrire {
  
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(74,74,74,0.67);
  color: var(--light-bg);
  padding: 0.7rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  max-width: fit-content;
  z-index: 1000;
}

/* =============================
   CORPORATE SECTION
============================= */
.corporate {
  background-color: var(--accent-color);
  color: var(--light-bg);
  padding: 3rem 1rem;
  padding-bottom: 4rem;
  padding-top: 3rem;
}
.corporate .container {
  max-width: 1200px;
  margin: 0 auto;
}
.corporate .intro-text {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  text-align: center;
}
.corporate .intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.corporate .intro-text p {
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 4rem;
}

/* Grille de cartes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.cards-grid .card {
  background-color: var(--light-bg);
  color: var(--primary-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.cards-grid .card:hover {
  transform: translateY(-3px);
}
.card-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}
.cards-grid .card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.cards-grid .card ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.cards-grid .card p {
  margin-bottom: 1rem;
  line-height: 1.5;
}
.emphase {
  font-weight: 600;
  color: #f5f5f5;
}

/* =============================
   SESSION ORGANIZATION (CARDS FAN)
============================= */
.cards-fan {
  background-color: var(--secondary-bg);
  padding: 3rem 1rem;
  text-align: center;
}
.cards-fan h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}
.cards-fan p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: var(--primary-color);
  line-height: 1.5;
  margin-bottom: 4rem;
}
.fan-wrapper {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  height: 350px;
}
.fan-card {
  position: absolute;
  width: 280px;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  padding: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0.4s;
  cursor: pointer;
  margin-bottom: 4rem;
}
.icon-hiero {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.fan-card:hover {
  z-index: 999;
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}
/* Couleurs de fond pour les cartes fan */
.card1 { background-color: #F5F5DE; }
.card2 { background-color: #ccf3e8; }
.card3 { background-color: #d5e3f3; }
.card4 { background-color: #cccaca; }
/* Positionnement initial des cartes (effet éventail) */
.card1 {
  top: 0;
  left: 30%;
  transform: rotate(-10deg);
  z-index: 4;
}
.card2 {
  top: 40px;
  left: 35%;
  transform: rotate(-3deg);
  z-index: 3;
}
.card3 {
  top: 80px;
  left: 40%;
  transform: rotate(3deg);
  z-index: 2;
}
.card4 {
  top: 120px;
  left: 45%;
  transform: rotate(10deg);
  z-index: 1;
}
/* Mobile adjustments for fan cards */
@media (max-width: 768px) {
  .fan-wrapper {
    /* Passez en flex-colonne pour empiler les cartes */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: auto;  /* Laissez la hauteur s'ajuster */
    position: static; /* Optionnel : supprimez le positionnement relatif si vous voulez */
  }

  .fan-card {
    /* On retire le positionnement absolu */
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    
    /* Largeur adaptée pour mobile */
    width: 90%;
    max-width: 300px;
    margin: 0 auto;   /* Centrer la carte */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Effet hover plus léger ou identique */
  .fan-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  }
}


/* =============================
   PRICING SECTION
============================= */
.pricing-section {
  background-color: var(--light-bg);
  padding: 2rem 1rem;
}
.pricing-section .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.pricing-section h2 {
  color: var(--accent-color);
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.pricing-cards .card {
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.pricing-cards .card:hover {
  transform: translateY(-3px);
}
.pricing-cards .card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  font-size: 1.3rem;
}
.pricing-cards .card .price {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
}
.pricing-cards .card p {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #555;
}
/* Additional info */
.additional-info p {
  margin-top: 3rem;
  color: var(--accent-color);
  line-height: 1.6;
}
/* =============================
   VIDEO SECTION
============================= */
.video-section {
  margin-top: 2rem;
  padding: 2rem 0;
}
.video-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.video-section h2 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.video-section p {
  margin-bottom: 1.5rem;
  color: #4a4a4a;
  line-height: 1.6;
}
.reflexo-video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 1rem auto;
}

/* =============================
   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 POUR MOBILE
============================= */
@media (max-width: 768px) {
  
  
  .apropos-hero {
    height: 60vh;
  }
  .hero-text-center, .apropos-content {
    padding: 1rem;
    font-size: 4vw;
  }
  
  .corporate .intro-text {
    padding: 0 1rem;
    text-align: center;
  }
  .corporate .intro-text h2 {
    font-size: 1.8rem;
  }
  .corporate .intro-text p {
    font-size: 1rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .session-organization .container,
  .pricing-section .container,
  .video-section .container {
    padding: 0 1rem;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .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 (max-width: 480px) {
  h1 { font-size: 3vh; }
  h2 { font-size: 3.5vh; }
  h3 { font-size: 3vh; }
  p  { font-size: 2.5vh; }
  .typography-headline-reduced { font-size: 30px; }
  .typography-overview-hero-headline { font-size: 40px; }
  .typography-hero-intro { font-size: 17px; }
  .corporate .intro-text h2 { font-size: 1.6rem; }
  .cards-grid .card h3,
  .pricing-cards .card h3 { font-size: 1rem; }
  .pricing-cards .card .price { font-size: 0.9rem; }
  .video-section h2 { font-size: 1.4rem; }
  .map-container { padding: 0 1rem; }
  .social-media a { font-size: 1.5rem; }
  .footer-nav ul {flex-direction: column;
  }
}
