/* ===== NAVIGATION MODERNE - VERSION OPTIMISÉE ===== */

/* Reset spécifique pour la navigation */
.site-header * {
  box-sizing: border-box;
}

/* Header principal */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237, 133, 176, 0.1);
  transition: all 0.3s ease;
  display: block;
  height: 80px;
}

.site-header .header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

/* Brand/Logo */
.site-header .header-brand {
  flex-shrink: 0;
  display: flex;
}

.site-header .brand-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.site-header .brand-link:hover {
  transform: scale(1.02);
}

.site-header .brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(237, 133, 176, 0.2);
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
}

.site-header .brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #ed85b0;
  margin: 0;
  line-height: 1.2;
}

.site-header .brand-title {
  font-size: 14px;
  color: #64b5d5;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation principale */
.site-header .main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.site-header .nav-list {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.site-header .nav-item {
  position: relative;
  display: block;
  flex-shrink: 0;
}

.site-header .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  color: #393b3f;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 25px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  position: relative;
  background: transparent;
  white-space: nowrap;
  min-width: fit-content;
  cursor: pointer;
}

.site-header .nav-link:hover,
.site-header .nav-link--active {
  background: linear-gradient(135deg, #ed85b0, #eaae90) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(237, 133, 176, 0.3);
}

.site-header .nav-link i {
  font-size: 16px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.site-header .nav-link:hover i {
  transform: scale(1.05);
}

.site-header .nav-link span {
  display: inline-block;
}

/* Règles spécifiques pour l'état actif - plus spécifiques pour Vercel */
.site-header .nav-list .nav-item .nav-link.nav-link--active {
  background: linear-gradient(135deg, #ed85b0, #eaae90) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(237, 133, 176, 0.3);
}

.mobile-nav-list .mobile-nav-item .mobile-nav-link.mobile-nav-link--active {
  background: linear-gradient(135deg, #ed85b0, #eaae90) !important;
  color: white !important;
  transform: translateX(10px);
}

/* Bouton CTA */
.site-header .header-cta {
  flex-shrink: 0;
  display: flex;
}

.site-header .cta-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ed85b0, #eaae90);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(237, 133, 176, 0.3);
  cursor: pointer;
}

.site-header .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 133, 176, 0.4);
}

.site-header .cta-button i {
  font-size: 16px;
  display: inline-block;
}

.site-header .cta-button span {
  display: inline-block;
}

/* Menu mobile toggle */
.site-header .mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 401;
  position: relative;
}

.site-header .mobile-menu-toggle:hover {
  background: rgba(237, 133, 176, 0.1);
}

.site-header .hamburger-line {
  width: 24px;
  height: 3px;
  background: #ed85b0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menu mobile overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 400;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Suppression des effets de flou qui masquent les boutons */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Masquer le bouton flottant quand le menu mobile est ouvert */
body.mobile-menu-open .floating-cta {
  display: none;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 40px 20px 30px;
  border-bottom: 1px solid rgba(237, 133, 176, 0.1);
}

.mobile-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mobile-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-brand h3 {
  font-size: 32px;
  color: #ed85b0;
  margin: 0 0 5px 0;
  line-height: 1.2;
  display: block;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mobile-brand p {
  font-size: 16px;
  color: #64b5d5;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  display: block;
  font-weight: 500;
}

.mobile-nav {
  flex: 1;
  padding: 30px 20px;
  min-height: 0;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  color: #393b3f;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 15px;
  transition: all 0.3s ease;
  background: #F0F8FF;
  border: 1px solid rgba(237, 133, 176, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  margin-bottom: 10px;
}

.mobile-nav-link:hover,
.mobile-nav-link--active {
  background: linear-gradient(135deg, #ed85b0, #eaae90) !important;
  color: white !important;
  transform: translateX(10px);
}

.mobile-nav-link i {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.mobile-nav-item--cta {
  margin-top: 20px;
}

.mobile-cta-button {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #ed85b0, #eaae90);
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(237, 133, 176, 0.3);
  cursor: pointer;
}

.mobile-cta-button:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(237, 133, 176, 0.4);
}

.mobile-cta-button i {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

/* Bouton RDV flottant */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 350;
  display: none;
}

.floating-cta-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #ed85b0, #eaae90);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(237, 133, 176, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
}

.floating-cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(237, 133, 176, 0.5);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Ajustements des marges pour le contenu */
.page__home {
  margin-top: 50px;

}

.page__sophrology,
.page__kinesiology {
  margin-top: 120px;
}

.page__contact {
  margin-top: 100px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .site-header .header-container {
    padding: 0 15px;
  }
  
  .site-header .brand-name {
    font-size: 20px;
  }
  
  .site-header .brand-title {
    font-size: 12px;
  }
  
  .site-header .nav-link {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .site-header .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Media query spécifique pour les tablettes (iPad Air, etc.) */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-header .header-container {
    padding: 0 10px;
    gap: 15px;
  }
  
  .site-header .brand-name {
    font-size: 18px;
  }
  
  .site-header .brand-title {
    font-size: 11px;
  }
  
  .site-header .brand-logo {
    width: 50px;
    height: 50px;
  }
  
  .site-header .nav-link {
    padding: 8px 12px;
    font-size: 13px;
    gap: 6px;
  }
  
  .site-header .nav-link i {
    font-size: 14px;
  }
  
  .site-header .cta-button {
    padding: 8px 16px;
    font-size: 13px;
    gap: 6px;
  }
  
  .site-header .cta-button i {
    font-size: 14px;
  }
  
  .site-header .nav-list {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .site-header .main-nav,
  .site-header .header-cta {
    display: none;
  }
  
  .site-header .mobile-menu-toggle {
    display: flex;
    visibility: visible;
    opacity: 1;
  }
  
  .site-header .brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .site-header .brand-logo {
    width: 50px;
    height: 50px;
  }
  
  /* Titre optimisé pour mobile */
  .site-header .brand-name {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 2px;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .site-header .brand-title {
    font-size: 15px;
    line-height: 1.2;
  }
  
  .page__home,
  .page__sophrology,
  .page__kinesiology,
  .page__contact {
    margin-top: 70px;
  }
  
  /* Afficher le bouton flottant en mobile */
  .floating-cta {
    display: block;
    bottom: 20px;
    right: 20px;
  }
  
  .floating-cta-button {
    padding: 14px 20px;
    font-size: 14px;
  }
}

@media (min-width: 769px) {
  .site-header .main-nav,
  .site-header .header-cta {
    display: flex;
    visibility: visible;
    opacity: 1;
  }
  
  .site-header .mobile-menu-toggle {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
  
  .site-header .brand-text {
    display: flex;
    visibility: visible;
    opacity: 1;
  }
  
  /* Titre plus grand en mode desktop */
  .site-header .brand-name {
    font-size: 28px;
    font-weight: 700;
  }
  
  .site-header .brand-title {
    font-size: 16px;
  }
}

/* Très grands écrans - titre encore plus grand */
@media (min-width: 1200px) {
  .site-header .brand-name {
    font-size: 32px;
    font-weight: 700;
  }
  
  .site-header .brand-title {
    font-size: 18px;
  }
}



@media (max-width: 480px) {
  .site-header .header-container {
    padding: 0 10px;
  }
  
  .site-header .brand-logo {
    width: 45px;
    height: 45px;
  }
  
  /* Titre encore plus compact sur très petits écrans */
  .site-header .brand-name {
    font-size: 28px;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .site-header .brand-title {
    font-size: 14px;
  }
  
  .mobile-menu-header {
    padding: 30px 15px 20px;
  }
  
  .mobile-nav {
    padding: 20px 15px;
  }
  
  .mobile-nav-link,
  .mobile-cta-button {
    padding: 16px;
    font-size: 16px;
  }
  
  .floating-cta {
    bottom: 15px;
    right: 15px;
  }
  
  .floating-cta-button {
    padding: 12px 16px;
    font-size: 13px;
  }
} 