/* Style global */
:root {
  --gold: #D4AF37;
  --dark-bg: #1a1a1a;
  --text-color: #222;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background: #fff;
  line-height: 1.6;
  padding-top: 70px; /* Décalage pour compenser le menu fixe */
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5em;
}
h2 {
  font-size: 2em;
  text-align: center;
  color: var(--gold);
}
h3 {
  font-size: 1.3em;
}
p {
  margin-bottom: 15px;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Navigation */
.navbar {
  background: #fff;
  padding: 10px 5px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.navbar .logo img {
  max-height: 100px;
}
.navbar .toggle-btn {
  display: none;
  font-size: 1.5em;
  color: #000;
}
.navbar .nav-links {
  display: flex;
  align-items: center;
}
.navbar .nav-links li {
  margin-left: 30px;
}
.navbar .nav-links a {
  font-weight: 400;
  color: #000;
}
.navbar .nav-links a:hover {
  color: var(--gold);
}

/* Navigation responsive (mobile) */
@media (max-width: 768px) {
  .navbar .toggle-btn {
    display: block;
  }
  .navbar .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
  }
  .navbar .nav-links.active {
    display: flex;
  }
  .navbar .nav-links li {
    margin: 0px 0;
  }
}

/* Section d'accroche (Hero) */
.hero {
  background: var(--dark-bg);
  color: #ddd;
  text-align: center;
  padding: 120px 20px 80px 20px;
}
.hero h1 {
  color: var(--gold);
  font-size: 3em;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

/* Configuration générale des sections */
section {
  padding: 60px 20px;
  scroll-margin-top: 80px; /* Décalage pour l’ancre lors du scroll (évite que le titre soit caché sous le menu) */
}
section h2 {
  margin-bottom: 40px;
}

/* Section avantages (Bénéfices) */
.benefits-section {
  background: #f9f9f9;
}
.benefits {
  max-width: 800px;
  margin: 0 auto;
}
.benefit {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5em;
  margin-right: 20px;
}
#icon-etude { background: #FFC107; }       /* Jaune amber */
#icon-strategique { background: #FF9800; } /* Orange */
#icon-premium { background: #F44336; }     /* Rouge */
#icon-support { background: #9C27B0; }     /* Violet */
#icon-jetons { background: #E91E63; }      /* Rose */
.benefit-text h3 {
  color: var(--gold);
  margin-bottom: 10px;
}
.benefit-text p {
  color: #333;
}

/* Section services additionnels */
.services-section {
  background: #fff;
}
.services {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: start;
}
.service {
  display: flex;
  align-items: flex-start;
}
.service-icon {
  flex-shrink: 0;
  font-size: 1.5em;
  margin-right: 15px;
}
.service-icon i {
  color: var(--gold);
}
.service-text h3 {
  color: var(--text-color);
  margin-bottom: 5px;
}
.service-text p {
  color: #555;
  font-size: 0.95em;
}

/* Section pyramide de croissance IA */
.pyramid-section {
  background: #f9f9f9;
  text-align: center;
}
.pyramid-section img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}
.pyramid-section .pyramid-levels {
  max-width: 600px;
  margin: 20px auto 0 auto;
  text-align: left;
}
.pyramid-section .pyramid-levels li {
  margin-bottom: 10px;
}
.pyramid-section .pyramid-levels li strong {
  color: var(--gold);
}

/* Section Notre promesse */
.promise-section {
  background: #fff;
}
.promise-section p {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 15px auto;
}

/* Section Tarif & Contact */
.contact-section {
  background: var(--dark-bg);
  color: #fff;
  text-align: center;
}
.contact-section h2 {
  color: var(--gold);
}
.contact-section .cta {
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.contact-section p {
  max-width: 600px;
  margin: 0 auto 10px auto;
}
.contact-section a {
  color: #fff;
  font-weight: 700;
}
.contact-section a:hover {
  text-decoration: underline;
}

/* === Centrage global (≥ 769 px) ================================ */
@media (min-width: 769px) {

  /* On place tout le contenu de la barre au centre */
  .navbar {
    justify-content: center;          /* centre le flex‑container */
  }

  /* Le logo et les liens restent côte à côte, mais l’ensemble est centré */
  .navbar .logo {
    margin: 0 0 0 0;               /* petit écart à droite pour respirer */
  }

  .navbar .nav-links {
    justify-content: center;          /* centre les éléments du menu */
  }
}

/* === Affichage mobile (≤ 768 px) ================================ */
@media (max-width: 768px) {

  .navbar .logo {
    margin: 0 auto;                  
  }

  .navbar .toggle-btn {
    position: absolute;
    right: 20px;
    top: 12px;
  }
}