/* FAEP — Page Accueil */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --faep-green: #007040;
  --faep-green-light: #04ad65;
  --faep-green-bright: #00e583;
  --faep-green-accent: #0fb76f;
  --faep-dark: #212729;
  --faep-dark-card: rgba(33, 39, 41, 0.85);
  --faep-bg: #237b55;
  --white: #ffffff;
  --shadow: 0 16px 32px -8px rgba(12, 12, 13, 0.4);
  --max-width: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--faep-bg);
  color: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ─── Navbar ─── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1rem 0;
}

.navbar__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 54px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 60px;
  box-shadow: inset 0 16px 32px rgba(12, 12, 13, 0.4);
  padding: 0.25rem 1rem 0.25rem 0.5rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 1;
  min-width: 0;
  color: var(--white);
  text-decoration: none;
}

.navbar__logo {
  width: 53px;
  height: 53px;
  flex-shrink: 0;
  object-fit: contain;
}

.navbar__title {
  font-size: clamp(0.65rem, 1.15vw, 1.05rem);
  font-weight: 600;
  line-height: 1.15;
  max-width: min(320px, 28vw);
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: clamp(0.5rem, 2vw, 2rem);
  padding-right: 0.5rem;
}

.navbar__links a {
  font-size: clamp(0.7rem, 1.5vw, 1.5rem);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.navbar__links a:hover,
.navbar__links a.active,
.navbar__dropdown-toggle:hover,
.navbar__dropdown:hover .navbar__dropdown-toggle,
.navbar__dropdown.open .navbar__dropdown-toggle,
.navbar__dropdown-toggle.active {
  color: var(--faep-green-bright);
}

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: clamp(0.7rem, 1.5vw, 1.5rem);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  max-width: min(92vw, 22rem);
  background: rgba(0, 0, 0, 0.95);
  border-radius: 16px;
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
  z-index: 110;
}

.navbar__dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  white-space: normal;
  line-height: 1.35;
}

.navbar__dropdown--presse .navbar__dropdown-menu {
  min-width: min(92vw, 20rem);
}

.navbar__dropdown-menu a:hover,
.navbar__dropdown-menu a.active {
  background: rgba(0, 229, 131, 0.1);
}

.navbar__dropdown.open .navbar__dropdown-menu {
  display: block;
}

@media (min-width: 769px) {
  .navbar__dropdown:hover .navbar__dropdown-menu,
  .navbar__dropdown:focus-within .navbar__dropdown-menu {
    display: block;
  }

  .navbar__dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
  }
}

.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  width: 100%;
  height: clamp(400px, 56vw, 815px);
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(35, 123, 85, 0.6) 100%
  );
}

/* ─── Stats ─── */

.home-keyfigures {
  position: relative;
  margin-top: -2rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)),
    url('../photos/fond.png') center / cover no-repeat;
}

.stats {
  position: relative;
  padding: 3rem 1.5rem 2rem;
}

.stats__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  background: var(--faep-dark-card);
  border: 5px solid var(--faep-green);
  border-radius: 60px;
  box-shadow: var(--shadow);
  padding: 2.5rem 1.5rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-card__number {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--faep-green-light);
  line-height: 1;
}

.stat-card__label {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--faep-green-light);
  margin-top: 0.5rem;
  line-height: 1.15;
}

.stat-card__number--sm {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.stat-card__label--long {
  font-size: clamp(1rem, 2vw, 1.75rem);
  max-width: 95%;
}

a.stat-card--link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

a.stat-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 229, 131, 0.15);
}

a.feature-section {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.feature-section:focus-visible {
  outline: 3px solid var(--faep-green-bright);
  outline-offset: 4px;
}

/* ─── Ruche des assos adhérentes ─── */

.assos-hive {
  position: relative;
  padding: 0 0 2.5rem;
}

.assos-hive__frame {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
}

.assos-hive__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

.assos-hive__arrow {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--faep-green-light);
  border-radius: 0;
  background: var(--faep-dark);
  color: var(--faep-green-light);
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.assos-hive__arrow:hover:not(:disabled) {
  background: var(--faep-green);
  color: var(--white);
}

.assos-hive__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.assos-hive__spacer {
  width: 3600px;
  height: calc(900px * (100vw / 3600));
}

.assos-hive__canvas {
  position: relative;
  width: 3600px;
  height: 900px;
  transform: scale(calc(100vw / 3600));
  transform-origin: top left;
}

.asso-card {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--faep-dark-card);
  border: 3px solid var(--faep-green-light);
  border-radius: 0;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.asso-card__name {
  flex-shrink: 0;
  padding: 0.65rem 0.85rem 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--faep-green-light);
  line-height: 1.1;
  text-align: left;
}

.asso-card__logo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.25rem 1rem;
  background: transparent;
  min-height: 0;
}

.asso-card__logo {
  width: 100%;
  height: 100%;
  max-width: 220px;
  max-height: 200px;
  object-fit: contain;
  background: transparent;
}

/* ─── Sections plein écran ─── */

.feature-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-section__bg,
.feature-section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-section__bg {
  opacity: 0.77;
}

.feature-section__video {
  opacity: 0.77;
}

.feature-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.feature-section--agorae {
  min-height: 663px;
}

.feature-section--jae {
  min-height: 710px;
}

.pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 6rem);
  color: var(--faep-green-light);
  text-align: center;
  line-height: 1.1;
}

.pill--gradient {
  background: linear-gradient(135deg, #27c485, #219161);
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 4rem);
  padding: 1.25rem 4rem;
  min-width: 280px;
  box-shadow: var(--shadow);
}

.pill--agorae {
  background: linear-gradient(135deg, #27c485, #007040);
  color: var(--white);
  padding: 1.5rem 4rem;
  min-width: 300px;
  box-shadow: var(--shadow);
}

.pill--outline {
  background: var(--faep-dark);
  border: 1px solid var(--faep-green-light);
  padding: 1.5rem 4rem;
}

/* ─── Cartes projets ─── */

.projects-area {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)),
    url('../photos/fond.png') center / cover no-repeat;
  padding: 3rem 1.5rem 5rem;
  overflow: hidden;
}

.projects-area__title {
  position: relative;
  z-index: 2;
  display: flex;
  margin: 0 auto 2.5rem;
  width: fit-content;
  font-size: clamp(1.5rem, 4vw, 4rem);
}

.projects-area__mascot {
  position: absolute;
  left: -2rem;
  bottom: 4rem;
  width: clamp(160px, 22vw, 320px);
  z-index: 3;
  pointer-events: none;
}

.projects-cards {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  border-radius: 40px 40px 60px 60px;
  overflow: hidden;
  position: relative;
}

.project-card__header {
  background: var(--faep-dark);
  border: 1px solid var(--faep-green-light);
  border-radius: 60px;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-size: clamp(1rem, 2vw, 2.25rem);
  font-weight: 700;
  color: var(--faep-green-light);
  margin-bottom: -2rem;
  position: relative;
  z-index: 2;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.project-card__image {
  width: 100%;
  aspect-ratio: 396 / 495;
  object-fit: cover;
  border-radius: 40px 40px 60px 60px;
}

/* ─── Footer (Figma: 1440×995) ─── */

.footer {
  position: relative;
  padding: 0 1.25rem 1rem;
  margin-top: -1rem;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 9%, var(--faep-green) 100%);
  border-radius: 60px;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  position: relative;
  overflow: visible;
}

.footer__title {
  font-size: clamp(2rem, 8.9vw, 8rem);
  font-weight: 700;
  text-align: center;
  line-height: 1;
  background: linear-gradient(to bottom, var(--faep-green-bright), #077d4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: clamp(0.35rem, 1vw, 0.65rem);
}

.footer__columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  align-items: center;
  margin-bottom: 0;
}

.footer__heading {
  font-size: clamp(1.125rem, 3.33vw, 3rem);
  font-weight: 700;
  color: var(--faep-green-accent);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__social-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: clamp(0.875rem, 1.94vw, 1.75rem);
  font-weight: 700;
  transition: color 0.2s;
}

.footer__social-item:hover {
  color: var(--faep-green-bright);
}

.footer__social-icon {
  width: clamp(36px, 6.9vw, 50px);
  height: clamp(36px, 6.9vw, 50px);
  object-fit: contain;
  flex-shrink: 0;
}

.footer__logo {
  width: clamp(90px, 14vw, 180px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.footer__contact {
  text-align: center;
}

.footer__contact p {
  font-size: clamp(0.9rem, 2.78vw, 2.5rem);
  font-weight: 700;
  color: var(--faep-green-accent);
  margin-bottom: 0.25rem;
  line-height: 1.15;
}

.footer__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(0.875rem, 1.94vw, 1.75rem);
  font-weight: 700;
  transition: color 0.2s;
}

.footer__email:hover {
  color: var(--faep-green-bright);
}

.footer__email-icon {
  width: clamp(32px, 4.5vw, 44px);
  height: clamp(32px, 4.5vw, 44px);
  object-fit: contain;
  flex-shrink: 0;
}

.footer__team-wrap {
  width: min(100%, 656px);
  margin: clamp(0.15rem, 0.5vw, 0.35rem) auto clamp(0.5rem, 1.5vw, 1rem);
}

.footer__team-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(0, 229, 131, 0.2);
}

.footer__bottom a,
.footer__contact-trigger {
  font-size: clamp(0.875rem, 1.67vw, 1.5rem);
  font-weight: 700;
  color: var(--faep-green-bright);
  transition: opacity 0.2s;
}

.footer__bottom a:hover,
.footer__contact-trigger:hover {
  opacity: 0.85;
}

.footer__contact-pop {
  position: relative;
}

.footer__contact-trigger {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.footer__contact-bubble {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  z-index: 20;
  min-width: min(100vw - 2.5rem, 18rem);
  padding: 1rem 1.15rem;
  background: rgba(3, 16, 10, 0.96);
  border: 2px solid var(--faep-green-bright);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.footer__contact-bubble::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: rgba(3, 16, 10, 0.96);
  border-right: 2px solid var(--faep-green-bright);
  border-bottom: 2px solid var(--faep-green-bright);
  transform: rotate(45deg);
}

.footer__contact-bubble__name {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.footer__contact-bubble__role {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 700;
  color: var(--faep-green-accent);
  margin-bottom: 0.75rem;
}

.footer__contact-bubble__link {
  display: block;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 700;
  color: var(--faep-green-bright);
  line-height: 1.5;
  transition: color 0.2s;
}

.footer__contact-bubble__link:hover {
  color: #fff;
  opacity: 1;
}

.footer__contact-bubble__link + .footer__contact-bubble__link {
  margin-top: 0.35rem;
}

/* ─── Presse / ICDR ─── */

.page--press {
  background: var(--faep-bg);
}

.press-doc {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.press-doc__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.press-doc__intro {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.press-doc__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.press-doc__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #03100a;
  background: var(--faep-green-bright);
  transition: opacity 0.2s;
}

.press-doc__download:hover {
  opacity: 0.9;
}

.press-doc__download--outline {
  color: var(--faep-green-bright);
  background: transparent;
  border: 2px solid var(--faep-green-bright);
}

.press-doc__viewer {
  border: 2px solid var(--faep-green-bright);
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.press-doc__iframe {
  display: block;
  width: 100%;
  height: min(88vh, 1200px);
  border: 0;
}

.press-doc--episodes .press-doc__intro {
  margin-bottom: 2rem;
}

.press-doc__episode + .press-doc__episode {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 229, 131, 0.25);
}

.press-doc__episode-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--faep-green-light);
  text-align: center;
  margin-bottom: 1rem;
}

.press-doc__iframe--episode {
  height: min(72vh, 900px);
}

/* ─── Mentions légales ─── */

.page--legal {
  background: var(--faep-bg);
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.legal-page__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 2.5rem;
}

.legal-page__content section {
  margin-bottom: 2rem;
}

.legal-page__content h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--faep-green-light);
  margin-bottom: 0.75rem;
}

.legal-page__content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.legal-page__content a {
  color: var(--faep-green-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__content a:hover {
  color: var(--white);
}

/* ─── Pages intérieures ─── */

.page-main {
  position: relative;
  z-index: 1;
  padding-top: 88px;
}

.page--bureau {
  background: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), #237b55;
}

.page--bureau::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../photos/bureau-bg.png') center 35% / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.page--elus {
  background: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), var(--faep-bg);
}

/* ─── Page AGORAé ─── */

.page--agorae {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), #22ae96;
}

.page--agorae::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../photos/agorae-fond.png') center / cover no-repeat;
  background-attachment: fixed;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.page--agorae .footer {
  position: relative;
  z-index: 1;
}

.ago-hero {
  position: relative;
  padding: 2rem 1rem 0;
}

.ago-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 478px));
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.25rem);
  max-width: 1227px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.ago-stat-card {
  position: relative;
  min-height: 422px;
  background: #c3f1fe;
  border: 5px solid var(--faep-green);
  border-radius: 25px;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 13px 1rem 1.25rem;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-items: center;
  justify-items: center;
}

.ago-stat-card__logo {
  width: 58%;
  max-width: 280px;
  object-fit: contain;
}

.ago-stat-card__value {
  font-size: clamp(2.5rem, 6.67vw, 6rem);
  font-weight: 700;
  color: #15a995;
  line-height: 1;
  margin: 0.35rem 0;
}

.ago-stat-card__value--small {
  font-size: clamp(1.5rem, 3.33vw, 3rem);
}

.ago-stat-card__label {
  font-size: clamp(1.25rem, 3.33vw, 3rem);
  font-weight: 700;
  color: #15a995;
  line-height: 1.15;
  padding: 0 0.5rem 0.25rem;
}

.ago-panel {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.btn-click-wrap {
  position: relative;
  width: min(86%, 1070px);
  margin: 0 auto 2.5rem;
}

.btn-click-wrap--profession {
  width: min(100%, 617px);
  margin: 2rem auto 2.5rem;
}

.btn-click-wrap .btn-benef,
.btn-click-wrap .btn-profession {
  width: 100%;
  margin: 0;
}

.btn-click-icon {
  position: absolute;
  right: clamp(-0.25rem, -1vw, 0.75rem);
  top: 62%;
  transform: translateY(-35%);
  width: clamp(44px, 5vw, 73px);
  height: auto;
  pointer-events: none;
}

.btn-benef {
  display: block;
  width: min(86%, 1070px);
  margin: 0 auto 2.5rem;
  background: #21ae97;
  border: 2px solid var(--faep-green);
  border-radius: 50px;
  padding: 1.5rem 2rem;
  font-family: inherit;
  font-size: clamp(1.75rem, 5.56vw, 5rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  transition: opacity 0.2s;
  line-height: 1.1;
}

.btn-benef:hover {
  opacity: 0.9;
}

.ago-contact {
  background: #c3f1fe;
  border: 5px solid var(--faep-green);
  border-radius: 25px;
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.ago-contact__title {
  font-size: clamp(2rem, 4.44vw, 4rem);
  font-weight: 700;
  color: #15a995;
  margin-bottom: 1.5rem;
}

.ago-contact__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ago-contact__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: clamp(1.25rem, 2.78vw, 2.5rem);
  font-weight: 700;
  color: #15a995;
  text-decoration: none;
}

a.ago-contact__item:hover {
  opacity: 0.85;
}

.ago-contact__icon {
  width: clamp(50px, 5.9vw, 85px);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.ago-about {
  background: #c3f1fe;
  border: 5px solid var(--faep-green);
  border-radius: 25px;
  box-shadow: var(--shadow);
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: #000;
  font-size: clamp(1rem, 1.39vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 1195px;
  margin-left: auto;
  margin-right: auto;
}

.ago-about ul {
  list-style: disc;
  margin: 0.75rem 0 0.75rem 1.875rem;
}

.ago-about ul ul {
  margin-left: 1.875rem;
}

.ago-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 400px));
  justify-content: center;
  gap: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.ago-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border: 2px solid var(--white);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #15a995;
}

.ago-card__header {
  background: #15a995;
  border-bottom: 2px solid var(--white);
  padding: 1rem 0.75rem 0.75rem;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.95rem, 1.6vw, 1.375rem);
  font-weight: 500;
  text-align: center;
  color: var(--white);
  line-height: 1.2;
}

.ago-card__body {
  position: relative;
  height: 220px;
  background: #000;
  flex-shrink: 0;
}

.ago-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.69;
  display: block;
}

.ago-card__badge {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  width: clamp(52px, 5vw, 72px);
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.ago-card__btn {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: #15a995 url('../photos/ago-btn-bg.png') center / 100% 100% no-repeat;
  border: 2px solid var(--white);
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  font-family: inherit;
  font-size: clamp(0.85rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--white);
  box-shadow: var(--shadow);
  white-space: nowrap;
  text-decoration: none;
  z-index: 3;
}

.ago-card__btn:hover {
  opacity: 0.9;
}

/* ─── Page Bureau ─── */

.bureau-section {
  padding: 2.5rem 1rem 3.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.bureau-section:first-of-type {
  padding-top: 1.5rem;
}

.pole-title {
  position: relative;
  width: min(calc(100% - 2rem), 665px);
  min-height: 96px;
  height: auto;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem 1.5rem;
  background: url('../photos/pole-title-bg.svg') center / 100% 100% no-repeat;
  filter: drop-shadow(0 16px 32px rgba(12, 12, 13, 0.4));
  box-sizing: border-box;
}

.pole-title__text {
  font-size: clamp(1.35rem, 3.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--white);
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.pole-title--sm {
  width: min(calc(100% - 2rem), 1100px);
  min-height: 88px;
  padding: 1rem 2rem 1.25rem;
}

.pole-title--sm .pole-title__text {
  font-size: clamp(1rem, 2.2vw, 2.25rem);
}

.pole-title--page {
  margin-top: 1.5rem;
}

.pole-title--page .pole-title__text {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  white-space: normal;
}

.bureau-section .pole-title {
  margin-bottom: 2rem;
}

.bureau-section .institution-box .pole-title {
  margin: 1.5rem auto 1rem;
  width: min(100%, 1000px);
  min-height: 72px;
  padding: 0.85rem 1.75rem 1.1rem;
}

.bureau-section .institution-box .pole-title--sm .pole-title__text {
  font-size: clamp(0.9rem, 1.8vw, 1.75rem);
}

.bureau-section__inner {
  position: relative;
}

.bureau-section__mascot {
  display: none;
}

.members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.member-card {
  position: relative;
  width: 300px;
  min-height: 345px;
  border-radius: 88px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  color: var(--white);
}

.member-card--bureau {
  background: rgba(0, 112, 64, 0.68);
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.member-card__name {
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.member-card__photo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 85%;
}

.member-card__photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.member-card__photo--logo {
  object-fit: contain;
  border-radius: 0;
  max-width: 180px;
}

.members-grid--elu {
  gap: 1.5rem 2rem;
}

.member-card__role {
  font-size: clamp(0.7rem, 1.1vw, 1rem);
  font-weight: 700;
  margin-top: 0.75rem;
  line-height: 1.3;
  flex-shrink: 0;
}

/* ─── Pages Élus (maquette Figma) ─── */

.elus-main {
  padding-bottom: 4rem;
}

.elus-page-title {
  font-size: clamp(2.5rem, 6.67vw, 6rem);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  padding: 2rem 1rem 2.5rem;
  line-height: 1.1;
}

.elus-crous-hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  min-height: clamp(280px, 40vw, 420px);
}

.elus-crous-confetti {
  position: absolute;
  left: 0;
  top: 4rem;
  width: min(100%, 820px);
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.elus-page-title--crous {
  position: relative;
  z-index: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.elus-fraction {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0 auto;
  max-width: 500px;
  min-height: clamp(140px, 22vw, 220px);
}

.elus-fraction__num {
  font-size: clamp(4rem, 8.89vw, 8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.elus-fraction__slash {
  width: clamp(80px, 18vw, 258px);
  height: 4px;
  background: var(--white);
  transform: rotate(-55deg);
  margin: 0 -0.5rem;
  flex-shrink: 0;
}

.elus-section-title {
  font-size: clamp(1.25rem, 2.78vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  padding: 0 clamp(1rem, 8vw, 7rem);
  line-height: 1.2;
}

.elus-section-title--wrap {
  text-align: left;
  max-width: 805px;
}

.institution-box {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  background: #000;
  border: 1px solid var(--faep-green-bright);
  border-radius: 60px;
}

.institution-box--large {
  max-width: 1120px;
}

.institution-box--plain {
  max-width: 1279px;
  border: none;
}

.institution-box__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.institution-box__logo {
  width: 209px;
  height: 209px;
  object-fit: contain;
}

.institution-box__divider {
  width: 100%;
  max-width: 943px;
  height: 3px;
  background: var(--faep-green-bright);
  margin: 1.5rem auto;
  border: none;
}

.institution-box__subtitle {
  font-size: clamp(1.25rem, 2.22vw, 2rem);
  font-weight: 700;
  color: var(--faep-green-bright);
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.institution-box__subtitle--left {
  text-align: left;
}

.institution-box__text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

.institution-box__text ul {
  list-style: disc;
  margin-left: 1.5rem;
}

.institution-box__text .highlight {
  color: var(--faep-green-bright);
}

.institution-box__text .highlight-teal {
  color: #15a995;
}

.elus-pole-title {
  font-size: clamp(1rem, 2.22vw, 2rem);
  font-weight: 700;
  color: var(--faep-green-bright);
  text-align: center;
  margin: 1.5rem 0 1rem;
  line-height: 1.25;
  padding: 0 0.5rem;
}

.elus-pole-title--left {
  text-align: left;
  max-width: 1004px;
  margin-left: auto;
  margin-right: auto;
}

.elus-pole-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(1rem, 4vw, 2.75rem);
  margin: 0 auto 1rem;
  max-width: 943px;
  padding: 0 0.5rem;
}

.btn-profession {
  display: block;
  width: min(100%, 617px);
  margin: 2rem auto 2.5rem;
  padding: 1rem 2rem;
  background: #000;
  border: 1px solid var(--faep-green-bright);
  border-radius: 60px;
  font-family: inherit;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--faep-green-bright);
  text-align: center;
  box-shadow: var(--shadow);
}

.profile-box {
  max-width: 1194px;
  margin: 0 auto 3rem;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  background: #000;
  border: 1px solid var(--faep-green-bright);
  border-radius: 60px;
}

.profile-box__title {
  font-size: clamp(1.75rem, 4.44vw, 4rem);
  font-weight: 700;
  color: var(--faep-green-bright);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.profile-box__name {
  font-size: clamp(1.25rem, 2.78vw, 2.5rem);
  font-weight: 700;
  color: var(--faep-green-bright);
  margin-bottom: 1.5rem;
}

.profile-box--crous {
  max-width: 1279px;
  border: none;
}

.profile-box--crous .profile-box__name {
  text-align: left;
  margin-bottom: 1rem;
}

.profile-box__photo--crous {
  max-width: 330px;
  display: block;
}

.profile-box__content {
  display: grid;
  grid-template-columns: minmax(200px, 364px) 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-box__photo {
  width: 100%;
  max-width: 364px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.profile-box__bio {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

.profile-box__bio .highlight {
  color: var(--faep-green-bright);
}

.profile-box__bio .highlight-teal {
  color: #15a995;
}

.elus-crous-board {
  max-width: 1255px;
  margin: 1rem auto 2rem;
  min-height: clamp(280px, 42vw, 603px);
  padding: 2rem 1.25rem;
  background: #03100a;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.members-grid--crous {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 1rem 0.75rem;
  justify-items: center;
}

.member-card--crous {
  width: min(100%, 220px);
  min-height: auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.member-card--crous .member-card__name {
  margin-bottom: 0;
}

.member-card--crous .member-card__photo-wrap {
  flex: 0;
  width: auto;
  margin: 0;
}

.member-card--crous .member-card__photo {
  max-width: 150px;
}

.member-card--crous .member-card__photo--logo {
  max-width: 130px;
}

.member-card--crous .member-card__filiere {
  font-size: clamp(0.7rem, 1.1vw, 1rem);
  font-weight: 700;
  margin-top: 0;
  line-height: 1.3;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .members-grid--crous {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .members-grid--crous {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }

}

@media (min-width: 1100px) {
  .bureau-section__inner:has(.bureau-section__mascot) .members-grid {
    max-width: 720px;
    margin: 0 auto;
  }

  .bureau-section__mascot {
    display: block;
    position: absolute;
    right: 0;
    top: 66%;
    transform: translateY(-22%);
    width: min(24vw, 320px);
    height: auto;
    pointer-events: none;
  }
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
  .projects-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .projects-area__mascot {
    width: 200px;
    left: -1rem;
    bottom: auto;
    top: 1rem;
  }

  .footer__columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social-item {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .navbar__title {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar__burger {
    display: block;
  }

  .navbar__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 20px;
    padding: 1.5rem;
    gap: 1rem;
  }

  .navbar__links.open {
    display: flex;
  }

  .navbar__dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 1rem;
    margin-top: 0.25rem;
  }

  .navbar__dropdown.open .navbar__dropdown-menu {
    display: block;
  }

  .navbar__dropdown-menu a {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }

  .ago-stats,
  .ago-grid {
    grid-template-columns: 1fr;
  }

  .pole-title {
    padding: 1rem 1.25rem 1.15rem;
    min-height: 72px;
    width: min(calc(100% - 1.5rem), 665px);
  }

  .pole-title--sm {
    width: min(calc(100% - 1.5rem), 1100px);
  }

  .pole-title__text {
    font-size: clamp(1.15rem, 5vw, 2.25rem);
  }

  .pole-title--sm .pole-title__text {
    font-size: clamp(0.95rem, 4vw, 1.65rem);
  }

  .bureau-section .institution-box .pole-title--sm .pole-title__text {
    font-size: clamp(0.85rem, 3.5vw, 1.35rem);
  }

  .profile-box__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-box__photo {
    margin: 0 auto;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .feature-section {
    min-height: 350px;
  }

  .feature-section--agorae,
  .feature-section--jae {
    min-height: 400px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__contact-bubble {
    right: 50%;
    transform: translateX(50%);
  }

  .footer__contact-bubble::after {
    right: 50%;
    margin-right: -9px;
  }
}
