/* Header */
.site-header {
  padding: 20px;
  background: #f0f4f9;
  border-bottom: 1px solid #ddd;
}

.site-header .container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo a {
  font-size: 24px;
  font-weight: bold;
  color: #142c54;
  text-decoration: none;
}

/* Burger Button */
.burger {
  display: none;
  width: 32px;
  height: 28px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: #142c54;
  border-radius: 4px;
  transition: 0.3s;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 12px; }
.burger span:nth-child(3) { top: 24px; }

/* Animation ouverture */
.menu-open .burger span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

/* Menu mobile */
@media(max-width:900px) {
  .burger { display: block; }

  .menu-principal {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding-top: 80px;
    transition: 0.3s ease;
    z-index: 9999;
  }

  .menu-principal.open { right: 0; }

  .menu-principal .menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
  }

  .menu-principal .menu li a {
    font-size: 18px;
    color: #142c54;
    text-decoration: none;
  }
}

/* Menu desktop */
.menu-principal .menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.menu-principal .menu li a {
  text-decoration: none;
  color: #142c54;
  font-weight: 600;
}
