:root {
  --bg: #f5f5f0;
  --bg-soft: #ffffff;
  --accent: #bf5226;
  --accent-soft: rgba(191, 82, 38, 0.16);
  --text: #1e1e1e;
  --muted: #4b5563;
  --border-subtle: #1e1e1e;
  --font-heading: "Grotesk", system-ui, sans-serif;
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.16);
  --transition-fast: 0.22s ease-out;
  --burger-menu-duration: 0.7;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter_18pt-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Grotesk";
  src: url("../fonts/PPRightGroteskMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  font-size: 18px;
  background-color: var(--bg);
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  font-size: 1rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Scrollbars : track f5f5f0, thumb accent, pas de boutons */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--bg);
}

*::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 6px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

*::-webkit-scrollbar-button {
  display: none;
}

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

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

h2 {
  margin: 0;
  font-size: 64px;
  font-family: 'grotesk', sans-serif;
  font-weight: 600;
}

h3 {
  font-size: 30px;
  font-family: 'grotesk', sans-serif;
  font-weight: 600;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.site-header .container {
  width: 100%;
  max-width: none;
  padding-inline: 1.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
  transform: translateY(0);
  transition: transform var(--transition-fast), background 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-block: 1.25rem;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.nav-block {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-block-center {
  justify-content: center;
  flex: 0 0 auto;
}

.nav-block-left,
.nav-block-right {
  flex: 1;
}

.nav-block-left {
  justify-content: flex-start;
}

.nav-block-right {
  justify-content: flex-end;
  gap: 2.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid #1e1e1e;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.06), #ffffff 55%);
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.logo-typo {
  padding: 0;
  border: none;
  background: transparent;
}

.logo-typo img {
  display: block;
  height: 32px;
  width: auto;
}

/* Navbar d'arrivée (pages hors homepage) */
body.is-subpage .nav-block-left {
  display: none;
}

body.is-subpage .logo-typo img {
  transform: scale(1.2);
  transform-origin: center;
}

body.is-subpage .nav-icon-link img {
  height: 32px;
  width: 32px;
}

.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-right: 1px solid var(--border-subtle);
  z-index: 30;
  transform: translateX(0);
  transition: transform var(--transition-fast);
}

.side-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.side-nav-link {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.side-nav-link.is-active {
  color: var(--accent);
}

body.nav-hidden .side-nav {
  transform: translateX(-100%);
}

.side-nav-link:hover {
  color: var(--accent);
}

body.is-subpage .header-inner {
  justify-content: center;
}

body.is-subpage .nav-block-right {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.nav-link {
  position: relative;
  color: var(--text);
  padding-block: 0.25rem;
  transition: color var(--transition-fast);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.is-active {
  color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.1em;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: 4px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  box-shadow: none;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

/* Style générique pour les boutons "Réserver" (hero, header, sections massages) */
.btn-primary.nav-booking,
.btn-primary.hero-cta,
.btn-primary.massages-sportif-cta {
  font-family: var(--font-heading);
  padding-inline: 2.8rem;
}

.btn-primary:hover {
  background: var(--accent);
  filter: brightness(1.1);
  color: var(--bg);
  border-color: var(--accent);
}

.nav-booking {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-icon-link img {
  height: 28px;
  width: 28px;
}

.nav-icon-link:hover img {
  filter: invert(23%) sepia(98%) saturate(1234%) hue-rotate(349deg) brightness(92%) contrast(92%);
}

/* Burger menu - masqué par défaut (desktop), visible à ≤900px */
.burger-btn {
  display: none; /* S'affiche dans la media query @900px */
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
}

.burger-btn {
  color: var(--accent);
}

.burger-svg {
  display: none;
}

.burger-btn .burger-lottie {
  display: block;
  width: 40px;
  height: 40px;
}

.burger-menu {
  display: none;
  position: fixed;
  top: var(--header-height, 80px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: var(--bg);
  padding: 2rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform calc(var(--burger-menu-duration) * 1s) cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility calc(var(--burger-menu-duration) * 1s);
}

.burger-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

body.burger-menu-open {
  overflow: hidden;
}

body.burger-menu-open .site-header {
  border-bottom-color: transparent;
}

.burger-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 100%;
}

.burger-menu-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.burger-menu-link:hover {
  color: var(--accent);
}

.burger-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 1rem 2.2rem;
  border-radius: 4px;
  border: 1px solid var(--accent);
  text-decoration: none;
  box-shadow: none;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.burger-menu-btn:hover {
  background: var(--accent);
  filter: brightness(1.1);
  color: var(--bg);
  border-color: var(--accent);
}

.hero {
  /* Hauteur fixe : le contenu (image) ne peut plus étirer la section */
  height: calc(90vh - var(--header-height, 80px));
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.hero-split {
  gap: 0;
}

.hero-column {
  position: relative;
  min-height: 0; /* permet à la grille de respecter la height de .hero */
}

.hero-split .hero-column:first-child {
  border-right: 1px solid var(--border-subtle);
}

.hero-column-image {
  overflow: hidden;
  min-height: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-column-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-kicker {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 64px);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

.hero-text {
  margin: 0.25rem 0 1.5rem;
  color: var(--muted);
  text-align: center;
}

.hero-cta {
  margin-top: 0.25rem;
}

/* Section présentation (portrait Agathe) – indépendante de la hero */
.presentation {
  height: calc(100vh - var(--header-height, 80px));
  min-height: 320px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  padding-left: 2.5rem;
}

.presentation-split {
  gap: 0;
}

.presentation-column {
  position: relative;
  min-height: 0;
}

.presentation-split .presentation-column:first-child {
  border-right: 1px solid var(--border-subtle);
}

.presentation-column-image {
  overflow: hidden;
  min-height: 0;
}

.presentation-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.presentation-column-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline: clamp(2rem, 5vw, 4rem);
}

.presentation-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.presentation-kicker {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.presentation-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.presentation-text {
  margin: 0.75rem 0 1.5rem;
  color: var(--muted);
  text-align: left;
}

.presentation-cta {
  margin-top: 0.25rem;
  align-self: flex-start;
}

.carousel-section {
  overflow: hidden;
  padding-block: 1.875rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.carousel-wrap {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  will-change: transform;
}

.carousel-item {
  font-size: 1.275rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.carousel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-icon img {
  width: 27px;
  height: 27px;
  display: block;
}

.intro-section {
  padding-block: 8rem 8rem;
}

.intro-inner {
  max-width: 1200px;
  text-align: center;
}

.intro-title {
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 4rem;
}

.intro-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52rem;
  margin-inline: auto;
}

.massages-cta-wrap {
  text-align: center;
  margin-top: 3.5rem;
}

.massages-section {
  padding-block: 3.5rem 6rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.massages-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 3.25rem;
  flex-shrink: 0;
}

.massages-grid {
  display: flex;
  justify-content: space-between;
  gap: 0;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.massage-card {
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 1.7rem;
  flex: 0 1 46%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  min-height: 0;
}

.massage-card-image {
  aspect-ratio: 4 / 4;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.massage-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.massage-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.massage-card-title {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 2rem;
}

.massage-card-text {
  margin: 0 auto;
  flex: 1;
  max-width: 26rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.massage-card-cta {
  align-self: center;
  margin-top: auto;
}

.massage-card:hover,
.massage-card:focus-visible {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  border-color: var(--accent);
}

.page-hero {
  padding-block: 3.5rem 2.5rem;
}

.page-hero-center {
  text-align: center;
}

.page-hero-center p {
  text-align: center;
  margin-inline: auto;
}

.page-hero h1,
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--muted);
}

.reserver-calendly {
  padding-block: 1rem 3rem;
}

.reserver-calendly .calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

@media (min-width: 901px) {
  .reserver-calendly {
    min-height: calc(100vh - var(--header-height, 80px) - 8rem);
  }

  .reserver-calendly .calendly-inline-widget {
    height: calc(100vh - var(--header-height, 80px) - 12rem);
    min-height: 800px;
  }
}

.massages-hero {
  min-height: calc(100vh - var(--header-height, 80px));
  padding-block: 3.5rem 4rem;
  display: flex;
  align-items: center;
}

.massages-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.massage-hero-title {
  font-size: clamp(2.4rem, 4vw, 3rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.massage-hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.massage-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.massages-sportif-tarif {
  font-size: 1.25rem;
  line-height: 1.55;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}

.massages-banner {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
}

.massages-banner {
  position: relative;
}

.massages-banner img {
  width: 100%;
  height: 80vh;
  display: block;
  object-fit: cover;
}

/* Titre overlay sur la bannière (visible en responsive uniquement) */
.massages-hero-overlay {
  display: none;
}

/* Section deux photos pleine largeur, même hauteur que la bannière */
.massages-photos {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
}

.massages-photos-inner {
  display: flex;
  width: 100%;
  height: 70vh;
}

.massages-photo {
  flex: 1;
  margin: 0;
}

.massages-photo:first-child {
  border-right: 1px solid var(--border-subtle);
}

.massages-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.massages-photo:first-child img {
  object-position: center 50%;
}

.massages-photo:last-child img {
  object-position: center 80%;
}

/* Section Sportif : contenu centré, titre h1-style, sous-titre h2-style, texte 2 colonnes, CTA */
.massages-sportif {
  display: flex;
  flex-direction: column;
  padding-block: 2rem 1rem;
  border-top: 1px solid var(--border-subtle);
  min-height: min(80vh, 800px);
}

main > section:last-of-type {
  padding-bottom: 4rem !important;
}

.massages-sportif-topline {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: clamp(1.75rem, 5vw, 2.5rem);
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.massages-sportif-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-block: 4rem;
}

.massages-sportif-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.massages-sportif-bottomline {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.massages-sportif-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.massages-sportif-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: var(--text);
  font-weight: 400;
}

.massages-sportif-text {
  column-count: 2;
  column-gap: 2rem;
  text-align: justify;
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.65;
}

.massages-sportif-cta {
  flex-shrink: 0;
  margin-top: 1.75rem;
}

@media (max-width: 640px) {
  .massages-sportif-text {
    column-count: 1;
  }
}

/* Page À propos : section bi-colonne */
.about-section {
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
}

.about-column {
  min-height: 0;
}

.about-column-image {
  border-right: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-wrap {
  width: 100%;
  height: 100%;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-column-text {
  padding: 4.5rem 4rem;
  display: flex;
  align-items: center;
}

.about-text-inner {
  max-width: 40rem;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 64px;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

/* Titre overlay sur la photo (visible en responsive uniquement) */
.about-hero-title {
  display: none;
}

.about-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Pages légales (Politique de confidentialité, Mentions légales) */
.legal-section .legal-grid {
  grid-template-columns: 1fr;
}

.legal-section .legal-column-full {
  grid-column: 1;
  display: flex;
  justify-content: center;
}

.legal-section .legal-text-inner {
  max-width: 48rem;
  width: 100%;
  text-align: left;
}

.legal-section .legal-section-title {
  color: var(--accent);
}

/* Section contact sur la page À propos */
.about-contact {
  border-bottom: 1px solid var(--border-subtle);
}

.about-contact-left,
.about-contact-right {
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.about-contact-left {
  border-right: 1px solid var(--border-subtle);
  padding-left: 6rem;
}

.about-contact-kicker {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--muted);
}

.about-contact-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.about-contact-info {
  max-width: 26rem;
}

.about-contact-item {
  margin: 0 0 1.6rem;
}

.about-contact-label {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.about-contact-value {
  display: inline-block;
}

.about-contact-info a {
  text-decoration: none;
  color: var(--muted);
}

.about-contact-info a:hover {
  color: var(--accent);
}

/* Carrousel photos sur la page À propos */
.about-carousel {
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: hidden;
  overflow-y: visible;
  padding-block: 2.5rem;
  width: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
}

.about-carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.about-carousel-item {
  flex: 0 0 260px;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  margin: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.about-carousel-item img {
  display: block;
  width: 260px;
  height: 260px;
  min-width: 260px;
  max-width: 260px;
  object-fit: cover;
  object-position: center center;
}

/* Overlay visible uniquement pendant les transitions Barba (sans transition pour éviter le flash) */
.barba-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background-color: var(--bg);
  opacity: 0;
}

body.is-barba-transitioning .barba-transition-overlay {
  opacity: 1;
}

body.is-barba-transitioning .site-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Sticky Footer Reveal */
main {
  position: relative;
  z-index: 10;
  background-color: var(--bg);
  margin-bottom: var(--footer-height, 100vh);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
  min-height: 100vh;
  isolation: isolate;
  transform: translateZ(0);
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  min-height: 70vh;
  max-height: 100vh;
  margin-top: 0;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: stretch;
}

@media (max-width: 768px), (max-height: 600px) {
  main {
    margin-bottom: 0;
    box-shadow: none;
  }

  .site-footer {
    position: relative;
    height: auto;
    margin-top: 2rem;
  }
}

.site-footer p {
  margin: 0;
  font-size: 1.6rem;
  color: inherit;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-logo {
  display: block;
  width: clamp(280px, 22vw, 380px);
  max-width: 380px;
  height: auto;
  object-fit: contain;
}

.footer-top-right {
  max-width: 640px;
  text-align: right;
}

.footer-tagline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.3;
}

.footer-secondary {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  font-size: 14px;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom-left a {
  font-weight: 400;
  font-size: 14px;
}

.footer-bottom-left a.footer-link-strong {
  font-weight: 600;
}

.footer-bottom-center .footer-copyright,
.footer-bottom-center a {
  font-size: 14px;
}

.footer-credit {
  font-size: 14px;
  opacity: 0.9;
}

/* Footer Homepage - 3 lignes */
.site-footer-home {
  min-height: 100vh;
  height: 100vh;
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

.footer-home-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-home-line1 {
  height: 45%;
  min-height: 45%;
  display: flex;
  border-bottom: 1px solid rgba(245, 245, 240, 0.3);
}

.footer-home-col1 {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  gap: 0;
  border-right: 1px solid rgba(245, 245, 240, 0.3);
}

.footer-home-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-decoration: none;
  color: var(--bg);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 48px;
  font-weight: 500;
  transition: background var(--transition-fast), flex 0.35s ease;
  border-right: 1px solid rgba(245, 245, 240, 0.3);
}

.footer-home-card:last-child {
  border-right: none;
}

.footer-home-card:hover {
  background: rgba(245, 245, 240, 0.05);
  flex: 1.3 1 0;
}

.footer-home-col1:has(.footer-home-card:hover) .footer-home-card:not(:hover) {
  flex: 0.85 1 0;
}

.footer-home-card-label {
  line-height: 1;
}

.footer-home-col2 {
  flex: 0 0 40%;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem;
  gap: 1rem;
  text-align: right;
}

.footer-home-text1,
.footer-home-text2 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 32px);
  color: var(--bg);
  line-height: 1.35;
}

.footer-home-line2 {
  height: 45%;
  min-height: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.footer-home-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.footer-home-logo {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  color: #f5f5f0;
  pointer-events: none;
}

.footer-home-line3 {
  height: 10%;
  min-height: 10%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  padding-inline: 2rem 2.5rem;
  padding-block: 1rem;
}

.footer-home-line3 .footer-home-legal {
  justify-self: start;
}

.footer-home-line3 .footer-home-credit,
.footer-home-line3 .footer-home-credit-desktop {
  justify-self: end;
}

.footer-home-line3 {
  font-size: 14px;
}

.footer-home-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-home-legal-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-home-legal-left .footer-home-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-home-bottom {
  display: none;
}

.footer-copyright {
  font-family: "Inter", system-ui, sans-serif;
  color: inherit;
}

.footer-home-legal a {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--bg);
  text-decoration: none;
}

.footer-home-legal a:hover {
  text-decoration: underline;
}

.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--bg);
  text-decoration: none;
}

.footer-instagram-link:hover {
  text-decoration: underline;
}

.footer-instagram-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(96%);
}

.footer-home-credit {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--bg);
  opacity: 0.85;
}

/* Responsive : petite tablette et mobile (≤ 900px) */
@media (max-width: 900px) {
  /* Navbar : logo + burger uniquement, couleurs accent */
  .nav-desktop {
    display: none !important;
  }

  .burger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
  }

  /* Lottie burger (homepage) : couleur accent */
  .burger-lottie-container {
    width: 40px;
    height: 40px;
    filter: invert(23%) sepia(98%) saturate(1234%) hue-rotate(349deg) brightness(92%) contrast(92%);
  }

  /* Icône burger SVG (autres pages) : couleur accent */
  .burger-btn .burger-svg {
    display: block;
    width: 28px;
    height: 28px;
    color: var(--accent);
    stroke: currentColor;
    flex-shrink: 0;
  }

  .burger-btn .burger-lottie {
    display: none;
  }

  /* Masquer le SVG quand on a le container Lottie (homepage) */
  .burger-btn:has(.burger-lottie-container) .burger-svg {
    display: none;
  }

  body.is-subpage .nav-block-left,
  body.is-subpage .nav-block-right {
    display: none !important;
  }

  body.is-subpage .header-inner {
    justify-content: space-between;
  }

  body.is-subpage .burger-btn {
    display: flex;
  }

  .burger-menu {
    display: block;
  }

  /* Sidebar masquée en responsive (À propos, Massages, etc.) */
  .side-nav {
    display: none !important;
  }

  /* À propos : photo en hero-banner jusqu’en haut (comme homepage), navbar transparente au scroll 0 */
  body.is-subpage .about-section:not(.legal-section) {
    margin-top: calc(-1 * var(--header-height, 80px));
    padding-top: 0;
  }

  .about-section:not(.legal-section) .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-section .about-column-image {
    order: 1;
    border-right: none;
    position: relative;
    height: 100vh;
    min-height: 100vh;
  }

  .about-section .about-image-wrap {
    position: absolute;
    inset: 0;
  }

  .about-section .about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-section .about-hero-title {
    display: block;
    position: absolute;
    left: 1.75rem;
    bottom: 6rem;
    right: 1.75rem;
    margin: 0;
    text-align: left;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 80px;
    letter-spacing: -0.03em;
    z-index: 1;
  }

  .about-section .about-column-text {
    order: 2;
    padding: 2rem 1.75rem 3rem;
  }

  .about-section:not(.legal-section) .about-column-text .about-title {
    display: none;
  }

  .legal-section .about-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .about-section .about-text-inner {
    max-width: none;
  }

  /* About-contact : colonnes en flex column, textes alignés à gauche */
  .about-contact {
    border-bottom: none;
  }

  .about-contact .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-contact-left {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 1.75rem;
    text-align: left;
  }

  .about-contact-right {
    padding: 2rem 1.75rem;
    text-align: left;
  }

  .about-contact-info {
    max-width: none;
  }

  .about-carousel {
    border-top: none;
  }

  /* Page Massages : massages-banner en hero en première position, image tournée -90deg */
  main:has(.massages-banner) {
    display: flex;
    flex-direction: column;
  }


  main:has(.massages-banner) .massages-banner {
    order: -1;
    margin-top: calc(-1 * var(--header-height, 80px));
    border-top: none;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  main:has(.massages-banner) .massages-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  main:has(.massages-banner) .massages-hero-overlay {
    display: block;
    position: absolute;
    left: 1.75rem;
    bottom: 6rem;
    right: 1.75rem;
    margin: 0;
    text-align: left;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 80px;
    letter-spacing: -0.03em;
    z-index: 1;
  }

  .massages-sportif-topline,
  .massages-sportif-bottomline {
    display: none;
  }

  /* Hero homepage : image plein écran, touche le haut, navbar transparente au scroll 0 */
  body:not(.is-subpage) .hero.hero-split {
    margin-top: calc(-1 * var(--header-height, 80px));
    padding-top: var(--header-height, 80px);
  }

  .hero.hero-split {
    display: block;
    position: relative;
    grid-template-columns: none;
    min-height: calc(100vh - 6rem);
    height: calc(100vh - 6rem);
  }

  .hero-column-image {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-column-image .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-column-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 2rem;
  }

  .hero-copy .hero-kicker {
    display: none;
  }

  .hero-copy .hero-text {
    color: var(--bg);
    text-align: center;
  }

  .hero-copy .hero-title {
    color: var(--accent);
    font-size: clamp(3rem, 9vw, 72px);
    letter-spacing: 0.04em;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-copy {
    width: 100%;
    text-align: center;
  }

  .hero .hero-cta {
    display: none;
  }

  /* Navbar transparente en haut de page (homepage + À propos responsive) */
  body.navbar-at-top .site-header {
    background: transparent;
    border-bottom-color: transparent;
  }

  body.navbar-at-top .logo-typo img {
    filter: brightness(0) invert(0.96) sepia(0.04) saturate(100%);
  }

  body.navbar-at-top .burger-lottie-container {
    filter: brightness(0) invert(0.96) sepia(0.04) saturate(100%);
  }

  body.navbar-at-top .burger-btn .burger-svg {
    color: var(--bg);
    stroke: currentColor;
  }

  /* Intro section : titre 48px, textes à gauche */
  .intro-title {
    font-size: 48px;
  }

  .intro-inner {
    text-align: left;
  }

  .intro-text {
    text-align: left;
  }

  /* Réduire l'écart carousel / "Et si tu offrais..." */
  .carousel-section {
    padding-bottom: 1rem;
  }

  body:not(.is-subpage) .intro-section {
    padding-top: 3rem;
  }

  /* Presentation : colonnes empilées, photo puis textes à gauche */
  .presentation.presentation-split {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    height: auto;
    min-height: auto;
    padding: 0;
  }

  .presentation-split .presentation-column:first-child {
    border-right: none;
  }

  .presentation-column-image {
    order: 1;
    aspect-ratio: 3 / 4;
  }

  .presentation-column-image .presentation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .presentation-column-content {
    order: 2;
    padding: 2rem 1.75rem 3rem;
    justify-content: flex-start;
  }

  .presentation-copy {
    align-items: flex-start;
    text-align: left;
  }

  .presentation-text {
    text-align: left;
  }

  /* Massages : titre à gauche, cartes en scroll horizontal piloté par le scroll vertical */
  .massages-title {
    text-align: left;
  }

  .massages-section {
    padding-block: 3rem 4rem;
  }

  .massages-scroll-zone {
    width: 100%;
    max-width: none;
    padding-inline: 0;
    margin-inline: 0;
    height: 200vh;
  }

  .massages-scroll-inner {
    position: sticky;
    top: var(--header-height, 80px);
    height: calc(100vh - var(--header-height, 80px));
    overflow: hidden;
  }

  .massages-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    height: 100%;
    padding-inline: 1.75rem;
    box-sizing: border-box;
  }

  .massages-grid .massage-card {
    flex: 0 0 calc(100vw - 3.5rem - 1.5rem);
    min-width: calc(100vw - 3.5rem - 1.5rem);
    height: calc(100vh - 10rem);
    margin: 0;
    padding-bottom: 0.35rem;
  }

  .massage-card:hover,
  .massage-card:focus-visible {
    transform: none;
    box-shadow: none;
    border-color: var(--border-subtle);
  }

  .massages-grid .massage-card-body {
    flex: 0 0 auto;
    gap: 0.6rem;
  }

  .massages-grid .massage-card-title {
    margin: 1rem 0;
  }

  .massages-grid .massage-card-text {
    flex: 0 0 auto;
  }

  .massages-cta-wrap {
    margin-top: 2rem;
  }

  /* Footer responsive : flex column dans l'ordre demandé */
  .site-footer-home {
    min-height: auto;
    height: auto;
    padding-block: 2rem;
  }

  .footer-home-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .footer-home-line1 {
    display: contents;
  }

  .footer-home-col2 {
    display: none;
  }

  .footer-home-col1 {
    order: 2;
    flex: none;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    border-right: none;
    border-bottom: none;
  }

  .footer-home-col1 .footer-home-card:first-child {
    border-top: 1px solid rgba(245, 245, 240, 0.3);
  }

  .footer-home-card {
    flex: none;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    border-right: none;
    border-bottom: 1px solid rgba(245, 245, 240, 0.3);
    padding: 1.25rem 1.75rem;
    font-size: 1.25rem;
  }

  .footer-home-card:hover {
    flex: none;
  }

  .footer-home-col1:has(.footer-home-card:hover) .footer-home-card:not(:hover) {
    flex: none;
  }

  .footer-home-line2 {
    order: 1;
    height: auto;
    min-height: 0;
    padding: 1.5rem 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-home-logo-link {
    width: 100%;
    justify-content: center;
  }

  .footer-home-logo {
    width: 85%;
    max-width: calc(100vw - 4rem);
    height: auto;
  }

  .footer-home-line3 {
    display: contents;
  }

  .footer-home-legal {
    display: contents;
  }

  .footer-home-legal-left {
    display: contents;
  }

  .footer-copyright-desktop,
  .footer-instagram-link,
  .footer-home-credit-desktop {
    display: none !important;
  }

  .footer-home-legal-links {
    order: 4;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.75rem;
    border-bottom: 1px solid rgba(245, 245, 240, 0.3);
  }

  .footer-home-legal-links a {
    font-size: 14px;
  }

  .footer-home-bottom {
    order: 5;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
  }

  .footer-home-bottom .footer-copyright-responsive {
    margin: 0;
  }

  .footer-home-bottom .footer-home-credit::before {
    content: " - ";
  }

  .header-inner {
    gap: 1rem;
  }

  .btn-primary {
    padding-inline: 1.15rem;
  }

  .hero {
    padding-top: 3.4rem;
  }

  body:not(.is-subpage) .hero.hero-split {
    padding-top: var(--header-height, 80px);
  }
}

[data-barba="container"] {
  will-change: opacity, transform, filter;
}

/* Effet appli : border-radius cohérent en mode standalone (ajout écran d'accueil) */
@media (display-mode: standalone) {
  html {
    border-radius: var(--radius-lg);
  }
}
