/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 13 2026 | 16:21:45 */

/* ==========================================
   COSERVIO - 02 - HEADER ET MENU
   Version 1.2 - Novembre 2026
   Theme : Hello Elementor
========================================== */

/* 1. EN-TETE */

.site-header {
  background-color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 12px rgba(36, 56, 75, 0.05);
}

.site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* 2. LOGO */

.site-header .site-branding {
  flex-shrink: 0;
}

.site-header .site-logo img,
.site-header .custom-logo {
  display: block;
  width: auto;
  max-width: 175px;
  max-height: 65px;
  height: auto;
  object-fit: contain;
}

/* 3. NAVIGATION */

.site-header .site-navigation {
  margin-left: auto;
}

.site-header .site-navigation ul.menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 4. LIENS DU MENU */

.site-header .site-navigation ul.menu > li > a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  color: var(--cos-ardoise, #24384B);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: color 0.2s ease;
}

/* 5. SURVOL DU MENU */

.site-header .site-navigation ul.menu > li > a:hover {
  color: var(--cos-bleu, #135CAB);
}

/* 6. PAGE ACTIVE */

.site-header .site-navigation
.current-menu-item > a,
.site-header .site-navigation
.current_page_item > a {
  color: var(--cos-bleu, #135CAB);
  font-weight: 600;
}

/* 7. TRAIT SOUS LA PAGE ACTIVE */

.site-header .site-navigation
.current-menu-item > a::after,
.site-header .site-navigation
.current_page_item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background-color: var(--cos-bleu, #135CAB);
  border-radius: 2px;
}

/* 8. TABLETTE */

@media (max-width: 1024px) {
  .site-header .header-inner {
    padding: 14px 20px;
    gap: 20px;
  }

  .site-header .custom-logo {
    max-width: 150px;
  }
}

/* 9. MOBILE */

@media (max-width: 767px) {
  .site-header .header-inner {
    padding: 12px 16px;
  }

  .site-header .custom-logo {
    max-width: 135px;
  }

  .site-header .site-navigation
  ul.menu > li > a {
    font-size: 15px;
  }
}

/* 10. ACCESSIBILITE */

.site-header .site-navigation a:focus-visible {
  outline: 2px solid var(--cos-bleu, #135CAB);
  outline-offset: 4px;
}

/* 11. BOUTON CONNEXION */

/* Etat normal : blanc avec contour bleu */

.cos-connexion .elementor-button {
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #135CAB !important;
  border: 1px solid #135CAB !important;
  border-radius: 4px !important;
  padding: 8px 14px !important;
  transition: background-color 0.2s ease,
              color 0.2s ease !important;
}

/* Survol : fond bleu avec texte blanc */

.cos-connexion .elementor-button:hover,
.cos-connexion .elementor-button:focus-visible {
  background-color: #135CAB !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: #135CAB !important;
}

/* Texte du bouton */

.cos-connexion .elementor-button .elementor-button-text {
  color: inherit !important;
}

.cos-connexion .elementor-button:hover .elementor-button-text,
.cos-connexion .elementor-button:focus-visible .elementor-button-text {
  color: #FFFFFF !important;
}
