:root {
  --blue: #042e66;
  --navy: #021b3a;
  --navy-2: #03142b;
  --gold: #cba041;
  --gold-2: #e0b84c;
  --white: #ffffff;
  --soft: #f7f7f7;
  --line: #e5e0d5;
  --muted: #687386;
  --ink: #091d39;
  --shadow: 0 22px 60px rgba(2, 27, 58, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  /* La navbar est fixe : ce retrait empêche le contenu de passer sous le header. */
  padding-top: 58px;
  color: var(--ink);
  background: var(--soft);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  /* Empêche un composant trop large de créer une barre de défilement horizontale. */
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo-upj.logo-upj {
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(203, 160, 65, 0.3);
  display: block;
  flex-shrink: 0;
}

.logo-upj.logo-upj--xs { width: 28px; height: 28px; }
.logo-upj.logo-upj--sm { width: 36px; height: 36px; }
.logo-upj.logo-upj--md { width: 44px; height: 44px; }
.logo-upj.logo-upj--lg { width: 64px; height: 64px; }
.logo-upj.logo-upj--xl { width: 80px; height: 80px; }
.logo-upj.logo-upj--2xl { width: 120px; height: 120px; }

@media (max-width: 768px) {
  .logo-upj.logo-upj--lg { width: 52px; height: 52px; }
  .logo-upj.logo-upj--xl { width: 64px; height: 64px; }

  .f1-brand-logo {
    width: 52px !important;
    height: 52px !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(20px, 6vw, 98px);
  color: var(--white);
  background: rgba(2, 18, 38, 0.96);
  border-bottom: 1px solid rgba(203, 160, 65, 0.24);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.brand strong {
  color: var(--gold);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 28px);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--gold);
}

.member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(203, 160, 65, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(203, 160, 65, 0.45);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 42px;
  padding: 84px clamp(24px, 7vw, 118px) 128px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 17, 35, 0.96) 0%, rgba(2, 17, 35, 0.88) 34%, rgba(2, 17, 35, 0.38) 70%),
    linear-gradient(180deg, rgba(2, 17, 35, 0.3), rgba(2, 17, 35, 0.92)),
    url("assets/images/hero-hemicycle.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 64% 28%, rgba(203, 160, 65, 0.18), transparent 23%);
  pointer-events: none;
}

.hero-content,
.hero-seal,
.social-rail {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

.hero h1,
.mini-hero h1,
.mini-hero__title,
.section h2,
.bottom-cta p {
  font-family: 'Cinzel', serif;
  line-height: 1.08;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.45rem, 5.7vw, 5.9rem);
  color: var(--white);
}

.hero h1::after {
  content: "";
  display: block;
  width: 145px;
  height: 3px;
  margin-top: 26px;
  background: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(203, 160, 65, 0.2);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(2, 27, 58, 0.24);
}

.btn-outline.dark {
  color: var(--navy);
  border-color: rgba(2, 27, 58, 0.22);
  background: transparent;
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

.hero-seal {
  justify-self: center;
  width: min(360px, 32vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 12px;
  background: rgba(2, 27, 58, 0.68);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.hero-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
}

.social-rail {
  position: absolute;
  right: 28px;
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.social-rail a,
.social-inline a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(1180px, calc(100% - 48px));
  margin: -74px auto 0;
  color: var(--white);
  background: rgba(2, 27, 58, 0.98);
  border: 1px solid rgba(203, 160, 65, 0.56);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 18px 28px;
  border-right: 1px solid rgba(203, 160, 65, 0.42);
}

.stat-card:last-child {
  border-right: 0;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
}

.stat-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.stat-card p {
  grid-column: 2;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.split-mission {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 38px;
  align-items: stretch;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(2, 27, 58, 0.08);
}

.pillars article {
  display: flex;
  gap: 18px;
  min-height: 210px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.pillars article:last-child {
  border-right: 0;
}

.pillars img,
.objective-grid img,
.program-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.pillars h2,
.vision-card h2,
.objective-grid h3,
.news-card h3,
.program-content h2,
.info-cards h2,
.panel-heading h2,
.dashboard h2 {
  margin: 0;
  color: var(--navy);
}

.pillars h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.08rem;
  text-transform: uppercase;
}

.pillars h2::after,
.news-card h3::after,
.program-content h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 14px 0;
  background: var(--gold);
}

.pillars p,
.objective-grid p,
.news-card p,
.rich-text p,
.info-cards p,
.program-content p,
.contact-card p,
.dashboard li {
  color: #344158;
}

.vision-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #042b5d);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vision-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.78;
}

.vision-card h2,
.vision-card p {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.vision-card h2 {
  color: var(--gold);
  text-transform: uppercase;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
  text-align: center;
}

.section-title.compact {
  margin-bottom: 0;
}

.section-title span {
  width: 74px;
  height: 2px;
  background: var(--gold);
}

.section-title h2 {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

.objective-grid,
.news-grid,
.team-grid,
.value-grid,
.benefit-grid,
.packs,
.dashboard-grid {
  display: grid;
  gap: 18px;
}

.objective-grid {
  grid-template-columns: repeat(4, 1fr);
}

.objective-grid article,
.news-card,
.info-cards article,
.value-grid article,
.member-card,
.packs article,
.dashboard-grid article,
.contact-card,
.form-section,
.admin-panel,
.login-card {
  background: var(--white);
  border: 1px solid rgba(2, 27, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(2, 27, 58, 0.07);
}

.objective-grid article {
  padding: 26px;
}

.objective-grid h3 {
  min-height: 50px;
  margin: 16px 0 12px;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.small-link {
  min-width: 110px;
  padding: 9px 14px;
  color: var(--navy);
  border: 1px solid rgba(2, 27, 58, 0.22);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  background: var(--white);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-grid.large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card div {
  padding: 18px;
}

.news-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.news-card button {
  margin-top: 10px;
}

.bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(24px, 7vw, 118px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 27, 58, 0.98), rgba(2, 27, 58, 0.82)),
    url("assets/images/hero-hemicycle.png") center / cover no-repeat;
}

.bottom-cta p {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--white);
}

.bottom-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 42px clamp(24px, 7vw, 118px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-2);
  border-top: 1px solid rgba(203, 160, 65, 0.28);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
}

.newsletter-form input {
  min-width: 0;
  border: 0;
  padding: 12px;
}

.newsletter-form button {
  color: var(--navy);
  background: var(--gold);
  border: 0;
  font-weight: 900;
}

.mailchimp-link {
  color: var(--gold) !important;
  font-size: 0.82rem;
}

.mini-hero {
  height: 280px;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 7vw, 118px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 27, 58, 0.94), rgba(2, 27, 58, 0.74)),
    url("assets/images/hero-hemicycle.png") center / cover no-repeat;
}

.mini-hero h1,
.mini-hero__title {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.breadcrumb {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--gold);
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: start;
}

.two-column h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.rich-text {
  font-size: 1.05rem;
}

.info-cards {
  grid-template-columns: repeat(3, 1fr);
}

.info-cards article {
  padding: 30px;
}

.info-cards h2 {
  margin-bottom: 14px;
  color: var(--gold);
}

.value-grid,
.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.value-grid article,
.benefit-grid article {
  min-height: 150px;
  padding: 24px;
}

.value-grid strong,
.benefit-grid article {
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.org-chart {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.org-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.org-row.commissions {
  grid-template-columns: repeat(4, 1fr);
}

.org-node {
  padding: 18px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(2, 27, 58, 0.14);
}

.org-node.president {
  width: min(420px, 100%);
  margin: 0 auto;
  background: var(--navy);
  color: var(--gold);
}

.org-line {
  width: 2px;
  height: 42px;
  margin: 0 auto;
  background: var(--gold);
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.member-card {
  padding: 28px;
}

.photo-placeholder,
.member-photo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: var(--gold);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.member-card h3 {
  margin: 18px 0 4px;
  color: var(--navy);
}

.member-card strong {
  color: var(--gold);
  text-transform: uppercase;
}

.programs-list {
  display: grid;
  gap: 34px;
}

.program-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.program-card.reverse .program-image {
  order: 2;
}

.program-image {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.program-content {
  padding: clamp(28px, 5vw, 56px);
}

.program-content h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.program-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.program-columns h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.news-tools {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px) auto;
  gap: 18px;
  align-items: end;
  padding-bottom: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(2, 27, 58, 0.16);
  border-radius: 4px;
  font-weight: 800;
}

.filter-btn.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.search-box,
.form-grid label,
.login-card label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.search-box input,
.form-grid input,
.form-grid select,
.form-grid textarea,
.login-card input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(2, 27, 58, 0.16);
  border-radius: 4px;
}

.admin-panel,
.form-section {
  padding: 34px;
}

.panel-heading {
  margin-bottom: 24px;
}

.panel-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid.one {
  grid-template-columns: 1fr;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid button {
  justify-self: start;
}

.hidden {
  display: none !important;
}

.empty-state,
.form-message {
  padding: 18px;
  color: var(--navy);
  background: rgba(203, 160, 65, 0.14);
  border: 1px solid rgba(203, 160, 65, 0.42);
  border-radius: var(--radius);
  font-weight: 800;
}

/* Confirmation newsletter : message blanc et effet discret sur les fonds sombres du footer. */
.form-message.newsletter-message,
.newsletter-form + .form-message {
  margin-top: 10px;
  padding: 10px 12px;
  color: #ffffff !important;
  background: rgba(13, 27, 75, 0.72);
  border: 1px solid rgba(203, 160, 65, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
  line-height: 1.35;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-message.newsletter-message.is-hiding,
.newsletter-form + .form-message.is-hiding {
  opacity: 0;
  transform: translateY(-4px);
}

.partner-intro {
  text-align: center;
}

.partner-intro h2 {
  max-width: 860px;
  margin: 0 auto 28px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.logo-strip span {
  display: grid;
  place-items: center;
  min-height: 86px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  text-transform: uppercase;
}

.packs {
  grid-template-columns: repeat(3, 1fr);
}

.packs article {
  padding: 34px;
}

.packs .featured {
  color: var(--white);
  background: var(--navy);
  border-color: var(--gold);
}

.packs h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 2rem;
}

.packs strong {
  display: block;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
}

.contact-card {
  padding: 30px;
}

.contact-card h2 {
  margin-top: 0;
  color: var(--navy);
}

.social-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-inline a {
  width: auto;
  min-width: 86px;
  padding: 0 12px;
  border-radius: 999px;
}

.member-login {
  display: grid;
  place-items: center;
}

.login-card {
  width: min(440px, 100%);
  padding: 34px;
}

.login-card img {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.login-card h2 {
  margin: 0 0 22px;
  text-align: center;
}

.login-card .btn {
  width: 100%;
  margin: 10px 0;
}

.login-card a {
  display: block;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard-grid {
  grid-template-columns: 1.1fr repeat(2, 1fr);
}

.dashboard-grid article {
  padding: 28px;
}

.profile-panel {
  grid-row: span 2;
}

.status {
  display: inline-flex;
  padding: 6px 12px;
  color: #0f5132;
  background: #d1e7dd;
  border-radius: 999px;
  font-weight: 900;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(3, 26px);
  gap: 7px;
  width: max-content;
  margin-top: 20px;
  padding: 14px;
  background: var(--white);
  border: 2px solid var(--navy);
}

.qr-code span {
  width: 26px;
  height: 26px;
  background: var(--navy);
}

.qr-code span:nth-child(2),
.qr-code span:nth-child(4),
.qr-code span:nth-child(8) {
  background: var(--gold);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .member-link {
    display: none;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .member-link {
    display: flex;
  }

  .site-header.nav-open {
    grid-template-columns: 1fr auto;
  }

  .site-header.nav-open .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }

  .site-header.nav-open .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.nav-open .member-link {
    grid-column: 1 / -1;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 128px;
  }

  .hero-seal {
    width: min(260px, 58vw);
    justify-self: start;
  }

  .stats-band,
  .objective-grid,
  .split-mission,
  .pillars,
  .news-tools,
  .contact-layout,
  .program-card,
  .two-column {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid rgba(203, 160, 65, 0.42);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .pillars article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pillars article:last-child {
    border-bottom: 0;
  }

  .program-card.reverse .program-image {
    order: 0;
  }

  .program-columns,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    grid-row: auto;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
    font-size: 0.74rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding: 56px 20px 112px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
  }

  .hero-actions,
  .bottom-cta,
  .dashboard-header,
  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .hero-actions .btn,
  .bottom-cta .btn {
    width: 100%;
  }

  .social-rail {
    display: none;
  }

  .stats-band {
    width: calc(100% - 32px);
  }

  .section {
    width: calc(100% - 32px);
    padding: 52px 0;
  }

  .mini-hero {
    height: 280px;
    padding: 0 20px;
  }

  .news-grid,
  .news-grid.large,
  .info-cards,
  .team-grid,
  .value-grid,
  .benefit-grid,
  .packs,
  .logo-strip,
  .org-row,
  .org-row.commissions {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .program-image {
    min-height: 280px;
  }

  .bottom-cta {
    padding: 34px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 34px 20px;
  }
}

/* Améliorations UPJ demandées : hero, animations, dashboard et effets interactifs */
.hero,
.mini-hero,
.bottom-cta {
  background-image:
    linear-gradient(90deg, rgba(2, 17, 35, 0.96) 0%, rgba(2, 17, 35, 0.84) 34%, rgba(2, 17, 35, 0.32) 70%),
    linear-gradient(180deg, rgba(2, 17, 35, 0.25), rgba(2, 17, 35, 0.92)),
    url("assets/images/hero-hemicycle-bon-new.jpeg");
}

.mini-hero,
.bottom-cta {
  background-image:
    linear-gradient(90deg, rgba(2, 27, 58, 0.94), rgba(2, 27, 58, 0.74)),
    url("assets/images/hero-hemicycle-bon-new.jpeg");
}

.hero h1 span {
  display: block;
}

.hero h1 .gold-line {
  color: var(--gold);
}

.social-svg svg,
.social-inline svg,
.date-line svg,
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-rail .social-svg {
  transition: transform 0.25s ease, background 0.25s ease;
}

.social-rail .social-svg:hover {
  transform: scale(1.2);
  background: rgba(203, 160, 65, 0.14);
}

.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(203, 160, 65, 0.3);
  z-index: 2;
}

.stat-number::before {
  content: "+";
}

.mission-carousel-section {
  overflow: hidden;
}

.mission-carousel {
  position: relative;
  overflow: hidden;
  padding: 32px 0 58px;
}

/* Landing page reference: navbar + hero */
.site-header {
  grid-template-columns: minmax(260px, auto) 1fr auto;
  gap: clamp(20px, 2.2vw, 42px);
  min-height: 94px;
  padding: 12px clamp(54px, 5.6vw, 106px);
  background: #031429;
  border-bottom: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.brand {
  gap: 16px;
  min-width: 272px;
  font-size: clamp(0.92rem, 0.88vw, 1.08rem);
  line-height: 1.05;
}

.brand img {
  width: 78px;
  height: 78px;
  border-width: 2px;
}

.brand strong {
  display: inline-block;
  color: var(--gold);
}

.main-nav {
  gap: clamp(18px, 1.45vw, 30px);
}

.main-nav a {
  padding: 34px 0 18px;
  font-size: clamp(0.56rem, 0.47vw, 0.68rem);
  color: rgba(255, 255, 255, 0.82);
}

.main-nav a::after {
  bottom: 8px;
  height: 2px;
}

.member-link {
  min-height: 42px;
  padding: 0 18px;
  gap: 9px;
  border-radius: 4px;
  font-size: clamp(0.58rem, 0.49vw, 0.7rem);
  background: #d7a846;
  box-shadow: none;
}

.member-icon,
.member-icon svg {
  width: 16px;
  height: 16px;
}

.member-icon svg {
  display: block;
  fill: currentColor;
}

.home-hero {
  min-height: clamp(378px, 20.5vw, 405px);
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
  padding: 66px clamp(72px, 7.6vw, 146px) 36px;
  background-image:
    linear-gradient(90deg, rgba(2, 12, 25, 0.98) 0%, rgba(2, 12, 25, 0.86) 18%, rgba(2, 12, 25, 0.5) 42%, rgba(2, 12, 25, 0.28) 70%, rgba(2, 12, 25, 0.76) 100%),
    linear-gradient(180deg, rgba(2, 12, 25, 0.08) 0%, rgba(2, 12, 25, 0.72) 100%),
    url("assets/images/hero-hemicycle-bon-new.jpeg");
  background-position: center 46%;
  background-size: cover;
}

.home-hero::before {
  background:
    radial-gradient(circle at 52% 36%, rgba(203, 160, 65, 0.16), transparent 15%),
    linear-gradient(180deg, rgba(3, 20, 41, 0.18), transparent 28%);
}

.home-hero .hero-content {
  width: min(560px, 40vw);
}

.home-hero .eyebrow {
  margin-bottom: 8px;
  font-size: clamp(0.74rem, 0.72vw, 0.9rem);
  letter-spacing: 0.02em;
  color: #d2a247;
}

.home-hero h1 {
  max-width: 560px;
  font-size: clamp(2.4rem, 2.72vw, 3.32rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero h1::after {
  width: 214px;
  height: 3px;
  margin-top: 20px;
  background: #d2a247;
}

.home-hero h1 .gold-line {
  color: #d2a247;
}

.home-hero .hero-actions {
  gap: 18px;
  margin-top: 16px;
}

.home-hero .btn {
  min-width: 214px;
  min-height: 42px;
  padding: 0 18px;
  justify-content: space-between;
  font-size: clamp(0.58rem, 0.51vw, 0.68rem);
}

.home-hero .btn-gold {
  background: #d7a846;
  box-shadow: none;
}

.home-hero .btn-outline {
  border-color: #d7a846;
  background: rgba(2, 20, 41, 0.34);
}

.home-hero .hero-seal {
  position: absolute;
  top: 34px;
  left: 50%;
  width: clamp(150px, 10.5vw, 204px);
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
}

.home-hero .hero-seal img {
  border: 0;
}

.home-hero .social-rail {
  right: clamp(16px, 1.45vw, 28px);
  gap: 10px;
}

.home-hero .social-rail a {
  width: 28px;
  height: 28px;
  border-color: #d7a846;
  color: #d7a846;
}

.home-hero .social-svg svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1120px) {
  .site-header {
    min-height: 74px;
    padding: 12px 22px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .main-nav a {
    padding: 12px 0;
    font-size: 0.78rem;
  }

  .home-hero {
    min-height: 520px;
    padding: 58px 24px 86px;
  }

  .home-hero .hero-content {
    width: min(560px, 72vw);
  }

  .home-hero .hero-seal {
    top: auto;
    right: 28px;
    bottom: 44px;
    left: auto;
    transform: none;
  }
}

@media (max-width: 780px) {
  .home-hero {
    min-height: auto;
    padding: 42px 20px 96px;
    background-position: 58% center;
  }

  .home-hero .hero-content {
    width: 100%;
  }

  .home-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .home-hero h1::after {
    width: 150px;
  }

  .home-hero .hero-seal {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(154px, 45vw);
    margin-top: 32px;
  }

  .home-hero .btn {
    width: 100%;
  }
}

.mission-track {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.65s ease;
}

.mission-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 280px;
  padding: 34px;
  color: var(--white);
  border-radius: var(--radius);
  opacity: 0.6;
  transform: scale(0.85);
  transition: transform 0.65s ease, opacity 0.65s ease, filter 0.65s ease;
  box-shadow: 0 20px 50px rgba(2, 27, 58, 0.22);
  cursor: pointer;
}

.mission-slide.is-active {
  opacity: 1;
  transform: scale(1.15);
  filter: brightness(1.08);
  z-index: 2;
}

.mission-slide img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 18px;
}

.mission-slide h2 {
  margin: 0 0 14px;
  color: inherit;
  text-transform: uppercase;
}

.mission-slide p {
  color: inherit;
}

.mission-theme {
  background: #042e66;
  border: 2px solid var(--gold);
}

.force-theme {
  background: #021b3a;
  border: 2px solid var(--white);
}

.engagement-theme {
  background: #1a1a2e;
  border: 2px solid var(--gold);
}

.vision-theme {
  color: #021b3a;
  background: var(--gold);
  border: 2px solid #021b3a;
}

.mission-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.mission-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.mission-dots button.active {
  background: var(--gold);
}

.objective-grid article {
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: inherit;
  clip-path: inset(0 100% 100% 0);
  transition: clip-path 0.6s ease;
  pointer-events: none;
}

.objective-grid article:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 35px rgba(203, 160, 65, 0.2);
}

.objective-grid article:hover::before {
  clip-path: inset(0 0 0 0);
}

.objective-grid img {
  margin: 0 auto;
}

.objective-grid p {
  text-align: justify;
}

.home-news-card {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.news-grid:hover .home-news-card:not(:hover) {
  opacity: 0.85;
}

.home-news-card:hover,
.news-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(2, 27, 58, 0.18);
}

.date-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.date-line svg {
  color: var(--gold);
}

.quote-mark {
  color: var(--gold);
  font-size: 2rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 14px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(203, 160, 65, 0.2);
  color: rgba(255, 255, 255, 0.68);
}

.newsletter-desc {
  margin: 0 0 10px;
}

.about-main-title {
  /* Décale le titre principal de la page À propos d'environ 2 cm vers le bas. */
  margin-top: 76px !important;
  text-align: center;
}

body[data-page="about"] .two-column > div:first-child {
  transform: none;
}

body[data-page="about"] .two-column {
  /* Réduit le bloc de présentation d'environ 2 cm à gauche et à droite. */
  width: calc(100% - 152px);
}

.about-description {
  position: relative;
  padding: 24px;
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.about-description:hover {
  border-left-color: var(--gold);
  background: rgba(4, 46, 102, 0.08);
}

.about-description p {
  text-align: justify;
  font-size: 1rem;
}

.focus-card,
.value-card {
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, outline-color 0.3s ease;
}

.info-cards.has-focus .focus-card:not(.is-focused) {
  transform: scale(0.92);
  opacity: 0.6;
}

.focus-card.is-focused {
  transform: scale(1.1);
  outline: 2px solid var(--gold);
  animation: pulse-border 1.2s ease infinite;
  z-index: 2;
}

.value-card strong {
  display: block;
  text-align: center;
}

.value-card.is-pulsing {
  outline: 2px solid var(--gold);
  animation: pulse-border 1.2s ease infinite;
}

/* Page À propos : blocs horizontaux compacts */
body[data-page="about"] .info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  /* Réduction demandée : environ 2 cm de marge en plus à gauche et à droite. */
  width: calc(100% - 232px);
  max-width: none;
  padding: 0;
}

body[data-page="about"] .info-cards .focus-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 50px;
  background: #ffffff;
  border: 1px solid rgba(2, 27, 58, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(2, 27, 58, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body[data-page="about"] .info-cards .focus-card + .focus-card {
  margin-top: 2px;
}

body[data-page="about"] .info-cards h2 {
  margin: 0 0 28px;
  font-size: clamp(2.15rem, 2.55vw, 3rem);
  line-height: 1;
}

body[data-page="about"] .info-cards p {
  margin: 0;
  max-width: none;
  color: #17294a;
  font-size: clamp(1.22rem, 1.45vw, 1.65rem);
  line-height: 1.65;
  text-align: left;
}

body[data-page="about"] .info-cards p + p {
  /* Aère les descriptions longues ajoutées dans Vision et Mission. */
  margin-top: 16px;
}

body[data-page="about"] .focus-card:hover,
body[data-page="about"] .value-card:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: var(--gold);
  box-shadow: 0 20px 46px rgba(2, 27, 58, 0.16);
  z-index: 2;
}

body[data-page="about"] .info-cards.has-focus .focus-card:not(.is-focused) {
  transform: none;
  opacity: 1;
}

body[data-page="about"] .focus-card.is-focused,
body[data-page="about"] .value-card.is-pulsing {
  transform: translateY(-4px) scale(1.015);
  outline: 0;
  animation: none;
  border-color: var(--gold);
  box-shadow: 0 20px 46px rgba(2, 27, 58, 0.16);
}

@media (max-width: 780px) {
  body[data-page="about"] .info-cards {
    width: calc(100% - 32px);
  }

  body[data-page="about"] .info-cards .focus-card {
    min-height: 220px;
    padding: 32px 24px;
  }

  body[data-page="about"] .info-cards p {
    font-size: 1.05rem;
    line-height: 1.55;
  }
}

body[data-page="about"] .value-card {
  border: 1px solid rgba(2, 27, 58, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(203, 160, 65, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(203, 160, 65, 0); }
}

.complete-org {
  padding: 34px;
  background: #021b3a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.org-subrow {
  margin-top: 18px;
  grid-template-columns: repeat(5, 1fr);
}

.be-row {
  grid-template-columns: repeat(4, 1fr);
}

.poles-row {
  grid-template-columns: repeat(3, 1fr);
}

.org-flip {
  position: relative;
  min-height: 88px;
  color: var(--white);
  background: transparent;
  border: 0;
  perspective: 900px;
}

.org-flip .org-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #042e66;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  font-weight: 900;
}

.org-flip .org-back {
  transform: rotateY(180deg);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
}

.org-flip.is-flipped .org-front {
  transform: rotateY(180deg);
}

.org-flip.is-flipped .org-back {
  transform: rotateY(360deg);
}

.org-level-main,
.org-level-ca,
.org-level-be,
.org-level-poles,
.org-level-local {
  display: block;
  width: min(560px, 100%);
  margin: 0 auto;
}

.org-flip.small {
  min-height: 76px;
}

.flip-member {
  min-height: 250px;
  padding: 0;
  perspective: 900px;
  cursor: pointer;
}

.member-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.flip-member.is-flipped .member-inner {
  transform: rotateY(180deg);
}

.member-front,
.member-back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  backface-visibility: hidden;
}

.member-back {
  transform: rotateY(180deg);
}

.member-back p {
  text-align: justify;
}

.member-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.program-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 46, 102, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.program-card:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 60px rgba(2, 27, 58, 0.22);
}

.program-card:hover::after {
  opacity: 1;
}

.floating-btn {
  animation: float 2s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

.read-more {
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.read-more::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.read-more:hover::after {
  animation: shimmer 0.9s ease;
}

@keyframes shimmer {
  to { transform: translateX(120%); }
}

.delete-news {
  display: none !important;
}

.admin-enabled .delete-news,
.admin-enabled .admin-only {
  display: inline-flex !important;
}

.admin-enabled .admin-panel.admin-only {
  display: block !important;
}

.admin-enabled .admin-status.admin-only {
  display: block !important;
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 11, 26, 0.74);
}

.article-dialog {
  width: min(720px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 34px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-dialog button {
  float: right;
  width: 38px;
  height: 38px;
  color: var(--navy);
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
}

.article-dialog span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-bubbles {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-bubbles article {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  text-align: center;
  animation: bubble-float 3s ease-in-out infinite alternate;
}

.benefit-bubbles article:nth-child(even) {
  background: var(--gold);
  color: var(--navy);
  animation-delay: 0.45s;
}

.benefit-bubbles article:nth-child(3n) {
  animation-delay: 0.9s;
}

@keyframes bubble-float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.pack-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.3s ease;
}

.pack-card:hover,
.pack-card.is-selected {
  transform: scale(1.05);
  box-shadow: 0 18px 45px rgba(2, 27, 58, 0.18);
}

.bronze-pack:hover,
.bronze-pack.is-selected { outline: 2px solid #cd7f32; }
.silver-pack:hover,
.silver-pack.is-selected { outline: 2px solid #9e9e9e; }
.gold-pack:hover,
.gold-pack.is-selected { outline: 2px solid var(--gold); }

body.member-dashboard-open .site-header,
body.member-dashboard-open .mini-hero,
body.member-dashboard-open .site-footer,
body.member-dashboard-open .back-to-top {
  display: none;
}

body.member-dashboard-open {
  padding-top: 0;
  background: #0a0f1e;
}

.member-app {
  min-height: 100vh;
  color: #ffffff;
  background: #0a0f1e;
}

.member-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  background: #042e66;
  border-right: 1px solid rgba(203, 160, 65, 0.2);
}

.member-side-brand,
.member-side-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-side-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.member-side-brand span,
.member-side-profile small {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.member-side-profile {
  flex-direction: column;
  text-align: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 14px;
}

.dashboard-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #021b3a;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.dashboard-avatar.small {
  width: 36px;
  height: 36px;
}

.active-dot {
  color: #b6f0c5;
  font-size: 0.82rem;
  font-weight: 800;
}

.member-tabs {
  display: grid;
  gap: 6px;
}

.member-tabs button,
.member-bottom-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.member-tabs button.active,
.member-tabs button:hover {
  color: var(--gold);
  background: rgba(203, 160, 65, 0.15);
  border-left-color: var(--gold);
}

.member-tabs b {
  margin-left: auto;
  color: #fff;
  background: #d33;
  border-radius: 999px;
  padding: 0 7px;
  font-size: 0.72rem;
}

.sidebar-motto {
  margin-top: auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  color: var(--gold);
  font-weight: 900;
  text-align: center;
}

.logout-dashboard {
  min-height: 44px;
  color: #ffb4b4;
  background: transparent;
  border: 1px solid rgba(255, 90, 90, 0.35);
  border-radius: 10px;
}

.logout-dashboard:hover {
  background: rgba(255, 90, 90, 0.12);
}

.member-shell {
  margin-left: 260px;
  min-height: 100vh;
}

.member-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  height: 64px;
  padding: 0 28px;
  background: #0d1b35;
  border-bottom: 1px solid rgba(203, 160, 65, 0.15);
}

.member-mobile-toggle {
  display: none;
}

.dashboard-search input {
  width: min(420px, 100%);
  min-height: 40px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0 18px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notification-bell {
  position: relative;
  color: var(--gold);
}

.notification-bell b {
  position: absolute;
  top: -12px;
  right: -10px;
  color: white;
  background: #e53e3e;
  border-radius: 999px;
  padding: 1px 5px;
  font-size: 0.68rem;
  animation: pulse-border 1.3s infinite;
}

.member-main {
  padding: 28px;
  animation: tab-in 0.3s ease;
}

@keyframes tab-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.dashboard-welcome {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(135deg, #042e66 0%, #0a1a3e 60%, #1a3a6e 100%);
  border-left: 4px solid var(--gold);
  border-radius: 16px;
}

.dashboard-welcome img {
  position: absolute;
  right: 26px;
  top: 50%;
  width: 180px;
  opacity: 0.15;
  transform: translateY(-50%);
}

.dashboard-welcome h3 {
  margin: 4px 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.dash-grid,
.activity-layout,
.member-cards-grid,
.documents-list,
.profile-form {
  display: grid;
  gap: 18px;
}

.dash-grid {
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0;
}

.dash-tile,
.dash-panel,
.event-row,
.training-card,
.doc-row,
.message-card,
.profile-box {
  background: #0d1b35;
  border: 1px solid rgba(203, 160, 65, 0.15);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dash-tile:hover,
.event-row:hover,
.training-card:hover,
.doc-row:hover {
  transform: scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(203, 160, 65, 0.2);
}

.dash-tile strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
}

.dash-tile span,
.dash-panel p,
.event-row p,
.training-card p,
.doc-row p,
.message-card p {
  color: rgba(255, 255, 255, 0.62);
}

.activity-layout {
  grid-template-columns: 1.3fr 0.7fr;
}

.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.event-date {
  display: grid;
  place-items: center;
  min-width: 62px;
  color: var(--gold);
  font-weight: 900;
}

.upj-member-card {
  width: min(540px, 100%);
  aspect-ratio: 1.586;
  margin: 0 auto 24px;
  padding: 26px;
  color: white;
  background: linear-gradient(135deg, #042e66, #021b3a);
  border: 2px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite alternate;
}

.card-top,
.card-body,
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-top img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

.card-photo {
  width: 94px;
  height: 94px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

.member-card-number {
  color: var(--gold);
  font-weight: 900;
}

#member-qrcode canvas,
#member-qrcode img {
  width: 92px !important;
  height: 92px !important;
  background: white;
  padding: 6px;
  border-radius: 8px;
}

.member-cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.messages-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.profile-form {
  grid-template-columns: repeat(2, 1fr);
}

.profile-form input {
  width: 100%;
  min-height: 44px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(203,160,65,0.18);
  border-radius: 8px;
  padding: 0 12px;
}

.member-bottom-nav {
  display: none;
}

@media (max-width: 1024px) {
  .member-sidebar {
    width: 70px;
    padding: 16px 8px;
  }
  .member-sidebar span,
  .member-side-profile strong,
  .member-side-profile small,
  .sidebar-motto,
  .member-tabs b {
    display: none;
  }
  .member-shell {
    margin-left: 70px;
  }
  .dash-grid,
  .member-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-slide {
    flex-basis: 100%;
    transform: scale(0.92);
  }
  .mission-slide.is-active {
    transform: scale(1);
  }
  .benefit-bubbles,
  .dash-grid,
  .activity-layout,
  .member-cards-grid,
  .messages-layout,
  .profile-form,
  .org-subrow,
  .be-row,
  .poles-row {
    grid-template-columns: 1fr;
  }
  .member-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    width: 260px;
    z-index: 10;
  }
  .member-app.sidebar-open .member-sidebar {
    transform: translateX(0);
  }
  .member-shell {
    margin-left: 0;
    padding-bottom: 70px;
  }
  .member-mobile-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: white;
    background: transparent;
    border: 1px solid rgba(203,160,65,0.3);
    border-radius: 8px;
  }
  .member-topbar {
    grid-template-columns: auto 1fr auto;
  }
  .dashboard-search {
    display: none;
  }
  .member-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0d1b35;
    border-top: 1px solid rgba(203,160,65,0.2);
  }
  .member-bottom-nav button {
    justify-content: center;
    border-left: 0;
  }
  .upj-member-card {
    padding: 16px;
    font-size: 0.8rem;
  }
}

/* Corrections landing page selon instruction.docx */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  grid-template-columns: 180px 1fr auto;
  min-height: 35px;
  padding: 4px clamp(64px, 7.6vw, 112px);
  background: #031427;
  box-shadow: none;
}

.brand {
  min-width: 0;
  gap: 9px;
  font-size: 0.64rem;
  line-height: 1.02;
}

.brand span {
  display: inline;
}

.brand img {
  width: 49px;
  height: 49px;
}

.main-nav {
  gap: clamp(18px, 1.7vw, 31px);
}

.main-nav a {
  padding: 7px 0 5px;
  font-size: clamp(0.56rem, 0.58vw, 0.68rem);
}

.main-nav a::after {
  bottom: 4px;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  width: 48px;
}

.member-link {
  min-height: 30px;
  min-width: 108px;
  padding: 0 14px;
  font-size: 0.6rem;
}

.home-hero {
  min-height: calc(100vh - 58px);
  padding: 64px clamp(64px, 7.6vw, 112px) 118px;
  background-image:
    linear-gradient(90deg, rgba(2, 12, 25, 0.98) 0%, rgba(2, 12, 25, 0.82) 20%, rgba(2, 12, 25, 0.18) 58%, rgba(2, 12, 25, 0.62) 100%),
    linear-gradient(180deg, rgba(2, 12, 25, 0.08) 0%, rgba(2, 12, 25, 0.8) 100%),
    url("assets/images/hero-hemicycle-bon-new.jpeg");
  background-position: center center;
  background-size: cover;
}

.home-hero .hero-content {
  width: min(720px, 58vw);
}

.home-hero .eyebrow {
  margin-bottom: 5px;
  font-size: clamp(0.64rem, 0.72vw, 0.82rem);
}

.home-hero h1 {
  max-width: 720px;
  font-size: clamp(3.3rem, 4.48vw, 4.76rem);
  line-height: 0.98;
}

.home-hero h1::after {
  width: 92px;
  height: 2px;
  margin-top: 16px;
}

.home-hero .hero-actions {
  margin-top: 12px;
  gap: 12px;
}

.home-hero .btn {
  min-width: 143px;
  min-height: 31px;
  padding: 0 14px;
  font-size: 0.52rem;
}

.home-hero .hero-seal {
  top: calc(26px + 4cm);
  left: calc(50% + 7cm);
  width: clamp(102px, 8.8vw, 125px);
}

.home-hero .social-rail {
  top: 51%;
  right: clamp(10px, 1.55vw, 24px);
  gap: 8px;
}

.home-hero .social-rail a {
  width: 26px;
  height: 26px;
}

.stats-band {
  width: min(980px, calc(100% - 120px));
  margin: calc(-160px + 2cm) auto 0;
  border-radius: 6px;
  background: rgba(2, 25, 54, 0.98);
  box-shadow: 0 14px 34px rgba(2, 17, 35, 0.2);
}

.stat-card {
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  min-height: 58px;
  padding: 9px 18px;
  border-right-color: rgba(203, 160, 65, 0.62);
}

.stat-card:hover {
  transform: scale(1.04);
}

.stat-icon {
  width: 34px;
  height: 34px;
  overflow: visible;
  color: var(--gold);
  background: transparent;
  border: 0;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.stat-card strong {
  font-size: clamp(0.82rem, 1.08vw, 1.08rem);
  color: var(--gold);
  line-height: 1;
}

.stat-card p {
  grid-column: auto;
  margin-top: 3px;
  color: #ffffff;
  font-size: clamp(0.46rem, 0.56vw, 0.62rem);
  font-weight: 800;
  line-height: 1.22;
  text-transform: uppercase;
}

.stat-number::before {
  content: none;
}

.mission-band {
  width: 100%;
  padding: 32px clamp(48px, 7.4vw, 100px) 34px;
  background: #f5f6f8;
}

.mission-carousel {
  width: min(1088px, 100%);
  margin: 0 auto;
  overflow: visible;
  padding: 0;
}

.mission-track {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(330px, 1.16fr);
  gap: 0;
  align-items: stretch;
  transform: none;
}

.mission-slide {
  min-height: 138px;
  padding: 28px 28px;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1 !important;
  transform: none !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  cursor: pointer;
}

.mission-slide:not(.vision-theme) {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  border-right: 1px solid rgba(203, 160, 65, 0.48);
}

.mission-slide:hover {
  position: relative;
  z-index: 4;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(2, 27, 58, 0.16);
}

.mission-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: var(--gold);
  background: #031427;
  border-radius: 50%;
}

.mission-icon svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
}

.mission-slide h2 {
  margin: 12px 0 7px;
  color: #031427;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.mission-slide h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 12px;
  background: var(--gold);
}

.mission-slide p {
  margin: 0;
  color: #1e2b3e;
  font-size: 0.62rem;
  line-height: 1.42;
}

.vision-theme {
  position: relative;
  overflow: hidden;
  padding: 24px 30px 26px;
  color: #ffffff;
  background: #031427;
  border-radius: 7px;
}

.vision-theme::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(215, 168, 70, 0.15), rgba(215, 168, 70, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.vision-theme h2,
.vision-theme p {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.vision-theme h2 {
  margin-top: 0;
  color: var(--gold);
}

.vision-theme h2::after {
  display: none;
}

.vision-theme p {
  margin-bottom: 8px;
}

.mission-dots {
  display: none;
}

@media (max-width: 1180px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    padding-top: 74px;
  }

  .site-header {
    grid-template-columns: auto auto;
    min-height: 74px;
    padding: 12px 22px;
  }

  .main-nav a {
    padding: 12px 0;
    font-size: 0.78rem;
  }

  .home-hero {
    min-height: 520px;
    padding: 58px 24px 96px;
  }

  .home-hero .hero-content {
    width: min(560px, 72vw);
  }

  .home-hero .hero-seal {
    top: auto;
    right: 28px;
    bottom: 52px;
    left: auto;
    transform: none;
  }

  .stats-band,
  .mission-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-slide:not(.vision-theme) {
    border-bottom: 1px solid rgba(203, 160, 65, 0.36);
  }

  .vision-theme {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .home-hero {
    min-height: auto;
    padding: 42px 20px 96px;
  }

  .home-hero .hero-content {
    width: 100%;
  }

  .stats-band,
  .mission-track {
    grid-template-columns: 1fr;
  }

  .stats-band {
    width: calc(100% - 32px);
    margin-top: -42px;
  }

  .stat-card {
    border-right: 0;
  }

  .mission-band {
    padding: 32px 16px;
  }

  .mission-slide,
  .mission-slide:not(.vision-theme) {
    border-right: 0;
  }
}

/* Section Qui sommes-nous : carrousel institutionnel fluide */
.mission-band {
  width: 100%;
  margin: 0;
  padding: 46px 0 66px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(203, 160, 65, 0.12), transparent 32%),
    #f6f7f9;
}

.mission-title {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 28px;
}

.mission-carousel {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  overflow: hidden;
  padding: 30px 0 42px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.mission-carousel.is-dragging {
  cursor: grabbing;
}

.mission-track {
  display: flex;
  gap: 46px;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.mission-slide,
.mission-slide:not(.vision-theme),
.vision-theme {
  flex: 0 0 clamp(250px, 23vw, 320px);
  display: block;
  min-height: 252px;
  padding: 22px 24px 24px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, rgba(8, 34, 64, 0.9), rgba(16, 41, 70, 0.86));
  border: 1px solid rgba(203, 160, 65, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(2, 27, 58, 0.08);
  opacity: 0.58 !important;
  transform: scale(0.84) perspective(900px) rotateY(4deg) !important;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1), opacity 700ms ease, box-shadow 700ms ease, filter 700ms ease, background 700ms ease, color 700ms ease;
  filter: blur(0.15px);
}

.mission-slide.is-active {
  z-index: 5;
  opacity: 1 !important;
  transform: scale(1.14) perspective(900px) rotateY(0deg) !important;
  filter: none;
  box-shadow: 0 24px 58px rgba(2, 27, 58, 0.2);
}

.mission-slide:hover {
  background: linear-gradient(145deg, rgba(10, 39, 72, 0.94), rgba(18, 48, 82, 0.9));
}

.mission-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--gold);
  background: transparent;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(203, 160, 65, 0.18);
}

.mission-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mission-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.mission-slide h2 {
  margin: 0;
  color: inherit;
  font-size: 0.92rem;
}

.mission-slide h2::after {
  display: none;
}

.mission-slide p {
  margin: 0 0 10px;
  color: inherit;
  font-size: 0.68rem;
  line-height: 1.48;
  text-align: justify;
}

.vision-theme {
  position: relative;
  overflow: hidden;
}

.vision-theme::after {
  right: -34px;
  bottom: -46px;
  width: 148px;
  height: 148px;
}

.vision-theme h2,
.vision-theme p {
  color: inherit;
}

.vision-theme h2 {
  color: inherit;
}

.vision-theme h2::after {
  display: none;
}

.vision-theme p {
  color: inherit;
}

.vision-theme.is-active,
.engagement-theme.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #031427, #06386f);
  border-color: rgba(203, 160, 65, 0.42);
}

.mission-theme.is-active {
  color: #071c38;
  background: linear-gradient(135deg, #e0b84c, #cba041);
  border-color: rgba(3, 20, 39, 0.24);
}

.mission-theme.is-active .mission-icon {
  color: #071c38;
}

.force-theme.is-active {
  color: #071c38;
  background: linear-gradient(135deg, #ffffff, #eef2f6);
  border-color: rgba(203, 160, 65, 0.38);
}

@media (max-width: 900px) {
  .mission-slide,
  .mission-slide:not(.vision-theme),
  .vision-theme {
    flex-basis: min(68vw, 300px);
    min-height: 310px;
  }
}

@media (max-width: 560px) {
  .mission-band {
    padding: 38px 0 54px;
  }

  .mission-carousel {
    padding-top: 18px;
  }

  .mission-slide,
  .mission-slide:not(.vision-theme),
  .vision-theme {
    flex-basis: 74vw;
    grid-template-columns: 1fr;
    min-height: 350px;
  }
}

/* About - Proposition 3 : immersif institutionnel */
body[data-page="about"] {
  background: #0b1828;
}

body[data-page="about"] .about-v3-main {
  --v3-navy: #0b1828;
  --v3-navy-2: #0f1f32;
  --v3-navy-3: #162236;
  --v3-gold: #c9a227;
  --v3-gold-light: #e8c84a;
  --v3-white: #ffffff;
  --v3-line: rgba(201, 162, 39, 0.22);
  background: var(--v3-navy);
  color: var(--v3-white);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

body[data-page="about"] .v3-hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--v3-navy);
  position: relative;
  overflow: hidden;
  padding: 120px 80px 80px;
}

body[data-page="about"] .v3-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(201, 162, 39, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(201, 162, 39, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

body[data-page="about"] .v3-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

body[data-page="about"] .v3-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

body[data-page="about"] .v3-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--v3-gold);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

body[data-page="about"] .v3-eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--v3-gold);
}

body[data-page="about"] .v3-hero-title {
  font-family: "Cinzel", serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--v3-white);
  margin: 0;
}

body[data-page="about"] .v3-hero-title span,
body[data-page="about"] .v3-item-title span,
body[data-page="about"] .v3-val-head h2 span,
body[data-page="about"] .v3-cta-inner p strong {
  color: var(--v3-gold-light);
}

body[data-page="about"] .v3-hero-desc {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 40px;
}

body[data-page="about"] .v3-hero-desc p,
body[data-page="about"] .v3-item-text p {
  font-size: 15.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  margin: 0 0 20px;
}

body[data-page="about"] .v3-hero-desc p:last-child,
body[data-page="about"] .v3-item-text p:last-child {
  margin-bottom: 0;
}

/* Page À propos : liste lisible dans le bloc Objectifs. */
body[data-page="about"] .v3-item-text ul {
  margin: 8px 0 18px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.9;
}

body[data-page="about"] .v3-item-text li {
  margin-bottom: 3px;
}

body[data-page="about"] .v3-hero-stat-row {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--v3-line);
  padding-top: 40px;
}

body[data-page="about"] .v3-stat {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--v3-line);
}

body[data-page="about"] .v3-stat:nth-child(2) {
  padding: 0 40px;
}

body[data-page="about"] .v3-stat:last-child {
  border-right: none;
  padding: 0 0 0 40px;
}

body[data-page="about"] .v3-stat-num {
  font-family: "Cinzel", serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--v3-gold);
  line-height: 1;
  margin-bottom: 8px;
}

body[data-page="about"] .v3-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="about"] .v3-vmr {
  background: var(--v3-navy-2);
  padding: 120px 0;
  position: relative;
}

body[data-page="about"] .v3-vmr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--v3-gold) 30%, var(--v3-gold-light) 60%, transparent 100%);
}

body[data-page="about"] .v3-vmr-inner,
body[data-page="about"] .v3-values-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

body[data-page="about"] .v3-section-label,
body[data-page="about"] .v3-val-label {
  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--v3-gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 60px;
}

body[data-page="about"] .v3-section-label::after,
body[data-page="about"] .v3-val-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--v3-line);
}

body[data-page="about"] .v3-vmr-items {
  display: flex;
  flex-direction: column;
}

body[data-page="about"] .v3-vmr-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--v3-line);
  padding: 60px 0;
  position: relative;
  transition: background 0.3s, margin 0.3s, padding 0.3s;
}

body[data-page="about"] .v3-vmr-item:first-child {
  border-top: 1px solid var(--v3-line);
}

body[data-page="about"] .v3-vmr-item:hover {
  background: rgba(201, 162, 39, 0.03);
  margin: 0 -40px;
  padding: 60px 40px;
}

body[data-page="about"] .v3-vmr-num-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4px;
}

body[data-page="about"] .v3-item-num {
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-gold);
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 12px;
}

body[data-page="about"] .v3-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v3-gold);
  margin-top: 6px;
}

body[data-page="about"] .v3-item-title {
  font-family: "Cinzel", serif;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
  color: var(--v3-white);
  margin: 0 0 28px;
  line-height: 1.15;
}

body[data-page="about"] .v3-item-text p {
  max-width: 720px;
}

body[data-page="about"] .v3-values {
  background: var(--v3-navy-3);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

body[data-page="about"] .v3-values::before {
  content: "VALEURS";
  position: absolute;
  font-family: "Cinzel", serif;
  font-size: 200px;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.025);
  bottom: -40px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
}

body[data-page="about"] .v3-val-head {
  margin-bottom: 70px;
}

body[data-page="about"] .v3-val-label {
  margin-bottom: 16px;
}

body[data-page="about"] .v3-val-head h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: var(--v3-white);
  line-height: 1.15;
  margin: 0;
}

body[data-page="about"] .v3-val-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(201, 162, 39, 0.1);
}

body[data-page="about"] .v3-val-item {
  background: var(--v3-navy-2);
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

body[data-page="about"] .v3-val-item:hover {
  background: rgba(201, 162, 39, 0.06);
}

body[data-page="about"] .v3-val-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--v3-gold), var(--v3-gold-light));
  transition: height 0.4s ease;
}

body[data-page="about"] .v3-val-item:hover::before {
  height: 100%;
}

body[data-page="about"] .v3-val-icon-wrap {
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--v3-gold);
  transition: all 0.3s;
}

body[data-page="about"] .v3-val-item:hover .v3-val-icon-wrap {
  border-color: var(--v3-gold);
  background: rgba(201, 162, 39, 0.1);
}

body[data-page="about"] .v3-val-item strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--v3-white);
  margin-bottom: 16px;
}

body[data-page="about"] .v3-val-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  font-weight: 300;
  margin: 0;
}

body[data-page="about"] .v3-val-bg-char {
  position: absolute;
  bottom: -10px;
  right: 20px;
  font-family: "Cinzel", serif;
  font-size: 100px;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.04);
  line-height: 1;
  pointer-events: none;
}

body[data-page="about"] .v3-cta {
  background: var(--v3-navy);
  padding: 120px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

body[data-page="about"] .v3-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--v3-gold));
}

body[data-page="about"] .v3-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

body[data-page="about"] .v3-cta-inner p {
  font-family: "Cinzel", serif;
  font-size: clamp(20px, 2.3vw, 24px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 0 0 48px;
}

body[data-page="about"] .v3-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 52px;
  border: 1.5px solid var(--v3-gold);
  color: var(--v3-gold-light);
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

body[data-page="about"] .v3-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--v3-gold);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 0;
}

body[data-page="about"] .v3-btn:hover::before {
  transform: translateX(0);
}

body[data-page="about"] .v3-btn:hover {
  color: var(--v3-navy);
}

body[data-page="about"] .v3-btn span,
body[data-page="about"] .v3-btn svg {
  position: relative;
  z-index: 1;
}

body[data-page="about"] .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body[data-page="about"] .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  body[data-page="about"] .v3-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body[data-page="about"] .v3-hero {
    padding: 90px 40px 60px;
  }

  body[data-page="about"] .v3-hero-stat-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  body[data-page="about"] .v3-stat,
  body[data-page="about"] .v3-stat:last-child,
  body[data-page="about"] .v3-stat:nth-child(2) {
    padding: 0 0 24px;
    border-right: none;
    border-bottom: 1px solid var(--v3-line);
  }

  body[data-page="about"] .v3-stat:last-child {
    border-bottom: none;
  }

  body[data-page="about"] .v3-vmr-inner,
  body[data-page="about"] .v3-values-inner {
    padding: 0 28px;
  }

  body[data-page="about"] .v3-vmr-item {
    grid-template-columns: 80px 1fr;
  }

  body[data-page="about"] .v3-val-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body[data-page="about"] {
    overflow-x: hidden;
  }

  body[data-page="about"] .site-header {
    grid-template-columns: 1fr auto !important;
    min-height: 74px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 12px 18px !important;
    gap: 12px !important;
  }

  body[data-page="about"] .brand {
    min-width: 0 !important;
    max-width: 275px !important;
    font-size: 0.72rem !important;
  }

  body[data-page="about"] .brand img {
    width: 48px !important;
    height: 48px !important;
  }

  body[data-page="about"] .main-nav,
  body[data-page="about"] .member-link {
    display: none !important;
  }

  body[data-page="about"] .nav-toggle {
    display: block !important;
  }

  body[data-page="about"] .site-header.nav-open {
    grid-template-columns: 1fr auto !important;
  }

  body[data-page="about"] .site-header.nav-open .main-nav,
  body[data-page="about"] .site-header.nav-open .member-link {
    display: flex !important;
    grid-column: 1 / -1 !important;
  }

  body[data-page="about"] .site-header.nav-open .main-nav {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-top: 12px !important;
  }

  body[data-page="about"] .about-v3-main,
  body[data-page="about"] .v3-hero,
  body[data-page="about"] .v3-vmr,
  body[data-page="about"] .v3-values,
  body[data-page="about"] .v3-cta {
    width: 100vw;
    max-width: 100vw;
  }

  body[data-page="about"] .v3-hero-content,
  body[data-page="about"] .v3-hero-desc,
  body[data-page="about"] .v3-vmr-body,
  body[data-page="about"] .v3-val-item {
    min-width: 0;
  }

  body[data-page="about"] .v3-hero-content,
  body[data-page="about"] .v3-hero-desc,
  body[data-page="about"] .v3-hero-title,
  body[data-page="about"] .v3-hero-stat-row {
    width: min(100%, 340px) !important;
    max-width: 340px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body[data-page="about"] .v3-hero-desc p,
  body[data-page="about"] .v3-item-text p,
  body[data-page="about"] .v3-val-item p,
  body[data-page="about"] .v3-cta-inner p {
    overflow-wrap: anywhere;
  }

  body[data-page="about"] .v3-hero {
    padding: 74px 24px 48px;
  }

  body[data-page="about"] .v3-hero-title {
    font-size: 36px;
  }

  body[data-page="about"] .v3-vmr,
  body[data-page="about"] .v3-values {
    padding: 80px 0;
  }

  body[data-page="about"] .v3-vmr-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body[data-page="about"] .v3-vmr-item:hover {
    margin: 0;
    padding: 60px 0;
  }

  body[data-page="about"] .v3-val-item {
    padding: 40px 28px;
  }

  body[data-page="about"] .v3-cta {
    padding: 80px 28px;
  }
}

/* Footer UPJ - Proposition 1 : Magazine de Prestige */
.f1 {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #0b1828 !important;
  color: #ffffff;
  font-family: 'Inter', sans-serif !important;
}

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

.f1 svg {
  display: inline-block;
  vertical-align: middle;
}

.f1-cta {
  background: linear-gradient(90deg, #071120 0%, #0b1828 55%, #0f2035 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  position: relative;
  overflow: hidden;
}

.f1-cta::before {
  content: '"';
  position: absolute;
  left: 32px;
  top: -20px;
  font-family: 'Cinzel', serif;
  font-size: 200px;
  font-weight: 400;
  color: rgba(201, 162, 39, 0.06);
  line-height: 1;
  pointer-events: none;
}

.f1-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.f1-cta-quote {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.f1-cta-quote .qdm {
  font-family: 'Cinzel', serif;
  font-size: 52px;
  color: #c9a227;
  line-height: 0.65;
  flex-shrink: 0;
  margin-top: 6px;
}

.f1-cta-quote p {
  margin: 0 !important;
  font-family: 'Cinzel', serif !important;
  font-size: 19px !important;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.55 !important;
}

.f1-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.f1-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.25s;
  white-space: nowrap;
}

.f1-btn-gold {
  background: #c9a227;
  color: #0b1828 !important;
}

.f1-btn-gold:hover {
  background: #e8c84a;
}

.f1-btn-outline {
  border: 1.5px solid rgba(201, 162, 39, 0.5);
  color: #c9a227 !important;
}

.f1-btn-outline:hover {
  border-color: #c9a227;
  background: rgba(201, 162, 39, 0.08);
}

.f1-body {
  background: #0b1828;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.f1-body-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 64px 40px;
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr 210px;
  gap: 0;
}

.f1-col {
  padding: 0 32px;
}

.f1-col:first-child {
  padding-left: 0;
  border-right: 1px solid rgba(201, 162, 39, 0.12);
}

.f1-col:last-child {
  padding-right: 0;
  border-left: 1px solid rgba(201, 162, 39, 0.12);
}

.f1-col:not(:first-child):not(:last-child) {
  border-right: 1px solid rgba(201, 162, 39, 0.12);
}

.f1-brand-logo {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 0 14px !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1px rgba(203, 160, 65, 0.3) !important;
  flex-shrink: 0 !important;
}

.f1-brand-name {
  margin: 0 0 8px !important;
  font-family: "Cinzel", serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 1.5px;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.f1-brand-tagline {
  margin: 0 0 4px !important;
  font-size: 11px !important;
  color: rgba(201, 162, 39, 0.8) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.f1-brand-sub {
  margin: 0 !important;
  font-size: 10.5px !important;
  color: rgba(255, 255, 255, 0.35) !important;
  font-style: italic;
  line-height: 1.45 !important;
}

.f1-col-title {
  margin: 0 0 18px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  font-family: "Cinzel", serif !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff !important;
  line-height: 1.4 !important;
}

.f1-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.f1-link {
  display: block !important;
  padding: 5px 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.f1-link:hover {
  color: #e8c84a !important;
}

.f1-contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.f1-contact-row svg {
  flex-shrink: 0;
}

.f1-contact-row span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

.f1-social-row {
  display: flex;
  gap: 7px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.f1-soc {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.35);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  transition: all 0.2s;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1;
}

.f1-soc:hover {
  border-color: #c9a227;
  color: #e8c84a !important;
  background: rgba(201, 162, 39, 0.1);
}

.f1-nl-desc {
  margin: 0 !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  line-height: 1.55 !important;
}

.f1 .f1-nl-input-row.newsletter-form {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  border: 1px solid rgba(201, 162, 39, 0.3) !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  margin-top: 12px !important;
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.f1-nl-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05) !important;
  border: none !important;
  outline: none !important;
  padding: 9px 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  color: #fff !important;
  min-width: 0;
}

.f1-nl-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.f1-nl-btn {
  background: #c9a227 !important;
  border: none !important;
  cursor: pointer;
  padding: 9px 13px !important;
  color: #0b1828 !important;
  flex-shrink: 0;
  transition: background 0.2s;
}

.f1-nl-btn:hover {
  background: #e8c84a !important;
}

.f1-bottom {
  background: #071120;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.f1-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.f1-copy {
  margin: 0 !important;
  font-size: 10.5px !important;
  color: rgba(255, 255, 255, 0.3) !important;
  line-height: 1.5 !important;
}

.f1-legals {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.f1-legals a {
  display: inline-block !important;
  font-size: 10.5px !important;
  color: rgba(255, 255, 255, 0.3) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.f1-legals a:hover {
  color: #c9a227 !important;
}

@media (max-width: 1100px) {
  .f1-body-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .f1-col,
  .f1-col:first-child,
  .f1-col:last-child,
  .f1-col:not(:first-child):not(:last-child) {
    border: 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    padding: 0 0 28px;
  }
}

@media (max-width: 768px) {
  .f1-body-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .f1-cta-inner,
  .f1-bottom-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .f1-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .f1-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .f1-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .f1-cta-actions {
    width: 100%;
  }

  .f1-btn {
    flex: 1;
    justify-content: center;
    min-width: 100%;
  }
}

/* ── BENTO GRID ── */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.bento-card {
  position: relative;
  border-radius: 16px;
  padding: 32px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.bento-navy {
  background: #0d1b4b;
}

.bento-gold {
  background: #c9a227;
}

.bento-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.bento-wm {
  position: absolute;
  bottom: -12px;
  right: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 6.5rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.bento-navy .bento-wm { color: rgba(255, 255, 255, 0.04); }
.bento-gold .bento-wm { color: rgba(13, 27, 75, 0.06); }

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-navy .bento-icon {
  background: rgba(201, 162, 39, 0.14);
}

.bento-gold .bento-icon {
  background: rgba(13, 27, 75, 0.12);
}

.bento-icon svg {
  width: 20px;
  height: 20px;
}

.bento-navy .bento-icon svg { fill: #c9a227; }
.bento-gold .bento-icon svg { fill: #0d1b4b; }

.bento-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0;
}

.bento-navy .bento-title { color: #ffffff; }
.bento-gold .bento-title { color: #0d1b4b; }

.bento-short {
  font-size: 0.88rem;
  line-height: 1.68;
  margin: 0;
  flex: 1;
  transition: opacity 0.28s ease;
}

.bento-navy .bento-short { color: rgba(255, 255, 255, 0.70); }
.bento-gold .bento-short { color: rgba(13, 27, 75, 0.70); }

.bento-full {
  font-size: 0.88rem;
  line-height: 1.68;
  margin: 0;
  flex: 1;
  position: absolute;
  top: 112px;
  left: 28px;
  right: 28px;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.bento-navy .bento-full { color: rgba(255, 255, 255, 0.78); }
.bento-gold .bento-full { color: rgba(13, 27, 75, 0.78); }

.bento-card:hover .bento-short { opacity: 0; }
.bento-card:hover .bento-full { opacity: 1; pointer-events: auto; }

.bento-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  margin-top: auto;
}

.bento-navy .bento-cta { color: rgba(201, 162, 39, 0.75); }
.bento-gold .bento-cta { color: rgba(13, 27, 75, 0.45); }

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .bento-full {
    display: none;
  }

  .bento-card:hover .bento-short {
    opacity: 1;
  }
}

/* ── Correctifs responsive index.html ── */

/* ── Tablette paysage ── */
@media (max-width: 1024px) {
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px auto;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 0 1.5rem;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .brand img {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    object-fit: contain;
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: flex !important;
    position: relative;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    justify-self: end;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    z-index: 1005;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    opacity: 0;
  }

  .nav-toggle::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 14px;
    width: 22px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff;
    pointer-events: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    background: #042e66;
    border-top: 1px solid rgba(203, 160, 65, 0.24);
    box-shadow: 0 20px 40px rgba(2, 27, 58, 0.22);
  }

  .site-header.nav-open .main-nav,
  .site-header.open .main-nav,
  .main-nav.open,
  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.9rem 2rem;
    font-size: 0.82rem;
  }

  .main-nav a::after {
    display: none;
  }

  .member-link {
    min-width: 0;
    max-width: 132px;
    min-height: 36px;
    padding: 0 0.9rem;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.68rem;
  }

  .home-hero {
    min-height: 100svh;
    overflow: hidden;
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .hero-content,
  .home-hero .hero-content {
    width: 100%;
    max-width: 90%;
    padding: 0 2rem;
  }

  .hero-content h1,
  .home-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.12;
  }

  .hero-actions,
  .home-hero .hero-actions {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero-seal,
  .home-hero .hero-seal {
    top: 96px;
    right: 1rem;
    left: auto;
    width: 120px;
    opacity: 0.15;
    transform: none;
    pointer-events: none;
  }

  .social-rail,
  .home-hero .social-rail {
    right: 0.75rem;
    opacity: 0.9;
  }

  .stats-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(920px, calc(100% - 2rem));
    margin-right: auto;
    margin-left: auto;
  }

  .stat-card {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(203, 160, 65, 0.34);
  }

  .stat-card:nth-child(odd) {
    border-right: 1px solid rgba(203, 160, 65, 0.34);
  }

  .stat-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
  }

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

  .news-grid,
  .news-grid.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
  }

  .site-footer > div,
  .footer-newsletter {
    min-width: 0;
  }
}

/* ── Tablette portrait / Mobile large ── */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) 44px auto;
    min-height: 60px;
    padding: 0 1rem;
  }

  .brand {
    gap: 8px;
    font-size: 0.65rem;
    line-height: 1.05;
  }

  .brand img {
    width: 40px;
    height: 40px;
    max-height: 40px;
  }

  .member-link {
    max-width: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    color: transparent;
    font-size: 0;
  }

  .member-link span {
    color: #cba041;
    font-size: 0.9rem;
  }

  .hero.home-hero,
  .home-hero {
    min-height: 100svh;
    padding: 70px 1.5rem 2.5rem;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .hero-content,
  .home-hero .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: left;
  }

  .hero-content .eyebrow,
  .home-hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  .hero-content h1,
  .home-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.2;
  }

  .hero-content h1 span,
  .home-hero h1 span {
    display: block;
  }

  .hero-actions,
  .home-hero .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .btn.btn-gold,
  .btn.btn-outline,
  .home-hero .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1.5rem;
  }

  .hero-seal,
  .home-hero .hero-seal {
    display: none;
  }

  .social-rail,
  .home-hero .social-rail {
    display: none;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 1.5rem);
  }

  .stat-card {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 10px;
    padding: 1.2rem 1rem;
  }

  .stat-card p,
  .stat-card strong {
    overflow-wrap: anywhere;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 16px;
  }

  .objective-grid {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .news-grid.large {
    grid-template-columns: 1fr;
  }

  .news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-action-row,
  .bottom-cta div {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-action {
    flex: 1 1 120px;
    max-width: 150px;
    text-align: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }

  .footer-social {
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  .newsletter-form {
    display: flex;
    max-width: 320px;
  }
}

/* ── Mobile standard ── */
@media (max-width: 480px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 0 0.9rem;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    transform: translateY(-50%);
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .member-link {
    display: none;
  }

  .main-nav a {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero.home-hero,
  .home-hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero-content h1,
  .home-hero h1 {
    font-size: clamp(1.4rem, 8vw, 1.9rem);
  }

  .btn,
  .btn.btn-gold,
  .btn.btn-outline,
  .home-hero .btn {
    max-width: 100%;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 1rem);
  }

  .stat-card {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 8px;
    padding: 1rem 0.8rem;
    font-size: 0.82rem;
  }

  .stat-icon,
  .stat-icon img,
  .stat-icon svg {
    width: 28px;
    height: 28px;
  }

  .stat-card strong {
    font-size: 1rem;
  }

  .bento-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .bottom-cta > p {
    padding: 0 1rem;
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .site-footer {
    padding: 2rem 1rem;
    font-size: 0.9rem;
  }
}

/* ── RESPONSIVE NAVBAR — TIROIR LATÉRAL ── */

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nav-toggle {
  display: none;
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1.5px solid rgba(203, 160, 65, 0.35);
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
  }

  .nav-toggle:hover {
    border-color: #cba041;
  }

  .nav-toggle span {
    display: block;
    height: 1.5px;
    background: #ffffff;
    border-radius: 2px;
    transition:
      transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      opacity 0.2s ease,
      width 0.3s ease;
  }

  .nav-toggle span:nth-child(1) {
    width: 18px;
  }

  .nav-toggle span:nth-child(2) {
    width: 22px;
  }

  .nav-toggle span:nth-child(3) {
    width: 14px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    width: 22px;
    transform: rotate(45deg) translate(4.5px, 4.5px);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    width: 22px;
    transform: rotate(-45deg) translate(4.5px, -4.5px);
  }

  .main-nav,
  .site-header.nav-open .main-nav {
    display: none !important;
  }

  .member-link {
    display: none !important;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
  }

  .brand {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 1.2rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    display: none;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(2, 14, 32, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  width: min(340px, 88vw);
  background: #021e44;
  border-left: 2px solid #cba041;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.nav-sidebar.is-open {
  transform: translateX(0);
}

.nav-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(203, 160, 65, 0.15);
  flex-shrink: 0;
}

.nav-sidebar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-sidebar__logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #cba041;
}

.nav-sidebar__logo-text {
  line-height: 1.2;
}

.nav-sidebar__logo-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.nav-sidebar__logo-text strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cba041;
}

.nav-sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  flex-shrink: 0;
}

.nav-sidebar__close:hover {
  background: rgba(203, 160, 65, 0.18);
  color: #cba041;
  border-color: rgba(203, 160, 65, 0.4);
}

.nav-sidebar__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.8rem 0;
}

.nav-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateX(20px);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-left-color 0.2s ease;
}

.nav-sidebar__nav a.is-animated {
  animation: sidebarLinkIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nav-sidebar__nav a:hover {
  color: #cba041;
  background: rgba(203, 160, 65, 0.06);
  border-left-color: #cba041;
}

.nav-sidebar__nav a.is-active {
  color: #cba041;
  border-left-color: #cba041;
  background: rgba(203, 160, 65, 0.05);
}

.nav-sidebar__num {
  min-width: 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(203, 160, 65, 0.45);
}

@keyframes sidebarLinkIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-sidebar__footer {
  padding: 1.2rem 1.4rem;
  border-top: 1px solid rgba(203, 160, 65, 0.15);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease 0.38s,
    transform 0.3s ease 0.38s;
}

.nav-sidebar.is-open .nav-sidebar__footer {
  opacity: 1;
  transform: translateY(0);
}

.nav-sidebar__member {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.88rem 1rem;
  background: #cba041;
  color: #042e66;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.nav-sidebar__member:hover {
  background: #e0b85a;
}

.nav-sidebar__member svg {
  width: 16px;
  height: 16px;
  fill: #042e66;
}

/* Icônes sociales — standard UPJCI */
.social-icon-link {
  display: inline-grid;
  place-items: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.social-icon-link svg {
  fill: currentColor;
  display: block;
}

.social-icon-link:hover {
  transform: translateY(-2px);
}

.social-rail .social-icon-link svg {
  width: 15px;
  height: 15px;
}

.social-rail .social-svg.social-icon-link:hover {
  transform: scale(1.2);
}

/* ── LOGO UPJCI · FORME RONDE UNIFORME ── */
img.logo-upj,
.brand img[src*="logo-upj.jpeg"],
.footer-brand img[src*="logo-upj.jpeg"],
.f1-brand-logo,
.nav-sidebar__logo img,
.dashboard-welcome img[src*="logo-upj.jpeg"],
.card-top img[src*="logo-upj.jpeg"],
.hero-seal img[src*="logo-upj.jpeg"] {
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 1.5px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 0 0 1px rgba(203, 160, 65, 0.3) !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.logo-upj--on-light {
  border-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 0 0 1px rgba(203, 160, 65, 0.3) !important;
}

/* Landing page - CTA hero +20% */
body[data-page="accueil"] .home-hero .hero-actions .btn {
  min-width: 257px;
  min-height: 50px;
  padding-inline: 22px;
  font-size: clamp(0.7rem, 0.62vw, 0.82rem);
}

@media (max-width: 768px) {
  body[data-page="accueil"] .home-hero .hero-actions .btn {
    max-width: 336px;
    min-height: 58px;
    padding: 1.02rem 1.8rem;
  }
}

/* Correctifs finaux UPJ :
   - garde les icônes sociales du footer dans le même esprit que la hero ;
   - évite les débordements horizontaux sur les pages longues ;
   - rend le message newsletter lisible sur le fond sombre. */
.footer-social a,
.f1-soc {
  color: #cba041 !important;
  border-color: rgba(203, 160, 65, 0.65) !important;
  background: transparent !important;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease !important;
}

.footer-social a:hover,
.f1-soc:hover {
  color: #e8c050 !important;
  border-color: #e8c050 !important;
  background: rgba(203, 160, 65, 0.1) !important;
  transform: scale(1.12) !important;
}

.footer-social svg,
.f1-soc svg {
  fill: currentColor !important;
}

.form-message.newsletter-message {
  color: #ffffff !important;
}

main,
section,
.section,
.site-header,
.site-footer,
.f1 {
  max-width: 100%;
}



/* ============================================
   ADHESION PAGE STYLES
   ============================================ */
      .adh-hero,
      .adh-body,
      .adh-form-card,
      .adh-success {
        font-family:'Inter', system-ui, -apple-system, sans-serif;
      }

      .adh-hero {
        position: relative;
        overflow: hidden;
        background: #042e66;
        border-radius: 14px;
        margin: 2rem auto;
        padding: 2.5rem;
        max-width: 1180px;
        color: #ffffff;
        isolation: isolate;
      }

      .adh-hero::before,
      .adh-hero::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        background: rgba(203, 160, 65, 0.14);
        z-index: -1;
      }

      .adh-hero::before {
        width: 190px;
        height: 190px;
        right: -56px;
        top: -58px;
      }

      .adh-hero::after {
        width: 128px;
        height: 128px;
        left: -34px;
        bottom: -46px;
      }

      .adh-eyebrow {
        color: #cba041;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 4px;
        margin: 0 0 0.8rem;
        text-transform: uppercase;
      }

      .adh-hero h2 {
        color: #ffffff;
        font-family:'Cinzel', serif;
        font-size: 1.8rem;
        line-height: 1.22;
        margin: 0 0 1.45rem;
      }

      .adh-hero em {
        color: #cba041;
        font-style: italic;
      }

      .adh-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        max-width: 860px;
      }

      .adh-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255, 255, 255, 0.08);
        border: 0.5px solid rgba(203, 160, 65, 0.25);
        border-radius: 20px;
        color: #ffffff;
        font-size: 0.75rem;
        line-height: 1;
        padding: 7px 12px;
      }

      .adh-badge::before {
        content: '✓';
        color: #cba041;
        font-weight: 900;
      }

      .adh-body {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 2rem;
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 0 4rem;
      }

      .adh-avantages h3 {
        color: #042e66;
        font-family:'Cinzel', serif;
        font-size: 1.2rem;
        line-height: 1.25;
        margin: 0 0 1.2rem;
      }

      .adh-av-row {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        background: #ffffff;
        border: 0.5px solid #dfe3ea;
        border-radius: 8px;
        margin-bottom: 8px;
        padding: 10px 14px;
        transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
      }

      .adh-av-row:hover {
        border-color: #cba041;
        box-shadow: 0 2px 8px rgba(203, 160, 65, 0.15);
        transform: translateY(-2px);
      }

      .adh-av-icon {
        width: 1.4rem;
        height: 1.4rem;
        color: #cba041;
        flex: 0 0 1.4rem;
      }

      .adh-av-icon svg {
        display: block;
        width: 100%;
        height: 100%;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
      }

      .adh-av-row h4 {
        color: #042e66;
        font-size: 0.88rem;
        font-weight: 800;
        margin: 0 0 2px;
      }

      .adh-av-row p {
        color: #687386;
        font-size: 0.8rem;
        line-height: 1.45;
        margin: 0;
      }

      .adh-quote {
        background: rgba(203, 160, 65, 0.07);
        border-left: 3px solid #cba041;
        border-radius: 0 8px 8px 0;
        margin: 16px 0 0;
        padding: 12px 16px;
      }

      .adh-quote p {
        color: #042e66;
        font-size: 0.88rem;
        font-style: italic;
        line-height: 1.6;
        margin: 0;
      }

      .adh-quote cite {
        color: #687386;
        display: block;
        font-size: 0.78rem;
        font-style: normal;
        margin-top: 6px;
      }

      .adh-form-card {
        background: #ffffff;
        border: 2px solid #cba041;
        border-radius: 14px;
        box-shadow: 0 4px 32px rgba(4, 46, 102, 0.10);
        overflow: hidden;
      }

      .adh-form-header {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #cba041;
        color: #042e66;
        padding: 14px 20px;
      }

      .adh-form-header svg {
        width: 1.2rem;
        height: 1.2rem;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
      }

      .adh-form-header span {
        font-size: 0.85rem;
        font-weight: 900;
        letter-spacing: 2px;
        text-transform: uppercase;
      }

      .adh-steps-bar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-bottom: 0.5px solid #dfe3ea;
      }

      .adh-step-tab {
        background: #f7f7f7;
        border: 0;
        border-right: 0.5px solid #dfe3ea;
        color: #687386;
        cursor: pointer;
        font-family:'Inter', system-ui, -apple-system, sans-serif;
        font-size: 0.78rem;
        padding: 12px 8px;
        transition: background 0.25s ease, color 0.25s ease;
      }

      .adh-step-tab:last-child {
        border-right: 0;
      }

      .adh-step-tab.active {
        background: #042e66;
        color: #cba041;
        font-weight: 800;
      }

      .adh-form {
        padding: 1.5rem;
      }

      .adh-form.is-loading {
        opacity: 0.76;
        pointer-events: none;
      }

      .adh-form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
      }

      .adh-field {
        position: relative;
      }

      .adh-field.adh-full {
        grid-column: 1 / -1;
      }

      .adh-field label,
      .adh-label {
        color: #687386;
        display: block;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        margin-bottom: 4px;
      }

      .req {
        color: #cba041;
        margin-left: 2px;
      }

      .adh-field input,
      .adh-field select,
      .adh-field textarea {
        background: #f7f7f7;
        border: 1.5px solid #dfe3ea;
        border-radius: 8px;
        color: #042e66;
        font-family:'Inter', system-ui, -apple-system, sans-serif;
        font-size: 0.88rem;
        padding: 0.7rem 0.9rem;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        width: 100%;
      }

      .adh-field textarea {
        min-height: 150px;
        resize: vertical;
      }

      .adh-field input:focus,
      .adh-field select:focus,
      .adh-field textarea:focus,
      .adh-step-tab:focus-visible,
      .adh-btn:focus-visible,
      .adh-upload-zone:focus-visible {
        border-color: #cba041;
        box-shadow: 0 0 0 3px rgba(203, 160, 65, 0.15);
        outline: none;
      }

      .adh-field.is-invalid input,
      .adh-field.is-invalid select,
      .adh-field.is-invalid textarea {
        border-color: #d63031;
      }

      .adh-field.is-valid input,
      .adh-field.is-valid select,
      .adh-field.is-valid textarea {
        border-color: #00b894;
      }

      .adh-field.is-valid:not(.adh-check-field)::after {
        color: #00b894;
        content: '✓';
        font-weight: 900;
        position: absolute;
        right: 12px;
        top: 31px;
      }

      .adh-error {
        color: #d63031;
        display: block;
        font-size: 0.75rem;
        min-height: 1rem;
        margin-top: 4px;
      }

      .adh-file-input {
        height: 1px;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        width: 1px;
      }

      .adh-upload-zone {
        align-items: center;
        background: rgba(203, 160, 65, 0.04);
        border: 2px dashed #cba041;
        border-radius: 8px;
        color: #042e66;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 132px;
        padding: 20px;
        text-align: center;
        transition: background 0.2s ease, transform 0.2s ease;
      }

      .adh-upload-zone:hover,
      .adh-upload-zone.is-dragover {
        background: rgba(203, 160, 65, 0.08);
        transform: translateY(-1px);
      }

      .adh-upload-zone svg {
        color: #cba041;
        height: 28px;
        margin-bottom: 8px;
        stroke: currentColor;
        width: 28px;
      }

      .adh-upload-zone strong {
        font-size: 0.86rem;
      }

      .adh-upload-zone small {
        color: #687386;
        font-size: 0.74rem;
        margin-top: 4px;
      }

      .adh-photo-preview {
        align-items: center;
        display: none;
        gap: 10px;
        margin-top: 10px;
      }

      .adh-photo-preview.show {
        display: flex;
      }

      .adh-photo-preview img {
        border: 2px solid #cba041;
        border-radius: 50%;
        height: 60px;
        object-fit: cover;
        width: 60px;
      }

      .adh-photo-preview span {
        color: #042e66;
        font-size: 0.82rem;
        font-weight: 700;
      }

      .adh-strength {
        align-items: center;
        display: flex;
        gap: 8px;
        margin-top: 7px;
      }

      .adh-strength-bar {
        background: #dfe3ea;
        border-radius: 999px;
        flex: 1;
        height: 6px;
        overflow: hidden;
      }

      .adh-strength-fill {
        background: #d63031;
        display: block;
        height: 100%;
        transition: background 0.2s ease, width 0.2s ease;
        width: 0;
      }

      .adh-strength-text {
        color: #687386;
        font-size: 0.72rem;
        min-width: 48px;
        text-align: right;
      }

      .adh-char-count {
        color: #d63031;
        display: block;
        font-size: 0.75rem;
        margin-top: 4px;
        text-align: right;
      }

      .adh-char-count.ok {
        color: #00b894;
      }

      .adh-check-field {
        align-items: flex-start;
        display: flex;
        gap: 10px;
      }

      .adh-check-field input {
        flex: 0 0 auto;
        margin-top: 4px;
        width: auto;
      }

      .adh-check-field label {
        color: #042e66;
        font-size: 0.84rem;
        line-height: 1.55;
        margin: 0;
      }

      .adh-form-nav {
        align-items: center;
        display: flex;
        gap: 0.8rem;
        justify-content: space-between;
        margin-top: 1.5rem;
      }

      .adh-btn {
        align-items: center;
        border-radius: 8px;
        cursor: pointer;
        display: inline-flex;
        font-family:'Inter', system-ui, -apple-system, sans-serif;
        font-size: 0.9rem;
        font-weight: 900;
        justify-content: center;
        min-height: 44px;
        padding: 0.75rem 1.2rem;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      }

      .adh-btn:hover {
        box-shadow: 0 8px 22px rgba(4, 46, 102, 0.16);
        transform: translateY(-2px);
      }

      .adh-btn-primary {
        background: #cba041;
        border: 1px solid #cba041;
        color: #042e66;
      }

      .adh-btn-secondary {
        background: transparent;
        border: 1px solid #042e66;
        color: #042e66;
      }

      .adh-submit {
        margin-left: auto;
        width: 100%;
      }

      .adh-spinner {
        animation: adhSpin 0.8s linear infinite;
        border: 2px solid rgba(4, 46, 102, 0.25);
        border-top-color: #042e66;
        border-radius: 50%;
        display: inline-block;
        height: 16px;
        margin-right: 8px;
        width: 16px;
      }

      @keyframes adhSpin {
        to { transform: rotate(360deg); }
      }

      .adh-success {
        border: 2px solid #cba041;
        border-radius: 14px;
        box-shadow: 0 8px 40px rgba(4, 46, 102, 0.12);
        padding: 3rem;
        text-align: center;
      }

      .adh-success-icon {
        align-items: center;
        animation: adhScaleIn 0.45s ease both;
        background: #cba041;
        border-radius: 50%;
        color: #042e66;
        display: flex;
        font-size: 2rem;
        font-weight: 900;
        height: 80px;
        justify-content: center;
        margin: 0 auto 1.5rem;
        width: 80px;
      }

      @keyframes adhScaleIn {
        from { opacity: 0; transform: scale(0); }
        to { opacity: 1; transform: scale(1); }
      }

      .adh-success h3 {
        color: #042e66;
        font-family:'Cinzel', serif;
        font-size: 1.6rem;
        margin: 0 0 0.8rem;
      }

      .adh-success p {
        color: #687386;
        font-size: 0.92rem;
        line-height: 1.7;
        margin: 0 auto 1.4rem;
        max-width: 620px;
      }

      .adh-recap {
        background: #f8f7f4;
        border-radius: 8px;
        margin: 0 auto 1.4rem;
        max-width: 540px;
        padding: 1.2rem;
        text-align: left;
      }

      .adh-recap div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.35rem 0;
      }

      .adh-recap span {
        color: #687386;
      }

      .adh-recap strong {
        color: #042e66;
        text-align: right;
      }

      .adh-toast {
        animation: adhSlideIn 0.3s ease both;
        background: #d63031;
        border-radius: 8px;
        color: #ffffff;
        max-width: min(420px, calc(100vw - 2rem));
        padding: 1rem 1.5rem;
        position: fixed;
        right: 1.5rem;
        top: 1.5rem;
        z-index: 9999;
      }

      @keyframes adhSlideIn {
        from { opacity: 0; transform: translateY(-16px); }
        to { opacity: 1; transform: translateY(0); }
      }

      @media (max-width: 900px) {
        .adh-hero,
        .adh-body {
          margin-left: 1rem;
          margin-right: 1rem;
        }

        .adh-body {
          grid-template-columns: 1fr;
        }

        .adh-steps-bar {
          font-size: 0.68rem;
        }

        .adh-step-tab {
          font-size: 0.68rem;
          padding: 10px 4px;
        }

        .adh-hero h2 {
          font-size: 1.4rem;
        }

        .adh-badge {
          font-size: 0.7rem;
          padding: 6px 10px;
        }
      }

      @media (max-width: 600px) {
        .adh-hero {
          padding: 1.5rem 1rem;
        }

        .adh-form {
          padding: 1rem;
        }

        .adh-form-grid {
          grid-template-columns: 1fr;
        }

        .adh-upload-zone {
          padding: 14px;
        }

        .adh-form-nav {
          flex-direction: column;
        }

        .adh-btn,
        .adh-submit {
          width: 100%;
        }

        .adh-recap div {
          display: block;
        }

        .adh-recap strong {
          display: block;
          text-align: left;
        }
      }

      /* Nouvelle adhésion — conserve mini-hero et intro existantes */
      .adh-hero{background:#0B1828}
      .adh-hero::before,.adh-hero::after{background:rgba(201,162,39,.11)}
      .adh-page{--adh-navy:#0B1828;--adh-navy2:#111E2E;--adh-navy3:#162236;--adh-gold:#C9A227;--adh-gold-lt:#E8C84A;--adh-muted:#6B7B8B;--adh-error:#E05252;--adh-line:rgba(201,162,39,.22);background:#F5F0E8;color:var(--adh-navy)}
      .adh-progress-bar{height:3px;background:rgba(201,162,39,.12)}
      .adh-progress-fill{height:100%;width:20%;background:linear-gradient(90deg,var(--adh-gold),var(--adh-gold-lt));transition:width .5s cubic-bezier(.77,0,.175,1)}
      .adh-stepper{background:var(--adh-navy2);border-bottom:1px solid var(--adh-line);padding:0 60px}
      .adh-stepper-inner{max-width:900px;margin:0 auto;display:flex;align-items:stretch}
      .step-tab{flex:1;padding:18px 12px;display:flex;align-items:center;gap:10px;border-bottom:3px solid transparent;transition:border-color .3s}
      .step-tab.active{border-bottom-color:var(--adh-gold)}.step-tab.done{border-bottom-color:rgba(201,162,39,.35)}
      .step-num{width:26px;height:26px;border-radius:50%;border:1.5px solid rgba(201,162,39,.35);display:flex;align-items:center;justify-content:center;font-family:'Cinzel',serif;font-size:11px;font-weight:700;color:rgba(255,255,255,.4);flex-shrink:0;transition:all .3s}
      .step-tab.active .step-num{border-color:var(--adh-gold);color:var(--adh-gold);background:rgba(201,162,39,.1)}.step-tab.done .step-num{background:var(--adh-gold);border-color:var(--adh-gold);color:var(--adh-navy)}
      .step-label{font-size:11px;font-weight:600;letter-spacing:1px;color:rgba(255,255,255,.3);text-transform:uppercase;display:none}.step-tab.active .step-label{color:var(--adh-gold-lt)}.step-tab.done .step-label{color:rgba(201,162,39,.6)}
      @media(min-width:640px){.step-label{display:block}}
      .adh-body{display:block;max-width:none;margin:0;padding:60px;background:#F5F0E8}
      .adh-body-inner{max-width:900px;margin:0 auto}
      .step-panel{display:none}.step-panel.active{display:block;animation:adhPanelIn .4s ease}
      @keyframes adhPanelIn{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
      .panel-title{font-family:'Cinzel',serif;font-size:22px;font-weight:700;color:var(--adh-navy);margin-bottom:6px}.panel-sub{font-size:13px;color:var(--adh-muted);margin-bottom:40px;line-height:1.6}
      .field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.field-row.full{grid-template-columns:1fr}.field-group,.form-group{display:flex;flex-direction:column;gap:7px}
      .field-label,.form-group label{font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--adh-navy)}.field-label .req,.req,.required{color:var(--adh-gold)}.field-hint{font-size:11px;color:var(--adh-muted);margin-top:-3px}
      .field-input,.field-select,.field-textarea,.form-group input{width:100%;padding:12px 16px;font-family:'Inter', system-ui, -apple-system, sans-serif;font-size:13px;color:var(--adh-navy);background:#fff;border:1.5px solid rgba(14,26,38,.18);border-radius:2px;outline:none;transition:border-color .25s,box-shadow .25s}
      .field-input:focus,.field-select:focus,.field-textarea:focus{border-color:var(--adh-gold);box-shadow:0 0 0 3px rgba(201,162,39,.1)}.field-textarea{resize:vertical;min-height:110px}
      .field-error{font-size:11px;color:var(--adh-error);display:none}.field-group.has-error .field-error{display:block}.field-group.has-error .field-input,.field-group.has-error .field-select,.field-group.has-error .field-textarea{border-color:var(--adh-error)}
      .choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice-card{position:relative;cursor:pointer}.choice-card input{position:absolute;opacity:0;width:0;height:0}
      .choice-body{border:1.5px solid rgba(14,26,38,.15);padding:14px 16px;background:#fff;transition:border-color .25s,background .25s;display:flex;align-items:flex-start;gap:12px}.choice-card input:checked + .choice-body{border-color:var(--adh-gold);background:rgba(201,162,39,.05)}
      .choice-dot{width:16px;height:16px;border-radius:50%;border:1.5px solid rgba(14,26,38,.25);flex-shrink:0;margin-top:2px;display:flex;align-items:center;justify-content:center;transition:border-color .25s,background .25s}.choice-card input:checked + .choice-body .choice-dot{border-color:var(--adh-gold);background:var(--adh-gold)}
      .choice-dot::after{content:'';width:6px;height:6px;border-radius:50%;background:var(--adh-navy);opacity:0;transition:opacity .2s}.choice-card input:checked + .choice-body .choice-dot::after{opacity:1}.choice-sq{border-radius:3px!important}.choice-sq::after{border-radius:2px!important}
      .choice-title{font-size:13px;font-weight:600;color:var(--adh-navy);line-height:1.3;margin:0 0 3px}.choice-desc{font-size:11.5px;color:var(--adh-muted);line-height:1.5;margin:0}
      .poste-category{margin-bottom:24px}.poste-cat-header{font-family:'Cinzel',serif;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--adh-gold);padding:10px 0;border-bottom:1px solid var(--adh-line);margin-bottom:12px;display:flex;align-items:center;gap:8px}.poste-cat-header::before{content:'';flex:0 0 20px;height:1px;background:var(--adh-gold)}.poste-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
      .engagement-box{background:var(--adh-navy);padding:32px 36px;margin-bottom:28px;position:relative}.engagement-box::before{content:'';position:absolute;top:0;left:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--adh-gold),var(--adh-gold-lt))}.engagement-title{font-family:'Cinzel',serif;font-size:14px;font-weight:700;color:var(--adh-gold-lt);margin-bottom:14px}.engagement-items{display:flex;flex-direction:column;gap:8px}.engagement-item{font-size:12.5px;color:rgba(255,255,255,.65);line-height:1.6;display:flex;align-items:flex-start;gap:10px}.engagement-item::before{content:'◆';color:var(--adh-gold);font-size:8px;flex-shrink:0;margin-top:4px}
      .step-nav{display:flex;justify-content:space-between;align-items:center;margin-top:48px;padding-top:28px;border-top:1px solid rgba(14,26,38,.12)}.btn-prev,.btn-next{display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;transition:all .25s;text-transform:uppercase}
      .btn-prev{padding:12px 28px;font-family:'Inter', system-ui, -apple-system, sans-serif;font-size:11px;font-weight:700;letter-spacing:2px;color:var(--adh-muted);background:none;border:1.5px solid rgba(14,26,38,.2)}.btn-prev:hover{border-color:var(--adh-navy);color:var(--adh-navy)}
      .btn-next{padding:14px 36px;font-family:'Cinzel',serif;font-size:10.5px;font-weight:700;letter-spacing:3px;color:var(--adh-navy);background:var(--adh-gold);border:none;position:relative;overflow:hidden}.btn-next::before{content:'';position:absolute;inset:0;background:var(--adh-gold-lt);transform:scaleX(0);transform-origin:left;transition:transform .35s ease}.btn-next:hover::before{transform:scaleX(1)}.btn-next span,.btn-next svg{position:relative;z-index:1}.btn-submit{background:var(--adh-navy);color:var(--adh-gold-lt)}.btn-submit::before{background:var(--adh-navy3)}
      .success-screen{display:none;text-align:center;padding:60px 20px}.success-screen.show{display:block;animation:adhPanelIn .5s ease}.success-icon{width:80px;height:80px;border-radius:50%;background:rgba(46,204,113,.1);border:2px solid rgba(46,204,113,.4);display:flex;align-items:center;justify-content:center;margin:0 auto 28px;font-size:32px}.success-title{font-family:'Cinzel',serif;font-size:28px;font-weight:700;color:var(--adh-navy);margin-bottom:12px}.success-sub{font-size:15px;color:var(--adh-muted);line-height:1.7;max-width:500px;margin:0 auto 36px}
      @media(max-width:768px){.adh-stepper,.adh-body{padding-left:20px;padding-right:20px}.field-row,.choice-grid,.poste-grid{grid-template-columns:1fr}}
      @media(max-width:480px){.step-nav{flex-direction:column;align-items:stretch}.btn-prev,.btn-next{width:100%}}

      /* Responsive formulaire adhésion : évite les débordements sur mobile. */
      @media (max-width: 768px) {
        .adh-hero { padding: 2rem 1rem; }

        .form-steps-container {
          padding: 1.5rem 1rem;
          margin: 0 1rem;
          border-radius: 12px;
        }

        .step-indicators {
          gap: 4px;
          overflow-x: auto;
          padding-bottom: 8px;
        }

        .step-indicator {
          min-width: 28px;
          font-size: 11px;
        }

        .form-step { padding: 1rem 0; }

        .grid2, .form-grid-2 {
          grid-template-columns: 1fr !important;
          gap: 0;
        }

        .form-group { margin-bottom: 14px; }

        .form-group input,
        .form-group select,
        .form-group textarea {
          font-size: 16px !important;
          padding: 12px 14px;
        }

        .form-nav-buttons {
          flex-direction: column;
          gap: 10px;
        }

        .form-nav-buttons button {
          width: 100%;
          padding: 14px;
          font-size: 15px;
        }

        .step-title {
          font-size: 1.1rem;
          margin-bottom: 1rem;
        }

        .pole-options {
          grid-template-columns: 1fr !important;
        }

        .engagement-checks label {
          font-size: 13px;
          line-height: 1.5;
        }
      }

      @media (max-width: 480px) {
        .form-steps-container {
          margin: 0 0.5rem;
          padding: 1rem 0.75rem;
        }

        .adh-hero h1 { font-size: 1.4rem; }
        .adh-hero p { font-size: 0.9rem; }
      }


/* ============================================
   ORGANISATION PAGE STYLES
   ============================================ */
    /* ═══ UPJ ORGANIGRAMME — OPTION 1 PYRAMIDE INSTITUTIONNELLE ═══ */
    .upj-org-chart-v2 {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 1.5rem 3rem;
    }

    .org-ribbon-v2 {
      display: flex;
      align-items: center;
      gap: 14px;
      margin: 2rem 0 1.2rem;
    }

    .org-ribbon-v2::before,
    .org-ribbon-v2::after {
      content: '';
      flex: 1;
      height: 1px;
      background: rgba(201, 168, 76, 0.30);
    }

    .org-ribbon-v2 span {
      background: #0D1B3E;
      color: #C9A84C;
      font-family: 'Cinzel', serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      padding: 7px 20px;
      border-radius: 30px;
      white-space: nowrap;
      text-transform: uppercase;
    }

    .org-ribbon-v2.gold span {
      background: #C9A84C;
      color: #0D1B3E;
    }

    .org-grid-3,
    .org-grid-3-equal {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .org-grid-3 {
      gap: 16px;
    }

    .org-grid-5 {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
    }

    .org-grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }

    .org-grid-6 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .org-card-v2 {
      background: #fff;
      border: 1px solid #E8EAF0;
      border-radius: 14px;
      padding: 20px 16px 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      transition: box-shadow 0.22s, transform 0.22s;
    }

    .org-card-v2:hover {
      box-shadow: 0 6px 28px rgba(13, 27, 62, 0.10);
      transform: translateY(-3px);
    }

    .org-card-v2.dark {
      background: #0D1B3E;
      border-color: #C9A84C;
    }

    .org-card-v2.dark h4 { color: #C9A84C; }
    .org-card-v2.dark p { color: rgba(255,255,255,0.62); }

    .org-card-v2.accent {
      border-top: 3px solid #C9A84C;
    }

    .org-card-v2.accent-navy {
      border-top: 3px solid #0D1B3E;
    }

    .org-photo-zone {
      position: relative;
      width: 72px;
      height: 72px;
      margin-bottom: 12px;
    }

    .org-photo-circle {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      border: 2.5px solid #C9A84C;
      background: #0D1B3E;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: default;
    }

    .org-card-v2.dark .org-photo-circle {
      border-color: rgba(201, 168, 76, 0.60);
      background: rgba(201, 168, 76, 0.12);
    }

    .org-photo-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .org-photo-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .org-photo-placeholder svg {
      width: 34px;
      height: 34px;
      stroke: rgba(201, 168, 76, 0.45);
      fill: none;
    }

    .org-upload-btn {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: #C9A84C;
      border: 2px solid #fff;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      transition: background 0.18s, transform 0.18s;
      z-index: 2;
    }

    .org-upload-btn:hover {
      background: #E8C96A;
      transform: scale(1.12);
    }

    .org-upload-btn svg {
      width: 13px;
      height: 13px;
      stroke: #0D1B3E;
      fill: none;
      stroke-width: 2.5;
    }

    .org-file-input {
      display: none;
    }

    /* Mode visiteur : les boutons de modification photo restent invisibles. */
    body:not(.org-admin-mode) .org-upload-btn {
      display: none !important;
    }

    body.org-admin-mode .org-upload-btn {
      display: flex !important;
    }

    body.org-admin-mode .org-photo-circle {
      cursor: pointer;
    }

    .org-card-v2[data-post^="tech-"] .org-sup-icon {
      display: none;
    }

    .org-card-v2 h4 {
      font-family: 'Cinzel', serif;
      font-size: 11.5px;
      font-weight: 700;
      color: #0D1B3E;
      margin: 0 0 6px;
      line-height: 1.4;
    }

    .org-card-v2 p {
      font-size: 11px;
      color: #7A8094;
      margin: 0;
      line-height: 1.5;
    }

    .org-card-v2 b.org-num {
      font-size: 28px;
      color: rgba(201, 168, 76, 0.28);
      font-weight: 800;
      font-family: 'Cinzel', serif;
      display: block;
      line-height: 1;
      margin-bottom: 6px;
    }

    .org-card-v2 strong.org-rattach {
      display: inline-block;
      margin-top: 7px;
      font-size: 9.5px;
      color: #C9A84C;
      letter-spacing: 0.06em;
      font-family: 'Cinzel', serif;
    }

    .org-card-v2.pole {
      background: #F8F8FA;
      border: 1px solid #E8EAF0;
      align-items: flex-start;
      text-align: left;
      padding: 14px 16px;
      border-left: 3px solid #C9A84C;
      border-radius: 10px;
    }

    .org-card-v2.pole:hover {
      box-shadow: 0 4px 20px rgba(201,168,76,0.14);
    }

    .org-sup-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(201, 168, 76, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 10px;
    }

    .org-sup-icon svg {
      width: 24px;
      height: 24px;
      stroke: #C9A84C;
      fill: none;
    }

    .org-toast {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 9999;
      background: #0D1B3E;
      color: #C9A84C;
      border: 1px solid #C9A84C;
      border-radius: 10px;
      padding: 12px 20px;
      font-size: 13px;
      font-weight: 600;
      font-family:'Inter', system-ui, -apple-system, sans-serif;
      display: none;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.20);
      animation: orgFadeUp 0.3s ease;
    }

    .org-toast.show { display: flex; }

    @keyframes orgFadeUp {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 900px) {
      .org-grid-5 { grid-template-columns: repeat(3, 1fr); }
      .org-grid-4 { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 640px) {
      .org-grid-3, .org-grid-6, .org-grid-3-equal { grid-template-columns: 1fr; }
      .org-grid-5 { grid-template-columns: repeat(2, 1fr); }
      .org-grid-4 { grid-template-columns: 1fr; }
    }

body .skip-link{position:absolute;top:-100%;left:1rem;background:var(--gold);color:var(--navy);padding:.5rem 1rem;border-radius:0 0 var(--radius) var(--radius);font-weight:600;font-size:.875rem;z-index:9999;text-decoration:none;transition:top .15s}body .skip-link:focus{top:0}

/* ============================================
   AUTH FORM STYLES (espace-membre login)
   ============================================ */
#auth-screen {
  --navy:#021b3a;
  --navy2:#03142b;
  --blue:#042e66;
  --gold:#cba041;
  --gold2:#e0b84c;
  --gold3:rgba(203,160,65,0.15);
  --gold4:rgba(203,160,65,0.06);
  --white:#fff;
  --muted:rgba(255,255,255,0.45);
  --muted2:rgba(255,255,255,0.15);
  --line:rgba(203,160,65,0.18);
  --error:#ff6b6b;
  --success:#4ecb71;
  position: fixed;
  inset: 0;
  z-index: 500;
  overflow: hidden;
  background: var(--navy2, #03142b);
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--white);
}
#auth-cvs {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#auth-screen .aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#auth-screen .scene {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
#auth-screen .auth-back-home {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px 8px 10px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(2,20,43,0.58);
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
#auth-screen .auth-back-home svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
#auth-screen .auth-back-home:hover,
#auth-screen .auth-back-home:focus-visible {
  transform: translateX(-3px);
  border-color: rgba(203,160,65,0.55);
  background: rgba(203,160,65,0.12);
  color: var(--gold);
  outline: none;
}
#auth-screen *,#auth-screen *::before,#auth-screen *::after{box-sizing:border-box;margin:0;padding:0}





/* ── CANVAS BG ── */


/* ── AURORA LAYERS ── */

#auth-screen .aurora-blob{
  position:absolute;border-radius:50%;filter:blur(80px);
  animation:authDrift 8s ease-in-out infinite alternate;
}
#auth-screen .ab1{width:600px;height:400px;background:rgba(4,46,102,0.5);top:-100px;left:-100px;animation-delay:0s}
#auth-screen .ab2{width:500px;height:500px;background:rgba(203,160,65,0.08);top:30%;right:-150px;animation-delay:-3s}
#auth-screen .ab3{width:400px;height:300px;background:rgba(2,27,58,0.7);bottom:-80px;left:30%;animation-delay:-5s}
@keyframes authDrift{
  from{transform:translate(0,0) scale(1)}
  to{transform:translate(30px,20px) scale(1.05)}
}

/* ── LAYOUT ── */


/* ── MAIN CARD ── */
#auth-screen .glass-card{
  width:100%;
  max-width: 780px;
  min-height:unset;
  margin:auto;
  display:flex;
  background:rgba(2,20,43,0.75);
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  box-shadow:0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  animation:authCardIn .7s cubic-bezier(.22,.68,0,1.2) both;
}
@keyframes authCardIn{
  from{opacity:0;transform:translateY(32px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

/* ── LEFT PANEL ── */
#auth-screen .lp{
  width:42%;flex-shrink:0;
  padding:36px 32px;
  position:relative;overflow:hidden;
  border-right:1px solid var(--line);
  display:flex;flex-direction:column;
}
#auth-screen .lp::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 120% 80% at 0% 0%,rgba(203,160,65,0.07) 0%,transparent 60%);
}

/* Animated gold line left */
#auth-screen .lp::after{
  content:'';
  position:absolute;left:0;top:15%;
  width:2px;height:0;
  background:linear-gradient(to bottom,transparent,var(--gold),transparent);
  animation:authLineGrow 1.2s .3s ease both;
}
@keyframes authLineGrow{from{height:0;top:50%}to{height:70%;top:15%}}

#auth-screen .logo-area{
  display:flex;align-items:center;gap:14px;
  margin-bottom:32px;
  animation:authFadeUp .5s .1s both;
}
#auth-screen .logo-hex{
  width:52px;height:52px;
  border:1.5px solid rgba(255,255,255,0.92);
  border-radius:50%;
  overflow:hidden;
  background:rgba(255,255,255,0.06);
  box-shadow:0 0 0 1px rgba(203,160,65,0.28),0 8px 24px rgba(0,0,0,0.22);
  display:flex;align-items:center;justify-content:center;
  position:relative;
  flex-shrink:0;
}
#auth-screen .logo-hex::before{
  content:none;
}
@keyframes authPulse2{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.9)}}
#auth-screen .logo-hex img{
  width:100%;
  height:100%;
  border:0;
  border-radius:50%;
  box-shadow:none;
  object-fit:cover;
  object-position:center;
  display:block;
}
#auth-screen .logo-hex span{
  font-family:'Cinzel',serif;font-size:14px;font-weight:700;
  color:var(--gold);letter-spacing:1px;
  position:relative;z-index:1;
}
#auth-screen .logo-text{
  font-family:'Cinzel',serif;font-size:9.5px;font-weight:400;
  letter-spacing:3px;text-transform:uppercase;
  color:rgba(255,255,255,0.4);line-height:1.6;
}

#auth-screen .lp-title{
  font-family:'Cinzel',serif;
  font-size:28px;font-weight:700;
  line-height:1.1;
  margin-bottom:14px;
  animation:authFadeUp .5s .2s both;
}
#auth-screen .lp-title .g{color:var(--gold)}
#auth-screen .lp-title .faded{
  color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,0.2);
}

#auth-screen .lp-desc{
  font-size:14px;font-weight:300;line-height:1.8;
  color:var(--muted);
  margin-bottom:40px;
  animation:authFadeUp .5s .3s both;
}

/* Feature list */
#auth-screen .features{display:flex;flex-direction:column;gap:16px;animation:authFadeUp .5s .4s both}
#auth-screen .feat{display:flex;align-items:flex-start;gap:14px}
#auth-screen .feat-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--gold);flex-shrink:0;margin-top:6px;
  box-shadow:0 0 8px var(--gold);
}
#auth-screen .feat-info p:first-child{font-size:13px;font-weight:500;margin-bottom:2px}
#auth-screen .feat-info p:last-child{font-size:12px;color:var(--muted);line-height:1.4}

/* Bottom tag */
#auth-screen .lp-bottom{
  margin-top:auto;padding-top:28px;
  border-top:1px solid var(--line);
  display:flex;align-items:center;gap:12px;
  animation:authFadeUp .5s .5s both;
}
#auth-screen .online-dot{width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 8px var(--success);animation:authBlink 2s infinite}
@keyframes authBlink{0%,100%{opacity:1}50%{opacity:.3}}
#auth-screen .lp-bottom span{font-size:12px;color:var(--muted)}
#auth-screen .lp-bottom strong{color:var(--white)}

/* ── RIGHT PANEL ── */
#auth-screen .rp{flex:1;padding:36px 32px;display:flex;flex-direction:column;justify-content:center}

/* Tabs */
#auth-screen .tabs{
  display:flex;gap:0;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--muted2);
  border-radius:10px;padding:4px;
  margin-bottom:36px;
  animation:authFadeUp .5s .15s both;
}
#auth-screen .tab{
  flex:1;text-align:center;padding:10px;border-radius:7px;
  font-family:'Cinzel',serif;font-size:10.5px;font-weight:600;
  letter-spacing:2px;text-transform:uppercase;
  color:var(--muted);cursor:pointer;
  transition:all .25s;border:1px solid transparent;
}
#auth-screen .tab.active{
  background:rgba(203,160,65,0.12);
  border-color:rgba(203,160,65,0.3);
  color:var(--gold);
}

/* Panel */
#auth-screen .panel{display:none}#auth-screen .panel.active{display:block}

#auth-screen .form-head{margin-bottom:28px;animation:authFadeUp .4s .2s both}
#auth-screen .form-head h2{font-family:'Cinzel',serif;font-size:22px;font-weight:600;margin-bottom:5px}
#auth-screen .form-head p{font-size:13.5px;font-weight:300;color:var(--muted);line-height:1.5}

/* Fields */
#auth-screen .grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#auth-screen .field{margin-bottom:12px;animation:authFadeUp .4s both}
#auth-screen .field:nth-child(1){animation-delay:.22s}
#auth-screen .field:nth-child(2){animation-delay:.27s}
#auth-screen .field:nth-child(3){animation-delay:.32s}
#auth-screen .field:nth-child(4){animation-delay:.37s}

#auth-screen .field label{
  display:block;font-size:10px;font-weight:600;
  letter-spacing:2px;text-transform:uppercase;
  color:rgba(203,160,65,0.6);margin-bottom:8px;
  font-family:'Cinzel',serif;
}
#auth-screen .inp-wrap{position:relative}
#auth-screen .field input{
  width:100%;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:8px;
  color:var(--white);
  font-family:'Outfit',sans-serif;font-size:13px;font-weight:400;
  padding:10px 14px;outline:none;
  transition:border-color .2s,background .2s,box-shadow .2s;
}
#auth-screen .field input:focus{
  border-color:rgba(203,160,65,0.5);
  background:rgba(203,160,65,0.05);
  box-shadow:0 0 0 3px rgba(203,160,65,0.08);
}
#auth-screen .field input.err{border-color:var(--error);box-shadow:0 0 0 3px rgba(255,107,107,0.1)}
#auth-screen .field input::placeholder{color:rgba(255,255,255,0.18)}
#auth-screen .field input:not(:placeholder-shown):not(.err){border-color:rgba(255,255,255,0.2)}

#auth-screen .eye-btn{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  background:none;border:none;color:var(--muted);cursor:pointer;padding:4px;
  transition:color .2s;
}
#auth-screen .eye-btn:hover{color:var(--gold)}
#auth-screen .eye-btn svg{display:block;width:15px;height:15px}

/* Error */
#auth-screen .err-msg{
  display:none;
  align-items:center;gap:10px;
  background:rgba(255,107,107,0.08);
  border:1px solid rgba(255,107,107,0.25);
  border-radius:8px;
  padding:10px 14px;
  font-size:12.5px;color:var(--error);
  margin-bottom:16px;
  animation:authFadeUp .25s ease both;
}
#auth-screen .err-msg.show{display:flex}
#auth-screen .err-msg svg{width:14px;height:14px;flex-shrink:0}

/* Forgot */
#auth-screen .forgot{
  display:flex;justify-content:flex-end;
  margin-top:-8px;margin-bottom:24px;
}
#auth-screen .forgot a{font-size:12px;color:var(--muted);text-decoration:none;transition:color .2s}
#auth-screen .forgot a:hover{color:var(--gold)}

/* Strength */
#auth-screen .strength-row{display:flex;gap:4px;margin-top:8px}
#auth-screen .seg{flex:1;height:2.5px;border-radius:4px;background:rgba(255,255,255,0.08);transition:background .3s}
#auth-screen .strength-label{font-size:11px;margin-top:5px;text-align:right;color:var(--muted)}

/* Buttons */
#auth-screen .btn-submit{
  width:100%;
  background:linear-gradient(135deg,#c09030 0%,var(--gold2) 60%,#f0d080 100%);
  background-size:200% 100%;background-position:100%;
  border:none;border-radius:9px;
  font-family:'Cinzel',serif;font-size:11px;font-weight:700;
  letter-spacing:2.5px;text-transform:uppercase;
  color:var(--navy2);padding:11px 20px;cursor:pointer;
  transition:background-position .4s,transform .15s,box-shadow .3s;
  margin-top:8px;
  margin-bottom:20px;
}
#auth-screen .btn-submit:hover{
  background-position:0%;
  box-shadow:0 8px 28px rgba(203,160,65,0.35);
  transform:translateY(-1px);
}
#auth-screen .btn-submit:active{transform:translateY(0)}

#auth-screen .or-sep{
  display:flex;align-items:center;gap:14px;margin-bottom:16px;
}
#auth-screen .or-sep::before,#auth-screen .or-sep::after{content:'';flex:1;height:1px;background:var(--line)}
#auth-screen .or-sep span{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}

#auth-screen .btn-google{
  width:100%;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:9px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  font-family:'Outfit',sans-serif;font-size:14px;font-weight:400;
  color:rgba(255,255,255,0.7);
  padding:12px;cursor:pointer;
  transition:all .2s;margin-bottom:28px;
}
#auth-screen .btn-google:hover{
  background:rgba(255,255,255,0.09);
  border-color:rgba(255,255,255,0.2);
  color:var(--white);
  transform:translateY(-1px);
}
#auth-screen .btn-google svg{width:18px;height:18px;flex-shrink:0}

#auth-screen .switch{text-align:center;font-size:13px;color:var(--muted)}
#auth-screen .switch a{color:var(--gold);text-decoration:none;font-weight:500;transition:color .2s}
#auth-screen .switch a:hover{color:var(--gold2)}

@keyframes authFadeUp{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes authShake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-5px)}
  75%{transform:translateX(5px)}
}

/* ── RESPONSIVE ── */
@media(max-width:768px){

  
  
  #auth-screen .auth-back-home{top:14px;left:14px;padding:8px 10px}
  #auth-screen .auth-back-home span{display:none}
  #auth-screen .glass-card{flex-direction:column;max-width:420px;overflow-y:auto;max-height:95vh}
  #auth-screen .lp{width:100%;border-right:none;border-bottom:1px solid rgba(203,160,65,0.18);padding:24px 20px}
  #auth-screen .lp::after{display:none}
  #auth-screen .lp-title{font-size:22px}
  #auth-screen .features{display:none}
  #auth-screen .lp-desc{display:none}
  #auth-screen .rp{padding:20px 16px}
  #auth-screen .lp-bottom{padding-top:16px;margin-top:8px}
  #auth-screen .grid2{grid-template-columns:1fr}

}

@media(max-width:480px){
  #auth-screen .glass-card{
    max-width:100%;
    border-radius:12px;
    max-height:98vh;
  }

  #auth-screen .scene{
    padding:8px;
  }

  #auth-screen .lp{
    padding:16px 14px;
  }

  #auth-screen .logo-area{
    margin-bottom:12px;
  }
}

/* Alias compatible si l'écran reçoit aussi une classe auth-screen. */
.auth-screen .glass-card{max-width: 780px}
