@import url('variables.css');
@font-face {
  font-family: 'DIN Next LT Pro';
  src: url('../Font/din-next-lt-pro-light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
* { -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'DIN Next LT Pro Light', Arial, sans-serif;
  color: var(--color-text);
  min-height: 100vh;
  padding-top: 54px;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,28,43,0.92);
  z-index: 1;
  pointer-events: none;
}
#particles-bg, canvas#particles-bg {
  position: fixed !important;
  top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
  background: transparent !important;
}
main, header, .autre-banner, .section, .sn-banner, footer {
  position: relative;
  z-index: 2;
}
.stellar-nexus-hero--page, .stellar-nexus-overlay--page, .stellar-nexus-block {
  position: relative;
  z-index: 3;
}
a { color: var(--color-accent2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; display: block; border-radius: var(--radius); }
.autre-banner {
  padding: 56px 0 64px 0;
  display: flex;
  justify-content: center;
}
.autre-grid {
  display: flex;
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  align-items: stretch;
}
.autre-card {
  background: rgba(35,38,58,0.98);
  border-radius: 18px;
  box-shadow: 0 2px 10px #0006;
  padding: 32px 24px 28px 24px;
  flex: 1 1 0;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.autre-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 4px 18px #0007;
}
.autre-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 0;
  margin-top: auto;
  background: none;
  border-radius: 0;
  display: block;
}
.autre-title {
  font-family: var(--font-main);
  font-size: 1.3em;
  color: #fff;
  margin-bottom: 0.5em;
  letter-spacing: 0.04em;
}
.autre-text {
  color: var(--color-text-alt);
  font-size: 1.05em;
  line-height: 1.5;
}
.autre-slogan {
  font-size: 1em;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 0.7em;
  margin-top: -0.2em;
  text-align: center;
}
footer {
  width: 100%;
  background: linear-gradient(135deg, rgba(36,44,66,0.97) 60%, rgba(102,126,234,0.13) 100%);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  border-top: 1.5px solid rgba(255,255,255,0.13);
  box-shadow: 0 -4px 24px #0007, 0 2px 8px 0 #222a, 0 1.5px 8px 0 #667eea22;
  z-index: 10;
  opacity: 1;
  visibility: visible;
  position: relative;
}
.footer-content {
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.8em;
  letter-spacing: 0.06em;
  text-align: center;
  width: 100%;
  padding: 22px 0 18px 0;
}

.footer-content {
  color: #fff;
  font-family: var(--font-main);
  font-size: 1em;
  letter-spacing: 0.06em;
  text-align: center;
  width: 100%;
  padding: 28px 0 22px 0;
}

.footer-content a {
  color: #08d9d6;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-content a:hover {
  color: #ff2e63;
}

.footer-content a[href*="mentions-legales"] {
  color: #ff2e63;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-content a[href*="mentions-legales"]:hover {
  color: #08d9d6;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
}
.btn-secondary {
  background: transparent;
  color: #667eea;
  border-color: #667eea;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}
.btn:hover::before {
  left: 100%;
}
.btn {
  z-index: 2;
}

/* Lien Mentions légales dans le footer : rose par défaut, turquoise au hover */
footer .footer-content a {
  color: #ff2e63;
  transition: color 0.2s;
}
footer .footer-content a:hover {
  color: #08d9d6;
}

@media (max-width: 1200px) {
  .autre-grid {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .autre-card {
    max-width: 95vw;
    width: 100%;
    margin: 0 auto;
  }
  .autre-img {
    width: 90px;
    height: 90px;
  }
  body, main, .hero, header.hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero, header.hero {
    padding-top: 80px !important;
  }
}

@media (max-width: 600px) {
  html, body {
    font-size: 1.15em;
  }
  .local-app-separator {
    height: 3px !important;
  }
}