/**
 * @file
 * Styles Mentions Légales - Inodico
 * Titres, listes à puces et liens
 */

/* ==========================================================================
   TITRES
   ========================================================================== */

/* H1 - Centré */
.main-content h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  position: relative;
}

.main-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 2px;
}

/* H2 */
.main-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid #3b82f6;
}

/* H3 */
.main-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 2rem 0 0.75rem;
}

/* H4 */
.main-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  margin: 1.5rem 0 0.5rem;
}

/* ==========================================================================
   LISTES À PUCES
   ========================================================================== */

.main-content ul {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}

.main-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
  color: #0f172a;
}

.main-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 50%;
}

/* ==========================================================================
   LIENS
   ========================================================================== */

.main-content a {
  color: #3b82f6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-content a:hover {
  color: #06b6d4;
  border-bottom-color: #06b6d4;
}

.main-content a:focus {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .main-content h1 {
    font-size: 1.875rem;
  }

  .main-content h2 {
    font-size: 1.3rem;
  }

  .main-content h3 {
    font-size: 1.15rem;
  }

  .main-content h4 {
    font-size: 1rem;
  }
}