﻿html {
  font-size: 16px; /* base desktop */
}

@media (max-width: 768px) {
  html {
    font-size: 15px; /* r�tr�cit la base sur mobile */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px; /* encore plus petit sur petits �crans */
  }
}

/* === SCROLLBAR GLOBALE YMG === */
html {
  scrollbar-width: thin; /* pour Firefox */
  scrollbar-color: #060606 #ccc;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px; /* �paisseur verticale */
}

::-webkit-scrollbar-track {
  background: #ccc; /* fond */
}

::-webkit-scrollbar-thumb {
  background: #060606; /* couleur du curseur */
  border-radius: 10px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #060606; /* effet au survol */
}

a {
  all: unset;
  cursor: pointer;
}


/* fiche style css */ 

@keyframes pulseLight {
  0% {
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.8);
  }
  100% {
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
  }
}

/* animation si n�cessaire

  box-shadow: 0 2px 5px rgba(67, 176, 241, 0.7);
  animation: pulseLight 2s infinite ease-in-out;

*/

/* YMG LANGUAGE SELECTION POPUPS */
.ymg-popup-language-select-overlay{
  position:fixed;inset:0;display:none;align-items:center;justify-content:center;
  background:rgba(0,0,0,0.5);z-index:10050;backdrop-filter:blur(6px);
}
.ymg-popup-language-select-modal{
  background:#f4f4f4;border:1px solid #3f3f3f;border-radius:10px;
  padding:18px 18px 16px; width:min(92vw,420px); font-family:Figtree;
  display:flex;flex-direction:column;align-items:center;gap:12px; text-align:center;
  box-sizing:border-box;
}
.ymg-popup-language-select-overlay{display:none}
@media (max-width: 749px){
  .ymg-popup-language-select-modal{ width: calc(var(--app-width) * 0.95); max-width: calc(var(--app-width) * 0.95); margin:0 auto; }
}
.ymg-popup-language-select-logo{
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border:1px solid #959595;border-radius:20%;
}
.ymg-popup-language-select-logo img{width:34px;height:34px;object-fit:contain; filter: invert(1);}
.ymg-popup-language-select-welcome{color:#191919;font-size:11px;margin-top:4px}
.ymg-popup-language-select-title{color:#060606;font-size:13px;margin-top:4px}
.ymg-popup-language-select-buttons{display:flex;gap:10px;margin-top:6px}
.ymg-popup-language-select-btn{
  background:transparent;color:#060606;border:1px solid #959595;border-radius:30px;
  padding:8px 14px;cursor:pointer;font-family:Figtree;font-weight:600;font-size:12px;
  transition:background .2s ease,border-color .2s ease,transform .15s ease
}
.ymg-popup-language-select-btn:hover{background:rgba(255,255,255,0.08);border-color:#000;transform:translateY(-1px)}
.ymg-popup-language-select-note{color:#222222;font-size:11px;margin-top:2px}


.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 749px) { 
  .language-selector select {
    padding: 6px 6px;
    margin-top: 10px;
    justify-content: left;
    font-size: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    background-color: #020509;
    color:#f4f6fc;
    cursor: pointer;
  }

  .language-selector {
    margin-right: 0px;
    display: flex;
    align-items: center;
  }

  .separator-box {
    width: 70%;
    height: 1px;
    background-color: #2d333b;
    margin: 0 16px;
  }
}

@media screen and (min-width: 749px) { 
  .language-selector select {
    padding: 6px 7px;
    margin-top: -5px;
    font-size: 10px;
    border: 1px solid #2d333b;
    border-radius: 5px;
    background-color: #020509;
    color:#f4f6fc;
    cursor: pointer;
  }

  .language-selector {
    margin-right: 10px;
    display: flex;
    align-items: center;
  }
}  

header {
  padding: 10px 0;
  width: 100%;
  top: 0;
  background: #f4f4f4;
  border-bottom: 1px solid #959595;
}

body {
  font-family: Figtree;
  background-color: #eee;
  margin: 0;
  padding: 0;
}

.Btn {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(100%) brightness(1);
  -webkit-backdrop-filter: blur(20px) saturate(100%) brightness(1);
  border: 1px solid rgba(255, 255, 255, 0.01);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #959595;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.scroll-to-top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  position: fixed;
  cursor: pointer;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.arrow path {
  fill: #000;
  width: 15px;
  height: 15px;
}

/* --- MOBILE NAV MENU --- */
.nav-menu-mobile {
  position: fixed;
  top: 0;
  font-family: Figtree;
  left: 0;
  width: calc(var(--app-width) * 0.99);
  height: calc(var(--app-height) * 0.92);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(160%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(1.05);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 1.5px;
  border-right: 1px solid #959595;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: -4px 0 10px rgba(0,0,0,0.1);
}

.nav-menu-mobile.active {
  transform: translateX(0); 
}

/* --- PC NAV MENU (hamburger-pc) --- */
.nav-menu-desktop {
  position: fixed;
  top: 0;
  font-family: Figtree;
  left: 0;
  width: 35%;
  height: calc(var(--app-height) * 0.92);
  background-color: #f4f4f4;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 20px;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
  border-right: 1px solid #959595;
}

.nav-menu-desktop.active {
  transform: translateX(0); 
}

.desktop-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 10px;
  padding-top: 0px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 25px;
  /* gap: 20px ou moins d�s que le menu pc deviens encombr� */  
}

.desktop-nav-links li a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 3px;
  position: relative;
  transition: color 0.3s ease;
}

.desktop-nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: black;
  transition: width 0.4s ease;
}

.desktop-nav-links li a:hover {
  color: black;
}

.desktop-nav-links li a:hover::after {
  width: 100%;
}

/* --- NAV LINKS MOBILE --- */
.mobile-header {
  border-bottom: 1px solid #8b949e;
  padding-bottom: 15px; 
  margin-bottom: 20px;
}

.mobile-logo {
  width: 46px;
  height: auto;
  text-align: right;
  align-content: right;
  right: 10px;
  justify-content: right;
  justify-items: right;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 12px;
  gap: 25px;
}

.mobile-nav-links li a {
  text-decoration: none;
  color: #000;
  font-size: 13px;
  font-weight: 500;
}

.box {
  background: linear-gradient(to right, #090909, #121212);
  border: 1px solid #2d333b;
  padding: 10px;
  margin-top: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.box p {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.social-icons-2 {
  display: flex;
  font-size: 14px;
  margin-top: 30px;
  gap: 20px;
  margin-bottom: 35px;
  justify-content: center;
  align-items: center;
  color: #000;
}

.menu-social-icons {
  display: flex;
  gap: 20px;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
  height: 30px;
  color: #000;
}

.menu-social-icons {
  display: flex;
  margin-top: 10px;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
  height: 30px;
  color: #000;
}


.instagram-link {
  color: #000;
  font-size: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.box-language-pc {
  background: #f4f4f4;
  border: 1px solid #959595;
  padding: 15px;
}

.box-language-pc select {
    text-align: center;
    margin: 0 auto;
}

.box-pc {
  margin-top: -30px;
  background: #f4f4f4;
  border: 1px solid #959595;
  padding: 2px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.box-pc p {
  font-size: 13px;
  margin: 9px, 0, -10px, 0;
  font-family: Figtree;
  font-weight: 500;
  color: #000;
}

/* HAMBURGER MOBILE */
@media screen and (max-width: 749px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    margin: 9px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.4s ease;
    position: absolute;
    left: 10px; /* tout � gauche */
  }

  .hamburger .bar {
    width: 20px;
    height: 1px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.4s;
    transform-origin: center;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2.6px);
  }

  .hamburger.active .bar:nth-child(2) {
    transform: rotate(-45deg) translate(2px, -2.6px);
  }

  body.menu-active {
    overflow: hidden;
  }
}

/* HAMBURGER PC */
@media screen and (min-width: 749px) {
  .hamburger-pc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28px;
    margin: 0 auto !important;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.4s ease;
    position: absolute;
    left: 12px; /* tout � gauche */
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger-pc .bar {
    width: 20px;
    height: 1px; /* un peu plus �pais pour bien voir la croix */
    background-color: #000;
    margin: 3px 0; /* espace entre les 2 barres */
    transition: 0.4s;
    transform-origin: center;
  }

  /* Animation active avec seulement 2 barres */
  .hamburger-pc.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2.6px);
  }

  .hamburger-pc.active .bar:nth-child(2) {
    transform: rotate(-45deg) translate(2px, -2.6px);
  }

  body.menu-active {
    overflow: hidden;
  }
}



/* Responsive : menu desktop cach� sur mobile */
@media screen and (max-width: 749px) {
  .nav-menu {
    display: none;
  }
}

/* FOOTER */
.separator-footer {
  width : 94%;
  height: 1px;
  background: linear-gradient(
    to right,
      rgba(149, 149, 149, 0) 0%,
      rgba(149, 149, 149, 1) 20%,
      rgba(149, 149, 149, 1) 80%,
      rgba(149, 149, 149, 0) 100%
    );
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 30px;
}

footer p {
  font-size: 10px;
  font-family: Figtree;
}

footer {
  background: #f8f8f8;
  border-top:  1px solid #959595;
  color: #2d333b;
  text-align: center;
  padding: 25px 0;
  bottom: 10px;
  margin-top: 10px;
  width: 100%;
  margin-bottom: -10px;
}

.footer-label {
  font-size: 8px;
  color: #000;
  padding: 3px 10px;
  border: 1px solid #959595;
  margin: 0 auto;
  margin-top: -2px;
  margin-bottom: 5px;
  font-family: Figtree;
  border-radius: 10px;
  width: fit-content;
}

.nav-footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: 20px;
    gap: 20px;
   }

  .nav-footer li{
    margin: 0;
    display: inline-block;
    margin-bottom: 10px;
  }

  .nav-footer a {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    font-family: Figtree;
    padding-bottom: 3px;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
  }

  .nav-footer ul li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: #000;
    transition: width 0.4s ease;
  }

  .nav-footer ul li a:hover::after {
    width: 100%;
}

  .horizontal-separator-1 {
    margin: -10px auto 32px auto;
    width: 130px;
    height: 1px;
    background: linear-gradient(
    to right,
      rgba(149, 149, 149, 0) 0%,
      rgba(149, 149, 149, 1) 20%,
      rgba(149, 149, 149, 1) 80%,
      rgba(149, 149, 149, 0) 100%
    );
}

  .horizontal-separator-2 {
    margin: 1px auto 20px auto;
    width: 130px;
    height: 1px;
    background: linear-gradient(
    to right,
      rgba(149, 149, 149, 0) 0%,
      rgba(149, 149, 149, 1) 20%,
      rgba(149, 149, 149, 1) 80%,
      rgba(149, 149, 149, 0) 100%
    );
}

.footer-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* permet le retour � la ligne sur petits �crans */
  gap: 25px;
  margin-top: 15px;
  margin-bottom: 15px;
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
}

.footer-container a {
  text-decoration: none;
  font-family: Figtree;
  transition: 0.2s;
}

.footer-container a:hover {
  color: #000; /* hover l�ger */
}

/* Mobile : une seule colonne centr�e */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

.inner-menu-separator {
    margin: 5px 0 5px 0;
    width: 96%;
    left: 0px;
    height: 1px;
    background: linear-gradient(
    to right,
    rgba(149, 149, 149, 0) 0%,
    rgba(149, 149, 149, 1) 20%,
    rgba(149, 149, 149, 1) 80%,
    rgba(149, 149, 149, 0) 100%
  );
}

.menu-separator-1 {
    margin: -10px auto 31px auto;
    width: 98%;
    height: 1px;
    background: linear-gradient(
    to right,
    rgba(149, 149, 149, 0) 0%,
    rgba(149, 149, 149, 1) 20%,
    rgba(149, 149, 149, 1) 80%,
    rgba(149, 149, 149, 0) 100%
);
}

.menu-separator-2 {
    margin: 0px auto 20px auto;
    width: 98%;
    height: 1px;
    background: linear-gradient(
    to right,
    rgba(149, 149, 149, 0) 0%,
    rgba(149, 149, 149, 1) 20%,
    rgba(149, 149, 149, 1) 80%,
    rgba(149, 149, 149, 0) 100%
);
}


/* YMG LANGUAGES */
.ymg-languages {
  position: relative;
  margin: 0 auto;
  margin-top: -10px;
  margin-bottom: 22px;
  justify-content: center;
  align-items: center; 
  font-family: Figtree;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ymg-languages a {
  color: #2d333b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.ymg-languages a:hover {
  color: #000;
}

.ymg-languages .separator {
  color: #000;
}

/* langue active */
.ymg-languages a.active {
  color: #000;
}

.container-header {
  display: flex;
  align-items: center;
  width: 97%;
  height: 30px;
  position : relative;
  margin: 0 auto;
  justify-content: center;
  padding: 10px 0;
}

@media screen and (max-width: 749px) {
  .logo {
    height: 40px;
    margin-right: 0px;
    margin-top: 10px;
    right: 20px;
    filter: invert(1);
  }
}
@media screen and (min-width: 749px) {
  .logo {
    height: 42px;
    width: auto;
    margin: 0 auto;
    filter: invert(1);
  }
}

.menu-logo {
  margin-top: -10px;
  bottom: 15px;
  height: 29px;
  filter: invert(1);
}

.menu-box-pc {
  margin: 0 auto;
  width: 96%;
  border-radius: 15px;
  align-items: center;
  text-align: center;
  padding: 3px;
  border: 1px solid #959595;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 25px;
  justify-content: left;
}

.nav-menu li {
  display: inline;
}

.nav-menu a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
  transition: color 0.3s ease;
}

hr {
    margin-top: -8px;
}

.footer-text {
    font-family: Figtree;
    font-size: 13px;
    font-weight: lighter;
}

 *:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  
* {
    -webkit-tap-highlight-color: transparent;
  }

.entity-quote {
  display: flex;
  justify-content: center;
  padding: 20px;
  font-family: Figtree;
}

.entity-quote .eq-box {
  width: 85vw;
  border: 1px solid #2d333b;
  background: #060606;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
}

.entity-quote .eq-title {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 10px 0;
}

.entity-quote .eq-line {
  width: 20%;
  height: 1px;
  background: #2d333b;
  margin: 0 auto 10px auto;
}

.entity-quote .eq-text {
  color: #8b949e;
  font-family: Figtree;
  font-size: 12px;
  margin: 0;
}

@media (max-width: 749px) {
    .faq-wrapper-custom {
      width: 85%;
      border: 1px solid #959595;
      margin: auto;
      padding: 20px;
      border-radius: 15px;
      margin-bottom: 50px;
      background-color: #f8f8f8;
      box-shadow: 2px 2px 24px rgba(252, 252, 252, 0.4);
    }

    .faq-title {
      margin: 0 auto;
      text-align: center;
      margin-bottom: 15px;
    }

    .faq-title h1 {
      font-size: 1.3rem;
      margin: 0 auto;
      color: #000;
      font-family: Figtree;
      font-weight: 600;
    }
    }
    /* Wrapper pour le conteneur g�n�ral */
    .faq-wrapper-custom {
      max-width: 700px;
      border: 1px solid #959595;
      margin: auto;
      padding: 20px;
      border-radius: 15px;
      margin-bottom: 50px;
      background-color: #f8f8f8;
      box-shadow: 2px 2px 24px rgba(255, 255, 255, 0.4);
    }

    .faq-wrapper-custom-info {
      font-size: 10px;
      font-family: Figtree;
      text-align: center;
      color: #222222;
      margin: 0 auto;
      margin-top: 20px;
      margin-bottom: 5px;
    }

    .faq-wrapper-custom-separator {
      width: 100%;
      margin-top: 20px;
      margin-bottom: 15px;
      height: 1px;
      background: linear-gradient(
        to right,
      rgba(45, 51, 59, 0) 0%,
      rgba(45, 51, 59, 1) 20%,
      rgba(45, 51, 59, 1) 80%,
      rgba(45, 51, 59, 0) 100%
      );
    }

  .faq-title {
  width: 100%; 
  text-align: center; 
}

.faq-box {
  display: inline-block;
  border: 1px solid #959595;
  background: #f8f8f8;
  margin: 15px auto 20px auto;
  border-radius: 10px;
  padding: 5px 15px 5px 15px;
}
@media (max-width: 749px) {
  .faq-box {
    margin: 15px auto 0px auto;
    padding: 5px 15px 5px 15px;
  }
}

.faq-box h1 {
  font-family: Figtree, sans-serif;
  font-size: 12px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.faq-icon {
  border: 1px solid #959595;
  border-radius: 50%;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: bold;
  color: #000;
}


    /* Conteneur des FAQ */
    .faq-container-custom {
      border-radius: 8px;
      background-color: #f4f4f4;
    }
  
    /* Style pour chaque �l�ment de la FAQ */
    .faq-item-custom {
      margin-bottom: 10px;
      overflow: hidden;
    }
  
    /* Style des questions */
    .faq-question-custom, .faq-question-custom-2, .faq-question-custom-3 {
      padding: 12px 15px;
      font-size: 14px;
      color: #000;
      cursor: pointer;
      position: relative;
      font-family: Figtree;
    }

  
    .faq-question-custom::after, .faq-question-custom-2::after, .faq-question-custom-3::after {
      content: " +";
      position: absolute;
      right: 15px;
      font-weight: bold;
      color: #000;
      font-size: 14px;
    }
  
    .faq-question-custom.active::after, .faq-question-custom-2.active::after, .faq-question-custom-3.active::after {
      content: " -";
    }
  
    /* Style des r�ponses */
    .faq-answer-custom {
      max-height: 0;
      overflow: hidden;
      font-family: Figtree;
      font-size: 12px;
      font-weight: normal;
      color: #2d333b;
      background-color: #f4f4f4;
      transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
      padding: 0 15px;
    }
  
    .faq-answer-custom.open {
      max-height: 100px; /* Ajustez selon le contenu */
      padding: 12px 15px;
    }
  
    @media (max-width: 768px) {
      .faq-question-custom, .faq-question-custom-2, .faq-question-custom-3 {
        font-size: 13px;
      }
      .faq-answer-custom {
        font-size: 12px;
      }
    }


/* From Uiverse.io by kennyotsu */ 
.wrapper {
  display: flex;
  justify-content: center;   
  height: 60px; 
  margin-bottom: 20px;            
}

.card { 
  --bg-color: #fff;
  background-color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 1.25rem;
}

.loader {
  color: rgb(124, 124, 124);
  font-family: Figtree, sans-serif;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
}

.static {
  white-space: nowrap;
}

.words {
  position: relative;
  overflow: hidden;
  height: 1em;
  display: inline-block;
}

.word {
  display: block;
  color: #fff;
  line-height: 1em;
  animation: spinWords 8s infinite;
}

@keyframes spinWords {
  0%   { transform: translateY(0%); }
  20%  { transform: translateY(0%); }
  25%  { transform: translateY(-100%); }
  45%  { transform: translateY(-100%); }
  50%  { transform: translateY(-200%); }
  70%  { transform: translateY(-200%); }
  75%  { transform: translateY(-300%); }
  95%  { transform: translateY(-300%); }
  100% { transform: translateY(-400%); }
}

.ymg-entity-pitch {
  background-color: #f4f4f4;
  color: #000;
  padding: 60px 20px;
  font-family: 'Figtree', sans-serif;
  text-align: center;
}

.ymg-entity-pitch h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.ymg-cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.ymg-card {
  border: 1px solid #959595;
  padding: 20px;
  width: 300px;
  box-sizing: border-box;
  text-align: left;
  background-color: #f4f4f4; /* optionnel pour mieux faire ressortir le carr� */
  border-radius: 8px;
  transition: transform 0.2s;
}

.ymg-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.ymg-card p {
  font-size: 0.95rem;
  color: #000;
}

/* Hover effect */
.ymg-card:hover {
  transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 768px) {
  .ymg-card {
    width: 89%;
    margin-bottom: 20px;
  }
}

.ymg-design-section {
  width: 100%;
  min-height: 800px;
  margin-bottom: 60px;
  background-color: #f4f4f4;
  border-top: 1px solid #959595;
  border-bottom: 1px solid #959595;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px 30px;
  box-sizing: border-box;
  font-family: Figtree;
}

.ymg-content h2 {
  font-size: 1.8rem;
  top: 20px;
}

.ymg-content h3 {
  font-size: 1rem;
  color: #000;
  font-weight: normal;
  top: 19px;
  margin-bottom: 40px;
}

.ymg-inner-container {
  width: 100%;
  min-height: 450px;
  background-color: #f4f4f4;
  justify-content: center;
  align-items: center;
}

.ymg-inner-container-image-pc {
  width: 89%;
  max-height: 98%;
  object-fit: contain;
  margin: 10px 0px 20px 0px;
  padding: 15px;
  border: 1px solid #959595;
  border-radius: 10px;
}

.ymg-inner-container-image-mobile {
  width: 100%;
  max-height: 100%;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #959595;
  border-radius: 10px;
}

@media (max-width: 749px) {
  .ymg-inner-container-image-pc {
    display: none; /* cacher l'image sur mobile */
  }
  .ymg-content {
    width: 105%;
    max-width: 1400px;
    text-align: center;
    color: #000;
}
}

@media (min-width: 749px) {
  .ymg-inner-container-image-mobile {
    display: none; /* cacher l'image sur mobile */
  }
  .ymg-content {
    width: 91%;
    max-width: 1200px;
    text-align: center;
    color: #000;
}
}

.ymg-inner-container-boutton {
  margin: 15px auto 15px auto;
  padding: 15px 30px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  border-radius: 30px;
  display: inline-block;
  background: #000;
  color: #fff;
  font-family: Figtree;
  font-size: 0.7rem;
}

/* YMG PORTAL*/
.ymg-portal {
  font-size: 11px;
  font-family: Figtree;
  color: #000;
  border: 1px solid #959595;
  border-radius: 30px;
  padding: 4px 13px;
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ymg-portal i {
  font-size: var(--portal-icon-size, 13px);
  color: #000;
  opacity: 0.9;
  transition: color 0.3s, opacity 0.3s, text-shadow 0.3s ease;
}
.ymg-portal:hover {
  color: #000;
}

#portal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

.portal-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portal-logo {
  width: 55px;
  margin-bottom: 25px;
  /*filter: invert(1);*/
}

.portal-logo i {
  font-size: 30px;
  color: #000;
}

#enter-portal {
  padding: 13px 25px;
  border: none;
  font-weight: 600;
  background: #000;
  border: 1px solid #000;
  color: #fff;
  text-transform: uppercase;
  font-family: Figtree;
  border-radius: 30px;
  display: none;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: 0.7rem;
}

/* ------------------- PORTAL DIMENSION ------------------- */
#portal-dimensions {
  position: fixed;
  inset: 0;
  font-family: Figtree, sans-serif;
  background: #ebebeb;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: #000;
  text-align: center;
}

/* Liste principale */
#portal-dimensions ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(6px);
  margin: 0 auto;
  margin-top: 8px;
  max-width: 350px;
}

/* === Menus synced with entity-base (light theme) === */
.nav-menu-desktop {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(160%) brightness(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(1.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.desktop-nav-links {
  justify-content: center;
  align-items: center;
}

.desktop-nav-links li a {
  font-size: 13px;
  font-weight: 600;
  font-family: Figtree;
  color: #000;
}

.mobile-nav-links {
  justify-content: center;
  align-items: center;
}

.mobile-nav-links li a {
  color: #000;
  font-size: 13px;
  font-weight: 500;
}

.inner-menu-label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  left: -7px;
  margin: -10px 0 -10px 0;
  border-radius: 10px;
  padding: 2px 10px;
  color: #000;
  border: 1px solid #959595;
}

/* Chaque item */
.portal-item {
  border: 1px solid #959595;
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: visible;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  min-height: 120px;
  min-width: 120px;
}

/* En-t�te cliquable */
.portal-item-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  position: relative;
  flex: 1;
}

/* Lien principal */
#portal-dimensions a {
  color: #000;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Texte du lien + soulignement anim� */
.portal-link-text {
  position: relative;
  font-size: 12.5px;
}

.portal-link-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: #000;
  transition: width 0.4s ease;
}

#portal-dimensions a:hover .portal-link-text::after {
  width: 100%;
}

/* Carr� ic�ne */
.portal-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 1px solid #959595;
  border-radius: 28%;
  background: #fff;
  flex-shrink: 0;
}

.portal-link-icon-active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 1px solid #000;
  border-radius: 28%;
  background: #fff;
  flex-shrink: 0;
}

.portal-link-icon img, .portal-link-icon-active img {
  width: 55px;
  height: 55px;
  border-radius: 28%;
  object-fit: contain;
  filter: invert(1);
}

.portal-link-icon i, .portal-link-icon-active i{
  font-size: 28px;
}

/* ------------------- FL�CHE SVG ------------------- */
.toggle-desc {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  border: 1px solid #959595;
  border-radius: 50%;
  padding: 1px;
  transition: transform 0.3s ease;
  fill: none;
  stroke: #000;
  stroke-width: 2;
}

.toggle-desc.active .arrow-icon {
  transform: rotate(180deg);
}

@media (max-width: 749px) {
  .portal-item-desc {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .portal-item-desc p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

/* Description */
.portal-item-desc {
  display: none;
  width: 90%;
  color: #090909;
  font-size: 11px;
  line-height: 1.5;
  margin: 0 auto;
  background: #f8f8f8;
  text-align: center;
}

.portal-item-desc-separator {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(149, 149, 149, 0) 0%,
    rgba(149, 149, 149, 1) 20%,
    rgba(149, 149, 149, 1) 80%,
    rgba(149, 149, 149, 0) 100%
  );
}

.portal-item-desc p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-top: 7px;
  padding-bottom: 0px;
}

/* Label NEW / DEFAULT */
.new-label {
  font-size: 9px;
  color: #fff;
  padding: 3px 7px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: #000;
  position: absolute;
  top: 8px;
  right: 8px;
}

/* Bouton principal */
#portal-dimensions button:not(.toggle-desc) {
  margin-top: 30px;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
}

#portal-dimensions button:not(.toggle-desc) svg {
  width: 19px;
  height: 19px;
  color: #F4F4F4;
  padding: 5px 5px;
  background: #060606;
  cursor: pointer;
  border-radius: 50%;
}

/* Autres �l�ments */
.portal-separator {
  width: 140px;
  margin: 14px auto 15px auto;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(149, 149, 149, 0) 0%,
    rgba(149, 149, 149, 1) 20%,
    rgba(149, 149, 149, 1) 80%,
    rgba(149, 149, 149, 0) 100%
  );
}

.inner-portal-logo {
  margin-top: -10px;
  padding-bottom: 0px;
  height: 24px;
  font-size: 20px;
}

.portal-dimensions-p {
  font-size: 12.5px;
  white-space: pre-line;
  margin-bottom: 0px;
  font-family: Figtree;
  color: #000;
}

@media (max-width: 749px) {
  #portal-dimensions p { width: 90%; }
  #portal-dimensions li { max-width: 90%; }
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.portal-item-desc {
  display: block; /* Permet l�animation sur max-height */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease,
    padding-top 0.35s ease,
    padding-bottom 0.35s ease;
}

/* �tat ouvert */
.portal-item-desc.open {
  max-height: 55px;
  margin: 0 auto;
  opacity: 1;
  padding-top: 5px;
  padding-bottom: 12px;
}

/* Transition douce pour la fl�che */
.toggle-desc .arrow-icon {
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
}



/* YMG ARROW DOWN */
.ymg-actions-page-actions-arrow-down-wrap{
  text-align: center;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 70px 0px 0px 0px;
}

.ymg-actions-page-actions-arrow-down{
  width: 35px;
  background: #f8f8f8;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #959595;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

.ymg-actions-page-actions-arrow-down svg{
  width: 22px;
  height: 22px;
  display: block;
}
.ymg-actions-page-actions-arrow-down svg path{
  fill: #090909;
}

.ymg-actions-page-actions-arrow-down-text {
  font-family: Figtree;
  font-size: 10px;
  font-weight: 600;
  color: #090909;
  margin-top: 16px;
}


/* BANNIERE LETTRES FONDATEUR */
.top-banner {
  width: 100%;
  background: #000;
  border-bottom: 1px solid #2d333b;
  box-sizing: border-box;
  font-family: Figtree, sans-serif;
  font-size: 11px;
  color: #fff;
}

/* Conteneur principal */
.top-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* centre le texte */
  min-height: 40px;
  padding: 0 40px; /* espace pour la croix */
  overflow: hidden;
  text-align: center;
}

/* Texte centr� */
.top-banner__text {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  vertical-align: middle;
}

/* Lien */
.top-banner__text a {
  color: #fff;
  text-decoration: underline;
  margin-left: 3px;
}

/* Bouton fermer � droite */
.top-banner__close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #2d333b;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.top-banner__close:hover {
  background: #111;
}

.top-banner__close:active {
  transform: translateY(-50%) scale(0.96);
}

/* SVG X */
.top-banner__close svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Banni�re cach�e */
.top-banner.hidden {
  display: none !important;
}


/* YMG INDEX EXPLANATION (UNDER HERO SECTION) */
.ymg-index-explanation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  margin-top: 40px;
  margin-bottom: -5px;
}

.ymg-index-explanation-box {
  width: 70%;
  border: 1px solid #959595;
  background: #f8f8f8;
  border-radius: 15px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ymg-index-explanation-box {
  color: #090909;
}

.ymg-index-explanation-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ymg-index-explanation-icon-box {
  width: 30px;
  height: 30px;
  border: 1px solid #2d333b;
  border-radius: 10px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ymg-icon-box img {
  width: 10px;
  height: 10px;
}

.ymg-index-explanation-header h2 {
  font-size: 14px;
}

.ymg-index-explanation-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(45, 51, 59, 1) 0%,
    rgba(45, 51, 59, 1) 20%,
    rgba(45, 51, 59, 1) 80%,
    rgba(45, 51, 59, 0) 100%
  );
  margin: 12px 0;
}

.ymg-index-explanation-content p {
  margin: 8px 0;
  line-height: 1.6;
  color: #252525;
  font-size: 13px;
}

.header-inline-svg {
  width: 26px;
  height: 26px;
  filter: invert(1);
}

.inline-svg {
  width: 20px;
  height: 20px;
  margin-left: 6px;
  margin-right: 5px;
  vertical-align: middle;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 2px;
  filter: invert(1);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .ymg-index-explanation-box {
    width: 95%;
    padding: 18px;
  }

  .ymg-index-explanation-header h2 {
    font-size: 14px;
  }

  .ymg-index-explanation-content p {
    font-size: 13px;
  }
}

/* YMG BEFORE FOOTER */
.ymg-before-footer {
  width: fit-content;
  max-width: 90%;
  border: 1px solid #959595;
  border-radius: 30px;
  padding: 6px 13px;
  margin: 50px auto 50px auto;
  display: flex;
  align-items: center;
  background: #fff;
  justify-content: center;
  gap: 8px;
  color: #202020;
  font-family: 'Figtree', sans-serif;
  font-size: 10px;
  white-space: nowrap;
}

.ymg-before-footer p {
  margin: 0;
  line-height: 1;
}

.ymg-before-footer-portal-icon {
  width: 22px;
  height: 22px;
  border: 1px solid #959595;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ymg-before-footer-portal-icon svg {
  width: 42px;
  height: 14px;
  stroke: #000;
  fill: none;
}

/* ===== Responsive (petits �crans) ===== */
@media (max-width: 480px) {
  .ymg-before-footer {
    font-size: 9px;
    gap: 6px;
    padding: 5px 8px;
  }

  .ymg-before-footer-portal-icon {
    width: 20px;
    height: 20px;
  }

  .ymg-before-footer-portal-icon svg {
    width: 11px;
    height: 11px;
  }
}

/* YMG DISCORD SERVER */
.ymg-discord-server {
  display: flex;
  width: 45%;
  font-family: Figtree;
  align-items: stretch;
  justify-content: flex-start;
  gap: 22px;
  background: #f8f8f8;
  border: 1px solid #959595;
  border-radius: 10px;
  padding: 26px 30px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.discord-logo-box {
  width: 120px;
  border: 1px solid #959595;
  border-radius: 8px;
  background: #f4f4f4;
  color: #090909;
  font-size: 34px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.discord-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.discord-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

.discord-handle {
  color: #090909;
  margin-right: -5px;
  font-size: 14px;
  font-weight: 600;
}

.discord-extra-icon {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1);
}

.discord-description {
  color: #252525;
  font-size: 12px;
  margin: 0;
  margin-bottom: 10px;
}

.discord-join-btn {
  align-self: flex-start;
  background: #090909;
  color: #fff;
  font-family: Figtree;
  padding: 13px 23px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 11px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.08);
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  .ymg-discord-server {
    width: 80%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px;
  }

  .discord-logo-box {
    min-width: auto;
    margin: 0 auto;
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .discord-info {
    align-items: center;
  }

  .discord-join-btn {
    align-self: center;
  }
}

/* YMG CONTEXTUAL DIMENSION */
.ymg-association-dimension {
  width: 100%;
  background: #f8f8f8;
  border-top: 1px solid #959595;
  border-bottom: 1px solid #959595;
  padding: 60px 20px;
  margin-top: 70px;
  margin-bottom: 70px;
  box-sizing: border-box;
  font-family: Figtree;
}

.ymg-association-dimension-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.ymg-association-dimension-image-box {
  flex: 0 0 340px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}

.ymg-association-dimension-image {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: contain;
  display: block;
}

.ymg-association-dimension-content {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #fff;
}

.ymg-association-dimension-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #2d333b;
  padding: 8px 14px;
  margin-bottom: 5px;
  border-radius: 10px;
  font-size: 10px;
  color: #090909;
  width: fit-content;
}

.ymg-association-dimension-tag span {
  font-weight: 600;
  font-weight: 600;
}

.ymg-association-dimension-tag i {
  color: #090909;
}

.ymg-association-dimension-description {
  font-size: 13px;
  white-space: pre-line;
  line-height: 1.5;
  color: #202020;
  margin: 0;
  margin-bottom: 10px;
  max-width: 500px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .ymg-association-dimension-container {
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
    gap: 30px;
  }

  .ymg-association-dimension-content {
    align-items: center;
    margin: 0 auto;
  }

  .ymg-association-dimension-description {
    max-width: 90%;
  } 

  .ymg-association-dimension-image-box {
    padding: 1px;
}
}

/* YMG CHANGE DIMENSIONS */
.ymg-change-dimensions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  margin-bottom: -50px;
  padding: 40px 0;
  background-color: transparent;
}

.ymg-change-dimensions-box {
  display: inline-flex;
  text-align: center;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  border: 1px solid #959595;
  border-radius: 30px;
  padding: 5px 20px;
  width: fit-content;
  color: #090909;
  font-family: Figtree;
  font-size: 10px;
}

.ymg-change-dimensions-icon {
  color: #ccc;
  font-size: 16px;
}

.ymg-change-dimensions-text {
  margin: 0;
  color: #090909;
  line-height: 1.4;
}

.ymg-change-dimensions-link {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.3s;
}

/* YMG CONTACT INDEX*/
.ymg-contact-index-square {
  background: #f8f8f8;
  color: #090909;
  width: 95%;
  border: 1px solid #959595;
  padding: 40px 6%;
  border-radius: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  margin-top: 80px;
  font-family: Figtree;
}

.ymg-contact-index-square-separator {
  height: 1px;
  width: 30%;
  background: linear-gradient(
    to right,
    rgba(45, 51, 59, 1) 0%,
    rgba(45, 51, 59, 1) 20%,
    rgba(45, 51, 59, 1) 80%,
    rgba(45, 51, 59, 0) 100%
  );
  
}

.ymg-contact-index-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #090909;
}

.ymg-contact-index-header i {
  font-size: 14px;
  padding: 8px;
  width: 18px;
  border: 1px solid #959595;
  border-radius: 10px;
  text-align: center;
}

.ymg-contact-index-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.ymg-contact-index-field-row {
  display: flex;
  gap: 28px; /* plus d�espace entre Nom et Email */
  flex-wrap: nowrap;
  width: 100%;
}

.ymg-contact-index-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  width: 100%;
}

.ymg-contact-index-field label {
  font-size: 12px;
  color: #090909;
  font-weight: 400;
}

.ymg-contact-index-field input,
.ymg-contact-index-field textarea {
  background: #eee;
  border: 1px solid #959595;
  padding: 10px 12px;
  color: #090909;
  font-size: 13px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
  width: 100%;
  min-height: 40px;
  font-family: Figtree;
}

.ymg-contact-index-field input::placeholder,
.ymg-contact-index-field textarea::placeholder {
  color: #494949;
  font-family: Figtree;
}

.ymg-contact-index-field input:focus,
.ymg-contact-index-field textarea:focus {
  border-color: #959595;
  box-shadow: 0 0 0 4px rgba(45, 51, 59, 0.06);
}

.ymg-contact-index-field textarea {
  min-height: 120px;
  line-height: 1.45;
}

.ymg-contact-index-send-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.ymg-contact-index-send {
  background: #090909;
  color: #fff;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  font-family: Figtree;
 
}


@media (max-width: 700px) {
  .ymg-contact-index-field-row {
    flex-direction: column;
    gap: 18px;
  }

  .ymg-contact-index-send-row {
    justify-content: center;
  }

  .ymg-contact-index-send-row, .ymg-contact-index-field input, .ymg-contact-index-field textarea, .ymg-contact-index-form, .ymg-contact-index-field-row {
    width: 97%;
  }
}


/* ASSOCIATION HERO SECTION */
.ymg-association-hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  font-family: Figtree;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-bottom: 1px solid #2d333b;
}

/* === Image de fond floue et assombrie === */
.ymg-association-hero-section__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ymg-association-hero-section__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.3);
  transform: scale(1.1);
}

/* === Overlay du contenu === */
.ymg-association-hero-section__overlay {
  position: relative;
  z-index: 1;
  max-width: 850px;
  text-align: center;
  padding: 40px 20px;
}

/* Barre sup�rieure */
.ymg-association-hero-section__bar {
  display: inline-flex;
  align-items: center;
  border: 1px solid #959595;
  gap: 8px;
  backdrop-filter: blur(6px);
  padding: 3px 20px 3px 20px;
  border-radius: 10px;
  font-size: 10px;
  margin-bottom: 18px;
}

.ymg-association-hero-section__overlay .highlight {
  text-shadow: 0 0 10px white, 0 0 20px white;
  text-decoration: underline;
}

.ymg-association-hero-section__bar i {
  color: #fff;
  text-shadow: 0 0 10px white, 0 0 20px white;
  font-size: 10px;
}

/* Titre principal */
.ymg-association-hero-section__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Texte descriptif */
.ymg-association-hero-section__text {
  font-size: 12px;
  color: #eee;
  opacity: 0.9;
  margin-bottom: 26px;
}

/* Boutons */
.ymg-association-hero-section__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ymg-association-hero-section__button--white,
.ymg-association-hero-section__button--transparent {
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  padding: 15px 30px;
  font-size: 0.6rem;
  font-family: Figtree;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
}

/* Bouton blanc */
.ymg-association-hero-section__button--white {
  background: white;
  color: black;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  border: none;
}

.ymg-asssociation-hero-section__button--white:hover {
  background: #eaeaea;
}

/* Bouton transparent */
.ymg-association-hero-section__button--transparent {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.ymg-association-hero-section__button--transparent:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* === Responsive === */
@media (max-width: 768px) {
  .ymg-association-hero-section {
    height: 65vh;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .ymg-association-hero-section__title {
    font-size: 1.4rem;
  }

  .ymg-association-hero-section__text {
    font-size: 0.9rem;
  }

  .ymg-association-hero-section__buttons {
    flex-direction: row;
    gap: 12px;
  }
}

/* YMG ASSOCIATION OBJECTIVES */
.ymg-association-objectives {
  width: 100%;
  padding: 40px 20px;
  margin-top: 45px;
  margin-bottom: 90px;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  font-family: Figtree;
  box-sizing: border-box;
}
.ymg-association-objectives__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Titre au-dessus des cards */
.ymg-association-objectives__title {
  width: 100%;
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
  font-weight: 600;
}


/* Wrapper invisible pour forcer l'alignement identique aux images */
.ymg-association-objectives__icon-wrapper {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ic�nes FA : forcer le SVG � occuper tout le wrapper */
.ymg-association-objectives__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}


.ymg-association-objectives__container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

/* ?? Structure interne �quilibr�e */
.ymg-association-objectives__card {
  flex: 1 1 0;
  border: 1px solid #959595;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  background: #f8f8f8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

.ymg-association-objectives__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* Image et ic�ne trait�es comme des �l�ments de m�me gabarit */
.ymg-association-objectives__image,
.ymg-association-objectives__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.ymg-association-objectives__image {
  object-fit: cover;
  filter: invert(1);
}

.ymg-association-objectives__icon {
  font-size: 28px;
  color: #000;
}

.ymg-association-objectives__text {
  color: #090909;
  font-size: 13px;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .ymg-association-objectives__container {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .ymg-association-objectives__container {
    flex-direction: column;
    align-items: center;
  }

  .ymg-association-objectives__card {
    width: 100%;
    max-width: 400px;
    min-height: 180px;
  }
}

/* YMG STICKY DIMENSIONAL HEADER */
.ymg-sticky-dimensional-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 98svw;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid #c5c5c5;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
  z-index: 9998;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.ymg-sticky-dimensional-header__link {
  transition: color 0.25s ease;
}

.ymg-sticky-dimensional-header__link:hover {
  color: #000;
}

.ymg-sticky-dimensional-header__portal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ymg-sticky-dimensional-header__portal-icon i{
  font-size: 12.5px;
  border: 1px solid hsl(0, 0%, 58%);
  border-radius: 30px;
  padding: 4px 10px;
}

.ymg-sticky-dimensional-header__portal-icon:hover {
  border-color: #000;
}

.ymg-sticky-dimensional-header__portal-icon:hover {
  border-color: #000;
}

.ymg-sticky-dimensional-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ymg-sticky-dimensional-header__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ymg-sticky-dimensional-header__logo {
  width: 21px;
  height: 21px;
  display: flex;
  border: 1px solid #959595;
  border-radius: 28%;  
  object-fit: contain;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
}

.ymg-sticky-dimensional-header__logo i {
  font-size: 12.5px;
  color: #000;
  display: block;
  line-height: 0;
}

.ymg-sticky-dimensional-header__divider {
  width: 1px;
  height: 11px;
  background: #060606;
  opacity: 0.9;
}

.ymg-sticky-dimensional-header__label {
  color: #060606;
  font-family: Figtree;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}


/* LANGUAGE POPUP SELECTION */
.ymg-popup-language-select-overlay {
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.4);
  z-index:10050;
  backdrop-filter:blur(4px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease;
}

.ymg-popup-language-select-overlay.is-open { 
  opacity:1;
  visibility:visible;
  pointer-events:auto}


/* YMG SOCIAL SLIDESHOW */
.ymg-socials-slideshow__tab i { font-size: 15px; line-height: 1; }
.ymg-socials-slideshow{display:flex;justify-content:center;padding:78px 0 48px;color:#000;margin-bottom:-30px;margin-top:10px;font-family:Figtree}
.ymg-socials-slideshow__container{width:95%;max-width:980px;border:1px solid #959595;border-radius:10px;background:#f8f8f8;box-shadow:0 0 0 1px rgba(0,0,0,0.06) inset}
@media (min-width:768px){.ymg-socials-slideshow__container{width:80%}}
.ymg-socials-slideshow__tabs{display:flex;align-items:center;gap:8px;padding:12px;border-bottom:1px solid #959595}
.ymg-socials-slideshow__tab-group{display:flex;gap:10px;justify-content:center;align-items:center;flex:1 1 auto}
.ymg-socials-slideshow__tab{appearance:none;border:1px solid #959595;background:#fff;color:#111;border-radius:28%;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .05s ease}
.ymg-socials-slideshow__tab:hover{background:#f2f2f2}
.ymg-socials-slideshow__tab:active{transform:translateY(1px)}
.ymg-socials-slideshow__tab.is-active{border-color:#333;background:#f2f2f2}
.ymg-socials-slideshow .fa-brands,.ymg-socials-slideshow .fa-regular,.ymg-socials-slideshow .fa-solid{color:#000!important}
.ymg-socials-slideshow__panels{padding:24px}
.ymg-socials-slideshow__panel{display:none;gap:16px;align-items:flex-start}
.ymg-socials-slideshow__panel.is-active{display:grid}
@media (min-width:640px){.ymg-socials-slideshow__panel.is-active{grid-template-columns:96px 1fr;align-items:start}}
.ymg-socials-slideshow__brand-square{width:72px;height:72px;border-radius:10px;border:1px solid #959595;background:#fff;display:inline-flex;align-items:center;justify-content:center}
@media (min-width:640px){.ymg-socials-slideshow__brand-square{width:100%;aspect-ratio:1/1;height:auto;min-height:72px;display:flex;margin-right:12px}}
.ymg-socials-slideshow__brand-square i{font-size:32px;color:#000}
.ymg-socials-slideshow__content{display:grid;gap:12px}
@media (max-width:639px){.ymg-socials-slideshow__panel.is-active{justify-items:center;text-align:center}.ymg-socials-slideshow__brand-square{margin-bottom:8px}.ymg-socials-slideshow__title{justify-content:center}.ymg-socials-slideshow__cta{justify-self:center}}
.ymg-socials-slideshow__title{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;font-size:14px;font-weight:600;color:#000;line-height:1}
.ymg-socials-slideshow__title-badge{width:19px;height:19px;display:block;filter: invert(1);flex-shrink:0}
.ymg-socials-slideshow__desc{color:#333;line-height:1.5;font-size:12px;margin-bottom:10px}
.ymg-socials-slideshow__cta{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;background:#000;color:#fff;border:1px solid #000;border-radius:30px;font-weight:600;font-size:12px;text-transform:uppercase;text-decoration:none;width:fit-content}
.ymg-socials-slideshow__cta:hover{background:#111}
.ymg-socials-slideshow__cta:active{transform:translateY(1px)}
.ymg-socials-slideshow__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}



/* SMALL TITLE OVER FAQ + CONTACT PAGES */
.become-title {
  width: 100%; 
  margin: 18px 0 4px 0;       
  text-align: center;
}

.become-box {
  display: inline-block;
  border: 1px solid #959595;
  margin: 15px auto 20px auto;
  border-radius: 5px;
  padding: 5px 15px;
}

@media (max-width: 749px) {
  .become-box {
    margin: 15px auto 0;
    padding: 5px 15px;
  }
}

.become-box h1 {
  font-family: Figtree;
  font-size: 10px;
  color: #060606;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.become-icon {
  border: 1px solid #959595;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;   /* tu peux ajuster */
  height: 22px;  /* tu peux ajuster */
  color: #060606;
  font-size: 12px;
}

.become-icon i {
  font-size: 9px;
}

.become-icon img,
.become-icon svg {
  width: auto;
  height: 20px;
}

/* YMG ASSOCIATION ENGAGEMENTS */
.ymg-association-engagements {
  width: 100%;
  background-color: #f8f8f8;
  border-top: 1px solid #959595;
  border-bottom: 1px solid #959595;
  padding: 40px 40px;
  margin-top: 75px;
  margin-bottom: 20px;
  box-sizing: border-box;
  color: #060606;
  font-family: Figtree;
}

.ymg-association-engagements-header-p {
  font-size: 13px;
  margin-bottom: 25px;
  font-family: Figtree;
  color: #000;
  white-space: pre-line;
}

/* Header */
.ymg-association-engagements-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 auto;
  margin-bottom: 15px;
  margin-left: 10px;
}

.ymg-association-engagements-mini-square {
  width: 34px;
  height: 34px;
  border: 1px solid #959595;
  display: flex;
  border-radius: 28%;
  align-items: center;
  justify-content: center;
}

.ymg-association-engagements-mini-square {
  font-size: 16px;
}

.ymg-association-engagements-mini-square img {
  width: 26px;
  height: 26px;
  filter: invert(1);
}

.ymg-association-engagements-title {
  font-size: 14px;
  font-family: Figtree;
  margin: 0;
}

/* Séparateur */
.ymg-association-engagements-separator {
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(45, 51, 59, 1) 0%,
    rgba(45, 51, 59, 1) 20%,
    rgba(45, 51, 59, 1) 80%,
    rgba(45, 51, 59, 0) 100%
  );
  width: 50%;
  margin-bottom: 30px;
}

/* Cards container */
.ymg-association-engagements-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: left;
}

/* Card */
.ymg-association-engagements-card {
  background: #f8f8f8;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  border: 1px solid #959595;
  flex: 1 1 200px;
  padding: 15px 5px;
  width: fit-content;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

/* Blurred background layer (copies the card background) */
.ymg-association-engagements-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  filter: blur(6px);
  transform: scale(1.1); /* hide blur edges */
  z-index: 0;
}

/* Darken top and bottom, keep middle clear for content */
.ymg-association-engagements-card::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.5) 100%,
      rgba(0,0,0,0.5) 80%,
      rgba(0,0,0,0.4) 65%,
      rgba(0,0,0,0.4) 50%,
      rgba(0,0,0,0.35) 60%,
      rgba(0,0,0,0.25) 50%
    );
  pointer-events: none;
  z-index: 0; 
}

/* Barre de titre dans la card */
.ymg-association-engagements-card-bar {
  padding: 10px 15px;
  position: relative;
  z-index: 1;
}

/* Bloc combinÃ© icÃ´ne + titre */
.ymg-association-engagements-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Figtree, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border: 1px solid hsl(216, 14%, 70%);
  border-radius: 10px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px) saturate(100%) brightness(1);
  -webkit-backdrop-filter: blur(20px) saturate(100%) brightness(1);
  width: fit-content;
  box-sizing: border-box;
}


.ymg-association-engagements-card-title img {
  width: 22px;
  height: 22px;
  border: 1px solid #959595;
  border-radius: 28%;
  object-fit: contain;
  display: block;
  margin-left: -2px;
}

.ymg-association-engagements-card-title i {
  font-size: 15px;
  border: 1px solid hsl(0, 0%, 70%, 1);
  border-radius: 28%;
  padding: 3px;
  object-fit: contain;
  display: block;
  margin-left: -2px;
}

/* Contenu de la card */
.ymg-association-engagements-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  position: relative;
  z-index: 1;
}

.ymg-association-engagements-card-description {
  font-size: 14px;
  font-family: Figtree;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding-bottom: 10px;
}


/* Image */
.ymg-association-engagements-card-img {
  width: 100%;
  object-fit: cover;
  margin-top: 6px;
  margin-bottom: 6px;
  height: 140px;
  border: 1px solid #959595;
  border-radius: 6px;
  align-self: center;
}

/* Bouton */
.ymg-association-engagements-card-btn {
  padding: 12px 22px;
  text-align: left;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px) saturate(100%) brightness(1);
  -webkit-backdrop-filter: blur(20px) saturate(100%) brightness(1);
  font-family: Figtree;
  font-size: 11px;
  width: fit-content;
  border: 1px solid #959595;
  border-radius: 30px;
  color: #eee;
  cursor: pointer;
  transition: 0.3s;
}

.ymg-association-engagements-card-btn:hover {
  background-color: #444;
}

.ymg-carousel-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  background: none;
  border: 1px solid #090909;
  border-radius: 30px;
  color: #090909;
  padding: 8px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;

  /* centrage horizontal */
  display: flex;
  margin: 30px auto 0 auto; /* espace haut + centrage automatique */
  width: fit-content; /* largeur adaptée au contenu */
}

.ymg-carousel-view-all-btn i {
  font-size: 13px;
}

.ymg-carousel-view-all-btn:hover {
  background: #090909;
  color: #fff;
}


/* Responsive */
@media (max-width: 768px) {
  .ymg-association-engagements-cards {
    flex-direction: column;
    align-items: center;
  }

  .ymg-association-engagements-card {
    width: 100%;
  }

  .ymg-association-engagements {
    padding: 40px 30px;
}
}
/* YMG NEWS */
.ymg-news-container {
  background: #f8f8f8;
  margin-top: 45px;
  border-top: 1px solid #959595;
  border-bottom: 1px solid #959595;
  font-family: "Figtree", sans-serif;
  padding: 50px 5px;
  display: flex;
  justify-content: center;
}

/* --- Inner wrapper --- */
.ymg-news-container-inner {
  width: 90%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Header --- */
.ymg-news-container-header {
  color: #060606;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px;
  text-align: left;
  letter-spacing: 0.3px;
}

/* --- Notification bars --- */
.ymg-news-container-bar {
  background: hsl(216, 20%, 96%);
  border: 1px solid #959595;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center; /* center vertically */
  gap: 14px;
  transition: all 0.3s ease;
}

.ymg-news-container-bar:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* --- Logo / Icon --- */
.ymg-news-container-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #959595;
  color: #060606;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* --- Text content --- */
.ymg-news-container-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ymg-news-container-title {
  color: #060606;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.ymg-news-container-description {
  color: #444;
  font-size: 0.8rem;
  margin: 2px 0 0;
  line-height: 1.3;
}

/* --- CTA Link --- */
.ymg-news-container-link {
  color: #060606;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
  align-self: center;
}

.ymg-news-container-bar a {
  position: relative;
  display: inline-block;
}

.ymg-news-container-bar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background: #606060;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.ymg-news-container-link:hover {
  opacity: 0.8;
}

/* YMG ARROW DOWN */
.ymg-arrow-down-wrap{
  text-align: center;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 70px 0px 0px 0px;
}

.ymg-arrow-down{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #2d333b;
  background: #f8f8f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

.ymg-arrow-down svg{
  width: 22px;
  height: 22px;
  display: block;
}
.ymg-arrow-down svg path{
  fill: #000;
}

.ymg-arrow-down-text {
  font-family: Figtree;
  font-size: 10px;
  font-weight: 600;
  color: #000;
  margin-top: 16px;
}



/* ACTIONS PAGE CONTENT */
/* === PAGE HEADER === */
.ymg-actions-page-actions {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
}

.ymg-actions-page-actions-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.ymg-actions-page-actions-header-icon {
  width: 50px;
  height: 50px;
  background: #f8f8f8;
  border: 1px solid #959595;
  border-radius: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #060606;
}

.ymg-actions-page-actions-header-title {
  font-family: 'Figtree', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #060606;
  margin: 0;
  letter-spacing: -0.02em;
}

.ymg-actions-page-actions-separator {
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(149, 149, 149, 1) 0%,
    rgba(149, 149, 149, 1) 20%,
    rgba(149, 149, 149, 1) 80%,
    rgba(149, 149, 149, 0) 100%
  );
  margin-bottom: 30px;
}

.ymg-actions-page-actions-intro {
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  color: #060606;
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 900px;
}

/* ========================================
   CARD LAYOUT
   ======================================== */

.ymg-actions-page-actions-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.ymg-actions-page-actions-card {
  position: relative;
  background: #fff;
  border: 1px solid #959595;
  border-radius: 15px;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 80px;
}

.ymg-actions-page-actions-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6); /* optionnel: légère teinte sombre */
}

.ymg-actions-page-actions-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 1;
  transition: all 0.6s ease;
  will-change: opacity, filter;
  filter: brightness(0.45) blur(6px);
}

.ymg-actions-page-actions-card.loaded::before {
  opacity: 0.2;
  filter: brightness(0.8) blur(2px);
}

.ymg-actions-page-actions-card.loaded:hover::before {
  opacity: 0.35;
  filter: brightness(1) blur(0);
}

/* Le contenu au-dessus de l'image */
.ymg-actions-page-actions-card > * {
  position: relative;
  z-index: 2;
}



.ymg-actions-page-actions-card-title-bar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid #959595;
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  width: fit-content;
}

.ymg-actions-page-actions-card-title-bar i {
  font-size: 0.85rem;
}

.ymg-actions-page-actions-card-heading {
  position: relative;
  z-index: 1;
  font-family: 'Figtree', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.ymg-actions-page-actions-card-description {
  position: relative;
  z-index: 1;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  color: #eee;
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.ymg-actions-page-actions-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

.ymg-actions-page-actions-card-date,
.ymg-actions-page-actions-card-category {
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  color: #b8b8b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ymg-actions-page-actions-card-category {
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid #959595;
  border-radius: 50px;
}

.ymg-actions-page-actions-card-btn {
  position: relative;
  z-index: 1;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  width: fit-content;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid #959595;
  border-radius: 30px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ymg-actions-page-actions-card-btn:hover {
  background: rgba(6, 6, 6, 0.1);
  border-color: #666;
  transform: translateX(5px);
}

.ymg-actions-page-actions-card-btn .ymg-btn-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.ymg-actions-page-actions-card-btn:hover .ymg-btn-arrow {
  transform: translateX(3px);
}

/* ========================================
   SECTION TITLES
   ======================================== */

.ymg-actions-page-actions-section-title {
  font-family: 'Figtree', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #060606;
  letter-spacing: 0.5px;
  margin: 60px 0 30px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
}

.ymg-actions-page-actions-section-title-all {
  margin-top: 80px;
}

/* ========================================
   NEWS-STYLE CONTAINER (LIGHTER VERSION)
   ======================================== */

.ymg-actions-page-actions-news-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 60px;
}

.ymg-actions-page-actions-news-bar {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.ymg-actions-page-actions-news-bar:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
  border-color: #959595;
}

.ymg-actions-page-actions-news-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  color: #060606;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ymg-actions-page-actions-news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ymg-actions-page-actions-news-title {
  font-family: 'Figtree', sans-serif;
  color: #060606;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.3;
}

.ymg-actions-page-actions-news-description {
  font-family: 'Figtree', sans-serif;
  color: #444;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

.ymg-actions-page-actions-news-date {
  font-family: 'Figtree', sans-serif;
  color: #666;
  font-size: 0.78rem;
  margin-top: 4px;
  display: block;
}

.ymg-actions-page-actions-news-link {
  color: #060606;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  background: rgba(6, 6, 6, 0.05);
  border: 1px solid #ddd;
  border-radius: 30px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.ymg-actions-page-actions-news-link:hover {
  background: rgba(6, 6, 6, 0.1);
  border-color: #959595;
}

/* ========================================
   ARROW DOWN ANIMATION
   ======================================== */

.ymg-actions-page-actions-arrow-down-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 60px 0;
}

.ymg-actions-page-actions-arrow-down {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ymgActionsArrowBounce 2s ease-in-out infinite;
}

.ymg-actions-page-actions-arrow-down svg {
  width: 100%;
  height: 100%;
  fill: #959595;
}

.ymg-actions-page-actions-arrow-down-text {
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 1px;
}

@keyframes ymgActionsArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ========================================
   RESPONSIVE - TABLETS
   ======================================== */

@media (max-width: 1024px) {
  .ymg-actions-page-actions {
    padding: 0 30px;
    margin: 60px auto;
  }

  .ymg-actions-page-actions-header-title {
    font-size: 2rem;
  }

  .ymg-actions-page-actions-cards-grid {
    gap: 25px;
  }

  .ymg-actions-page-actions-card {
    min-height: 240px;
    padding: 25px;
  }

  .ymg-actions-page-actions-card-heading {
    font-size: 1.3rem;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
  .ymg-actions-page-actions {
    padding: 0 20px;
    margin: 40px auto;
  }

  .ymg-actions-page-actions-header {
    gap: 15px;
  }

  .ymg-actions-page-actions-header-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .ymg-actions-page-actions-header-title {
    font-size: 1.6rem;
  }

  .ymg-actions-page-actions-intro {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  /* CARD LAYOUT - Mobile: 1 column */
  .ymg-actions-page-actions-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }

  .ymg-actions-page-actions-card {
    min-height: 200px;
    padding: 20px;
  }

  .ymg-actions-page-actions-card-heading {
    font-size: 1.2rem;
  }

  .ymg-actions-page-actions-card-description {
    font-size: 0.9rem;
  }

  .ymg-actions-page-actions-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ymg-actions-page-actions-card-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  /* NEWS CONTAINER - Mobile */
  .ymg-actions-page-actions-section-title {
    font-size: 1rem;
    margin: 50px 0 20px 0;
  }

  .ymg-actions-page-actions-news-container {
    gap: 12px;
    margin-bottom: 50px;
  }

  .ymg-actions-page-actions-news-bar {
    padding: 14px 16px;
    gap: 14px;
  }

  .ymg-actions-page-actions-news-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .ymg-actions-page-actions-news-title {
    font-size: 0.9rem;
  }

  .ymg-actions-page-actions-news-description {
    font-size: 0.82rem;
  }

  .ymg-actions-page-actions-news-date {
    font-size: 0.75rem;
  }

  .ymg-actions-page-actions-news-link {
    font-size: 0.85rem;
    padding: 7px 14px;
  }
}