:root {
  --secnum-ink: #252e36;
  --secnum-bg: #e8e4dd;
  --secnum-bordeaux: #820000;
  --secnum-blue: #0055a0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--secnum-ink);
  background: var(--secnum-bg);
  text-align: justify;
}

a {
  color: #2a333a;
  text-decoration: none;
  border-bottom: 1px dotted var(--secnum-bordeaux);
}

a:hover,
a:focus {
  color: var(--secnum-bordeaux);
}

.secnum-shell {
  min-height: 100vh;
}

/* Bandeau du haut inspiré du site d'origine (#masthead). */
.secnum-masthead-wrap {
  position: relative;
  margin-top: 36px;
  padding: 22px 0;
}

.secnum-masthead-wrap::before,
.secnum-masthead-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 220px;
  height: 110px;
  margin-left: -110px;
  background: var(--secnum-ink);
  border-radius: 200px;
  z-index: 0;
}

.secnum-masthead-wrap::before {
  top: -37px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.secnum-masthead-wrap::after {
  bottom: -37px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.secnum-navbar {
  position: relative;
  z-index: 1;
  background: transparent;
}

.secnum-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.secnum-brand img {
  max-height: 52px;
  width: auto;
}

.secnum-title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.15;
}

.secnum-title a {
  border-bottom: 0;
  color: var(--secnum-ink);
}

.secnum-nav a {
  border-bottom: 0;
}

.secnum-incident-link {
  color: #ff0000 !important;
  font-weight: 900;
}

/* Hero */
.secnum-hero {
  position: relative;
  min-height: 240px;
  background-image: url("https://secnum.univ-tours.fr/wp-content/uploads/2021/05/AdobeStock_273092069-scaled.jpeg");
  background-size: cover;
  background-position: 60% 75%;
}

.secnum-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.secnum-hero-inner {
  position: relative;
  padding: 64px 0;
  text-align: center;
  color: #ffffff;
}

.secnum-hero-kicker {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 8px;
}

.secnum-hero-lead {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  margin: 0;
}

.secnum-hero a {
  color: #ffffff;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.8);
}

.secnum-divider {
  height: 1px;
  background: var(--secnum-blue);
  opacity: 0.85;
}

/* A savoir */
.secnum-section-title {
  font-family: "Lora", serif;
  font-weight: 700;
  text-align: center;
}

.secnum-post-title {
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.secnum-post-date {
  font-size: 0.9rem;
  color: #474747;
}

.secnum-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(37, 46, 54, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Footer (3 colonnes) */
.secnum-footer {
  margin-top: 60px;
  background: var(--secnum-ink);
  color: #ffffff;
  padding: 44px 0;
}

.secnum-footer h2 {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 12px;
}

.secnum-footer a {
  color: #ffffff;
  border-bottom: 0;
}

.secnum-footer a:hover,
.secnum-footer a:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* Petites adaptations mobiles */
@media (max-width: 575.98px) {
  .secnum-brand img {
    max-height: 44px;
  }
  .secnum-title {
    font-size: 0.98rem;
  }
  .secnum-masthead-wrap {
    padding: 16px 0;
  }
  .secnum-hero-inner {
    padding: 52px 0;
  }
}

