﻿

html {
  height: var(--app-height, 100vh); /* fallback si le script tarde */
}

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

@media (max-width: 768px) {
  html {
    font-size: 14px; /* 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 */
}



/* 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;

*/

.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 #2d333b;
    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.45);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  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;
}

.Btn:hover {
  .scroll-top:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}
}

.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); 
}

/* DESKTOP NAV MENU */
.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;
  margin-top: 50px;
  justify-content: center;
  align-items: center; 
  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Ã© */  
}

.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;
}

.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-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 35px;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center; 
  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;
}

.social-icons {
  display: flex;
  margin-top: 10px;
  justify-content: center;
  align-items: center;
  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: #fff;
}


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

/* 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;
    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;
  filter: invert(1);
  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.58rem;
  color: hsl(0, 0%, 80%);
  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-top: 15px;
    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-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: black;
    transition: width 0.4s ease;
  }

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

.horizontal-separator-1 {
  margin: -10px auto 31px 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: 0px auto 20px auto;
  width: 170px;
  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;
}

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

.inner-menu-separator {
    margin: 10px 0 10px 0;
    width: 98%;
    left: 0px;
    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%
    );
}

.sub-menu {
  display: flex;
  flex-direction: row; /* liens cÃ´te Ã  cÃ´te */
  gap: 15px;           /* espace horizontal */
}

.menu-separator-1 {
    margin: -10px auto 31px auto;
    width: 98%;
    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%
  );
}

.menu-separator-2 {
    margin: 0px auto 20px auto;
    width: 98%;
    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%
  );
}


.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 .lang {
  color: #8b949e;
  transition: color 0.2s;
}

/* Lien actif */
.ymg-languages .lang.active-lang {
  color: #000;
}

/* Hover sur tous les liens, actif ou non */
.ymg-languages .lang:hover {
  color: #000;
}

.ymg-languages .separator {
  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;
    filter: invert(1);
    width: auto;
    margin: 0 auto;
  }
}

.menu-logo {
  margin-top: -10px;
  bottom: 15px;
  height: 29px;
}

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

.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: #f4f6fc;
  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;
  }


/* CSS de la section - Classes prÃ©fixÃ©es et pas de Tailwind */
        .yt-rec-container {
            background-color: #090909;
            display: none;
            visibility: hidden;
            padding: 20px;
            border: 1px solid #2d333b;
            border-radius: 5px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            width: 85%;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin: 20px auto;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
        }
        .yt-rec-title {
            font-size: 25px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
        }
        .yt-rec-description-text {
            color: #8b949e;
            margin-bottom: 24px;
        }
        .yt-rec-btn {
            background-image: linear-gradient(to right, #141414, #222222);
            color: white;
            padding: 12px 24px;
            max-width: 150px;
            margin: 0 auto;
            border-radius: 10px;
            border: 1px solid #2d333b;
            font-weight: 600;
            transition: all 0.2s ease-in-out;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            outline: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .yt-rec-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }
        .yt-rec-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }
        .yt-rec-icon {
            width: 25px;
            height: 25px;
            vertical-align: middle;
        }
        .yt-rec-video-grid { /* Nouvelle classe pour le conteneur de grille */
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Rend la grille responsive */
            gap: 16px;
            margin-top: 24px;
        }
        .yt-rec-video-item { /* Nouvelle classe pour chaque Ã©lÃ©ment vidÃ©o */
            background: linear-gradient(to right, #141414, #181818);
            padding: 20px;
            border-radius: 12px;
            text-align: left;
            border: 1px solid #2d333b;
            transition: all 0.2s ease-in-out;
            display: flex;
            flex-direction: column;
            gap: 12px;
            overflow: hidden; /* Pour s'assurer que les coins arrondis de l'image sont respectÃ©s */
        }
        .yt-rec-video-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        }
        .yt-rec-video-item.hidden {
            display: none; /* Pour masquer les cartes vides */
        }
        .yt-rec-video-preview { /* Classe pour le lien de l'image */
            display: block;
            width: 100%;
            height: 180px; /* Hauteur fixe pour la cohÃ©rence */
            border-radius: 8px;
            overflow: hidden; /* S'assure que l'image respecte le border-radius */
            margin-bottom: 8px;
        }
        .yt-rec-video-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Couvre la zone, rognant si nÃ©cessaire */
            border-radius: 8px; /* Appliquer le border-radius Ã  l'image aussi */
        }
        .yt-rec-video-title { /* Classe pour le titre de la vidÃ©o */
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 8px;
            line-height: 1.3;
        }
        .yt-rec-video-description { /* Classe pour la description de la vidÃ©o */
            color: #8b949e;
            font-size: 14px;
            margin-bottom: 8px;
            line-height: 1.5;
            flex-grow: 1; /* Permet Ã  la description de prendre l'espace restant */
        }
        .yt-rec-video-link { /* Classe pour le lien "Voir sur YouTube" */
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            display: inline-block; /* Pour que le lien ne prenne pas toute la largeur */
            word-wrap: break-word;
            margin-top: auto; /* Pousse le lien vers le bas de la carte */
        }
        .yt-rec-video-link:hover {
            text-decoration: underline;
        }
        .yt-rec-loading-spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #fff;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            animation: spin 1s linear infinite;
            display: none;
            margin: 0 auto;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .yt-rec-message-box {
            background-color: #fff3cd;
            color: #856404;
            border: 1px solid #ffeeba;
            padding: 1rem;
            border-radius: 0.5rem;
            margin-top: 1rem;
            display: none;
        }
        .yt-rec-message-box.error {
            background-color: #fee2e2;
            color: #b91c1c;
            border-color: #ef4444;
        }
        .yt-rec-btn[disabled] {
            opacity: 0.5;
            cursor: not-allowed;
        }

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

a {
    all: unset;
    cursor: pointer; /* pour garder le curseur "main" */
  }

.breadcrumbs {
    margin: auto;
    font-family: 'Figtree', sans-serif;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #2d333b;
    border-radius: 7px;
    background-color: #090909;
    padding: 4px;
    font-family: Helvetica, sans-serif;
  }

  @media screen and (min-width: 768px) { 
    .breadcrumbs {
    width: 95%;
    }
  }

  @media screen and (max-width: 768px) { 
    .breadcrumbs {
    width: 90%;
    }
  }

  .breadcrumbs .breadcrumbs-bloc {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
 
  .breadcrumbs .breadcrumbs-title {
    color: #fff;
    font-size: 7px;
    margin: 0 auto;
    text-transform: uppercase;
  }


@media (max-width: 769px) {
    .faq-title {
      width: 95%;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
      margin-top: 30px;
      margin-bottom: 15px;
      padding-left: 20px;
    }

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

    @media (max-width: 769px) {
    .faq-wrapper-custom {
      width: 100%;
      border: 1px solid #959595;
      margin: auto;
      padding: 20px;
      margin-top: 70px;
      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 {
  margin-top: 50px;
  width: 82%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 30px;
}

.faq-box {
  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;
  }
}

.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 #d0d0d0;
  border-radius: 50%;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: bold;
  color: #000;
}


    /* Conteneur des FAQ */
    .faq-container-custom {
      border-radius: 8px;
    }
  
    /* 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: #222;
      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-family: Figtree;
      color: #222;
      font-size: 16.5px;
    }

    .faq-question-custom.active::after, .faq-question-custom-2.active::after, .faq-question-custom-3.active::after {
      content: " -";
      font-family: Figtree;
      color: #222;
      font-size: 16.5px;
    }
  
    /* Style des rÃ©ponses */
    .faq-answer-custom {
      max-height: 0;
      overflow: hidden;
      font-family: Figtree;
      font-size: 12px;
      font-weight: normal;
      color: #444;
      background: #f8f8f8;
      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;
      }
    }

.ymg-design-section {
  padding: 0 10px;
  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: 15px;
  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;
  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;
}

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

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

  .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;
  }
}

.entity-design-section {
  width: 100%; 
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  padding: 5px 30px;
  box-sizing: border-box;
  font-family: Figtree;
}

.ymg-design-section-header {
  display: inline-flex;
  margin: 0 auto;
  width: fit-content;
  gap: 10px;
  text-align: left;
  align-items: center; 
  justify-content: left;
}

.ymg-design-section-header i{
  display: inline-flex;
  border: 1px solid #2d333b;
  border-radius: 10px;
  color: #000;
  background: #fff;
  padding: 10px 10px;
  font-size: 15px;
}


.ymg-design-section-header-img {
  display: block;
  border: 1px solid #2d333b;
  border-radius: 28%;
  padding: 2px;
  width: 25px;
  height: 25px;
}

.ymg-content h2 {
  font-size: 15px;
  font-family: Figtree;
  font-weight: 600;
  margin: 0;
  text-align: left;
  align-items: center; 
  justify-content: left;
}

.ymg-content p {
  font-size: 13px;
  margin-bottom: -10px;
  font-family: Figtree;
  margin: 0;
  text-align: left;
  width: 100%;
  color: #ccc;
  margin: 30px 0px;
  white-space: pre-line;
}

.ymg-content a {
  font-size: 13px;
  font-family: Figtree;
  margin: 0;
  text-align: left;
  width: fit-content;
  margin: 20px 0px;
  white-space: pre-line;
}

.ymg-content h3 {
  font-size: 13.5px;
  color: hsl(216, 14%, 95%);
  font-weight: normal;
  top: 19px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.ymg-inner-container {
  width: 100%;
  margin: 0px 0 0px 0;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  min-height: 450px;
  align-items: left;
}

/* wrapper de l’image squircle */
.ymg-image-wrapper {
  position: relative;
  display: flex;
  border: 1px solid #2d333b;
  border-radius: 15px;
  justify-content: center;
  align-items: center;       
  margin-bottom: 20px;     
  overflow: hidden;           
  padding: 20px;               
}

/* image desktop avec squircle */
.ymg-inner-container-image-pc {
  width: 80%;
  height: 80%;
  object-fit: contain;
  margin: 0;
  border: 1px solid transparent;
  position: relative;
}

/* (si tu veux) image mobile garde son comportement */
.ymg-inner-container-image-mobile {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 10px;
}


/*.entity-inner-container-image-mobile {
  width: 97%;
  border: 1px solid #2d333b;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #000;
}

.ymg-inner-container-image-pc {
  position: relative;
  width: 89%;
  max-height: 98%;
  object-fit: contain;
  margin: 10px 0 20px 0;
  padding: 15px;
  z-index: 0;

  background: transparent;
}

/* ::before crée un fond noir sous l’image */
/*.ymg-inner-container-image-pc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;         
  z-index: -1;              
  pointer-events: none;
}


.ymg-inner-container-image-mobile {
  width: 100%;
  max-height: 120%;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 10px;
} */

@media (max-width: 767px) {
  .ymg-inner-container-image-pc, .entity-inner-container-image-pc {
    display: none;
  }
  .ymg-content {
    width: 105%;
    max-width: 1400px;
    text-align: left;
    color: #fff;
}
}

@media (min-width: 768px) {
  .ymg-inner-container-image-mobile, .entity-inner-container-image-mobile {
    display: none;
  }
  .ymg-content {
    width: 91%;
    max-width: 1200px;
    text-align: left;
    color: #fff;
}
}

.ymg-inner-container-button {
  margin: 15px auto 15px auto;
  padding: 14px 30px;
  font-weight: 600;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  text-align: center;
  border-radius: 30px;
  display: inline-flex;
  background: #fff;
  color: #060606;
  line-height: 1.25;
  font-family: Figtree;
  font-size: 11px;
}


.ymg-inner-container-button i {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  margin-left: 10px;
}


/* YMG PORTAL*/
.ymg-portal {
  font-size: 11px;
  font-family: "Figtree", sans-serif;
  border: 1px solid hsl(216, 14%, 40%);
  border-radius: 30px;
  padding: 4px 13px;
  color: #fff;
  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: hsl(0, 0%, 0%);
  opacity: 0.9;
  transition: color 0.3s, opacity 0.3s, text-shadow 0.3s ease;
}


.ymg-portal:hover {
  color: hsl(0, 0%, 100%);
  opacity: 1;
  text-shadow: 0 0 8px hsl(0, 0%, 100%);
}

#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;
}

.fade-in { animation: fadeIn 0.5s ease-in-out ; }
.fade-out { animation: fadeOut 0.4s ease-in-out; }



/* ------------------- 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 du bloc */
.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;
}


/* Bouton 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;
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.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);
}

/* 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; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* --------------------------------------------- */
/* ðŸ”¥ AJOUT : Animation fluide pour les descriptions */
.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);
}

@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;
  }
}


/* 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: 6px;
  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;
}


.become-title {
  width: 100%; 
  margin: 18px 0 4px 0;       
  text-align: center;
}

.become-box {
  display: inline-block;
  border: 1px solid #2d333b;
  margin: 15px auto 20px auto;
  border-radius: 10px;
  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: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

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

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

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

/* === SECTION 1 : YMG Schemes Explanation === */
.ymg-schemes-explanation .explanation-box {
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 6px;
  padding: 20px;
  width: 76%;
  margin: 20px auto;
  margin-bottom: 50px;
}

.ymg-schemes-explanation h2 {
  font-family: Figtree, sans-serif;
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}

.ymg-schemes-explanation p {
  font-family: Figtree, sans-serif;
  font-size: 13px;
  color: #ccc;
  line-height: 1.5;
}

.inline-svg {
  width: 22px;
  height: 22px;
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 50%;
  padding: 3px;
  vertical-align: middle;
  margin: 0 4px;
}

/* === SECTION 2 : YMG Plus === */
.ymg-plus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px auto;
  margin-bottom: 10px;
  width: 37px;
  height: 37px;
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 50%;
}

.plus-text {
  font-family: Figtree, sans-serif;
  font-size: 19px;
  margin: 0 auto;
  color: #000;
  text-align: center;
}


/* === SECTION 3 : YMG Entity Additional === */
.ymg-entity-additional {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 79%;
  background: #000;
  margin-bottom: 80px;
  margin: 40px auto;
}

.entity-card {
  border: 1px solid #2d333b;
  border-radius: 6px;
  padding: 20px;
  background: #000;
  text-align: left;
}

.entity-card h3 {
  font-family: Figtree, sans-serif;
  font-size: 15px;
  color: #fff;
  margin-bottom: 8px;
}

.entity-card p {
  font-family: Figtree, sans-serif;
  font-size: 13px;
  color: #ccc;
  margin-bottom: 15px;
}

.entity-card button {
  background: #fff;
  color: #000;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 10px 17px;
  font-family: Figtree, sans-serif;
  font-size: 11px;
  cursor: pointer;
  transition: 0.3s;
}

.entity-card button:hover {
  opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 749px) {
  .ymg-entity-additional {
    grid-template-columns: 1fr;
    width: 91%;
  }
  .ymg-schemes-explanation .explanation-box {
    width: 81%;
  }
}

/* ===================================
   SECTION 1 : HEADER TITLE
=================================== */
.ymg-header-title {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.title-bar {
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 6px;
  width: 80%;
  padding: 10px;
  text-align: center;
}

.title-bar h1 {
  font-family: Figtree, sans-serif;
  font-size: 15px;
  color: #fff;
  margin: 0;
}

/* ===================================
   SECTION 2 : GRAND RECTANGLE CONTENU LIBRE
=================================== */
.ymg-free-content {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.content-box {
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  width: 80%;
  padding: 25px;
  color: #fff;
}

.content-box h2 {
  font-family: Figtree, sans-serif;
  font-size: 16px;
  margin-bottom: 30px;
}

.content-box p {
  font-family: Figtree, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: #ccc;
  margin-bottom: 15px;
}

.content-box button {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 8px 14px;
  font-family: Figtree, sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.content-box button:hover {
  opacity: 0.8;
}


/* ---------- Styles principaux ---------- */
.ymg-features {
  display: flex;
  justify-content: center;
  padding: 30px;
  padding-bottom: 50px;
}

.ymg-features p {
  font-family: Figtree;
  color: #ccc;
  font-size: 12px;
}

/* carrÃ© responsive */
.ymg-features-square {
  width: 90%;  
  background: #000;
  border: 1px solid #2d333b;
  border-radius: 6px;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.ymg-features-separator {
  height: 1px;
  width: 80%;
  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%
  );
}

/* grille des icÃ´nes (6 en ligne sur desktop) */
.icons-grid{
  margin-bottom: 20px;
  margin-top: 15px;
  width: 70%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
}

/* breakpoint mobile : 3 par ligne */
@media (max-width: 900px){
  .icons-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 92%;
  }

  .ymg-features-square {
    width: 95%;
    margin: 0 auto;
    padding: 30px;
  }

  .ymg-features {
    padding: 20px 4px 50px 4px;
  }
}

/* petits Ã©crans trÃ¨s Ã©troits (optionnel) */
@media (max-width: 420px){
  .icons-grid{
    gap: 10px;
  }
}

/* chaque icÃ´ne + titre */
.feature-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px;
}

/* cercle icÃ´ne */
.icon-circle{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #2d333b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* titre sous l'icÃ´ne */
.feature-title{
  font-size: 11px;
  font-family: Figtree;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

/* CTA */
.features-cta{
  margin-top: 14px;
  font-size: 11px;
  padding: 12px 20px;
  border-radius: 6px;
  background: #fff;
  color: #121212;
  font-family: Figtree;
  cursor: pointer;
  font-weight: 500;
}


/* ===== Overlay ===== */
#become-overlay,
#entity-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);
  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;
}

@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);
  }
}

.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: 30px;
  width: 30px;
  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;

  /* FIX SCROLL */
  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;
  /* Compensate for asymmetric margins to keep content centered */
  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: #444;
  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;
  }

  .tab-header {
    margin-left: calc(-50px - 14px);
    margin-right: -14px;
    width: calc(100% + 50px + 28px);
    /* Compensate for asymmetric margins on mobile */
    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; /* important pour flexbox */
  -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: #fff;
  transition: 0.3s;
}
#tab7 .tab7-box:hover {
  background: #f5f5f5;
  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: #fff;
  transition: 0.3s ease;
}

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

#tab7 .tab7-mini p {
  margin: 0;
  color: #444;
  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: 100%;
  margin: 0;
  padding: 16px 20px;
}

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

.faq-icon-box i {
  font-size: 14px;
  color: #000;
}

.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 40px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === UNIFIED FAQ CARD === */
.main-faq-unified-card {
  width: 90%;
  margin: 40px auto 40px auto;
  border: 1px solid #959595;
  border-radius: 15px;
  background: #f8f8f8;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 15px 20px;
}

.main-faq-unified-card .main-faq-item {
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.main-faq-unified-card .main-faq-item:last-child {
  border-bottom: none;
}

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

.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;
  transition: color 0.35s ease-in-out;
  gap: 15px;
}

.main-faq-question:hover {
  color: #222;
}

.main-faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: #222;
  display: inline-block;
  transition: transform 0.5s ease-in-out, color 0.35s ease-in-out;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.main-faq-question.active::after {
  content: '+';
  color: #222;
  transform: rotate(135deg);
}

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

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

.main-faq-answer a {
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 34, 34, 0.3);
  transition: all 0.2s ease;
  font-weight: 600;
}

.main-faq-answer a:hover {
  border-bottom-color: #000;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-main-title {
    font-size: 20px;
    letter-spacing: 0.5px;
  }

  .faq-icon-box {
    width: 26px;
    height: 26px;
  }

  .faq-icon-box i {
    font-size: 12px;
  }

  .main-faq-container {
    width: 95%;
  }

  .main-faq-unified-card {
    width: 95%;
  }

  .main-faq-question {
    padding: 14px 16px;
    font-size: 13px;
  }

  .main-faq-answer {
    padding: 0 16px;
    font-size: 12px;
  }

  .main-faq-answer.open {
    padding: 0 16px 14px 16px;
  }
}

/* === 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: #444;
  line-height: 1.6;
  text-align: left;
}

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

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

/* === BECOME ICON GUIDE === */
.become-icon-guide {
  margin-top: 0;
}

.become-icon-guide__title {
  font-family: Figtree, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 0 10px 0;
}

.become-icon-guide__subtitle {
  font-family: Figtree, sans-serif;
  font-size: 13px;
  color: #888;
  text-align: center;
  margin: 0 0 30px 0;
  font-style: italic;
}

.become-icon-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.become-icon-guide__item {
  text-align: center;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2d333b;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.become-icon-guide__item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #444a53;
  transform: translateY(-2px);
}

.become-icon-guide__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  border-radius: 50%;
}

.become-icon-guide__icon i {
  font-size: 22px;
  color: #000;
}

.become-icon-guide__item h4 {
  font-family: Figtree, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.become-icon-guide__item p {
  font-family: Figtree, sans-serif;
  font-size: 12px;
  color: #aaa;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .become-icon-guide__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .become-icon-guide__icon {
    width: 45px;
    height: 45px;
  }

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

@media (max-width: 600px) {
  .become-icon-guide__grid {
    grid-template-columns: 1fr;
  }
}

/* === IMAGE CARD === */
.become-image-card {
  width: 90%;
  margin: 30px auto;
  border: 1px solid #2d333b;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
  transition: border-color 0.3s ease;
  position: relative;
  height: 150px;
  contain: layout style paint;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.become-image-card:hover {
  border-color: #fff;
}

.become-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  pointer-events: none;
  transform: translateZ(0);
  will-change: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.become-card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  text-align: center;
  width: 80%;
  z-index: 2;
  pointer-events: none;
}

.become-card-content h3 {
  font-family: Figtree;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.become-card-content p {
  font-size: 13px;
  color: #ddd;
  margin: 0;
}

/* === SOCIAL MEDIA SLIDESHOW === */
.become-social-slideshow {
  width: 90%;
  margin: 30px auto 20px auto;
  padding: 20px;
  border: 1px solid #2d333b;
  border-radius: 15px;
  background: #000;
}

.become-social-slideshow h3 {
  font-family: Figtree;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.become-social-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #2d333b #000;
  justify-content: center;
}

.become-social-slider::-webkit-scrollbar {
  height: 6px;
}

.become-social-slider::-webkit-scrollbar-track {
  background: #000;
  border-radius: 10px;
}

.become-social-slider::-webkit-scrollbar-thumb {
  background: #2d333b;
  border-radius: 10px;
}

.become-social-slide {
  min-width: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid #2d333b;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: all 0.3s ease;
}

.become-social-slide:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.become-social-slide i {
  font-size: 24px;
  color: #fff;
}

.become-social-slide span {
  font-family: Figtree;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

@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;
  }
}



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

/* YMG PLUS DOWN */
.ymg-plus-wrap {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 0;
  gap: 10px;              
}

.ymg-plus {
  --icon-size: 18px;    
  --icon-color: #000;     
  --border-color: #959595;
  width: 20px;              
  height: 20px;
  padding: 7px;                
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  font-size: 0;
  transition: 0.3s;
  box-sizing: content-box;   
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--icon-size) var(--icon-size);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' stroke='%000' stroke-width='3' stroke-linecap='round'/></svg>");

}



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

.dimension-image-box {
  flex: 0 0 320px;
  border: 1px solid #2d333b;
  padding: 0px;
  border-radius: 15px;
  object-fit: cover;
  overflow: hidden;
}

.dimension-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.dimension-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsl(216, 20%, 5.2%);
  border: 1px solid #2d333b;
  padding: 8px 16px;
  margin-bottom: 5px;
  border-radius: 15px;
  font-size: 10px;
  color: hsl(216, 14%, 90%);
  width: fit-content;
}

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



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

.dimension-portal-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 13px 23px;
  font-size: 12px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

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

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

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


/* YMG INDEX EXPLANATION (UNDER HERO SECTION) */
.ymg-index-explanation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  margin-top: 80px;
  margin-bottom: -5px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
}

.ymg-index-explanation-box {
  width: 70%;
  border: 1px solid #2d333b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5),
            0 1px 1px rgba(255, 255, 255, 0.05) inset;
  background: hsl(0, 0%, 2.5%);
  border-radius: 15px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.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: 28%;
  background: #0a0a0a;
  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;
  font-size: 13px;
}

.header-inline-svg {
  width: 26px;
  height: 26px;
}

.inline-svg {
  width: 20px;
  height: 20px;
  margin-left: 6px;
  vertical-align: middle;
  border: 1px solid #2d333b;
  border-radius: 50%;
  padding: 2px;
}

/* ===== 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: 20px;
  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;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid #d0d0d0;
  transition: transform 0.3s ease;
  position: relative;
  height: 520px;
}

/* 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.4);
  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(216, 14%, 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--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 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 ENTITY BECOME - WHITE BACKGROUND THEME (MATCHING ACTIONS TOOLBOX) ===== */
.ymg-entity-become {
  padding: 0 10px;
  margin-top: 30px;
  margin-bottom: 80px;
  font-family: 'Figtree', sans-serif;
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

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

.ymg-entity-become__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-entity-become__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 - 6 icons displayed in 2 rows of 3 */
.ymg-entity-become__icons-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 60px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-items: center;
  padding: 60px 80px;
  margin-top: -50px;
  box-sizing: border-box;
}

.ymg-entity-become__icon {
  font-size: 50px;
  color: #000;
  opacity: 0.40;
  transition: all 0.5s ease;
}

.ymg-entity-become__item:hover .ymg-entity-become__icon {
  opacity: 0.3;
  transform: scale(1.1);
}

/* Content section overlaid on the bottom */
.ymg-entity-become__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-entity-become__title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0;
  letter-spacing: -0.5px;
}

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

.ymg-entity-become__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  font-size: 0.85rem;
  font-family: 'Figtree', sans-serif;

  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-entity-become__cta i {
  font-size: 16px;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
  .ymg-entity-become__icons-grid {
    gap: 0 30px;
    padding: 50px 40px;
  }

  .ymg-entity-become__icon {
    font-size: 45px;
  }

  .ymg-entity-become__title {
    font-size: 26px;
  }

  .ymg-entity-become__description {
    font-size: 15px;
  }
}

/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {
  .ymg-entity-become {
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .ymg-entity-become__item {
    height: 450px;
  }

  .ymg-entity-become__icons-grid {
    gap: 0 15px;
    padding: 50px 20px;
  }

  .ymg-entity-become__icon {
    font-size: 38px;
  }

  .ymg-entity-become__content {
    padding: 30px;
  }

  .ymg-entity-become__title {
    font-size: 24px;
  }

  .ymg-entity-become__description {
    font-size: 14px;
  }
}

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

  .ymg-entity-become__icons-grid {
    gap: 0 8px;
    padding: 50px 10px;
  }

  .ymg-entity-become__icon {
    font-size: 28px;
  }

  .ymg-entity-become__content {
    padding: 25px 20px;
  }

  .ymg-entity-become__title {
    font-size: 22px;
  }

  .ymg-entity-become__description {
    font-size: 13px;
  }
}


/* === SECTION : MINI JEU ICONES === */
.ymg-mini-game {
  background: #000;
  text-align: center;
  padding-top: 65px;
  padding-bottom: 85px;
  margin-bottom: 10px; 
  border-top: 1px solid #2d333b;
  border-bottom: 1px solid #2d333b;
}

@media (max-width: 900px) {
  .ymg-mini-game {
    padding-top: 65px;
    padding-bottom: 70px;
    margin-bottom: 30px; 
}
}

.mini-title {
  font-family: Figtree, sans-serif;
  color: hsl(216, 14%, 100%);
  font-size: 18px;
  margin-bottom: 12px;
}

.mini-subtext {
  color: #ccc;
  font-family: Figtree, sans-serif;
  font-size: 13px;
  margin-bottom: 32px;
}

/* Conteneur des icÃ´nes */
.mini-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: hsl(216, 20%, 3%);
  gap: 20px;
  border: 1px solid #2d333b;
  width: fit-content;
  margin-top: 6px;
  margin: 0 auto;
  padding: 3px 30px;
  border-radius: 55px;
}

/* Lien de chaque icone */
.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.icon-link:hover {
  transform: scale(1.1);
}

/* Cercle autour de l'icone */
.icon-circle {
  width: 30px;
  height: 30px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  font-size: 17px;
  color: #fff;
}

/* Texte sous lâ€™icÃ´ne */
.icon-link span {
  color: #ccc;
  font-size: 0px;
  margin-top: 0px;
  font-weight: 600;
  font-family: Figtree;
}

/* Responsive mobile : 3 icÃ´nes par ligne */
@media (max-width: 749px) {
  .mini-icons {
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    padding: 4px 40px;
  }

  .icon-link span {
    font-size: 0px;
}

  .icon-circle {
    width: 33px;
    height: 33px;
  }

  .icon-circle i {
    font-size: 14px;
  }
}


/* YMG DIMENSIONS CARD - similar to ymg-2-images-layout */
.ymg-dimensions-card {
  padding: 0 10px;
  margin-top: 40px;
  margin-bottom: 40px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.ymg-dimensions-card__container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.ymg-dimensions-card__item {
  border-radius: 15px;
  border: 1px solid #959595;
  background: #000;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
  height: 520px;
}

.ymg-dimensions-card__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 5%, 0.4);
  z-index: 1;
  pointer-events: none;
}

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

.ymg-dimensions-card__item:hover .ymg-dimensions-card__image {
  transform: scale(1.05);
}

.ymg-dimensions-card__icons {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #2d333b;
  border-radius: 16px;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.ymg-dimensions-card__icons:hover {
  border-color: #fff;
}

.ymg-dimensions-card__icons i {
  font-size: 18px;
  color: #fff;
}

.ymg-dimensions-card__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.9) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

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

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

.ymg-dimensions-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 8px;
}

.ymg-dimensions-card__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

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

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

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

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

  .ymg-dimensions-card__icons {
    padding: 12px 18px;
    gap: 16px;
  }

  .ymg-dimensions-card__icons i {
    font-size: 16px;
  }
}


/* ===== YMG DIMENSIONS LAYOUT - 2 IMAGES STYLE ===== */
.ymg-dimensions-layout {
  padding: 0 15px;
  margin-top: 80px;
  margin-bottom: 20px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

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

/* Dimension Tabs (Pills) */
.ymg-dimensions-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.ymg-dimension-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Figtree', sans-serif;
  color: #000;
  background: #fff;
  border: 1px solid #959595;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  outline: none;
}

.ymg-dimension-pill:hover {
  background: #f4f4f4;
  border-color: #000;
}

.ymg-dimension-pill.active {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ymg-dimensions-layout__container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

.ymg-dimensions-layout__item {
  width: 100%;
  border: none;
  border-radius: 0;
  background: rgba(177, 177, 177, 0.2);
  box-shadow: none;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid #959595;
  transition: transform 0.3s ease;
  position: relative;
  height: 520px;
}

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

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

/* Logo styling for Entity card */
.ymg-dimensions-layout__image--logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: invert(1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s ease;
}

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

.ymg-dimensions-layout__item:hover .ymg-dimensions-layout__image--logo {
  transform: translate(-50%, -50%) scale(1.05);
}

.ymg-dimensions-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%);
  transform: translateZ(0);
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Badge */
.ymg-dimensions-layout__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  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);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 6px 14px;
  width: fit-content;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.ymg-dimensions-layout__badge i {
  font-size: 13px;
}

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

.ymg-dimensions-layout__description {
  font-size: 16px;
  color: hsl(216, 14%, 85%);
  margin: 0;
  line-height: 1.5;
  max-width: 95%;
}

.ymg-dimensions-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: #fff;
  color: #000;
  align-self: flex-start;
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
}

.ymg-dimensions-layout__cta:hover {
  border-color: rgba(0, 0, 0, 0.6);
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
  .ymg-dimensions-layout__container {
    max-width: 100%;
  }

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

  .ymg-dimensions-tabs {
    gap: 10px;
  }

  .ymg-dimension-pill {
    padding: 9px 18px;
    font-size: 12px;
  }
}

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

  .ymg-dimensions-layout__container {
    max-width: 100%;
    padding: 0;
  }

  .ymg-dimensions-layout__item {
    height: 550px;
  }

  .ymg-dimensions-tabs {
    gap: 8px;
    margin-bottom: 25px;
  }

  .ymg-dimension-pill {
    padding: 8px 16px;
    font-size: 11px;
  }

  .ymg-dimensions-layout__item:last-child {
    grid-column: auto;
  }

  .ymg-dimensions-layout__content {
    padding: 32px 28px;
  }

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

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

  .ymg-dimensions-layout__image--logo {
    width: 100px;
    height: 100px;
  }
}

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

  .ymg-dimensions-layout__title {
    font-size: 26px;
  }

  .ymg-dimensions-layout__description {
    font-size: 14px;
  }

  .ymg-dimensions-layout__image--logo {
    width: 80px;
    height: 80px;
  }
}


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

.ymg-change-dimensions-box {
  display: inline-flex;
  text-align: center;
  align-items: center;
  gap: 10px;
  background-color: #000;
  border: 1px solid #2d333b;
  border-radius: 6px;
  padding: 5px 18px;
  width: fit-content;
  color: #ccc;
  font-family: Figtree;
  font-size: 10px;
}

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

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

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


/* ===== YMG PORTAL CARD - 2 IMAGES LAYOUT STYLE ===== */
.ymg-portal-card {
  padding: 0 10px;
  margin-top: 85px;
  margin-bottom: 30px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

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

.ymg-portal-card__item {
  border: none;
  border-radius: 15px;
  background: #000;
  box-shadow: none;
  overflow: hidden;
  border: 1px solid #2d333b;
  transition: transform 0.3s ease;
  position: relative;
  height: 520px;
}

/* Dark overlay for better readability */
.ymg-portal-card__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 5%, 0.3);
  z-index: 1;
  pointer-events: none;
}

/* Background image */
.ymg-portal-card__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.ymg-portal-card__item:hover .ymg-portal-card__bg-image {
  transform: scale(1.05);
}

/* Dimension items floating on top */
.ymg-portal-card__dimensions {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #2d333b;
  border-radius: 30px;
  padding: 10px 20px;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.ymg-portal-card__dimensions:hover {
  border-color: #fff;
}

.ymg-portal-card__dimensions i {
  font-size: 15px;
  color: #000;
}

/* Content at bottom with gradient */
.ymg-portal-card__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.9) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

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

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

.ymg-portal-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-family: 'Figtree', sans-serif;
  border: 1px solid #fff;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  color: #000;
  text-decoration: none;
  margin-top: 8px;
  width: fit-content;
}

.ymg-portal-card__cta i {
  font-size: 14px;
}

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

  .ymg-portal-card__dimensions {
    top: 20px;
    gap: 8px;
  }

  .ymg-portal-card__dimension-item {
    padding: 8px 12px;
    font-size: 10px;
    gap: 6px;
  }

  .ymg-portal-card__dimension-item i {
    font-size: 12px;
  }

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

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

  .ymg-portal-card__description {
    font-size: 14px;
  }
}


/* IMAGES CLIQUABLES - Copie exacte de l'animation du portal */
.ymg-image-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  /* Empêche le scroll via touch sur mobile */
  overscroll-behavior: contain;
  touch-action: none;
}

.ymg-image-modal-wrapper {
  position: relative;
  max-width: 92vw;
  max-height: calc(var(--app-height, 100vh) * 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.ymg-image-modal-wrapper img {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: calc(var(--app-height, 100vh) * 0.92);
  object-fit: contain;
  border-radius: 15px;
  border: 1px solid #2d333b;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  -webkit-user-drag: none;
}

/*
 * IMAGE MODAL CLOSE BUTTON
 *
 * Customization Guide:
 * --close-btn-size: Button circle diameter (default: 33px)
 * --close-btn-bg: Button background color (default: #fff)
 * --close-btn-border-color: Border color (default: #2d333b)
 * --close-btn-svg-size: SVG cross size (default: 19px)
 *
 * To change the SVG cross color, update the 'stroke' value in the background-image URL
 * in the ::before pseudo-element (look for stroke='%23000' where %23 = #)
 *
 * Example: To make the cross blue, change stroke='%23000' to stroke='%230000ff'
 */
.ymg-image-modal-close {
  /* CSS Custom Properties for easy customization */
  --close-btn-size: 33px;
  --close-btn-bg: #fff;
  --close-btn-border-color: #2d333b;
  --close-btn-svg-size: 19px;

  position: fixed;
  top: 12px;
  right: 12px;
  padding: 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--close-btn-border-color);
  background: var(--close-btn-bg);
  font-size: 0;
  cursor: pointer;
  z-index: 100001;
  transition: transform 120ms ease, background 120ms ease;
}

/* SVG Cross Icon */
.ymg-image-modal-close::before {
  content: '';
  display: block;
  width: var(--close-btn-svg-size);
  height: var(--close-btn-svg-size);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6L6 18M6 6L18 18' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 480px) {
  .ymg-image-modal-wrapper { padding: 8px; }
  .ymg-image-modal-close {
    --close-btn-size: 32px;
    --close-btn-svg-size: 17px;
    top: 10px;
    right: 10px;
  }
}

img[data-ymg-modal],
.ymg-clickable-image,
.ymg-open-portal-travel-image img {
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  border-radius: 20px;
}

.ymg-clickable-image-label {
  display: inline-flex;
  align-items: left;
  justify-content: left;
  text-align: left;
  font-family: Figtree, sans-serif;
  gap: 6px;
  line-height: 1.2;
  border: 1px solid #2d333b;
  border-radius: 15px;
  width: fit-content;
  padding: 6px 15px;
  color: hsl(216, 14%, 90%);
  margin-top: -5px;
  font-size: 10px;
}
.ymg-clickable-image-label i {
  font-size: 12px;
  line-height: 1;
  color: hsl(216, 14%, 87%);
}




/* YMG CONTACT INDEX */
.ymg-contact-index-square {
  background: hsl(0, 0%, 2.5%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5),
            0 1px 1px rgba(255, 255, 255, 0.05) inset;
  color: #fff;
  width: 95%;
  border: 1px solid #2d333b;
  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;
}

.ymg-contact-index-header i {
  font-size: 14px;
  padding: 8px;
  color: #000;
  background: #fff;
  width: 18px;
  border: 1px solid #2d333b;
  border-radius: 28%;
  text-align: center;
}

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

.ymg-contact-index-field-row {
  display: flex;
  gap: 60px; 
  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: 13px;
  color: hsl(216, 14%, 95%);
  font-weight: 400;
  margin-bottom: 3px;
}

.ymg-contact-index-field input,
.ymg-contact-index-field textarea {
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  color: #fff;
  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: hsl(216, 14%, 76%);
  font-family: Figtree;
}

.ymg-contact-index-field input:focus,
.ymg-contact-index-field textarea:focus {
  border-color: #2d333b;
  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: inline-flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.ymg-contact-index-send {
  background: white;
  color: #000;
  border-radius: 30px;
  border: 1px solid #000;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  font-family: Figtree;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ymg-contact-index-send i {
  font-size: var(--send-icon-size, 1.1em);
  line-height: 1;
  color: #000 !important;
}

/* === Contact Success Popup (mirrors language popup layout) === */
.ymg-submit-success-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.6);z-index:10060;backdrop-filter:blur(6px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,backdrop-filter .25s ease}
.ymg-submit-success-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .25s ease,backdrop-filter .25s ease,visibility 0s 0s}
.ymg-submit-success-overlay.is-closing{opacity:0;backdrop-filter:blur(0px);transition:opacity .25s ease,backdrop-filter .25s ease,visibility 0s .25s}
.ymg-submit-success-modal{position:relative;z-index:1;background:#000;border:1px solid #2d333b;border-radius:10px;padding:18px 18px 16px;width:min(92vw,420px);font-family:Figtree;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;box-sizing:border-box;transform:scale(0.95);opacity:0;transition:transform .25s ease,opacity .25s ease}
.ymg-submit-success-overlay.is-open .ymg-submit-success-modal{transform:scale(1);opacity:1}
.ymg-submit-success-overlay.is-closing .ymg-submit-success-modal{transform:scale(0.95);opacity:0}
.ymg-submit-success-logo{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #2d333b;border-radius:50%;transition:transform .3s ease}
.ymg-submit-success-logo i{color:#fff;font-size:18px;transition:transform .3s ease,opacity .3s ease}
.ymg-submit-success-title{color:#fff;font-size:14px;margin-top:6px;font-weight:700;transition:opacity .3s ease}
.ymg-submit-success-note{color:#c9d1d9;font-size:11px;transition:opacity .3s ease}
.ymg-submit-success-close{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:50%;border:1px solid #2d333b;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .08s ease;z-index:2}
.ymg-submit-success-close:hover{background:rgba(255,255,255,0.07);border-color:#fff}
.ymg-submit-success-close i{font-size:12px;line-height:1}
.ymg-submit-success-backdrop{position:fixed;inset:0;background:transparent;border:none;padding:0;margin:0;cursor:default;z-index:0}
.ymg-submit-success-logo .ymg-custom-spinner{width:20px;height:20px;border:2px solid #2d333b;border-top-color:#fff;border-radius:50%;animation:ymg-spinner-rotate 0.8s linear infinite}
.ymg-submit-success-logo i.fa-circle-notch{animation:ymg-spinner-rotate 0.8s linear infinite}
@keyframes ymg-spinner-rotate{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

@media (max-width: 749px){
  .ymg-submit-success-modal{width:calc(var(--app-width,100vw)*0.95);max-width:calc(var(--app-width,100vw)*0.95)}
}

/* Keep close inside squircle corners */
.ymg-submit-success-modal.squircle .ymg-submit-success-close{
  left: max(10px, var(--squircle-displacement, 24px));
  top: max(10px, var(--squircle-displacement, 24px));
}
.ymg-submit-success-modal.squircle::after{ z-index:0; }
.ymg-submit-success-modal.squircle > *{ position: relative; z-index:1; }


@media (max-width: 749px) {
  .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%;
  }
}

/* ENTITY HERO SECTION */
.ymg-entity-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-entity-hero-section__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ymg-entity-hero-section__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.6);
  opacity: 0.3;
}

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

/* Barre supérieure */
.ymg-entity-hero-section__bar {
  display: inline-flex;
  align-items: center;
  border: 1px solid #959595;
  gap: 8px;
  backdrop-filter: blur(6px);
  padding: 3px 20px 3px 20px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  color: #000;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.3);
}

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

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

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

/* Texte descriptif */
.ymg-entity-hero-section__text {
  font-size: 13px;
  color: hsl(0, 0%, 3%);
  opacity: 0.9;
  margin-bottom: 35px;
}

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

.ymg-entity-hero-section__button--white,
.ymg-entity-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-entity-hero-section__button--white {
  background: #000;
  color: white;
  border: 1px solid #000;
}

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

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

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

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

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

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

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

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

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


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

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


.ymg-entity-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-entity-objectives__card {
  flex: 1 1 0;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.5),
            0 1px 1px rgba(255, 255, 255, 0.05) inset;
  /* Border radius is overridden by squircle clip-path when .squircle is present */
  border-radius: 15px;
  padding: 20px 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;
}

/* SQUIRCLE */
.squircle {
  /* Corner softness controller */
  --squircle-displacement: 38px;
  --squircle-border-width: 0.04px;
  --squircle-border-color: #2d333b;

  /* Clip content to squircle */
  clip-path: shape(
    from 0 var(--squircle-displacement),
    curve to var(--squircle-displacement) 0 with 0 0 / 0 0,
    hline to calc(100% - var(--squircle-displacement)),
    curve to 100% var(--squircle-displacement) with 100% 0 / 100% 0,
    vline to calc(100% - var(--squircle-displacement)),
    curve to calc(100% - var(--squircle-displacement)) 100% with 100% 100% / 100% 100%,
    hline to var(--squircle-displacement),
    curve to 0 calc(100% - var(--squircle-displacement)) with 0 100% / 0 100%,
    close
  );

  box-shadow: 0 0 0 var(--squircle-border-width) var(--squircle-border-color) inset;
  position: relative;
  background: var(--squircle-border-color, none);
  overflow: hidden;
}



.squircle::after {
  content: "";
  position: absolute;
  inset: var(--squircle-border-width);
  background: var(--squircle-bg);
  clip-path: shape(
    from 0 var(--squircle-displacement),
    curve to var(--squircle-displacement) 0 with 0 0 / 0 0,
    hline to calc(100% - var(--squircle-displacement)),
    curve to 100% var(--squircle-displacement) with 100% 0 / 100% 0,
    vline to calc(100% - var(--squircle-displacement)),
    curve to calc(100% - var(--squircle-displacement)) 100% with 100% 100% / 100% 100%,
    hline to var(--squircle-displacement),
    curve to 0 calc(100% - var(--squircle-displacement)) with 0 100% / 0 100%,
    close
  );
  pointer-events: none;
  overflow: hidden;
}




/* Ensure content sits above the inner-fill layer */
.squircle > * { position: relative; z-index: 1; }

/* Keep the original card background using the layered background technique */
.ymg-entity-objectives__card.squircle {
  --squircle-bg: #000;
  border-color: transparent;
}

.ymg-entity-objectives__card:hover {
  transform: translateY(-3px);
}

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

.ymg-entity-objectives__image {
  filter: invert(1);
}


.ymg-entity-objectives__icon {
  font-size: 30px;
  color: #000;
}

.ymg-entity-objectives__text {
  color: hsl(0, 0%, 6%);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

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

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

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


/* ===== YMG SOCIAL LAYOUT - WHITE BACKGROUND THEME (MATCHING ACTIONS TOOLBOX) ===== */
.ymg-social-layout {
  padding: 0 10px;
  margin-top: 80px;
  margin-bottom: 20px;
  font-family: 'Figtree', sans-serif;
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

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

.ymg-social-layout__container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ymg-social-layout__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: 520px;
  text-decoration: none;
  display: block;
}

/* Light overlay for subtle depth */
.ymg-social-layout__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;
}

/* Icon Background - Large centered icon */
.ymg-social-layout__icon-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.40;
  transition: all 0.5s ease;
}

.ymg-social-layout__icon-background i {
  font-size: 280px;
  color: #000;
}

.ymg-social-layout__item:hover .ymg-social-layout__icon-background {
  opacity: 0.3;
  transform: translate(-50%, -50%) scale(1.1);
}

.ymg-social-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(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, transparent 100%);
}

/* Badge */
.ymg-social-layout__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 6px 14px;
  width: fit-content;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.ymg-social-layout__badge i {
  font-size: 13px;
}

.ymg-social-layout__title {
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  color: #000;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.ymg-social-layout__description {
  font-size: 16px;
  color: #333;
  margin: 0;
  line-height: 1.5;
  max-width: 95%;
}

.ymg-social-layout__cta {
  padding: 7px 15px;
  font-size: 0.85rem;
  font-family: 'Figtree', sans-serif;
  border: 1px solid #000;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #000;
  color: #fff;
  align-self: flex-start;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
  .ymg-social-layout__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .ymg-social-layout__item:last-child {
    grid-column: 1 / -1;
  }

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

  .ymg-social-layout__icon-background i {
    font-size: 240px;
  }
}

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

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

  .ymg-social-layout__item {
    height: 530px;
  }

  .ymg-social-layout__item:last-child {
    grid-column: auto;
  }

  .ymg-social-layout__content {
    padding: 32px 28px;
  }

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

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

  .ymg-social-layout__icon-background i {
    font-size: 200px;
  }
}

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

  .ymg-social-layout__title {
    font-size: 26px;
  }

  .ymg-social-layout__description {
    font-size: 14px;
  }

  .ymg-social-layout__icon-background i {
    font-size: 160px;
  }
}


/* ymg-community-showcase: Wide black and white social community section */
.ymg-community-showcase {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  color: #fff;
  font-family: Figtree;
  margin-top: 10px;
  margin-bottom: -25px;
}

.ymg-community-showcase__inner {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.ymg-community-showcase__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.ymg-community-showcase__icon-circle {
  width: 45px;
  height: 45px;
  border: 1px solid #2d333b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.ymg-community-showcase__icon-circle i {
  font-size: 18px;
  color: #fff;
}

.ymg-community-showcase__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
}

.ymg-community-showcase__separator {
  width: 60px;
  height: 1px;
  background: #2d333b;
  margin: 0 auto 25px;
}

.ymg-community-showcase__subtitle {
  font-size: 13px;
  color: #8b949e;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.ymg-community-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .ymg-community-showcase__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.ymg-community-showcase__card {
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}


/* White card variant */
.ymg-community-showcase__card--white {
  background: #ffffff;
  color: #000;
  border: 1px solid #e0e0e0;
}

.ymg-community-showcase__card--white .ymg-community-showcase__card-icon {
  background: #000;
  color: #fff;
}

.ymg-community-showcase__card--white .ymg-community-showcase__card-name {
  color: #000;
}

.ymg-community-showcase__card--white .ymg-community-showcase__card-desc {
  color: #555;
}

.ymg-community-showcase__card--white .ymg-community-showcase__card-action {
  background: #000;
  color: #fff;
}

.ymg-community-showcase__card--white .ymg-community-showcase__card-action:hover {
  background: #222;
}

/* Black card variant */
.ymg-community-showcase__card--black {
  background: #000;
  color: #fff;
  border: 1px solid #2d333b;
}

.ymg-community-showcase__card--black .ymg-community-showcase__card-icon {
  background: #fff;
  color: #000;
}

.ymg-community-showcase__card--black .ymg-community-showcase__card-name {
  color: #fff;
}

.ymg-community-showcase__card--black .ymg-community-showcase__card-desc {
  color: #8b949e;
}

.ymg-community-showcase__card--black .ymg-community-showcase__card-action {
  background: #fff;
  color: #000;
}

.ymg-community-showcase__card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.ymg-community-showcase__card-content {
  flex: 1;
  text-align: left;
  margin-bottom: 20px;
}

.ymg-community-showcase__card-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ymg-community-showcase__badge {
  width: 16px;
  height: 16px;
}

.ymg-community-showcase__card-desc {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.ymg-community-showcase__card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.1s ease;
  align-self: flex-start;
}

.ymg-community-showcase__card-action:active {
  transform: scale(0.98);
}

.ymg-community-showcase__card-action i {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.ymg-community-showcase__card:hover .ymg-community-showcase__card-action i {
  transform: translateX(3px);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .ymg-community-showcase {
    padding: 60px 15px;
  }

  .ymg-community-showcase__card {
    padding: 25px 20px;
  }

  .ymg-community-showcase__card-content {
    text-align: center;
  }

  .ymg-community-showcase__card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .ymg-community-showcase__card-name {
    justify-content: center;
  }

  .ymg-community-showcase__card-action {
    align-self: center;
  }
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.08); /* couche translucide */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);

}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
  mix-blend-mode: overlay;
  animation: float 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes float {
  from { transform: translate(0,0); }
  to { transform: translate(5%, -5%); }
}

/* 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}



/* 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: hsl(0, 0%, 3%);
  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: 0.68rem;
  margin-top: 0px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  background: #000;
  position: relative;
  overflow: hidden
}

/* add breathing room inside popup */
.become-popup .popup-content {
  padding:0 18px 18px;
  padding-left: calc(60px + 18px);
  background: #eee;
}

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

.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;
}

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

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


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

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

/* 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: 0;
  background: #eee;
}

/* Entity Hero Section */
.entity-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entity-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.entity-hero-background img {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  object-fit: cover;
  filter: brightness(0.7);
  border-bottom: 1px solid rgb(255, 255, 255, 0.1);
}

.entity-hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.entity-hero-logo img{
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  filter: invert(1);
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}


.entity-hero-title {
  font-family: 'Figtree', sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  margin: 0;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

.entity-hero-scroll-btn {
  width: 60px;
  height: 38px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  padding: 0;
}

.entity-hero-scroll-btn svg {
  width: 20px;
  height: 20px;
  fill: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .entity-hero-section {
    min-height: 500px;
  }

  .entity-hero-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 40px;
  }

  .entity-hero-logo i {
    font-size: 28px;
  }

  .entity-hero-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .entity-hero-scroll-btn {
    width: 55px;
    height: 35px;
  }

  .entity-hero-scroll-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Entity Quote Section */
.entity-quote-section {
  width: 90%;
  max-width: 980px;
  padding: 46px 16px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  margin-bottom: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.entity-quote-section__text {
  margin: 0;
  padding: 0 10px;
  color: hsl(0, 0%, 5%);
  font-family: Figtree;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  letter-spacing: 0.1px;
}

.entity-quote-section__author {
  margin-top: 16px;
  color: hsl(216, 14%, 50%);
  font-family: Figtree;
  font-size: 12.5px;
  opacity: 0.95;
  text-align: center;
}

@media (max-width: 768px) {
  .entity-quote-section {
    padding: 36px 16px;
    margin-top: 40px;
  }

  .entity-quote-section__text {
    font-size: 14px;
  }

  .entity-quote-section__author {
    font-size: 11.5px;
  }
}

/* End of Entity Popup Styles */


/* YMG CONTEXTUAL DIMENSION */
.ymg-contextual-dimension {
  width: 100%;
  background: hsl(0, 0%, 2%);
  border-top: 1px solid #2d333b;
  border-bottom: 1px solid #2d333b;
  padding: 60px 20px;
  margin-top: 70px;
  margin-bottom: 20px;
  box-sizing: border-box;
  font-family: Figtree;
}


/* 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__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(216, 14%, 40%);
  border-radius: 30px;
  padding: 4px 10px;
}

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

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

.ymg-sticky-dimensional-header__inner {
  display: 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: -17px;
  }
}

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

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

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

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

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

.ymg-sticky-dimensional-header__link-2 {
  color: #fff;
  background: #000;
  font-family: Figtree;
  font-size: 0.63rem;
  border-radius: 30px;
  padding: 5px 13px;
  font-weight: 500;
  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);
}

.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;
}

.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.85rem;
    padding: 12px 16px;
  }
}

/* ==========================
   YMG QUOTE EXPLICATION
   ========================== */
.ymg-quote-explication{
  width: 90%;
  height: 150px;
  padding: 46px 16px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 90px;
  margin-bottom: 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.ymg-quote-explication__container{
  position: relative;
  max-width: 980px;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ymg-quote-explication__mark{
  position: absolute;
  left: 12px;
  top: -16px;
  line-height: 1;
  color: rgba(0,0,0,0.08);
  text-shadow: 0 0 26px rgba(0,0,0,0.05);
  pointer-events: none;
  user-select: none;
}
.ymg-quote-explication__text{
  margin: 0;
  padding: 0 10px;
  color: hsl(0, 0%, 5%);
  font-family: Figtree;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  letter-spacing: 0.1px;
}

.ymg-quote-explication__author { 
  margin-top: 16px; 
  color: hsl(216, 14%, 80%); 
  font-family: Figtree; 
  font-size: 12.5px; 
  opacity: 0.95; 
  text-align: center; 
}


.ymg-quote-explication__separator{
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(45,51,59,0) 0%,
    rgba(45,51,59,1) 18%,
    rgba(45,51,59,1) 82%,
    rgba(45,51,59,0) 100%
  );
  margin-top: 24px;
}

@media (max-width: 768px){
  .ymg-quote-explication{ padding: 38px 12px; }
  .ymg-quote-explication__mark{ font-size: 90px; left: 6px; top: -10px; }
  .ymg-quote-explication__text{ font-size: 13px; }
}

/* Quote: simplified layout, no container, centered with corner quotes (override) */
.ymg-quote-explication{
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  --quote-mark-size: 70px; /* change here to scale marks */
  --quote-offset: 10px;    /* change here to adjust distance */
}
.ymg-quote-explication__text{
  margin:0; padding:24px; max-width:980px; width:min(90%, 980px); text-align:center;
  color:#000; font-family:Figtree, sans-serif; font-size:20px; line-height:1.6; font-style:normal; position:relative;
  display:inline-block;
}
.ymg-quote-explication__text::before{
  content:"\201C"; position:absolute; top:calc(-1 * var(--quote-offset)); left:calc(-1 * var(--quote-offset));
  color:#000; font-size:var(--quote-mark-size); line-height:1; pointer-events:none; user-select:none;
}
.ymg-quote-explication__text::after{
  content:"\201D"; position:absolute; bottom:calc(-1 * var(--quote-offset)); right:calc(-1 * var(--quote-offset));
  color:#000; font-size:var(--quote-mark-size); line-height:1; pointer-events:none; user-select:none;
}
.ymg-quote-explication__author{ margin-top:8px; color: hsl(0, 0%, 5%); font-family:Figtree, sans-serif; font-size:14px; text-align:center; }


/* YMG VIDEO SECTION */
.ymg-video-section {
  padding: 0 10px;
  margin-top: 60px;
  margin-bottom: 20px;
  font-family: "Figtree", sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.ymg-video-section__container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

.ymg-video-section__item {
  position: relative;
  width: 70%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #d0d0d0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ymg-video-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ymg-video-section__controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.ymg-video-section__control-btn {
  width: 50px;
  height: 50px;
  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: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ymg-video-section__control-btn:active {
  transform: scale(0.95);
}

.ymg-video-section__control-btn i {
  pointer-events: none;
}

/* Volume Control Wrapper */
.ymg-video-section__volume-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Volume Slider Container */
.ymg-video-section__volume-slider-container {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  transform: translateY(-50%);
  height: 50px;
  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-radius: 25px;
  padding: 0 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Invisible bridge to keep hover active */
.ymg-video-section__volume-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 10px;
  height: 100%;
  background: transparent;
}

.ymg-video-section__volume-control:hover .ymg-video-section__volume-slider-container,
.ymg-video-section__volume-slider-container:hover,
.ymg-video-section__volume-slider-container.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Volume Slider */
.ymg-video-section__volume-slider {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.ymg-video-section__volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ymg-video-section__volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.ymg-video-section__volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ymg-video-section__volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ymg-video-section {
    margin-top: 100px;
  }

  .ymg-video-section__item {
    border-radius: 15px;
    width: 95%;
    aspect-ratio: 4 / 4;
  }

  .ymg-video-section__controls {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .ymg-video-section__control-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .ymg-video-section__volume-slider-container {
    height: 44px;
  }

  .ymg-video-section__volume-slider {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .ymg-video-section__controls {
    bottom: 12px;
    right: 12px;
    gap: 6px;
  }

  .ymg-video-section__control-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .ymg-video-section__volume-slider-container {
    height: 40px;
    padding: 0 12px 0 15px;
  }

  .ymg-video-section__volume-slider {
    width: 70px;
  }
}


/* YMG CHRNOLOGICAL EVENTS */

/* YMG NEWS */
.ymg-news-container {
  background: #f8f8f8;
  margin-top: 90px;
  margin-bottom: 20px;
  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: hsl(0, 0%, 0%);
  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; /* centre verticalement au lieu de stretch */
  gap: 14px;
  transition: all 0.3s ease;
}

/*.ymg-news-container-bar:hover {
  background: hsl(216, 20%, 14%);
  transform: translateY(-2px);
}*/

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

.ymg-news-container-logo {
  width: 34px;
  height: 34px; /* carré fixe */
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d0d0d0;
  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 #d0d0d0;
  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-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);
}

/* --- Mobile responsive --- */
@media (max-width: 600px) {
  .ymg-news-container-bar {
    padding: 12px 14px;
    gap: 12px;
  }

  .ymg-news-container-logo {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* === TAB NOTIFICATION DOTS === */
.tab-icon {
  position: relative;
}

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

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

/* 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(0, 0, 0, 0.25);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid #5c5c5c;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
  z-index: 3;
  width: fit-content;
  transition: all 0.3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.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);
}


/* ==========================================
   INDIVIDUATION PATHS SECTION
   ========================================== */

.ymg-individuation-paths {
  padding: 0 10px;
  margin-top: 80px;
  margin-bottom: 20px;
  font-family: 'Figtree', sans-serif;
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

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

.ymg-individuation-paths__grid {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ymg-individuation-path-card {
  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;
  text-decoration: none;
  display: block;
  color: inherit;
}

.ymg-individuation-path-card::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 background */
.ymg-individuation-path-card__icon-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.40;
  transition: all 0.5s ease;
}

.ymg-individuation-path-card__icon-background i {
  font-size: 280px;
  color: #000;
}

.ymg-individuation-path-card:hover .ymg-individuation-path-card__icon-background {
  opacity: 0.3;
  transform: translate(-50%, -50%) scale(1.1);
}

.ymg-individuation-path-card__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(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, transparent 100%);
}

.ymg-individuation-path-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 6px 14px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.ymg-individuation-path-card__badge i {
  font-size: 13px;
}

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

.ymg-individuation-path-card__cta {
  padding: 7px 15px;
  font-size: 0.85rem;
  font-family: 'Figtree', sans-serif;
  border: 1px solid #000;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #000;
  color: #fff;
  align-self: flex-start;
  font-weight: 500;
  letter-spacing: 0.3px;
  display: inline-block;
}

/* ===== Responsive - Tablet ===== */
@media (max-width: 1024px) {
  .ymg-individuation-paths__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ymg-individuation-path-card__title {
    font-size: 30px;
  }

  .ymg-individuation-path-card__icon-background i {
    font-size: 240px;
  }
}

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

  .ymg-individuation-paths__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
  }

  .ymg-individuation-path-card {
    height: 350px;
  }

  .ymg-individuation-path-card__content {
    padding: 28px 20px;
  }

  .ymg-individuation-path-card__title {
    font-size: 20px;
  }

  .ymg-individuation-path-card__badge {
    font-size: 10px;
    padding: 5px 10px;
  }

  .ymg-individuation-path-card__badge i {
    font-size: 11px;
  }

  .ymg-individuation-path-card__cta {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .ymg-individuation-path-card__icon-background i {
    font-size: 180px;
  }
}

@media (max-width: 480px) {
  .ymg-individuation-path-card {
    height: 350px;
  }

  .ymg-individuation-path-card__content {
    padding: 24px 16px;
  }

  .ymg-individuation-path-card__title {
    font-size: 18px;
  }

  .ymg-individuation-path-card__badge {
    font-size: 9px;
    padding: 4px 8px;
  }

  .ymg-individuation-path-card__cta {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .ymg-individuation-path-card__icon-background i {
    font-size: 140px;
  }
}

/* ========================================
   INDIVIDUATION POPUP STYLES
   ======================================== */

/* Overlay with blur */
#individuation-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;
}

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

/* Main popup wrapper */
.individuation-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;
}

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

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

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

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

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .individuation-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;
  }

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

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

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

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

/* Popup Card Styles - Exact copy from main page path cards */
.individuation-card {
  border: none;
  border-radius: 15px;
  background: #e8e8e8;
  box-shadow: none;
  overflow: hidden;
  border: 1px solid #d4d4d4;
  transition: transform 0.3s ease;
  position: relative;
  height: 380px;
  text-decoration: none;
  display: block;
  color: inherit;
}

.individuation-card::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 background */
.individuation-card__icon-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.40;
  transition: all 0.5s ease;
}

.individuation-card__icon-background i {
  font-size: 210px;
  color: #000;
}

.individuation-card:hover .individuation-card__icon-background {
  opacity: 0.3;
  transform: translate(-50%, -50%) scale(1.1);
}

.individuation-card__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(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, transparent 100%);
}

.individuation-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 6px 14px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.individuation-card__badge i {
  font-size: 13px;
}

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

.individuation-card__cta {
  padding: 7px 15px;
  font-size: 0.85rem;
  font-family: 'Figtree', sans-serif;
  border: 1px solid #000;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #000;
  color: #fff;
  align-self: flex-start;
  font-weight: 500;
  letter-spacing: 0.3px;
  display: inline-block;
}

/* Mobile responsiveness for popup cards */
@media (max-width: 768px) {
  .individuation-popup-title {
    font-size: 18px;
  }

  .individuation-card {
    height: 300px;
  }

  .individuation-card__content {
    padding: 28px 20px;
  }

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

  .individuation-card__badge {
    font-size: 10px;
    padding: 5px 10px;
  }

  .individuation-card__badge i {
    font-size: 11px;
  }

  .individuation-card__cta {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .individuation-card__icon-background i {
    font-size: 120px;
  }
}

@media (max-width: 480px) {
  .individuation-card {
    height: 250px;
  }

  .individuation-card__content {
    padding: 24px 16px;
  }

  .individuation-card__title {
    font-size: 18px;
  }

  .individuation-card__badge {
    font-size: 9px;
    padding: 4px 8px;
  }

  .individuation-card__cta {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .individuation-card__icon-background i {
    font-size: 95px;
  }
}