/* ===== PAGE APPROCHE - STYLES SPÉCIFIQUES ===== */

/* Ajoute au début du fichier */
/* Ajoute au début du fichier */
html, body {
  height: 100%;
  overflow-y: auto; /* ← Permet le scroll naturel */
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  min-height: 100vh; /* ← Au lieu d'une hauteur fixe */
}

.approche-main {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

.container {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.eye-container {
    top: 54%;
    left: 81%;
    width: 75px; 
    height: 48px;
}

.color-v{
    color: #af00b2;
  font-weight: 700 ;
}


header {
  position: relative;
}

#menu-wrapper{
  background-color: var(--bg);
}

#menu-wrapper li a {
  color: white;
}

#top{
  background-color: white;
}
.hero-section {
  background: white;
  padding: 120px 20px 150px;
  margin-bottom: 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section p{
  z-index: 10;
  color: black;
}

#hero-title{
  color: var(--bg);
}

/* Main Content */
.approche-main {
  background: white;
}

/*Cercke*/
#hero-title {
  color: var(--bg);
  position: relative;
  z-index: 2;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, rgba(132, 184, 255, 0.3) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-section h1,
.hero-section p {
  position: relative;
  z-index: 2;
}

/* Section Styles */
.approach-section {
  padding: 100px 0;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
}


.strategic-guide {
  margin: 0;
  background: linear-gradient(180deg, rgba(132, 184, 255, 1)  0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
  overflow-x: hidden !important; /* ← Renforcez */
  max-width: 100vw !important; /* ← Renforcez */
  padding: 60px 0; /* ← Ajoutez du padding au lieu de margin */
  position: relative; /* ← Ajoutez pour contenir l'arc-cercle */
}

.why-important {
  color: white;
  overflow-x: hidden;    /* ← AJOUTE */
  max-width: 100vw;      /* ← AJOUTE */
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  overflow-x: hidden;        /* ← AJOUTE */
  box-sizing: border-box;    /* ← AJOUTE */
}

.section-content {
  display: flex;
  align-items: center;
  gap: 80px;
  overflow-x: hidden;    /* ← AJOUTE */
  max-width: 100%;       /* ← AJOUTE */
}
.section-content.reverse {
  flex-direction: row-reverse;
  
  
}

.section-text {
  flex: 1;
}

.section-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  margin-left: 0 !important;
  color: var(--primary);
  line-height: 1.2;
}

.why-important .section-text h2 {
  color: black;
}

.section-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: black;
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
}

.why-important .section-text p {
  color: #e2e8f0;
}


.square-bg {
  position: absolute;
  width: 250px;
  height: 250px;
  z-index: 0;
  opacity: 1;
  transition: transform 0.3s ease;
}

.square-bg:nth-child(1) {
  background: var(--secondary);
  transform: rotate(20deg);
  z-index: 1;
}

.square-bg:nth-child(2) {
  background: #af00b2;
  transform: rotate(-15deg);
  z-index: 2;
}

/* Stats Card */
.stats-card {
  text-align: center;
  justify-content: center;
  width: 250px;
  height: 250px;
  opacity: 1;
  position: relative;
  z-index: 10; /* ← Assure que la carte est au-dessus */
  background: black;
  box-shadow: 0 20px 60px rgba(0, 35, 77, 0.15);
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: transform 0.3s ease;
}


.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
  font-family: "Josefin Sans", sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: white;
  font-weight: 600;
}



.strategy-step i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.strategy-step:hover i {
  color: var(--primary);
}


.strategy-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.bold{
  font-weight: 700;
}

/* Strategy List */
.strategy-list {
  list-style:disc;
  margin-top: 30px;
}

.strategy-list li {
  align-items: center;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: black;
}

.strategy-list i {
  color: var(--secondary);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* Why Important Section */

.importance-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}

.importance-header h2 {
  font-size: 3rem;
  margin: 0;
  color: black;
}

.compass-icon {
  font-size: 4rem;
  color: var(--secondary);
  animation: compassRotate 8s infinite linear;
}

@keyframes compassRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary);
}


/* Call to Action */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 100px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  margin-left: 0 !important;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: white;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 3px solid var(--primary);
}

.btn-primary:hover {
  background: white;
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(239, 62, 54, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-eye-container {
  position: absolute;
  top: -50px;
  right: -100px;
  opacity: 0.3;
  pointer-events: none;
}

.cta-eye {
  width: 200px;
  height: 120px;
  transform: rotate(15deg);
  animation: ctaEyeFloat 6s infinite ease-in-out;
}

@keyframes ctaEyeFloat {
  0%,
  100% {
    transform: rotate(15deg) translateY(0px);
  }
  50% {
    transform: rotate(15deg) translateY(-20px);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  /* Hero Section */
  .hero-section {
    padding: 80px 20px 100px;
    margin-bottom: 40px;
  }
  
  #hero-title {
    font-size: 1.8rem;
    word-wrap: break-word;
    max-width: 100%;
  }
  
  .hero-section p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }
  
  .hero-section::before {
    width: 350px;
    height: 350px;
  }

  /* Section Container */
  .section-container {
    padding: 0 20px;
  }

  .section-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .section-content.reverse {
    flex-direction: column;
  }

  .section-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .section-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .approach-section {
    padding: 40px 0;
  }

  /* Stats Card Mobile */
  .stats-card {
    width: 200px;
    height: 200px;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .square-bg {
    width: 180px;
    height: 180px;
  }

  /* Arc Cercle Mobile */
  .arc-cercle {
    position: static;
    margin: 20px auto;
    width: 200px;
    height: 200px;
    overflow: hidden;
  }
  
  .arc-cercle img {
    width: 200px;
    height: 200px;
  }

  .importance-grid {
    flex-direction: column !important; /* ← Ajoutez !important */
    gap: 15px;
    width: 100%;
    align-items: center; /* ← Ajoutez pour centrer */
  }
  
  .imp-card {
    width: 100% !important; /* ← Ajoutez !important */
    max-width: 280px;
    height: 200px;
    margin: 0 auto;
    flex: none !important; /* ← Ajoutez pour annuler le flex: 1 */
  }
  
  .imp-card:hover {
    transform: scale(1.05);
  }

  .importance-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  .importance-header h2 {
    font-size: 2rem;
  }

  .compass-icon {
    font-size: 2.5rem;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .cta-eye-container {
    display: none;
  }

    .click-hint {
    display: block; /* ← Affichage sur tablette aussi */
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    z-index: 3;
  }

  .click-hint1 {
    display: none; /* ← Gardez celui-ci caché sur tablette aussi */
  }
}

@media screen and (max-width: 480px) {

  .section-container {
    padding: 0 15px;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .hero-section {
    padding: 80px 5px 100px;
    margin: 0; /* ← Ajoutez ceci */
  }
  
  /* Forcez le body aussi */
  body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .hero-container {
    margin: 0;
    padding: 0;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #hero-title {
    font-size: 3rem !important;
    line-height: 1.3 !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .mobile-only {
    display: block !important;
  }

  .arc-cercle img {
    display: none;
  }

  .importance-grid {
    flex-direction: column !important; /* ← Ajoutez !important */
    gap: 20px;
    height: 100%;
  }
  .hero-approche {
    padding: 80px 20px 120px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-text h2 {
    font-size: 1.8rem;
  }

  .stats-card {
    padding: 30px;
    transform: rotate(0deg);
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .importance-grid {
    flex-direction: column !important;
    gap: 20px;
    width: 100% !important;
    height: 100% !important;
    align-items: center;
  }


  .imp-card {
    position: relative;
    flex: none !important;
    width: 100% !important;
    max-width: 280px;
    height: 254px;
    margin: 0 auto;
  }

  .first-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .first-content > span:first-child {
    text-align: center;
    color: white;
    margin-bottom: 20px;
  }

  .click-hint {
    display: block !important;
    position: absolute !important;
    bottom: 15px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    color: white !important;
    font-size: 0.8rem;
    font-style: italic !important;
    text-align: center;
    z-index: 3;
    padding: 10px 12px;
    background: transparent !important;
    border-radius: 15px;
    transition: all 0.3s ease;
    width: auto;
    max-width: 90%;
    margin: 0 auto;
}

  .click-hint1 {
    display: none !important;
  }

  .imp-card:hover .click-hint {
    opacity: 0;
  }



  .imp-card:hover {
    transform: scale(1) !important;
  }

  .imp-card {
    position: relative; /* Ajoute si pas déjà présent */
    flex: none !important;
    width: 100% !important;
    max-width: 250px;
  }

  .click-hint1 {
    display: none; /* ← Gardez celui-ci caché sur mobile */
  }

  .imp-card:hover .click-hint { 
      opacity: 0; /* ← Disparaît au hover quand le texte descriptif apparaît */
  }

  .approach-section {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  .why-important .section-container {
    padding: 0 20px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .importance-header h2 {
    font-size: 1.3rem !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .compass-icon {
    font-size: 2rem !important;
    flex-shrink: 0 !important;
  }

  /* Force tous les enfants à rester dans les limites */
  .why-important * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  
}

.mobile-only {
  display: none;
}
.arc-cercle {
    position: absolute;
    bottom: 0;
    right: 0px;  
    width: 400px;
    height: 400px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden; /* ← Ajoutez */

}
.arc-cercle img{
    width: 400px;
    height: 400px;
    object-fit: contain;
}


.importance-grid{
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  height: 400px;
}

.imp-card {
  font-family: "Josefin Sans", sans-serif;
  flex: 1;
  width: 190px;
  height: 254px;
  background: var(--primary);
  transition: all 0.4s;
  border-radius: 10px;
  font-size: 30px;
  font-weight: 500;
  position: relative; /* ← Ajoutez pour le positionnement absolu du hint */
}

.imp-card:hover {
  font-family: "Josefin Sans", sans-serif;
  border-radius: 15px;
  cursor: pointer;
  transform: scale(1.2);
}

.first-content {
  font-family: "Josefin Sans", sans-serif;
  height: 100%;
  background-color: var(--primary);
  width: 100%;
  transition: all 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  border-radius: 15px;
  text-align: center;
}

.imp-card:hover .first-content {
  height: 0px;
  opacity: 0;
}

.second-content {
  height: 0%;
  width: 100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  background-color: var(--secondary);
  align-items: center;
  border-radius: 15px;
  transition: all 0.4s;
  font-size: 10px;
  transform: rotate(90deg) scale(-1);
}

.imp-card:hover .second-content {
  opacity: 1;
  height: 100%;
  font-size: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: rotate(0deg);
}

.click-hint1 {
    color: white;
    font-size: 0.9rem;
    top: 65%;
    font-style: italic;
    padding: 8px 15px;
    transition: all 0.3s ease;
}
.imp-card:hover .click-hint1 {
      opacity: 0; /* ← Disparaît au hover quand le texte descriptif apparaît */
  }

.click-hint{
  display: none;
}

/* Ajoutez cette règle pour forcer sur mobile */
@media screen and (max-width: 768px) {
  .imp-card {
    flex: none !important;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding: 0 !important;
    margin: 0 !important;
  }
}/* Hors des media queries */
.mobile-break {
  display: inline;
}