/* ----------- STYLES DE BASE ----------- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(45deg, #014e96, #003c74, #000000, #002981);
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

h1, h2, h3, h4 {
  text-align: center;
}

.section-container,
.section-center {
  padding: 20px 10%;
  text-align: center;
}

/* ----------- ACCUEIL ----------- */
.main-title {
  font-size: 200px;
  font-weight: bold;
  word-wrap: break-word;
}

.portfolio-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 20px;
  gap: 10px;
}

.portfolio-sub .line {
  height: 2px;
  width: 100px;
  background-color: white;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  color: white;
  background-color: transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.neon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #72eaff, #0084ff, #4400ff, #72eaff);
  z-index: -1;
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}
.boutonSpecial {
    content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #72eaff, #0084ff, #4400ff, #72eaff);
  z-index: -1;
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}
.neon:hover::before {
  opacity: 1;
}

/* ----------- PRÉSENTATION ----------- */
.presentation-box {
  display: flex;
  flex-wrap: wrap;
  background-color: #000730;
  border-radius: 20px;
  padding: 30px;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  gap: 30px;
  max-width: 1000px;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.presentation-text h2 {
  margin-bottom: 10px;
}

/* ----------- MAPS ----------- */
.map-box,
.map-boxRight {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.map-image,
.map-image2 {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 50px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  flex: 0 1 auto;
}

.map-details ul,
.map-detailsRight ul {
  list-style: inside;
  padding: 0;
  margin: 10px 0;
}

.map-details ul li,
.map-detailsRight ul li {
  margin-bottom: 20px;
}

/* ----------- VOIR PLUS ----------- */
.map-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
}

.map-item {
  max-width: 300px;
  text-align: center;
}

.map-thumb {
  width: 100%;
  border-radius: 20px;
}

.map-title,
.map-client,
.map-code {
  margin: 10px 0 0;
  font-size: 18px;
}

/* ----------- PRISE EN CHARGE ----------- */
.schema-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #000833;
  border-radius: 20px;
  padding: 30px;
  margin: 30px auto;
  align-items: stretch;
  max-width: 900px;
  width: 100%;
}

.schema-step {
  background-color: #002a61;
  padding: 25px 25px 25px 100px;
  border-radius: 15px;
  text-align: left;
  position: relative;
  color: white;
  font-size: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  min-height: 80px;
}

.step-number {
  position: absolute;
  top: 50%;
  left: -45px;
  transform: translateY(-50%);
  background: #008cff;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.schema-box-right,
.schema-text-right {
  max-width: 900px;
  margin: 40px auto;
  background-color: #002a61;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: left;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  color: white;
  font-size: 16px;
}

/* ----------- CONTACT ----------- */
.contact-title {
  font-size: 125px;
  font-weight: bold;
  margin: 100px auto 50px;
  text-align: center;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.icon img {
  width: 150px;
  height: 150px;
  margin: 20px;
  background: #010044;
  border-radius: 50%;
  padding: 7%;
  transition: filter 0.3s, transform 0.3s;
}

.icon:hover img {
  transform: scale(1.5);
}

.neon-discord:hover img {
  filter: drop-shadow(0 0 10px #5865F2);
}
.neon-gmail:hover img {
  filter: drop-shadow(0 0 10px #EA4335);
}
.neon-twitter:hover img {
  filter: drop-shadow(0 0 10px #1DA1F2);
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 1024px) {
  .main-title {
    font-size: 100px;
  }

  .contact-title {
    font-size: 70px;
  }

  .presentation-box,
  .schema-box,
  .map-box,
  .map-boxRight {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px auto;
  }

  .schema-box,
  .schema-box-right,
  .schema-text-right {
    max-width: 90%;
  }

  .schema-step {
    padding-left: 100px;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 60px;
  }

  .contact-title {
    font-size: 40px;
    margin: 30px auto;
  }

  .icon img {
    width: 90px;
    height: 90px;
    margin: 10px;
  }

  .presentation-box,
  .schema-box,
  .map-grid,
  .map-box,
  .map-boxRight {
    padding: 10px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .schema-box-right,
  .schema-text-right,
  .schema-step {
    font-size: 14px;
    padding: 20px 20px 20px 90px;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 14px;
    left: -35px;
  }

  .map-image,
  .map-image2 {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }
}
.top-buttons {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

/* Barre top noire floue */
#top-buttons {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 9999;
  border-bottom-left-radius: 10px;
}

#top-buttons button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

#top-buttons button img {
  height: 24px;
}

/* Popups */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  color: white;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.popup-content input,
.popup-content textarea,
.popup-content select {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background: #222;
  border: none;
  color: white;
  border-radius: 8px;
}

.popup-content button {
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: #0077ff;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.popup-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}
