/* RFEGL — Charte graphique institutionnelle
   Vert #008C62 · Bleu #006B8F · Vert foncé #075B50 · Gris #5B6470 */
:root {
  --rfegl: #008C62;
  --rfegl-dark: #075B50;
  --rfegl-blue: #006B8F;
  --rfegl-blue-dark: #005572;
  --rfegl-soft: #e8f5f0;
  --rfegl-mint: #f3faf7;
  --rfegl-bg: #ffffff;
  --rfegl-surface: #f5f8f7;
  --rfegl-ink: #0f1f1c;
  --rfegl-muted: #3d4650;
  --rfegl-line: #e2e8e6;
  --rfegl-radius: 8px;
  --font: "Source Sans 3", "Open Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Montserrat", "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Perf: sections hors viewport moins coûteuses */
.home-who,
.home-domains,
.home-news-sec,
.home-partners-last,
.default-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}
.rfegl-hero {
  content-visibility: visible;
}
body.rfegl-site {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--rfegl-muted);
  background: var(--rfegl-bg);
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.widget-title {
  font-family: var(--font-display);
  color: var(--rfegl-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rfegl-hero .slide-title {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 800;
}
.rfegl-counter-sec h2,
.rfegl-counter-sec h4,
.default-footer .widget-title {
  color: inherit;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.container {
  width: 80%;
  max-width: none;
  margin-inline: auto;
}
@media (max-width: 768px) {
  .container { width: 95%; }
}

/* Header */
.header-area {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 78px;
}
.brand-logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}
.main-menu > ul {
  display: flex; align-items: center; gap: .15rem;
}
.main-menu > ul > li > a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .65rem .85rem;
  font-weight: 600; font-size: .92rem; color: #222;
  border-radius: 6px;
}
.main-menu > ul > li.active > a,
.main-menu > ul > li > a:hover { color: var(--rfegl); }
.main-menu .has-children { position: relative; }
.main-menu .has-children > a i,
.main-menu .has-children > .menu-parent-toggle i { font-size: .65rem; opacity: .7; }
.main-menu .has-children > .menu-parent-toggle {
  background: none; border: 0; font: inherit; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem; padding: 0;
  text-decoration: none;
}
.main-menu .sub-menu {
  display: none; position: absolute; top: calc(100% - 2px); left: 0;
  min-width: 320px; background: #fff;
  border: 1px solid var(--rfegl-line);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
  border-radius: 10px; padding: .5rem; z-index: 50;
}
.main-menu [data-nav-group="domaines"] .sub-menu { min-width: 380px; }
.main-menu .has-children:hover > .sub-menu { display: block; }
.main-menu .sub-menu a {
  display: flex; flex-direction: row; align-items: center; gap: .7rem;
  padding: .7rem .85rem; border-radius: 8px;
}
.main-menu .sub-menu a:hover { background: var(--rfegl-soft); }
.main-menu .sub-menu a > i {
  width: 2rem; height: 2rem; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rfegl-soft); color: var(--rfegl); font-size: .9rem; flex-shrink: 0;
}
.main-menu .sub-menu a:hover > i { background: var(--rfegl); color: #fff; }
.main-menu .sub-menu strong { font-size: .92rem; color: #111; font-weight: 700; }
.main-menu .sub-menu span { display: none; }
.nav-right { display: flex; align-items: center; gap: .55rem; }
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; min-width: 44px;
  padding: .7rem 1.15rem; border-radius: 6px; font-weight: 700; font-size: .88rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap;
}
.theme-btn.style-one { background: var(--rfegl); color: #fff; }
.theme-btn.style-one:hover { background: var(--rfegl-dark); }
.theme-btn.style-two {
  background: #fff; color: var(--rfegl-blue); border-color: var(--rfegl-blue);
}
.theme-btn.style-two:hover { background: rgba(0, 107, 143, 0.08); color: var(--rfegl-blue-dark); border-color: var(--rfegl-blue-dark); }
.lang-btn img { border-radius: 50%; object-fit: cover; }

.rfegl-lang-switcher {
  position: relative;
  z-index: 40;
}
.rfegl-lang-switcher .rfegl-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.rfegl-lang-switcher .rfegl-lang-trigger .fa-chevron-down {
  font-size: .7rem;
  opacity: .85;
  transition: transform .2s ease;
}
.rfegl-lang-switcher .rfegl-lang-trigger[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
}
.rfegl-lang-menu {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 11.5rem;
  max-height: 18rem;
  overflow: auto;
  padding: .35rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--rfegl-line, #e5e7eb);
  box-shadow: 0 14px 34px rgba(11, 47, 44, .16);
}
.rfegl-lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  background: transparent;
  padding: .55rem .65rem;
  border-radius: 8px;
  cursor: pointer;
  color: #1f2937;
  font-size: .86rem;
  font-weight: 600;
  text-align: left;
}
.rfegl-lang-option img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.rfegl-lang-option:hover,
.rfegl-lang-option.is-active {
  background: var(--rfegl-soft, #e8f5f3);
  color: var(--rfegl-dark);
}
.rfegl-lang-option.is-active {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rfegl) 28%, transparent);
}

.navbar-toggler {
  display: none; width: 42px; height: 42px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.navbar-toggler span {
  display: block; height: 2px; width: 22px; background: #222; margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.navbar-toggler.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler.open span:nth-child(2) { opacity: 0; }
.navbar-toggler.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.rfegl-mobile-menu-open { overflow: hidden; touch-action: none; }
.rfegl-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1095;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.rfegl-menu-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (max-width: 1024px) {
  .header-area { z-index: 1100; }
  body.rfegl-mobile-menu-open .header-area { z-index: 1100; }
}

/* ===== Hero AGR zigzag adapté RFEGL ===== */
.rfegl-hero {
  position: relative;
  width: 100%;
  height: min(88vh, 720px);
  min-height: 520px;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg, var(--rfegl-dark) 0%, var(--rfegl) 55%, #00a574 100%);
}
.rfegl-hero .rfegl-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.rfegl-hero .rfegl-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .85s cubic-bezier(.4,0,.2,1), transform .85s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}
.rfegl-hero .rfegl-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}
.rfegl-hero .slide-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 50%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(135deg, rgba(7,91,80,.93) 0%, rgba(0,140,98,.88) 55%, rgba(0,107,143,.82) 100%);
  z-index: 1;
}
.rfegl-hero .slide-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 80%;
  margin: 0 auto;
  height: 100%;
  padding: 2.5rem 0 4.5rem;
}
.rfegl-hero .slide-content.zigzag-right .slide-text { order: 2; }
.rfegl-hero .slide-content.zigzag-right .slide-image { order: 1; }
.rfegl-hero .slide-text { color: #fff; max-width: 36rem; }
.rfegl-hero .slide-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem 1rem; margin-bottom: 1.15rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: .82rem; font-weight: 650; color: #fff;
}
.rfegl-hero .slide-title {
  margin: 0 0 .85rem;
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.2);
  max-width: min(100%, 28ch);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.rfegl-hero .slide-description {
  margin: 0 0 1.5rem;
  font-size: clamp(.95rem, 1.3vw, 1.12rem);
  line-height: 1.55; color: rgba(255,255,255,.9);
  max-width: 42ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.rfegl-hero .slide-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.rfegl-hero .slide-buttons .theme-btn.style-one {
  background: #fff; color: var(--rfegl);
}
.rfegl-hero .slide-buttons .theme-btn.style-one:hover {
  background: var(--rfegl-soft); color: var(--rfegl-dark);
}
.rfegl-hero .slide-buttons .theme-btn.style-two {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.75);
}
.rfegl-hero .slide-buttons .theme-btn.style-two:hover {
  background: rgba(255,255,255,.14);
  border-color: #fff;
}
.rfegl-hero .slide-buttons .rfegl-slide-lire-plus {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.rfegl-hero .slide-buttons .rfegl-slide-lire-plus i {
  font-size: .85em;
  transition: transform .2s ease;
}
.rfegl-hero .slide-buttons .rfegl-slide-lire-plus:hover i {
  transform: translateX(3px);
}
.rfegl-hero .slide-image {
  position: relative;
  height: min(68vh, 460px);
  min-height: 280px;
  aspect-ratio: 3 / 2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
  transform: rotate(-6deg) scale(.96);
  transition: transform .5s ease;
  background: rgba(0,0,0,.15);
  contain: layout paint;
}
.rfegl-hero .zigzag-right .slide-image { transform: rotate(6deg) scale(.96); }
.rfegl-hero .rfegl-slide.is-active:hover .slide-image {
  transform: rotate(0) scale(1);
}
.rfegl-hero .slide-image picture,
.rfegl-hero .slide-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  display: block;
}
.rfegl-hero .slide-image img {
  transition: transform .55s ease;
}
.rfegl-hero .rfegl-slide.is-active:hover .slide-image img { transform: scale(1.03); }

.rfegl-hero-controls {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
}
.rfegl-hero-nav {
  pointer-events: auto;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(11, 47, 44, .72);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  display: grid; place-items: center; cursor: pointer;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
  z-index: 6;
  will-change: transform;
}
.rfegl-hero-nav:hover {
  background: rgba(5, 111, 101, .88);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-50%) scale(1.05);
}
.rfegl-hero-nav[data-hero-prev] { left: 1.1rem; }
.rfegl-hero-nav[data-hero-next] { right: 1.1rem; }
.rfegl-hero-dots {
  pointer-events: auto;
  position: absolute; left: 50%; bottom: 3.6rem;
  transform: translateX(-50%);
  display: flex; gap: .55rem; align-items: center;
}
.rfegl-hero-dot {
  width: 44px; height: 44px; border: 0; padding: 0; cursor: pointer;
  background: transparent; position: relative; border-radius: 999px;
  transition: .25s ease;
}
.rfegl-hero-dot::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,.75);
  background: transparent;
  transition: .25s ease;
}
.rfegl-hero-dot.is-active::before {
  width: 28px; border-radius: 999px;
  background: #fff; border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.22);
}

.section-title .sub-title {
  display: inline-flex; align-items: center;
  padding: .35rem .85rem; border-radius: 999px;
  background: #eceff1; color: #333; font-size: .78rem; font-weight: 600;
  margin-bottom: 1rem;
}
.rfegl-button-box { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (max-width: 900px) {
  /* Slides en absolute : le parent doit avoir une hauteur réelle (sinon hero = 0 sur mobile) */
  .rfegl-hero {
    height: auto;
    min-height: 0;
    padding: 1.5rem 0 3.25rem;
    overflow: hidden;
  }
  .rfegl-hero .rfegl-slider-container {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .rfegl-hero .rfegl-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    align-items: flex-start;
    transform: translateX(18px);
  }
  .rfegl-hero .rfegl-slide.is-active {
    position: relative;
    height: auto;
    min-height: 0;
    transform: none;
  }
  .rfegl-hero .slide-content {
    grid-template-columns: 1fr;
    width: min(94%, 36rem);
    gap: 1.25rem;
    padding: 0.35rem 0 2.75rem;
    height: auto;
    margin: 0 auto;
  }
  .rfegl-hero .slide-content.zigzag-right .slide-text,
  .rfegl-hero .slide-content.zigzag-right .slide-image { order: initial; }
  .rfegl-hero .slide-title {
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
  .rfegl-hero .slide-description {
    font-size: .95rem;
    margin-bottom: 1.1rem;
  }
  .rfegl-hero .slide-image {
    height: 220px;
    min-height: 200px;
    max-height: 260px;
    transform: none !important;
    border-radius: 16px;
    width: 100%;
  }
  .rfegl-hero .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .rfegl-hero-nav {
    display: grid;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .rfegl-hero-nav[data-hero-prev] { left: .5rem; }
  .rfegl-hero-nav[data-hero-next] { right: .5rem; }
  .rfegl-hero-dots { bottom: 1.35rem; }
}

.about-visual {
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.about-visual img {
  width: 100%; height: auto; max-height: 520px; object-fit: contain;
  display: block;
}
.rfegl-image-box > img {
  width: 100%; height: 500px; object-fit: cover; display: block;
}
.rfegl-post-item .post-thumbnail { height: 240px; overflow: hidden; background: #e8eeed; }
.rfegl-post-item .post-thumbnail img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.rfegl-post-item:hover .post-thumbnail img { transform: scale(1.04); }
.rfegl-partner-box {
  flex: 0 0 180px; background: #fff; border: 1px solid var(--rfegl-line);
  display: grid; place-items: center; padding: .85rem; min-height: 120px; height: 120px;
}
.rfegl-partner-box img {
  max-height: 88px; width: auto; max-width: 100%;
  object-fit: contain; object-position: center;
}
.brand-logo img { height: 44px; width: auto; object-fit: contain; }

/* About */
.rfegl-about-sec { padding: 5rem 0 4rem; background: #fff; }
.rfegl-about-sec.home-who { background: var(--rfegl-bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.section-title h2, .section-title h3 {
  margin: .5rem 0 .75rem; color: var(--rfegl-ink); font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.25;
}
.lead-text { color: var(--rfegl-muted); margin-bottom: 1.25rem; }
.rfegl-left-icon-box {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--rfegl-soft); border-radius: 8px; padding: .85rem 1rem; margin-bottom: .55rem;
}
.rfegl-left-icon-box .icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--rfegl); color: #fff; display: grid; place-items: center; flex: 0 0 auto;
  font-size: .75rem;
}
.rfegl-left-icon-box p { margin: 0; font-size: .9rem; color: #333; }
.mt-4 { margin-top: 1.25rem; }

/* Domains */
.rfegl-service-sec { padding: 1rem 0 3.5rem; }
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem;
}
.domains-row, .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rfegl-service-box {
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1.5rem; min-height: 280px;
  display: flex; flex-direction: column;
}
.rfegl-service-box .icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--rfegl-soft); color: var(--rfegl);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 1rem;
}
.rfegl-service-box h3 { margin: 0 0 .6rem; font-size: 1.1rem; }
.rfegl-service-box h3 a:hover { color: var(--rfegl); }
.rfegl-service-box h4 { margin: 0 0 .6rem; font-size: 1.1rem; }
.rfegl-service-box h4 a:hover { color: var(--rfegl); }
.rfegl-service-box p { color: var(--rfegl-muted); flex: 1; margin: 0 0 1rem; }
.read-more {
  color: var(--rfegl); font-weight: 700; font-size: .9rem;
}
.read-more:hover { text-decoration: underline; }
.read-more.style-km,
a.article-link.read-more,
.rfegl-article-card .article-link,
.rfegl-post-item .read-more.style-km {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: auto;
  min-height: 44px;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: var(--rfegl-soft);
  color: var(--rfegl-dark);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .01em;
  text-decoration: none !important;
  width: fit-content;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.read-more.style-km i,
.rfegl-article-card .article-link i,
.rfegl-post-item .read-more.style-km i {
  font-size: .72rem;
  transition: transform .2s ease;
}
.read-more.style-km:hover,
.rfegl-article-card .article-link:hover,
.rfegl-post-item .read-more.style-km:hover {
  background: var(--rfegl);
  color: #fff;
  transform: translateY(-1px);
}
.read-more.style-km:hover i,
.rfegl-article-card .article-link:hover i,
.rfegl-post-item .read-more.style-km:hover i {
  transform: translateX(3px);
}

/* Activities / partners tracks */
.rfegl-blog { padding: 2rem 0 3.5rem; }
.activities-track, .partners-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-behavior: smooth;
  padding-bottom: .5rem; scrollbar-width: none;
}
.activities-track::-webkit-scrollbar, .partners-track::-webkit-scrollbar { display: none; }
.rfegl-post-item {
  flex: 0 0 min(340px, 85vw); background: #fff; border: 1px solid var(--rfegl-line);
  display: flex; flex-direction: column; min-height: 420px;
}
.rfegl-post-item .post-content { padding: 1.15rem; display: flex; flex-direction: column; flex: 1; }
.rfegl-post-item .title { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.35; flex: 1; }
.carousel-nav { display: flex; gap: .5rem; margin-top: 1rem; }
.carousel-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rfegl-line);
  background: #fff; color: var(--rfegl); cursor: pointer;
}
.carousel-arrow:hover { background: var(--rfegl); color: #fff; }

/* FAQ */
.rfegl-faq-sec { padding: 4rem 0; background: #fff; }
.faq-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start;
}
.rfegl-image-box img {
  width: 100%; height: 500px; object-fit: cover;
}
.rfegl-info-area {
  display: flex; gap: 1rem; align-items: center;
  background: var(--rfegl); color: #fff; padding: 1.1rem 1.25rem; margin-top: -1px;
}
.rfegl-info-area .icon {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.15);
  display: grid; place-items: center;
}
.rfegl-info-area span { font-size: .8rem; opacity: .85; }
.rfegl-info-area h4 { margin: .15rem 0 0; font-size: 1.1rem; }
.rfegl-info-area a { color: #fff; }
.accordion-card {
  border: 1px solid var(--rfegl-line); background: #fff; margin-bottom: .55rem;
}
.accordion-header {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1rem 1.1rem; border: 0; background: transparent; cursor: pointer; text-align: left;
}
.accordion-header h6 { margin: 0; font-size: .95rem; font-weight: 700; color: #222; }
.accordion-header i { color: var(--rfegl); transition: transform .25s; }
.accordion-card.open .accordion-header i { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-card.open .accordion-content { max-height: 200px; }
.accordion-content p { margin: 0; padding: 0 1.1rem 1rem; color: var(--rfegl-muted); }

/* Counters */
.rfegl-counter-sec {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 42%),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.04) 0 10px,
      rgba(255,255,255,0) 10px 20px
    ),
    linear-gradient(135deg, var(--rfegl-dark) 0%, var(--rfegl) 55%, #00a574 100%);
  color: #fff;
  padding: 3.25rem 0 3.75rem;
  overflow: hidden;
}
.rfegl-counter-zigzag {
  position: absolute;
  left: 0; right: 0;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}
.rfegl-counter-zigzag svg {
  display: block;
  width: 100%;
  height: 28px;
}
.rfegl-counter-zigzag--top { display: none; }
.rfegl-counter-zigzag--bottom { bottom: 0; }
.rfegl-counter-sec .counters {
  position: relative;
  z-index: 1;
}
.counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
  text-align: center;
}
.rfegl-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.rfegl-counter-item h2,
.rfegl-counter-item .counter-value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  color: inherit;
}
.rfegl-counter-item h4,
.rfegl-counter-item .counter-label {
  margin: .45rem 0 0;
  font-weight: 600;
  opacity: .95;
  line-height: 1.35;
  max-width: 14rem;
}

/* Footer */
.default-footer { background: var(--rfegl-dark); color: #d7e8e5; }
.footer-widgets {
  display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: 1.75rem;
  padding: 3.5rem 0 2rem;
}
.footer-about img { margin-bottom: 1rem; filter: brightness(1.05); }
.footer-about p { opacity: .9; }
.social-box { display: flex; gap: .55rem; margin-top: 1rem; }
.social-box a {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff;
}
.social-box a:hover { background: var(--rfegl); }
.widget-title { color: #fff; margin: 0 0 1rem; font-size: 1.05rem; }
.widget-nav { display: grid; gap: .45rem; }
.widget-nav a:hover { color: #fff; }
.rfegl-info-box {
  display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .7rem;
}
.rfegl-info-box i { color: #7dcdc4; margin-top: .2rem; }
.rfegl-info-box p { margin: 0; }
.copyright-area {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0; font-size: .85rem; opacity: .9;
}
.copyright-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .75rem;
}
.copyright-inner p { margin: 0; }
.footer-credit { opacity: .95; }
.footer-credit strong { color: #fff; font-weight: 700; }
@media (max-width: 640px) {
  .copyright-inner { flex-direction: column; text-align: center; }
}

/* Page banners (Contact / Actualités — match Next.js) */
.page-banner,
.page-banner-blog,
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--rfegl-dark), var(--rfegl));
  color: #fff; padding: 3rem 0 2.4rem;
  overflow: hidden;
  isolation: isolate;
}
.page-banner.has-photo-bg,
.page-hero.has-photo-bg,
.news-banner.has-photo-bg {
  background-image:
    linear-gradient(120deg, rgba(5,111,101,.92), rgba(3,70,64,.88)),
    var(--rfegl-banner-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-banner .page-content,
.page-hero .wrap { text-align: center; position: relative; z-index: 1; }
.page-banner h1,
.page-banner .title,
.page-banner .banner-title,
.page-hero h1,
.page-banner-blog h1,
.news-banner h1 {
  margin: .55rem 0 0; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800;
  color: #fff;
}
.page-banner .banner-lead { margin: .85rem auto 0; max-width: 34rem; opacity: .92; font-size: 1.05rem; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap; justify-content: center;
  list-style: none; margin: 0; padding: 0;
  font-size: .88rem; font-weight: 600; opacity: .95;
}
.breadcrumb li {
  display: inline-flex; align-items: center; gap: .55rem;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i,
.breadcrumb .fa-angles-right {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  font-size: .72rem;
  line-height: 1;
  opacity: .9;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.page-hero .badge, .page-hero .sub-title {
  display: inline-block; background: rgba(255,255,255,.14); padding: .3rem .75rem; border-radius: 999px; font-size: .78rem;
}
.mt-4 { margin-top: 1.15rem; }
.pb-90 { padding-bottom: 4.5rem; }
.mb-50 { margin-bottom: 2rem; }

/* Contact page */
.rfegl-blog-details-sec { padding: 3rem 0 1rem; }
.contact-layout {
  display: grid; grid-template-columns: .9fr 1.6fr; gap: 1.5rem; align-items: start;
}
.contact-infos { display: grid; gap: 1rem; }
.rfegl-cn-info {
  display: flex; gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1.15rem 1.25rem;
}
.rfegl-cn-info .icon {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.15rem; color: #fff;
}
.rfegl-cn-info.bg_one .icon { background: var(--rfegl); }
.rfegl-cn-info.bg_two .icon { background: #0a8a7d; }
.rfegl-cn-info.bg_three .icon { background: var(--rfegl-dark); }
.rfegl-cn-info span { display: block; font-size: .8rem; color: var(--rfegl-muted); font-weight: 600; }
.rfegl-cn-info h6 { margin: .2rem 0 0; font-size: .98rem; font-weight: 700; color: #111; }
.rfegl-cn-info a:hover { color: var(--rfegl); }
.contact-wrapper {
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1.5rem 1.6rem;
}
.contact-wrapper h3 { margin: 0 0 .4rem; font-size: 1.45rem; color: #111; font-weight: 800; }
.contact-lead { margin: 0 0 1.25rem; color: var(--rfegl-muted); }
.contact-form { display: grid; gap: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-field {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--rfegl-line);
  background: #fafafa; font: inherit; color: #222; outline: none;
}
.input-field:focus { border-color: var(--rfegl); background: #fff; }
.input-message { min-height: 180px; resize: vertical; }
.btn-send { width: fit-content; min-width: 140px; border: 0; }
.rfegl-hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.rfegl-contact-alert {
  padding: .85rem 1rem; border-radius: var(--rfegl-radius); font-size: .9rem; line-height: 1.5;
  margin-bottom: 1rem;
}
.rfegl-contact-alert--success {
  background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46;
}
.rfegl-contact-alert--error {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
}
.rfegl-contact-alert p { margin: 0; }
.rfegl-contact-alert p + p { margin-top: .5rem; }
.rfegl-contact-fallback { font-size: .85rem; opacity: .95; }
.rfegl-contact-fallback a { color: inherit; font-weight: 700; text-decoration: underline; }
.contact-form select.input-field { cursor: pointer; appearance: auto; }

/* Offices on contact */
.rfegl-choose-sec { padding: 3rem 0 4rem; background: #fff; }
.offices-layout {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.25rem; align-items: stretch;
}
.offices-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rfegl-pricing-item {
  border: 1px solid var(--rfegl-line); background: #fff; padding: 1.15rem;
  cursor: pointer; transition: border-color .2s, box-shadow .2s; height: 100%;
}
.rfegl-pricing-item:hover,
.rfegl-pricing-item.active {
  border-color: var(--rfegl);
  box-shadow: 0 10px 28px rgba(5,111,101,.12);
}
.rfegl-pricing-item .pricing-plan h4 {
  margin: 0 0 .65rem; font-size: 1.05rem; color: var(--rfegl); font-weight: 800;
}
.rfegl-pricing-item .pricing-header p { margin: 0 0 1rem; color: var(--rfegl-muted); font-size: .92rem; }
.rfegl-pricing-item .pricing-button { margin-bottom: .9rem; }
.rfegl-pricing-item .pricing-button .theme-btn { pointer-events: none; padding: .55rem .95rem; font-size: .82rem; }
.check-list.style-one { display: grid; gap: .55rem; }
.check-list.style-one li {
  display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: #333;
}
.check-list.style-one i { color: var(--rfegl); margin-top: .2rem; flex: 0 0 auto; }
.offices-map { min-height: 420px; }
.offices-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* News listing */
.news-listing { padding-top: 0; }
.news-listing { padding: 3.5rem 0 4.5rem; background: #f7f8fa; }
.news-toolbar {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; margin-bottom: 2rem;
}
.news-toolbar .section-title h3 {
  margin: .35rem 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800; letter-spacing: -.02em; color: var(--rfegl-ink);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}
.rfegl-article-card {
  background: #fff;
  border: 1px solid rgba(5,111,101,.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 8px 24px rgba(15, 40, 38, .05);
  transition: transform .28s ease, box-shadow .28s ease;
}
.rfegl-article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(5,111,101,.14);
}
.rfegl-article-card .article-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #d9e8e5;
}
.rfegl-article-card .article-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.rfegl-article-card:hover .article-image img { transform: scale(1.06); }
.rfegl-article-card .article-category {
  position: absolute; top: .9rem; left: .9rem;
  background: var(--rfegl); color: #fff;
  padding: .28rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase;
}
.rfegl-article-card .article-content {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex; flex-direction: column; flex: 1;
}
.rfegl-article-card .article-meta {
  margin-bottom: .65rem;
  font-size: .8rem; color: var(--rfegl-muted); font-weight: 500;
}
.rfegl-article-card .article-meta i { color: var(--rfegl); margin-right: .25rem; }
.rfegl-article-card .article-title {
  margin: 0 0 .7rem;
  font-size: 1.12rem; line-height: 1.35; font-weight: 800;
  letter-spacing: -.015em; color: var(--rfegl-ink);
}
.rfegl-article-card .article-title a:hover { color: var(--rfegl); }
.rfegl-article-card .article-excerpt {
  margin: 0 0 1.15rem;
  color: #5a6462; font-size: .92rem; line-height: 1.6;
  flex: 1;
}
.rfegl-article-card .article-link {
  /* base look handled by .read-more.style-km */
  margin-top: auto;
}
.rfegl-article-card .article-link:hover { text-decoration: none; }

.news-loading, .news-empty {
  grid-column: 1 / -1; text-align: center; padding: 2.75rem 1rem;
  color: var(--rfegl-muted); font-size: 1rem;
}
.news-banner {
  background:
    linear-gradient(120deg, rgba(5,111,101,.94), rgba(3,80,73,.9)),
    url('../img/hero-bg.jpg') center/cover no-repeat;
  padding: 3.5rem 0 3.75rem;
}
.news-banner.has-photo-bg {
  background-image:
    linear-gradient(120deg, rgba(5,111,101,.92), rgba(3,70,64,.88)),
    var(--rfegl-banner-image, url('../img/hero-bg.jpg'));
  background-size: cover;
  background-position: center;
}
.news-banner h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800; letter-spacing: -.025em;
  color: #fff;
}
.news-banner .banner-lead {
  max-width: 40rem; margin-left: auto; margin-right: auto;
  font-size: 1.05rem; line-height: 1.65; opacity: .93;
}
.home-news-sec .section-head-row { margin-bottom: 1.5rem; }

.rfegl-pagination ul {
  display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; justify-content: center;
}
.rfegl-pagination a,
.rfegl-pagination button {
  min-width: 40px; height: 40px; padding: 0 .7rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rfegl-line); background: #fff; color: #333;
  font-weight: 700; cursor: pointer; font: inherit;
}
.rfegl-pagination a.active,
.rfegl-pagination button.active {
  background: var(--rfegl); color: #fff; border-color: var(--rfegl);
}
.rfegl-pagination a.is-disabled,
.rfegl-pagination button:disabled {
  opacity: .45; pointer-events: none; cursor: default;
}
.mt-30 { margin-top: 1.75rem; }
.section { padding: 3rem 0; }
.wrap { width: 80%; margin-inline: auto; }
@media (max-width: 768px) {
  .wrap { width: 95%; }
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1.15rem; border-radius: 8px;
}
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.1rem; border-radius: 6px; font-weight: 700; }
.btn-primary { background: var(--rfegl); color: #fff; }
.btn-soft { background: var(--rfegl-soft); color: var(--rfegl); }
.form { display: grid; gap: .8rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--rfegl-line); border-radius: 8px; font: inherit;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.team-card { text-align: center; }
.team-avatar {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto .75rem;
  background: var(--rfegl); color: #fff; display: grid; place-items: center; font-weight: 800;
}
.map-embed { width: 100%; min-height: 260px; border: 0; border-radius: 8px; }
.check-list { display: grid; gap: .55rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; }
.check b {
  width: 20px; height: 20px; border-radius: 50%; background: var(--rfegl); color: #fff;
  display: grid; place-items: center; font-size: .7rem; flex: 0 0 auto;
}

/* About page (À propos) */
.rfegl-about-page { padding: 0 0 4rem; background: #fff; }
.about-page-grid {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 2rem; align-items: start;
}
.about-media-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start;
}
.about-photo, .rfegl-about-page .rfegl-image img,
.objectives-box .rfegl-image img {
  width: 100%; height: 400px; object-fit: cover; display: block;
}
.objectives-box .rfegl-image img { height: 280px; }
.about-side .text-counter-box > p {
  margin: 0 0 1rem; color: var(--rfegl-muted); line-height: 1.65;
}
.about-side .check-list { margin-bottom: 1.25rem; }
.rfegl-year-box {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; margin-bottom: .85rem; color: #fff;
}
.rfegl-year-box.bg_one { background: var(--rfegl); }
.rfegl-year-box.bg_two { background: #0a8a7d; }
.rfegl-year-box .number h2 {
  margin: 0; font-size: 2.2rem; font-weight: 800; line-height: 1;
}
.rfegl-year-box .content span { font-weight: 600; font-size: .95rem; }
.why-support { padding-top: 4rem; background: #f8faf9; }
.why-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start;
}
.choose-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.rfegl-choose-box {
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1.25rem;
  display: flex; gap: 1rem; align-items: flex-start; height: 100%;
}
.rfegl-choose-box .icon {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto;
  background: var(--rfegl-soft); color: var(--rfegl);
  display: grid; place-items: center; font-size: 1.15rem;
}
.rfegl-choose-box h4 { margin: 0 0 .45rem; font-size: 1.05rem; font-weight: 800; color: #111; }
.rfegl-choose-box p { margin: 0; color: var(--rfegl-muted); font-size: .9rem; line-height: 1.6; }
.objectives-box {
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1.35rem 1.4rem;
}
.objectives-box > p { color: var(--rfegl-muted); margin: 0 0 1rem; }
.about-faq-sec { background: #fff; }
.mb-20 { margin-bottom: 1rem; }
.mb-40 { margin-bottom: 1.75rem; }
.mb-50 { margin-bottom: 2rem; }
.text-box p { color: #444; line-height: 1.7; margin: 0; }

/* Partners page */
.partners-page-sec { padding-top: 0; }
.partners-logo-panel {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem;
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1.25rem;
}
.partners-logo-panel .rfegl-partner-box {
  display: grid; place-items: center; padding: .75rem;
  background: #fff; min-height: 110px;
}
.partners-logo-panel .rfegl-partner-box img {
  max-height: 100px; width: 100%; object-fit: contain; object-position: center;
}

/* Team page */
.rfegl-team-sec { padding: 0 0 3.5rem; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.rfegl-team-item-two {
  background: #fff; border: 1px solid var(--rfegl-line); text-align: center;
  padding: 0 0 1.25rem; overflow: hidden;
}
.rfegl-team-item-two .member-image {
  background: linear-gradient(160deg, #e8f5f3, #f2f2f5);
  padding: 1.75rem 1rem 1.25rem;
}
.rfegl-team-item-two .team-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto;
  background: var(--rfegl); color: #fff; display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 800; letter-spacing: .04em;
}
.rfegl-team-item-two .member-info { padding: 1rem 1rem 0; }
.rfegl-team-item-two h4 {
  margin: 0 0 .35rem; font-size: 1.02rem; font-weight: 800; color: #111;
}
.rfegl-team-item-two .position {
  display: block; color: var(--rfegl-muted); font-size: .88rem; line-height: 1.4;
}
.pb-75 { padding-bottom: 3.75rem; }

/* Gallery */
.gallery-tabs {
  position: relative; display: flex; max-width: 280px; margin: 1.25rem auto 0;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.gallery-tab {
  flex: 1; background: none; border: 0; color: rgba(255,255,255,.75);
  padding: .85rem .5rem; font: inherit; font-size: 1.05rem; font-weight: 600;
  cursor: pointer;
}
.gallery-tab.active { color: #fff; }
.gallery-tab-indicator {
  position: absolute; bottom: 0; left: 0; width: 50%; height: 3px;
  background: #fff; transition: left .25s ease;
}
.gallery-tabs[data-active="videos"] .gallery-tab-indicator { left: 50%; }
.gallery-page-sec { padding-top: 0; background: #fff; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.35rem; }
.gallery-filter {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border: 1px solid var(--rfegl-line); background: #fff;
  color: #444; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.gallery-filter:hover { background: #f7faf9; border-color: #c5d9d6; }
.gallery-filter.active {
  background: var(--rfegl); color: #fff; border-color: var(--rfegl);
  box-shadow: 0 6px 16px rgba(5,111,101,.2);
}
.gallery-filter .count {
  font-size: .72rem; padding: .15rem .45rem; border-radius: 999px;
  background: #eef2f1; color: #556;
}
.gallery-filter.active .count { background: rgba(255,255,255,.22); color: #fff; }
.gallery-photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.gallery-photo {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: pointer; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.gallery-photo img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.gallery-photo:hover img { transform: scale(1.05); }
.gallery-video-empty {
  text-align: center; padding: 3.5rem 1.5rem; background: #f8faf9;
  border: 1px dashed var(--rfegl-line);
}
.gallery-video-empty i {
  font-size: 2.2rem; color: var(--rfegl); margin-bottom: .85rem;
}
.gallery-video-empty h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.gallery-video-empty p {
  margin: 0 auto 1.25rem; max-width: 28rem; color: var(--rfegl-muted);
}
.rfegl-lightbox {
  position: fixed; inset: 0; z-index: 5000; background: rgba(0,0,0,.88);
  display: grid; place-items: center; padding: 2rem;
}
.rfegl-lightbox[hidden] { display: none !important; }
.rfegl-lightbox img {
  max-width: min(1100px, 100%); max-height: 88vh; object-fit: contain;
}
.rfegl-lightbox .lightbox-close {
  position: absolute; top: 1rem; right: 1.25rem; border: 0; background: none;
  color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* Galerie pro */
.gallery-page-pro { padding: 2.75rem 0 4rem; background: #fff; }
.gallery-page-pro .gallery-filters { margin-bottom: 1.5rem; }
.gallery-photo {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery-photo img { height: 100%; }
.gallery-photo-label {
  position: absolute; left: .65rem; bottom: .65rem;
  padding: .28rem .6rem; border-radius: 999px;
  background: rgba(11, 47, 44, .82); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase;
}
.gallery-photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem;
}
.gallery-video-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.gallery-video-card {
  display: block; background: #fff; border: 1px solid var(--rfegl-line);
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.gallery-video-card:hover {
  box-shadow: 0 16px 36px rgba(5, 111, 101, .14);
  transform: translateY(-3px);
}
.gallery-video-poster {
  position: relative; aspect-ratio: 16 / 9; background: var(--rfegl-dark); overflow: hidden;
}
.gallery-video-poster img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: .92; transition: transform .4s ease, opacity .3s;
}
.gallery-video-card:hover .gallery-video-poster img {
  transform: scale(1.04); opacity: 1;
}
.gallery-video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.gallery-video-play i {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(5, 111, 101, .95); color: #fff; font-size: 1.25rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.gallery-video-body { padding: 1.15rem 1.2rem 1.35rem; }
.gallery-video-body .post-cat {
  display: inline-block; margin-bottom: .45rem;
  font-size: .72rem; font-weight: 800; color: var(--rfegl); text-transform: uppercase;
}
.gallery-video-body h3 {
  margin: 0 0 .85rem; font-size: 1.1rem; line-height: 1.35; color: var(--rfegl-ink);
}

/* Partenaires pro */
.partners-page-pro { padding: 3rem 0 4rem; background: #fff; }
.partners-pro-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem;
}
.partner-pro-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 16px;
  padding: 1.25rem 1.1rem 1.35rem; text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.partner-pro-card:hover {
  border-color: #b7d5d0;
  box-shadow: 0 14px 32px rgba(5, 111, 101, .1);
  transform: translateY(-2px);
}
.partner-pro-card .partner-logo {
  height: 110px; display: grid; place-items: center;
  margin-bottom: .95rem; padding: .5rem;
  background: linear-gradient(180deg, #f7fbfa, #fff);
  border-radius: 12px;
}
.partner-pro-card .partner-logo img {
  max-width: 100%; max-height: 88px; object-fit: contain;
}
.partner-pro-card h3 {
  margin: 0 0 .4rem; font-size: 1rem; font-weight: 800; color: var(--rfegl-ink);
}
.partner-pro-card p {
  margin: 0; color: var(--rfegl-muted); font-size: .86rem; line-height: 1.5;
}
.partner-pro-card .partner-logo a {
  display: grid; place-items: center; width: 100%; height: 100%;
}
.partner-pro-card .partner-site-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .75rem; font-size: .82rem; font-weight: 700;
  color: var(--rfegl); text-decoration: none;
}
.partner-pro-card .partner-site-link:hover { text-decoration: underline; }
.partners-marquee .rfegl-partner-box a {
  display: grid; place-items: center; width: 100%; height: 100%;
}
.partners-marquee .rfegl-partner-box img {
  transition: transform .2s ease;
}
.partners-marquee .rfegl-partner-box a:hover img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .partners-pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .partners-pro-grid,
  .gallery-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .partners-pro-grid { grid-template-columns: 1fr; }
}

/* Reports */
.reports-page-sec { padding: 2.5rem 0 4.5rem; background: #fff; }
.reports-intro { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
.reports-intro h2 { margin: .35rem 0 .65rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.reports-intro p { margin: 0; color: var(--rfegl-muted); }
.reports-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-bottom: 1.75rem;
}
.report-filter {
  padding: .5rem 1.05rem; border: 1px solid var(--rfegl-line); background: #fff;
  color: #444; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
}
.report-filter.active,
.report-filter:hover {
  background: var(--rfegl); color: #fff; border-color: var(--rfegl);
}
.reports-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.report-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--rfegl-line); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.report-card:hover {
  box-shadow: 0 14px 32px rgba(5,111,101,.12); transform: translateY(-3px);
}
.report-cover {
  position: relative; min-height: 140px; color: #fff;
  display: grid; place-items: center; font-size: 2.4rem;
}
.report-cover--teal { background: linear-gradient(145deg, var(--rfegl), #00a574); }
.report-cover--forest { background: linear-gradient(145deg, var(--rfegl-dark), var(--rfegl)); }
.report-cover--gold { background: linear-gradient(145deg, #8a6a1f, #c4a035); }
.report-cover--blue { background: linear-gradient(145deg, #1a4f7a, #2d7ab5); }
.report-cover--plum { background: linear-gradient(145deg, #5a2d5c, #8e4a8f); }
.report-cover--slate { background: linear-gradient(145deg, #334155, #64748b); }
.report-year {
  position: absolute; top: .85rem; left: .85rem;
  background: rgba(255,255,255,.18); padding: .25rem .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
}
.report-body { padding: 1.15rem 1.2rem 1.3rem; display: grid; gap: .55rem; flex: 1; }
.report-tag {
  display: inline-block; width: fit-content;
  background: var(--rfegl-soft); color: var(--rfegl);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: .25rem .55rem;
}
.report-body h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #111; line-height: 1.35; }
.report-body p { margin: 0; color: var(--rfegl-muted); font-size: .9rem; line-height: 1.55; }
.report-meta {
  display: flex; flex-wrap: wrap; gap: .75rem 1rem;
  font-size: .8rem; color: #667; margin-top: .25rem;
}
.report-meta i { color: var(--rfegl); margin-right: .3rem; }
.report-btn { margin-top: .55rem; width: fit-content; padding: .55rem .95rem; font-size: .82rem; }
.report-actions {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem;
}
.report-actions .report-btn { margin-top: 0; }
.report-card.is-active {
  border-color: var(--rfegl); box-shadow: 0 14px 32px rgba(5,111,101,.16);
}
body.rfegl-report-modal-open { overflow: hidden; }
.report-reader-modal {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.report-reader-modal.is-open {
  opacity: 1; visibility: visible;
}
.report-reader-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 35, 32, .78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.report-reader-modal__dialog {
  position: relative; z-index: 1;
  width: min(1080px, 96vw); max-height: 90vh;
  background: #fff; border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
  border: 1px solid rgba(255, 255, 255, .12);
  transform: scale(.94) translateY(18px);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  display: flex; flex-direction: column; overflow: hidden;
}
.report-reader-modal.is-open .report-reader-modal__dialog {
  transform: scale(1) translateY(0);
}
.report-reader-modal__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1rem; padding: 1rem 1.15rem 1rem 1.25rem;
  background: linear-gradient(135deg, var(--rfegl-dark) 0%, var(--rfegl) 100%);
  color: #fff;
}
.report-reader-modal__titles { min-width: 0; flex: 1 1 200px; }
.report-reader-modal__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88); margin-bottom: .35rem;
}
.report-reader-modal__badge i { font-size: .85rem; }
.report-reader-modal__head h3 {
  margin: 0; font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.35;
  color: #fff; font-weight: 800;
}
.report-reader-modal__actions {
  display: flex; align-items: center; gap: .5rem; flex-shrink: 0;
}
.report-reader-modal__download {
  padding: .5rem .95rem !important; font-size: .82rem !important;
  background: #fff !important; color: var(--rfegl-dark) !important;
  border: none !important;
}
.report-reader-modal__download:hover {
  background: var(--rfegl-soft) !important; color: var(--rfegl-dark) !important;
}
.report-reader-modal__close {
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12); border-radius: 10px;
  font-size: 1.1rem; line-height: 1; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.report-reader-modal__close:hover {
  background: rgba(255, 255, 255, .22); transform: scale(1.04);
}
.report-reader-modal__body {
  position: relative; background: #e8eef0; flex: 1; min-height: 0;
}
.report-reader-modal__body iframe {
  display: block; width: 100%; height: min(72vh, 820px); min-height: 360px;
  border: 0; background: #fff;
}
.report-reader-modal__empty {
  margin: 0; padding: 3rem 1.5rem; text-align: center; color: var(--rfegl-muted);
  font-size: .95rem;
}
@media (max-width: 767px) {
  .report-reader-modal { padding: .5rem; }
  .report-reader-modal__dialog { width: 100%; max-height: 94vh; border-radius: 14px; }
  .report-reader-modal__head { padding: .85rem 1rem; }
  .report-reader-modal__body iframe { min-height: 280px; height: 58vh; }
  .report-reader-modal__download span { display: none; }
}
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-8 { margin-bottom: 1.5rem; }

@media (max-width: 1024px) {
  .hero-grid, .about-grid, .faq-grid, .footer-widgets,
  .contact-layout, .offices-layout,
  .about-page-grid, .why-grid { grid-template-columns: 1fr; }
  .domains-row, .grid-3, .grid-4, .counters, .news-grid, .offices-cards,
  .about-media-row, .choose-row, .partners-logo-panel, .team-grid,
  .gallery-photo-grid, .reports-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .header-nav { position: relative; }
  .nav-right,
  .navbar-toggler { position: relative; z-index: 1102; }
  .main-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--rfegl-header-h, 78px);
    bottom: 0;
    background: #fff;
    border-bottom: 1px solid var(--rfegl-line);
    padding: 1rem 1rem 2rem;
    z-index: 1101;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  }
  .main-menu.open { display: block; touch-action: pan-y; }
  .main-menu > ul { flex-direction: column; align-items: stretch; width: 100%; }
  .main-menu .sub-menu { position: static; display: none !important; box-shadow: none; min-width: 0; padding-left: .5rem; }
  .main-menu .has-children:hover > .sub-menu { display: none !important; }
  .main-menu .has-children.open > .sub-menu { display: block !important; }
  .main-menu .sub-menu a {
    padding: .65rem .75rem;
    display: flex;
    align-items: center;
    gap: .65rem;
  }
  .main-menu > ul > li > a,
  .main-menu > ul > li > .menu-parent-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem .5rem;
    min-height: 44px;
  }
  .navbar-toggler { display: inline-flex; }
  .lang-btn span { display: none; }
  .rfegl-image-box img { height: 340px; }
}
@media (max-width: 640px) {
  .domains-row, .grid-2, .grid-3, .grid-4, .counters, .news-grid, .offices-cards,
  .about-media-row, .choose-row, .partners-logo-panel, .reports-grid { grid-template-columns: 1fr; }
  .team-grid, .gallery-photo-grid { grid-template-columns: 1fr 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .nav-right .theme-btn.style-one:not(.lang-btn) { padding: .65rem .85rem; }
  .about-photo, .rfegl-about-page .rfegl-image img { height: 280px; }
  .gallery-photo img { height: 150px; }
}


/* Actualités responsive */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .rfegl-article-card .article-image { height: 190px; }
  .rfegl-article-card .article-title { font-size: 1.05rem; }
  .container { width: 95%; }
}


/* ===== Home pro sections (vision / values / actions) ===== */
.section-lead {
  color: var(--rfegl-muted); max-width: 46rem; margin: .35rem auto 0; font-size: 1.02rem;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.home-who .about-grid { align-items: stretch; }
.home-who .about-visual {
  display: grid; grid-template-columns: 1.35fr .9fr; gap: .85rem;
  align-self: stretch; min-height: 100%;
}
.home-who .about-visual-main,
.home-who .about-visual-stack figure {
  margin: 0; position: relative; overflow: hidden; border-radius: 16px;
  height: 100%; background: #dce8e6;
}
.home-who .about-visual-main {
  box-shadow: 0 16px 36px rgba(11,47,44,.14);
}
.home-who .about-visual-main img,
.home-who .about-visual-stack img {
  width: 100%; height: 100%; min-height: 0; max-height: none;
  object-fit: cover; object-position: center; display: block;
  transition: transform .45s ease;
}
.home-who .about-visual-main:hover img,
.home-who .about-visual-stack figure:hover img { transform: scale(1.04); }
.home-who .about-visual-main figcaption {
  position: absolute; left: .85rem; bottom: .85rem;
  padding: .4rem .75rem; border-radius: 999px;
  background: rgba(11, 47, 44, .82); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em;
}
.home-who .about-visual-stack {
  display: grid; grid-template-rows: 1fr 1fr; gap: .85rem; min-height: 100%;
}
.home-who .about-visual-stack figure {
  box-shadow: 0 12px 26px rgba(11,47,44,.12);
}
.home-who .rfegl-content-box { display: flex; flex-direction: column; justify-content: center; }
.home-who-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem;
  margin: 1.15rem 0 0;
}
.home-who-stats > div {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 12px;
  padding: .75rem .7rem; text-align: center;
}
.home-who-stats strong {
  display: block; font-size: 1.25rem; color: var(--rfegl); font-weight: 800; line-height: 1.2;
}
.home-who-stats span { font-size: .75rem; color: var(--rfegl-muted); }
.home-who .rfegl-button-box { display: flex; flex-wrap: wrap; gap: .65rem; }
.home-domains .domains-row--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-domains .rfegl-service-box {
  border-radius: 14px; min-height: 240px;
  box-shadow: 0 10px 24px rgba(5,111,101,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-domains .rfegl-service-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(5,111,101,.1);
}
.footer-credit a { color: inherit; text-decoration: none; }
.footer-credit a:hover strong { color: #7fd4c8; text-decoration: underline; }

.home-vision-mission {
  padding: 4rem 0; background: linear-gradient(180deg, #fff 0%, #f3f8f7 100%);
}
.vm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem;
}
.vm-card {
  background: #fff; border: 1px solid var(--rfegl-line);
  padding: 1.75rem 1.6rem; border-radius: 12px;
  box-shadow: 0 10px 28px rgba(5,111,101,.06);
}
.vm-card.vision { border-top: 4px solid var(--rfegl); }
.vm-card.mission { border-top: 4px solid #0a9a8a; }
.vm-card h3 {
  margin: .35rem 0 1rem; font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3; font-weight: 800; color: var(--rfegl-ink);
}
.vm-card p { margin: 0; color: var(--rfegl-muted); line-height: 1.7; }
.mission-list {
  display: grid; gap: .55rem; margin: 0; padding: 0;
}
.mission-list li {
  position: relative; padding-left: 1.35rem; color: #44514f; font-size: .95rem;
}
.mission-list li::before {
  content: ""; position: absolute; left: 0; top: .45rem;
  width: .55rem; height: .55rem; border-radius: 50%; background: var(--rfegl);
}

.home-values { padding: 4.25rem 0; background: #fff; }
.values-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-top: 2rem;
}
.value-card {
  background: var(--rfegl-mint); border: 1px solid rgba(5,111,101,.08);
  border-radius: 12px; padding: 1.25rem 1.1rem; transition: .25s ease;
}
.value-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 30px rgba(5,111,101,.1); }
.value-card .icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--rfegl); color: #fff; display: grid; place-items: center; margin-bottom: .85rem;
}
.value-card h4 { margin: 0 0 .4rem; font-size: 1.02rem; font-weight: 800; color: var(--rfegl-ink); }
.value-card p { margin: 0; font-size: .88rem; color: var(--rfegl-muted); line-height: 1.55; }

.home-domains { padding: 3.5rem 0 4rem; background: #f7f9f9; }
.domains-pro-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem;
}
.domain-pro-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 12px;
  padding: 1.15rem 1rem; min-height: 170px;
  transition: .25s ease;
}
.domain-pro-card:hover { border-color: rgba(5,111,101,.35); box-shadow: 0 12px 28px rgba(5,111,101,.1); }
.domain-pro-card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--rfegl-soft); color: var(--rfegl);
  display: grid; place-items: center; margin-bottom: .75rem; font-size: 1.05rem;
}
.domain-pro-card h4 { margin: 0 0 .45rem; font-size: .98rem; font-weight: 800; line-height: 1.3; }
.domain-pro-card p { margin: 0; font-size: .84rem; color: var(--rfegl-muted); line-height: 1.5; }

.home-actions { padding: 4rem 0; background: #fff; }
.actions-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; margin-top: 2rem;
}
.action-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(15,40,38,.05); transition: .28s ease;
}
.action-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(5,111,101,.12); }
.action-media { height: 190px; overflow: hidden; background: #d9e8e5; }
.action-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.action-card:hover .action-media img { transform: scale(1.05); }
.action-body { padding: 1.15rem 1.2rem 1.3rem; }
.action-body h4 { margin: 0 0 .45rem; font-size: 1.05rem; font-weight: 800; color: var(--rfegl-ink); }
.action-body p { margin: 0; font-size: .9rem; color: var(--rfegl-muted); line-height: 1.55; }

.home-approach {
  padding: 4rem 0; background: linear-gradient(135deg, var(--rfegl-dark), var(--rfegl) 55%, #00a574);
  color: #fff;
}
.home-approach .sub-title { background: rgba(255,255,255,.16); color: #fff; }
.home-approach h2 { color: #fff; }
.home-approach .section-lead { color: rgba(255,255,255,.88); }
.approach-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2rem;
}
.approach-step {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 1.25rem 1.15rem; backdrop-filter: blur(6px);
}
.approach-step .num {
  display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .06em;
  color: rgba(255,255,255,.7); margin-bottom: .55rem;
}
.approach-step h4 { margin: 0 0 .4rem; font-size: 1.08rem; font-weight: 800; color: #fff; }
.approach-step p { margin: 0; color: rgba(255,255,255,.86); font-size: .92rem; line-height: 1.55; }

.home-impact { padding: 4rem 0; background: #fff; }
.impact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
}
.impact-list { display: grid; gap: .65rem; margin: 1.25rem 0 0; padding: 0; }
.impact-list li {
  position: relative; padding: .75rem 1rem .75rem 2.4rem;
  background: var(--rfegl-mint); border-radius: 8px; color: #33423f; font-size: .95rem;
}
.impact-list li::before {
  content: "✓"; position: absolute; left: .85rem; top: .75rem;
  color: var(--rfegl); font-weight: 800;
}
.impact-visual {
  border-radius: 16px; overflow: hidden; min-height: 360px;
  box-shadow: 0 18px 40px rgba(5,111,101,.14);
}
.impact-visual img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

.home-support-cta {
  padding: 4rem 0; background: linear-gradient(120deg, rgba(5,111,101,.95), rgba(3,80,73,.92)),
    url('../img/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
}
.support-inner { max-width: 52rem; }
.home-support-cta .sub-title.light,
.home-support-cta .sub-title { background: rgba(255,255,255,.16); color: #fff; }
.home-support-cta h2 { color: #fff; margin-bottom: .75rem; }
.home-support-cta p { color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.65; }
.support-pills {
  display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.35rem 0 1.5rem;
}
.support-pills span {
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  font-size: .85rem; font-weight: 650;
}
.theme-btn.style-one.light { background: #fff; color: var(--rfegl); }
.theme-btn.style-one.light:hover { background: var(--rfegl-soft); }
.theme-btn.style-two.light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.65);
}
.theme-btn.style-two.light:hover { background: rgba(255,255,255,.12); }

.home-contact-strip {
  padding: 2.75rem 0; background: #fff; border-top: 1px solid var(--rfegl-line);
}
.contact-strip-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: center;
}
.contact-strip-grid h3 {
  margin: .4rem 0 .55rem; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 800;
}
.contact-strip-facts {
  display: grid; gap: .65rem; background: var(--rfegl-mint);
  border-radius: 12px; padding: 1.15rem 1.25rem;
}
.contact-strip-facts a, .contact-strip-facts p {
  margin: 0; display: flex; align-items: center; gap: .55rem;
  color: #33423f; font-weight: 600; font-size: .95rem;
}
.contact-strip-facts a:hover { color: var(--rfegl); }
.contact-strip-facts i { color: var(--rfegl); width: 1.1rem; text-align: center; }

.rfegl-post-item .post-thumbnail { height: 220px; }
.rfegl-hero .slide-image img { object-position: center 25%; }

/* ===== Hero zigzag (couches douces, sans blanc trop clair) ===== */
.rfegl-hero-zigzag {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 6;
  line-height: 0;
  pointer-events: none;
}
.rfegl-hero-zigzag svg {
  display: block;
  width: 100%;
  height: 72px;
}

/* ===== Home news / partners marquees ===== */
.home-news-marquee,
.partners-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.home-news-marquee-track,
.partners-marquee-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  will-change: transform;
}
/* Actualités : avance d’une carte toutes les 3 s (JS) */
.home-news-marquee-track {
  animation: none;
  transition: transform .55s ease;
}
@keyframes rfegl-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.partners-marquee-track {
  animation: rfegl-marquee 55s linear infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.partners-marquee:hover .partners-marquee-track {
  animation-play-state: paused;
}
.home-news-sec .home-news-marquee { margin-top: .25rem; }
.home-partners-last {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  background: #fff;
}
.partners-marquee {
  margin-top: 1.5rem;
  padding: 1rem 0;
  background: linear-gradient(180deg, #f7faf9 0%, #fff 100%);
  border-block: 1px solid var(--rfegl-line);
}
.partners-marquee .rfegl-partner-box {
  flex: 0 0 170px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(5, 111, 101, .06);
  border-color: #e8eeed;
  transition: transform .25s ease, box-shadow .25s ease;
}
.partners-marquee .rfegl-partner-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(5, 111, 101, .12);
}

.home-news-marquee .rfegl-post-item {
  flex: 0 0 min(320px, 78vw);
  background: #fff;
  border: 1px solid var(--rfegl-line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(11, 47, 44, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-news-marquee .rfegl-post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 47, 44, .1);
}
.rfegl-post-item .post-cat {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .28rem .65rem;
  margin-bottom: .65rem;
  border-radius: 999px;
  background: var(--rfegl-soft);
  color: var(--rfegl-dark);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rfegl-post-item .post-meta {
  margin: 0 0 .55rem;
  font-size: .78rem;
  color: var(--rfegl-muted);
}
.rfegl-post-item .post-meta i { margin-right: .25rem; color: var(--rfegl); }
.rfegl-post-item .post-excerpt {
  margin: 0 0 1rem;
  color: var(--rfegl-muted);
  font-size: .88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rfegl-post-item .title {
  margin: 0 0 .65rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.rfegl-post-item .title a:hover { color: var(--rfegl); }

/* ===== Article détail (KulturalMag-inspired) ===== */
.rfegl-article-page { padding: 2.5rem 0 4rem; background: #fff; }
.rfegl-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
  gap: 2.25rem;
  align-items: start;
}
.rfegl-article-main {
  background: #fff;
  border: 1px solid var(--rfegl-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(11, 47, 44, .06);
}
.rfegl-article-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  margin-bottom: 1.25rem; font-size: .88rem; color: var(--rfegl-muted);
}
.rfegl-article-breadcrumb a:hover { color: var(--rfegl); }
.rfegl-article-breadcrumb .current {
  color: var(--rfegl-ink); font-weight: 650;
  max-width: 28ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rfegl-article-hero {
  position: relative;
  height: clamp(240px, 42vw, 420px);
  background: #e8eeed;
}
.rfegl-article-hero img {
  width: 100%; height: 100%; object-fit: cover;
}
.rfegl-article-body-pad { padding: 1.75rem 1.75rem 2rem; }
.rfegl-article-cat {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--rfegl); color: #fff;
  font-size: .75rem; font-weight: 700; margin-bottom: 1rem;
}
.rfegl-article-main h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.25; font-weight: 800; color: var(--rfegl-ink);
}
.rfegl-article-meta {
  display: flex; flex-wrap: wrap; gap: .85rem 1.25rem;
  margin-bottom: 1.5rem; color: var(--rfegl-muted); font-size: .9rem;
}
.rfegl-article-meta i { color: var(--rfegl); margin-right: .3rem; }
.rfegl-article-prose {
  font-size: 1.05rem; line-height: 1.8; color: #333;
}
.rfegl-article-prose p { margin: 0 0 1.1rem; }
.rfegl-article-prose img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  margin: 1.25rem 0;
}
.rfegl-article-prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  table-layout: fixed;
}
.rfegl-article-prose table td,
.rfegl-article-prose table th {
  vertical-align: middle;
  word-break: break-word;
}
.rfegl-article-prose table img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.35rem 0;
  border-radius: 6px;
}
.rfegl-article-prose figure {
  margin: 1.25rem 0;
}
.rfegl-article-prose figure img {
  margin: 0;
}
.rfegl-article-share {
  margin-top: 2rem; padding-top: 1.35rem;
  border-top: 1px solid var(--rfegl-line);
}
.rfegl-article-share h4 {
  margin: 0 0 .85rem; font-size: .95rem; color: var(--rfegl-ink);
}
.rfegl-share-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.rfegl-share-row a,
.rfegl-share-row button {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: #111; color: #fff; border: 0; cursor: pointer;
  transition: background .2s ease;
}
.rfegl-share-row a:hover,
.rfegl-share-row button:hover { background: var(--rfegl); }
.rfegl-article-aside {
  background: linear-gradient(180deg, #f3faf8 0%, #eef6f4 100%);
  border: 1px solid var(--rfegl-line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  position: sticky; top: 5.5rem;
}
.rfegl-article-aside h3 {
  margin: 0 0 .35rem; font-size: 1.2rem; font-weight: 800; color: var(--rfegl-ink);
}
.rfegl-article-aside .aside-lead {
  margin: 0 0 1.15rem; font-size: .88rem; color: var(--rfegl-muted); line-height: 1.45;
}
.rfegl-related-list { display: flex; flex-direction: column; gap: .85rem; }
.rfegl-related-item {
  display: grid; grid-template-columns: 96px 1fr; gap: .85rem;
  margin: 0; padding: .7rem;
  background: #fff;
  border: 1px solid var(--rfegl-line);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rfegl-related-item:hover {
  border-color: #b7d5d0;
  box-shadow: 0 10px 24px rgba(5, 111, 101, .1);
  transform: translateY(-1px);
}
.rfegl-related-item img {
  width: 96px; height: 78px; object-fit: cover; border-radius: 10px;
  display: block;
}
.rfegl-related-item h4 {
  margin: 0 0 .35rem; font-size: .92rem; line-height: 1.35; font-weight: 750;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rfegl-related-item h4 a:hover { color: var(--rfegl); }
.rfegl-related-item span {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  color: var(--rfegl); text-transform: uppercase;
}
.rfegl-article-back {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px solid var(--rfegl-line);
}

/* ===== À propos pro ===== */
.about-pro-intro { padding: 3.5rem 0 2rem; background: #fff; }
.about-pro-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.25rem; align-items: center;
}
.about-pro-media {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: .85rem;
}
.about-pro-media img {
  width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 14px;
}
.about-pro-media .tall { min-height: 340px; grid-row: span 2; }
.about-pro-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem;
}
.about-stat {
  background: var(--rfegl-soft); border-radius: 12px; padding: 1rem 1.1rem;
}
.about-stat strong {
  display: block; font-size: 1.55rem; color: var(--rfegl-dark); font-weight: 800;
}
.about-stat span { color: var(--rfegl-muted); font-size: .88rem; }
.about-priority { padding: 3rem 0; background: var(--rfegl-mint); }
.priority-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.priority-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 14px;
  padding: 1.35rem 1.25rem;
}
.priority-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--rfegl-soft); color: var(--rfegl); margin-bottom: .85rem;
}
.priority-card h4 { margin: 0 0 .45rem; }
.priority-card p { margin: 0; color: var(--rfegl-muted); font-size: .92rem; }

@media (max-width: 1100px) {
  .domains-pro-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rfegl-article-layout { grid-template-columns: 1fr; }
  .rfegl-article-aside { position: static; }
}
@media (max-width: 900px) {
  .vm-grid, .impact-grid, .contact-strip-grid,
  .home-who .about-visual,
  .about-pro-grid { grid-template-columns: 1fr; }
  .home-who .about-visual { min-height: 0; }
  .home-who .about-visual-main { min-height: 260px; }
  .home-who .about-visual-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: 160px; }
  .home-who .about-visual-stack figure { min-height: 150px; }
  .home-domains .domains-row--home { grid-template-columns: 1fr 1fr; }
  .actions-grid, .approach-grid { grid-template-columns: 1fr 1fr; }
  .domains-pro-grid { grid-template-columns: 1fr 1fr; }
  .impact-visual img { min-height: 260px; }
  .priority-grid { grid-template-columns: 1fr; }
  .about-pro-media { grid-template-columns: 1fr 1fr; }
  .about-pro-media .tall { grid-row: auto; min-height: 200px; }
}
@media (max-width: 640px) {
  .actions-grid, .approach-grid, .domains-pro-grid, .values-grid { grid-template-columns: 1fr; }
  .home-who .about-visual-stack { grid-template-columns: 1fr; }
  .home-who-stats { grid-template-columns: 1fr; }
  .home-domains .domains-row--home { grid-template-columns: 1fr; }
  .rfegl-hero-zigzag svg { height: 48px; }
  .rfegl-hero-dots { bottom: 3.2rem; }
}

/* ===== Activités pro ===== */
.activites-intro { padding: 3rem 0 1rem; background: #fff; }
.activites-intro-grid {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: center;
}
.activites-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
}
.activites-stats div {
  background: var(--rfegl-soft); border-radius: 12px; padding: 1rem .85rem; text-align: center;
}
.activites-stats strong {
  display: block; font-size: 1.45rem; color: var(--rfegl-dark); font-weight: 800;
}
.activites-stats span { font-size: .8rem; color: var(--rfegl-muted); }
.activites-pro-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem;
}
.activite-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 10px 28px rgba(11,47,44,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.activite-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11,47,44,.1);
}
.activite-media { position: relative; height: 200px; overflow: hidden; }
.activite-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.activite-card:hover .activite-media img { transform: scale(1.05); }
.activite-tag {
  position: absolute; left: .85rem; bottom: .85rem;
  background: rgba(5,111,101,.92); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px;
}
.activite-body { padding: 1.15rem 1.2rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.activite-body h3 {
  margin: 0 0 .55rem; font-size: 1.05rem; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.activite-body p {
  margin: 0 0 1rem; color: var(--rfegl-muted); font-size: .9rem; flex: 1;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.activite-card.is-featured {
  box-shadow: 0 14px 34px rgba(5,111,101,.14);
  border-color: rgba(5,111,101,.28);
}

/* ===== Équipe pro ===== */
.equipe-pro-sec { padding: 3.5rem 0 4rem; background: #fff; }
.team-pro-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem;
}
.team-pro-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 16px;
  overflow: hidden; text-align: center;
  box-shadow: 0 10px 26px rgba(11,47,44,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-pro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11,47,44,.1);
}
.team-photo { height: 220px; overflow: hidden; background: #e8eeed; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-info { padding: 1.1rem 1rem 1.25rem; }
.team-info h3 { margin: 0 0 .35rem; font-size: 1.02rem; color: var(--rfegl-ink); }
.team-role {
  display: block; color: var(--rfegl); font-size: .84rem; font-weight: 650; margin-bottom: .85rem;
}
.team-social { display: flex; justify-content: center; gap: .45rem; }
.team-social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rfegl-soft); color: var(--rfegl-dark);
  transition: background .2s ease, color .2s ease;
}
.team-social a:hover { background: var(--rfegl); color: #fff; }

/* ===== Actualités pro ===== */
.news-toolbar-pro {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 1rem; margin-bottom: 1.5rem;
}
.news-cats { display: flex; flex-wrap: wrap; gap: .45rem; }
.news-cat-chip {
  border: 1px solid var(--rfegl-line); background: #fff; color: #44514f;
  border-radius: 999px; padding: .4rem .85rem; font: inherit; font-weight: 650;
  font-size: .82rem; cursor: pointer; transition: .2s ease;
}
.news-cat-chip em { font-style: normal; opacity: .65; margin-left: .2rem; }
.news-cat-chip:hover { border-color: var(--rfegl); color: var(--rfegl); }
.news-cat-chip.is-active {
  background: var(--rfegl); color: #fff; border-color: var(--rfegl);
}
.news-featured { margin-bottom: 1.5rem; }
.news-featured-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 12px 32px rgba(11,47,44,.07);
}
.news-featured-card.is-latest {
  border-color: rgba(5,111,101,.35);
  box-shadow: 0 16px 40px rgba(5,111,101,.14);
}
.news-featured-media { position: relative; min-height: 280px; }
.news-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.news-latest-badge {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(5,111,101,.95); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .01em;
  padding: .4rem .75rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(5,111,101,.25);
}
.news-featured-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .9rem;
}
.news-featured-meta .article-date {
  font-size: .82rem; color: var(--rfegl-muted);
}
.news-featured-body { padding: 1.75rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.news-featured-body h3 {
  margin: .55rem 0 .75rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25; color: var(--rfegl-ink);
}
.news-featured-body p { margin: 0 0 1.15rem; color: var(--rfegl-muted); }
.rfegl-article-card .article-meta {
  display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: .55rem;
  font-size: .78rem; color: var(--rfegl-muted);
}

/* ===== Article engage + comments ===== */
.rfegl-engage-bar {
  display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; align-items: center;
  margin: 0 0 1.5rem; padding: .85rem 1rem;
  background: var(--rfegl-mint); border: 1px solid var(--rfegl-line); border-radius: 12px;
}
.rfegl-engage-stat { font-size: .9rem; color: #44514f; }
.rfegl-engage-stat i, .rfegl-like-btn i { color: var(--rfegl); margin-right: .3rem; }
.rfegl-like-btn {
  border: 0; background: #fff; color: var(--rfegl-dark);
  border-radius: 999px; padding: .45rem .9rem; font: inherit; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 12px rgba(5,111,101,.1);
}
.rfegl-like-btn.is-liked, .rfegl-like-btn:disabled {
  background: var(--rfegl); color: #fff; cursor: default;
}
.rfegl-like-btn.is-liked i { color: #fff; }
.rfegl-comments {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rfegl-line);
}
.rfegl-comments h3 { margin: 0 0 .55rem; font-size: 1.2rem; }
.rfegl-comment-mod-note {
  margin: 0 0 1rem; padding: .65rem .85rem; border-radius: 10px;
  background: #eef7f5; border: 1px solid var(--rfegl-line);
  color: #44514f; font-size: .86rem; display: flex; gap: .45rem; align-items: flex-start;
}
.rfegl-comment-mod-note i { color: var(--rfegl); margin-top: .15rem; }
.rfegl-comment-feedback {
  margin: 0 0 1rem; padding: .75rem .9rem; border-radius: 10px; font-size: .9rem;
  display: flex; gap: .45rem; align-items: flex-start;
}
.rfegl-comment-feedback.is-ok { background: #e8f8f0; border: 1px solid #b7e4cc; color: #0f5c3a; }
.rfegl-comment-feedback.is-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.rfegl-reply-banner {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  margin-bottom: .75rem; padding: .55rem .75rem; border-radius: 10px;
  background: var(--rfegl-soft); border: 1px solid var(--rfegl-line); font-size: .88rem;
}
.rfegl-reply-cancel {
  border: 0; background: #fff; color: var(--rfegl); font: inherit; font-weight: 700;
  padding: .3rem .65rem; border-radius: 8px; cursor: pointer;
}
.rfegl-comment-thread { margin-bottom: 1rem; }
.rfegl-comment-item {
  background: #f8fbfa; border: 1px solid var(--rfegl-line); border-radius: 12px;
  padding: 1rem 1.1rem; margin-bottom: .55rem;
}
.rfegl-comment-item.is-reply {
  background: #fff; margin-left: 1.25rem; border-left: 3px solid var(--rfegl);
}
.rfegl-comment-replies { display: grid; gap: .35rem; }
.rfegl-comment-head {
  display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .45rem;
  font-size: .88rem;
}
.rfegl-comment-head span { color: var(--rfegl-muted); }
.rfegl-comment-item p { margin: 0 0 .65rem; color: #333; line-height: 1.6; }
.rfegl-comment-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.rfegl-comment-like, .rfegl-comment-reply-btn {
  border: 0; background: transparent; color: var(--rfegl); font: inherit;
  font-size: .85rem; font-weight: 700; cursor: pointer; padding: 0;
}
.rfegl-comment-like.is-liked { opacity: .75; cursor: default; }
.rfegl-comment-reply-btn:hover { text-decoration: underline; }
.rfegl-comment-form {
  margin-top: 1.25rem; background: #fff; border: 1px solid var(--rfegl-line);
  border-radius: 14px; padding: 1.15rem;
}
.rfegl-comment-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem;
}
.rfegl-comment-form input,
.rfegl-comment-form textarea {
  width: 100%; border: 1px solid var(--rfegl-line); border-radius: 10px;
  padding: .75rem .9rem; font: inherit; margin-bottom: .75rem;
}
.rfegl-comment-hint { margin: .65rem 0 0; font-size: .8rem; color: var(--rfegl-muted); }
.rfegl-comments-empty { color: var(--rfegl-muted); }

@media (max-width: 1100px) {
  .activites-pro-grid, .team-pro-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .activites-intro-grid, .news-featured-card { grid-template-columns: 1fr; }
  .rfegl-comment-fields { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .activites-pro-grid, .team-pro-grid, .activites-stats { grid-template-columns: 1fr; }
}

/* ===== Domaines page pro ===== */
.domaines-intro { padding: 3.5rem 0 2rem; background: #fff; }
.domaines-intro-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
}
.domaines-intro-visual img {
  width: 100%; min-height: 280px; object-fit: cover; border-radius: 16px;
  box-shadow: 0 14px 34px rgba(11,47,44,.12);
}
.domaines-page-sec { padding: 1rem 0 3.5rem; background: var(--rfegl-mint); }
.domaines-media-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.35rem;
}
.domaine-media-card {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 0;
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 10px 28px rgba(11,47,44,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.domaine-media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11,47,44,.1);
}
.domaine-media-card--wide { grid-column: 1 / -1; grid-template-columns: .7fr 1.3fr; }
.domaine-media { position: relative; min-height: 220px; }
.domaine-media img { width: 100%; height: 100%; object-fit: cover; }
.domaine-num {
  position: absolute; top: .85rem; left: .85rem;
  background: rgba(5,111,101,.92); color: #fff;
  font-weight: 800; font-size: .85rem; padding: .35rem .65rem; border-radius: 8px;
}
.domaine-body { padding: 1.35rem 1.35rem 1.5rem; }
.domaine-body .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: .75rem;
  display: grid; place-items: center; background: var(--rfegl-soft); color: var(--rfegl);
}
.domaine-body h3 { margin: 0 0 .55rem; font-size: 1.15rem; color: var(--rfegl-ink); }
.domaine-body > p { margin: 0 0 .85rem; color: var(--rfegl-muted); font-size: .92rem; line-height: 1.6; }
.domaine-points { display: grid; gap: .35rem; margin: 0; padding: 0; }
.domaine-points li {
  position: relative; padding-left: 1.15rem; font-size: .86rem; color: #44514f; font-weight: 600;
}
.domain-articles-sec {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, #f4f7f6 0%, #fff 55%);
}
.domain-articles-sec .section-title p {
  max-width: 36rem;
  margin: .55rem auto 0;
  color: var(--rfegl-muted, #5B6470);
  font-size: .95rem;
}
.domain-articles-sec .news-grid {
  margin-top: .5rem;
}
.domaine-points li::before {
  content: ""; position: absolute; left: 0; top: .45rem;
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--rfegl);
}
.domaines-cta {
  margin-top: 2rem; padding: 1.5rem 1.75rem; border-radius: 16px;
  background: linear-gradient(135deg, var(--rfegl-dark), var(--rfegl)); color: #fff;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
}
.domaines-cta h3 { margin: 0 0 .35rem; color: #fff; }
.domaines-cta p { margin: 0; opacity: .92; }
.domaines-cta .theme-btn.style-one { background: #fff; color: var(--rfegl); }
.domaines-cta .theme-btn.style-two { border-color: rgba(255,255,255,.55); color: #fff; }

@media (max-width: 900px) {
  .domaines-intro-grid, .domaines-media-grid,
  .domaine-media-card, .domaine-media-card--wide { grid-template-columns: 1fr; }
  .domaine-media { min-height: 180px; }
}

/* ===== Donation page ===== */
.donation-page-pro { padding: 2.75rem 0 4rem; background: #f5f7f7; }
.donation-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 1.5rem; align-items: start; margin-bottom: 3.5rem;
}
.donation-story {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 36px rgba(11, 47, 44, .06);
}
.donation-story-media { aspect-ratio: 16 / 10; background: var(--rfegl-dark); }
.donation-story-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.donation-story-body { padding: 1.5rem 1.5rem 1.75rem; }
.donation-story-body h2 {
  margin: 0 0 .75rem; font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.3; color: var(--rfegl-ink);
}
.donation-intro { margin: 0 0 1.25rem; color: var(--rfegl-muted); line-height: 1.65; }
.donation-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.donation-mv { margin: 0; padding: 1rem; background: var(--rfegl-mint); border: 1px solid var(--rfegl-line); border-radius: 12px; }
.donation-mv .icon {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: .55rem;
  display: grid; place-items: center; background: #fff; color: var(--rfegl);
}
.donation-mv h4 { margin: 0 0 .35rem; font-size: .95rem; }
.donation-mv p { margin: 0; font-size: .82rem; color: var(--rfegl-muted); line-height: 1.5; }

.donation-form-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 18px 40px rgba(5, 111, 101, .1);
  position: sticky; top: 5.5rem;
}
.donation-form-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; margin-bottom: 1.15rem;
}
.donation-form-header h3 {
  margin: 0; font-size: 1.05rem; color: var(--rfegl-ink); display: flex; align-items: center; gap: .45rem;
}
.donation-form-header h3 i { color: var(--rfegl); font-size: .9rem; }
.donation-steps-dots { display: flex; gap: .4rem; }
.donation-steps-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: #c9d8d5;
  transition: background .2s, transform .2s;
}
.donation-steps-dots span.is-active { background: var(--rfegl); transform: scale(1.2); }
.donation-steps-dots span.is-done { background: #7bb8b1; }

.donation-label {
  margin: 0 0 .55rem; font-size: .78rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: #5a6b68;
}
.donation-freq {
  display: grid; grid-template-columns: 1fr 1fr; gap: .45rem;
  margin-bottom: 1rem; padding: .3rem; background: #f1f5f4; border-radius: 999px;
}
.donation-freq-btn {
  border: 0; background: transparent; border-radius: 999px;
  padding: .65rem .5rem; font: inherit; font-weight: 700; color: #556; cursor: pointer;
}
.donation-freq-btn.is-active {
  background: var(--rfegl); color: #fff;
  box-shadow: 0 6px 16px rgba(5, 111, 101, .25);
}
.donation-amounts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .75rem;
}
.donation-amount-btn {
  border: 1px solid var(--rfegl-line); background: #fff; border-radius: 10px;
  padding: .7rem .4rem; font: inherit; font-weight: 800; color: var(--rfegl-ink); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.donation-amount-btn:hover { border-color: #b7d5d0; }
.donation-amount-btn.is-active {
  background: var(--rfegl); color: #fff; border-color: var(--rfegl);
}
.donation-custom-wrap {
  position: relative; margin-bottom: 1.1rem;
}
.donation-custom-wrap .currency {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  font-weight: 800; color: var(--rfegl);
}
.donation-custom, .donation-input {
  width: 100%; border: 1px solid var(--rfegl-line); border-radius: 10px;
  padding: .8rem .95rem; font: inherit; background: #fff; color: var(--rfegl-ink);
}
.donation-custom { padding-left: 1.85rem; }
.donation-custom:focus, .donation-input:focus {
  outline: 0; border-color: var(--rfegl); box-shadow: 0 0 0 3px rgba(5, 111, 101, .12);
}
.donation-textarea { resize: vertical; min-height: 84px; margin-top: .55rem; }
.donation-fields { display: grid; gap: .55rem; }

.donation-cats {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem;
}
.donation-cat-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 1px solid var(--rfegl-line); background: #fff; border-radius: 999px;
  padding: .4rem .7rem; font: inherit; font-size: .78rem; font-weight: 700;
  color: #44514f; cursor: pointer;
}
.donation-cat-btn i { color: var(--rfegl); font-size: .75rem; }
.donation-cat-btn.is-active {
  background: var(--rfegl); color: #fff; border-color: var(--rfegl);
}
.donation-cat-btn.is-active i { color: #fff; }

.donation-project-select {
  display: grid; gap: .55rem; max-height: 220px; overflow: auto;
  margin-bottom: 1rem; padding-right: .15rem;
}
.donation-project-opt {
  display: grid; grid-template-columns: 64px 1fr; gap: .7rem; text-align: left;
  border: 1px solid var(--rfegl-line); background: #fff; border-radius: 12px;
  padding: .55rem; cursor: pointer; font: inherit; color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.donation-project-opt img {
  width: 64px; height: 56px; object-fit: cover; border-radius: 8px;
}
.donation-project-opt-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.donation-project-opt strong {
  font-size: .86rem; line-height: 1.3; color: var(--rfegl-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.donation-project-opt em {
  font-style: normal; font-size: .72rem; color: var(--rfegl-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.donation-mini-bar {
  display: block; height: 4px; background: #e4eeec; border-radius: 99px; overflow: hidden; margin-top: .2rem;
}
.donation-mini-bar i { display: block; height: 100%; background: var(--rfegl); }
.donation-mini-meta { font-size: .68rem; color: #667774; font-weight: 650; }
.donation-project-opt.is-active {
  border-color: var(--rfegl);
  box-shadow: 0 0 0 3px rgba(5, 111, 101, .12);
}

.donation-form .theme-btn { width: 100%; justify-content: center; }
.donation-nav-row {
  display: grid; grid-template-columns: .9fr 1.3fr; gap: .55rem; margin-top: .35rem;
}
.donation-nav-row .theme-btn { width: 100%; }

.donation-pay-methods { display: grid; gap: .55rem; margin-bottom: 1rem; }
.donation-pay-btn {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center;
  text-align: left; border: 1px solid var(--rfegl-line); background: #fff;
  border-radius: 12px; padding: .7rem .8rem; cursor: pointer; font: inherit;
}
.donation-pay-btn strong { display: block; font-size: .9rem; color: var(--rfegl-ink); }
.donation-pay-btn em { display: block; font-style: normal; font-size: .75rem; color: var(--rfegl-muted); }
.donation-pay-btn.is-active {
  border-color: var(--rfegl); box-shadow: 0 0 0 3px rgba(5, 111, 101, .12);
}
.pay-icon {
  display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
  min-width: 64px; height: 36px; border-radius: 8px; font-size: .72rem; font-weight: 800;
  padding: 0 .45rem;
}
.pay-visa { background: #1a1f71; color: #fff; font-size: 1.15rem; gap: .35rem; }
.pay-mpesa { background: #e60000; color: #fff; }
.pay-airtel { background: #ed1c24; color: #fff; }
.pay-orange { background: #ff7900; color: #fff; }

.donation-pay-detail { margin-bottom: 1rem; }
.donation-mm-accounts {
  margin-top: .65rem; display: grid; gap: .35rem;
}
.donation-mm-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: .5rem; align-items: center;
  padding: .55rem .7rem; background: var(--rfegl-mint); border-radius: 8px; font-size: .8rem;
}
.donation-mm-row strong { color: var(--rfegl-ink); }
.donation-mm-row span { font-weight: 750; color: var(--rfegl); }
.donation-mm-row em { font-style: normal; color: var(--rfegl-muted); }

.donation-summary {
  background: #f7faf9; border: 1px solid var(--rfegl-line); border-radius: 12px;
  padding: .85rem .95rem; margin-bottom: .85rem;
}
.donation-summary-row {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .3rem 0; font-size: .88rem; color: #556;
}
.donation-summary-row strong { color: var(--rfegl-ink); text-align: right; }
.donation-trust {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  margin-bottom: .95rem; color: #6a7774; font-size: 1.35rem;
}
.mm-pill {
  font-size: .68rem; font-weight: 800; padding: .28rem .5rem; border-radius: 6px; color: #fff;
}
.mm-pill.mpesa { background: #e60000; }
.mm-pill.airtel { background: #ed1c24; }
.mm-pill.orange { background: #ff7900; }

.donation-success { text-align: center; padding: 1.5rem .5rem; }
.donation-success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; background: #e7f6f3; color: var(--rfegl); font-size: 1.8rem;
}
.donation-success h4 { margin: 0 0 .5rem; font-size: 1.25rem; }
.donation-success p { margin: 0 0 1.25rem; color: var(--rfegl-muted); }

.donation-projects-sec { padding-top: .5rem; }
.donation-project-filters {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.35rem;
}
.donation-projects-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem;
}
.donation-project-card {
  background: #fff; border: 1px solid var(--rfegl-line); border-radius: 16px; overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.donation-project-card:hover {
  box-shadow: 0 16px 36px rgba(5, 111, 101, .12);
  transform: translateY(-2px);
}
.donation-project-thumb { position: relative; aspect-ratio: 16 / 10; background: #e8eeed; }
.donation-project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.donation-badge {
  position: absolute; left: .75rem; top: .75rem;
  padding: .28rem .6rem; border-radius: 999px;
  background: rgba(11, 47, 44, .85); color: #fff;
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
}
.donation-project-body { padding: 1.1rem 1.1rem 1.25rem; }
.donation-project-body h3 {
  margin: 0 0 .45rem; font-size: 1.05rem; line-height: 1.35; color: var(--rfegl-ink);
}
.donation-project-body > p {
  margin: 0 0 .85rem; color: var(--rfegl-muted); font-size: .88rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.donation-progress {
  height: 7px; background: #e5eeec; border-radius: 99px; overflow: hidden; margin-bottom: .45rem;
}
.donation-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--rfegl-dark), #00a574); }
.donation-progress-meta {
  display: flex; justify-content: space-between; gap: .5rem;
  margin-bottom: .95rem; font-size: .8rem; color: #667774;
}
.donation-progress-meta strong { color: var(--rfegl); }
.donation-support-btn { width: 100%; justify-content: center; }

@media (max-width: 1100px) {
  .donation-layout { grid-template-columns: 1fr; }
  .donation-form-card { position: static; }
  .donation-projects-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .donation-mv-grid, .donation-amounts { grid-template-columns: 1fr 1fr; }
  .donation-projects-grid { grid-template-columns: 1fr; }
  .donation-nav-row { grid-template-columns: 1fr; }
}



/* Domain detail pages */
.domain-detail-sec { padding: 4rem 0 2rem; }
.domain-detail-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: start;
}
.domain-detail-media img {
  width: 100%; height: 420px; object-fit: cover; border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.domain-detail-body .lead-text {
  color: var(--rfegl-muted); line-height: 1.75; font-size: 1rem; margin: 0 0 1.25rem;
}
.domain-detail-points { margin-bottom: 1.5rem; }
.domain-detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 991px) {
  .domain-detail-grid { grid-template-columns: 1fr; }
  .domain-detail-media img { height: 280px; }
}

/* Charte — signature communication */
.rfegl-tagline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .55rem;
  margin: .65rem 0 0;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--rfegl);
}
.rfegl-tagline span { opacity: .55; font-weight: 500; }
.footer-about .rfegl-tagline { color: #9fd9c4; }
.footer-about .rfegl-slogan {
  margin: .35rem 0 .75rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  font-style: italic;
  color: #c8e8dc;
}
.header-area {
  border-bottom: 1px solid var(--rfegl-line);
}
.main-menu > ul > li.active > a,
.main-menu > ul > li > a:hover { color: var(--rfegl-dark); }
.rfegl-about-sec.home-who,
.rfegl-service-sec,
.rfegl-partners-sec { background: var(--rfegl-surface); }

/* ===== Contact page pro ===== */
.contact-page-pro { padding: 3.25rem 0 2.5rem; background: var(--rfegl-mint); }
.contact-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}
.contact-intro-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.contact-intro-copy .sub-title { display: inline-block; margin-bottom: .55rem; }
.contact-intro-copy h2 {
  margin: 0 0 .75rem; font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  color: var(--rfegl-ink); font-weight: 800; letter-spacing: -.02em;
}
.contact-detail-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
  flex: 1;
  align-content: start;
}
.contact-detail-item {
  display: flex; gap: .95rem; align-items: flex-start; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--rfegl-line); padding: 1rem 1.1rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-detail-item:hover {
  border-color: color-mix(in srgb, var(--rfegl) 45%, var(--rfegl-line));
  box-shadow: 0 12px 28px rgba(5,111,101,.1);
  transform: translateY(-1px);
}
.contact-detail-item.is-static { cursor: default; }
.contact-detail-item.is-static:hover { transform: none; box-shadow: none; }
.cd-icon {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--rfegl-soft); color: var(--rfegl);
}
.cd-label { display: block; font-size: .78rem; color: var(--rfegl-muted); font-weight: 600; margin-bottom: .15rem; }
.cd-body strong { display: block; font-size: .95rem; color: var(--rfegl-ink); font-weight: 700; line-height: 1.35; word-break: break-word; }
.contact-form-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--rfegl-line);
  padding: 1.6rem 1.7rem;
  box-shadow: 0 16px 40px rgba(11,47,44,.06);
}
.contact-form-panel h3 {
  margin: 0 0 .4rem; font-size: 1.4rem; color: var(--rfegl-ink); font-weight: 800;
}
.contact-form-panel .contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.contact-form-panel .input-message {
  flex: 1;
  min-height: 140px;
}
.contact-form-panel .btn-send {
  margin-top: auto;
}

.contact-support-sec { padding: 3.5rem 0; background: #fff; }
.contact-support-lead,
.contact-support-together {
  max-width: 46rem; margin: 0 auto 1rem; text-align: center;
  color: var(--rfegl-muted); line-height: 1.7;
}
.contact-support-together {
  margin-top: 1.5rem; margin-bottom: 1.35rem;
  color: var(--rfegl-ink); font-weight: 700;
}
.contact-pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.contact-pillar {
  background: var(--rfegl-mint); border: 1px solid var(--rfegl-line);
  padding: 1.35rem 1.2rem; text-align: center;
  transition: border-color .2s, background .2s, transform .2s;
}
.contact-pillar:hover {
  border-color: var(--rfegl); background: #fff; transform: translateY(-2px);
}
.contact-pillar i {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto .85rem;
  border-radius: 50%; background: var(--rfegl); color: #fff; font-size: 1.1rem;
}
.contact-pillar h4 {
  margin: 0; font-size: 1rem; color: var(--rfegl-ink); font-weight: 750; line-height: 1.35;
}

.contact-partner-cta { padding: 1rem 0 3.5rem; background: #fff; }
.contact-partner-panel {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 0; overflow: hidden; border: 1px solid var(--rfegl-line);
  background: linear-gradient(135deg, #034f48 0%, #056f65 55%, #0a8a7d 100%);
  color: #fff;
}
.contact-partner-copy { padding: 2rem 2.1rem; }
.contact-partner-copy .sub-title {
  background: rgba(255,255,255,.14); color: #fff; padding: .3rem .75rem; border-radius: 999px;
  display: inline-block; font-size: .78rem; margin-bottom: .75rem;
}
.contact-partner-copy h2 {
  margin: 0 0 .45rem; font-size: clamp(1.5rem, 2.5vw, 2rem); color: #fff; font-weight: 800;
}
.contact-partner-tagline {
  margin: 0 0 1rem; font-size: 1.05rem; font-weight: 600; opacity: .95;
}
.contact-partner-copy p { margin: 0 0 .85rem; line-height: 1.65; opacity: .92; }
.contact-partner-copy .rfegl-button-box { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.contact-partner-copy .theme-btn.style-one { background: #fff; color: var(--rfegl); }
.contact-partner-copy .theme-btn.style-two {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55);
}
.contact-partner-copy .theme-btn.style-two:hover { background: rgba(255,255,255,.12); }
.contact-partner-aside { position: relative; min-height: 280px; }
.contact-partner-aside img {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px;
}
.contact-partner-quote {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(3, 79, 72, .88); backdrop-filter: blur(6px);
  padding: 1rem 1.1rem; color: #fff;
}
.contact-partner-quote strong { display: block; font-size: 1rem; margin-bottom: .35rem; }
.contact-partner-quote span { font-size: .88rem; line-height: 1.5; opacity: .95; }

.contact-map-sec { padding: 3rem 0 0; background: var(--rfegl-bg); }
.contact-offices-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem;
}
.contact-office-card {
  text-align: left; cursor: pointer; border: 1px solid var(--rfegl-line);
  background: #fff; padding: 1.25rem 1.35rem; font: inherit; color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-office-card:hover,
.contact-office-card.active {
  border-color: var(--rfegl);
  box-shadow: 0 14px 32px rgba(5,111,101,.12);
}
.contact-office-card.active { transform: translateY(-2px); }
.contact-office-card h4 {
  margin: 0 0 .55rem; font-size: 1.1rem; color: var(--rfegl); font-weight: 800;
}
.contact-office-card h4 i { margin-right: .35rem; }
.contact-office-card > p { margin: 0 0 .9rem; color: var(--rfegl-muted); font-size: .92rem; }
.contact-office-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.contact-office-card li {
  display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: #333; line-height: 1.45;
}
.contact-office-card li i { color: var(--rfegl); margin-top: .2rem; flex: 0 0 auto; }
.office-map-hint {
  display: inline-block; margin-top: 1rem; font-size: .82rem; font-weight: 700; color: var(--rfegl);
}
.contact-map-stage {
  width: 100%; height: clamp(420px, 58vh, 640px); background: #dfe8e6;
  border-top: 1px solid var(--rfegl-line);
}
.contact-map-stage iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1024px) {
  .contact-intro-grid,
  .contact-partner-panel,
  .contact-offices-row { grid-template-columns: 1fr; }
  .contact-pillars { grid-template-columns: 1fr 1fr; }
  .contact-map-stage { height: min(70vh, 520px); }
}
@media (max-width: 640px) {
  .contact-pillars { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 1.25rem; }
  .contact-partner-copy { padding: 1.5rem 1.25rem; }
}

/* Footer mail / webmail — liens sans soulignement */
.default-footer .rfegl-info-box a,
.default-footer .rfegl-info-box a:hover,
.default-footer .rfegl-info-box a:focus,
.rfegl-webmail-link,
.rfegl-webmail-link:hover,
.rfegl-webmail-link:focus {
  color: inherit;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.default-footer .rfegl-info-box a:hover,
.rfegl-webmail-link:hover {
  color: #9fd9c4 !important;
  opacity: .95;
}
.rfegl-webmail-box { margin-top: .35rem; }
.rfegl-webmail-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700 !important; color: #9fd9c4 !important;
}
.rfegl-webmail-link::after { content: "↗"; font-size: .75em; opacity: .85; }

/* Contact / bureaux — mails & tél sans soulignement */
.contact-page-pro a,
.contact-detail-item,
.contact-detail-item:hover,
.contact-detail-item strong,
.contact-office-card a,
.contact-office-card a:hover,
.check-list.style-one a,
.check-list.style-one a:hover,
.rfegl-cn-info a,
.rfegl-cn-info a:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}
.contact-office-card a,
.check-list.style-one a {
  color: var(--rfegl);
  font-weight: 650;
}
.contact-office-card a:hover,
.check-list.style-one a:hover {
  color: var(--rfegl-dark);
  opacity: .9;
}
.contact-detail-item:hover .cd-body strong {
  color: var(--rfegl);
}

/* SPA premium loader */
.rfegl-spa-loader {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  background: var(--rfegl-loader-backdrop, rgba(11, 47, 44, 0.42));
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.rfegl-spa-loader.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.rfegl-spa-loader-card {
  text-align: center; min-width: 168px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(5,111,101,.14);
  padding: 1.35rem 1.55rem 1.2rem;
  box-shadow: 0 18px 48px rgba(11,47,44,.22);
}
.rfegl-spa-loader-orbit {
  width: 72px; height: 72px; margin: 0 auto .85rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e8f4f2, #fff 70%);
  border: 2px solid rgba(5,111,101,.18);
  box-shadow: inset 0 0 0 4px rgba(5,111,101,.06);
}
.rfegl-spa-loader-logo {
  width: 44px; height: 44px; object-fit: contain; display: block;
  border-radius: 50%;
}
.rfegl-spa-loader.is-spin .rfegl-spa-loader-logo {
  animation: rfeglLoaderSpin .9s linear infinite;
}
.rfegl-spa-loader-brand {
  margin: 0 0 .2rem; font-size: .95rem; font-weight: 800;
  letter-spacing: .04em; color: var(--rfegl-dark, #045a52);
}
.rfegl-spa-loader-text {
  margin: 0; font-size: .82rem; font-weight: 600; color: #667774;
}
@keyframes rfeglLoaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
#rfegl-page-content.rfegl-content-loading {
  opacity: .55; filter: blur(1.5px);
  transition: opacity .15s ease, filter .15s ease;
  pointer-events: none;
}
html.rfegl-spa-loading { cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  .rfegl-spa-loader.is-spin .rfegl-spa-loader-logo { animation: none; }
  .rfegl-spa-loader { transition: none; }
  .rfegl-hero .slide-image,
  .rfegl-hero .slide-image img,
  .rfegl-hero .rfegl-slide { transition: none !important; animation: none !important; }
}

/* Performance / Lighthouse */
.home-domains,
.home-news,
.partners-marquee-sec,
.rfegl-counter-sec,
.default-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}
.rfegl-hero .slide-overlay {
  will-change: auto;
}
.rfegl-hero .rfegl-slide:not(.is-active) {
  content-visibility: hidden;
}
.rfegl-hero .rfegl-slide.is-active {
  content-visibility: visible;
}
img[loading="lazy"] { content-visibility: auto; }
.navbar-toggler {
  min-width: 44px; min-height: 44px;
}
.main-menu > ul > li > a {
  min-height: 40px;
}
.rfegl-lang-trigger .rfegl-lang-label {
  color: #fff;
}
