/* =============================
   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;
  --text-light: #666;
  --border-color: #e0e0e0;
  
  /* 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;
}
.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 MINIMALISTE
============================= */
.site-footer {
  background: var(--secondary-bg);
  color: var(--primary-color);
  border-top: 2px solid var(--accent-color);
  margin-top: 0;
}

/* Section principale - 3 colonnes sur desktop */
.footer-main {
  padding: 3rem 0 2rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Logo et description */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-certifications {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-certifications img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-certifications img:hover {
  opacity: 1;
}

/* Navigation simple */
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

/* Contact simplifié */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info address {
  font-style: normal;
  line-height: 1.6;
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-info .phone {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.contact-info .phone:hover {
  color: var(--primary-color);
}

.contact-info .tarif {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0;
  font-style: italic;
}

/* Section carte */
.footer-map {
  padding: 2.5rem 0;
  background: white;
  border-top: 1px solid var(--border-color);
}

.map-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: auto 2fr;
  gap: 2.5rem;
  align-items: center;
}

.map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.map-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.map-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1rem;
}

.map-cta:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lien contact vers agenda - amélioration visibilité */
.btn-rdv {
  cursor: pointer;
  background: var(--accent-color) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.btn-rdv:hover {
  background: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2) !important;
}

/* Footer bottom simplifié */
.footer-bottom {
  background: var(--primary-color);
  padding: 1.5rem 0;
  color: white;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.social-media {
  display: flex;
  gap: 1rem;
}

.social-media a {
  color: white;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.social-media a:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

/* Modal RDV */
.appointment-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.appointment-modal.show {
  display: flex;
}
.appointment-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
}
.appointment-container {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  max-width: 90%;
  width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 10001;
}
.appointment-close {
  position: absolute;
  top: 0.5rem; right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* =============================
   MEDIA QUERIES FOOTER RESPONSIVE
============================= */

/* Large Desktop (≥ 1200px) */
@media (min-width: 1200px) {
  .footer-content {
    gap: 4rem;
  }
}

/* Tablettes (≤ 1024px) */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-contact {
    grid-column: span 2;
    text-align: center;
  }
  
  .map-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Tablettes (≤ 768px) */
@media (max-width: 768px) {
  .footer-main {
    padding: 2rem 0 1.5rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    text-align: center;
  }
  
  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .map-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .map-wrapper {
    height: 220px;
  }
  
  .social-media a {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .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;
  }
}

/* Mobiles (≤ 480px) */
@media (max-width: 480px) {
  .footer-main {
    padding: 2rem 0 1.5rem 0;
  }
  
  .footer-content {
    padding: 0 1rem;
    gap: 1.5rem;
  }
  
  .footer-logo img {
    height: 50px;
  }
  
  .footer-nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .footer-nav a {
    font-size: 1rem;
    padding: 0.3rem 0;
  }
  
  .footer-certifications {
    justify-content: center;
  }
  
  .social-media {
    gap: 0.8rem;
  }
  
  .social-media a {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .map-content {
    padding: 0 1rem;
  }
  
  .map-wrapper {
    height: 180px;
  }

  h1 { font-size: 2vh; }
  h2 { font-size: 2.5vh; }
  h3 { font-size: 2vh; }
  p  { font-size: 1.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; }
}

/* Très petits écrans (≤ 320px) */
@media (max-width: 320px) {
  .footer-content,
  .map-content {
    padding: 0 0.5rem;
  }
  
  .footer-nav ul {
    gap: 0.5rem;
  }
  
  .social-media {
    gap: 0.5rem;
  }
  
  .social-media a {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  
  .map-content {
    padding: 0 0.5rem;
  }
  
  .map-wrapper {
    height: 160px;
  }
}