/* Normalize modern */
*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}

/* Variables CSS */
:root {
    /* === Couleurs Primaires === */
    --orange-600: #f3991b;
    --orange-500: #ff9603;
    --orange-800: #995d00;
    --orange-900: #331800;

    --bleu-400: #1b98f2;
    --bleu-500: #0095ff;
    --bleu-900: #005999;
    --bleu-900-pressed: #001b33;

    /* === Couleurs Secondaires === */
    --secondary-orange-100: #ffcd80;
    --secondary-orange-200: #f2ca91;
    --secondary-orange-300: #ffb94d;

    --secondary-bleu-100: #4db5ff;
    --secondary-bleu-200: #94cbf2;
    --secondary-bleu-400: #94CBF2;
    --secondary-bleu-500-hover: #82cbff;

    /* === Couleurs Neutres === */
    --neutral-0: #000000;
    --neutral-10: #121112;
    --neutral-30: #636363;
    --neutral-60: #b0b0b0;
    --neutral-70: #f1f1f6;
    --neutral-90: #f9f9f9;
    --neutral-100: #ffffff;

    /* === Autres === */
    --batik-red: #881b16;
    --error-red: #ba1a1a;
    --light-red: #e9aeae;

    /* === Styles spéciaux === */
    --style-50: rgba(27, 27, 27, 0.5);
    --style-70: #363636;
    --shadow-soft: 0px 4px 6px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    /* Radius pour éléments sans arrondi */
    --radius-none: 0px;

    /* Radius minimal pour séparateurs fins ou composants très petits */
    --radius-xs: 2px;

    /* Radius discret pour champs ou composants à bordures dures */
    --radius-s: 4px;

    /* Radius par défaut pour composants secondaires (inputs, chips) */
    --radius-m: 6px;

    /* Radius utilisé pour tags, chips et blocs de conseil */
    --radius-l: 8px; /* ex : Tags annonce, Section conseiller */

    /* Radius utilisé pour cards d’annonce, champs d’input stylés */
    --radius-xl: 10px; /* ex : Field / Cards / Chips annonce */

    /* Radius progressifs pour composants plus doux */
    --radius-xxl: 12px;
    --radius-xxxl: 16px;

    /* Radius maximal pour boutons pills ou CTA circulaires */
    --radius-xxxxl: 24px;
    --radius-max: 60px;

    /* Spacing (unités d'espacement standardisées) */
    --space-3xs: 2px;   /* ultra fin : séparateurs, petits offsets */
    --space-2xs: 4px;
    --space-xs: 8px;    /* petits paddings */
    --space-s: 12px;    /* spacing de base entre éléments proches */
    --space-m: 16px;    /* spacing courant entre blocs */
    --space-m2: 20px;   /* utilisé aussi pour certains paddings (ex : cards) */
    --space-l: 24px;    /* sections, colonnes */
    --space-xl: 38px;   /* spacing important */
    --space-2xl: 40px;  /* très grandes sections ou marges page */
    --space-base: var(--space-m);


    /* Breakpoints */
    --bp-xs: 621px;
    --bp-sm: 832px;
    --bp-md: 1080px;
    --bp-lg: 1374px;
}

html { scroll-behavior: smooth; }

/* Typographie de base */
body {
  font-family: 'Carlito', sans-serif;
  font-size: 1.125rem;
  line-height: 130%;
  color: var(--neutral-10);
  background-color: var(--secondary-orange-200);
}

.wrapper {
  max-width: 1375px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

/* === TITLES === */
h1, .title-xxxl {
  font-family: 'Ubuntu', sans-serif;
  font-size: 36px;
  line-height: 130%;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

h2, .title-xl {
  font-family: 'Ubuntu', sans-serif;
  font-size: 28px;
  line-height: 130%;
  font-weight: 600;
}

h3, .title-l {
  font-family: 'Ubuntu', sans-serif;
  font-size: 24px;
  line-height: 130%;
  font-weight: 600;
}

h4, .title-m {
  font-family: 'Ubuntu', sans-serif;
  font-size: 20px;
  line-height: 130%;
  font-weight: 600;
}

h5, .title-s {
  font-family: 'Ubuntu', sans-serif;
  font-size: 18px;
  line-height: 130%;
  font-weight: 600;
}

/* === LABELS === */
.label-xl {
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  line-height: 130%;
  font-weight: 600;
}

.label-l {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  line-height: 130%;
  font-weight: 600;
}

.label-m {
  font-family: 'Ubuntu', sans-serif;
  font-size: 12px;
  line-height: 130%;
  font-weight: 600;
  text-transform: uppercase;
}

/* === BODY === */
.body-b1 {
  font-family: 'Carlito', sans-serif;
  font-size: 18px;
  line-height: 130%;
  font-weight: 400;
}

.body-b2 {
  font-family: 'Carlito', sans-serif;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
}


/* Boutons */

.button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 8px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.noradius {
  border-radius: 0 !important;
}

/* === Primary Buttons === */
.button-primary {
  background-color: var(--orange-600);
  color: var(--neutral-100);
}
.button-primary:hover {
  background-color: var(--secondary-orange-300);
}
.button-primary:active {
  background-color: var(--orange-500);
}
.button-primary:focus-visible {
  outline: 2px solid var(--bleu-400);
}
.button-primary:disabled {
  background-color: var(--neutral-60);
  color: var(--neutral-100);
  opacity: 0.6;
  pointer-events: none;
}

/* === Primary (Bleu - Froid) === */
.button-primary-blue {
  background-color: var(--bleu-500);
  color: var(--neutral-100);
}
.button-primary-blue:hover {
  background-color: var(--bleu-900);
}
.button-primary-blue:active {
  background-color: var(--bleu-900-pressed);
}
.button-primary-blue:disabled {
  background-color: var(--neutral-60);
  color: var(--neutral-100);
  opacity: 0.6;
  pointer-events: none;
}

/* === Secondary Buttons === */
.button-secondary {
  background-color: var(--secondary-orange-100);
  color: var(--orange-900);
}
.button-secondary:hover {
  background-color: var(--secondary-orange-300);
}
.button-secondary:active {
  background-color: var(--secondary-orange-200);
}
.button-secondary:disabled {
  background-color: var(--neutral-60);
  color: var(--neutral-100);
  opacity: 0.6;
  pointer-events: none;
}

/* === Secondary (Bleu - Froid) === */
.button-secondary-blue {
  background-color: var(--secondary-bleu-400);
  color: var(--bleu-900-pressed);
}
.button-secondary-blue:hover {
  background-color: var(--secondary-bleu-100);
}
.button-secondary-blue:active {
  background-color: var(--secondary-bleu-500-hover);
}
.button-secondary-blue:disabled {
  background-color: var(--neutral-60);
  color: var(--neutral-100);
  opacity: 0.6;
  pointer-events: none;
}

/* === Secondary (White) === */
.button-secondary-white {
  background-color: #ffffff;
  color: #0a2540; /* ex bleu foncé */
}
.button-secondary-white:hover {
  background-color: #f2f2f2; /* gris clair */
}
.button-secondary-white:active {
  background-color: #e0e0e0; /* gris moyen */
}
.button-secondary-white:disabled {
  background-color: #ffffff;
  color: #b3b3b3; /* gris texte */
  opacity: 0.6;
  pointer-events: none;
}


/* === Tertiary Buttons === */
.button-tertiary {
  background-color: transparent;
  color: var(--orange-600);
  text-decoration: underline;
}
.button-tertiary:hover {
  color: var(--secondary-orange-300);
}
.button-tertiary:active {
  color: var(--orange-500);
}
.button-tertiary:disabled {
  color: var(--neutral-60);
  opacity: 0.6;
  pointer-events: none;
}

/* === Tertiary (Froid) === */
.button-tertiary-blue {
  background-color: transparent;
  color: var(--bleu-400);
  text-decoration: underline;
}
.button-tertiary-blue:hover {
  color: var(--bleu-500);
}
.button-tertiary-blue:active {
  color: var(--bleu-900);
}
.button-tertiary-blue:disabled {
  color: var(--neutral-60);
  opacity: 0.6;
  pointer-events: none;
}

.button-big {
  min-width: 320px;
  font-size: 1.125rem;
}

/* === Tags === */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 8px;
  text-transform: uppercase;
  font-family: 'Ubuntu', sans-serif;
  background-color: #E4AEE9;
  color: #0E0301;
  border-radius: var(--radius-s);
  max-width: 100%;
}

.tag-default {
  background-color: #ccc;
  color: #000;
}

.tag-violet {
  background-color: #E4AEE9;
  color: #0E0301;
}

.tag-red {
  background-color: #E9AEAE;
  color: #0E0301;
}

.tag-green {
  background-color: #CEF294;
  color: #0E0301;
}

.tag-teal {
  background-color: #84D9CB;
  color: #0E0301;
}

.tag-icon {
  width: 20px;
  height: 20px;
  background: #0E0301;
  display: inline-block;
}



/* Cartes */
.card {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--neutral-90);
  box-shadow: var(--shadow-soft);
}

/* Inputs */
.input {
  padding: 10px;
  border: 1px solid var(--neutral-60);
  border-radius: var(--radius-m);
  font-size: 16px;
}

header {
  padding: 0.75rem;
  background-color: var(--neutral-90);
  height: 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 100%;
}

.logo, .logo-variant {
  height: 2.5rem;
  display: block;
}

.logo-variant {
  display: none;
}

.header-nav {
  display: flex;
  gap: var(--space-m);
  font-weight: 500;
  padding-right: var(--space-m);
}

.header-nav a {
  text-decoration: none;
  color: var(--neutral-10);
  padding:0 8px;
}

.header-nav .nav-item {
  position: relative;
  height: 2.5rem;
  padding-top: 0.75rem
}

.header-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
}

.header-nav .nav-arrow {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: var(--space-2xs);
  background-image: url('icons/icon-expand-more-round.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.header-nav .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  right: 0;
  top: 2.5rem;
  padding-top: 0.25rem;
  background: var(--neutral-90);
  width: 100%;
  min-width: 260px;
  text-align: right;
  display: none;
  z-index: 1000;
}

.header-nav .submenu a {
  display: block;
  padding: var(--space-xs) var(--space-s);
  color: var(--neutral-10);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  text-align: right;
}

.header-nav .submenu a:hover {
  background: var(--batik-red);
  color: white;
}

@media screen and (min-width: 654px) {
  .header-nav .nav-item:hover > .submenu {
    display: block;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}

.newsletter-btn .newsletter-text,
.donate-btn .donate-text,
.header-lang .current-lang {
  display: none;
}

.icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border-radius: var(--radius-max);
  border: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.5rem;
}

.icon.search {
  background-image: url('icons/icon-search-round.svg');
}

.icon.menu {
  background-image: url('icons/icon-menu.svg');
  background-color: var(--secondary-bleu-200);
}

.icon.globe {
  background-image: url('icons/icon-earth.svg');
  background-color: transparent;
}

.icon.heart {
  background-image: url('icons/icon-heart.svg');
  background-color: transparent;
}

.icon.bell {
  background-image: url('icons/icon-bell.svg');
  background-color: transparent;
}

.mobile-only {
  display: none
}

.desktop-only {
  display: block
}

.back {
  color: var(--bleu-400);
  background-image: url('icons/icon-back.svg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 1.5rem;
  text-decoration: underline;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: bold;
}

@media screen and (min-width: 1375px) {
  .site-header {
    flex-direction: row;
  }
}

@media screen and (max-width: 1374px) and (min-width: 893px) {
  .site-header {
    flex-direction: row;
  }
}

@media screen and (min-width: 893px) {
  .newsletter-btn,
  .donate-btn {
    border-radius: 0;
    height: 40px;
    font-weight: bold;
  }
  .newsletter-btn .icon {
    display: none;
  }
  .newsletter-btn .newsletter-text,
  .donate-btn .donate-text,
  .header-lang .current-lang {
    display: inline;
  }
}

@media screen and (max-width: 892px) and (min-width: 654px) {
  .header-nav {
    font-size: 14px;
  }
  .header-actions .button-tertiary-blue {
    display: none;
  }

  .logo {
    display: none;
  }

  .logo-variant {
    display: block;
  }

  .newsletter-btn,
  .donate-btn {
    width: 40px;
    height: 40px
  }


}

@media screen and (max-width: 653px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }


  .header-nav {
    display: none;
  }
  .header-actions {
    justify-content: flex-end;
  }
  .header-actions .button,
  .header-actions .globe {
    display: none;
  }
  .icon.search,
  .icon.menu {
    display: inline-block;
  }
  /*
  .no-scroll,
  .no-scroll html {
    overflow: hidden;
    height: 100%;
    touch-action: none;
  }
  */
  .no-scroll {
    background-color: var(--neutral-90);
  }
  .no-scroll main, .no-scroll footer {
    display: none;
  }
}

.site-footer {
  background-color: var(--secondary-orange-200);
  display: flex;
  padding: 0.75rem 1.5rem 1.5rem 1.5rem;
  flex-direction: column;
  align-items: center;
  flex: 1 0 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: var(--space-l);
}

.footer-block {
  flex: 1;
  min-width: 200px;
  font-size: 1.125rem
}

.footer-block h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin:0;
  line-height: 2.25rem;
}

.footer-block p, .footer-block .social-icons {
  margin: 0;
  margin-top: 1rem;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.footer-block.newsletter p {
  margin-top: 0;
  max-width: 320px;
  line-height: 0.975rem;
}

.footer-block.newsletter input {
  width: 100%;
  padding: 8px;
  margin-top: 1rem;
  margin-bottom: var(--space-xs);
  border: 0;
  border-bottom: 1px solid var(--neutral-60);
  border-radius: 0;
  background-color: transparent;
}

.footer-block.newsletter button {
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 1rem 1.5rem;
  align-self: stretch;
  flex-wrap: wrap;
}

.footer-bottom a {
  font-family: 'Ubuntu', sans-serif;
  text-decoration: none;
  color: var(--neutral-0);
  font-size: 1rem;
  font-weight: 500;
  line-height: normal;
  margin-top: 2.5rem;
}

.footer-bottom a:hover {
  color: var(--neutral-30);
}

.footer-block .social-icons a {
  display: inline-block;
}

.footer-block .social-icons a.icon:hover {
  background-color: var(--neutral-90);
}

.footer-block .icon.youtube {
  background-image: url('icons/icon-youtube-footer.svg');
}

.footer-block .icon.linkedin {
  background-image: url('icons/icon-linkedin-footer.svg');
}

.footer-block .icon.instagram {
  background-image: url('icons/icon-instagram-footer.svg');
}

.footer-block .icon.facebook {
  background-image: url('icons/icon-facebook-footer.svg');
}


@media screen and (min-width: 1081px) {
  .footer-top {
    flex-direction: row;
  }

  .footer-block.newsletter {
    flex:2;
  }

  .footer-block.newsletter .newsletter-wrapper {
    display: flex;
  }

  .footer-block.newsletter button {
    height: 2.5rem;
    margin-top: 1rem;
    margin-left: 1.5rem
  }

}

@media screen and (max-width: 1080px) and (min-width: 504px) {
  .footer-top {
    flex-direction: row;
    gap:4rem;
  }

  .footer-block.newsletter {
    min-width: 400px;
  }

  .footer-block.newsletter input {
    max-width: 320px;
  }

  .footer-block.newsletter .newsletter-wrapper {
    display: flex;
  }

  .footer-block.newsletter button {
    height: 2.5rem;
    margin-top: 1rem;
    margin-left: 1.5rem
  }


}

@media screen and (max-width: 503px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-block {
    border-bottom: 1px solid var(--batik-red);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .footer-block:last-child {
    border-bottom: none;
  }

  .footer-block h3 {
    text-align: left;
  }

  .footer-block p,
  .footer-block input,
  .footer-block small,
  .footer-block button,
  .social-icons {
    text-align: left;
  }

  .footer-block.newsletter input,
  .footer-block.newsletter button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs) var(--space-s);
    text-align: center;
  }

  .footer-bottom a {
    min-width: 45%;
    margin: 2px 0;
  }
}



/* Responsive */
@media screen and (max-width: 1080px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
}

@media screen and (max-width: 832px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
}

@media screen and (max-width: 621px) {
  body { font-size: 14px; }
  h1 { font-size: 24px; }
  h2 { font-size: 18px; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 4rem;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--neutral-90);
  padding: var(--space-m);
  flex-direction: column;
  gap: var(--space-s);
  z-index: 9999;
}

.mobile-menu.open {
  display: flex;
}

@media screen and (min-width: 654px) {
  .mobile-menu, .mobile-menu.open {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);  
}

.mobile-nav a {
  text-decoration: none;
  color: black;
  font-size: 1.25rem;
  padding-left: calc(1.5rem + var(--space-xs));
  line-height: 1.75rem;
  margin:0.375rem 0;
  display: inline-block;
}

.mobile-nav h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: var(--space-m);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.mobile-nav .nav-section:first-of-type h2 {
  margin-top: 0;
}

.mobile-nav h2 img {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav h2 a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-left: 0;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.mobile-lang {
  border-top: 1px solid var(--neutral-30);
  border-bottom: 1px solid var(--neutral-30);
  padding: 0.75rem 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.125rem;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-lang {
  position: relative;
  height: 40px;
  display: flex;
}

.header-lang .lang-toggle {
  width: auto;
  padding: 0;
  gap: 4px;
}

.header-lang .lang-options {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  right: 0;
  top: 2.5rem;
  padding-top: 0.25rem;
  background: var(--neutral-90);
  width: auto;
  text-align: right;
  border: none;
  display: none;
  z-index: 1000;
}

.header-lang .lang-options li:hover {
  background-color: var(--batik-red);
  color: white;
}

.lang-toggle .icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

.newsletter-btn .icon,
.donate-btn .icon {
  width: 24px;
  height: 24px;
}

.lang-options {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  background: white;
  border: 1px solid #ccc;
}

.lang-options li {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.lang-options li:hover {
  background-color: #eee;
}

.lang-options li a {
  text-decoration: none;
  color: black;
  display: block;
  padding-left: 20px;
}

.header-lang .lang-options li a {
  padding: var(--space-xs) var(--space-s);
  color: var(--neutral-10);
  transition: background 0.15s, color 0.15s;
  text-align: right;
}

.header-lang .lang-options li a:hover {
  background: var(--batik-red);
  color: white;
}

@media screen and (min-width: 654px) {
  .header-lang:hover .lang-options {
    display: block;
  }
}

.mobile-social {
  display: flex;
  justify-content: start;
  gap: var(--space-s);
  margin-top: var(--space-m);
}

.mobile-social .icon {
  background-color: #FFD080;
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  margin-top: var(--space-m);
}

.icon.close-menu {
  background-image: url('icons/icon-close.svg');
  background-color: var(--bleu-900);
}

.icon.youtube {
  background-image: url('icons/icon-youtube.svg');
}

.icon.linkedin {
  background-image: url('icons/icon-linkedin.svg');
}

.icon.instagram {
  background-image: url('icons/icon-instagram.svg');
}


/* BLOC EVENT */

.hero-event {
  background-color: var(--secondary-orange-200);
  padding: 1.5rem 0.75rem;
}

.hero-event-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-event-text {
  flex: 1 1 400px;
}

.hero-event-image {
  flex: 1 1 400px;
  text-align: right;
}

.hero-event-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  max-height: 600px;
}

@media screen and (max-width: 892px) {
  .hero-event-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-event-text,
  .hero-event-image {
    flex: none;
    width: 100%;
    text-align: center;
  }
}

@media screen and (min-width: 893px) {
  .hero-event-text,
  .hero-event-image {
    flex: 1 1 400px;
    text-align: left;
  }

  .hero-event-image {
    text-align: right;
  }
}


/* BLOC NEWSLETTER */

.newsletter-section {
  padding: 1.5rem 0.75rem;
  font-family: 'Calibri', sans-serif;
  background-color: var(--neutral-90)
}

.newsletter-section p {
  margin-bottom: var(--space-m);
  max-width: 600px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  max-width: 600px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  margin-bottom: var(--space-2xs);
  font-size: 0.95rem;
}

.form-field input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid var(--neutral-60);
  border-radius: var(--radius-m);
  background-color: white;
}

.form-row {
  display: flex;
  gap: var(--space-m);
  flex-wrap: wrap;
}

@media screen and (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* BLOC HERO BRAND */

.hero-brand {
  padding: 1.5rem 0.75rem;
}

.hero-brand-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-brand-text {
  flex: 1 1 400px;
}

.hero-brand-image {
  flex: 1 1 400px;
  text-align: right;
}

.hero-brand-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  max-height: 600px;
}

@media screen and (max-width: 892px) {
  .hero-brand-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-brand-text,
  .hero-brand-image {
    flex: none;
    width: 100%;
    text-align: center;
  }
}

@media screen and (min-width: 893px) {
  .hero-brand-text,
  .hero-brand-image {
    flex: 1 1 400px;
    text-align: left;
  }

  .hero-brand-image {
    text-align: right;
  }
}


/* BLOC HERO PAGE */

.hero-page {
  background-color: var(--secondary-orange-200);
  padding: 1.5rem 0.75rem;
}

.hero-page-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-page-text {
  flex: 1 1 400px;
}

.hero-page-image {
  flex: 1 1 400px;
  text-align: right;
}

.hero-page-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-l);
  max-height: 600px;
}

@media screen and (max-width: 892px) {
  .hero-page-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-page-text,
  .hero-page-image {
    flex: none;
    width: 100%;
    text-align: center;
  }
}

@media screen and (min-width: 893px) {
  .hero-page-text,
  .hero-page-image {
    flex: 1 1 400px;
    text-align: left;
  }

  .hero-page-image {
    text-align: right;
  }
}

/* BLOC Actions */

.home-actions {
  background-color: var(--neutral-100);
  padding: 2rem 0;
}

.home-actions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.home-actions-controls {
  display: flex;
  gap: 0.5rem;
}

.home-actions-controls button {
  background-color: var(--bleu-500);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-max);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-actions-controls button img {
  width: 1.25rem;
  height: 1.25rem;
}

.slider-prev img {
  transform: rotate(180deg);
}

.actions-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.actions-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.action-card {
  scroll-snap-align: start;
  flex: 0 0 100%;
  max-width: 100%;
  background-color: white;
}

.action-card-inner {
  padding: 1rem;
}

.action-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
}

.action-tag {
  display: inline-block;
  background-color: var(--neutral-90);
  color: var(--neutral-10);
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.action-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bleu-500);
  margin: 0.75rem 0 0.5rem 0;
  font-family: Ubuntu, sans-serif;
  line-height: 1.375rem;
}

.action-title-open {
  color: var(--bleu-500);
}

.action-title-closed {
  color: black;
}

.action-subtitle {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  font-family: Ubuntu, sans-serif;
  color: var(--neutral-10);
  line-height: normal;
}

.action-text {
  font-weight: 400;
  font-size: 1rem;
  color: var(--neutral-10);
  margin-bottom: 0.75rem;
  line-height: 1.3rem;
}

.action-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-600);
  text-decoration: none;
}

.action-link:hover {
    color: var(--orange-800);
}

.actions-slider-fade {
  position: absolute;
  top: calc(46.8px + 1.5rem);
  right: 0;
  width: 60px;
  height: calc(100% - (46.8px + 1.5rem));
  pointer-events: none;
  background: linear-gradient(to right, transparent, white);
}

.pays-slider-fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: calc(100% - (46.8px + 1.5rem));
  pointer-events: none;
  background: linear-gradient(to right, transparent, white);
}


.home-actions {
  position: relative;
  padding: 3rem 0.75rem;
}


.home-actions-footer {
  text-align: center;
  margin-top: 1.5rem;
}

@media screen and (min-width: 654px) {
  .action-card {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
}

@media screen and (min-width: 893px) {
  .action-card {
    flex: 0 0 calc(33.333% - 0.666rem);
    max-width: calc(33.333% - 0.666rem);
  }
}

@media screen and (min-width: 1375px) {
  .action-card {
    flex: 0 0 26%;
    max-width: 26%;
  }
}

@media screen and (max-width: 1374px) {
  .actions-slider-fade {
    display: none;
  }
}

.missions {
  background-color: #fff7ec;
  padding: 1rem 0 0 0;
}

.missions-intro {
  max-width: 60rem;
  margin: 0 0 2rem 0;
  padding:0 0.75rem;
}

.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "a b c"
    ". d .";
  gap: 0;
}

.missions-item img {
  width: 100%;
  height: auto;
  display: block;
}

.missions-item-a {
  grid-area: a;
}

.missions-item-b {
  grid-area: b;
}

.missions-item-c {
  grid-area: c;
}

.missions-item-d {
  grid-area: d;
}

@media screen and (max-width: 1024px) {
  .missions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "a b"
      "c d";
  }

  .missions-intro {
    padding:0 20px;
  }
}

@media screen and (max-width: 653px) {
  .missions-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
}

/* Bloc Projet Detail */

.project-detail-header {
  padding: 1.5rem 0.75rem;
  background-color: white;
}

.project-detail-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  max-height: 600px;
  margin-bottom: 0.75rem;
}

.project-detail-properties {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  align-items: center;
}

.project-fiche-link {
  background: var(--orange-600);
  color: #fff;
  font-weight: bold;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  text-decoration: none;
  display: inline-block;
}

.project-fiche-link:hover {
  background: var(--orange-500);
}

.project-fiche-link img {
  width: 20px;
  vertical-align: bottom;
  margin-right: 0.25rem;
}

.project-detail-body {
  background-color: white;
}

.project-fiche-link-desktop {
  display: none;
}

.project-content {
  max-width: 900px;
  padding:0 0.75rem;
}

.project-content p {
  margin-top: 0
}

.project-partners {
  padding:0 0.75rem;
}

.logos-partenaires p,
.logos-bailleurs p {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.logos-partenaires img,
.logos-bailleurs img {
  height: 60px;
  object-fit: contain;
  vertical-align: middle;
  max-width: 100%
}

.project-detail-body-inner {
  padding-bottom: 1.5rem
}

@media screen and (min-width: 893px) {

  .project-detail-header {
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--neutral-90);
  }

  .project-fiche-link-desktop {
    display: inline-block;
  }

  .project-fiche-link-mobile {
    display: none;
  }

  .project-detail-body {
    padding: 2rem 0 0 0;
  }

  .project-detail-body-inner {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
  }

  .project-detail-header-inner {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 3rem;
  }

  .project-detail-properties {
    display: block;
  }

  .project-detail-image {
    flex: 1 1 50%;
    display: flex;
    justify-content: flex-end;
  }

  .project-detail-image img {
    height: auto;
    max-height: 500px;
  }

  .project-partners {
    max-width: 475px;
  }

}


.zone-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 900px;
}

.pays-tag {
  background-color: var(--secondary-orange-100);;
  border: none;
  border-radius: var(--radius-s);
  padding: 0.5rem 1.25rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: var(--neutral-10);
}

.pays-tag.active {
  background-color: var(--orange-500);
}

.defaut {
  padding: 2rem 0.75rem 0.75rem 0.75rem;
  background-color: white;
}

.encadre {
 /* padding: var(--space-2xl) 0; */
  background-color: #fff;
  padding-bottom: 1rem;
}

/*
.encadre-inner {
  display: flex;
  gap: var(--space-xl);
  align-items: stretch;
  border-radius: var(--radius-xxxl);
  padding: var(--space-2xl);
  background:
    linear-gradient(var(--neutral-100), var(--neutral-100)) padding-box,
    linear-gradient(135deg, rgba(255, 150, 3, 0.8), rgba(0, 149, 255, 0.75)) border-box;
  border: 3px solid transparent;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  max-width: 790px
}
*/

.encadre-inner {
  border-left: 3px solid;
  max-width: 790px;
  padding: 0 0 1rem 2rem;
}

.encadre-media {
  flex: 0 0 320px;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-orange-200), var(--secondary-bleu-200));
  display: flex;
  align-items: center;
  justify-content: center;
}

.encadre-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.encadre-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.encadre-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 6px var(--space-m);
  border-radius: var(--radius-max);
  background: rgba(255, 150, 3, 0.14);
  color: var(--orange-800);
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.encadre-title {
  margin: 0;
  font-size: 1.875rem;
  line-height: 130%;
  font-family: 'Ubuntu', sans-serif;
  color: var(--neutral-10);
}

.encadre-text {
  display: grid;
  gap: var(--space-s);
  font-size: 1rem;
  line-height: 150%;
  color: var(--neutral-30);
}

.encadre-note {
  margin-top: auto;
  padding: var(--space-m);
  border-radius: var(--radius-xl);
  background: rgba(0, 149, 255, 0.08);
  color: var(--bleu-900);
  font-size: 0.95rem;
  line-height: 150%;
  box-shadow: inset 0 0 0 1px rgba(0, 149, 255, 0.15);
}

@media screen and (max-width: 1080px) {
  .encadre-inner {
    flex-direction: column;
    margin:0 20px;
  }

  .encadre-media {
    width: 100%;
    height: 260px;
  }

  .encadre-title {
    font-size: 1.625rem;
  }
}

@media screen and (max-width: 832px) {
  .encadre {
    padding: var(--space-xl) 0;
  }

  .encadre-inner {
    padding: var(--space-xl);
    gap: var(--space-l);
  }

  .encadre-media {
    height: 220px;
  }

  .encadre-text {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 621px) {
  .encadre-inner {
    padding: var(--space-l);
  }

  .encadre-badge {
    font-size: 0.75rem;
  }
}

.section-blc__layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.section-blc__text {
  flex: 2 1 0;
}

.section-blc__media {
  margin: 0;
  flex: 0 0 auto;
}

.section-blc__media img {
  width: auto;
  height: 100%;
  display: block;
  max-width: 150px;
}

.section-blc table {
  background-color: #fff;
  padding:2rem;
}


@media screen and (min-width: 832px) {
  .section-blc__layout {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2xl);
  }

  .section-blc--reverse .section-blc__layout {
    flex-direction: row-reverse;
  }

  .section-blc--reverse .section-blc__media {
    display: flex;
    justify-content: flex-end;
  }
  
}

.all-news {
  padding: 2rem 0 0.75rem 0;
  background-color: white;
}


.thematique-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.thematique-card {
  flex: 1 1 100%;
  max-width: 100%;
  background-color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (min-width: 654px) {
  .thematique-card {
    flex: 1 1 calc(50% - 2rem); /* 3 cards par ligne */
    max-width: calc(50% - 2rem);
  }
}

@media screen and (min-width: 1024px) {
  .thematique-card {
    flex: 1 1 calc(25% - 2rem); /* 3 cards par ligne */
    max-width: calc(25% - 2rem);
    padding-bottom: 1rem;
  }
}

.thematique-card img {
  width: 100%;
  height: 12.375rem;
  object-fit: cover;
  border-top-left-radius: var(--radius-m);
  border-top-right-radius: var(--radius-m);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: block;
}

.thematique-card h3 {
  font-size: 1.25rem;
  margin: 1rem 1rem 0 1rem;
}

.thematique-description {
  margin: 0 1rem;
  flex-grow: 1;
}

.thematique-card .theme-tag {
  margin: 0 1rem;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}

@media screen and (min-width: 1024px) {
	.section-thematiques-up {
		padding-bottom: 0
	}

	.section-thematiques-bottom {
		padding-top: 0
	}

	.home-actions-header-selected {
		padding-left: 1rem;
		padding-right: 1rem;
		background-color: var(--secondary-orange-100);
	}

	.thematique-card.thematique-selected {
		background-color: var(--secondary-orange-100);
	}
}


.theme-tag .button-secondary-blue::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url('icons/icon-forward-black.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* BLOC CAMPAGNES */

.home-campaigns {
  background-color: var(--secondary-orange-200);
  padding: 3rem 0.75rem;
  position: relative;
  color: var(--neutral-0);
}

.home-campaigns-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-campaigns-header .title-xxxl {
  color: var(--neutral-0);
}

.home-campaigns-controls {
  display: flex;
  gap: 0.5rem;
}

.home-campaigns-controls button {
  background-color: var(--neutral-0);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-max);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-campaigns-controls button img {
  width: 1.25rem;
  height: 1.25rem;
}

.campaign-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.campaign-card-inner {
  background-color: #fff
}

.campaign-date {
  color: var(--neutral-40);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.campaign-slider-fade {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4rem;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--secondary-orange-200) 100%);
}

.home-campaigns-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.campaign-row {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.campaign-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neutral-10);
  font-family: 'Ubuntu', sans-serif;
}

.campaign-text,
.campaign-text p {
  font-size: 1.05rem;
  color: var(--neutral-20);
}

.campaign-full-date {
  color: var(--neutral-40);
}

.campaign-empty {
  padding: 2rem 0;
  text-align: center;
}

.campaign-empty-message {
  font-size: 1.1rem;
  color: var(--neutral-30);
  margin: 0;
}

.campaign-pagination .current {
  background: var(--bleu-500);
}

.campaign-detail-section {
  background-color: var(--neutral-100);
  padding: 2.5rem 0.75rem;
}

.campaign-detail-meta {
  color: var(--neutral-40);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.campaign-detail-chapo {
  font-size: 1.15rem;
  line-height: 1.65rem;
}

.campaign-detail-image {
  margin: 1.5rem 0;
  border-radius: var(--radius-m);
  overflow: hidden;
}

.campaign-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.campaign-sidebar h2 {
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.sidebar-campaign-item {
  margin-bottom: 0.75rem;
}

.sidebar-campaign-item a {
  color: var(--bleu-500);
  text-decoration: none;
  font-weight: 500;
}

.sidebar-campaign-item a:hover {
  color: var(--bleu-400);
}

.campaign-sidebar-empty {
  color: var(--neutral-40);
  font-style: italic;
}

.campaign-cta-archives {
  margin-top: 1.5rem;
}

/* BLOC NEWS */

.home-news {
  background-color: var(--neutral-100);
  padding: 3rem 0.75rem;
  position: relative;
}

.home-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.home-news-controls {
  display: flex;
  gap: 0.5rem;
}

.home-news-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.home-news-controls button {
  background-color: var(--bleu-500);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-max);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-news-controls button img {
  width: 1.25rem;
  height: 1.25rem;
}

.news-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-slider::-webkit-scrollbar {
  display: none;
}

.news-card {
  scroll-snap-align: start;
  flex: 0 0 100%;
  max-width: 100%;
  background-color: white;
}

.news-card-inner {
  padding: 1rem;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
}

.news-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neutral-10);
  margin: 0.75rem 0 0.5rem 0;
  font-family: Ubuntu, sans-serif;
}

.news-date {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neutral-30);
  margin-bottom: 0.25rem;
}

.news-excerpt {
  font-size: 1rem;
  color: var(--neutral-10);
  margin-bottom: 0.75rem;
}

.news-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bleu-400);
  text-decoration: none;
}
.news-link:hover {
  color: var(--bleu-500);
}

.news-link img {
  vertical-align: bottom;
  width: 20px;
  height: 20px;
  margin-right: 0.25rem;
}

@media screen and (min-width: 654px) {
  .news-card {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
}

@media screen and (min-width: 893px) {
  .news-card {
    flex: 0 0 calc(33.333% - 0.666rem);
    max-width: calc(33.333% - 0.666rem);
  }
}

@media screen and (min-width: 1375px) {
  .news-card {
    flex: 0 0 26%;
    max-width: 26%;
  }
}

.news-text, .news-text p {
  font-size: 1.05rem
}

.news-detail {
  background-color: white;
  padding: 1.5rem 0.75rem;
}

.news-detail-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius-m);
  margin-bottom: 1rem;
  max-width: 790px
}

.news-detail-meta {
  font-size: 0.9rem;
  color: var(--neutral-30);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.news-detail h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.news-detail-chapo {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.news-detail-content {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-10);
}

.news-detail-content p {
  margin-bottom: 1rem;
}

.news-detail-layout {
  display: flex;
  gap: 8rem;
  align-items: flex-start;
}

.news-detail-article {
  flex: 1 1 790px;
  max-width: 790px;
}

.news-sidebar {
  flex: 0 1 250px;
}

.news-sidebar .sidebar-news-item {
  margin-bottom: 1rem;
}

.news-sidebar .sidebar-news-item a {
  color: var(--bleu-400);
  text-decoration: none;
}

.news-sidebar .newsletter-box {
  margin-top: 2rem;
}

@media (max-width: 892px) {
  .news-detail-layout {
    flex-direction: column;
    gap: 1rem;
  }
  .news-sidebar {
    order: 2;
  }
}



/* RESSOURCES */

.ressources {
  background-color: white;
  padding: 0.5rem 2rem;
  margin-bottom: 1.5rem;
  line-height: 2;
}

.ressources-engine {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ressources-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ressources-button {
  display: flex;
}

.ressources-intro {
  margin-bottom: 1.5rem;
  padding: 0 2rem;
}

.ressources label {
  flex: 0 0 11rem;
  padding-right: 0.5rem;
  color: var(--bleu-900);
  font-weight: 700;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
}

.ressources-field input,
.ressources-field select {
  flex: 1 1 15rem;
  max-width: 18rem;
  width: 100%;
}

.ressources input,
.ressources select {
  border: 1px solid var(--neutral-60);
  padding: 0.25rem 0.5rem;
}

.ressources button {
  min-width: 7.5rem;
  line-height: 1.4;
  font-size: 1rem;
  margin-left: 0;
}

.ressources-catalogue {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 893px) {
  .ressources-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 1.5rem;
    align-items: start;
  }
  .ressources-intro {
    margin-bottom: 0;
    padding: 0;
  }
  .ressources-catalogue {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .ressources-button {
    margin-left: 11.5rem;
  }

  .ressources label {
    text-align: right;
  }

}

.ressource-item {
  background: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin: 1rem 0;
  line-height: 1.5;
  clear: both;
}


.image-container img {
  max-width: 120px;
}

.image-container {
  float: left;
  min-width: 10rem;
  text-align: center;
}

.ressource-titre {
  color: #000;
  font-size: 1.125rem;
  background-color: #d6d2bb;
  padding: 0.25rem;
  font-weight: bold;
}

.theme-migrants .ressource-titre {
  background-color: #cf8900;
  color: #fff;
}

.theme-appui-structuration-societe-civile .ressource-titre {
  background-color: #8a4e1e;
  color: #fff;
}

.theme-economie-inclusive-responsable .ressource-titre {
  background-color: #138a86;
  color: #fff;
}

.ressource-description {
  padding-left: 10rem;
}

.ressource-description.ressource-description-video {
  padding-left: 0;
}

.ressource-item .button {
  max-width: 16.875rem;
  text-align: center;
  display: inline-block;
}

.ressource-item .button:hover {
  color: #fff;
}

.ressource-video {
  margin-left: 0;
  max-width: 34.1875rem;
}

.ressource-video iframe {
  max-width: 33.75rem !important;
}


.news-full-card {
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.news-full-card:nth-child(even) {
  background-color: var(--secondary-orange-100);
}

.news-full-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
  align-items: top;
}

.news-full-text {
  flex: 1 1 50%;
}

.news-full-image {
  flex: 1 1 40%;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.pagination a {
  padding: 0.4em 0.7em;
  text-decoration: none;
  color: var(--secondary-orange-200);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.2em;  
  height: 2.2em; 
  text-align: center;
}

.pagination .current {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.2em;  
  height: 2.2em;  
  background: var(--orange-600);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
}

.pagination .dots {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.2em;   
  height: 2.2em;  
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
}


@media (max-width: 892px) {
  .pagination {
    gap: 0.15rem;
  }
}


.news-full-date {
  text-align: right;
  margin-bottom: 0.75rem;
}

.news-full-image {
  flex: 1 1 40%;
  max-width: 360px; 
  height: auto;    
  overflow: hidden;
}

.news-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 892px) {
  .news-full-content {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .news-full-image {
    margin: 0 auto;
    max-width: 480px; 
  }
}

@media (min-width: 893px) and (max-width: 1080px) {
  .news-full-image {
    flex: 1 1 30%;
  }
}

.news-detail p, .news-detail h1, .news-detail-content {
  max-width: 790px
}


.text-columns {
  max-width: 790px
}

.equipe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start; /* Aligné à gauche */
}

.membre-equipe {
  flex: 1 1 calc(25% - 2rem);
  max-width: calc(25% - 2rem);
  background-color: white;
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.membre-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: var(--radius-m);
  border-top-right-radius: var(--radius-m);
}

.membre-info {
  width: 100%;
}

.membre-info-inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.membre-info strong {
  font-size: 1.125rem;
  font-weight: 700;
  display: block;
  margin-top: 0.5rem;
}

.membre-titre {
  font-weight: 500;
  color: var(--neutral-30);
  display: block;
  margin-bottom: 0.5rem;
}

.membre-info p {
  font-size: 1rem;
  color: var(--neutral-10);
  margin: 0;
  flex-grow: 1; /* Pour occuper la hauteur et aligner */
}

@media screen and (max-width: 1080px) {
  .membre-equipe {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 654px) {
  .membre-equipe {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* Variables dédiées au layout news (peuvent être ailleurs) */
:root{
  --news-container: 1120px;  /* largeur totale visuelle */
  --news-content: 740px;     /* colonne article */
  --news-sidebar: 340px;     /* colonne sidebar */
  --news-gap: 32px;          /* espace entre colonnes */
  --news-padX: 24px;         /* padding interne */
}

@media (min-width: 893px){
  /* Layout 2 colonnes centré, sans toucher .wrapper */
  .news-detail-layout{
    max-width: calc(var(--news-container) + 2*var(--news-padX));
    margin-inline: auto;
    padding-inline: var(--news-padX);

    display: grid;
    grid-template-columns:
      minmax(0, var(--news-content))
      minmax(260px, var(--news-sidebar));
    column-gap: var(--news-gap);
    align-items: start;

    position: relative; /* pour le trait */
  }

  /* Trait vertical plein-hauteur au milieu du gap */
  .news-detail-layout::before{
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: calc(var(--news-padX) + var(--news-content) + var(--news-gap)/2);
    width: 1px;
    background: rgba(0,0,0,.08); /* ou var(--neutral-70) */
    pointer-events: none;
  }

  /* Confort de lecture + sticky sidebar */
  .news-detail-article{ padding-right: 20px; }
  .news-sidebar{ padding-left: 20px; position: sticky; top: 6rem; }

  /* Laisse la largeur à la colonne */
  .news-detail-article{ max-width: none; }
  .news-detail h1,
  .news-detail p,
  .news-detail-content{ max-width: none; }

  /* Image à la largeur de la colonne */
  .news-detail-image img{
    max-width: 100%;
    height: auto;
  }
}


/* Bonus : réduire aussi l'écart des cartes « news-full » (si utilisé) */
@media (min-width: 893px){
  .news-full-content{ gap: clamp(24px, 4vw, 48px); }
}

.news-full-card { scroll-margin-top: 96px; }

.separator-container {
  background-color: #fff;
  padding: 0.1em;
  display: flex;
  justify-content: center;
}

.separator {
  height: 1px;
  background-color: #ccc;
  width: 90%;
  margin: 0.1rem 0;
  max-width: 780px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: #fff;
  padding: 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 1000;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
}

.cookie-banner button {
  margin-left: 0.5rem;
}
