/* Header */
.stickhead {
  background-color: transparent !important;
  transition: background-color 0.3s ease !important;
}
.stickhead.scrolled {
  padding-top: 0;
  background-color: #00000000 !important;
  z-index: 9999;
  border-radius: 0px 0px 20px 20px;
}

/* Header noir par défaut sur mobile et tablette */
@media (max-width: 1830px) {
  .navbar-menu {
    font-size: 12px !important;
  }
}

/* Header noir par défaut sur mobile et tablette */
@media (max-width: 1530px) {
  .navbar-menu {
    font-size: 10px !important;
  }
}

@media (max-width: 1415px) {  
    .main-navbar {
        display: none !important;
    }

    .stickhead .elementor-hidden-mobile{
        display: none !important;
    }

    .stickhead .elementor-hidden-desktop {
        display: flex !important;
    }
}



/* Header noir par défaut sur mobile et tablette */
@media (max-width: 1275px) {
  .stickhead {
    background-color: #00000000 !important;
  }

  /* Centrage horizontal du menu vertical (Footer) */
  .nav-bar-footer .elementor-nav-menu--layout-vertical ul {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important; /* Centre les <li> horizontalement */
      text-align: center !important;  /* Centre le texte à l'intérieur */
      width: 100%;
  }

  .nav-bar-footer .elementor-nav-menu--layout-vertical li {
      width: 100%;
      display: flex;
      justify-content: center; /* Centre le lien <a> si sa largeur est auto */
  }

  .nav-bar-footer .elementor-nav-menu--layout-vertical .elementor-item {
      text-align: center;
      width: auto;
  }
}

.navbar-menu .elementor-item:hover{
    transform: translateY(-8px) !important;
    color:#F1683A !important;
}

.cover-img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover; 
}

.card-expertises:hover {
    box-shadow: 0 4px 8px #F1683A;
    transform: translateY(-5px);
}

/* 1. On définit le conteneur en Flexbox */
.e-n-accordion-item-title {
    display: flex !important;
    flex-wrap: nowrap !important; /* On force le tout sur une seule ligne */
    align-items: center !important;
    width: 100% !important;
    padding-right: 0 !important; /* On colle bien au bord droit */
}

/* 2. Le titre prend 80% de la largeur */
.e-n-accordion-item-title-header {
    flex-basis: 80% !important;
    max-width: 80% !important;
    flex-grow: 0 !important; /* On l'empêche de dépasser */
}

/* 3. L'icône prend 20% de la largeur */
.e-n-accordion-item-title-icon {
    flex-basis: 20% !important;
    max-width: 20% !important;
    display: flex !important;
    justify-content: flex-end !important; /* Aligne l'icône tout à droite des 20% */
    flex-grow: 0 !important;
}

/* Optionnel : Ajuste la taille de l'icône SVG pour qu'elle ne soit pas trop énorme dans ses 20% */
.e-n-accordion-item-title-icon svg {
    width: 35px; /* Ajuste cette valeur selon ton besoin */
    height: auto;
}

/* Container principal */
.mentions-legales-cmetal {
    padding: 60px 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #e0e0e0; /* Texte gris clair pour le confort visuel */
}

/* Bloc de contenu avec arrondi comme votre section "Qui sommes nous" */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #242424; /* Légèrement plus clair que le fond */
    padding: 40px;
    border-radius: 20px; /* Arrondi prononcé */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mentions-legales-cmetal h1 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 40px;
    border-bottom: 2px solid #e67e22; /* Ligne orange cuivrée */
    padding-bottom: 10px;
}

.mentions-legales-cmetal section {
    margin-bottom: 30px;
}

/* Titres de sections en Orange/Cuivré */
.mentions-legales-cmetal h2 {
    color: #e67e22; 
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* Petit indicateur avant le titre (rappel de l'étoile orange sur votre image) */
.mentions-legales-cmetal h2::before {
    content: "✶";
    margin-right: 10px;
    font-size: 1rem;
}

.mentions-legales-cmetal p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Liens stylisés en blanc/souligné orange */
.mentions-legales-cmetal a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #e67e22;
    transition: all 0.3s ease;
}

.mentions-legales-cmetal a:hover {
    color: #e67e22;
    background-color: rgba(230, 126, 34, 0.1);
}

.accent-text {
    color: #e67e22;
}

/* Responsive */
@media (max-width: 600px) {
    .legal-container {
        padding: 20px;
        border-radius: 10px;
    }
    .mentions-legales-cmetal h1 {
        font-size: 1.5rem;
    }
}