/* ==========================================================================
   Halter & Form — stylesheet (v2, plus fidèle au site d'origine)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

:root {
  --ink: #2B2B2B;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --paper: #ffffff;

  --font: 'Raleway', Arial, Helvetica, sans-serif;
  --max: 1000px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
nav.primary-nav a:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 40px;
  height: 40px;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25)),
              url('https://static.wixstatic.com/media/11062b_4b7c9a8e48334d5aad2fd274fddba3bc~mv2.jpg')
              center / cover no-repeat;
}

.hero-inner { padding: 3rem 0; }

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3em;
}

.hero .subtitle {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 1.6rem;
  text-transform: uppercase;
}

.hero .socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.hero .socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  transition: background 0.15s ease;
}
.hero .socials a:hover { background: rgba(255,255,255,0.2); }
.hero .socials img { width: 17px; height: 17px; filter: invert(1); }

/* ---------- Section scaffolding ---------- */

section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-head .rule {
  width: 48px; height: 2px; background: var(--ink);
  margin: 0.9rem auto 0;
}

/* ---------- Bienvenue ---------- */

.presentation {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.presentation img { border-radius: 2px; }
.presentation .kicker {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.presentation p.body-text { color: var(--muted); max-width: 46ch; }
.presentation .video-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery img { border-radius: 2px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- Horaires ---------- */

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}
.hours-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.8rem 1.5rem;
}
.hours-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.hours-card .big {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}
.hours-note {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Inscriptions ---------- */

.insc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
}

.condition-box {
  background: #f7f7f5;
  border-left: 3px solid var(--ink);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.96rem;
}

.doc-list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.doc-list li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.doc-list li a:hover { border-color: var(--ink); transform: translateX(3px); }
.doc-list li a::before { content: "↓"; font-weight: 700; }

.bring-list { margin: 0 0 0.5rem; padding-left: 1.2rem; color: var(--muted); }
.bring-list li { margin-bottom: 0.4rem; }

.rates {
  background: #f7f7f5;
  border-radius: 6px;
  padding: 2rem;
  align-self: start;
}
.rates h3 {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 1.2rem;
  text-align: center;
}
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.rate-row:last-of-type { border-bottom: none; }
.rate-row .label { font-size: 0.94rem; color: var(--muted); }
.rate-row .price { font-size: 1.3rem; font-weight: 700; }
.rate-star { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }
.rate-payment {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Venir nous voir / contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.contact-card .addr { font-weight: 600; }
.contact-card a.mail {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
}
.map-frame {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ---------- Footer ---------- */

footer {
  background: #f7f7f5;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social a {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-left: 0.5rem;
}
.footer-social img { width: 15px; height: 15px; }
.copyright { font-size: 0.8rem; margin-top: 1.1rem; text-align: center; color: var(--muted); }

/* ---------- Focus states ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .presentation, .insc-layout, .contact-grid { grid-template-columns: 1fr; }
  .presentation .img-wrap { order: -1; }
}

@media (max-width: 720px) {
  nav.primary-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: #fff;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  nav.primary-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  nav.primary-nav ul { flex-direction: column; gap: 0; padding: 1rem 24px; }
  nav.primary-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }

  .hours-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
