/* --- MENTIONS LEGALES --- */
.mentions-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 40px;
  transition: 0.3s;
  font-size: 0.95rem;
}

.back-link:hover {
  color: var(--text-main);
  transform: translateX(-5px);
}

.back-link svg {
  transition: transform 0.3s;
}

.back-link:hover svg {
  transform: translateX(-3px);
}

.mentions-header {
  margin-bottom: 50px;
}

.mentions-header h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

.mentions-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.mentions-section {
  margin-bottom: 50px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px;
  transition: 0.3s;
}

.mentions-section:hover {
  box-shadow: 0 4px 16px var(--shadow-soft);
  transform: translateY(-2px);
}

.mentions-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.mentions-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 25px;
  margin-bottom: 15px;
}

.mentions-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

.mentions-section p:last-child {
  margin-bottom: 0;
}

.mentions-section ul {
  margin: 20px 0;
  padding-left: 30px;
  list-style-type: disc;
}

.mentions-section li {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 1rem;
}

.mentions-section strong {
  color: var(--text-main);
  font-weight: 700;
}

.mentions-section a {
  color: var(--apps);
  text-decoration: none;
  transition: 0.3s;
}

.mentions-section a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.legal-footer {
  margin-top: 80px;
}

/* --- PAGE 404 --- */
.error-404-container {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
}

.error-404-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-title {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--apps), var(--auto));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-404-subtitle {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.error-404-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.error-404-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1rem;
}

.error-404-btn-primary {
  background: var(--text-main);
  color: var(--bg-main);
  border: 1px solid var(--text-main);
}

.error-404-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow-strong);
}

.error-404-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .error-404-title {
    font-size: 5rem;
  }

  .error-404-subtitle {
    font-size: 2rem;
  }

  .error-404-actions {
    flex-direction: column;
  }

  .error-404-btn {
    width: 100%;
    justify-content: center;
  }
}
