/* ============================================================
   YERMENONVILLE 2026 — MAIN STYLESHEET
   ============================================================ */

/* ── Fonts ── */
@font-face {
  font-family: 'Lexend';
  src: url('font/fonts/Lexend-VariableFontwght.eot');
  src: url('font/fonts/Lexend-VariableFontwght.eot?#iefix') format('embedded-opentype'),
    url('font/fonts/Lexend-VariableFontwght.woff2') format('woff2'),
    url('font/fonts/Lexend-VariableFontwght.woff') format('woff'),
    url('font/fonts/Lexend-VariableFontwght.ttf') format('truetype'),
    url('font/fonts/Lexend-VariableFontwght.svg#Lexend') format('svg');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ── */
:root {
  --blue: #006ca9;
  --green: #9dca7c;
  --navy: #253885;
  --white: #ffffff;
  --dark: #3f3f3f;
  --light-bg: #f4f7fb;
  --card-bg: #ffffff;
  --shadow: 0 4px 32px rgba(37, 56, 133, .10);
  --radius: 14px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(37, 56, 133, .92);
  backdrop-filter: blur(12px);
}

.nav__logo svg {
  height: 80px;
  width: auto;
  fill: var(--white);
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .8;
  transition: opacity var(--transition);
}

.nav__links a:hover {
  opacity: 1;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.4rem;
  background: var(--green);
  color: var(--navy) !important;
  font-weight: 600 !important;
  border-radius: 50px;
  font-size: .82rem !important;
  letter-spacing: .05em;
  opacity: 1 !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(157, 202, 124, .4) !important;
}

/* ── Burger (mobile) ── */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 45%, #1a9f7a 80%, var(--green) 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes teamFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .15;
  pointer-events: none;
}

.hero__logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(55vw, 520px);
  opacity: .05;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__year {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: clamp(5rem, 18vw, 18rem);
  color: white;
  line-height: .85;
  letter-spacing: -.02em;
  opacity: .12;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.hero__label {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(.75rem, 1.5vw, .95rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.hero__slogan {
  font-family: "reross-quadratic", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -.01em;
  text-transform: uppercase;
  animation: heroFadeUp 1.2s ease both;
  animation-delay: .2s;
}

.hero__slogan span {
  display: block;
}

.hero__slogan span.accent {
  color: var(--green);
}

.hero__subtitle {
  font-size: clamp(.9rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
  max-width: 540px;
  line-height: 1.6;
  animation: heroFadeUp 1.2s ease both;
  animation-delay: .4s;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp 1.2s ease both;
  animation-delay: .6s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

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

.btn--primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .5);
}

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

.btn--solid {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--solid:hover {
  box-shadow: 0 8px 30px rgba(37, 56, 133, .4);
}

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

.btn--green:hover {
  box-shadow: 0 8px 30px rgba(157, 202, 124, .5);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: heroScrollFadeUp 1.5s ease both .8s;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(.5);
    opacity: .4;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes heroScrollFadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
section {
  padding: 7rem 5%;
}

.section__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}

.section__title {
  font-family: "reross-quadratic", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--navy);
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.section__intro {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dark);
  max-width: 680px;
  margin-bottom: 3rem;
  opacity: .85;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark .section__label {
  color: var(--green);
}

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

.section--dark .section__intro {
  color: rgba(255, 255, 255, .75);
}

.section--light {
  background: var(--light-bg);
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   ÉQUIPE
   ============================================================ */
.team {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.team__header {
  position: relative;
  z-index: 2;
}

.team__header .section__label {
  color: var(--green);
}

.team__header .section__title {
  color: var(--white);
}

.team__header .section__intro {
  color: rgba(255, 255, 255, .7);
}

.team__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .team__inner {
    flex-direction: row;
    align-items: stretch;
  }

  .team__header {
    flex: 0 0 35%;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
    /* au-dessus des particules */
  }
}

.team__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 70vh;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
}

.team__member {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  cursor: grab;
  width: 160px;
  /* fixe pour centrer le texte */
}

.team__member:active {
  cursor: grabbing;
}

.team__photo-wrap {
  width: 100px;
  /* Taille mobile par défaut */
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(157, 202, 124, .5);
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.team__member:hover .team__photo-wrap {
  border-color: var(--green);
  transform: scale(1.08);
  /* Hover effect without pausing JS anim */
}

@media (min-width: 768px) {
  .team__photo-wrap {
    width: 120px;
    height: 120px;
  }
}

/* Supprime les keyframes memberFloat et nth-child */

.team__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(15%);
  transition: filter var(--transition);
  pointer-events: none;
}

.team__member:hover .team__photo-wrap img {
  filter: grayscale(0%);
}

/* Placeholder for missing photo */
.team__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(157, 202, 124, .3), rgba(0, 108, 169, .4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, .6);
}

.team__name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.team__role {
  font-size: .7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .8);
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* Leader highlight */
.team__member--leader .team__photo-wrap {
  width: 130px;
  height: 130px;
  border: 3px solid var(--green);
}

@media (min-width: 768px) {
  .team__member--leader .team__photo-wrap {
    width: 160px;
    height: 160px;
  }
}

/* ============================================================
   POURQUOI NOUS REPARTONS
   ============================================================ */
.why {
  background: var(--white);
}

.why__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why__text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--dark);
  margin-bottom: 1rem;
  opacity: .85;
}

.why__highlight {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
}

.why__highlight .badge {
  display: inline-block;
  background: var(--green);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.why__highlight p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
  margin-bottom: .75rem;
}

.why__highlight strong {
  color: var(--green);
  font-weight: 600;
}

.why__quote {
  font-family: "reross-quadratic", sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--green);
  padding-left: 1rem;
}

/* ============================================================
   IDÉES DES HABITANTS
   ============================================================ */
.ideas {
  background: var(--light-bg);
}

.ideas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.idea-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  border: 1.5px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  max-height: 200px;
  overflow: hidden;
}

.idea-card:hover {
  border-color: rgba(0, 108, 169, .15);
  box-shadow: 0 8px 40px rgba(37, 56, 133, .12);
  transform: translateY(-2px);
}

.idea-card.expanded {
  max-height: none;
}

.idea-card__author {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

.idea-card__text {
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--dark);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.idea-card.expanded .idea-card__text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.idea-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.idea-card__read-more {
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--transition);
}

.idea-card__read-more:hover {
  color: var(--navy);
}

.idea-card.expanded .idea-card__read-more .more-text {
  display: none;
}

.idea-card.expanded .idea-card__read-more .less-text {
  display: inline;
}

.idea-card .idea-card__read-more .less-text {
  display: none;
}

.idea-card__like {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--light-bg);
  border: 1px solid rgba(0, 108, 169, .15);
  border-radius: 50px;
  padding: .35rem .8rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}

.idea-card__like svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.idea-card__like:hover svg {
  transform: scale(1.1);
}

.idea-card__like:hover,
.idea-card__like.liked {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.idea-card__like.liked {
  background: var(--navy);
  border-color: var(--navy);
}

/* Gradient fade at bottom of collapsed card */
.idea-card__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--card-bg), transparent);
  pointer-events: none;
  transition: opacity var(--transition);
}

.idea-card.expanded .idea-card__fade {
  opacity: 0;
}

/* Empty state */
.ideas__empty {
  text-align: center;
  padding: 3rem;
  color: rgba(63, 63, 63, .5);
  font-size: .95rem;
  grid-column: 1 / -1;
}

/* ── Form ── */
.ideas__form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(0, 108, 169, .08);
  max-width: 700px;
}

.ideas__form-wrap h3 {
  font-family: "reross-quadratic", sans-serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .25rem;
}

.ideas__form-wrap p {
  font-size: .9rem;
  color: rgba(63, 63, 63, .7);
  margin-bottom: 1.75rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form__group label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}

.form__group input,
.form__group textarea {
  font-family: 'Lexend', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: var(--dark);
  background: var(--light-bg);
  border: 1.5px solid rgba(0, 108, 169, .15);
  border-radius: 8px;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 108, 169, .1);
}

.form__group textarea {
  min-height: 110px;
}

/* Honeypot hidden field */
.form__hp {
  display: none !important;
  visibility: hidden;
}

.form__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form__notice {
  font-size: .72rem;
  color: rgba(63, 63, 63, .5);
  line-height: 1.5;
}

.form__feedback {
  font-size: .85rem;
  font-weight: 500;
  padding-top: .75rem;
}

.form__feedback.success {
  color: #2d8a4e;
}

.form__feedback.error {
  color: #c0392b;
}

/* ============================================================
   ACTIONS EN COURS
   ============================================================ */
.actions {
  background: var(--white);
}

.actions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.action-card {
  background: var(--white);
  border: 1.5px solid rgba(0, 108, 169, .1);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.action-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 108, 169, .1), rgba(157, 202, 124, .2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.action-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.action-card p {
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark);
  opacity: .8;
}

.action-card .tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 50px;
  background: rgba(0, 108, 169, .08);
  color: var(--blue);
  margin-top: auto;
}

/* ============================================================
   PRIORITÉS
   ============================================================ */
.priorities {
  background: var(--light-bg);
}

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

.priority-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.priority-card:hover {
  transform: translateY(-6px);
}

.priority-card__top {
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  position: relative;
}

.priority-card:nth-child(2) .priority-card__top {
  background: linear-gradient(135deg, var(--blue), #1a9f7a);
}

.priority-card:nth-child(3) .priority-card__top {
  background: linear-gradient(135deg, #1a9f7a, var(--green));
}

.priority-card__num {
  font-family: "reross-quadratic", sans-serif;
  font-size: 4rem;
  color: rgba(255, 255, 255, .12);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.priority-card__icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.priority-card__top h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.priority-card__body {
  padding: 1.5rem 2rem 2rem;
}

.priority-card__body p {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--dark);
  opacity: .8;
}

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.realisations {
  background: var(--white);
}

.realisations__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.realisations__group h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.realisations__group h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  border-radius: 50%;
}

.realisations__list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.realisations__list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.65;
  color: #2a2a2a;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(0, 108, 169, .1);
}

.realisations__list li::before {
  content: '✔';
  color: var(--blue);
  flex-shrink: 0;
  margin-top: .15rem;
  font-size: .75rem;
  font-weight: 700;
}

.realisations__sub {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 1.5rem 0 .6rem;
  padding-left: .5rem;
  border-left: 3px solid var(--green);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .6);
  padding: 3rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo svg {
  height: 80px;
  opacity: .7;
}

.footer__text {
  font-size: .8rem;
  line-height: 1.7;
  max-width: 400px;
  text-align:center;
}

.footer__text strong {
  color: var(--white);
}

.footer__legal {
  font-size: .68rem;
  opacity: .45;
  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .priorities__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why__cols,
  .realisations__cols {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 5%;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 159, 122, .97);
    padding: 2rem;
    gap: 1.25rem;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__burger {
    display: flex;
    background: var(--green);
    border: none;
    border-radius: 5px;
  }

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

  .team__grid {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 0.75rem;
    padding: 1.5rem 0;
    align-items: start;
  }

  .team__member {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100%;
    cursor: default;
    animation: teamFloat 4s ease-in-out infinite;
  }

  /* Stagger float animation per child */
  .team__member:nth-child(2n) {
    animation-delay: -1.3s;
  }

  .team__member:nth-child(3n) {
    animation-delay: -2.6s;
  }

  .team__member:nth-child(4n) {
    animation-delay: -0.7s;
  }

  .team__member:nth-child(5n) {
    animation-delay: -3.1s;
  }

  .team__photo-wrap {
    width: 80px;
    height: 80px;
  }

  .team__name {
    font-size: .72rem;
  }

  .team__role {
    font-size: .64rem;
  }

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

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

  .footer__legal {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

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