/* ==========================================================
   EtriLabs - Page d'accueil
   Styles personnalisés (compléments à Bootstrap 4)
   ========================================================== */

:root {
  --etri-orange: #F26522;
  --etri-orange-hover: #d9551a;
  --etri-navy: #1F2D5C;
  --etri-text: #2C2C2C;
  --etri-text-muted: #6B7280;
  --etri-bg-light: #F8F9FA;
  --etri-bg-banner: #FAFAFA;
  --etri-border: #E5E7EB;

  /* Couleurs des cartes "axes" */
  --axe-education-bg: #DDEEE5;
  --axe-sante-bg: #DDE1EE;
  --axe-entrepreneuriat-bg: #E7DDEE;
  --axe-genre-bg: #EEE5DD;

  /* Typographies */
  --font-heading: 'DINProBold', 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--etri-text);
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
}

@font-face {
  font-family: "DINProBold";
  src: url("fonts/DINPro-Bold_13934.ttf");
  font-style:normal;
  font-weight:800;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-ExtraBold.ttf");
  font-style:normal;
  font-weight:800;
}

a {
  text-decoration: none;
  transition: color .2s ease;
}

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


/* ==========================================================
   HEADER / NAVIGATION
   ========================================================== */
.nav-menu {
  padding: 40px 80px 72px 80px !important;
}

.navbar-brand {
  padding: 0 !important;
}

body {
  padding-top: 0 !important;
}

.site-header {
  height: 5rem;
  border-bottom: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1010;
  background: #fefefe;
  box-shadow: none !important;
}

.etri-header {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.etri-navbar { padding: 0; }

.etri-logo img { height: 30px; width: auto; }

.etri-nav .nav-link {
  color: var(--etri-text) !important;
  font-weight: 500;
  font-size: 24px;
  padding: 12px 20px !important;
  transition: color .2s ease;
}

.etri-nav .nav-link:hover,
.etri-nav .nav-link.active {
  color: var(--etri-orange) !important;
}

.btn-etri-primary {
  background: var(--etri-orange);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s ease, transform .2s ease;
}

.btn-etri-primary:hover,
.btn-etri-primary:focus {
  background: var(--etri-orange-hover);
  color: #fff;
  transform: translateY(-1px);
}

.navbar-toggler {
  border: none;
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }


/* ==========================================================
   HERO - Qui sommes nous
   ========================================================== */
.hero-section {
  padding: 120px 80px 80px 80px;
}

.hero-eyebrow {
  font-size: 24px;
  line-height: 16px;
  padding-top: 29px;
  padding-bottom: 16px;
  font-weight: 400;
}

.hero-title {
  font-size: 64px;
  color: var(--etri-orange);
  margin-bottom: 32px !important;
  letter-spacing: -0.5px !important;
  line-height: 62px;
}

.hero-text {
  font-size: 16px;
  line-height: 24px;
  color: #242424;
  max-width: 520px;
  font-weight: 400;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  width: 684px;
  height: 385px;
}

.hero-image img,
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ==========================================================
   SECTION TITLE GÉNÉRIQUE
   ========================================================== */
.section-title {
  text-align: center;
  color: #141416;
  margin-bottom: 40px;
  font-size: 48px;
  line-height: 62px;
  letter-spacing: -2%;
}

.section-title-left {
  font-size: 48px;
  color: #141416;
  margin-bottom: 40px;
  padding-left: 78px;
}

.actu-section-row {
  padding: 0 81px 40px 80px;
}


/* ==========================================================
   NOS AXES D'INTERVENTIONS
   Desktop : 4 cartes en quinconce (570/650/650/570) + gap 20px
   ========================================================== */
.axes-section {
  padding: 0 100px 80px 100px;
}

.axes-section .section-title {
  text-align: center;
  font-size: 36px;
  color: #1a1a1a;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.axes-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  justify-content: flex-start;
}

/* CARTES — STYLE COMMUN */
.axe-card {
  border-radius: 16px;
  padding: 28px 30px;
  position: relative;
  min-height: 200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.axe-card-education       { background: var(--axe-education-bg); }
.axe-card-sante           { background: var(--axe-sante-bg); }
.axe-card-entrepreneuriat { background: var(--axe-entrepreneuriat-bg); }
.axe-card-genre           { background: var(--axe-genre-bg); }

.axe-card h3 {
  color: #000000;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 62px;
  letter-spacing: -2%;
}

.axe-card p {
  color: #000000;
  max-width: 75%;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}

/* ICÔNES — Centrées verticalement à l'extrême droite */
.axe-card .axe-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.axe-card .axe-icon1 {
  width: 100px;
  height: 100px;
  transform: translateY(-50%) rotate(-6.75deg);
}

.axe-card .axe-icon2 {
  width: 110px;
  height: 110px;
  transform: translateY(-50%) rotate(4.31deg);
}

.axe-card .axe-icon3 {
  width: 115px;
  height: 110px;
  transform: translateY(-50%) rotate(4.31deg);
}

.axe-card .axe-icon4 {
  width: 120px;
  height: 120px;
  transform: translateY(-50%) rotate(-12.66deg);
}

.axe-card .axe-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* DESKTOP > 1240px — dimensions exactes */
.card1,
.card4 {
  width: 570px;
  height: 276px;
  padding: 0;
}

.card2,
.card3 {
  width: 650px;
  height: 276px;
  padding: 0;
}


/* ==========================================================
   NOS PROGRAMMES
   ========================================================== */
.programmes-section {
  padding: 0px 79px 132px 79px;
}

.programme-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 327px;
  width: 627px !important;
  display: block;
  margin-bottom: 28px;
}

.programme-card .programme-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.programme-card .programme-overlay {
  position: absolute;
  left: 32px;
  right: auto;
  bottom: 32px;
  background: #FDFDFDE5;
  padding: 24px 27px;
  border-radius: 4px;
  z-index: 1;
  width: 428px;
  height: 168px;
  opacity: 1;
}

.programme-card .programme-title {
  color: #0C0B0B;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 125%;
  letter-spacing: 0%;
  vertical-align: middle;
}

.programmes-section .row .col-lg-6:last-of-type .programme-overlay h3 {
  line-height: 50px;
}

.programme-card .programme-excerpt {
  color: #242424;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0%;
}

.programmes-cta {
  text-align: center;
  margin-top: 24px;
}
.programmes-cta .btn-etri-primary { padding: 10px 28px; }


/* ==========================================================
   BANNIÈRE ANRP
   ========================================================== */
.banner-section {
  background: var(--etri-bg-banner);
  padding: 40px 0;
  position: relative;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--etri-navy);
  cursor: pointer;
  z-index: 2;
}
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }

.barnner-content {
  margin: 0 auto;
  padding: 0 153px;
}
.banner-title {
  color: #242424;
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 42px;
  letter-spacing: -2%;
}

.banner-text {
  color: #242424;
  margin-bottom: 24px;
  width: 582px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
}

.banner-image {
  text-align: center;
}
.banner-image img {
  max-width: 100%;
  height: auto;
}


/* ==========================================================
   ACTUALITÉS
   ========================================================== */
.actualites-section {
  padding: 80px 0 40px;
  background-color: #ffffff;
}

.actualites-section .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.actualites-title {
  font-size: 40px;
  color: #0a0a0a;
  margin: 0 0 32px 0;
  letter-spacing: -0.02em;
}

/* CARD */
.actu-card {
  background: #FAFAFA;
  border-radius: 8px;
  overflow: hidden;
  width: 414px;
  height: 434px;
  margin-bottom: 40px !important;
  box-shadow: 0px 4px 4px 0px #00000014;
}

.actu-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.actu-card__link,
.actu-card__link:hover,
.actu-card__link:focus,
.actu-card__link:active {
  text-decoration: none;
}

.actu-card__image {
  width: 100%;
  aspect-ratio: 414 / 265;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.actu-card__body {
  padding: 20px 30.5px 28px 30.5px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
}

.actu-card__title {
  color: #000000;
  padding-bottom: 18px;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -2%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* TAGS */
.actu-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.tag {
  display: inline-block;
  padding: 3px 12px;
  font-family: DINProBold, sans-serif;
  font-size: 16px;
  font-weight: 800;
  border-radius: 999px;
  line-height: 1;
  letter-spacing: -2%;
}

.tag--default {
  background: #EAEAEA;
  color: #555555;
  border: 1px solid transparent;
}

.tag--primary {
  background: #FEEBEF;
  color: #D71D4D;
  border: 1px solid transparent;
}


/* ==========================================================
   PARTENAIRES
   ========================================================== */
.partners-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.partners-section .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.partners-title {
  font-size: 40px;
  color: #0a0a0a;
  margin: 0 0 48px 0;
  letter-spacing: -0.02em;
}

/* GRID 7 COLONNES */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 38px;
}

/* CARD */
.partner-card {
  background-color: #FAFAFA;
  border-radius: 8px;
  aspect-ratio: 150 / 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
}

.partner-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.partner-card__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}


/* ==========================================================
   NEWSLETTER
   ========================================================== */
.etri-newsletter {
  max-width: 1320px;
  margin: 0 80px 96px 80px;
  padding: 0;
}

.etri-newsletter__inner {
  background: #FAFAFA;
  display: flex;
  align-items: center;
  gap: 234px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.etri-newsletter__image {
  flex-shrink: 0;
  width: 364px;
  height: 280px;
}

.etri-newsletter__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 41px;
  padding-right: 54px;
}

.etri-newsletter__title {
  font-size: 42px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.etri-newsletter__form {
  width: 100%;
  max-width: 622px;
  position: relative;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  display: flex;
}

.etri-newsletter__form:focus-within {
  border-color: #999;
}

.etri-newsletter__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: #696969;
  padding: 6px;
}

.etri-newsletter__input::placeholder {
  color: #696969;
}

.etri-newsletter__button {
  background: #f25c1f;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 13px 18px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  line-height: 100%;
}


/* ==========================================================
   FOOTER
   ========================================================== */
.etri-footer {
  padding: 48px 80px;
}

.etri-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

/* Colonne marque */
.etri-footer__brand {
  max-width: 340px;
}

.etri-footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.etri-footer__logo-img {
  width: 205px;
  height: 41px;
  object-fit: contain;
}

.etri-footer__logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.etri-footer__description {
  font-size: 16px;
  color: #4a4a4a;
  margin-top: 24px;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 118%;
  letter-spacing: 0%;
  width: 99%;
}

.etri-footer__socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.etri-footer__social-link {
  display: inline-flex;
  width: 24px;
  height: 24px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.etri-footer__social-link:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.etri-footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Colonnes liens */
.etri-footer__column-title {
  font-size: 24px;
  font-weight: 700;
  color: #242424;
  margin-bottom: 12px;
}

.etri-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.etri-footer__list a {
  color: #242424;
  text-decoration: none;
  font-size: 16px;
}

/* Bas du footer */
.etri-footer__divider {
  height: 1px;
  background: #242424;
  margin: 0;
}

.etri-footer__bottom {
  padding-top: 48px;
  text-align: center;
}

.etri-footer__copyright {
  color: #242424;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}


/* ==========================================================
   ⭐ RESPONSIVE — Refactoré
   Desktop intact (≥ 992px). Breakpoints unifiés :
     - Tablette  : 768px → 991.98px
     - Mobile    : < 768px
     - Petit mobile : < 480px
   ========================================================== */


/* ==========================================================
   📱 TABLETTE (768px → 991.98px)
   ========================================================== */
@media (max-width: 991.98px) and (min-width: 768px) {

  /* HEADER */
  .nav-menu {
    padding: 24px 32px !important;
  }
  .etri-nav .nav-link {
    font-size: 18px;
    padding: 10px 16px !important;
  }

  /* HERO */
  .hero-section {
    padding: 80px 32px 60px;
  }
  .hero-eyebrow {
    font-size: 18px;
    padding-top: 16px;
    padding-bottom: 12px;
    line-height: 1.4;
  }
  .hero-title {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 24px !important;
  }
  .hero-text {
    font-size: 15px;
    max-width: 100%;
  }
  .hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 684 / 385;
    margin-top: 32px;
  }

  /* TITRES SECTION */
  .section-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 32px;
  }
  .section-title-left {
    font-size: 36px;
    padding-left: 32px;
    margin-bottom: 32px;
  }

  /* AXES — 50/50 fluide */
  .axes-section {
    padding: 0 32px 60px;
  }
  .axes-section .section-title {
    font-size: 32px;
    margin-bottom: 36px;
  }
  .axes-section .row {
    gap: 16px;
  }
  .card1, .card2, .card3, .card4 {
    width: calc(50% - 8px);
    height: auto;
    min-height: 240px;
  }
  .axe-card {
    padding: 28px 26px;
    min-height: 240px;
  }
  .axe-card h3 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  .axe-card p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 70%;
  }
  .axe-card .axe-icon { right: 18px; }
  .axe-card .axe-icon1 { width: 75px; height: 75px; }
  .axe-card .axe-icon2 { width: 80px; height: 80px; }
  .axe-card .axe-icon3 { width: 85px; height: 80px; }
  .axe-card .axe-icon4 { width: 90px; height: 90px; }

  /* PROGRAMMES */
  .programmes-section {
    padding: 0 32px 80px;
  }
  .programme-card {
    width: 100% !important;
    height: 300px;
  }
  .programme-card .programme-overlay {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    height: auto;
    padding: 18px 22px;
  }
  .programme-card .programme-title {
    font-size: 18px;
    line-height: 1.3;
  }
  .programme-card .programme-excerpt {
    font-size: 14px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  /* BANNER */
  .banner-section {
    padding: 60px 0;
  }
  .barnner-content {
    padding: 0 32px;
  }
  .banner-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .banner-text {
    font-size: 15px;
    width: 100%;
    margin-bottom: 0;
  }
  .banner-image {
    margin-top: 40px;
  }

  /* ACTUALITÉS */
  .actualites-section {
    padding: 60px 0 32px;
  }
  .actualites-section .container {
    padding: 0 32px;
  }
  .actualites-title {
    font-size: 36px;
    margin-bottom: 28px;
  }
  .actu-card {
    width: 100%;
    height: auto;
    margin-bottom: 24px !important;
  }
  .actu-card__body {
    padding: 18px 22px 24px;
    gap: 14px;
  }
  .actu-card__title {
    font-size: 20px;
    line-height: 1.3;
    padding-bottom: 12px;
  }
  .tag {
    font-size: 14px;
    padding: 4px 12px;
  }

  /* PARTENAIRES */
  .partners-section {
    padding: 60px 0;
  }
  .partners-section .container {
    padding: 0 32px;
  }
  .partners-title {
    font-size: 36px;
    margin-bottom: 32px;
  }
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  /* NEWSLETTER */
  .etri-newsletter {
    margin: 0 32px 64px;
  }
  .etri-newsletter__inner {
    gap: 32px;
    padding: 32px;
    min-height: auto;
  }
  .etri-newsletter__image {
    width: 240px;
    height: 200px;
  }
  .etri-newsletter__content {
    padding-right: 0;
    gap: 24px;
  }
  .etri-newsletter__title {
    font-size: 32px;
  }

  /* FOOTER */
  .etri-footer {
    padding: 48px 32px;
  }
  .etri-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .etri-footer__spacer {
    display: none;
  }
  .etri-footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .etri-footer__column-title {
    font-size: 20px;
  }
}


/* ==========================================================
   📱 MOBILE (< 768px)
   ========================================================== */
@media (max-width: 767.98px) {

  /* HEADER */
  .nav-menu {
    padding: 16px 20px !important;
  }
  .etri-logo img {
    height: 26px;
  }
  .etri-nav .nav-link {
    font-size: 16px;
    padding: 10px 0 !important;
  }
  .btn-etri-primary {
    padding: 10px 18px;
    font-size: 13px;
  }

  /* HERO — image au-dessus du texte pour plus d'impact mobile */
  .hero-section {
    padding: 60px 20px 40px;
  }
  .hero-section .row {
    flex-direction: column-reverse;
  }
  .hero-section .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .hero-eyebrow {
    font-size: 14px;
    padding-top: 0;
    padding-bottom: 8px;
  }
  .hero-title {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 20px !important;
  }
  /* On masque les <br> qui cassent la lecture mobile */
  .hero-title br { display: none; }
  .hero-text {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-bottom: 24px;
  }

  /* TITRES SECTION */
  .section-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 24px;
  }
  .section-title-left {
    font-size: 26px;
    padding-left: 20px;
    margin-bottom: 24px;
  }

  /* AXES — 1 colonne empilée */
  .axes-section {
    padding: 0 20px 50px;
  }
  .axes-section .section-title {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .axes-section .row {
    flex-direction: column;
    gap: 14px;
  }
  .card1, .card2, .card3, .card4 {
    width: 100%;
    height: auto;
    min-height: 180px;
  }
  .axe-card {
    padding: 22px 24px;
    min-height: 180px;
  }
  .axe-card h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .axe-card p {
    font-size: 13px;
    line-height: 1.5;
    max-width: 65%;
  }
  .axe-card .axe-icon { right: 14px; }
  .axe-card .axe-icon1 { width: 60px; height: 60px; }
  .axe-card .axe-icon2 { width: 65px; height: 65px; }
  .axe-card .axe-icon3 { width: 68px; height: 65px; }
  .axe-card .axe-icon4 { width: 72px; height: 72px; }

  /* PROGRAMMES */
  .programmes-section {
    padding: 0 20px 60px;
  }
  .programmes-section .row {
    margin: 0;
  }
  .programme-card {
    width: 100% !important;
    height: 260px;
    margin-bottom: 20px;
  }
  .programme-card .programme-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    height: auto;
    padding: 14px 16px;
  }
  .programme-card .programme-title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .programme-card .programme-excerpt {
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  /* BANNER ANRP */
  .banner-section {
    padding: 48px 0;
  }
  .barnner-content {
    padding: 0 20px;
  }
  .banner-section .row {
    flex-direction: column;
  }
  .banner-title {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .banner-title br { display: none; }
  .banner-text {
    font-size: 14px;
    width: 100%;
    margin-bottom: 0;
  }
  .banner-image {
    margin-top: 32px;
  }
  .banner-arrow { display: none; }

  /* ACTUALITÉS */
  .actualites-section {
    padding: 48px 0 24px;
  }
  .actualites-section .container {
    padding: 0 20px;
  }
  .actualites-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .actu-card {
    width: 100%;
    height: auto;
    margin-bottom: 20px !important;
  }
  .actu-card__body {
    padding: 16px 20px 22px;
    gap: 12px;
  }
  .actu-card__title {
    font-size: 17px;
    line-height: 1.35;
    padding-bottom: 8px;
  }
  .tag {
    font-size: 13px;
    padding: 4px 11px;
  }

  /* PARTENAIRES — 3 colonnes */
  .partners-section {
    padding: 48px 0;
  }
  .partners-section .container {
    padding: 0 20px;
  }
  .partners-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .partner-card {
    padding: 16px 12px;
    border-radius: 10px;
  }

  /* NEWSLETTER — empilée + form mobile-friendly */
  .etri-newsletter {
    margin: 40px 20px 64px;
  }
  .etri-newsletter__inner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 24px;
  }
  .etri-newsletter__image {
    width: 200px;
    height: 160px;
    margin: 0 auto;
  }
  .etri-newsletter__content {
    padding-right: 0;
    width: 100%;
    align-items: center;
    gap: 20px;
  }
  .etri-newsletter__title {
    font-size: 26px;
  }
  .etri-newsletter__form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .etri-newsletter__input {
    width: 100%;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 100px;
    padding: 13px 22px;
    font-size: 15px;
  }
  .etri-newsletter__button {
    width: 100%;
    padding: 14px 18px;
  }

  /* FOOTER — 1 colonne */
  .etri-footer {
    padding: 40px 20px 24px;
  }
  .etri-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .etri-footer__brand {
    max-width: 100%;
  }
  .etri-footer__description {
    font-size: 15px;
  }
  .etri-footer__column-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .etri-footer__list a {
    font-size: 15px;
  }
  .etri-footer__bottom {
    padding-top: 32px;
  }
  .etri-footer__copyright {
    font-size: 14px;
  }
}


/* ==========================================================
   📱 PETIT MOBILE (< 480px)
   Ajustements fins pour les écrans étroits
   ========================================================== */
@media (max-width: 479.98px) {

  .hero-title { font-size: 28px; }
  .hero-eyebrow { font-size: 13px; }

  .section-title,
  .section-title-left { font-size: 22px; }

  /* AXES */
  .axe-card { padding: 20px 22px; }
  .axe-card h3 { font-size: 18px; }
  .axe-card p {
    font-size: 12.5px;
    max-width: 60%;
    padding-right: 50px;
  }
  .axe-card .axe-icon1,
  .axe-card .axe-icon2,
  .axe-card .axe-icon3,
  .axe-card .axe-icon4 {
    width: 55px;
    height: 55px;
  }

  /* PROGRAMMES */
  .programme-card { height: 240px; }
  .programme-card .programme-title { font-size: 15px; }
  .programme-card .programme-excerpt { font-size: 12.5px; }

  /* BANNER */
  .banner-title { font-size: 22px; }

  /* ACTUALITÉS */
  .actualites-title { font-size: 24px; }
  .actu-card__title { font-size: 16px; }

  /* PARTENAIRES — 2 colonnes pour lisibilité */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .partners-title { font-size: 24px; }

  /* NEWSLETTER */
  .etri-newsletter__title { font-size: 24px; }
}