/* Escale Lumineuse — maquette refonte
   Palette = kit Elementor live (post-479) du site escalelumineuse.fr */

:root {
  --primary: #6d071a;
  --primary-deep: #4f0512;
  --secondary: #e540a2;
  --secondary-hover: #c92d8e;
  --rose-dust: #af5969;
  --rose-soft: #fac7e5;
  --blush: #fff0fb;
  --blush-deep: #fdeaf5;
  --cream: #fffbed;
  --antique: #faebd7;
  --lilac: #ad57b6;
  --white: #ffffff;
  --ink: #2a0d18;
  --ink-soft: #5a4750;

  --font-display: "Alike", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --fs-micro: 0.8125rem;
  --fs-label: 0.8rem;
  --fs-caption: 0.875rem;
  --fs-nav: 0.9rem;
  --fs-body-sm: 0.95rem;
  --fs-button: 0.95rem;
  --fs-button-lg: 1rem;
  --fs-body: 1.0625rem;
  --fs-price: 1.35rem;
  --fs-heading-sm: clamp(1.35rem, 2.4vw, 1.75rem);
  --fs-promise: clamp(1.35rem, 3vw, 1.85rem);
  --fs-heading: clamp(1.85rem, 3.5vw, 2.65rem);
  --fs-display: clamp(2.4rem, 6vw, 4.25rem);
  --fs-brand: clamp(2.75rem, 7vw, 4.5rem);

  --radius-sm: 4px;
  --radius-md: 10px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 7.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 12px 40px color-mix(in srgb, var(--ink) 12%, transparent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: var(--cream);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: var(--gutter);
  top: 0.5rem;
}

.mock-banner {
  background: var(--primary-deep);
  color: var(--blush);
  text-align: center;
  font-size: var(--fs-micro);
  padding: 0.45rem var(--gutter);
}

.mock-banner a {
  color: var(--rose-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 8%, transparent);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px color-mix(in srgb, var(--ink) 8%, transparent);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.nav {
  margin-left: auto;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.35rem;
}

.nav__list a {
  text-decoration: none;
  font-size: var(--fs-nav);
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s var(--ease);
}

.nav__list a:hover {
  color: var(--secondary);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin-inline: auto;
  background: var(--primary);
}

.nav-mobile {
  border-top: 1px solid color-mix(in srgb, var(--primary) 8%, transparent);
  background: var(--cream);
  padding: 1rem var(--gutter) 1.25rem;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-button);
  line-height: 1.2;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--primary-deep);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--secondary-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--blush);
  border-color: color-mix(in srgb, var(--blush) 45%, transparent);
}

.btn--ghost:hover {
  background: color-mix(in srgb, var(--blush) 12%, transparent);
  border-color: var(--blush);
}

.btn--lg {
  padding: 1.05rem 1.85rem;
  font-size: var(--fs-button-lg);
}

.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rose-dust);
  cursor: pointer;
}

.text-link:hover {
  color: var(--secondary);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--blush);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.04);
  animation: hero-settle 1.4s var(--ease) both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      color-mix(in srgb, var(--primary-deep) 88%, transparent) 0%,
      color-mix(in srgb, var(--primary) 55%, transparent) 42%,
      color-mix(in srgb, var(--ink) 25%, transparent) 100%
    ),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 75%, transparent) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 7rem) var(--gutter) clamp(3rem, 8vh, 4.5rem);
  animation: rise 0.9s 0.15s var(--ease) both;
}

.hero__place {
  margin: 0 0 0.85rem;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--rose-soft);
}

.hero__brand {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-brand);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.hero__promise {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-promise);
  font-weight: 400;
  color: var(--blush);
  max-width: 18ch;
}

#hero-title {
  margin: 0 0 1.1rem;
  font-size: inherit;
  font-weight: inherit;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  color: color-mix(in srgb, var(--blush) 90%, transparent);
  font-size: var(--fs-body);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.trust-strip {
  background: var(--blush);
  border-block: 1px solid color-mix(in srgb, var(--rose-dust) 20%, transparent);
  padding: 1.1rem var(--gutter);
  text-align: center;
}

.trust-strip p {
  margin: 0;
  color: var(--primary);
  font-size: var(--fs-body-sm);
}

.trust-strip__stars {
  color: var(--secondary);
  margin-right: 0.35rem;
  letter-spacing: 0.08em;
}

.trust-strip__places {
  margin-top: 0.35rem !important;
  color: var(--ink-soft);
  font-size: var(--fs-caption) !important;
}

.section {
  padding: var(--section) var(--gutter);
}

.section__intro {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section__intro h2,
.about__copy h2,
.booking__copy h2,
.formation__copy h2,
.gift__inner h2,
.close h2,
.blog__card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 0.85rem;
  font-size: var(--fs-heading);
}

.section__intro p {
  margin: 0;
  color: var(--ink-soft);
}

.services {
  background: var(--antique);
}

.service-table {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service--featured {
  outline: 1px solid color-mix(in srgb, var(--secondary) 28%, transparent);
  outline-offset: -1px;
}

.service__visual {
  min-height: 220px;
  background: var(--blush-deep);
}

.service__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.service__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service__meta {
  margin: 0 0 0.4rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose-dust);
}

.service__body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-heading-sm);
  font-weight: 400;
  color: var(--primary);
  margin: 0 0 0.65rem;
}

.service__body p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.service__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.services__footer {
  max-width: var(--max);
  margin: 2.75rem auto 0;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
}

.services__footer p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.booking {
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 50%),
    var(--primary-deep);
  color: var(--blush);
}

.booking__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.booking__copy h2 {
  color: var(--cream);
}

.booking__copy p {
  color: color-mix(in srgb, var(--blush) 88%, transparent);
}

.booking__points {
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.booking__points li {
  padding-left: 1.25rem;
  position: relative;
}

.booking__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--secondary);
}

.booking__alt {
  font-size: var(--fs-body-sm);
}

.booking__alt .text-link {
  color: var(--rose-soft);
  text-decoration-color: var(--secondary);
}

.booking__widget-wrap {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-height: 420px;
  box-shadow: var(--shadow);
}

#sanordv-booking-widget {
  min-height: 380px;
}

.about {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-inline: var(--gutter);
}

.about__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__copy p {
  color: var(--ink-soft);
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.gift {
  background: linear-gradient(160deg, var(--blush-deep) 0%, var(--rose-soft) 55%, var(--blush) 100%);
}

.gift__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.gift__kicker {
  margin: 0 0 0.5rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.gift__inner em {
  font-style: italic;
  color: var(--primary);
}

.gift__steps {
  list-style: none;
  margin: 1.75rem 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  counter-reset: gift;
}

.gift__steps li {
  counter-increment: gift;
  background: var(--cream);
  color: var(--primary);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-caption);
  font-weight: 500;
}

.gift__steps li::before {
  content: counter(gift) ". ";
  color: var(--rose-dust);
  font-weight: 700;
}

.gift__note {
  margin: 1rem 0 0;
  font-size: var(--fs-caption);
  color: var(--ink-soft);
}

.formation {
  background: var(--blush);
}

.formation__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.formation__meta {
  margin: 0 0 0.5rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--secondary);
}

.formation__facts {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.formation__facts li {
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-caption);
  color: var(--primary);
}

.formation__price {
  margin: 0 0 1.25rem;
  font-size: var(--fs-price);
  color: var(--primary);
}

.formation__price span {
  display: block;
  font-size: var(--fs-nav);
  font-weight: 400;
  color: var(--ink-soft);
}

.formation__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.formation__visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.testimonials {
  background: var(--cream);
}

.testimonial-rail {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  padding: 1.5rem;
  background: var(--antique);
  border-radius: var(--radius-md);
  box-shadow: inset 0 3px 0 0 var(--secondary);
}

.testimonial blockquote {
  margin: 0;
}

.testimonial p {
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-body-sm);
}

.testimonial figcaption {
  margin-top: 1rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--rose-dust);
}

.testimonials__cta {
  text-align: center;
  margin: 2.5rem 0 0;
}

.blog {
  background: var(--antique);
}

.blog__card {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.75rem;
  align-items: center;
}

.blog__card img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.blog__meta {
  margin: 0 0 0.4rem;
  font-size: var(--fs-caption);
  color: var(--rose-dust);
  font-weight: 600;
}

.blog__card p {
  color: var(--ink-soft);
}

.close {
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 92%, transparent), color-mix(in srgb, var(--primary-deep) 96%, transparent)), var(--primary);
  color: var(--blush);
}

.close h2 {
  color: var(--cream) !important;
}

.close p {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: color-mix(in srgb, var(--blush) 88%, transparent);
}

.close .btn--primary {
  background: var(--secondary);
  color: var(--white);
}

.close .btn--primary:hover {
  background: var(--secondary-hover);
}

.site-footer {
  background: var(--ink);
  color: var(--blush);
  padding: 2.5rem var(--gutter);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.site-footer img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
}

.site-footer p {
  margin: 0;
  font-size: var(--fs-nav);
  color: color-mix(in srgb, var(--blush) 70%, transparent);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer nav a,
.site-footer .text-link {
  color: var(--rose-soft);
  text-decoration: none;
  font-weight: 500;
}

.site-footer nav a:hover,
.site-footer .text-link:hover {
  color: var(--cream);
}

.site-footer__legal {
  font-size: var(--fs-micro) !important;
  opacity: 0.65;
  border-top: 1px solid color-mix(in srgb, var(--blush) 12%, transparent);
  padding-top: 1rem;
}

@keyframes hero-settle {
  from {
    transform: scale(1.08);
    opacity: 0.7;
  }
  to {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media img,
  .hero__content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover {
    transform: none;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header__actions .btn {
    display: none;
  }

  .service,
  .booking__layout,
  .about,
  .formation__inner,
  .blog__card {
    grid-template-columns: 1fr;
  }

  .testimonial-rail {
    grid-template-columns: 1fr;
  }

  .service:nth-child(even) .service__visual {
    order: -1;
  }

  .formation__visual {
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 85vh;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }
}
