*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f3f4f6;
  color: #0f172a;
  line-height: 1.5;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.narrow {
  max-width: 720px;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.section-intro {
  margin-bottom: 2rem;
  color: #4b5563;
}

/* Header / Nav */

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: #111827;
}

.main-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  color: #4b5563;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-link.active {
  color: #2563eb;
  border-color: #2563eb;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-gradient {
  background: radial-gradient(circle at top left, #dbeafe 0, #eff6ff 35%, #f9fafb 70%, #f3f4f6 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.8);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.9rem;
  color: #6b7280;
}

.hero-side-card h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

.hero-list {
  padding-left: 0;
  margin: 0 0 0.75rem 0;
  list-style: none;
  color: #374151;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hero-mini {
  font-size: 0.85rem;
  color: #6b7280;
}

.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.dot-blue {
  background: #2563eb;
}

.dot-purple {
  background: #7c3aed;
}

.dot-green {
  background: #16a34a;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 18px 35px -22px rgba(37, 99, 235, 1);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: #ffffff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.btn-outline:hover {
  background-color: #eff6ff;
}

/* Cards */

.card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.55);
  padding: 1.6rem;
}

.card-soft {
  border-color: #e0f2fe;
  background: linear-gradient(135deg, #f9fafb, #eff6ff);
}

.card-intro {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #4b5563;
}

/* Steps grid */

.section-alt {
  background: #f9fafb;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-card h3 {
  margin-top: 0.75rem;
}

.step-card p {
  margin-bottom: 0;
  color: #4b5563;
}

.step-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
}

/* Pills */

.pill-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill-soft-blue {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.pill-soft-purple {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #6d28d9;
}

.pill-soft-green {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #15803d;
}

/* Forms */

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

input[type="email"],
input[type="text"] {
  border-radius: 0.8rem;
  border: 1px solid #d1d5db;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  background-color: #f9fafb;
}

input[type="email"]:focus,
input[type="text"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb33;
  background-color: #ffffff;
}

.form-status {
  font-size: 0.9rem;
  color: #6b7280;
  min-height: 1.4em;
}

.small-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 1rem;
}

/* Tally wrapper */

.tally-wrapper {
  border-radius: 0.9rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px dashed #cbd5f5;
}

/* Process card */

.process-card ul {
  padding-left: 1.25rem;
  margin-bottom: 0.9rem;
}

.process-card li {
  margin-bottom: 0.3rem;
}

/* Signalement card */

.resultat-signalement {
  margin-top: 1.5rem;
}

.signalement-card h2 {
  margin-top: 0;
}

.signalement-meta {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.signalement-details {
  margin: 0;
}

.signalement-details div {
  margin-bottom: 0.75rem;
}

.signalement-details dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
}

.signalement-details dd {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
}

.signalement-contenu {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background-color: #eff6ff;
  color: #2563eb;
  font-size: 0.8rem;
}

/* Status steps */

.status-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.25rem 0 0.75rem;
}

.status-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  background: #ffffff;
}

.status-step.active {
  color: #2563eb;
}

.status-step.active .status-dot {
  border-color: #2563eb;
  background-color: #eff6ff;
}

.status-legend {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Page Vérifier un numéro */

.numero-resume-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.numero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.9rem;
}

.liste-signalements-numero {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signalement-numero-card h3 {
  margin-top: 0;
}

/* Article page */

.article h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.article h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article h3 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.article p {
  margin-bottom: 0.9rem;
}

.article ul {
  padding-left: 1.25rem;
  margin-bottom: 0.9rem;
}

.article li {
  margin-bottom: 0.35rem;
}

/* FAQ */

.faq-item {
  margin-bottom: 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.85rem;
  background-color: #f9fafb;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  list-style: none;
}

.faq-item[open] {
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.faq-item p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Help text */

.help-text {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.75rem 0;
  margin-top: 3rem;
  background: #ffffff;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-main p {
  margin: 0.1rem 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Links */

a {
  color: #2563eb;
}

a:hover {
  color: #1d4ed8;
}

/* Responsive */

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    margin-top: 2.5rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding-inline: 1rem;
  }

  .container {
    padding-inline: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
