/* =============================================
   ÉMERGENCE PATRIOTIQUE — Charte graphique
   Couleurs : Rouge (#A62714) & Vert (#25592A)
   Drapeau haïtien
   CHARGÉ EN DERNIER — toutes les règles
   ont priorité sur main.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── VARIABLES GLOBALES ── */
:root {
  --ep-red:        #A62714;
  --ep-red-dark:   #7D1D0E;
  --ep-red-light:  #C43020;
  --ep-green:      #25592A;
  --ep-green-dark: #1A3D1D;
  --ep-green-light:#2E6E33;
  --ep-gold:       #F0A500;
  --ep-dark:       #0D0D1A;
  --ep-dark2:      #111120;
  --ep-grey:       #F5F7FA;
  --ep-text:       #444;
  --ep-border:     #E0E0E0;
  --ep-white:      #FFFFFF;

  /* Écrase les variables du template Extech */
  --theme:         #A62714;
  --theme2:        #25592A;
  --theme-color3:  #F0A500;
  --header:        #0D0D1A;
  --title-color:   #0D0D1A;
  --bg2:           #25592A;
}

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

body {
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  color: var(--ep-text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Rajdhani', sans-serif;
  color: var(--ep-dark);
  font-weight: 700;
}

a { transition: all .3s ease; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--ep-red); border-radius: 3px; }

/* ══════════════════════════════════════
   HEADER — FOND BLANC (logo rouge/vert)
   ══════════════════════════════════════ */

#header-sticky,
.header-1,
header .header-1,
#header-sticky.sticky,
.sticky,
.sticky.header-1,
header .sticky {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-bottom: 3px solid #A62714 !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.1) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Conteneurs internes — transparents */
.header-main,
.header-main.style-2,
.mega-menu-wrapper,
.header-main .container,
header .header-main {
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* ══ MENU MOBILE (TÉLÉPHONE) ══ */
/* Bouton hamburger visible */
.header__hamburger,
.sidebar__toggle {
  display: flex !important;
  align-items: center;
  cursor: pointer;
}
/* Icône hamburger — sombre sur fond blanc */
.header__hamburger .fa-bars,
.sidebar__toggle .fa-bars {
  color: #1a1a2e !important;
  font-size: 1.4rem;
}
/* Menu mobile affiché correctement */
@media (max-width: 1199px) {
  .header-middle { display: none; }
  .header__hamburger { display: flex !important; }
}
/* Offcanvas mobile — fond sombre */
.offcanvas__info {
  background: #0D0D1A !important;
  padding: 30px 20px;
}
.offcanvas__info .main-menu ul li a {
  color: #fff !important;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: block;
  font-size: 1rem;
  font-weight: 500;
}
.offcanvas__info .main-menu ul li a:hover {
  color: #F0A500 !important;
  padding-left: 8px;
}
/* Sous-menus mobile */
.offcanvas__info .main-menu ul .submenu {
  background: rgba(255,255,255,.05) !important;
  border-radius: 6px;
  padding: 8px 12px !important;
  margin-top: 4px;
}
.offcanvas__info .main-menu ul .submenu li a {
  border-bottom: none;
  font-size: .9rem;
  color: rgba(255,255,255,.75) !important;
}
/* Menu meanmenu mobile */
.mean-container .mean-bar {
  background: #0D0D1A !important;
}
.mean-container a.meanmenu-reveal {
  color: #fff !important;
  border-color: #fff !important;
}
.mean-container .mean-nav {
  background: #111120 !important;
}
.mean-container .mean-nav ul li a {
  color: rgba(255,255,255,.85) !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
.mean-container .mean-nav ul li a:hover {
  color: #F0A500 !important;
}
.mean-container .mean-nav ul li a.mean-expand {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.2) !important;
}

/* Logo grand */
.header-logo img,
.header-left .logo img {
  max-height: 80px !important;
  width: auto !important;
}

/* Nav links — sombre sur fond blanc */
.main-menu nav ul li > a,
.main-menu nav > ul > li > a {
  color: #1a1a2e !important;
  font-weight: 600;
  font-size: 15px;
  text-shadow: none !important;
}
.main-menu nav ul li > a:hover,
.main-menu nav ul li.active > a,
.main-menu nav ul > li.active > a {
  color: #A62714 !important;
}

/* Sous-menus */
.main-menu ul .submenu {
  background-color: #ffffff !important;
  border-top: 3px solid #A62714 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.12) !important;
}
.main-menu ul .submenu li a {
  color: #1a1a2e !important;
}
.main-menu ul .submenu li a:hover { color: #A62714 !important; }

/* ══ MENU MOBILE DIRECT (offcanvas) ══ */
.ep-mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ep-mobile-nav ul li a {
  display: flex !important;
  align-items: center;
  color: #fff !important;
  padding: 13px 10px !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  font-size: .98rem !important;
  font-weight: 500;
  text-decoration: none !important;
  transition: color .2s, padding-left .2s;
}
.ep-mobile-nav ul li a:hover {
  color: #F0A500 !important;
  padding-left: 18px !important;
}
.ep-mobile-nav ul li a .fa-angle-down,
.ep-mobile-nav ul li a .fa-angle-up {
  margin-left: auto;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.ep-mob-sub {
  display: none;
  list-style: none;
  padding: 0 0 0 16px !important;
  margin: 0;
  background: rgba(255,255,255,.04);
  border-radius: 0 0 6px 6px;
}
.ep-mob-sub li a {
  font-size: .9rem !important;
  color: rgba(255,255,255,.75) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  padding: 10px 10px !important;
}
.ep-mob-sub li a:hover { color: #F0A500 !important; }

/* ══════════════════════════════════════
   BOUTONS
   ══════════════════════════════════════ */

/* Bouton principal (gt-btn hérite de var(--theme) → déjà rouge,
   mais on renforce avec valeur directe) */
.gt-btn,
.theme-btn,
.gt-btn.style2,
.gt-btn.style3 {
  background: #A62714 !important;
  border-color: #A62714 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 700;
}
.gt-btn:hover,
.theme-btn:hover {
  background: #7D1D0E !important;
  border-color: #7D1D0E !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166,39,20,.35) !important;
}

/* Pseudo-éléments de hover du template */
.gt-btn::before,
.gt-btn::after,
.theme-btn::before,
.theme-btn::after {
  background-color: #7D1D0E !important;
}

/* Boutons custom */
.ep-btn-green {
  background: #25592A !important;
  border: 2px solid #25592A !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  padding: 12px 30px;
  display: inline-block;
  transition: all .3s ease;
  text-decoration: none;
  cursor: pointer;
}
.ep-btn-green:hover {
  background: #1A3D1D !important;
  border-color: #1A3D1D !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,89,42,.35);
}

.ep-btn-outline {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  padding: 11px 28px;
  display: inline-block;
  transition: all .3s ease;
  text-decoration: none;
  cursor: pointer;
}
.ep-btn-outline:hover {
  background: #fff !important;
  color: #A62714 !important;
  border-color: #fff !important;
}

/* ══════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════ */
#ep-preloader {
  position: fixed; inset: 0;
  background: #0D0D1A;
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity .6s ease;
}
#ep-preloader .flag-loader {
  display: flex; gap: 0;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  animation: pulse-loader 1.4s ease-in-out infinite;
}
#ep-preloader .flag-loader span {
  width: 40px; height: 70px; display: block;
}
#ep-preloader .flag-loader span:first-child { background: #A62714; }
#ep-preloader .flag-loader span:last-child  { background: #0D0D1A; }
@keyframes pulse-loader {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.ep-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ep-hero .swiper { width: 100%; height: 100vh; }
.ep-hero .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
}
.ep-hero .slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 8s ease;
}
.swiper-slide-active .slide-bg { transform: scale(1.06); }
.ep-hero .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,26,.85) 0%,
    rgba(125,29,14,.4) 50%,
    rgba(26,61,29,.3) 100%
  );
}
.ep-hero .slide-content {
  position: relative; z-index: 2;
  max-width: 780px;
  padding: 0 15px;
}
.ep-hero .slide-tag {
  display: inline-block;
  background: #A62714;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.ep-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.ep-hero h1 em { color: #F0A500; font-style: normal; }
.ep-hero p {
  color: rgba(255,255,255,.88);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.ep-hero .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.ep-hero .scroll-down {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.ep-hero .scroll-down .line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.4);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Swiper controls */
.ep-hero .swiper-button-next,
.ep-hero .swiper-button-prev {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  transition: all .3s;
}
.ep-hero .swiper-button-next:hover,
.ep-hero .swiper-button-prev:hover { background: #A62714; border-color: #A62714; }
.ep-hero .swiper-button-next::after,
.ep-hero .swiper-button-prev::after { font-size: 16px; }
.ep-hero .swiper-pagination-bullet { background: rgba(255,255,255,.5); }
.ep-hero .swiper-pagination-bullet-active { background: #A62714; transform: scale(1.4); }

/* ══════════════════════════════════════
   SECTION TITLES
   ══════════════════════════════════════ */
.ep-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #A62714;
  margin-bottom: 14px;
}
.ep-section-tag::before {
  content: '';
  width: 30px; height: 2px;
  background: #A62714;
  display: inline-block;
}
.ep-section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #0D0D1A;
  line-height: 1.2;
  margin-bottom: 18px;
}
.ep-section-title span { color: #A62714; }
.ep-divider {
  width: 60px; height: 4px;
  background: linear-gradient(to right, #A62714, #25592A);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── SPACING ── */
.ep-section    { padding: 100px 0; }
.ep-section-sm { padding: 60px 0; }

/* ══════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════ */
.ep-about-img { position: relative; border-radius: 8px; overflow: visible; }
.ep-about-img img {
  border-radius: 8px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.ep-about-img .badge-years {
  position: absolute; bottom: -20px; right: -20px;
  background: #A62714; color: #fff;
  padding: 24px; border-radius: 6px; text-align: center;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 10px 30px rgba(166,39,20,.4);
}
.ep-about-img .badge-years .num {
  display: block; font-size: 3rem; font-weight: 900; line-height: 1;
}
.ep-about-img .badge-years .label { font-size: .8rem; letter-spacing: 1px; }
.ep-about-img .badge-flag {
  position: absolute; top: -20px; left: -20px;
  width: 70px; height: 70px; border-radius: 50%; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 4px 20px rgba(0,0,0,.2);
  display: flex;
}
.ep-about-img .badge-flag span { width: 50%; height: 100%; display: block; }
.ep-about-img .badge-flag span:first-child { background: #A62714; }
.ep-about-img .badge-flag span:last-child  { background: #0D0D1A; }

.ep-about-list { list-style: none; padding: 0; margin: 0 0 28px; }
.ep-about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #E0E0E0; font-size: .97rem;
}
.ep-about-list li:last-child { border-bottom: none; }
.ep-about-list li i { color: #25592A; margin-top: 3px; flex-shrink: 0; }

/* ══════════════════════════════════════
   STATS COUNTER
   ══════════════════════════════════════ */
.ep-stats { background: #0D0D1A; padding: 70px 0; }
.ep-stat-item { text-align: center; }
.ep-stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 900; color: #F0A500;
  display: block; line-height: 1;
}
.ep-stat-item .plus { color: #A62714; font-size: 2.5rem; }
.ep-stat-item .label {
  color: rgba(255,255,255,.75); font-size: .9rem;
  margin-top: 8px; text-transform: uppercase; letter-spacing: 1px;
}

/* ══════════════════════════════════════
   TEAM CARDS
   ══════════════════════════════════════ */
.ep-team-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 25px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s;
}
.ep-team-card:hover {
  transform: translateY(-8px); box-shadow: 0 16px 50px rgba(0,0,0,.15);
}
.ep-team-card .photo-wrap { position: relative; overflow: hidden; height: 280px; }
.ep-team-card .photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.ep-team-card:hover .photo-wrap img { transform: scale(1.06); }
.ep-team-card .photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(125,29,14,.85), transparent);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 20px; gap: 12px;
}
.ep-team-card:hover .photo-overlay { opacity: 1; }
.ep-team-card .photo-overlay a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; backdrop-filter: blur(4px); transition: background .2s;
}
.ep-team-card .photo-overlay a:hover { background: #fff; color: #A62714; }
.ep-team-card .info {
  padding: 20px 22px; border-top: 3px solid #A62714;
}
.ep-team-card .info h5 { font-size: 1.1rem; margin-bottom: 4px; }
.ep-team-card .info .role {
  color: #25592A; font-size: .88rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ══════════════════════════════════════
   NEWS CARDS
   ══════════════════════════════════════ */
.ep-news-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 25px rgba(0,0,0,.07); transition: transform .3s, box-shadow .3s;
  height: 100%; display: flex; flex-direction: column;
}
.ep-news-card:hover { transform: translateY(-6px); box-shadow: 0 14px 45px rgba(0,0,0,.14); }
.ep-news-card .img-wrap { overflow: hidden; height: 210px; flex-shrink: 0; }
.ep-news-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.ep-news-card:hover .img-wrap img { transform: scale(1.05); }
.ep-news-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.ep-news-card .meta { display: flex; gap: 16px; font-size: .82rem; color: #888; margin-bottom: 10px; }
.ep-news-card .meta i { color: #A62714; }
.ep-news-card h5 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.ep-news-card h5 a { color: #0D0D1A; }
.ep-news-card h5 a:hover { color: #A62714; }
.ep-news-card p { font-size: .92rem; color: #666; flex: 1; }
.ep-news-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: #A62714; font-weight: 600; font-size: .9rem; margin-top: 14px; text-decoration: none;
}
.ep-news-card .read-more:hover { color: #7D1D0E; gap: 10px; }

/* ══════════════════════════════════════
   BOOK CARDS
   ══════════════════════════════════════ */
.ep-book-card {
  background: #fff; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.08);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
  height: 100%; display: flex; flex-direction: column;
}
.ep-book-card:hover { transform: translateY(-6px); box-shadow: 0 16px 45px rgba(0,0,0,.14); }
.ep-book-card .cover { height: 260px; overflow: hidden; position: relative; }
.ep-book-card .cover img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.ep-book-card:hover .cover img { transform: scale(1.04); }
.ep-book-card .cover .cat-badge {
  position: absolute; top: 14px; left: 14px;
  background: #25592A; color: #fff; font-size: .75rem;
  font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .5px;
}
.ep-book-card .body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.ep-book-card .author { color: #A62714; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.ep-book-card h5 { font-size: 1rem; margin-bottom: 8px; }
.ep-book-card h5 a { color: #0D0D1A; }
.ep-book-card h5 a:hover { color: #A62714; }
.ep-book-card p { font-size: .88rem; color: #666; flex: 1; }
.ep-book-card .read-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; background: #0D0D1A; color: #fff;
  padding: 9px 20px; border-radius: 4px; font-size: .88rem;
  font-weight: 600; align-self: flex-start; transition: background .2s; text-decoration: none;
}
.ep-book-card .read-btn:hover { background: #A62714; }

/* ══════════════════════════════════════
   PARTENAIRES
   ══════════════════════════════════════ */
.ep-partner-item {
  display: flex; align-items: center; justify-content: center;
  padding: 24px; border-radius: 8px; border: 1px solid #E0E0E0;
  background: #fff; transition: all .3s; filter: grayscale(1); opacity: .7;
}
.ep-partner-item:hover { border-color: #A62714; filter: grayscale(0); opacity: 1; box-shadow: 0 6px 25px rgba(166,39,20,.12); }
.ep-partner-item img { max-height: 70px; max-width: 180px; object-fit: contain; }

/* ══════════════════════════════════════
   CIVIC CARDS
   ══════════════════════════════════════ */
.ep-civic-card {
  background: #fff; border-radius: 10px; padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); text-align: center;
  transition: all .3s; border-bottom: 4px solid transparent; height: 100%;
}
.ep-civic-card:hover { border-bottom-color: #25592A; transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.ep-civic-card .icon {
  width: 72px; height: 72px; background: rgba(37,89,42,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; font-size: 1.8rem; color: #25592A; transition: all .3s;
}
.ep-civic-card:hover .icon { background: #25592A; color: #fff; }
.ep-civic-card h5 { font-size: 1.1rem; margin-bottom: 12px; }
.ep-civic-card p { font-size: .92rem; color: #666; line-height: 1.7; }

/* ══════════════════════════════════════
   DESSALINIENNE
   ══════════════════════════════════════ */
.ep-anthem-hero {
  background: linear-gradient(135deg, #0D0D1A 0%, #7D1D0E 50%, #1A3D1D 100%);
  min-height: 380px; display: flex; align-items: center;
  justify-content: center; text-align: center; position: relative; overflow: hidden;
}
.ep-anthem-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3.5rem); }
.ep-anthem-hero p  { color: rgba(255,255,255,.8); }
.ep-strophe {
  background: #fff; border-radius: 10px; padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); border-left: 5px solid #A62714;
  margin-bottom: 24px; transition: transform .3s;
}
.ep-strophe:hover { transform: translateX(6px); }
.ep-strophe.green { border-left-color: #25592A; }
.ep-strophe h6 { color: #A62714; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.ep-strophe.green h6 { color: #25592A; }
.ep-strophe p { font-size: 1.05rem; line-height: 2; color: #444; white-space: pre-line; }

/* ══════════════════════════════════════
   MEMBERSHIP FORM
   ══════════════════════════════════════ */
.ep-form-section { background: #F5F7FA; }
.ep-form-card { background: #fff; border-radius: 12px; padding: 48px 40px; box-shadow: 0 8px 40px rgba(0,0,0,.1); }
.ep-form-card .form-label { font-weight: 600; color: #0D0D1A; margin-bottom: 6px; font-size: .95rem; }
.ep-form-card .required-star,
.required-star { color: #A62714; }
.ep-form-card .form-control,
.ep-form-card .form-select,
.ep-form-card textarea {
  border: 1.5px solid #E0E0E0; border-radius: 6px;
  padding: 10px 14px; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.ep-form-card .form-control:focus,
.ep-form-card .form-select:focus,
.ep-form-card textarea:focus {
  border-color: #A62714; box-shadow: 0 0 0 3px rgba(166,39,20,.12); outline: none;
}
.ep-form-card .form-check-input:checked { background-color: #A62714 !important; border-color: #A62714 !important; }
.ep-form-step {
  background: #A62714; color: #fff; border-radius: 8px 8px 0 0;
  padding: 16px 28px; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.ep-form-step .step-num {
  width: 30px; height: 30px; background: rgba(255,255,255,.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem;
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.ep-contact-info-card { background: #0D0D1A; border-radius: 10px; padding: 40px 32px; color: #fff; height: 100%; }
.ep-contact-info-card h4 { color: #fff; margin-bottom: 28px; }
.ep-contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.ep-contact-info-item .icon {
  width: 46px; height: 46px; background: rgba(166,39,20,.2);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: #A62714; font-size: 1.1rem; flex-shrink: 0;
}
.ep-contact-info-item .text h6 { color: #fff; margin-bottom: 4px; font-size: .95rem; }
.ep-contact-info-item .text p,
.ep-contact-info-item .text a { color: rgba(255,255,255,.65); font-size: .9rem; margin: 0; }
.ep-contact-info-item .text a:hover { color: #F0A500; }
.ep-social-links { display: flex; gap: 12px; margin-top: 30px; }
.ep-social-links a {
  width: 42px; height: 42px; background: rgba(255,255,255,.1);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; transition: all .2s; text-decoration: none;
}
.ep-social-links a:hover { background: #A62714; transform: translateY(-3px); }

/* ══════════════════════════════════════
   PAGE BANNER (breadcrumb)
   ══════════════════════════════════════ */
.ep-page-banner {
  background: linear-gradient(135deg, #0D0D1A 0%, #7D1D0E 100%);
  padding: 80px 0 60px; position: relative; overflow: hidden;
}
.ep-page-banner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, #A62714 50%, #25592A 50%);
}
.ep-page-banner h1 { color: #fff; font-size: clamp(1.8rem,3.5vw,3rem); }
.ep-page-banner .breadcrumb { background: transparent; padding: 0; margin: 0; }
.ep-page-banner .breadcrumb-item { color: rgba(255,255,255,.7); font-size: .9rem; }
.ep-page-banner .breadcrumb-item a { color: #F0A500; text-decoration: none; }
.ep-page-banner .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.ep-page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ══════════════════════════════════════
   CTA STRIP
   ══════════════════════════════════════ */
.ep-cta {
  background: linear-gradient(135deg, #A62714 0%, #7D1D0E 100%) !important;
  padding: 70px 0;
}
.ep-cta h2 { color: #fff; }
.ep-cta p  { color: rgba(255,255,255,.85); }

/* ══════════════════════════════════════
   FOOTER — FOND BLANC (logo rouge/vert)
   ══════════════════════════════════════ */
footer.ep-footer,
.ep-footer,
footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #444;
  border-top: 4px solid #A62714;
}

.ep-footer-top { padding: 80px 0 40px; background: #ffffff !important; }

.ep-footer .footer-logo { max-height: 80px; margin-bottom: 20px; }
.ep-footer .footer-about { font-size: .92rem; line-height: 1.8; max-width: 300px; color: #555; }

.ep-footer h6 {
  color: #0D0D1A !important; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 22px; position: relative; padding-bottom: 12px;
}
.ep-footer h6::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 36px; height: 3px; background: #A62714; border-radius: 2px;
}
.ep-footer ul { list-style: none; padding: 0; margin: 0; }
.ep-footer ul li { margin-bottom: 10px; }
.ep-footer ul li a {
  color: #555 !important; font-size: .92rem;
  text-decoration: none; display: flex; align-items: center; gap: 8px; transition: all .2s;
}
.ep-footer ul li a::before { content: none; }
.ep-footer ul li a:hover { color: #A62714 !important; padding-left: 4px; }

/* Icônes contact footer */
.ep-footer .fa-map-marker-alt,
.ep-footer .fa-envelope,
.ep-footer .fa-phone { color: #A62714 !important; }
.ep-footer span[style*="rgba(255,255,255"] { color: #555 !important; }

/* Réseaux sociaux footer */
.ep-footer .ep-social-links a {
  background: rgba(166,39,20,.1) !important;
  color: #A62714 !important;
}
.ep-footer .ep-social-links a:hover {
  background: #A62714 !important;
  color: #fff !important;
}

/* Barre de fond footer-bottom */
.ep-footer-bottom {
  background: #0D0D1A !important;
  border-top: none;
  padding: 20px 0; text-align: center;
  font-size: .88rem; color: rgba(255,255,255,.55);
}
.ep-footer-bottom span { color: #A62714; }

/* ══════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════ */
#backToTop {
  position: fixed; bottom: 30px; right: 30px;
  width: 46px; height: 46px; background: #A62714;
  color: #fff; border: none; border-radius: 6px;
  display: none; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; z-index: 999;
  box-shadow: 0 4px 20px rgba(166,39,20,.4); transition: all .3s;
}
#backToTop:hover { background: #7D1D0E; transform: translateY(-3px); }

/* ══════════════════════════════════════
   ALERTS / MESSAGES
   ══════════════════════════════════════ */
.ep-alert {
  border-radius: 8px; padding: 16px 20px; border: none; font-weight: 500;
}
.ep-alert.success { background: rgba(37,89,42,.12); color: #25592A; border-left: 4px solid #25592A; }
.ep-alert.error   { background: rgba(166,39,20,.1);  color: #A62714; border-left: 4px solid #A62714; }

/* ══════════════════════════════════════
   ANIMATIONS SCROLL
   ══════════════════════════════════════ */
.fade-in-up   { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-right{ opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible { opacity: 1; transform: translate(0); }

/* ══════════════════════════════════════
   OFFCANVAS
   ══════════════════════════════════════ */
.offcanvas__info {
  background: #0D0D1A !important;
}
.offcanvas__close button {
  background: #A62714 !important; border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 4px;
}

/* ══════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════ */
.text-ep-red   { color: #A62714 !important; }
.text-ep-green { color: #25592A !important; }
.text-ep-gold  { color: #F0A500 !important; }
.bg-ep-red     { background-color: #A62714 !important; }
.bg-ep-green   { background-color: #25592A !important; }
.bg-ep-dark    { background-color: #0D0D1A !important; }
.bg-ep-grey    { background-color: #F5F7FA !important; }
.fw-600        { font-weight: 600; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 991px) {
  .ep-section   { padding: 70px 0; }
  .ep-hero h1   { font-size: 2.2rem; }
  .ep-about-img .badge-years { bottom: -10px; right: -10px; padding: 18px; }
  .ep-form-card { padding: 30px 20px; }
}
@media (max-width: 767px) {
  .ep-section   { padding: 55px 0; }
  .ep-hero .hero-btns { flex-direction: column; align-items: flex-start; }
  .ep-stats     { padding: 50px 0; }
  .ep-stat-item { margin-bottom: 30px; }
}

/* ══════════════════════════════════════
   NAV — SUPPRESSION DE LA RONDEUR
   ══════════════════════════════════════ */
.gt-btn,
.theme-btn,
a.gt-btn,
a.theme-btn,
button.gt-btn,
button.theme-btn,
#header-sticky .gt-btn,
header .gt-btn,
.header-right .gt-btn,
.mean-container .gt-btn {
  border-radius: 4px !important;
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
}

/* Bouton CTA nav inactif = rouge parti */
.header-right .gt-btn,
.header-right a.gt-btn {
  background: #A62714 !important;
  border-color: #A62714 !important;
}
.header-right .gt-btn:hover,
.header-right a.gt-btn:hover {
  background: #7D1D0E !important;
  border-color: #7D1D0E !important;
}

/* ══════════════════════════════════════
   FOOTER — LIENS (fond blanc)
   ══════════════════════════════════════ */
.ep-footer a,
footer.ep-footer a,
.ep-footer-top a,
footer a {
  color: #555 !important;
  text-decoration: none !important;
}
.ep-footer a:hover,
footer.ep-footer a:hover,
.ep-footer-top a:hover,
footer a:hover {
  color: #A62714 !important;
  text-decoration: none !important;
}
/* Barre bottom — liens blancs sur fond sombre */
.ep-footer-bottom a,
footer .ep-footer-bottom a {
  color: rgba(255,255,255,.65) !important;
}
.ep-footer-bottom a:hover { color: #F0A500 !important; }

/* Contact footer */
.footer-contact-text { color: #555; font-size: .9rem; }
.footer-contact-link { color: #555 !important; font-size: .9rem; }
.footer-contact-link:hover { color: #A62714 !important; }

/* ══════════════════════════════════════
   FORMULAIRES — TEXTE NOIR, STYLE PROPRE
   ══════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="file"],
textarea,
select,
.form-control,
.form-select {
  color: #111111 !important;
  background-color: #ffffff !important;
  border: 1.5px solid #d0d5dd !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  font-size: .95rem !important;
  transition: border-color .25s, box-shadow .25s !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
  color: #111111 !important;
  border-color: #A62714 !important;
  box-shadow: 0 0 0 3px rgba(166,39,20,.15) !important;
  outline: none !important;
}
/* Placeholder */
::placeholder { color: #888 !important; opacity: 1 !important; }
::-webkit-input-placeholder { color: #888 !important; }
::-moz-placeholder { color: #888 !important; }

/* Options dans les selects */
select option { color: #111111; background: #fff; }

/* Labels de formulaire */
label.form-label,
.form-check-label {
  color: #222 !important;
  font-weight: 500;
}
