.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* ===============================
            Bannière PC
=============================== */
.top-banner {
  background: #005586;
  color: white;
  font-size: 0.9rem;
}

.banner-container {
  font-family: Inter, sans-serif;
	font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}
.banner-contact-item {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.banner-adresse {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.banner-adresse a,
.banner-adresse span {
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.banner-contact-item,
.banner-adresse-link,
.banner-visio {
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

.banner-contact-item:hover,
.banner-adresse-link:hover,
.banner-visio:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* ======================*/
.header-main {
  background: transparent;
  transition: background 0.3s ease; 
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
/* ===============================
          Logo + titre
=============================== */
.logo {
    display: flex;
    justify-content: flex-start;
}
.logo :hover {
transform: scale(1.01);    
}
.logo a {
  text-decoration: none; 
}

.logo img {
  position: relative;
  width: 50px;
  height: 50px; /* ou la hauteur réelle de ton logo */
  flex-shrink: 0;
}
.logo-img img {
  position: absolute;
}
.logo-white {
    opacity: 1;
}

.logo-color {
    opacity: 0;
}

.site-header.scrolled .logo-white {
    opacity: 0;
}

.site-header.scrolled .logo-color {
    opacity: 1;
}

.logo-text  {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
  margin-left:3.5rem;
}

.logo-text a {
    color: #F9F7F1;
    font-weight: bold;
}

.logo-title {
 font-family: "Plus Jakarta Sans", sans-serif;
font-size: 1.2rem;
  font-weight: 800;
  display: block;
}

.logo-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.site-header.scrolled .logo-text a{
    color: #2F4A8A;
}  
/* ===============================
                Menus PC
=============================== */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  text-decoration: none;
  color: #F9F7F1;
  transition: color 0.3s ease;
  font-family: manrope, sans-serif;
  font-weight: 500; 
  font-size:1rem;
}
.nav-desktop a.link-pros {
  font-weight: 300; 
  font-size:1rem;
  text-decoration: underline;
}
.nav-desktop a:hover{
transform: scale(1.05);
}

.dropdown {
  position: relative;
}
.dropdown a {
  display: inline-flex;
  align-items: center;
}
.dropdown .chevron {
  margin-left: 0.2rem;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: -1rem;
  background: #F8FAFCCC;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  border-radius: 12px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: manrope, sans-serif;
  font-weight: 400; 
  color: #0F172A;
  font-size: 1rem;
}
.dropdown-menu a:hover {
  color: #0F172A;
  border-radius: 12px;
  transform: scale(1.05);
}

.nav-desktop .btn-primary {
  background: #00B86B;
  color: white;
  font-family: manrope, sans-serif;
  font-weight: 800; 
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
  0 10px 25px rgba(0, 184, 107, 0.18),
  0 4px 10px rgba(0, 0, 0, 0.08),
  inset 0 1px 0 rgba(255,255,255,0.15);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.site-header.scrolled .dropdown-menu {
  background: #F8FAFCFF;
 
}
/* ===============================
            Menus Mobile
=============================== */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
}

.burger-menu span {
  width: 2rem;
  height: 0.2rem;
  background: #F9F7F1;
}
.burger-menu.active .burger-line:nth-child(1) {
transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
opacity: 0;
}

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

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: #F8FAFCFF;
  overflow-y: auto;
  top:85px;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-mobile a,
.mobile-dropdown > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.9rem 2rem;
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0F172A;
  text-decoration: none;
  border-bottom: 1px solid #F9F7F1;
  box-sizing: border-box;
}
.mobile-submenu {
  display: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}
.mobile-dropdown.active .mobile-submenu {
  display: block;
}
.mobile-dropdown > span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.9rem 2rem;
  color: #0F172A;
  font-family: manrope, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #F9F7F1;
}
 
.mobile-dropdown .chevron {
  margin-left: 0.5rem;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}

.mobile-dropdown.active .chevron {
  transform: rotate(180deg);
}

.mobile-submenu a {
  background:#F9F7F1;
  border-radius:12px;
  display: block;
   padding: 0.9rem 2rem;
  margin-left: 0.5rem;
  font-size: 0.95rem;
  color: #0F172A;
  font-family : manrope, sans-serif;
   font-weight: 300;
  text-decoration: none;
  border-bottom: 0.5px solid white;
}
.btn-rdv-mobile {
display: block;
  background: #10B981;
  color: #F8FAFC !important;
  text-decoration: none;
  font-family: Manrope, sans-serif;
  font-weight: 800 !important;
}
.mobile-contact {
  padding: 1.5rem 2rem;
  background: #F1F5F9; 
  font-family: Manrope, sans-serif;
}
.mobile-contact > a {
  display: block;
  color: #0F172A;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: none;
}

.mobile-contact-title {
  margin-top:1rem;
  margin-left:1rem;
  font-weight: 800;
}

.mobile-contact-title > a{
  display: block;
  width: auto;
  font-size: 1rem;
  color: #0F172A;
  margin-left:-2rem;
  font-weight: 800;
}
.mobile-adresses {
  display: flex;
  flex-direction :row;
  flex-wrap: wrap;
}
.mobile-adresses a {
  display: inline-flex;
  width: auto;
  font-size: 0.85rem;
  color: #0F172A;
  text-decoration: none;
  border-bottom : none;
  margin-right:-2rem;
  
  
}
.mobile-adresses a::after {
  content: "•";
  margin-left: 2rem;
  
  color: #94A3B8;
}

.mobile-adresses a:last-child::after {
  content: "";
  margin: 0;
}

/* ===============================
           header scrolled
=============================== */

.site-header.scrolled .header-main {
  background: #F8FAFCF2;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.site-header.scrolled .nav-desktop a {
  color: #2F4A8A;
}

.site-header.scrolled .burger-menu span {
  background: #2F4A8A;
}

/* ===============================
            Media queries
=============================== */
@media (max-width: 998px) {

  .nav-desktop {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .top-banner {
    display: none;
  }

  .header-inner {
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}
 .site-header.scrolled .header-main {
  background: #F8FAFC;
  backdrop-filter: none;
  box-shadow: none;
}
}
