@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;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
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);
  -webkit-user-drag: none;
  user-select: none;
}
input,
textarea,
select,
option,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
.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(140deg, rgba(12, 16, 30, 0.92) 0%, rgba(22, 30, 52, 0.92) 48%, rgba(32, 22, 48, 0.92) 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(8, 217, 214, 0.28);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 10;
  opacity: 1;
  visibility: visible;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(18rem 4rem at 50% 0%, rgba(8, 217, 214, 0.2), transparent 68%),
    linear-gradient(90deg, transparent 0%, rgba(255, 46, 99, 0.2) 50%, transparent 100%);
  opacity: 0.55;
}
.footer-content {
  color: #fff;
  font-family: var(--font-main);
  font-size: 14px;
  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: 14px;
  letter-spacing: 0.06em;
  text-align: center;
  width: 100%;
  padding: 8px 0 7px 0;
  position: relative;
  z-index: 1;
}

.footer-content a {
  color: #7cf6f4;
  text-decoration: underline;
  transition: color 0.2s, text-shadow 0.2s;
}
.footer-content a:hover {
  color: #ff7fa7;
  text-shadow: 0 0 14px rgba(255, 46, 99, 0.55);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.15rem;
}

.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;
}

/* Harmonisation couleur des liens du footer */
footer .footer-content a {
  color: #7cf6f4;
  transition: color 0.2s, text-shadow 0.2s;
}
footer .footer-content a:hover {
  color: #ff7fa7;
  text-shadow: 0 0 14px rgba(255, 46, 99, 0.55);
}

@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;
  }
}

@media (max-width: 696px) {
  footer .footer-content {
    font-size: 14px !important;
    line-height: 1.35;
    padding: 8px 0 7px 0 !important;
  }
  footer .footer-links {
    gap: 0.3rem;
  }
}

:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

