/* Global fix overflow */
* {
  box-sizing: border-box;
}
/* Reset & Base */
html, body {
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #0f172a, #1e293b);
  color: white;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

/* Navbar */
.navbar {
  background-color: #0f172a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.brand {
  font-size: 1.5rem;
  color: #3b82f6;
  font-weight: bold;
}

.hamburger {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-link,
.client-btn {
  font-size: 1.1rem;
}

.nav-link {
  position: relative;
  color: #cbd5e1;
  transition: color 0.3s;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3b82f6;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Client Button */
.client-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
  font-weight: bold;
  transition: all 0.3s ease;
}

.client-btn:hover {
  background-color: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.5);
}

/* Responsive Navbar */
@media (max-width: 850px) {
  .navbar .container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
  .brand {
    margin-right: auto;
  }
  .hamburger {
    display: block;
    background: #0f172a; /* même couleur que la navbar */
    border: none;
    color: #fff;
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 1.2rem;
    z-index: 2100;
    width: 42px;
    height: 42px;
    text-align: center;
    line-height: 42px;
    opacity: 1;
    visibility: visible;
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
}
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    width: 100vw;
    padding: 1.2em 0;
    gap: 1.2em;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 2000;
  }
  .nav-links.open {
    display: flex;
  }
}
/* Fin Responsive Navbar */

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  flex: 1;
  min-height: 100vh;
  box-sizing: border-box;
  overflow: hidden; /* ✅ Empêche le débordement */
}

.hero-text {
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.highlight {
  color: #3b82f6;
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 5px;
}

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

.description {
  color: #94a3b8;
  margin-bottom: 2rem;
}

.hero-img {
  position: relative;
  display: inline-block;
}

.hero-img img {
  width: 400px;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(1);
}


.hero-img img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    margin-top: 2rem;
  }
}

/* Animation fadeIn */
@keyframes fadeInQuick {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-text > * {
  opacity: 0;
  transform: translateY(10px) scale(0.95);
}

.hero.animate .hero-text h1,
.hero.animate .hero-img img {
  animation: fadeInQuick 1.2s forwards;
  animation-delay: 0s;
}

.hero.animate .hero-text .subtitle {
  animation: fadeInQuick 1.2s forwards;
  animation-delay: 0.9s;
}

.hero.animate .hero-text .description {
  animation: fadeInQuick 1.2s forwards;
  animation-delay: 1.8s;
}

/* --- SECTION Pourquoi nous choisir --- */
/* SECTION Pourquoi nous choisir */
.why-choose-us {
  background: #0f172a;
  padding: 4rem 2rem;
  color: white;
  width: 100%;
}

.highlight-secondary {
  color: #3b82f6;
}

.why-choose-us h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-subtitle {
  text-align: center;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.features-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  background-color: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 350px;
  min-width: 250px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.6s ease;
  overflow: hidden;
  z-index: 1;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

/* Glow autour de la carte + lumière centrale */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(59,130,246,0.3) 0%, transparent 70%);
  opacity: 0;
  box-shadow: 0 0 0 rgba(59,130,246,0.0); /* initial sans glow */
  transform: scale(0.95);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 40px rgba(59,130,246,0.5); /* glow externe */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.4); /* renforce l'ombre externe */
}

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

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: white;
  font-size: 1.2rem;
}

.feature-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}
/* Animation de fondu depuis le bas */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classe de base pour cacher avant animation */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Classe appliquée par JS quand visible */
[data-animate].animate {
  animation: fadeInUp 0.8s ease forwards;
}

/* === FAQ Section === */
.faq-section {
  background-color: #0f172a;
  padding: 4rem 2rem;
  color: white;
  width: 100%;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: white;
}

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background-color: #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1 1 45%;
  max-width: 500px;
  min-width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.6s ease;
  position: relative;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #3b82f6;
  transition: color 0.3s ease;
}

.faq-toggle {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: #3b82f6;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  margin-top: 0.8rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 0.5rem;
  }
  .faq-grid {
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  .faq-item {
    width: 100%;
  }
}

/* === Séparateur avant footer === */
.footer-separator {
  width: 100vw;
  height: 1.5px;
  background: #000000;
  border: none;
  margin: 0 0 0 0;
  box-shadow: 0 1px 0 rgba(16,22,40,0.08);
}

/* === FOOTER (harmonisé au design général) === */
.footer {
  background: #0f172a;
  color: #fff;
  padding: 48px 0 0;
  font-family: 'Segoe UI', sans-serif;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}
.footer-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-left: 4vw;
  padding-right: 4vw;
  padding-top: 0;
  padding-bottom: 0;
  min-width: 0;
}
.footer-col {
  min-width: 0;
  word-break: break-word;
}
.payment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.payment-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.5em;
}
.payment-icon {
  font-size: 1.4em;
  margin-right: 8px;
  vertical-align: middle;
  color: #3b82f6;
  min-width: 26px;
  min-height: 26px;
}
.support-link {
  margin-left: 0px;
  font-size: 0.97em;
  color: #3b82f6;
  font-weight: 500;
}
.support-link:hover {
  text-decoration: underline;
}
.footer-col h4, .brand-name {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #3b82f6;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
}
.footer .description {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 0.5rem;
  max-width: 80%;
}
.discord-icon {
  margin-top: 15px;
}
.discord-icon a {
  font-size: 1.5rem;
  color: #3b82f6;
  transition: transform 0.3s, opacity 0.3s, color 0.2s;
  display: inline-block;
}
.discord-icon a:hover {
  color: #60a5fa;
  transform: scale(1.1);
  opacity: 0.8;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s, color 0.2s;
}
.footer a:hover {
  color: #3b82f6;
  opacity: 0.8;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 32px;
  font-size: 0.93rem;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  padding-top: 12px;
  padding-bottom: 0;
  text-align: center;
  color: #94a3b8;
  background: transparent;
}
.footer-bottom .bottom-centered {
  max-width: 900px;
  text-align: center;
}
.footer-bottom .bottom-centered > *,
.footer-bottom .bottom-centered p,
.footer-bottom .bottom-centered a {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  color: #94a3b8;
}
.footer-bottom .bottom-centered a {
  color: #fff;
  font-weight: 500;
}
.footer-bottom .bottom-centered a:hover {
  color: #3b82f6;
}
.footer-icons {
  display: flex;
  gap: 1rem;
  margin-top: 10px;
  justify-content: center;
}
.footer-icons a {
  font-size: 1.4rem;
  color: #3b82f6;
  transition: transform 0.3s, opacity 0.3s, color 0.2s;
}
.footer-icons a:hover {
  color: #60a5fa;
  transform: scale(1.15);
  opacity: 0.8;
}
@media (max-width: 1000px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.2rem;
    padding: 2.2rem 1.2rem 1.2rem 1.2rem;
  }
  .footer {
    padding: 32px 0 0;
    border-radius: 0;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Avis */
.avis-section {
  position: relative;
  padding: 1.2rem 0 3rem 0;
  text-align: center;
  overflow: visible;
}

.avis-section::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: rgba(15,23,42,0.82);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  z-index: 0;
  pointer-events: none;
  border-radius: 0;
}

.avis-section > * {
  position: relative;
  z-index: 1;
}

.avis-section h2 {
  text-align: center;
  margin-top: -1.2rem;
  margin-bottom: 2rem;
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 16px #38bdf8, 2px 2px 8px rgba(0,0,0,0.4);
}

.avis-section h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2px;
}

.avis-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2px;
  animation: slideWidth 2s ease-in-out infinite;
}

.average-rating {
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.avis-slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  overflow: hidden;
  padding: 20px 0;
  background-color: #0f172a;
}

.avis-slider-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  width: 100%;
}

.avis-item {
  flex: 0 0 calc(25% - 15px);
  background: rgba(15,23,42,0.82);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 7.5px;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.left-container {
  flex: 0 0 100px;
}

.left-container img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
}

.right-container {
  flex: 1;
}

.avis-username {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.avis-table {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 15px 0;
  padding: 10px;
  background: #1e233a;
  border-radius: 8px;
  width: 100%;
}

.category-field {
  margin-bottom: 10px;
  padding: 8px;
  color: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.category-field .label {
  font-weight: bold;
}

.category-field .value {
  display: block;
  margin-top: 5px;
  text-align: center;
}

.rating-field {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
}

.comment-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
}

.comment-header {
  color: #38bdf8;
  font-weight: 600;
}

.comment-text {
  line-height: 1.5;
  color: #fff;
  white-space: pre-line;
}

.table-header {
  color: #38bdf8;
  font-weight: 600;
}

.avis-stars {
  color: #ffd700;
  font-size: 1.1rem;
  -webkit-text-stroke: 1px #38bdf8;
}

.avis-stars .empty-star {
  color: #ccc;
  -webkit-text-stroke: 0.5px #333;
}

@media (max-width: 768px) {
  .avis-slider-wrapper {
      grid-template-columns: 1fr;
      gap: 15px;
  }

  .avis-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 10px;
  }

  .left-container {
      margin-bottom: 1rem;
      width: 80px;
      height: 80px;
  }

  .right-container {
      padding-left: 0;
      width: 100%;
  }

  .avis-username {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
  }

  .avis-table {
      padding: 8px;
      gap: 10px;
  }

  .category-field,
  .rating-field,
  .comment-field {
      padding: 5px;
  }

  .comment-text {
      font-size: 0.9rem;
  }
	
 /* Responsive pour le titre de la section avis */
  .avis-section h2 {
    font-size: 1.2rem;
    padding: 0 10px;
    text-align: center;
  }
  .avis-section h2::before {
    width: 50px;
    height: 3px;
  }
  .avis-section h2::after {
    width: 25px;
    height: 3px;
    bottom: -7px;
  }
}

/* Partnership Section Styles */
.partnerships-section {
  padding: 4rem 2rem;
  background-color: #0f172a;
  position: relative;
  overflow: visible;
}

.partnerships-section::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: rgba(15,23,42,0.93);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

.partnerships-section > * {
  position: relative;
  z-index: 1;
}

.partnerships-title-container {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.partnerships-title {
  text-align: center;
  margin-top: -1.2rem;
  margin-bottom: 2rem;
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #38bdf8;
  text-shadow: 0 2px 8px #38bdf8, 1px 1px 4px #0f172a;
}

.partnerships-title::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2px;
}

.partnerships-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2px;
  animation: slideWidth 2s ease-in-out infinite;
}

@keyframes slideWidth {
  0% {
      width: 40px;
      opacity: 1;
  }
  50% {
      width: 80px;
      opacity: 0.5;
  }
  100% {
      width: 40px;
      opacity: 1;
  }
}

.partnerships-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  justify-content: center;
}

.partner-card {
  position: relative;
  border-radius: 8px;
  overflow: visible;
  aspect-ratio: 1;
  border: 2px solid #38bdf8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.partner-image {
  width: 100%;
  height: 100%;
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.partner-overlay {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 250px;
  background: rgba(23, 94, 147, 0.95);
  padding: 1rem;
  opacity: 0;
  transition: all 0.3s ease;
  text-align: center;
  border-radius: 8px;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.partner-overlay::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(23, 94, 147, 0.95);
}

.partner-overlay h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.partner-overlay p {
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  color: white;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  z-index: 101;
  position: relative;
}

.partner-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.partner-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.partner-image {
  z-index: 2;
  position: relative;
}

.partner-card .partner-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 3;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(23, 94, 147, 0.3);
}

.partner-card:hover .partner-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.partner-card:hover .partner-overlay p {
  opacity: 1;
}

.partner-card:hover .partner-image img {
  transform: scale(1.1);
}

.partner-card:hover .partner-overlay .btn-more {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles for Partnerships */
@media (max-width: 1200px) {
  .partnerships-container {
      grid-template-columns: repeat(3, 1fr);
  }
  .partnerships-title {
      font-size: 2rem;
      padding: 0 15px;
      text-align: center;
  }
  .partnerships-title::before {
      width: 70px;
      height: 4px;
  }
  .partnerships-title::after {
      width: 35px;
      height: 4px;
      bottom: -8px;
  }
}

@media (max-width: 768px) {
  .partnerships-container {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .partnerships-title {
      font-size: 1.2rem;
      padding: 0 10px;
      text-align: center;
  }
  .partnerships-title::before {
      width: 40px;
      height: 3px;
  }
  .partnerships-title::after {
      width: 20px;
      height: 3px;
      bottom: -6px;
  }
  /* --- Correction stacking bulle partenaire mobile --- */
  .partner-card {
    z-index: 1;
  }
  .partner-card:hover,
  .partner-card:focus-within {
    z-index: 10;
  }
  .partner-overlay {
    z-index: 100;
  }
}

@media (max-width: 480px) {
  .partnerships-container {
      grid-template-columns: 1fr;
  }
}

/* ===== Section Recherche Domaine (Nouveau style sombre) ===== */
.domain-search-section {
  margin: 2.5rem 0 0 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: none;
}

.domain-search-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 900px;
  min-height: 80px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  margin: 0 auto;
  padding: 0;
  border: none;
}

.domain-search-illustration {
  flex: 0 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: none;
  padding-left: 1.2rem;
}

.domain-search-illustration img {
  width: 54px;
  height: 54px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(23,94,147,0.08);
}

.domain-search-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 120px;
  min-width: 0;
  padding: 0 2vw;
  box-sizing: border-box;
}

.domain-search-content h2 {
  margin: 0 0 0.3rem 0;
  text-align: center;
  align-self: center;
  width: 100%;
  color: #3b82f6;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.domain-search-content .domain-search-desc {
  margin: 0 0 0.8rem 0;
  text-align: center;
  align-self: center;
  width: 100%;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.domain-search-bar {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  margin: 0 0 0.7rem 0;
  background: #192132;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(59,130,246,0.05);
  border: 1.5px solid #3b82f6;
  padding: 0.10rem 0.5rem;
  gap: 0.2rem;
}

.domain-search-form {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.domain-search-bar input[type="text"] {
  flex: 1 1 0;
  min-width: 0;
  font-size: 1.08em;
  padding: 0.5em 1em;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
}

.domain-search-bar input[type="submit"] {
  height: 38px;
  min-width: 110px;
  margin-left: 0.7rem;
  font-size: 1em;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(59,130,246,0.08);
  background: #3b82f6;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.domain-search-bar input[type="submit"]:hover {
  background: #2563eb;
}

.domain-search-icon {
  margin-right: 0.7rem;
  color: #3b82f6;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 32px;
}

.domain-search-pricing-link {
  margin-top: 0.7rem;
  text-align: left;
  font-size: 0.98em;
}
.domain-search-pricing-link a {
  color: #3b82f6;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .domain-search-row {
      flex-direction: column;
      align-items: stretch;
      max-width: 98vw;
      min-height: unset;
  }
  .domain-search-illustration {
      flex: unset;
      flex-direction: column;
      align-items: stretch;
      gap: 1.2rem;
      padding: 0 0.3rem;
      height: 64px;
      justify-content: center;
      margin-bottom: 0.7rem;
  }
  .domain-search-illustration img {
      height: 44px;
      max-width: 70vw;
      width: auto;
  }
  .domain-search-content {
      align-items: stretch;
      height: auto;
      padding: 0 1vw 1vw 1vw;
  }
}

@media (max-width: 600px) {
  .domain-search-section {
      padding: 0.7rem 0.2rem;
      max-width: 100vw;
  }
  .domain-search-row {
      flex-direction: column;
      align-items: stretch;
      gap: 0.7rem;
      min-height: unset;
  }
  .domain-search-illustration {
      justify-content: center;
      margin-right: 0;
      margin-bottom: 0.7rem;
      height: 44px;
      min-width: unset;
      display: flex;
      align-items: center;
      padding: 0;
  }
  .domain-search-illustration img {
      height: 38px !important;
      max-height: 44px !important;
      max-width: 70px !important;
      width: auto !important;
      object-fit: contain !important;
      filter: drop-shadow(0 2px 8px rgba(23,94,147,0.08));
      display: block;
  }
  .domain-search-bar {
      flex-direction: column;
      gap: 0.5rem;
      border-radius: 8px;
      padding: 0.4rem 0.5rem;
      width: 100%;
      max-width: 100vw;
  }
  .domain-search-form input[type="submit"] {
      border-radius: 0 0 8px 8px;
      width: 100%;
      margin-top: 0.3rem;
      height: 40px;
  }
  .domain-search-form input[type="text"] {
      border-radius: 8px 8px 0 0;
      width: 100%;
  }
}
/* ===== Fin Section Recherche Domaine (WHMCS) ===== *

/* ===== Section visiteur site ===== */
#visiteur-stats {
  margin: 2em auto 1.5em auto;
  padding: 0.7em 0 0.7em 0;
  text-align: center;
  font-size: 1.07em;
  color: #bfc9d8;
  background: none;
  letter-spacing: 0.01em;
  border-top: 1px solid #222d3b;
  border-bottom: 1px solid #222d3b;
  max-width: 700px;
  display: flex;
  justify-content: center;
  gap: 3em;
}
#visiteur-stats span {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
#visiteur-stats span:last-child i {
  color: #facc15 !important;
}

#visiteur-stats strong {
  color: #fff;
  font-weight: 600;
}
#visiteur-stats i {
  margin-right: 4px;
  font-size: 1.13em;
  vertical-align: middle;
}
#visiteur-stats strong {
  color: #fff;
  font-weight: 600;
}
#visiteur-stats i {
  margin-right: 5px;
  font-size: 1.1em;
  vertical-align: middle;
}

@media (max-width: 600px) {
  #visiteur-stats {
    font-size: 0.93em;
    gap: 1.1em;
    padding: 0.4em 0;
    flex-direction: column;
  }
  #visiteur-stats span {
    justify-content: center;
    margin-bottom: 0.3em;
  }
}
/* ===== Fin Section visiteur site ===== */
