/* URHC - Stylesheet */

/* VARIABLES CSS (TOKENS DU SYSTÈME DE DESIGN OFFICIEL) */
:root {
  
  --blue-primary: #001F3E;       
  --blue-urhc: #12345A;          
  --blue-dark: #07152A;          
  --blue-light: #1D5BB0;         
  --blue-soft: #E6EEFF;          
  --blue-surface: #F0F4FC;       

  
  --red-urhc: #B10B0E;           
  --red-accent: #B5121B;         
  --red-light: #E53935;          
  --red-soft: rgba(177, 11, 14, 0.08); 
  --red-border: rgba(177, 11, 14, 0.25);

  
  --white: #FFFFFF;
  --bg-page: #FFFFFF;
  --bg-surface: #F8F9FF;        
  --bg-container: #F1F4F9;      
  --bg-card: #FFFFFF;
  --grid-line-color: rgba(0, 31, 62, 0.075);
  --grid-pattern: 
    linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
  --grid-size: 32px 32px;
  
  
  --border-hairline: 1px solid #E2E8F0;
  --border-subtle: #E2E8F0;
  --border-blue: 1px solid #12345A;
  --border-strong: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.12);

  
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  
  --text-title: #001F3E;
  --text-body: #202B3A;
  --text-muted: #4E5E73;
  --text-light: #59677B;
  --text-white: #FFFFFF;

  
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-full: 9999px; 

  
  --shadow-subtle: 0 1px 3px rgba(0, 31, 62, 0.05);
  --shadow-card: 0 4px 20px rgba(0, 31, 62, 0.06);
  --shadow-hover: 0 12px 32px rgba(0, 31, 62, 0.12);
  --shadow-dropdown: 0 16px 40px rgba(0, 31, 62, 0.15);

  
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  
  --container-max: 1240px;
  --container-narrow: 900px;
}

/* RÉINITIALISATION & FONDATION */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  background-image: var(--grid-pattern);
  background-size: var(--grid-size);
  background-position: center top;
  color: var(--text-body);
  line-height: 1.68;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibilité Clavier */
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  background: var(--red-urhc);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 99999;
  transition: top var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.skip-link:focus {
  top: 15px;
}

:focus-visible {
  outline: 2px solid var(--red-urhc);
  outline-offset: 3px;
}

::selection {
  background-color: var(--blue-urhc);
  color: var(--white);
}

/* Prévention universelle du débordement textuel */
h1, h2, h3, h4, h5, h6, p, blockquote, q, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

/* Conteneurs structurels */
.site-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.site-container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* BARRE SUPÉRIEURE D'INFORMATION (TOP BAR INSTITUTIONNELLE) */
.top-bar {
  background-color: var(--blue-primary);
  color: #D1D9E6;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1020;
}

.top-bar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}


/* Bande d'Annonce Défilante (Ticker Plateforme e-Talents URHC) */
.top-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.ticker-badge {
  background: var(--red-urhc);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.ticker-track {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 26s linear infinite;
  will-change: transform;
}

.top-ticker-wrap:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ticker-link:hover {
  color: #FF8A8C;
}

.ticker-url {
  color: #FF8A8C;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ticker-separator {
  margin: 0 1.5rem;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.top-motto {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-motto-dot {
  width: 6px;
  height: 6px;
  background-color: var(--red-light);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.top-bar-center {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.top-icon {
  width: 14px;
  height: 14px;
  color: #FF8A8C;
  flex-shrink: 0;
}

.top-divider {
  color: rgba(255, 255, 255, 0.2);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.top-link-solennel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  background: var(--red-urhc);
  border: 1px solid var(--red-urhc);
  transition: all var(--transition-fast);
}

.top-link-solennel:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: #FFFFFF;
}

/* NAVIGATION PRINCIPALE (EN-TÊTE SUPÉRIEUR & MENU ÉDITORIAL) */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 31, 62, 0.08);
  background: #FFFFFF;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Marque Institutionnelle */
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.brand-logo {
  width: auto;
  height: 46px;
  max-width: 52px;
  object-fit: contain;
  display: block;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-acronym {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--blue-primary);
  line-height: 1;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-top: 3px;
  max-width: 290px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-title);
  text-transform: uppercase;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--red-urhc);
  background-color: var(--bg-surface);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--red-urhc);
  border-bottom-color: var(--red-urhc);
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
}

/* Sous-menu déroulant accessible */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-dropdown);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1050;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.2rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-body);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover,
.dropdown-link:focus {
  background: var(--bg-surface);
  color: var(--red-urhc);
  padding-left: 1.4rem;
}

/* Boutons d'Action Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-don-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--red-urhc);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--red-urhc);
  transition: all var(--transition-fast);
}

.btn-don-header:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

/* Bouton Déclencheur Mobile */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.mobile-toggle:hover {
  background-color: var(--bg-surface);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Menu Tiroir Mobile */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 31, 62, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background-color: #FFFFFF;
  background-image: var(--grid-pattern);
  background-size: var(--grid-size);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: transparent;
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  cursor: pointer;
}

.mobile-drawer-nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
  border-bottom: 1px solid #F1F4F9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-nav-link.mobile-nav-don {
  color: var(--red-urhc);
  font-weight: 800;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--bg-surface);
  color: var(--red-urhc);
  border-left: 4px solid var(--red-urhc);
  padding-left: calc(1.5rem - 4px);
}

.mobile-submenu-group {
  background: #F8F9FD;
  padding: 0.5rem 0 0.5rem 1rem;
  border-bottom: 1px solid #EBF0F8;
}

.mobile-sub-link {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
}

.mobile-sub-link:hover,
.mobile-sub-link.active {
  color: var(--red-urhc);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* BOUTONS STYLISÉS & COMPOSANTS D'APPEL À L'ACTION */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 48px;
  line-height: 1;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}

.btn-primary:hover {
  background: var(--red-urhc);
  border-color: var(--red-urhc);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

.btn-secondary:hover {
  background: var(--blue-primary);
  color: var(--white);
}

.btn-sacred {
  background: var(--red-urhc);
  color: var(--white);
  border-color: var(--red-urhc);
}

.btn-sacred:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--red-urhc);
  border-color: var(--red-urhc);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* SECTIONS HÉROÏQUES & BANNIÈRES DE PAGES */
/* Hero Principal Accueil */
.hero-home {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background-color: var(--blue-primary);
  color: var(--white);
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.hero-home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.48) saturate(1.15);
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 31, 62, 0.75) 0%,
    rgba(0, 31, 62, 0.6) 45%,
    rgba(0, 31, 62, 0.95) 100%
  );
}

.hero-home-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.4rem 1rem;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background: var(--red-light);
}

.hero-tag-text {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.hero-home-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 1.6rem;
  max-width: 950px;
}

.hero-home-title .highlight-red {
  color: #FF8A8C;
  font-style: italic;
}

.hero-home-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.7;
  color: #E2E8F0;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Bannières En-tête des Pages Secondaires */
.page-banner {
  position: relative;
  background-color: var(--blue-primary);
  color: var(--white);
  padding: 5.5rem 1.5rem 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: brightness(0.65) saturate(1.1);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 31, 62, 0.95) 0%,
    rgba(18, 52, 90, 0.9) 100%
  );
}

.page-banner-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9DB0C8;
  margin-bottom: 1.2rem;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
  color: #FFFFFF;
}

.page-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
  max-width: 850px;
}

.page-banner-lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #E2E8F0;
  line-height: 1.68;
  max-width: 720px;
  font-weight: 300;
}

/* TITRAGES DE SECTIONS & SÉPARATEURS ÉDITORIAUX */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red-urhc);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title-white {
  color: var(--white);
}

.section-divider {
  width: 56px;
  height: 3px;
  background: var(--red-urhc);
  margin: 0 0 1.5rem;
}

.section-header-center .section-divider {
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.section-subtitle-white {
  color: #CBD5E1;
}

/* CITATION BIBLIQUE & CARTOUCHE D'ÉCRITURE */
.scripture-box {
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(to right, rgba(0, 31, 62, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 31, 62, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--blue-urhc);
  padding: 2.2rem 2.4rem;
  margin: 3rem 0;
  position: relative;
}

.scripture-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-style: italic;
  color: var(--blue-primary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.scripture-ref {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-urhc);
  display: block;
}

/* CARTES, GRILLES & COMPOSANTS REUTILISABLES */
/* Grilles standards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

/* Cartes Universelles Éditoriales */
.editorial-card {
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(to right, rgba(0, 31, 62, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 31, 62, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
}

.editorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-urhc);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: var(--blue-primary);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.editorial-card:hover .card-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--blue-primary);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-badge-sacred {
  background: var(--red-urhc);
}

.card-body {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-urhc);
  margin-top: auto;
}

.card-link:hover {
  color: var(--blue-primary);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* SECTION CULTES & RENCONTRES (ACCUEIL & CONTACT) */
.section-worship {
  background-color: var(--blue-primary);
  color: var(--white);
  padding: 6.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.worship-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.worship-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.worship-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.worship-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.worship-box-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(217, 35, 44, 0.4);
  border: 1px solid rgba(255, 138, 140, 0.6);
  padding: 0.4rem 0.6rem;
  border-radius: 2px;
  flex-shrink: 0;
  text-align: center;
  min-width: 44px;
}

.worship-box-icon {
  font-size: 1.5rem;
  color: #FF8A8C;
  flex-shrink: 0;
}

.worship-box-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CBD5E1;
  margin-bottom: 0.2rem;
}

.worship-box-desc {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.faith-statement-card {
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(to right, rgba(0, 31, 62, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 31, 62, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  padding: 2.8rem 2.2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.faith-statement-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.faith-statement-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--blue-primary);
}

.faith-statement-badge {
  background: var(--red-soft);
  color: var(--red-urhc);
  border: 1px solid var(--red-border);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
}

.check-bullet {
  color: var(--red-urhc);
  font-weight: 800;
  margin-top: 1px;
  flex-shrink: 0;
}

/* LECTEUR AUDIO & PRÉDICATIONS */
.sermon-player-box {
  background-color: #FFFFFF;
  background-image: 
    linear-gradient(to right, rgba(0, 31, 62, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 31, 62, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid var(--border-subtle);
  padding: 2.2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
}

.sermon-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.sermon-now-playing {
  display: flex;
  flex-direction: column;
}

.now-playing-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-urhc);
  margin-bottom: 0.35rem;
}

.now-playing-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-primary);
}

.now-playing-preacher {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.4rem;
}

.btn-play-pause {
  width: 48px;
  height: 48px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.btn-play-pause:hover {
  background: var(--red-urhc);
}

.audio-progress-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 140px;
}

.audio-progress-bar {
  width: 100%;
  height: 6px;
  background: #CBD5E1;
  position: relative;
  cursor: pointer;
}

.audio-progress-fill {
  height: 100%;
  width: 32%;
  background: var(--red-urhc);
  transition: width 0.1s linear;
}

.audio-timestamps {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Filtres de catégorie */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.filter-tab.active {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}

/* FORMULAIRES ACCESSIBLES (CONTACT, DON, NOTIFICATIONS) */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #73777F;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-body);
  border-radius: var(--radius-none);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-urhc);
  outline: 2px solid var(--blue-urhc);
  outline-offset: 1px;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-help {
  font-size: 0.76rem;
  color: var(--text-light);
}

/* Grille de sélection des montants de don */
.giving-amounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.giving-amount-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.giving-amount-btn:hover {
  border-color: var(--blue-urhc);
  background: var(--bg-surface);
}

.giving-amount-btn.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
}

/* PIED DE PAGE INSTITUTIONNEL MAJEUR (4 COLONNES) */
.site-footer {
  background-color: var(--blue-dark);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  padding: 5.5rem 1.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  padding: 4px 8px;
  width: fit-content;
}

.footer-logo-img {
  width: 42px;
  height: 40px;
  object-fit: contain;
}

.footer-brand-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue-primary);
}

.footer-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.65;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red-urhc);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.86rem;
  color: #94A3B8;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-hours-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  font-size: 0.84rem;
}

.footer-hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-hours-item:last-child {
  border-bottom: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #CBD5E1;
  flex-wrap: wrap;
}

/* Bouton Remonter en haut de page */
.back-to-top {
  position: fixed;
  bottom: calc(25px + env(safe-area-inset-bottom, 0px));
  right: calc(25px + env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 31, 62, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-smooth);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red-urhc);
  color: var(--white);
  border-color: var(--red-urhc);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Notification Toast */
.toast-notification {
  position: fixed;
  bottom: calc(25px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--blue-primary);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-smooth);
  max-width: 90vw;
  text-align: center;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Animations d'apparition */
.fade-in {
  opacity: 1;
  transform: none;
}

html.js .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

html.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN MULTI-PLATEFORMES */
/* Tablettes et petits écrans (<= 1100px) */
@media (max-width: 1100px) {
  .nav-desktop {
    display: none;
  }

  .btn-don-header {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

  .worship-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Tablettes Portrait (<= 900px) */
@media (max-width: 900px) {
  .top-bar-center {
    display: none;
  }

  .top-bar-right {
    display: none;
  }

  .top-bar-left {
    display: flex;
    width: 100%;
    flex: 1;
    min-width: 0;
  }

  .top-bar-container {
    justify-content: flex-start;
    padding: 0.45rem 1rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* Téléphones & Petits écrans (<= 768px) */
@media (max-width: 768px) {
  .hero-home {
    padding: 4.5rem 1.25rem 5rem;
    min-height: auto;
  }

  .page-banner {
    padding: 4.5rem 1.25rem 3.5rem;
  }

  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .brand-name {
    display: none;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header-center {
    margin-bottom: 2.5rem;
  }
}

/* Téléphones Mobiles Standards (<= 580px) */
@media (max-width: 580px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

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

  .top-bar-left {
    display: flex;
    width: 100%;
    flex: 1;
    min-width: 0;
  }

  .top-bar-right {
    display: none;
  }

  .top-bar-container {
    justify-content: flex-start;
    padding: 0.45rem 0.75rem;
  }

  .scripture-box {
    padding: 1.6rem 1.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

section[style*="var(--bg-surface)"],
.section-surface-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 31, 62, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 31, 62, 0.06) 1px, transparent 1px) !important;
  background-size: var(--grid-size) !important;
}

/* ============================================================
   COMPOSANTS AJOUTÉS (FORMULAIRES RÉELS, MÉDIAS, CARTE, FOOTER)
   ============================================================ */

/* Anti-spam honeypot masqué hors flux */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Case de consentement RGPD / APDP Bénin */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.2rem 0 1.4rem;
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.55;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.22rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue-primary);
  cursor: pointer;
}

.form-consent a {
  color: var(--red-urhc);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: var(--blue-primary);
}

/* États de validation et retour serveur des formulaires */
.form-field-error {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-urhc);
  margin-top: 0.2rem;
}

.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: var(--red-urhc);
  box-shadow: 0 0 0 1px var(--red-urhc);
}

.form-status {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
  border-left: 4px solid transparent;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status-success {
  background: #ECFDF5;
  color: #065F46;
  border-color: #059669;
}

.form-status-error {
  background: #FEF2F2;
  color: #991B1B;
  border-color: var(--red-urhc);
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Lecteur audio natif et vidéo lite au clic */
.sermon-audio {
  width: 100%;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  height: 44px;
}

.video-lite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--blue-primary);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

.video-lite iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lite-btn {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 31, 62, 0.92), rgba(18, 52, 90, 0.88));
  color: #FFFFFF;
  border: 0;
  cursor: pointer;
  padding: 1.2rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
}

.video-lite-btn:hover {
  background: linear-gradient(135deg, rgba(177, 11, 14, 0.9), rgba(0, 31, 62, 0.92));
}

.video-lite-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-urhc);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.empty-state-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--blue-urhc);
  padding: 2rem;
  color: var(--text-body);
}

/* Carte Google Maps chargée au clic */
.map-lite-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.map-lite-iframe {
  width: 100%;
  height: 360px;
  border: 1px solid var(--border-subtle);
  display: block;
}

/* Coordonnées & liens légaux dans le pied de page */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: #CBD5E1;
}

.footer-contact-list a {
  color: #E2E8F0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-list a:hover {
  color: #FFFFFF;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #E2E8F0;
  font-size: 0.76rem;
  font-weight: 600;
}

.footer-social-link:hover {
  background: var(--red-urhc);
  border-color: var(--red-urhc);
  color: #FFFFFF;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #CBD5E1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* Badge marqueur À COMPLÉTER discret pour le propriétaire */
.notice-donation-box {
  background: #FFFBEB;
  border: 1px solid #F59E0B;
  border-left: 4px solid #D97706;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  font-size: 0.86rem;
  color: #78350F;
  line-height: 1.55;
}

.past-events-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.past-events-section .editorial-card {
  opacity: 0.82;
}
