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

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

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

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

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

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

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

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

a {
  all: unset;
  cursor: pointer;
}

/* fiche style css */ 

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


/* animation si nécessaire

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

*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.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: center;
  align-items: center;
  gap: 25px;
  /* gap: 20px ou moins dès que le menu pc deviens encombré */  
}

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

/* Footer */
.separator-footer {
  width : 94%;
  height: 1px;
  background-color: #959595;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 30px;
}

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

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

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

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

.nav-menu li {
  display: inline;
}

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

hr {
    margin-top: -8px;
}

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

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

/* Avoid global anchor reset that broke header/portal/link styling */
/* a { all: unset; cursor: pointer; } */
/* If needed, scope resets to a specific class instead of all links. */

/* Ensure portal and navigation links keep intended styles from style.css */
#portal-dimensions a,
.desktop-nav-links a,
.mobile-nav-links a,
.nav-footer a,
.ymg-languages a {
  all: revert;
}

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

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

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

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

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

.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-size: 13px;
    font-weight: lighter;
}


.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 */
.ymg-languages {
  position: relative;
  margin: 0 auto;
  margin-top: -10px;
  margin-bottom: 22px;
  justify-content: center;
  align-items: center; 
  font-family: Figtree;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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

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


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

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

/* YMG PORTAL*/
.ymg-portal {
  font-size: 11px;
  font-family: Figtree;
  color: #000;
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.3s;
}
.ymg-portal:hover {
  color: #000;
}

#portal-overlay {
  position: fixed;
  inset: 0;
  background: #f4f4f4;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

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

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

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

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

/* Liste principale */
#portal-dimensions ul {
  list-style: none;
  text-align: center;
  border: 1px solid #959595;
  border-radius: 8px;
  padding: 25px 40px;
  backdrop-filter: blur(6px);
  margin: 0 auto;
}


/* Chaque item */
.portal-item {
  margin: 10px 0;
  border: 1px solid #959595;
  border-radius: 6px;
  transition: background 0.3s ease;
  overflow: hidden;
  width: 230px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}

/* En-tête cliquable */
.portal-item-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 20px;
  position: relative;
}

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

/* Texte du lien + soulignement animé */
.portal-link-text {
  position: relative;
}

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

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

/* Carré icône */
.portal-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid #959595;
  border-radius: 5px;
  flex-shrink: 0;
}

.portal-link-icon img {
  width: 19px;
  height: 19px;
  border: 1px solid #959595;
  border-radius: 5px;
  object-fit: contain;
}

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

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

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

/* Description */
.portal-item-desc {
  display: none;
  color: #333;
  font-size: 11px;
  line-height: 1.5;
  margin: 0 auto;
  padding: 0 10px;
  background: #fff;
  text-align: center;
}

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

.portal-item-desc p {
  margin: 12px 0;
  white-space: normal;
}

/* Label NEW / DEFAULT */
.new-label {
  font-size: 9px;
  color: #000;
  border: 1px solid #959595;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  background: #fff;
}

/* Bouton principal */
#portal-dimensions button:not(.toggle-desc) {
  margin-top: 30px;
  font-family: Figtree, sans-serif;
  font-weight: 600;
  padding: 8px 18px;
  font-size: 0.7rem;
  background: #000;
  text-transform: uppercase;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.inner-portal-logo {
  margin-top: -10px;
  bottom: 15px;
  height: 39px;
  filter: invert(1);
}

#portal-dimensions p {
  font-size: 11px;
  white-space: pre-line;
  margin-bottom: 20px;
  font-family: Figtree;
  color: #090909;
}

@media (max-width: 749px) {
  #portal-dimensions p { width: 85%; }
  #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: 300px;
  opacity: 1;
  padding-top: 10px;
  padding-bottom: 12px;
}

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

/* --------------------------------------------- */
/* ðŸ”¥ AJOUT : Animation fluide pour les descriptions */
.portal-item-desc {
  display: block; /* Permet lâ€™animation sur max-height */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
 
  transition:
    max-height 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease,
    padding-top 0.35s ease,
    padding-bottom 0.35s ease;
}

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

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

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

@media (max-width: 749px) {
  .portal-item-desc {
    width: 90%; /* rÃ©duit lÃ©gÃ¨rement la largeur sur mobile */
    text-align: center; /* recentre le texte */
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

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


.new-label {
  font-size: 9px;
  color: #000;
  border: 1px solid #959595;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  background: #fff;
}

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

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


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

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

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

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

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

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

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

/* YMG CONTACT INDEX*/
.ymg-contact-index-square {
  background: #000;
  color: #fff;
  width: 95%;
  border: 1px solid #2d333b;
  padding: 40px 6%;
  border-radius: 6px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 90px;
  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: 6px;
  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: 6px;
  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: 6px;
  padding: 12px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  font-family: Figtree;
 
}


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


/* === Association (light theme) overrides for contact page === */
/* These overrides adapt the dark contact styles to Association's white theme. */


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

.ymg-contact-index-square {
  background: #fff;
  border: 1px solid #959595;
}

.ymg-contact-index-square-separator {
  background: linear-gradient(
    to right,
    rgba(149, 149, 149, 0) 0%,
    rgba(149, 149, 149, 1) 20%,
    rgba(149, 149, 149, 1) 80%,
    rgba(149, 149, 149, 0) 100%
  );
}

.ymg-contact-index-header {
  color: #000;
}

.ymg-contact-index-header i {
  border: 1px solid #959595;
}

.ymg-contact-index-field label {
  color: #000;
}

.ymg-contact-index-field input,
.ymg-contact-index-field textarea {
  background: #fff;
  border: 1px solid #959595;
  color: #000;
}

.ymg-contact-index-field input::placeholder,
.ymg-contact-index-field textarea::placeholder {
  color: #6b6b6b;
}

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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