/* Base */
* { box-sizing: border-box; }

:root {
  --accent: #f015b7;
}

html, body {
  margin: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  background: #fff0f8;
}

/* Accessibilité : lien "skip" */
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 2001;
}
.skip-link:focus {
  left: 10px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background-color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

.logo-img {
  height: 50px;
  width: auto;
}

/* Liens */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.125rem;
}

.nav-links a:hover {
  color: #f9aed1;
}

/* Burger */
.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  background: transparent;
  border: 0;
}

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

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: min(260px, 80vw);
    background-color: #ed1c83;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Vague */
.nav-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  height: 100px;
  overflow: hidden;
  z-index: 999;
  pointer-events: none;
}

.nav-wave svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.wave-back { top: 10px; opacity: 0.4; z-index: 1; }
.wave-mid  { top:  5px; opacity: 0.6; z-index: 2; }
.wave-front{ top:  0px; z-index: 3; }

/* Main content : espace sous navbar + vague */
main {
  padding-top: 140px; /* 70 navbar + ~70 vague */
  padding-bottom: 60px; /* laisser respirer au-dessus du footer */
}

/* Sections */
.section {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #fff0f8;
}

/* Boîte centrale */
.section-box {
  background: white;
  padding: 3rem;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 199, 183, 0.2);
  border-radius: 12px;
  text-align: center;
}

/* Titres */
h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--accent);
}

h1, h2 { color: var(--accent); margin-top: 0; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h1 {
  letter-spacing: 0.5px;
}

h2 {
  letter-spacing: 0.3px;
}

p, li, a, button, input, textarea {
  font-family: "Montserrat", Arial, sans-serif;
}


.subtitle {
  margin: 0.5rem 0 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.address { margin: 0.5rem 0 0; }

.note {
  opacity: 0.75;
  font-size: 1rem;
}

/* ===== HERO INTRO ===== */

.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: #fff0f8;
}

.hero-content {
  max-width: 1000px;
  width: 100%;
  padding: 1rem;
}

/* Logo */
.hero-logo {
  width: min(450px, 55vw);
  height: auto;
  display: block;
  margin: 0 auto 1.2rem;
}

/* Nom */
.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin: 0 0 0.8rem;
  letter-spacing: 0.5px;
}

/* FMH ... */
.hero-subtitle {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.35;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  margin: 0 0 3.5rem;
}

.hero-subtitle span {
  display: block;
}

/* Adresse */
.hero-address {
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Ajustement mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
}

/* Liste sans puce */
.no-bullets {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

/* Carte */
.map-container {
  margin-top: 1.5rem;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 114, 170, 0.2);
}

.map-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  min-height: 38px;
  background: #f1f1f1;
  text-align: center;
  padding: 0.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-size: 0.95rem;
}

.footer a { color: inherit; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  background: transparent;
  border: 0;
}
