﻿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: 14px; /* 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:50%;
}
.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:#000;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-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: 7px 0;
  width: 100%;
  top: 0;
  background: #f4f4f4;
  border-bottom: 1px solid hsl(0, 0%, 0%, 0.25);
}

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(160, 160, 160, 0) 0%,
      rgb(184, 184, 184) 20%,
      rgba(184, 184, 184, 1) 80%,
      rgba(160, 160, 160, 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 #d0d0d0;
  color: #2d333b;
  text-align: center;
  padding: 25px 0;
  margin-top: 60px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  position: relative;
  left: 0;
  right: 0;
}

.ymg-square {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0px;
}

.ymg-square img {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.footer-arrow {
  width: 8px;
  height: 9px;
  margin-left: -3px;
  margin-right: 3px;
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-label {
  font-size: 0.68rem;
  color: hsl(0, 0%, 13%);
  font-family: Figtree;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0;
  width: auto;
}

.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: 220px;
    height: 1px;
    background: linear-gradient(
    to right,
      rgba(160, 160, 160, 0) 0%,
      rgb(184, 184, 184) 20%,
      rgba(184, 184, 184, 1) 80%,
      rgba(160, 160, 160, 0) 100%
    );
}

  .horizontal-separator-2 {
    margin: 1px auto 20px auto;
    width: 130px;
    height: 1px;
    background: linear-gradient(
    to right,
      rgba(160, 160, 160, 0) 0%,
      rgb(184, 184, 184) 20%,
      rgba(184, 184, 184, 1) 80%,
      rgba(160, 160, 160, 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: 20px;
  position : relative;
  margin: 0 auto;
  justify-content: center;
  padding: 10px 0;
}

@media screen and (max-width: 749px) {
  .logo {
    height: 38px;
    margin-right: 0px;
    margin-top: 6px;
    right: 20px;
    filter: invert(1);
  }
}
@media screen and (min-width: 749px) {
  .logo {
    height: 38px;
    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 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: 12px;
  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-button-wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

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

#enter-portal {
  padding: 7px 15px;
  border: none;
  font-weight: 400;
  background: #000;
  border: 1px solid #000;
  color: #fff;
  font-family: Figtree;
  border-radius: 30px;
  display: none;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: 0.75rem;
}

.portal-become-btn {
  padding: 7px 15px;
  border: 1px solid #000;
  font-weight: 500;
  background: transparent;
  color: #000;
  font-family: Figtree;
  border-radius: 30px;
  display: none;
  cursor: pointer;
  font-size: 0.75rem;
}

/* ------------------- 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 #d0d0d0;
  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-dark {
  position: relative;
  font-size: 12.5px;
  color: #fff;
}

.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 #d0d0d0;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.portal-link-icon-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  color: #fff;
  border: 1px solid #2d333b;
  border-radius: 28%;
  background: #101010;
  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: 50%;
  background: #fff;
  flex-shrink: 0;
}

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

.portal-link-icon-dark img, .portal-link-icon-dark-active img {
  width: 55px;
  height: 55px;
  border-radius: 28%;
  object-fit: contain;
}

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

/* ------------------- 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;
  border: 1px solid #fff;
  padding: 3px 7px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: #000;
  position: absolute;
  top: 8px;
  right: 15px;
}

.new-label-2 {
  font-size: 9px;
  color: #fff;
  border: 1px solid #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: 18px;
  height: 18px;
  color: #F4F4F4;
  padding: 5px;
  background: #060606;
  cursor: pointer;
  border-radius: 50%;
}

/* Autres �l�ments */
.portal-separator {
  width: 180px;
  margin: 14px auto 15px auto;
  height: 1px;
  background: linear-gradient(
    to right,
      rgba(160, 160, 160, 0) 0%,
      rgb(184, 184, 184) 20%,
      rgba(184, 184, 184, 1) 80%,
      rgba(160, 160, 160, 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 2 IMAGES LAYOUT ===== */
.ymg-2-images-layout {
  padding: 0 10px;
  margin-top: 80px;
  margin-bottom: 0;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.ymg-2-images-layout__container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* replace 1 by 2 for 2 aligned cards */
  gap: 10px;
}

.ymg-2-images-layout__item {
  border: none;
  border-radius: 0;
  border: 1px solid #d4d4d4;
  background: rgba(121, 121, 121, 0.1);
  box-shadow: none;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease;
  position: relative;
  height: 500px;
}

/* Color overlay - adjust color and opacity as needed */
.ymg-2-images-layout__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 20%, 0.3);
  z-index: 1;
  pointer-events: none;
}

.ymg-2-images-layout__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.ymg-2-images-layout__item:hover .ymg-2-images-layout__image {
  transform: scale(1.05);
}

.ymg-2-images-layout__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.55) 60%, transparent 100%);
}

.ymg-2-images-layout__title {
  font-size: 38px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.ymg-2-images-layout__description {
  font-size: 17px;
  color: hsl(0, 0%, 90%);
  margin: 0;
  line-height: 1.5;
  max-width: 90%;
}

.ymg-2-images-layout__button-group {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.ymg-2-images-layout__cta {
  padding: 6px 15px;
  font-size: 0.8rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  border: 1px solid #fff;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #fff;
  align-self: flex-start;
}

.ymg-2-images-layout__cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}


.ymg-2-images-layout__cta--primary {
  background: #fff;
  color: #000;
}

.ymg-2-images-layout__cta--secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.ymg-2-images-layout__cta--secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.ymg-2-images-layout__cta:not(.ymg-2-images-layout__cta--primary):not(.ymg-2-images-layout__cta--secondary):hover {
  color: #fff;
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
  .ymg-2-images-layout {
    padding: 0px 10px;
    margin-top: 60px;
  }

  .ymg-2-images-layout__container {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }

  .ymg-2-images-layout__item {
    height: 500px;
  }

  .ymg-2-images-layout__content {
    padding: 30px;
  }

  .ymg-2-images-layout__title {
    font-size: 30px;
  }

  .ymg-2-images-layout__description {
    font-size: 15px;
    max-width: 100%;
  }

  .ymg-2-images-layout__button-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ymg-2-images-layout__cta {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .ymg-2-images-layout__item {
    height: 450px;
  }

  .ymg-2-images-layout__content {
    padding: 25px;
  }

  .ymg-2-images-layout__title {
    font-size: 28px;
  }

  .ymg-2-images-layout__description {
    font-size: 15px;
  }
}


/* ===== YMG 2 IMAGES LAYOUT DUAL ===== */
.ymg-2-images-layout-dual {
  padding: 0 10px;
  margin-top: 80px;
  margin-bottom: 10px;
  font-family: 'Figtree', sans-serif;
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

.ymg-2-images-layout-dual__container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 15px;
  border: 1px solid #959595;
  background: #fff;
  overflow: hidden;
  position: relative;
  height: 500px;
}

.ymg-2-images-layout-dual__images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.ymg-2-images-layout-dual__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ymg-2-images-layout-dual__container:hover .ymg-2-images-layout-dual__image {
  transform: scale(1.05);
}

/* Color overlay */
.ymg-2-images-layout-dual__container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 20%, 0.3);
  z-index: 1;
  pointer-events: none;
}

.ymg-2-images-layout-dual__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.55) 60%, transparent 100%);
  z-index: 2;
}

.ymg-2-images-layout-dual__title {
  font-size: 38px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.ymg-2-images-layout-dual__description {
  font-size: 17px;
  color: hsl(216, 14%, 85%);
  margin: 0;
  line-height: 1.5;
  max-width: 90%;
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
  .ymg-2-images-layout-dual {
    padding: 0px 10px;
    margin-top: 60px;
  }

  .ymg-2-images-layout-dual__container {
    height: 450px;
  }

  .ymg-2-images-layout-dual__content {
    padding: 30px;
  }

  .ymg-2-images-layout-dual__title {
    font-size: 30px;
  }

  .ymg-2-images-layout-dual__description {
    font-size: 15px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .ymg-2-images-layout-dual__container {
    height: 400px;
  }

  .ymg-2-images-layout-dual__content {
    padding: 25px;
  }

  .ymg-2-images-layout-dual__title {
    font-size: 28px;
  }

  .ymg-2-images-layout-dual__description {
    font-size: 15px;
  }
}


/* 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 #d0d0d0;
  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%;
  min-height: 90vh;
  overflow: hidden;
  font-family: Figtree;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  border-bottom: 1px solid hsl(0, 0%, 0%, 0.3);
}

/* === Image de fond with opacity only === */
.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(3px) brightness(0.6);
  opacity: 0.3;
}

/* === 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: 4px;
  backdrop-filter: blur(6px);
  padding: 1px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.3);
  color: #000;
  font-size: 10px;
}

.ymg-association-hero-section__overlay .highlight {
  text-decoration: underline;
}

.ymg-association-hero-section__bar i {
  color: #000;
  font-size: 14px;
}

.ymg-association-hero-section__bar-icon-y {
  width: 20px;
  height: 20px;
  filter: invert(0);
}

.ymg-association-hero-section__bar-label {
  color: #000;
  font-family: Figtree;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

/* Texte descriptif */
.ymg-association-hero-section__text {
  font-size: 13px;
  color: hsl(0, 0%, 3%);
  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: 8px 18px;
  font-size: 0.75rem;
  font-family: Figtree;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
}

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

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

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

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

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

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

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

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

/* ====================================
   YMG DIMENSION WELCOME (V3 - Simplified)
   Clean header with simple buttons
   ==================================== */

.ymg-dimension-welcome {
  position: relative;
  width: 100%;
  font-family: 'Figtree', sans-serif;
  background: #eee;
  padding: 60px 40px 50px;
  margin-top: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.ymg-dimension-welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/world-image-betterment.webp');
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.5);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.ymg-dimension-welcome__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header Section */
.ymg-dimension-welcome__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  gap: 50px;
  padding-bottom: 0;
}

.ymg-dimension-welcome__header-content {
  flex: 1;
  max-width: 700px;
  text-align: center;
}

.ymg-dimension-welcome__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 16px;
  background: #eee;
  border: 1px solid hsl(0, 0%, 50%);
  border-radius: 50px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 auto 20px auto;
}

.ymg-dimension-welcome__badge i {
  font-size: 11px;
}

.ymg-dimension-welcome__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: #000;
  margin: 0 0 16px 0;
  letter-spacing: -0.03em;
}

.ymg-dimension-welcome__subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: hsl(0, 0%, 30%);
  margin: 0;
  font-weight: 400;
}

.ymg-dimension-welcome__metrics {
  display: flex;
  align-items: center;
  gap: 40px;
}

.ymg-dimension-welcome__metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ymg-dimension-welcome__metric-value {
  font-size: 44px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.ymg-dimension-welcome__metric-label {
  font-size: 9px;
  color: rgba(0, 0, 0, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.4;
}

.ymg-dimension-welcome__metric-divider {
  width: 1px;
  height: 50px;
  background: rgba(0, 0, 0, 0.1);
}

/* Action Buttons */
.ymg-dimension-welcome__actions {
  display: none;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

.ymg-dimension-welcome__actions--visible {
  display: flex;
}

.ymg-dimension-welcome__btn {
  font-family: 'Figtree', sans-serif;
  padding: 8px 18px;
  width: fit-content;
  font-size: 0.75rem;
  font-family: Figtree;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.01em;
}

.ymg-dimension-welcome__btn--primary {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.ymg-dimension-welcome__btn--secondary {
  background: #eee;
  color: #000;
  border: 1px solid hsl(0, 0%, 30%);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .ymg-dimension-welcome {
    padding: 35px 20px 30px;
    margin-top: 40px;
  }

  .ymg-dimension-welcome__header {
    gap: 20px;
  }

  .ymg-dimension-welcome__badge {
    font-size: 7px;
    padding: 6px 13px;
    margin-bottom: 14px;
  }

  .ymg-dimension-welcome__badge i {
    font-size: 10px;
  }

  .ymg-dimension-welcome__title {
    font-size: 35px;
    margin-bottom: 12px;
  }

  .ymg-dimension-welcome__subtitle {
    font-size: 14px;
  }

  .ymg-dimension-welcome__metrics {
    gap: 22px;
  }

  .ymg-dimension-welcome__metric-value {
    font-size: 32px;
    margin-bottom: 4px;
  }

  .ymg-dimension-welcome__metric-label {
    font-size: 8px;
  }

  .ymg-dimension-welcome__metric-divider {
    height: 38px;
  }

  .ymg-dimension-welcome__btn {
    width: fit-content;
    padding: 8px 18px;
    font-size: 0.8rem;
  }
}

/* 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: 35px;
  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 a{
  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 (UPDATED) ======= */
.ymg-sticky-dimensional-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 90px;
}

/* Groupe logo + label collés */
.ymg-header-left {
  display: flex;
  align-items: center;
  gap: 2px; /* Ajuste ici si tu veux réduire l'espace */
}

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

@media (max-width: 768px) {
  .ymg-sticky-dimensional-header__inner {
    padding: 0 30px;
  }

  .ymg-header-left {
    margin-left: -10px;
  }

  .ymg-header-right {
    margin-right: 9px;
  }
}

/* Logo */
.ymg-sticky-dimensional-header__logo {
  width: 34px; /* old = 23px; new = 34px; */
  height: 34px;
  filter: invert(1);
  display: flex;
  object-fit: contain;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Divider (si un jour tu le remets) */
.ymg-sticky-dimensional-header__divider {
  width: 1px;
  height: 11px;
  background: #060606;
  opacity: 0.9;
}

/* Label principal */
.ymg-sticky-dimensional-header__label {
  color: #060606;
  font-family: Figtree;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Petit bouton contour */
.ymg-sticky-dimensional-header__link {
  color: #060606;
  font-family: Figtree;
  font-size: 0.63rem;
  text-decoration : underline;
  text-underline-offset: 3px;
  padding: 4px 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Bouton noir (PORTAL) */
.ymg-sticky-dimensional-header__link-2 {
  color: #fff;
  background: #080808;
  font-family: Figtree;
  font-size: 0.63rem;
  border-radius: 30px;
  padding: 5px 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Nav Group - Button + Dropdown */
.ymg-sticky-header-nav-group {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

/* Dropdown Toggle Button */
.ymg-sticky-header-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  border-radius: 4px;
}

.ymg-sticky-header-dropdown-toggle svg {
  width: 22px;
  height: 22px;
  fill: #000;
  transition: transform 0.3s ease;
}

.ymg-sticky-header-dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Sticky Header Dropdown Backdrop */
.ymg-sticky-header-dropdown-backdrop {
  position: fixed;
  top: 45px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 9996;
  pointer-events: none;
}

.ymg-sticky-header-dropdown-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sticky Header Dropdown */
.ymg-sticky-header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px) saturate(120%);
  -webkit-backdrop-filter: blur(30px) saturate(120%);
  border-top: 1px solid rgba(197, 197, 197, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 9997;
}

.ymg-sticky-header-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ymg-sticky-header-dropdown__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 90px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ymg-sticky-header-dropdown__item {
  display: block;
  padding: 14px 18px;
  color: #000;
  text-decoration: none;
  font-family: Figtree;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 10px;
  letter-spacing: 0.01em;
}

.ymg-sticky-header-dropdown__text {
  position: relative;
}

.ymg-sticky-header-dropdown__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: black;
  transition: width 0.4s ease;
}

.ymg-sticky-header-dropdown__item:hover .ymg-sticky-header-dropdown__text::after {
  width: 100%;
}

.ymg-sticky-dimensional-header.dropdown-active {
  background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
  .ymg-sticky-header-dropdown__inner {
    padding: 20px 30px;
  }

  .ymg-sticky-header-dropdown__item {
    font-size: 0.8rem;
    padding: 12px 16px;
  }
}

/* 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: 14px;
  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;
  background: #fff;
}

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

.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: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  width: 100%;
}

/* Card */
.ymg-association-engagements-card {
  background: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  border: 1px solid #959595;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  height: 330px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Color overlay */
.ymg-association-engagements-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 5%, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* Image that zooms on hover */
.ymg-association-engagements-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  transition: transform 0.5s ease;
  z-index: 0;
}

.ymg-association-engagements-card:hover::after {
  transform: scale(1.05);
}

/* Barre de titre dans la card */
.ymg-association-engagements-card-bar {
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/* 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: 13px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: fit-content;
  box-sizing: border-box;
}


.ymg-association-engagements-card-title img {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.ymg-association-engagements-card-title i {
  font-size: 16px;
  border: none;
  padding: 0;
  display: block;
}

/* Contenu de la card */
.ymg-association-engagements-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
}

.ymg-association-engagements-card-description {
  font-size: 16px;
  font-family: Figtree;
  font-weight: 500;
  color: hsl(0, 0%, 100%);
  margin: 0;
  line-height: 1.4;
}


/* 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 {
  text-align: center;
  background: transparent;
  font-family: Figtree;
  padding: 7px 15px;
  font-size: 0.87rem;
  font-weight: 500;
  width: fit-content;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.ymg-association-engagements-card-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.ymg-carousel-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Figtree', sans-serif;
  background: none;
  border: 1px solid #090909;
  border-radius: 30px;
  color: #090909;
  padding: 7px 14px;
  font-size: 0.87rem;
  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 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ymg-association-engagements-card {
    height: 320px;
  }

  .ymg-association-engagements-card-content {
    padding: 25px;
  }

  .ymg-association-engagements {
    padding: 40px 30px;
}
}

/* ===== YMG ACTIONS TOOLBOX - WHITE BACKGROUND THEME ===== */
.ymg-actions-toolbox {
  padding: 0 10px;
  margin-top: 80px;
  margin-bottom: 15px;
  font-family: 'Figtree', sans-serif;
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

.ymg-actions-toolbox__container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ymg-actions-toolbox__item {
  border: none;
  border-radius: 15px;
  background: rgba(121, 121, 121, 0);
  box-shadow: none;
  overflow: hidden;
  border: 1px solid #d4d4d4;
  transition: transform 0.3s ease;
  position: relative;
  height: 500px;
}

/* Light overlay for subtle depth */
.ymg-actions-toolbox__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(177, 177, 177, 0.2);
  z-index: 1;
  pointer-events: none;
}

/* Icons Grid - 3 icons displayed in center */
.ymg-actions-toolbox__icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-items: center;
  padding: 80px 60px;
  margin-top: -50px;
  box-sizing: border-box;
}

.ymg-actions-toolbox__icon {
  font-size: 80px;
  color: #000;
  opacity: 0.40;
  transition: all 0.5s ease;
}

.ymg-actions-toolbox__item:hover .ymg-actions-toolbox__icon {
  opacity: 0.3;
  transform: scale(1.1);
}

/* Content section overlaid on the bottom */
.ymg-actions-toolbox__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, transparent 100%);
  z-index: 2;
}

.ymg-actions-toolbox__title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0;
  letter-spacing: -0.5px;
}

.ymg-actions-toolbox__description {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.ymg-actions-toolbox__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  font-size: 0.87rem;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  border: 1px solid #000;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #000;
  color: #fff;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 8px;
}

.ymg-actions-toolbox__cta i {
  font-size: 16px;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
  .ymg-actions-toolbox__icons-grid {
    gap: 40px;
    padding: 60px 40px;
  }

  .ymg-actions-toolbox__icon {
    font-size: 70px;
  }

  .ymg-actions-toolbox__title {
    font-size: 26px;
  }

  .ymg-actions-toolbox__description {
    font-size: 15px;
  }
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
  .ymg-actions-toolbox {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .ymg-actions-toolbox__item {
    height: 450px;
  }

  .ymg-actions-toolbox__icons-grid {
    gap: 30px;
    padding: 50px 30px;
  }

  .ymg-actions-toolbox__icon {
    font-size: 60px;
  }

  .ymg-actions-toolbox__content {
    padding: 30px;
  }

  .ymg-actions-toolbox__title {
    font-size: 24px;
  }

  .ymg-actions-toolbox__description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .ymg-actions-toolbox__item {
    height: 400px;
  }

  .ymg-actions-toolbox__icons-grid {
    gap: 20px;
    padding: 40px 20px;
  }

  .ymg-actions-toolbox__icon {
    font-size: 50px;
  }

  .ymg-actions-toolbox__content {
    padding: 25px;
  }

  .ymg-actions-toolbox__title {
    font-size: 22px;
  }

  .ymg-actions-toolbox__description {
    font-size: 13px;
  }
}

/* YMG NEWS */
.ymg-news-container {
  background: #f8f8f8;
  margin-top: 65px;
  margin-bottom: 10px;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  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(0, 0%,93%);
  border: 1px solid #d0d0d0;
  border-radius: 100px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

/* --- Logo / Icon --- */
.ymg-news-container-logo-wrapper {
  position: relative;
  flex-shrink: 0;
}

.ymg-news-container-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  background: hsla(0, 0%, 100%);
  border: 1px solid #959595;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ymg-news-container-label {
  font-size: 8px;
  color: #000;
  border: 1px solid #959595;
  padding: 2px 5px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  background: #fff;
  position: absolute;
  top: -8px;
  right: -8px;
  white-space: nowrap;
}

.ymg-news-container-logo img {
  height: 29px;
  width: 29px;
  filter: invert(1);
}

.ymg-news-container-bar i {
  font-size: 15px;
}


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

.ymg-news-container-title {
  color: hsl(0, 0%, 0%);
  font-weight: 600;
  font-size: 0.84rem;
  margin: 0;
}

.ymg-news-container-description {
  color: hsl(0, 0%, 8%);
  font-size: 0.74rem;
  margin: 2px 0 0;
  line-height: 1.3;
}

/* --- CTA Link --- */
.ymg-news-container-link {
  color: hsl(0, 0%, 0%);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-size: 0.73rem;
  transition: opacity 0.3s ease;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ymg-news-container-link span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ymg-news-container-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.ymg-news-container-link svg path {
  fill: currentColor;
}

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

.ymg-news-container-link:hover svg {
  transform: translateX(3px);
}

/* YMG INLINE SECTION TITLE */
.ymg-inline-section-title {
  font-family: 'Figtree', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #000;
  margin: 90px 0 -20px 0;
  padding: 0 10px;
  text-align: left;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .ymg-inline-section-title {
    font-size: 26px;
    margin: 50px 0 15px 0;
    padding: 0 10px;
  }
}

/* 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 #999999;
  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;
  }
}

/* ===================================================================
   BECOME POPUP CSS - WHITE/LIGHT THEME ADAPTATION (from entity-base)
   =================================================================== */

/* === KEYFRAMES === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes becomeFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes becomeFadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

@keyframes ripple{to{transform:scale(2.5);opacity:0}}

/* === BECOME & ENTITY OVERLAY === */
#become-overlay,
#entity-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  display: none;
  z-index: 9998;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease-in;
}

#become-overlay.closing,
#entity-overlay.closing {
  animation: fadeOut 0.25s ease-out forwards;
}

/* ===== INTRO (avant le menu) ===== */
.popup-intro {
  position: absolute;
  inset: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-intro.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro-logo {
  height: 45px;
  width: 45px;
  filter: invert(1) drop-shadow(0 0 6px rgba(0, 0, 0, 0.1));
}

.popup-intro-separator {
  height: 1px;
  width: 50%;
  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%
    );
}

.intro-content p {
  font-family: Figtree;
  font-size: 13px;
  color: #222;
  text-align: center;
}

@media (max-width: 749px) {
  .intro-content p {
    width: 85%;
    font-size: 11px;
  }
}

.intro-button {
  padding: 8px 18px;
  border: 1px solid #d0d0d0;
  border-radius: 30px;
  background: #000;
  font-family: Figtree;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 12px;
}

/* ===== POPUP ===== */
.become-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95vw;
  height: calc(var(--app-height) * 0.96);
  background: #fff;
  border: 1px solid #959595;
  border-radius: 15px;
  display: none;
  z-index: 9999;
  overflow: hidden;
  flex-direction: column;
  transition: all 0.25s ease-in;
  animation: becomeFadeIn 0.25s ease-in forwards;
}

.become-popup .popup-content{padding:0 18px 18px; padding-left: calc(60px + 18px); background: #eee;}

.become-popup.closing {
  animation: becomeFadeOut 0.25s ease-out forwards;
}

/* ===== POPUP MAIN WRAPPER ===== */
.popup-main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

/* ===== BARRE VERTICALE ===== */
.popup-header {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  z-index: 3;
  border-right: 1px solid #d0d0d0;
  background: #fafafa;
}

.logo-help-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.popup-logo {
  display: flex;
  margin-top: -3px;
  align-items: center;
  justify-content: center;
}

.popup-logo img {
  height: 31px;
  width: 31px;
  filter: invert(1);
}

.help-tab {
  cursor: pointer;
}

.help-box {
  border: 1px solid #d0d0d0;
  border-radius: 15px;
  background: #000;
  padding: 7px 9px;
  font-family: Figtree;
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}

.popup-tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.tab-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-width: 40px;
}

.tab-icon i {
  color: #5c5c5c;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 2px;
  transition: background 0.3s ease;
}

.tab-icon.active i {
  color: #000;
}

.popup-close {
  cursor: pointer;
  border: none;
  background: transparent;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.popup-close svg {
  width: 17px;
  height: 17px;
  color: #fff;
  padding: 4px;
  background: #000;
  cursor: pointer;
  border-radius: 50%;
}

/* ===== Contenu ===== */
.popup-content {
  margin-left: 0px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  padding-left: 60px;
  padding: 0 18px 18px;
  padding-left: calc(60px + 18px);
  background: #f5f5f5;
  max-height: calc(var(--app-height) * 0.96 - 20px);
}

/* Scrollbar styles */
.popup-content::-webkit-scrollbar {
  width: 2px;
}
.popup-content::-webkit-scrollbar-track {
  background: #fff;
}
.popup-content::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.tab-header {
  display: flex;
  background: #fafafa;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 -1px 0 #d0d0d0;
  border-bottom: none;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: calc(-60px - 18px);
  margin-right: -18px;
  width: calc(100% + 60px + 36px);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  padding-left: 21px;
}

.tab-header i {
  color: #5c5c5c;
  font-size: 13px;
  padding: 7px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-title {
  font-family: Figtree;
  font-size: 11px;
  font-weight: 600;
  color: #5c5c5c;
}

.tab-header-separator {
  height: 1px;
  margin: 0 auto 10px auto;
  width: 100%;
  background: #d0d0d0;
}

.popup-content p {
  margin-top: 20px;
  margin-bottom: 13px;
  font-size: 11px;
  color: #333;
  font-family: Figtree;
}

@media (max-width: 900px) {
  .popup-content p {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
  }
}

.tab {
  display: none;
}

.tab.active {
  display: block;
}

@media (max-width: 768px) {
  .popup-header {
    width: 50px;
  }

  .popup-tabs {
    gap: 15px;
  }

  .popup-content {
    padding-left: 50px;
    padding: 0 14px 14px;
    padding-left: calc(50px + 14px);
  }

  .tab-header {
    margin-left: calc(-50px - 14px);
    margin-right: -14px;
    width: calc(100% + 50px + 28px);
    padding-left: 18px;
  }
}

/* === CONTAINER SCROLL POUR TAB7 UNIQUEMENT === */
#tab7 .tab7-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  padding-bottom: 20px;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

/* === LIGNE DE DEUX CARTES === */
#tab7 .tab7-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  padding-top: 10px;
  box-sizing: border-box;
}

/* === CARTES === */
#tab7 .tab7-card {
  flex: 1;
  border: 1px solid #d0d0d0;
  border-radius: 15px;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

#tab7 .tab7-card h3 {
  color: #222;
}

#tab7 .tab7-card:hover {
  border-color: #999;
  transform: translateY(-3px);
}

#tab7 .tab7-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

#tab7 .tab7-card-header h3 {
  font-size: 14px;
  font-family: Figtree;
  text-transform: uppercase;
  margin: 0;
}

#tab7 .tab7-card p {
  color: #444;
  font-size: 13px;
  margin-bottom: 18px;
}

#tab7 .tab7-card i {
  color: #222;
}

/* === BOUTONS === */
#tab7 .tab7-btn,
#tab7 .tab7-btn-outline {
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 15px;
  padding: 7px 16px;
  cursor: pointer;
  transition: 0.3s;
}

#tab7 .tab7-btn {
  background: #222;
  color: #fff;
  border: 1px solid #222;
}
#tab7 .tab7-btn:hover {
  opacity: 0.85;
}

#tab7 .tab7-btn-outline {
  background: transparent;
  color: #222;
  border: 1px solid #d0d0d0;
}
#tab7 .tab7-btn-outline:hover {
  border-color: #999;
}

/* === SECTION LARGE === */
#tab7 .tab7-large {
  display: flex;
  gap: 20px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  padding: 30px;
  margin: 0 auto;
  width: 90%;
  justify-content: space-between;
}

#tab7 .tab7-large-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

#tab7 .tab7-large-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

#tab7 .tab7-box {
  width: 80px;
  height: 80px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fafafa;
  transition: 0.3s;
}
#tab7 .tab7-box:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* === COLONNE DE BLOCS === */
#tab7 .tab7-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#tab7 .tab7-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 12px;
  background: #fafafa;
  transition: 0.3s ease;
}

#tab7 .tab7-mini:hover {
  background-color: #f0f0f0;
  transform: translateX(2px);
}

#tab7 .tab7-mini p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  #tab7 .tab7-row { flex-direction: column; }
  #tab7 .tab7-large { flex-direction: column; width: 75%; margin: 0 auto;}
  #tab7 .tab7-large-right { flex-wrap: wrap; }
  #tab7 .tab7-box { width: 30%; height: 70px; }
}

/* === MAIN FAQ TITLE === */
.faq-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 90%;
  margin: 0 auto 20px auto;
}

.faq-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon-box i {
  font-size: 15px;
  color: #222;
}

.faq-main-title {
  font-family: Figtree, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === MAIN FAQ SECTION === */
.main-faq-container {
  width: 90%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-faq-item {
  border: 1px solid #d0d0d0;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
}

.main-faq-item:hover {
  border-color: #999;
}

.main-faq-question {
  padding: 16px 20px;
  font-family: Figtree;
  font-weight: 600;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  user-select: none;
}

.main-faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #222;
  display: inline-block;
}

.main-faq-question.active::after {
  content: '−';
}

.main-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
  padding: 0 20px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  text-align: left;
}

.main-faq-answer.open {
  max-height: 500px;
  padding: 0 20px 16px 20px;
}

/* === NEW TAB7 FAQ SECTION === */
.become-faq-wrapper {
  width: 90%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.become-faq-item {
  border: 1px solid #d0d0d0;
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
}

.become-faq-item:hover {
  border-color: #999;
}

.become-faq-question {
  padding: 13px 24px;
  font-family: Figtree;
  font-weight: 600;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  user-select: none;
}

.become-faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #222;
  display: inline-block;
}

.become-faq-question.active::after {
  content: '−';
}

.become-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
  padding: 0 20px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  text-align: left;
}

.become-faq-answer.open {
  max-height: 150px;
  padding: 0 20px 16px 20px;
}

@media (max-width: 768px) {
  .become-faq-wrapper,
  .become-image-card,
  .become-social-slideshow {
    width: 95%;
  }

  .become-card-content h3 {
    font-size: 20px;
  }

  .become-social-slide {
    min-width: 180px;
  }
}


/* === HELP CENTER SECTIONS === */
.help-section {
  margin-top: 25px;
  margin-bottom: 40px;
}

/* Become action boxes - Toolbox Card Style */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.action-box {
  border: 1px solid #d0d0d0;
  border-radius: 15px;
  background: #f8f8f8;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 200px;
}

/* Color overlay - lighter for white theme */
.action-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(177, 177, 177, 0.2);
  z-index: 1;
  pointer-events: none;
}


/* Icon as large background element in center */
.action-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.action-icon {
  display: flex;
  margin-top: -55px;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.action-icon i {
  color: #222;
  font-size: 50px;
  opacity: 0.6;
  transition: all 0.5s ease;
  transform: scale(1.1);
}

/* Dimension indicator positioned top-right */
.dimension-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid #d0d0d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 3;
  transition: all 0.3s ease;
}

.dimension-indicator i {
  color: #666;
  font-size: 14px;
}


/* Content section overlaid at the bottom with gradient - same as toolbox */
.action-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 40%, transparent 100%);
  z-index: 2;
}

.action-title {
  font-weight: 700;
  margin: 0;
  color: #000;
  font-size: 19px;
  margin-bottom: -10px;
  text-align: left;
  letter-spacing: -0.4px;
}

.action-description{
  margin: 0;
  color: #333;
  font-size: 14px;
  text-align: left;
}

@media (max-width: 769px){
  .action-box {
    height: 240px;
  }

  .action-icon {
    margin-top: -90px;
  }

  .action-content {
    padding: 16px 20px;
  }

  .action-title {
    font-size: 17px;
  }

  .action-description {
    font-size: 13px;
  }
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12px;
  font-family: Figtree;
  margin-top: 0px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  background: #000;
  position: relative;
  overflow: hidden
}
/* === TAB NOTIFICATION DOTS === */
.tab-icon {
  position: relative;
}

.tab-notification-dot {
  position: absolute;
  bottom: 1px;
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
  padding: 0px;
  background-clip: content-box;
  box-shadow: 0 0 0 0px #000;
  pointer-events: none;
}

@media (max-width: 768px) {
  .tab-notification-dot {
    width: 4px;
    height: 4px;
    padding: 0px;
    box-shadow: 0 0 0 0px #000;
    bottom: 1px;
  }
}

/* ========================================
   ACTIONS PAGE - CARD ELEMENTS
   ======================================== */

/* Card Title Bar (Featured tag at top) */
.ymg-actions-page-actions-card-title-bar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4f4f4;
  border: 1px solid #959595;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #060606;
  margin-bottom: 18px;
  width: fit-content;
}

.ymg-actions-page-actions-card-title-bar i {
  font-size: 12px;
}

/* Card Heading */
.ymg-actions-page-actions-card-heading {
  position: relative;
  z-index: 1;
  font-family: 'Figtree', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #060606;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

/* Card Description */
.ymg-actions-page-actions-card-description {
  position: relative;
  z-index: 1;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #3f3f3f;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

/* Card Meta (Date + Category) */
.ymg-actions-page-actions-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ymg-actions-page-actions-card-date {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ymg-actions-page-actions-card-date i {
  font-size: 11px;
}

.ymg-actions-page-actions-card-category {
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #191919;
}

/* Card Button */
.ymg-actions-page-actions-card-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #060606;
  color: #fff;
  border: 1px solid #060606;
  border-radius: 25px;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.ymg-actions-page-actions-card-btn:hover {
  background: #f4f4f4;
  color: #060606;
  border-color: #959595;
  transform: translateX(3px);
}

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

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

.ymg-btn-arrow path {
  stroke: currentColor;
}

/* Mobile Adjustments for Card Elements */
@media (max-width: 768px) {
  .ymg-actions-page-actions-card-title-bar {
    font-size: 10px;
    padding: 5px 12px;
    gap: 6px;
  }

  .ymg-actions-page-actions-card-heading {
    font-size: 22px;
  }

  .ymg-actions-page-actions-card-description {
    font-size: 14px;
  }

  .ymg-actions-page-actions-card-meta {
    gap: 12px;
  }

  .ymg-actions-page-actions-card-date {
    font-size: 11px;
  }

  .ymg-actions-page-actions-card-category {
    font-size: 10px;
    padding: 3px 10px;
  }

  .ymg-actions-page-actions-card-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* ========================================
   ACTIONS PAGE - MAIN SECTION
   ======================================== */

/* Main Container */
.ymg-actions-page-actions {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  background: transparent;
}

/* Section Titles */
.ymg-actions-page-actions-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #060606;
  margin: 40px 0 30px;
  text-align: center;
  letter-spacing: 1px;
  font-family: 'Figtree', sans-serif;
}

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

/* Cards Grid */
.ymg-actions-page-actions-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Individual Card */
.ymg-actions-page-actions-card {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 35px 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ymg-actions-page-actions-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.ymg-actions-page-actions-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #959595;
}

.ymg-actions-page-actions-card:hover::before {
  opacity: 0.25;
}

/* News Container (for expanded news bars) */
.ymg-actions-page-actions-news-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.ymg-actions-page-actions-news-bar:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #959595;
  transform: translateX(5px);
}

.ymg-actions-page-actions-news-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  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;
  min-width: 0;
}

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

.ymg-actions-page-actions-news-description {
  font-size: 14px;
  color: #666;
  margin: 0 0 6px 0;
  line-height: 1.5;
  font-family: 'Figtree', sans-serif;
}

.ymg-actions-page-actions-news-date {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

.ymg-actions-page-actions-news-link {
  padding: 10px 24px;
  background: #f4f4f4;
  color: #060606;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Figtree', sans-serif;
}

.ymg-actions-page-actions-news-link:hover {
  background: #060606;
  color: #fff;
  border-color: #060606;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .ymg-actions-page-actions {
    padding: 40px 20px;
  }

  .ymg-actions-page-actions-section-title {
    font-size: 20px;
    margin: 30px 0 25px;
  }

  .ymg-actions-page-actions-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .ymg-actions-page-actions-news-title {
    font-size: 16px;
  }

  .ymg-actions-page-actions-news-description {
    font-size: 13px;
  }

  .ymg-actions-page-actions-news-link {
    padding: 8px 18px;
    font-size: 13px;
  }
}


/* ===== YMG ACTIONS LAYOUT - APPLE-STYLE HORIZONTAL SCROLL ===== */
.ymg-actions-layout {
  padding: 0 30px;
  margin-top: 80px;
  margin-bottom: 20px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.ymg-actions-layout__section-title {
  font-size: 15px;
  font-weight: 600;
  color: hsl(0, 0%, 2%);
  font-family: 'Figtree', sans-serif;
  text-align: center;
  letter-spacing: 1px;
  margin: 0 0 30px 0;
  text-transform: uppercase;
}

/* Wrapper - No padding, arrows overlay cards */
.ymg-actions-layout__wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

/* Navigation Buttons - Overlay cards with glassmorphism like badge */
.ymg-actions-layout__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.ymg-actions-layout__nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.ymg-actions-layout__nav-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.ymg-actions-layout__nav-btn--prev {
  left: 20px;
}

.ymg-actions-layout__nav-btn--next {
  right: 20px;
}

.ymg-actions-layout__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Scroll Container - With snap points */
.ymg-actions-layout__scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ymg-actions-layout__scroll-container::-webkit-scrollbar {
  display: none;
}

/* Container with cards - Always centered */
.ymg-actions-layout__container {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  justify-content: center; /* flex-start si plus de 3 cards */
  min-width: 100%;
}

/* Individual Card - 350px width with snap alignment */
.ymg-actions-layout__item {
  flex-shrink: 0;
  width: 550px;
  height: 420px;
  background: rgba(177, 177, 177, 0.2);
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #959595;
  transition: transform 0.3s ease;
  position: relative;
  text-decoration: none;
  display: block;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* Color overlay */
.ymg-actions-layout__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 10%, 0.2);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .ymg-actions-layout__item::before {
    background: hsla(0, 0%, 10%, 0.15);
  }
}

.ymg-actions-layout__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.ymg-actions-layout__item:hover .ymg-actions-layout__image {
  transform: scale(1.05);
}

.ymg-actions-layout__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
}

/* Badge */
.ymg-actions-layout__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 5px 12px;
  width: fit-content;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  grid-column: 1 / -1;
  grid-row: 1;
}

.ymg-actions-layout__badge i {
  font-size: 12px;
}

.ymg-actions-layout__pill-label {
  position: absolute;
  top: 17px;
  right: 0;
  font-size: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  padding: 5px 12px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
  font-family: 'Figtree', sans-serif;
  width: fit-content;
}

.ymg-actions-layout__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  grid-column: 1;
  grid-row: 2;
}

.ymg-actions-layout__description {
  font-size: 0.9rem;
  color: hsl(0, 0%, 80%);
  margin-top: -8px;
  margin-bottom: -8px;
  grid-column: 1;
}

.ymg-actions-layout__cta {
  /* Customizable sizing variables */
  --cta-size: 30px;
  --cta-arrow-size: 18px;

  width: var(--cta-size);
  height: var(--cta-size);
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  color: #000;
  align-self: end;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}

.ymg-actions-layout__cta svg {
  width: var(--cta-arrow-size);
  height: var(--cta-arrow-size);
  transition: transform 0.3s ease;
}

/* View All Button - Centered with wrapper */
.ymg-actions-layout__view-all-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

.ymg-actions-layout__view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 15px;
  font-weight: 500;
  font-size: 0.85rem;
  font-family: 'Figtree', sans-serif;
  color: #000;
  transition: all 0.3s ease;
  width: fit-content;
}

.ymg-actions-layout__view-all i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.ymg-actions-layout__view-all-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 4px; /* Adjust this value to control spacing between text/arrow and underline */
}

.ymg-actions-layout__view-all svg {
  width: 18px;
  height: 18px;
  margin-left: -5px;
  transition: transform 0.3s ease;
}

.ymg-actions-layout__view-all:hover i {
  transform: translateX(3px);
}

.ymg-actions-layout__view-all:hover svg {
  transform: translateX(3px);
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
  .ymg-actions-layout {
    padding: 0px 20px;
    margin-top: 60px;
  }

  .ymg-actions-layout__wrapper {
    padding: 0;
  }

  .ymg-actions-layout__nav-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .ymg-actions-layout__nav-btn--prev {
    left: 15px;
  }

  .ymg-actions-layout__nav-btn--next {
    right: 15px;
  }

  .ymg-actions-layout__scroll-container {
    /* Allow peek of next card on mobile */
    padding-right: 40px;
  }

  .ymg-actions-layout__container {
    justify-content: flex-start;
  }

  .ymg-actions-layout__item {
    width: 320px;
    height: 400px;
  }

  .ymg-actions-layout__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    gap: 12px;
  }

  .ymg-actions-layout__badge {
    align-self: center;
  }

  .ymg-actions-layout__title {
    font-size: 22px;
  }

  .ymg-actions-layout__cta {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .ymg-actions-layout__wrapper {
    padding: 0;
  }

  .ymg-actions-layout__nav-btn--prev {
    left: 10px;
  }

  .ymg-actions-layout__nav-btn--next {
    right: 10px;
  }

  .ymg-actions-layout__scroll-container {
    /* Show more peek on smaller screens */
    padding-right: 60px;
  }

  .ymg-actions-layout__item {
    width: 300px;
    height: 400px;
  }

  .ymg-actions-layout__title {
    font-size: 20px;
  }
}

/* ========================================
   ENTITY POPUP - MATCHES BECOME EXACTLY
   ======================================== */

/* Entity popup - same as Become popup */
.entity-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 95vw;
  height: calc(var(--app-height) * 0.96);
  background: #f4f4f4;
  border: 1px solid #959595;
  border-radius: 15px;
  display: none;
  z-index: 9999;
  overflow: hidden;
  flex-direction: column;
  transition: all 0.25s ease-in;
  animation: becomeFadeIn 0.25s ease-in forwards;
}

.entity-popup.closing {
  animation: becomeFadeOut 0.25s ease-out forwards;
}

/* Entity popup header - 40px */
.entity-popup-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 40px;
  min-height: 40px;
  background: #fafafa;
  border-bottom: 1px solid #d0d0d0;
  flex-shrink: 0;
}

/* Entity popup logo - smaller */
.entity-popup-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 30px;
}

.entity-popup-logo img {
  height: 33px;
  width: 33px;
  filter: invert(1);
  object-fit: contain;
}

@media (min-width: 769px){
  .entity-popup-logo {
    left: 30px;
  }

 .entity-popup-close {
    right: 50px;
  }
}

/* Entity popup close button - matches Become */
.entity-popup-close {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  padding: 0;
}

.entity-popup-close svg {
  width: 14px;
  height: 14px;
  color: #fff;
  padding: 3px;
  background: #000;
  cursor: pointer;
  border-radius: 50%;
}

/* Entity popup content */
.entity-popup-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px;
  background: #eee;
}

/* End of Entity Popup Styles */

/* Pill Indicator - Top Left Corner (Insights Style) */
.ymg-2-images-layout__pill-indicator {
  position: absolute;
  top: 20px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0px 13px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  color: #fff;
  z-index: 3;
  width: fit-content;
  transition: all 0.3s ease;
}

.ymg-2-images-layout__pill-indicator i {
  font-size: 11px;
}

.ymg-2-images-layout__pill-icon-y {
  width: 25px;
  height: 25px;
}

.ymg-2-images-layout__pill-icon-y svg{
  filter: invert(1) brightness(1);
}

.ymg-2-images-layout__pill-indicator-2 {
  position: absolute;
  top: 17px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0px 12px;
  padding-left: 9px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  color: #fff;
  z-index: 3;
  width: fit-content;
  transition: all 0.3s ease;
}

.ymg-2-images-layout__pill-indicator-2 i {
  font-size: 11px;
}

.ymg-2-images-layout__pill-icon-y-2 {
  width: 23px;
  height: 23px;
}

.ymg-2-images-layout__pill-icon-y-2 svg{
  filter: invert(1) brightness(1);
}

/* ====================================
   ACTIONS POPUP - CARD LAYOUT
   ==================================== */

/* Card Height Variable - ADJUST THIS TO CHANGE CARD SIZE */
:root {
  --actions-card-height: 380px;  /* Desktop card height - compact */
  --actions-card-height-mobile: 280px;  /* Mobile card height - perfect as is */
}

.ymg-2-images-layout__pill-indicator-4 {
  position: absolute;
  top: 12px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0px 12px;
  padding-left: 9px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  color: #fff;
  z-index: 3;
  width: fit-content;
  transition: all 0.3s ease;
}

.ymg-2-images-layout__pill-indicator-4 i {
  font-size: 11px;
}

.ymg-2-images-layout__pill-icon-y-4 {
  width: 23px;
  height: 23px;
}

.ymg-2-images-layout__pill-icon-y-4 svg{
  filter: invert(1) brightness(1);
}

.actions-card__pill-label-4 {
  position: absolute;
  top: 12px;
  right: 0;
  font-size: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  padding: 4px 12px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
  font-family: 'Figtree', sans-serif;
  width: fit-content;
}

@media (max-width: 768px) {
  .ymg-2-images-layout__pill-indicator-4 {
    display: none;
  }

  .actions-card__pill-label-4 {
    position: absolute;
    top: 12px;
    left: -5px;
    font-size: 9px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    padding: 3px 12px;
    padding-left: 15px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 3;
    font-family: 'Figtree', sans-serif;
    width: fit-content;
  }
}


/* Overlay */
#actions-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 9998;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease-in;
}

#actions-overlay.closing {
  animation: fadeOut 0.25s ease-out forwards;
}

/* Main popup wrapper */
.actions-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  display: none;
  z-index: 9999;
  transition: all 0.25s ease-in;
  animation: becomeFadeIn 0.25s ease-in forwards;
}

.actions-popup.closing {
  animation: becomeFadeOut 0.25s ease-out forwards;
}

/* Container with cards - grid layout, no scroll */
.actions-popup-container {
  width: auto;
  max-width: fit-content;
  background: transparent;
  border-radius: 12px;
  padding: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 15px;
}

/* Header with title and close button on same line */
.actions-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
  grid-column: 1 / -1;
}

/* Title */
.actions-popup-title {
  font-family: 'Figtree', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
  text-align: left;
  flex: 1;
}

/* Close button */
.actions-popup-close {
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.actions-popup-close svg {
  width: 17px;
  height: 17px;
  color: #000;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  border-radius: 50%;
  stroke: #000;
}

.actions-popup-close:hover svg {
  background: #f0f0f0;
}

/* Action Card - Matching ymg-actions-layout__item style */
.actions-card {
  position: relative;
  flex-shrink: 0;
  background: rgba(177, 177, 177, 0.2);
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid #959595;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: block;
  width: 380px;
  height: var(--actions-card-height);
}

/* Color overlay */
.actions-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 20%, 0.2);
  z-index: 1;
  pointer-events: none;
}

/* Image - full background */
.actions-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.actions-card:hover .actions-card__image {
  transform: scale(1.05);
}

/* NEW pill label - matching ymg-actions-layout__pill-label */
.actions-card__pill-label {
  position: absolute;
  top: 55px;
  left: 0;
  font-size: 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid hsl(0, 0%, 25%);
  border-left: none;
  padding: 3px 9px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
  font-family: 'Figtree', sans-serif;
  width: fit-content;
}

/* Content Section - bottom gradient overlay */
.actions-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
}

/* Title - matching ymg-actions-layout__title */
.actions-card__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  grid-column: 1;
  grid-row: 2;
}

/* CTA - matching ymg-actions-layout__cta */
.actions-card__cta {
  /* Customizable sizing variables */
  --cta-size: 30px;
  --cta-arrow-size: 18px;

  width: var(--cta-size);
  height: var(--cta-size);
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  color: #000;
  align-self: end;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}

.actions-card__cta svg {
  width: var(--cta-arrow-size);
  height: var(--cta-arrow-size);
  transition: transform 0.3s ease;
}
.actions-card:hover .actions-card__cta {
  background: #fff;
  color: #000;
}

/* Mobile Responsiveness - 2 cards top, 1 full-width below */
@media (max-width: 768px) {
  .actions-popup-container {
    width: calc(var(--app-width) * 0.92);
    max-width: none;
    padding: 20px 15px;
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
  }

  .actions-popup-header {
    margin-bottom: 8px;
  }

  .actions-popup-title {
    font-size: 18px;
  }

  .actions-popup-close {
    margin-left: 10px;
  }

  /* Use mobile height variable */
  .actions-card {
    height: var(--actions-card-height-mobile);
  }

  /* First card spans both columns (top row, full width) */
  .actions-card:nth-child(2) {
    grid-column: span 2;
  }

  /* Second and third cards span 1 column each (bottom row, side by side) */
  .actions-card:nth-child(3),
  .actions-card:nth-child(4) {
    grid-column: span 1;
  }

  .actions-card__content {
    padding: 25px 20px;
  }

  .actions-card__title {
    font-size: 20px;
  }

  .actions-card__cta {
    font-size: 0.75rem;
  }

  .actions-card__pill-label {
    font-size: 8px;
    top: 50px;
  }
}

/* Desktop - all 3 cards in one row, compact */
@media (min-width: 769px) {
  .actions-popup-container {
    grid-template-columns: repeat(3, 280px);
    grid-template-rows: auto 1fr;
    gap: 15px;
    padding: 30px;
  }

  .actions-popup-header {
    margin-bottom: 15px;
  }

  .actions-popup-title {
    font-size: 1.5rem;
  }

  .actions-card {
    grid-column: span 1;
    width: 280px;
  }

  .actions-card__content {
    padding: 28px 22px;
  }

  .actions-card__title {
    font-size: 22px;
  }

  .actions-card__cta {
    font-size: 0.75rem;
  }

  /* 2-card layout adjustments for desktop */
  /* When there are only 2 cards (last child is 3rd element) */
  .actions-popup-container:has(.actions-card:nth-child(3):last-child) {
    grid-template-columns: repeat(2, 280px);
  }

  .actions-card:nth-child(2),
  .actions-card:nth-child(3) {
    grid-column: span 1;
  }
}

/* Mobile - 2-card layout: stack vertically */
@media (max-width: 768px) {
  /* When there are only 2 cards, make both span full width (stacked) */
  .actions-card:nth-child(2):nth-last-child(2),
  .actions-card:nth-child(3):nth-last-child(1) {
    grid-column: span 2;
  }
}

/* Actions Popup Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes becomeFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes becomeFadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

.ymg-design-section {
  padding: 0 35px;
  margin-top: 75px;
  margin-bottom: 100px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

/* Design Card - WHITE BACKGROUND THEME (MATCHING ACTIONS TOOLBOX) */
.ymg-design-card {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.ymg-design-card__item {
  border-radius: 20px;
  border: 1px solid #d4d4d4;
  background: rgba(121, 121, 121, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
  height: 520px;
}

.ymg-design-card__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(177, 177, 177, 0.2);
  z-index: 1;
  pointer-events: none;
}

.ymg-design-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.40;
}

.ymg-design-card__image--pc {
  display: block;
}

.ymg-design-card__image--mobile {
  display: none;
}

.ymg-design-card__item:hover .ymg-design-card__image {
  transform: scale(1.05);
  opacity: 0.3;
}

.ymg-design-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, transparent 100%);
}

.ymg-design-card__title {
  font-size: 38px;
  font-weight: 600;
  margin: 0;
  color: #000;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.ymg-design-card__description {
  font-size: 17px;
  color: #333;
  margin: 0;
  line-height: 1.5;
  max-width: 90%;
}

.ymg-design-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  font-size: 0.74rem;
  background: #000;
  border: 1px solid #000;
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 8px;
  align-self: center;
}

.ymg-design-card__cta:hover {
  background: #333;
  border-color: #333;
}

@media (max-width: 768px) {
  .ymg-design-card__item {
    height: 600px;
  }

  .ymg-design-section {
    padding: 0 20px;
  }

  .ymg-design-card__image--pc {
    display: none;
  }

  .ymg-design-card__image--mobile {
    display: block;
  }

  .ymg-design-card__title {
    font-size: 28px;
  }

  .ymg-design-card__description {
    font-size: 15px;
  }

  .ymg-design-card__content {
    padding: 30px;
  }
}

/* ====================================
   YMG BOTTOM CTA SECTION
   ==================================== */

.ymg-bottom-cta {
  width: 100%;
  background: #f5f5f5;
  padding: 30px 40px;
  box-sizing: border-box;
}

.ymg-bottom-cta__container {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.ymg-bottom-cta__logo {
  width: 32px;
  filter: invert(1);
  height: auto;
  opacity: 0.85;
}

.ymg-bottom-cta__text {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #000;
  margin: 0;
  font-weight: 400;
}

.ymg-bottom-cta__button {
  padding: 10px 26px;
  font-family: 'Figtree', sans-serif;
  font-size: 12px;
  font-weight: 500;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.ymg-bottom-cta__button:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 640px) {
  .ymg-bottom-cta {
    padding: 25px 20px;
  }

  .ymg-bottom-cta__container {
    gap: 12px;
  }

  .ymg-bottom-cta__logo {
    width: 28px;
  }

  .ymg-bottom-cta__text {
    font-size: 12px;
  }

  .ymg-bottom-cta__button {
    padding: 9px 24px;
    font-size: 11px;
  }
}
