/* ===================================
   HEADER MOBILE STYLES (Tablet & Mobile)
   Breakpoint: max-width: 1024px
   =================================== */

@media (max-width: 1024px) {
  /* Mobile Menu Toggle - Visible */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
  }

  .menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--gris-fonce);
    transition: all 0.3s ease;
    border-radius: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Main Navigation - Mobile Slide-in Menu */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 0;
    transition: left 0.3s ease;
    z-index: 1050;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav a {
    transform: none;
    text-align: left;
    max-width: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--gris-clair);
    width: 100%;
    font-size: 14px;
  }

  .main-nav a:last-of-type {
    border-bottom: none;
  }

  /* Header Inner Layout */
  .header-inner {
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
  }

  /* Logo on Mobile */
  .logo {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .logo img {
    height: 60px !important;
  }

  /* Contact Link in Mobile Menu */
  .main-nav .contact-link {
    display: inline-block;
    background: var(--vert-ddi);
    color: var(--blanc) !important;
    border: 2px solid var(--vert-ddi);
    padding: 12px 20px;
    margin: 15px auto;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transform: none;
    max-width: none;
    width: auto;
    border-radius: 0;
  }

  .main-nav .contact-link:hover {
    background: var(--blanc);
    color: var(--vert-ddi) !important;
  }

  /* Login Link in Mobile Menu - Centered */
  .main-nav .login-link {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0 10px;
    margin-top: 10px;
    border-top: 1px solid var(--gris-clair);
  }

  /* Language Switcher in Mobile Menu - Centered */
  .main-nav .lang-switcher {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0 20px;
    font-size: 14px;
  }

  /* Hide Astra mobile menu elements */
  .ast-open-menu-overlay {
    display: none !important;
  }
}
@media (max-width: 1024px) {
.stats-grid{
	    grid-template-columns: repeat(2, 1fr);
	}

}