/* Massadora — site statique (reproduction fidèle WordPress/Divi) */

@font-face {
  font-family: "Futura LT Book";
  font-display: swap;
  src: url("../fonts/FuturaLT-Book-1.ttf") format("truetype");
}

@font-face {
  font-family: "Dancing Script";
  font-display: swap;
  src: url("../fonts/DancingScript-Regular.ttf") format("truetype");
}

:root {
  --color-dark: #27323a;
  --color-accent: #2ea3f2;
  --color-header: #000000;
  --color-white: #ffffff;
  --color-muted: #bbbbbb;
  --font-title: "Futura LT Book", Helvetica, Arial, sans-serif;
  --font-tagline: "Dancing Script", cursive;
  --font-body: "Open Sans", Helvetica, Arial, sans-serif;
  --header-height: 71px;
  --max-width: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7em;
  font-weight: 500;
  color: var(--color-white);
  background: var(--color-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: normal;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-header);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 8px 0;
}

.logo-link img {
  max-height: calc(var(--header-height) * 0.72);
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  font-size: 17px;
  letter-spacing: 3px;
  text-transform: none;
  color: var(--color-white);
  transition: color 0.2s;
}

.main-nav a.is-active,
.main-nav a[aria-current="page"] {
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-white);
}

.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Sections communes ── */

.section {
  padding: 54px 0;
}

.section-inner {
  width: 80%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-body);
  font-size: 30px;
  text-align: center;
  margin-bottom: 0.25em;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 2em;
  opacity: 0.9;
}

/* ── Hero ── */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: clamp(245px, 23.4vw, 320px);
  padding: 0 24px;
  background: var(--color-dark) url("../img/hero-bg.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(39, 50, 58, 0.35);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 50%;
  max-width: 540px;
  text-align: center;
  padding: 40px 24px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(36px, 6vw, 62px);
  color: var(--color-white);
  margin-bottom: 0.15em;
}

.hero-tagline {
  font-family: var(--font-tagline);
  font-size: clamp(20px, 3vw, 26px);
  color: var(--color-white);
  margin: 0;
}

/* ── Services ── */

.services {
  background: var(--color-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 29.6667%);
  justify-content: space-between;
  gap: 40px 0;
  margin-top: 40px;
}

.service-card {
  text-align: center;
}

.service-card-image {
  margin-bottom: 20px;
  overflow: hidden;
}

.service-card-image img {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.service-card-image--filtered img {
  filter: saturate(121%) brightness(74%);
}

.service-card-image--filtered-light img {
  filter: saturate(121%) brightness(82%);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 0.25em;
}

.service-price {
  font-weight: 600;
  margin-bottom: 0.75em;
}

.service-note {
  font-size: 0.9em;
  opacity: 0.85;
  margin-bottom: 0.75em;
}

.service-description {
  font-size: 14px;
  line-height: 1.7em;
  margin-bottom: 1.5em;
  text-align: left;
}

.btn-reserver {
  display: inline-block;
  padding: 0.3em 1em;
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 0;
  color: var(--color-accent);
  background: transparent;
  border: 2px solid var(--color-accent);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn-reserver:hover {
  background: var(--color-accent);
  color: var(--color-white);
  opacity: 1;
}

/* ── Lieux ── */

.locations {
  background: rgba(39, 50, 58, 0.92);
  padding-top: 50px;
  padding-bottom: 50px;
}

.locations .section-inner {
  width: 95%;
  max-width: var(--max-width);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 20.875%);
  justify-content: space-between;
  align-items: start;
  gap: 0;
  margin-top: 32px;
}

.location-copy h3 {
  font-size: 16px;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.location-card-image {
  line-height: 0;
}

.location-card-image img {
  width: auto;
  max-width: 100%;
}

.location-address {
  font-style: normal;
  margin-bottom: 1em;
}

.location-address strong {
  display: block;
  font-weight: 400;
}

.location-address-city {
  display: block;
}

.location-pause {
  color: var(--color-muted);
  font-style: italic;
  margin: 0;
}

.location-hours {
  color: var(--color-muted);
}

.location-hours dt {
  display: inline;
  font-weight: 600;
  color: var(--color-white);
}

.location-hours dd {
  display: inline;
  margin: 0 0 0.35em;
}

/* ── Témoignages ── */

.testimonials {
  background: var(--color-accent);
  padding: 50px 24px;
}

.testimonials .section-title {
  font-size: 16px;
  margin-bottom: 1.5em;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  padding: 0 20px;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(18px, 2.5vw, 22px);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1em;
}

.testimonial-author {
  font-weight: 700;
  font-style: normal;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.testimonial-dot.is-active,
.testimonial-dot:hover {
  background: var(--color-white);
}

/* ── Footer ── */

.site-footer {
  background: var(--color-accent);
  padding: 25px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer a {
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  font-size: 15px;
}

/* ── Page bookonline ── */

.page-bookonline {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-bookonline main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 60px;
  background: var(--color-dark);
}

.notice-box {
  max-width: 560px;
  text-align: center;
  padding: 48px 36px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.notice-box h1 {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 0.75em;
}

.notice-box p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.92;
}

.notice-box .btn-back {
  display: inline-block;
  margin-top: 1.5em;
  padding: 12px 28px;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  transition: background 0.3s, color 0.3s;
}

.notice-box .btn-back:hover {
  background: var(--color-white);
  color: var(--color-dark);
  opacity: 1;
}

/* ── Responsive ── */

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-header);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.is-open {
    max-height: 240px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }

  .main-nav li a {
    display: block;
    padding: 14px 24px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .location-card-image {
    margin-bottom: 22px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }
}
