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

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

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

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

/* === SCROLLBAR GLOBALE YMG === */
html {
  scrollbar-width: thin; /* pour Firefox */
  scrollbar-color: #2d333b #121212;
}

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

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

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

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

a {
  all: unset;
  cursor: pointer;
}


/* fiche style css */ 

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

/* animation si n�cessaire

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

*/

/* YMG LANGUAGE SELECTION POPUPS */
.ymg-popup-language-select-overlay{
  position:fixed;inset:0;display:flex;align-items:center;justify-content:center;
  background:hsl(216, 20%, 4%, 0.75);z-index:10050;backdrop-filter:blur(6px);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease;
}
.ymg-popup-language-select-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.ymg-popup-language-select-modal{
  background:hsl(216, 20%, 7%);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: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; background:hsl(216, 20%, 6.5%);
  width:44px;height:44px;border:1px solid #2d333b;border-radius:10px;
}
.ymg-popup-language-select-logo img{width:34px;height:34px;object-fit:contain}
.ymg-popup-language-select-welcome{color:#dfe3ea;font-size:11px;margin-top:4px}
.ymg-popup-language-select-title{color:#fff;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:#fff;border:1px solid #2d333b;border-radius:30px;
  padding:8px 14px;cursor:pointer;font-family:Figtree;font-weight:600;font-size:12px;
  transition:background .2s ease,border-color .2s ease,transform .15s ease
}
.ymg-popup-language-select-btn:hover{background:rgba(255,255,255,0.08);border-color:#e6e6e6;transform:translateY(-1px)}
.ymg-popup-language-select-note{color:#8b949e;font-size:11px;margin-top:2px}


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

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

@media screen and (max-width: 749px) { 
  .language-selector select {
    padding: 6px 6px;
    margin-top: 10px;
    justify-content: left;
    font-size: 10px;
    border: 1px solid #2d333b;
    border-radius: 30px;
    background-color: #000;
    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: 30px;
    background-color: #000;
    color:#f4f6fc;
    cursor: pointer;
  }

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

header {
  padding: 10px 0;
  width: 100%;
  top: 0;
  background: hsl(216, 20%, 6%);
  border-bottom: 1px solid #2d333b;
}

body {
  font-family: Arial, sans-serif;
  background-color: hsl(216, 20%, 8%);
  margin: 0;
  padding: 0;
}

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

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

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

.arrow path {
  fill: #fff;
  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: hsl(216, 20%, 7%, 0.45);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  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 #2d333b; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -4px 0 10px rgba(0,0,0,0.1);
}

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

/* --- PC NAV MENU (hamburger-pc) --- */
.nav-menu-desktop {
  position: fixed;
  top: 0;
  font-family: Figtree;
  left: 0;
  width: 35%;
  height: calc(var(--app-height) * 0.92);
  background: hsl(216, 20%, 7%, 0.45);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  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 #444444;
}

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

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

.desktop-nav-links li a {
  text-decoration: none;
  color: #fff;
  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: white;
  transition: width 0.4s ease;
}

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

.desktop-nav-links li a:hover::after {
  width: 100%;
}
/* --- NAV LINKS MOBILE --- */
.mobile-header {
  border-bottom: 1px solid #8b949e;
  padding-bottom: 15px; 
  margin-bottom: 20px;
}

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

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

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

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

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

.social-icons {
  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: #fff;
}

.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: #fff;
    margin: 3px 0;
    transition: 0.4s;
    transform-origin: center;
  }

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

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

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

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

  .hamburger-pc .bar {
    width: 20px;
    height: 1px; /* un peu plus �pais pour bien voir la croix */
    background-color: #fff;
    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: 96%;
  height: 1px;
  margin: 20px auto 30px auto;
  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%
  );
}

/* === Menus synced with entity-base (dark theme) === */
.nav-menu-desktop {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px) saturate(160%) brightness(0.8);
  -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 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;
}

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

.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: #fff;
  border: 1px solid #444444;
}

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

footer {
  background: hsl(216, 20%, 7%);
  border-top:  1px solid #2d333b;
  color: #8b949e;
  text-align: center;
  padding: 25px 0;
  bottom: 10px;
  margin-top: 10px;
  width: 100%;
  margin-bottom: -10px;
}

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

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

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

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

  .nav-footer ul li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: white;
    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(45, 51, 59, 0) 0%,
    rgba(45, 51, 59, 1) 20%,
    rgba(45, 51, 59, 1) 80%,
    rgba(45, 51, 59, 0) 100%
  );
}

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

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

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

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

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

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

@media screen and (max-width: 749px) {
  .logo {
    height: 40px;
    margin-right: 0px;
    margin-top: 10px;
    right: 20px;
  }
}
@media screen and (min-width: 749px) {
    .logo {
      height: 42px;
      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 #444444;
}

.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 POUR LES SECTIONS BODY */
  .hero-immersive-light {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(to bottom, #121212, #121212);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    border-bottom: 1px solid #1f2937;
  }

  .hero-immersive-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(square, rgba(255, 255, 255, 0.1), transparent 40%);
    z-index: 0;
  }

  .subtle-notice {
    display: flex;
    font-family: Figtree;
    align-items: center;
  justify-content: center;
  padding: 2px 5px 2px 5px;
  border-radius: 10px;
  margin: 0 auto;
    min-width: 50%;
    max-width: 80%;
    border: 1px solid #2d333b;
    font-size: 0.7rem;
    color: white;
    opacity: 0.9;
  }

  @media screen and (min-width: 749px) {
    .subtle-notice {
      min-width: 50%;
      max-width: 60%;
    }
  }

  @media screen and (max-width: 749px) {
    .subtle-notice {
      min-width: 50%;
      max-width: 90%;
    }
  }

  .subtle-notice a {
    text-decoration: none;
    font-family: Figtree;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .subtle-notice i {
    font-size: 12px;
    text-shadow: 0 0 10px white, 0 0 20px white;
  }

  .subtle-notice img {
    width: 30px;
    animation: pulse 3s ease-in-out infinite;
  }

  .subtle-notice span {
    font-weight: bold;
    position: relative;
    font-family: Figtree;
  }

  .subtle-notice .highlight {
    text-decoration: underline;
    color: white;
    text-shadow: 0 0 10px white, 0 0 20px white;
  }

  @keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)); }
  }

  .button-container {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
  }

  .neon-button {
    padding: 15px 30px;
    font-size: 0.6rem;
    font-family: Figtree;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
  }

  .neon-button.primary {
    color: #121212;
    background: white;
    border: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }

  .neon-button.secondary {
    color: white;
    background: transparent;
    border: 1px solid white;
    box-shadow: none;
  }

  .neon-button:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
  }

  .neon-button.secondary:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  }

  .immersive-content h1 {
    margin-bottom: 25px;
    font-size: 1.9rem;
    font-weight: 450;
    font-family: Figtree;
  }

  .immersive-content p {
    margin-bottom: 20px;
    font-family: Figtree;
    font-size: 0.8rem;
  }

/* 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: 10px;
            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: 30px;
            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: 749px) {
    .faq-wrapper-custom {
      width: 85%;
      border: 1px solid #2d333b;
      margin: auto;
      padding: 20px;
      border-radius: 8px;
      margin-bottom: 50px;
      box-shadow: 2px 2px 24px rgba(0, 0, 0, 0.4);
    }

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

    .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 {
      max-width: 700px;
      border: 1px solid #2d333b;
      margin: auto;
      background: #000;
      padding: 20px;
      border-radius: 8px;
      margin-bottom: 100px;
      box-shadow: 2px 2px 24px rgba(0, 0, 0, 0.4);
    }

    .faq-wrapper-custom-info {
      font-size: 10px;
      font-family: Figtree;
      text-align: center;
      color: #ccc;
      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: 80px;
  width: 100%;           
  text-align: center;
}

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

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

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


    /* Conteneur des FAQ */
    .faq-container-custom {
      border-radius: 8px;
      background-color: #000;
    }
  
    /* 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: #f4f6fc;
      background: #000;
      cursor: pointer;
      position: relative;
      font-family: Figtree;
    }

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


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

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

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

.static {
  white-space: nowrap;
}

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

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

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

.ymg-entity-pitch {
  background-color: #060606;
  color: #fff;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 60px 20px;
  font-family: 'Figtree', sans-serif;
  text-align: center;
}

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

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

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

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

.ymg-card p {
  font-size: 0.8rem;
  color: #ccc;
}

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

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

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

@media (max-width: 768px) {
  .ymg-design-section {
    padding: 0x 30px;
}
}

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

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

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

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

.entity-inner-container-image-pc {
  width: 91%;
  height: 100px;
  margin: 10px 0px 20px 0px;
  padding: 0px;
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 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 {
  width: 89%;
  max-height: 98%;
  object-fit: contain;
  margin: 10px 0px 20px 0px;
  padding: 15px;
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 10px;
}

.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: center;
    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: center;
    color: #fff;
}
}

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


/* YMG PORTAL*/
.ymg-portal {
  font-size: 11px;
  font-family: Figtree;
  border: 1px solid #585858;
  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: var(--portal-icon-size, 13px);
  color: #fff;
  opacity: 0.9;
  transition: color 0.3s, opacity 0.3s, text-shadow 0.3s ease;
}
.ymg-portal:hover {
  color: #fff;
}

#portal-overlay {
  position: fixed;
  inset: 0;
  background: hsl(216, 20%, 6%, 0.7);
  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;
}

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

#enter-portal {
  padding: 13px 25px;
  border: none;
  font-weight: 600;
  background: #fff;
  color: hsl(216, 20%, 6%);
  text-transform: uppercase;
  font-family: Figtree;
  border-radius: 30px;
  display: none;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: 0.7rem;
}

#portal-dimensions {
  position: fixed;
  inset: 0;
  font-family: Figtree, sans-serif;
  background: hsl(216, 20%, 6%);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  color: #fff;
  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;
}

/* Chaque item */
.portal-item {
  border: 1px solid #1e2125;
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: visible;
  background: hsl(216, 20%, 6%);
  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: #fff;
  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 */
.portal-link-text {
  position: relative;
  font-size: 12.5px;
}

/* Animation de soulignement */
.portal-link-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: white;
  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;
  background: hsl(216, 20%, 7%);
  width: 70px;
  height: 70px;
  border: 1px solid #2d333b;
  border-radius: 28%;
  flex-shrink: 0;
}

.portal-link-icon-active {
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(216, 20%, 7%);
  width: 70px;
  height: 70px;
  border: 1px solid #ccc;
  border-radius: 28%;
  flex-shrink: 0;
}

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

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



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

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

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

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

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

/* Description */
.portal-item-desc {
  display: none;
  color: #ccc;
  font-size: 11px;
  line-height: 1.5;
  margin: 0 auto;
  width: 90%;
  background: hsl(216, 20%, 5%);
  text-align: center;
}

.portal-item-desc-separator {
  height: 1px;
  width: 100%;
  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%
  );
}

.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: hsl(216, 20%, 6%);
  border: 1px solid #2d333b;
  padding: 3px 7px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  background: #fff;
  position: absolute;
  top: 8px;
  right: 8px;
}

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

#portal-dimensions button:not(.toggle-desc) svg {
  width: 19px;
  height: 19px;
  color: hsl(216, 20%, 6%);
  padding: 5px 5px;
  background: #fff;
  cursor: pointer;
  border-radius: 50%;
}

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

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

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

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

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

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

.portal-item-desc {
  display: block; /* Permet l�animation sur max-height */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 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);
}


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

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

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

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

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

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

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

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

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



.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: 10px;
  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: #fff;
  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: 10px;
  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: 10px;
  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: 10px;
  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: 10px;
  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: 30px;
  background: #fff;
  color: #121212;
  font-family: Figtree;
  cursor: pointer;
  font-weight: 500;
}


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

/* ===== INTRO (avant le menu) ===== */
.popup-intro {
  position: absolute;
  inset: 0;
  background: #060606;
  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: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
}

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

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

@media (max-width: 749px) {
  .intro-content p {
    width: 80%;
  }
}
.intro-button {
  padding: 10px 22px;
  border: 1px solid #2d333b;
  border-radius: 30px;
  background: #000;
  font-family: Figtree;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 12px;
}

.intro-button:hover {
  background: #111;
}

/* ===== 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: #060606;
  border: 1px solid #2d333b;
  border-radius: 10px;
  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);
  }
}

/* ===== 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 #2d333b;
  background: #000;
}

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

.popup-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2d333b;
  border-radius: 10px;
  padding: 5px;
}

.popup-logo img {
  height: 27px;
  width: 27px;
}

.help-tab {
  cursor: pointer;
}

.help-box {
  border: 1px solid #2d333b;
  border-radius: 10px;
  background: #000;
  padding: 8px;
  font-family: Figtree;
  font-size: 10px;
  color: #ccc;
  font-weight: 600;
  transition: all 0.2s ease;
}

.help-tab.active .help-box,
.help-tab:hover .help-box {
  background-color: #2d333b;
  color: #fff;
}

.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: #fff;
  border: 1px solid #2d333b;
  border-radius: 50%;
  padding: 10px;
  background: #000;
  font-size: 14px;
  margin-bottom: 2px;
  transition: background 0.3s ease;
}

.tab-icon.active i {
  background: #222;
}

.popup-close {
  cursor: pointer;
  border: 1px solid #2d333b;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.popup-close:hover {
  background: #111;
}

.popup-close i {
  color: #fff;
  font-size: 14px;
}

/* ===== 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: 6px;
}
.popup-content::-webkit-scrollbar-track {
  background: #060606;
}
.popup-content::-webkit-scrollbar-thumb {
  background-color: #2d333b;
  border-radius: 10px;
}

.tab-header {
  display: flex;
  background: #000;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #2d333b;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0 auto;
  text-align: center;

  position: sticky; 
  top: 0;    
  z-index: 2;
}

.tab-header i {
  color: #fff;
  font-size: 12px;
  padding: 7px;
  border: 1px solid #2d333b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.popup-content p {
  margin-top: 20px;
  margin-bottom: 13px;
  font-size: 11px;
  color: #ddd;
  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;
  }
}

/* === 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 #2d333b;
  border-radius: 10px;
  background: #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

#tab7 .tab7-card:hover {
  border-color: #fff;
  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: #ddd;
  font-size: 13px;
  margin-bottom: 18px;
}

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

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

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

#tab7 .tab7-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #2d333b;
}
#tab7 .tab7-btn-outline:hover {
  border-color: #fff;
}

/* === SECTION LARGE === */
#tab7 .tab7-large {
  display: flex;
  gap: 20px;
  border: 1px solid #2d333b;
  border-radius: 10px;
  background: #000;
  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 #2d333b;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.3s;
}
#tab7 .tab7-box:hover {
  background: rgba(255, 255, 255, 0.05);
  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 #2d333b;
  border-radius: 10px;
  padding: 12px;
  background: rgba(18, 18, 18, 0.5);
  transition: 0.3s ease;
}

#tab7 .tab7-mini:hover {
  background-color: rgba(255, 255, 255, 0.04);
  transform: translateX(2px);
}

#tab7 .tab7-mini p {
  margin: 0;
  color: #b5b5b5;
  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; }
}



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

.ymg-arrow-down{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #2d333b;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.03), 0 1px 2px rgba(0, 0, 0, 0.4);
  background: hsl(216, 20%, 7%);
  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: #ffffff;
}

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


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


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

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

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

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

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

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

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

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

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

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

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


/* YMG CONTEXTUAL DIMENSION */
.ymg-contextual-dimension {
  width: 100%;
  background: #000;
  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;
}

.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: 1px;
  border-radius: 15px;
  aspect-ratio: 1 / 1;
  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: #0a0a0a;
  border: 1px solid #2d333b;
  padding: 8px 16px;
  margin-bottom: 5px;
  border-radius: 30px;
  font-size: 10px;
  color: #fff;
  width: fit-content;
}

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

.dimension-tag i {
  color: #fff;
}

.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: 30px;
  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: 40px;
  margin-bottom: -5px;
  font-family: 'Figtree', sans-serif;
  color: #fff;
}

.ymg-index-explanation-box {
  width: 70%;
  border: 1px solid #2d333b;
  background: hsl(216, 20%, 7%);
  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: 10px;
  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 NAVIGATION INSTAGRAM CARD */
.ymg-navigation-instagram {
  width: 90%;
  margin: 60px auto;
  padding: 40px 20px;
  background: hsl(216, 20%, 7%);
  box-shadow: 0 1px 4px hsl(216, 20%, 7%);
  border: 1px solid #2d333b;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.ymg-navigation-instagram-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.ymg-navigation-instagram-title {
  font-family: 'Figtree', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-align: center;
}

.ymg-navigation-instagram-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.ymg-navigation-instagram-description {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: #ccc;
  text-align: center;
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}

.ymg-navigation-instagram-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid #2d333b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ymg-navigation-instagram-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ymg-navigation-instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #fff;
  color: #000;
  border-radius: 30px;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #fff;
}

.ymg-navigation-instagram-cta:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.ymg-navigation-instagram-cta i {
  font-size: 16px;
}


/* ====== MOBILE OPTIMIZATION ====== */
@media (max-width: 768px) {
  .ymg-navigation-instagram {
    width: 95%;
    margin: 40px auto;
    padding: 30px 0;
  }

  .ymg-navigation-instagram-title {
    font-size: 20px;
  }

  .ymg-navigation-instagram-description {
    font-size: 13px;
    max-width: 90%;
  }

  .ymg-navigation-instagram-images {
    flex-direction: row;     
    flex-wrap: wrap;       
    justify-content: center; 
    gap: 10px;
  }

  .ymg-navigation-instagram-img {
    flex: 1 1 45%;             /* 2 per line roughly */
    max-width: 45%;
    height: auto;
    object-fit: cover;
  }

  .ymg-navigation-instagram-cta {
    padding: 10px 20px;
    font-size: 13px;
  }
}



/*@media (max-width: 480px) {
  .ymg-navigation-instagram-title {
    font-size: 18px;
  }

  .ymg-navigation-instagram-description {
    font-size: 12px;
    max-width: 90%;
  }

  .ymg-navigation-instagram-img {
    width: fit-content;
    height: 200px;
  }
}*/

/* YMG BEFORE FOOTER */
.ymg-before-footer {
  width: fit-content;
  max-width: 90%;
  border: 1px solid #2d333b;
  border-radius: 30px;
  padding: 6px 13px;
  margin: 50px auto 50px auto;
  display: flex;
  align-items: center;
  background: hsl(216, 20%, 7%);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.03), 0 1px 2px rgba(0, 0, 0, 0.4);
  justify-content: center;
  gap: 8px;
  color: #ccc;
  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 #2d333b;
  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: #fff;
  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;
  }
}


/* === SECTION : MINI JEU ICONES === */
.ymg-mini-game {
  background: #000;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 85px;
  margin-bottom: 30px; 
  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: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}

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

/* Conteneur des ic�nes */
.mini-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* Lien de chaque ic�ne */
.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�ic�ne */
.icon-circle {
  border: 1px solid #2d333b;
  background: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  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: 11px;
  margin-top: 4px;
  font-family: Figtree, sans-serif;
}

/* Responsive mobile : 3 ic�nes par ligne */
@media (max-width: 749px) {
  .mini-icons {
    gap: 10px;
    justify-content: center;
  }

  .icon-link {
    margin-bottom: 10px;
    flex: 0 0 calc(33.333% - 20px); /* 3 ic�nes par ligne */
    max-width: calc(33.333% - 20px);
  }

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

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


/* YMG CONTRIBUTE PROGRAM */
.ymg-contribute-program {
  background: #000;
  border: 1px solid #2d333b;
  border-radius: 10px;
  padding: 20px 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.ymg-contribute-inner {
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}

.ymg-contribute-square {
  background: #0a0a0a;
  border: 1px solid #2d333b;
  width: 140px;
  border-radius: 10px;
  margin-left: 10px;
  margin-right: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ymg-contribute-square i {
  color: #fff;
  font-size: 30px;
}

.ymg-contribute-content {
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ymg-contribute-title-bar {
  display: flex;
  align-items: center;
  background: #0a0a0a;
  border: 1px solid #2d333b;
  border-radius: 10px;
  padding: 8px 12px;
  gap: 8px;
  width: fit-content;
  font-family: Figtree;
  font-size: 10px;
  color: #fff;
  margin-bottom: 20px;
}

.ymg-contribute-title-bar i {
  font-size: 10px;
  color: #fff;
}

.ymg-contribute-title-bar span {
  font-size: 10px;
  font-family: Figtree;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.ymg-contribute-content p {
  margin: 0 0 10px;
  color: #ccc;
  line-height: 1.1;
  font-size: 12px;
  font-family: "Figtree", sans-serif;
}

.ymg-contribute-buttons {
  display: flex;
  gap: 25px;
}

.ymg-contribute-buttons .btn-light,
.ymg-contribute-buttons .btn-dark {
  border-radius: 30px;
  margin-top: 20px;
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  padding: 12px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.ymg-contribute-buttons .btn-light {
  background: #fff;
  color: #000;
  border: none;
}

.ymg-contribute-buttons .btn-dark {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

.ymg-contribute-buttons .btn-light:hover {
  background: #eaeaea;
}

.ymg-contribute-buttons .btn-dark:hover {
  background: #111;
}

/* Responsive */
@media (max-width: 768px) {
  .ymg-contribute-inner {
    flex-direction: column;
    align-items: center; /* center children horizontally */
  }

  /* Prevent overflow and center the icon box */
  .ymg-contribute-square {
    width: clamp(96px, 38vw, 140px);
    height: clamp(96px, 38vw, 140px);
    margin: 0 auto 12px; /* center and add spacing below */
  }

  /* Program container width and inner centering on mobile */
  .ymg-contribute-program { width: 90%; }
  .ymg-contribute-content { align-items: center; text-align: center; }
  .ymg-contribute-title-bar { margin-left: auto; margin-right: auto; }
  .ymg-contribute-buttons { justify-content: center; }

  .ymg-contribute-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}


/* YMG CONTEXTUAL ARTICLES */
.ymg-contextual-articles {
  width: 100%;
  background: hsl(216, 20%, 7%);
  border-top: 1px solid #2d333b;
  border-bottom: 1px solid #2d333b;
  margin-top: 70px;
  padding: 30px 40px;
  --ymg-contextual-pad: 0px;
  --ymg-contextual-gap: 4px;
  overflow: hidden;
  font-family: Figtree;
  color: #fff;
  box-sizing: border-box;
}

.ymg-contextual-articles-header-p {
  color: hsl(0, 0%, 100%);
  font-size: 13px;
  margin-bottom: 20px;
  font-family: Figtree;
}

/* ?? HEADER */
.ymg-contextual-articles-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ymg-contextual-articles-header-icon {
  width: 35px;
  height: 35px;
  border: 1px solid #2d333b;
  border-radius: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(216, 20%, 5%);
}

.ymg-contextual-articles-header-icon img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

.ymg-contextual-articles-header-icon i {
  font-size: 17px;
}

.ymg-contextual-articles-header-title {
  font-size: 14px;
  font-weight: 500;
  font-family: Figtree;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ?? S�parateur */
.ymg-contextual-articles-separator {
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(45, 51, 59, 1) 0%,
    rgba(45, 51, 59, 1) 20%,
    rgba(45, 51, 59, 1) 80%,
    rgba(45, 51, 59, 0) 100%
  );
  width: calc((45px + 12px + 180px) * 1.3); /* ic�ne + gap + titre + 10% */
  max-width: 320px;
  margin-bottom: 20px;
}

.ymg-contextual-articles-scroll-info {
  display: inline-flex;
  font-size: 10px;
  background: hsl(216, 20%, 5%);
  border-radius: 30px;
  border: 1px solid #2d333b;
  width: fit-content;
  padding: 5px 14px;
  margin-bottom: 5px;
}

.ymg-contextual-articles-scroll-arrow {
  display: inline-block;
  margin-left: 6px;
  width: 12px;
  height: 12px;
  stroke: #ccc;
  transition: transform 0.3s ease;
}

/* View All Insights Button */
.ymg-carousel-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: hsl(216, 20%, 7%);
  border: 1px solid #2d333b;
  border-radius: 30px;
  padding: 11px 20px;
  margin: 30px auto 0 auto;
  width: fit-content;
  font-family: 'Figtree', sans-serif;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ymg-carousel-view-all-btn i {
  font-size: 0.95rem;
}

.ymg-carousel-view-all-btn span {
  line-height: 1;
}

/* ============================================
   NEW 3-CARD CAROUSEL - INSIGHTS STYLE (SCROLL-BASED LIKE OLD CAROUSEL)
   ============================================ */
.ymg-new-carousel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.ymg-new-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  overscroll-behavior-x: contain;
}

/* Hide scrollbar */
.ymg-new-carousel-track::-webkit-scrollbar {
  display: none;
}

.ymg-new-carousel-track {
  scrollbar-width: none;
}

.ymg-new-carousel .ymg-insights-card {
  flex: 0 0 90%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* Navigation Dots */
.ymg-new-carousel-dots {
  display: flex;
  justify-content: center;
  border: 1px solid #2d333b;
  gap: 10px;
  width: fit-content;
  border-radius: 30px;
  margin-top: 30px;
  padding: 5px 10px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.ymg-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  /* Ensure true circle and neutralize button defaults */
  padding: 0;
  line-height: 0;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
}

.ymg-carousel-dot.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
}

.ymg-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Mobile view */
@media (max-width: 767px) {
  .ymg-new-carousel-track {
    gap: 15px;
  }

  .ymg-new-carousel .ymg-insights-card {
    flex: 0 0 85%;
  }
}

/* Tablet view */
@media (min-width: 768px) and (max-width: 1023px) {
  .ymg-new-carousel-track {
    gap: 20px;
  }

  .ymg-new-carousel .ymg-insights-card {
    flex: 0 0 88%;
  }
}

/* Desktop view */
@media (min-width: 1024px) {
  .ymg-new-carousel-track {
    gap: 25px;
  }

  .ymg-new-carousel .ymg-insights-card {
    flex: 0 0 90%;
  }
}

/* ? Add Card */
.ymg-contextual-articles-add {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ymg-contextual-articles-add-circle {
  width: 50px;
  height: 50px;
  border: 1px solid #2d333b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ymg-contextual-articles-add-circle i {
  color: #fff;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .ymg-contextual-articles {
    padding: 60px 30px;
    --ymg-contextual-pad: 0px; /* align snaps with mobile padding */
    --ymg-contextual-gap: 4px;
  }

  .ymg-contextual-articles-card {
    flex: 0 0 90%;
    contain-intrinsic-size: 200px;
  }
  .ymg-contextual-articles-image { height: 170px; }

  /* Reduce heavy blur on mobile for performance */
  .ymg-contextual-articles-title-bar,
  .ymg-contextual-articles-btn {
    background: rgba(0, 0, 0, 0.45);
  }

  .ymg-contextual-articles-description {
      backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}


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

.ymg-change-dimensions-box {
  display: inline-flex;
  text-align: center;
  align-items: center;
  gap: 10px;
  background-color: hsl(216, 20%, 6%);
  border: 1px solid #2d333b;
  border-radius: 30px;
  padding: 5px 20px;
  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;
}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* YMG CONTACT INDEX */
.ymg-contact-index-square {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  width: 95%;
  border: 1px solid #2d333b;
  padding: 40px 6%;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  margin-top: 80px;
  font-family: Figtree;
}

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

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

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

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

.ymg-contact-index-field-row {
  display: flex;
  gap: 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: 12px;
  color: #fff;
  font-weight: 400;
}

.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: #868686;
  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: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

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


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

.become-box {
  display: inline-block;
  border: 1px solid #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;
}


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




.ymg-socials-slideshow__tab {
  appearance: none;
  border: 1px solid #2d333b;
  background: #000;
  color: #c9d1d9;
  border-radius: 28%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.05s ease;
}

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


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

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

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

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

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

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

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

.ymg-sticky-dimensional-header__logo {
  width: 21px;
  height: 21px;
  display: flex;  
  border: 1px solid hsl(216, 14%, 40%);
  border-radius: 28%;
  object-fit: contain;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
}

.ymg-sticky-dimensional-header__logo i {
  font-size: 12.5px;
  color: #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: #fff;
  font-family: Figtree;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* SQUIRCLE */
.squircle {
  /* Corner softness controller */
  --squircle-displacement: 50pt;
  --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);
  overflow: hidden;
}

.squircle::after {
  content: "";
  position: absolute;
  inset: var(--squircle-border-width);
  background: var(--squircle-bg, transparent);
  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;
}


/* Squircle variant for sections: keeps background, draws curved border inside */
.squircle-inset {
  --squircle-displacement: 25pt;
  --squircle-border-width: 1px;
  --squircle-border-color: #2d333b;

  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
  );
  position: relative;
  box-shadow: inset 0 0 0 var(--squircle-border-width) var(--squircle-border-color);
}

/* YMG UNIVERSAL BECOME PROGRAM */
/* --- BASE --- */
.ymg-become-program-universal-white {
  position: relative;
  background-color: hsl(216, 20%, 6%);
  color: #fff;
  text-align: center;
  font-family: Figtree;
  padding: 100px 20px;
  margin-top: 60px;
  border-top: 1px solid #2d333b;
  border-bottom: 1px solid #2d333b;
  overflow: hidden;
}

/* --- BACKGROUND LAYERS --- */
.ymg-become-program-universal-white::before {
  /* Halo central blanc */
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  transform: translate(-50%, -50%);
 
  z-index: 0;
}

.ymg-become-program-universal-white::after {
  /* Quadrillage blueprint */
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(#111 1px, transparent 1px),
    linear-gradient(90deg, #111 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  z-index: 0;
}

/* --- INNER --- */
.ymg-become-program-universal-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* --- ICONS --- */
.ymg-become-program-universal-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  border: 1px solid #2d333b;
  margin-left: auto;
  margin-right: auto;
  border-radius: 40px;
  width: fit-content;
  padding: 6px 25px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.ymg-become-program-universal-icons i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #2d333b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.35s ease;
  position: relative;
  background: rgba(255,255,255,0.02);
}

.ymg-become-program-universal-icons i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 60%);
  opacity: 0;
  transition: 0.3s;
}

.ymg-become-program-universal-icons i:hover {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

.ymg-become-program-universal-icons i:hover::after {
  opacity: 1;
}

/* --- TITLE --- */
.ymg-become-program-universal-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 0 0 25px rgba(255,255,255,0.25);
}

/* --- SUBTEXT --- */
.ymg-become-program-universal-subtitle {
  color: #aaa;
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- BUTTONS --- */
.ymg-become-program-universal-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ymg-become-program-universal-buttons button {
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  font-family: Figtree;
  cursor: pointer;
  transition: 0.3s;
}

.ymg-become-program-universal-buttons .white {
  background: #fff;
  color: #000;
  border: none;
}

.ymg-become-program-universal-buttons .black {
  background: transparent;
  color: #fff;
  border: 1px solid #2d333b;
}

.ymg-become-program-universal-buttons .white:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.ymg-become-program-universal-buttons .black:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  .ymg-become-program-universal-title {
    font-size: 34px;
  }
  .ymg-become-program-universal-icons {
    gap: 14px;
    border-radius: 40px;
    width: fit-content;
    padding: 10px 16px;
    margin-bottom: 35px;
  }
  .ymg-become-program-universal-icons i {
    width: 33px;
    height: 33px;
    font-size: 13px;
  }
}
/* YMG NEWS */
.ymg-news-container {
  background: hsl(216, 20%, 7%);
  margin-top: 45px;
  border-top: 1px solid hsl(216, 14%, 20%);
  border-bottom: 1px solid hsl(216, 14%, 20%);
  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%, 100%);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px;
  text-align: left;
  letter-spacing: 0.3px;
}

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

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

/* --- Logo / Icon --- */
.ymg-news-container-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  background: hsl(216, 20%, 3%);
  border: 1px solid hsl(216, 14%, 14%);
  color: hsl(0, 0%, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

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

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

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

/* --- CTA Link --- */
.ymg-news-container-link {
  color: hsl(0, 0%, 95%);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
  align-self: center;
}

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

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

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

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

  .ymg-news-container-title {
    font-size: 0.95rem;
  }

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

  .ymg-news-container-link {
    font-size: 0.85rem;
  }
}

/* ========================================
   INSIGHTS PAGE - CARD & BAR LAYOUTS
   ======================================== */

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

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

.ymg-insights-page-header-icon {
  width: 40px;
  height: 40px;
  background: hsl(216, 20%, 18%);
  border: 1px solid #2d333b;
  border-radius: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

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

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

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

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

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

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

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

.ymg-insights-card.loaded::before {
  opacity: 0.15;
}

.ymg-insights-card.loaded:hover::before {
  opacity: 0.25;
}


.ymg-insights-card-title-bar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(45, 51, 59, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid #2d333b;
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  width: fit-content;
}

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

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

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

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

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

.ymg-insights-card-category {
  padding: 3px 10px;
  background: rgba(45, 51, 59, 0.5);
  border: 1px solid #2d333b;
  border-radius: 50px;
}

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

.ymg-insights-card-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #6e7681;
  transform: translateX(5px);
}

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

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

/* ========================================
   BAR LAYOUT
   ======================================== */

.ymg-insights-bars-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 80px;
}

.ymg-insights-bar {
  position: relative;
  background: #0d1117;
  border: 1px solid #2d333b;
  border-radius: 15px;
  padding: 22px 24px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 140px;
}

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

.ymg-insights-bar:hover::before {
  opacity: 0.2;
}

.ymg-insights-bar:hover {
  transform: translateX(5px);
  border-color: #484f58;
}

.ymg-insights-bar-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.ymg-insights-bar-title-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(45, 51, 59, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid #2d333b;
  border-radius: 50px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}

.ymg-insights-bar-title-bar i {
  font-size: 0.8rem;
}

.ymg-insights-bar-heading {
  font-family: 'Figtree', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.ymg-insights-bar-description {
  font-family: 'Figtree', sans-serif;
  font-size: 0.88rem;
  color: #8b949e;
  line-height: 1.5;
  margin-bottom: 10px;
}

.ymg-insights-bar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #2d333b;
}

.ymg-insights-bar-date,
.ymg-insights-bar-category {
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  color: #6e7681;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ymg-insights-bar-category {
  padding: 3px 10px;
  background: rgba(45, 51, 59, 0.5);
  border: 1px solid #2d333b;
  border-radius: 50px;
}

.ymg-insights-bar-btn {
  position: relative;
  z-index: 1;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid #484f58;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ymg-insights-bar-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #6e7681;
  transform: translateX(5px);
}

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

.ymg-insights-bar-btn:hover .ymg-btn-arrow {
  transform: translateX(3px);
}

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

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

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

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

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

.ymg-insights-news-bar {
  background: hsl(216, 20%, 4.8%);
  border: 1px solid hsl(216, 14%, 14%, 0.9);
  border-radius: 15px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.ymg-insights-news-bar:hover {
  background: hsl(216, 20%, 14%);
  transform: translateY(-2px);
  border-color: #2d333b;
}

.ymg-insights-news-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: hsl(216, 20%, 3%);
  border: 1px solid hsl(216, 14%, 14%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

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

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

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

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

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

.ymg-insights-news-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #484f58;
}

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

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

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

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

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

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

  .ymg-insights-bar {
    padding: 25px;
    min-height: 160px;
  }

  .ymg-insights-bar-heading {
    font-size: 1.2rem;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

  /* BAR LAYOUT - Mobile: Stack vertically */
  .ymg-insights-bars-container {
    gap: 20px;
    margin-bottom: 60px;
  }

  .ymg-insights-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    min-height: auto;
    gap: 20px;
  }

  .ymg-insights-bar-heading {
    font-size: 1.1rem;
  }

  .ymg-insights-bar-description {
    font-size: 0.9rem;
  }

  .ymg-insights-bar-meta {
    flex-wrap: wrap;
  }

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

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

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

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

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

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

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

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

  .ymg-insights-bar-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}
