/* ===== Loading Screen ===== */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-bg, #11222d);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 1s ease, opacity 1s ease;
}

#loading.slide-up {
  transform: translateY(-100%);
  opacity: 0;
}

#loading img {
  max-width: 200px;
  width: 100%;
}

/* ===== Variables de couleurs ===== */
:root {
  --main-bg: #11222d;       /* Fond principal sombre */
  --secondary: #93aebf;      /* Couleur secondaire */
  --accent: #fff500;        /* Couleur d'accent */
  --white: #ffffff;         /* Blanc */
}

/* ===== Global Reset & Typographie ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--main-bg);
  color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}
p {
  font-weight: normal;
}

/* ===== Header / Navbar ===== */
.navbar {
  background-color: var(--main-bg);
  border-bottom: 1px solid var(--secondary);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-navbar {
  height: 50px;
}

.brand-name {
  margin-left: 10px;
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: bold;
}

/* Menu Desktop */
.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  margin: 0 15px;
  font-size: 1rem;
  font-weight: bold;
}

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

/* Burger Menu */
.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--main-bg);
  padding: 10px;
  border: 1px solid var(--secondary);
  border-radius: 4px;
  position: absolute;
  top: 70px;
  right: 20px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--secondary);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ===== Main Content ===== */
.main-content {
  max-width: 1200px;
  margin: 40px auto; /* Espace vertical réduit */
  padding: 0 20px;
  text-align: center;
}

.main-content h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.why-us {
  font-size: 1.8rem;
  margin: 30px 0; /* Espace au-dessus et en dessous du titre */
}

/* ===== Section Illustrations en Grille (si besoin) ===== */
.services-illustrations {
  display: grid;
  grid-template-columns: repeat(3, 461px);
  gap: 20px;
  justify-content: center;
  margin: 40px auto;
}

.illustration-box {
  width: 461px; 
  height: 700px;
  border: 1px solid var(--secondary);
  background-color: var(--main-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-box img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Section Déplacements style encadré (si besoin) ===== */
.deplacements {
  max-width: auto;
  margin: 30px auto;
  padding: 20px;
  /* border: 1px solid #1c2e3c;
  border-radius: 10px; */
  text-align: center;
  background-color:  #1c2e3c;
}

.deplacements h2 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.deplacements p {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 20px;
  background-color: var(--main-bg);
  border-top: 1px solid var(--secondary);
}

/* ===== Responsive Table (si besoin) ===== */
.responsive-table {
  width: calc(100% - 20px);
  max-width: 800px;
  margin: 20px auto;
  overflow-x: auto;
  border: 1px solid var(--secondary);
  border-radius: 4px;
}

.responsive-table table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 12px;
  border: 1px solid var(--secondary);
  text-align: left;
}

/* ===== Section des carrés avec images ===== */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px auto; /* Retire le plein écran et espace un peu */
  gap: 20px;
}

.square {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

.square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
  border: 1px solid #93aebf; /* Bord de 1px de couleur #93aebf */
}

/* Survol desktop : on masque l'image, on affiche le texte */
.square:hover img {
  opacity: 0;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Survol desktop : l’overlay devient visible */
.square:hover .overlay {
  opacity: 1;
}

/* Clic mobile/tablette : on bascule la classe .active (JS) */
.square.active img {
  opacity: 0;
}

.square.active .overlay {
  opacity: 1;
}

/* ===== Responsive Styles ===== */

/* Pour écrans larges (PC) */
/* @media (min-width: 1025px) {
  .main-content h1 {
    font-size: 2.2rem;
  }
  .subtitle {
    font-size: 1.3rem;
  }
} */

/* Pour tablettes (max-width: 1024px) */
@media (max-width: 1024px) {
  .menu {
    display: none;
  }
  
  .burger {
    display: block;
  }
  .main-content h1 {
    font-size: 2rem;
  }
  .subtitle {
    font-size: 1.2rem;
  }
  .menu a {
    font-size: 0.95rem;
  }
  .services-illustrations {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 10px;
  }
  
  .illustration-box {
    width: 100%;
    height: auto;
  }
  .values-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 10px;
  }
  .deplacements {
    margin: 20px auto;
  }
}

/* Pour smartphones (max-width: 768px) */
@media (max-width: 767px) {
  .navbar-content {
    flex-direction: row;
  }
  
  .menu {
    display: none;
  }
  
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .config-details .actions {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  align-self: center;
  }

  .config-card{
    margin-left: 30px;
    margin-right: 30px;
  }
  
  .main-content {
    padding: 100px 15px;
  }
  
  .main-content h1 {
    font-size: 1.8rem;
  }
  .subtitle {
    font-size: 1.1rem;
  }
  
  .responsive-table {
    max-width: 100%;
    margin: 10px;
  }
  
  .responsive-table th,
  .responsive-table td {
    font-size: 0.95rem;
    padding: 8px;
  }
  
  .services-illustrations {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }
  .illustration-box {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  .deplacements {
    margin: 20px;
  }
}

/* Pour très petits écrans (max-width: 480px) */
@media (max-width: 480px) {
  .main-content {
    padding: 70px 10px;
  }
  
  .main-content h1 {
    font-size: 1.6rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .menu a {
    font-size: 0.85rem;
  }
  
  .responsive-table th,
  .responsive-table td {
    font-size: 0.85rem;
    padding: 6px;
  }
  .deplacements {
    margin: 20px;
  }
}
/* Wizard steps */
.form-step {
  margin: 20px 0;             /* Espace vertical pour séparer les étapes */
  display: none;              /* Toutes masquées par défaut */
}

.form-step.active {
  display: block;             /* L'étape active s'affiche */
}

/* Groupes de champs */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Champs de formulaire */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--secondary, #93aebf);
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 10px;
}

/* Contrôles Range (budget) */
.form-group input[type="range"] {
  width: 100%;
}

/* Boutons Précédent / Suivant */
.button-group {
  display: flex;             /* Mise en ligne */
  justify-content: space-between;
  margin-top: 20px;
}

.button-group button {
  padding: 10px 20px;
  border: none;
  background-color: var(--accent, #fff500);
  color: var(--main-bg, #11222d);
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.button-group button:hover {
  opacity: 0.9;
}

/* Récapitulatif final */
#result {
  margin-top: 30px;
  padding: 15px;
  border: 1px solid var(--secondary, #93aebf);
  border-radius: 4px;
  background-color: var(--secondary, #93aebf);
  color: var(--main-bg, #11222d);
}

/* === Styles pour le bloc CTA PlayBoost === */
.cta-playboost {
  background-color: #11222d;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 245, 0, 0.1);
  margin: 40px auto;
  max-width: 600px;
}

.cta-text {
  font-size: 1.2em;
  color: white;
  margin-bottom: 20px;
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  background-color: #fff500;
  color: #000;
  font-weight: bold;
  padding: 16px 28px;
  font-size: 1em;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button span {
  font-weight: normal;
  font-size: 0.95em;
}

.cta-note {
  color: white;
  margin-top: 20px;
  font-size: 0.95em;
}

/* slider */


:root {
  --bleu-nuit: #11222d;
  --bleu-clair: #93aebf;
  --jaune-fluo: #fff500;
  --blanc: #ffffff;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: var(--bleu-nuit);
  color: var(--blanc);
}

.values-slider {
  padding: 60px 20px;
  text-align: center;
}

.values-slider h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--jaune-fluo);
}

.brand {
  color: var(--blanc);
}

.slider-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
  background-color: #11222d;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.slide img {
  height: 120px;
  margin-bottom: 10px;
}

.slide h3 {
  display: none;
}

.slide p {
  color: var(--bleu-clair);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  color: var(--jaune-fluo);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
  transition: color 0.3s;
}

.arrow:hover {
  color: var(--blanc);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}
