/* ==========================================================================
   LE NATIONAL U11 — Feuille de style personnalisée (surcharge Bootstrap 5)
   Couleurs relevées sur les maquettes Figma (Desktop 1440 px)
   ========================================================================== */

:root {
  /* --- Couleurs --- */
  --vert-fonce: #0B241D;        /* héros, pied de page, cartes chiffres */
  --vert-fonce-2: #0A201A;      /* section "La compétition" */
  --vert-fonce-3: #071B16;      /* lignes du déroulement, encarts */
  --vert-ligne: #163B30;        /* bordures sur fond foncé */
  --vert-illustration: #1A5038; /* illustration "Un but pour l'avenir" */
  --vert-citron: #DCFA56;       /* accent : titres, boutons, bandeaux */
  --vert-citron-hover: #D0F23A;
  --beige: #F5F4EA;             /* fonds clairs, texte sur fond foncé */
  --blanc: #FFFFFF;
  --gris-bordure: #E1E5E4;
  --gris-texte: #5C6662;
  --gris-texte-clair: #A9B5B1;  /* texte secondaire sur fond foncé */
  --noir-texte: #0B241D;

  /* --- Typographie --- */
  --font-titre: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(3rem, 7.5vw, 6.5rem);     /* "Le National U11." */
  --fs-h1: clamp(2.75rem, 6vw, 5rem);        /* "Inscrire mon équipe." */
  --fs-h2: clamp(2rem, 3.6vw, 3.25rem);      /* titres de section */
  --fs-h2-md: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3: 1.375rem;
  --fs-stat: 1.75rem;
  --fs-base: 0.9375rem;                      /* 15 px */
  --fs-sm: 0.8125rem;                        /* 13 px */
  --fs-xs: 0.75rem;                        /* 12 px */
  --fs-overline: 0.75rem;                   /* 12 px */

  /* --- Espacements & rayons --- */
  --container-max: 1120px;
  --section-y: clamp(3rem, 6vw, 5.5rem);
  --radius: 4px;
  --radius-lg: 6px;

  /* Surcharges Bootstrap (sans toucher aux fichiers Bootstrap) */
  --bs-body-font-family: var(--font-texte);
  --bs-body-font-size: var(--fs-base);
  --bs-body-color: var(--noir-texte);
  --bs-body-bg: var(--beige);
  --bs-link-color: var(--vert-fonce);
  --bs-link-hover-color: var(--vert-illustration);
  --bs-border-radius: var(--radius);
}

/* ==========================================================================
   Base
   ========================================================================== */

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texte);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--noir-texte);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .nu-h1, .nu-h2, .nu-h3 {
  font-family: var(--font-titre);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--noir-texte);
}

.nu-container { max-width: var(--container-max); }

.nu-section { padding-block: var(--section-y); }
.nu-section--light { background: var(--beige); }
.nu-section--dark {
  background: var(--vert-fonce-2);
  color: var(--beige);
  position: relative;
  overflow: hidden;
}
/* motif feuillage très subtil sur la section foncée (comme la maquette) */
.nu-section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 85% 10%, rgba(220, 250, 86, 0.05), transparent 70%),
    radial-gradient(ellipse 30% 40% at 10% 90%, rgba(220, 250, 86, 0.04), transparent 70%);
  pointer-events: none;
}
.nu-section--dark > .container { position: relative; }

.nu-h1 { font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.035em; }
.nu-h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; margin-bottom: 0; }
.nu-h2--md { font-size: var(--fs-h2-md); }
.nu-h2--upper { font-size: clamp(1.75rem, 3.2vw, 2.9rem); text-transform: uppercase; font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; }
.nu-h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; }
.nu-h3--light { color: var(--beige); }
.nu-h2 + .nu-p, .nu-h2 + .nu-section__intro { margin-top: 1rem; }

.text-lime { color: var(--vert-citron) !important; }

.nu-p { color: var(--gris-texte); font-size: var(--fs-base); margin-bottom: 0.9rem; }

.nu-section__intro {
  color: var(--gris-texte);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 34rem;
}
.nu-section__intro--light { color: var(--gris-texte-clair); }

/* Surtitre : carré + texte en capitales espacées */
.nu-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert-fonce);
  margin-bottom: 0.9rem;
}
.nu-overline::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--vert-citron);
  flex: none;
}
.nu-overline--lime { color: var(--vert-citron); }
.nu-overline--onlime { color: var(--beige); }
.nu-overline--plain { color: var(--gris-texte); }
.nu-overline--plain::before { display: none; }

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn-nu-dark, .btn-nu-lime, .btn-nu-outline {
  --bs-btn-padding-x: 1.1rem;
  --bs-btn-padding-y: 0.6rem;
  --bs-btn-font-size: var(--fs-sm);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--radius);
  --bs-btn-border-width: 1.5px;
  display: inline-flex; align-items: center; gap: 0.5rem;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-nu-sm {
  --bs-btn-padding-x: 0.9rem;
  --bs-btn-padding-y: 0.45rem;
  --bs-btn-font-size: var(--fs-xs);
}
.btn .arrow { font-size: max(0.75em, 12px); opacity: 0.85; }

.btn-nu-dark {
  --bs-btn-color: var(--beige);
  --bs-btn-bg: var(--vert-fonce);
  --bs-btn-border-color: var(--vert-fonce);
  --bs-btn-hover-color: var(--vert-citron);
  --bs-btn-hover-bg: var(--vert-fonce-3);
  --bs-btn-hover-border-color: var(--vert-fonce-3);
  --bs-btn-active-bg: var(--vert-fonce-3);
  --bs-btn-active-color: var(--vert-citron);
}
.btn-nu-lime {
  --bs-btn-color: var(--vert-fonce);
  --bs-btn-bg: var(--vert-citron);
  --bs-btn-border-color: var(--vert-citron);
  --bs-btn-hover-color: var(--vert-fonce);
  --bs-btn-hover-bg: var(--vert-citron-hover);
  --bs-btn-hover-border-color: var(--vert-citron-hover);
  --bs-btn-active-bg: var(--vert-citron-hover);
  --bs-btn-active-color: var(--vert-fonce);
}
.btn-nu-outline {
  --bs-btn-color: var(--beige);
  --bs-btn-bg: rgba(11, 36, 29, 0.55);
  --bs-btn-border-color: rgba(245, 244, 234, 0.35);
  --bs-btn-hover-color: var(--vert-fonce);
  --bs-btn-hover-bg: var(--beige);
  --bs-btn-hover-border-color: var(--beige);
  --bs-btn-active-bg: var(--beige);
  --bs-btn-active-color: var(--vert-fonce);
}

/* ==========================================================================
   En-tête / navigation
   ========================================================================== */

.site-header {
  background: var(--beige);
  border-bottom: 1px solid var(--gris-bordure);
  position: sticky; top: 0; z-index: 1030;
}
.nu-navbar { padding-block: 0.6rem; }
.nu-brand { padding: 0; margin-right: 0; }
.nu-logo { height: 46px; width: auto; display: block; }

.nu-nav .nav-link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--vert-fonce);
  padding: 0.5rem 0.85rem;
}
.nu-nav .nav-link:hover { color: var(--vert-illustration); }
.nu-nav-cta { margin-left: 0.75rem; }

/* desktop : le logo à gauche, le menu au centre exact de la barre, le bouton à droite */
@media (min-width: 992px) {
  .nu-navbar .nu-container { position: relative; }
  .nu-navbar .navbar-collapse { justify-content: flex-end; }
  .nu-nav--center {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: row; align-items: center;
  }
  .nu-nav--cta { margin-left: auto; }
  .nu-nav-cta { margin-left: 0; }
}

.nu-backlink {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--vert-fonce);
  text-decoration: none;
}
.nu-backlink:hover { text-decoration: underline; }

/* Burger personnalisé (3 barres) */
.nu-burger {
  border: 1.5px solid var(--vert-fonce);
  border-radius: var(--radius);
  padding: 0.5rem 0.55rem;
  display: inline-flex; flex-direction: column; gap: 4px;
  box-shadow: none !important;
}
.nu-burger-bar {
  display: block; width: 18px; height: 2px;
  background: var(--vert-fonce);
  transition: transform .2s ease, opacity .2s ease;
}
.nu-burger[aria-expanded="true"] .nu-burger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nu-burger[aria-expanded="true"] .nu-burger-bar:nth-child(2) { opacity: 0; }
.nu-burger[aria-expanded="true"] .nu-burger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .nu-nav--center { padding: 0.75rem 0 0.25rem; gap: 0.1rem; }
  .nu-nav--cta { padding-bottom: 0.5rem; }
  .nu-nav .nav-link { padding-inline: 0; font-size: var(--fs-sm); }
  .nu-nav-cta { margin: 0.4rem 0 0.25rem; }
}

/* ==========================================================================
   Héros
   ========================================================================== */

.nu-hero {
  position: relative;
  background: var(--vert-fonce);
  color: var(--beige);
  min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden;
}
.nu-hero__media {
  position: absolute; inset: 0;
  background:
    url("/img/hero-pitch.svg") center / cover no-repeat,
    var(--vert-fonce);
}
.nu-hero__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 40%;
  display: block;
}
/* dégradé : texte lisible à gauche, photo visible à droite (comme la maquette) */
.nu-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 36, 29, 0.97) 0%, rgba(11, 36, 29, 0.92) 38%, rgba(11, 36, 29, 0.45) 68%, rgba(11, 36, 29, 0.25) 100%),
    linear-gradient(180deg, rgba(11, 36, 29, 0.35) 0%, rgba(11, 36, 29, 0) 40%, rgba(11, 36, 29, 0.55) 100%);
}
.nu-hero__inner { position: relative; padding-block: 4.5rem 4rem; }
.nu-hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--blanc);
  margin: 0 0 1.75rem;
}
.nu-hero__lead {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--beige);
  max-width: 30rem;
  margin-bottom: 1.5rem;
}
.nu-hero__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

@media (max-width: 767.98px) {
  .nu-hero { min-height: 0; }
  .nu-hero__inner { padding-block: 3.25rem 2.75rem; }
  .nu-hero__overlay {
    background: linear-gradient(180deg, rgba(11,36,29,.9) 0%, rgba(11,36,29,.82) 60%, rgba(11,36,29,.7) 100%);
  }
}

/* ==========================================================================
   Bandeau dates clés (vert citron)
   ========================================================================== */

.nu-keydates { background: var(--vert-citron); color: var(--vert-fonce); }
.nu-keydate {
  padding: 1.1rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  border-left: 1px solid rgba(11, 36, 29, 0.35);
}
.nu-keydate:first-child { border-left: 0; padding-left: 0; }
.nu-keydate__label {
  font-size: var(--fs-overline);
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.nu-keydate__value { font-family: var(--font-titre); font-weight: 700; font-size: var(--fs-sm); letter-spacing: -0.01em; }

@media (max-width: 767.98px) {
  .nu-keydate, .nu-keydate:first-child {
    border-left: 0; padding: 0.75rem 0;
    border-top: 1px solid rgba(11, 36, 29, 0.35);
  }
  .nu-keydate:first-child { border-top: 0; }
}

/* ==========================================================================
   Cartes génériques
   ========================================================================== */

.nu-card {
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

/* --- Chiffres clés --- */
.nu-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.nu-stat {
  background: var(--vert-fonce);
  color: var(--beige);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  min-height: 86px;
}
.nu-stat__value {
  font-family: var(--font-titre);
  font-size: var(--fs-stat);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
}
.nu-stat__label { font-size: var(--fs-overline); color: var(--gris-texte-clair); line-height: 1.3; }

@media (max-width: 991.98px) { .nu-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .nu-stats { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } }

/* --- Piliers / collecte --- */
.nu-pillar { padding: 1.25rem 1.4rem 1.3rem; }
.nu-pillar--compact { padding-bottom: 1.1rem; }
.nu-pillar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin: 0 0 0.9rem -6px;
  border-radius: 6px; background: transparent; color: var(--vert-fonce);
}
.nu-icon { width: 18px; height: 18px; }
.nu-pillar__title {
  font-family: var(--font-texte);
  font-size: var(--fs-sm);
  font-weight: 700; letter-spacing: 0;
  margin-bottom: 0.35rem;
}
.nu-pillar__text { font-size: var(--fs-xs); color: var(--gris-texte); line-height: 1.5; margin: 0; }

/* ==========================================================================
   Recherche de tournoi (calendrier)
   ========================================================================== */

.nu-finder { padding: 1.25rem 1.5rem 1.5rem; }
.nu-finder__head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--gris-bordure);
}
.nu-finder__label { font-size: var(--fs-xs); font-weight: 600; margin: 0; }
.nu-select {
  width: auto; min-width: 160px;
  font-size: var(--fs-xs);
  padding: 0.35rem 1.9rem 0.35rem 0.6rem;
  border-color: var(--gris-bordure);
  background-color: var(--beige);
  color: var(--vert-fonce);
  border-radius: var(--radius);
}
.nu-select:focus { border-color: var(--vert-fonce); box-shadow: 0 0 0 3px rgba(220, 250, 86, 0.6); }
.nu-finder__count { font-size: var(--fs-xs); color: var(--gris-texte); }

.nu-finder__list { list-style: none; margin: 0; padding: 0; }
.nu-finder__row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center; gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gris-bordure);
  font-size: var(--fs-xs);
}
.nu-finder__date { font-weight: 700; }
.nu-finder__region { color: var(--gris-texte); }
.nu-finder__zone {
  display: inline-block; margin-left: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--beige); border: 1px solid var(--gris-bordure); border-radius: 3px;
  padding: 0.1rem 0.4rem; color: var(--vert-fonce);
}
.nu-finder__choose {
  font-weight: 700; color: var(--vert-fonce); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.nu-finder__choose:hover { text-decoration: underline; }
.nu-finder__row.is-hidden { display: none; }
.nu-finder__empty { padding: 1rem 0; font-size: var(--fs-xs); color: var(--gris-texte); }

@media (max-width: 575.98px) {
  .nu-finder__row { grid-template-columns: 64px 1fr auto; gap: 0.6rem; }
  .nu-finder__count { width: 100%; margin-left: 0 !important; }
}

/* ==========================================================================
   La compétition (section foncée)
   ========================================================================== */

.nu-phase {
  background: var(--vert-citron);
  color: var(--vert-fonce);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem 1.4rem;
}
.nu-phase__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--vert-fonce); color: var(--vert-citron);
  font-size: 0.75rem; font-weight: 700;
  margin-bottom: 0.9rem;
}
.nu-phase__title {
  font-family: var(--font-titre);
  font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--vert-fonce);
}
.nu-phase__list { margin: 0; padding-left: 1.1rem; font-size: var(--fs-xs); line-height: 1.5; }
.nu-phase__list li { margin-bottom: 0.3rem; }
.nu-phase__list li::marker { color: var(--vert-fonce); }

.nu-schedule { list-style: none; margin: 0; padding: 0; }
.nu-schedule__row {
  display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem;
  background: var(--vert-fonce-3);
  padding: 0.55rem 0.9rem;
  margin-bottom: 4px;
  font-size: var(--fs-xs);
  border-radius: 3px;
}
.nu-schedule__time { color: var(--vert-citron); font-weight: 600; }
.nu-schedule__label { color: var(--beige); font-weight: 700; }

.nu-infobox {
  border: 1px solid var(--vert-ligne);
  background: rgba(7, 27, 22, 0.5);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}
.nu-infobox__title {
  font-family: var(--font-texte);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0;
  color: var(--beige); margin-bottom: 0.5rem;
}
.nu-infobox__text { font-size: var(--fs-xs); color: var(--gris-texte-clair); line-height: 1.6; }
.nu-infobox__note {
  font-size: var(--fs-xs); font-weight: 600; color: var(--beige);
  background: var(--vert-fonce-3);
  padding: 0.5rem 0.75rem; border-radius: 3px;
}

/* ==========================================================================
   Action solidaire
   ========================================================================== */

.nu-illustration {
  position: relative;
  background: var(--vert-illustration);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  /* bandes de tonte */
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.06) 0 12.5%, transparent 12.5% 25%);
}
.nu-illustration__pitch {
  position: absolute; inset: 11% 14%;
  border: 1.5px solid rgba(220, 250, 86, 0.75);
  border-radius: 2px;
}
.nu-illustration__pitch::before {   /* rond central */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 1.5px solid rgba(220, 250, 86, 0.75); border-radius: 50%;
}
.nu-illustration__pitch::after {    /* ligne médiane */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  border-left: 1.5px solid rgba(220, 250, 86, 0.75);
}
.nu-illustration__badge {
  position: relative; z-index: 1;
  font-family: var(--font-titre); font-weight: 800; font-style: italic;
  font-size: clamp(3rem, 7vw, 4.75rem); letter-spacing: -0.04em;
  color: var(--vert-citron);
  background: var(--vert-illustration);
  padding: 0.1em 0.3em; border-radius: 4px;
  line-height: 1;
}
.nu-solidaire__text { padding-left: clamp(0px, 3vw, 2.5rem); }

/* --- Partenaires (carrousel) --- */
.nu-partners { position: relative; }
.nu-partners__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 0.75rem) / 5);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.nu-partners__track::-webkit-scrollbar { display: none; }
.nu-partner {
  scroll-snap-align: start;
  background: var(--blanc);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--radius-lg);
  padding: 0.8rem 0.75rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem;
  min-height: 118px;
}
.nu-partner__role { font-size: 0.75rem; color: var(--gris-texte); }
.nu-partner__mark {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre); font-weight: 800; font-size: 0.95rem;
  letter-spacing: -0.02em; color: var(--vert-fonce);
  padding: 0.25rem 0.5rem; border-radius: 3px; width: 100%;
}
.nu-partner__mark--activsport { color: #1D5FBF; font-style: italic; }
.nu-partner__mark--olympique { color: #0B2A75; }
.nu-partner__mark--sportland { color: var(--blanc); background: #111; font-size: 0.8rem; }
.nu-partner__mark--af2c { color: #0A3D91; }
.nu-partner__mark--haida { color: var(--blanc); background: #0B61C9; font-size: 0.75rem; line-height: 1.1; }
.nu-partner__mark--tbf { color: #B51E1E; }
.nu-partner__name { font-size: var(--fs-xs); font-weight: 600; }

.nu-partners__dots { display: flex; justify-content: center; gap: 0; margin-top: 0.5rem; }
/* le point reste petit à l'œil ; la zone cliquable (padding + fond limité au contenu) fait 24 px, 44 px sur écran tactile */
.nu-partners__dot {
  width: 24px; height: 24px; border-radius: 3px; border: 0; padding: 9px;
  background: var(--gris-bordure); background-clip: content-box; cursor: pointer;
}
.nu-partners__dot.is-active { background-color: var(--vert-fonce); }
.nu-partners__dot:focus-visible { outline: 2px solid var(--vert-fonce); outline-offset: -4px; }
@media (max-width: 991.98px) { .nu-partners__dot { width: 44px; height: 44px; padding: 19px; } }

@media (max-width: 991.98px) { .nu-partners__track { grid-auto-columns: calc((100% - 2 * 0.75rem) / 3); } }
@media (max-width: 575.98px) { .nu-partners__track { grid-auto-columns: calc((100% - 0.75rem) / 2); } }

/* ==========================================================================
   Appel à l'inscription (bandeau vert citron)
   ========================================================================== */

.nu-cta { background: var(--vert-citron); color: var(--vert-fonce); padding-block: 2rem; }
.nu-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.nu-cta__title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.35rem; }
.nu-cta__meta { font-size: var(--fs-xs); }
.nu-cta .nu-overline--plain { color: var(--vert-fonce); }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  background: var(--vert-fonce);
  color: var(--beige);
  padding-block: 2.25rem 1.75rem;
  font-size: var(--fs-xs);
  border-top: 2px solid var(--vert-citron);
}
.nu-footer-logo { margin-bottom: 1rem; }
.nu-logo-tile {
  display: inline-block; background: var(--beige);
  padding: 0.4rem 0.6rem; border-radius: var(--radius);
}
.nu-logo-tile img { height: 44px; width: auto; display: block; }
.nu-logo-tile--sm { padding: 0.25rem 0.4rem; }
.nu-logo-tile--sm img { height: 28px; }

.nu-footer-brand { font-weight: 700; color: var(--beige); margin: 0; }
.nu-footer-muted { color: var(--gris-texte-clair); margin: 0; }
.nu-footer-link { color: var(--beige); text-decoration: none; }
.nu-footer-link:hover { color: var(--vert-citron); }
.nu-footer-contact li { margin-bottom: 0.3rem; }

.nu-footer-links {
  list-style: none; padding: 1.25rem 0 0; margin: 2rem 0 0;
  border-top: 1px solid var(--vert-ligne);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem;
}
.nu-footer-links a { color: var(--beige); font-weight: 600; text-decoration: none; }
.nu-footer-links a:hover { color: var(--vert-citron); }

.site-footer--minimal { padding-block: 1.1rem; }
.nu-footer-min { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.nu-footer-min__brand { display: inline-flex; align-items: center; gap: 0.75rem; }

/* ==========================================================================
   Page inscription
   ========================================================================== */

.nu-inscription__lead { max-width: 24rem; margin-top: 1.5rem; }

.nu-prepare { padding: 1.5rem 1.75rem 1.6rem; }
.nu-prepare__list { margin: 0 0 1rem; }
.nu-prepare__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--gris-bordure);
  font-size: var(--fs-xs);
}
.nu-prepare__row dt { font-weight: 400; color: var(--gris-texte); }
.nu-prepare__row dd { margin: 0; font-weight: 700; text-align: right; }
.nu-prepare__note {
  background: var(--beige); border-radius: var(--radius);
  padding: 0.6rem 0.75rem; font-size: var(--fs-xs); color: var(--gris-texte);
  margin-bottom: 1rem;
}
.nu-prepare__links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; }
.nu-prepare__links a { font-size: var(--fs-xs); font-weight: 700; color: var(--vert-fonce); text-decoration: none; }
.nu-prepare__links a:hover { text-decoration: underline; }

.nu-form { padding: 1.75rem 1.75rem 2rem; }
.nu-form__title { margin-bottom: 1.5rem; }
.nu-fieldset { margin-bottom: 1.5rem; }
.nu-legend {
  float: none; width: auto;
  font-size: var(--fs-sm); font-weight: 700;
  margin-bottom: 0.6rem;
}
.nu-label { font-size: var(--fs-xs); font-weight: 500; margin-bottom: 0.3rem; }
.nu-label .req { color: var(--gris-texte); }
.nu-input {
  background: var(--beige);
  border: 1px solid var(--gris-bordure);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  padding: 0.5rem 0.7rem;
  color: var(--noir-texte);
}
.nu-input:focus {
  background: var(--blanc);
  border-color: var(--vert-fonce);
  box-shadow: 0 0 0 3px rgba(220, 250, 86, 0.6);
}
.nu-input::placeholder { color: #636C68; opacity: 1; } /* 4,9:1 sur le fond beige */
.was-validated .nu-input:valid, .nu-input.is-valid { border-color: #4C9A5E; background-image: none; }
.was-validated .nu-input:invalid, .nu-input.is-invalid { border-color: #C23B3B; background-image: none; }
.invalid-feedback { font-size: var(--fs-xs); }

.nu-check { font-size: var(--fs-xs); padding-left: 1.6rem; }
.nu-check .form-check-input {
  width: 1rem; height: 1rem; margin-left: -1.6rem; margin-top: 0.15rem;
  border: 1.5px solid var(--vert-fonce); border-radius: 50%;
}
.nu-check .form-check-input:checked { background-color: var(--vert-fonce); border-color: var(--vert-fonce); }
.nu-check .form-check-input:focus { box-shadow: 0 0 0 3px rgba(220, 250, 86, 0.6); border-color: var(--vert-fonce); }
.nu-form__hint { font-size: var(--fs-xs); font-style: italic; color: var(--gris-texte); margin: 0.9rem 0 1.1rem; }

@media (max-width: 991.98px) {
  .nu-h1 br { display: none; }
}

/* ==========================================================================
   Accessibilité : réduction des animations
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   Connexion, compte, invitation, résultats publics, pages légales : même système que le site
   (cartes nu-card, champs nu-input, boutons btn-nu-*). Le bouton « Connexion » reste discret.
   ========================================================================== */
/* « Connexion » / « Mon espace » : même forme que le bouton d'inscription (.btn-nu-sm : rayon, bordure
   1,5 px, mêmes marges et même corps de texte), couleurs claires conservées. */
.nu-login { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem; border-radius: var(--radius); font-size: var(--fs-xs); font-weight: 600; line-height: 1.5; color: var(--vert-fonce, #0B241D); border: 1.5px solid rgba(11, 36, 29, .2); background: #fff; white-space: nowrap; text-decoration: none; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.nu-login:hover, .nu-login:focus-visible { border-color: var(--vert-fonce, #0B241D); color: var(--vert-fonce, #0B241D); }
.nu-login__avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--vert-fonce, #0B241D); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Pot de miel anti-spam : hors écran, jamais masqué par display:none (certains robots l'ignoreraient). */
.nu-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Overlay « Voulez-vous vous déconnecter ? » sur la page de connexion. */
.nu-overlay { position: fixed; inset: 0; z-index: 1050; display: grid; place-items: center; padding: 1rem; background: rgba(11, 36, 29, .55); backdrop-filter: blur(3px); animation: nu-overlay-in .25s ease both; }
.nu-overlay__card { width: min(100%, 480px); padding: 1.75rem; animation: nu-overlay-card .35s cubic-bezier(.2, .8, .2, 1) both; }
.nu-overlay__title { font-family: var(--font-title, inherit); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin: .35rem 0 .75rem; }
.nu-overlay .nu-p { margin-bottom: 1.25rem; }
.nu-overlay form { display: inline; }
@keyframes nu-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes nu-overlay-card { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nu-overlay, .nu-overlay__card { animation: none; } }
.nu-nav-login { margin-left: .75rem; display: flex; align-items: center; }
.nu-nav-min { display: flex; align-items: center; gap: 14px; }
@media (max-width: 991.98px) { .nu-nav-login { margin: .4rem 0 .5rem; } }
.nu-auth .nu-h1 { margin-bottom: 1rem; }
.nu-auth__card { padding: 1.75rem; }
.nu-auth__form .nu-label { font-weight: 600; }
.nu-auth__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .25rem; }
.nu-auth__link { font-size: .9rem; font-weight: 600; color: var(--vert-fonce, #0B241D); text-decoration: underline; text-underline-offset: 3px; }
.nu-auth__sep { display: flex; align-items: center; gap: 12px; margin: 1.5rem 0 1.25rem; color: var(--gris-texte); font-size: .85rem; }
.nu-auth__sep::before, .nu-auth__sep::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.nu-auth__inline { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.nu-auth__inline .nu-input { flex: 1 1 200px; }
.nu-alert { padding: .8rem 1rem; border-radius: 10px; background: #E6F2EA; color: #0E5A36; font-weight: 600; font-size: .92rem; margin-bottom: 1.25rem; }
.nu-alert--error { background: #FCE8E6; color: #B42318; }
.nu-prepare__bullets { padding-left: 1.1rem; margin: 0; font-size: .92rem; color: #374151; display: grid; gap: .35rem; }
.nu-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 1rem; }
.nu-table th { text-align: left; font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-texte); padding: 0 8px 8px 0; border-bottom: 1px solid #e5e7eb; }
.nu-table td, .nu-table tbody th { padding: 8px 8px 8px 0; border-bottom: 1px solid #f0f1f3; }
.nu-table tbody th { font-size: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; color: inherit; text-align: left; }
.nu-table .num { text-align: right; white-space: nowrap; }
.nu-results__matches { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .88rem; }
.nu-results__matches li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #f0f1f3; }
.nu-results__time { font-weight: 700; color: #0E5A36; font-variant-numeric: tabular-nums; }
.nu-results__pool { height: 100%; }
.nu-legal .nu-p { margin-bottom: 1rem; }
.nu-form__hint a, .nu-prepare__note a, .nu-auth .nu-p a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Accessibilité : lien d'évitement, cibles tactiles, bouton destructif
   ========================================================================== */
.nu-skip {
  position: absolute; left: 1rem; top: -60px; z-index: 1100;
  padding: 0.6rem 1rem; border-radius: var(--radius);
  background: var(--vert-fonce); color: var(--beige); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: none; transition: top .15s ease;
}
.nu-skip:focus, .nu-skip:focus-visible { top: 0.75rem; color: var(--vert-citron); outline: 2px solid var(--vert-citron); outline-offset: 2px; }
/* sous 992 px : les liens-boutons texte offrent une cible d'au moins 44 px de haut */
@media (max-width: 991.98px) {
  .nu-finder__choose, .nu-backlink, .nu-auth__link, .nu-prepare__links a, .nu-footer-link, .nu-footer-links a, .nu-login {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .btn-nu-sm { min-height: 44px; }
}
/* action destructive (supprimer le compte…) : rouge sobre, contraste AA (6,6:1) */
.btn-nu-danger {
  --bs-btn-padding-x: 1.1rem;
  --bs-btn-padding-y: 0.6rem;
  --bs-btn-font-size: var(--fs-sm);
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--radius);
  --bs-btn-border-width: 1.5px;
  --bs-btn-color: #fff;
  --bs-btn-bg: #B42318;
  --bs-btn-border-color: #B42318;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #8F1B12;
  --bs-btn-hover-border-color: #8F1B12;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #8F1B12;
  --bs-btn-active-border-color: #8F1B12;
  --bs-btn-focus-shadow-rgb: 180, 35, 24;
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-nu-danger:focus-visible { outline: 2px solid #B42318; outline-offset: 2px; }
/* bouton occupé pendant un envoi */
.btn[aria-busy="true"] { cursor: progress; }
