/* Plan du site — style type index sitemap SEO (lisible navigateur) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #1d2327;
  background: #fff;
}

a {
  color: #2271b1;
  text-decoration: none;
}

a:hover {
  color: #135e96;
  text-decoration: underline;
}

/* Bandeau sombre */
.sitemap-banner {
  background: #141b2d;
  color: #fff;
  padding: 2rem 1.5rem 2.25rem;
}

.sitemap-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sitemap-banner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.sitemap-banner p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 900px;
  margin-bottom: 0.75rem;
}

.sitemap-banner a {
  color: #7eb8ff;
}

.sitemap-banner a:hover {
  color: #fff;
}

.sitemap-banner__meta {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.sitemap-banner__meta strong {
  font-weight: 600;
  color: #fff;
}

/* Contenu */
.sitemap-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
}

.breadcrumb {
  font-size: 0.875rem;
  color: #50575e;
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: #2271b1;
}

.breadcrumb__sep {
  margin: 0 0.35rem;
  color: #a7aaad;
}

/* Tableau */
.sitemap-table-wrap {
  border: 1px solid #c3c4c7;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.sitemap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sitemap-table thead th {
  background: #f0f0f1;
  color: #1d2327;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #c3c4c7;
  font-size: 13px;
}

.sitemap-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #dcdcde;
  vertical-align: top;
}

.sitemap-table tbody tr:last-child td {
  border-bottom: none;
}

.sitemap-table tbody tr:nth-child(even) {
  background: #f6f7f7;
}

.sitemap-table tbody tr:nth-child(odd) {
  background: #fff;
}

.sitemap-table tbody tr:hover td {
  background: #f0f6fc;
}

.sitemap-table td a {
  word-break: break-all;
}

.sitemap-table .col-date,
.sitemap-table .col-freq,
.sitemap-table .col-prio {
  white-space: nowrap;
  color: #50575e;
  width: 1%;
}

.sitemap-footer-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: #787c82;
}

@media (max-width: 640px) {
  .sitemap-banner {
    padding: 1.5rem 1rem;
  }

  .sitemap-banner h1 {
    font-size: 1.5rem;
  }

  .sitemap-main {
    padding: 1rem;
  }

  .sitemap-table thead {
    display: none;
  }

  .sitemap-table tbody tr {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dcdcde;
  }

  .sitemap-table tbody td {
    display: block;
    padding: 0.2rem 0;
    border: none;
  }

  .sitemap-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #787c82;
    display: block;
    margin-bottom: 0.15rem;
  }
}
