*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #f1888b;
  --primary-hover: #df7477;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --bg-light: #fdfbfb;
  --overlay-bg: rgba(255, 255, 255, 0.25);
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  width: 100%;
  padding: 25px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: visible;
  z-index: 1000;
}

.menu-checkbox {
  display: none;
}

.menu-burger {
  display: none;
  cursor: pointer;
}

.menu-burger img {
  width: 28px;
  height: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: absolute;
  left: 50px;
  top: 20px;
}

.logo-circle-container {
  width: 185px;
  height: 185px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 12px 30px rgba(241, 136, 139, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.logo-circle-container:hover {
  transform: scale(1.04);
  box-shadow:
    0 14px 35px rgba(241, 136, 139, 0.38),
    0 6px 16px rgba(0, 0, 0, 0.12);
}

.logo-desktop {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

.logo-mobile {
  display: none;
}

nav.menu {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-left: auto;
  padding-left: 185px;
}

nav.menu a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

nav.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav.menu a:hover {
  color: var(--primary-color);
}

nav.menu a:hover::after {
  width: 100%;
}

.slide-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bouton-decouverte {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(241, 136, 139, 0.4);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.bouton-decouverte:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 136, 139, 0.6);
}

footer {
  background-color: #ffffff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #f0f0f0;
  position: relative;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  opacity: 0.8;
}

.footer-social a:hover img {
  transform: translateY(-3px);
  opacity: 1;
}

.copyright {
  font-size: 0.85rem;
  color: #999999;
}

@media (max-width: 768px) {
  header {
    position: relative;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .menu-burger {
    display: block;
  }

  .logo-link {
    position: absolute;
    top: 12px;
    right: 20px;
    left: auto;
  }

  .logo-circle-container {
    display: none;
  }

  .logo-link .logo-mobile {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(241, 136, 139, 0.2);
  }

  nav.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    gap: 20px;
    margin-left: 0;
    padding-left: 0;
    z-index: 1000;
  }

  #menu-toggle:checked ~ nav.menu {
    display: flex;
  }

  footer {
    padding-top: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
