body {
  margin: 0;
  padding-top: 40px; /* même hauteur que le bandeau */
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #111827 0%, #0b1220 100%);
  color: #ffffff;
}


a { text-decoration: none; transition: 0.3s; }

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.logo { font-weight: 700; font-size: 1.5rem; color: #ffffff; }

nav a {
  margin: 0 1rem;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover { color: #3b82f6; }

.lang { border-left: 1px solid #374151; padding-left: 1rem; }

.btn-header {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  padding: 0.5rem 1rem;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
}

.hero {
  text-align: center;
  font-size: 1.6rem;
  padding: 6rem 2rem 18rem 2rem; /* augmente le padding-bottom pour étirer la section */

  /* Image de fond */
  background-image: url('../img/datacenter.jpg');
  background-size: cover;         /* couvre toute la section */
  background-position: center 50%; /* recentre l'image verticalement */
  background-repeat: no-repeat;

  position: relative;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* noir semi-transparent */
  z-index: -1;
  border-radius: inherit; /* si tu veux garder les coins arrondis */
}

/* Garde le texte par-dessus l'overlay */
.hero h2,
.hero p {
  position: relative;
  z-index: 1;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto 2rem auto;
}

.actions .btn {
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

.btn.primary { 
  background: #3b82f6; 
  color: #ffffff; 
}

.btn.secondary {
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

/* Hover effect on hero buttons */
.btn-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(59,130,246,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  background: #0b1220;
  flex-wrap: wrap;
}

.feature {
  background: #111827;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  width: 280px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

.feature .icon {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.offers {
  background: #0b1220;
  text-align: center;
  padding: 4rem 2rem;
}

.infra-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.infra-description {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.offers-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.offers-description {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.offer-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.offer-card {
  background: #111827;
  padding: 2rem;
  border-radius: 15px;
  width: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.offer-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}


.offer-card .price {
  font-size: 1.1rem;
  color: #3b82f6;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Remove bullet points, use flex with icon and text */
.offer-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem; /* espace entre les lignes */
}

.offer-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* icône / texte */
  font-size: 1rem;
  color: #cbd5e1;
}

.icon-fa {
  color: #3b82f6;
  min-width: 20px;
  text-align: center;
  font-size: 1.2rem;
}



.btn-offer {
  display: block;
  text-align: center;
  background: #3b82f6;
  color: white;
  padding: 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1rem;
  cursor: pointer;
  user-select: none;
}

.btn-offer:hover {
  background: #2563eb;
  transition: background 0.3s ease;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background: #111827;
  color: #ffffff;
}

/* Infrastructure Section */
.infrastructure {
  background: #0b1220;
  padding: 4rem 2rem;
  color: #cbd5e1;
}

.infra-container {
  display: flex;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: center;
}

.infra-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
}

.infra-details {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.infra-details h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #3b82f6;
}

.infra-details p {
  font-size: 1.1rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.infra-features {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.infra-feature h3 {
  font-size: 1.2rem;
  color: #cbd5ff;
  margin-bottom: 0.3rem;
}

.infra-feature p {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .infra-container {
    flex-direction: column;
    text-align: center;
  }
  .infra-details {
    margin-top: 2rem;
    text-align: center;
  }
  .infra-features {
    align-items: center;
  }
}

.infrastructure {
  text-align: center;
}

.infrastructure .offer-grid {
  justify-content: center;
}

.infra-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.infra-image-block img {
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
}

.infra-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
}

.infra-card {
  display: flex;
  align-items: flex-start;
  background: #111827;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(59,130,246,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  gap: 1rem;
}

.infra-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(59,130,246,0.4);
}

.infra-icon {
  font-size: 2rem;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.infra-text h3 {
  margin: 0 0 0.4rem 0;
  color: #cbd5ff;
  font-size: 1.2rem;
}

.infra-text p {
  margin: 0;
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.4;
}

.infra-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #cbd5ff;
}

.infra-card p {
  font-size: 1rem;
  color: #9ca3af;
}

.testimonials {
  background: #111827;
  padding: 4rem 2rem;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}


.testimonial-card {
  background: #111827;
  border-radius: 15px;
  padding: 2rem;
  width: 300px;
  text-align: left;
  color: #cbd5e1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #3b82f6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
}

.testimonial-author span {
  font-weight: 600;
  color: #3b82f6;
  font-size: 0.95rem;
}

/* FAQ Section */
.faq {
  background: #0b1220;
  padding: 4rem 2rem;
  color: #cbd5e1;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: #111827;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.faq-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(59,130,246,0.25);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  height: 50px;
  width: auto;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dropdown-content {
  background-color: #111827;
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-content a {
  color: #cbd5e1;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.dropdown-content a:hover {
  background-color: #3b82f6;
  color: #ffffff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

nav a, .dropdown > a {
  display: left;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  transition: color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

nav a i, .dropdown > a i {
  font-size: 1rem;
  transition: color 0.3s ease;
  color: #cbd5e1;
}

nav a:hover, .dropdown:hover > a {
  background-color: #3b82f6;
  color: #ffffff;
}

nav a:hover i, .dropdown:hover > a i {
  color: #ffffff;
}

header {
  position: sticky;
  top: 40px; /* hauteur du bandeau promo */
  width: 100%;
  height: 80px;
  background-color: rgba(10,15,30,0.7);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  z-index: 1000;
  padding: 0 2rem;
  box-sizing: border-box;
}


.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: transform 0.3s ease; /* <- ça rend le zoom fluide */
}

.logo-img:hover {
  transform: scale(1.1); /* 20% plus grand au hover */
}


.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}

nav a, .dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  transition: color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

nav a i, .dropdown > a i {
  font-size: 1rem;
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-left: 18px;
  top: 100%;
  left: 0;
  background-color: rgba(17, 24, 39, 0.99);
  backdrop-filter: blur(10px);
  margin-top: 1px;
  border-radius: 8px;
  min-width: 140px;
  box-shadow: 0 2px 10px #3b82f6;
  z-index: 1000;
  flex-direction: column;
  pointer-events: auto;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1.2rem;
  font-size: 1.1rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #3b82f6;
  border-radius: 8px;
  color: #ffffff;
}

.menu-logo {
  width: 32px;
  height: auto;
  object-fit: contain;
}

.menu-text {
  display: flex;
  flex-direction: column;
}

.menu-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
}

.menu-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.3;
}

/* Hero & Offers tweaks */
.hero-logo {
  width: 100px;
  margin-bottom: 1rem;
}

.offer-card h3,
.offer-card .price {
  text-align: center;
  margin: 0 auto;
}

.offer-card {
  width: 320px;
  padding: 2rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

.offer-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  color: #3b82f6;
}

.offer-card .price {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #3b82f6;
}

.offer-list li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.btn-offer {
  padding: 0.7rem 1.8rem;
  font-size: 1.1rem;
  background-color: #3b82f6;
  color: #ffffff;
}

.offer-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  white-space: nowrap;
}

.icon-fa {
  color: #3b82f6;
  width: 20px;
  height: 20px;
}


/* Loader full screen */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0b1220;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  pointer-events: auto;
  animation: fadeOut 0.4s ease 0.2s forwards; /* durée totale 0.8s, délai 0.5s */
}

/* Petit cercle qui tourne */
#loader .spinner {
  border: 5px solid #3b82f6;
  border-top: 5px solid transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Lorsque l’animation est terminée */
#loader.fade-out {
  pointer-events: none; /* clics possibles sur la page */
  opacity: 0;
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

.offer-card .price {
  font-weight: 800;             /* bien visible */
  color: #98befc;               /* bleu vif pour attirer l’œil */
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 1001;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(59,130,246,0.5);
}



.promo-banner i {
  font-size: 1.1rem;
}

.promo-code {
  background: rgba(255,255,255,0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Hover navbar principale (sans fond) */
header nav > a:hover,
header nav > .dropdown > a:hover {
  background: transparent !important;
  color: #3b82f6;
}
