/* ============================================================
   MARJOLIE PAUSE — style.css
   Version : Lumière Minérale
   Typographie : Cormorant Garamond + Lato
   ============================================================ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --creme:      #FFFDF1;
  --creme2:     #FDF6EE;
  --terre:      #C08572;
  --terre2:     #A65541;
  --sauge:      #638375;
  --texte:      #3D2E24;
  --muted:      #9A8880;
  --or:         #C8A96E;
  --or-lt:      #E2C88A;
  --or-pale:    rgba(200,169,110,0.15);
  --ink-dark:   #2A1E16;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', Helvetica, sans-serif;
  --ease-out:     cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--creme);
  color: var(--texte);
  overflow-x: hidden;
}

/* ── NAV ── */
#header {
  position: fixed !important;
  top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 1.2rem 3rem;
  background: transparent;
  transition: background .4s, padding .3s var(--ease-out);
}

#header.scrolled {
  background: rgba(255,253,241,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,.15);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--ink-dark));
  z-index: 2;
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #2a1e16 0%, #3d2c20 40%, #5c3d28 70%, #7a5438 100%);
}
.hero-img {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .42;
  mix-blend-mode: luminosity;
  transition: opacity 1.2s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(200,169,110,.08) 0%, transparent 70%);
}
.hero-light {
  position: absolute;
  top: -20%; left: 30%;
  width: 40%; height: 80%;
  background: radial-gradient(ellipse, rgba(200,169,110,.12) 0%, transparent 70%);
  animation: pulse-light 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-light {
  0%, 100% { opacity: .6; transform: scale(1) translateY(0); }
  50%       { opacity: 1;  transform: scale(1.1) translateY(-20px); }
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  padding: 0 2rem;
}
.hero-eyebrow {
  display: block;
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.5rem;
  animation: fade-up 1.4s .2s both;
}
.hero-titre {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300; line-height: 1.08;
  color: var(--creme); margin-bottom: .7rem;
  animation: fade-up 1.4s .35s both;
}
.hero-titre em { font-style: italic; color: var(--or); }
.hero-sous {
  font-size: 12px; font-weight: 300;
  color: rgba(255,253,241,.55);
  letter-spacing: 2px; margin-bottom: 2.5rem;
  animation: fade-up 1.4s .5s both;
}
.hero-sep {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--or), transparent);
  margin: 0 auto 2rem;
  animation: fade-up 1.4s .65s both;
}
.hero-cta {
  display: inline-block;
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--creme);
  border: 1px solid rgba(200,169,110,.5);
  padding: 14px 36px; border-radius: 2px;
  text-decoration: none;
  font-family: var(--font-body);
  transition: background .4s, border-color .4s, letter-spacing .3s;
  animation: fade-up 1.4s .8s both;
}
.hero-cta:hover { background: rgba(200,169,110,.12); border-color: var(--or); letter-spacing: 5px; }
.hero-scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3; animation: fade-up 1.4s 1.2s both;
}
.hero-scroll span {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,253,241,.4);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(200,169,110,.6), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ── SDJ (SOIN DU JOUR) ── */
.sdj {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, #2a1e16 0%, #3d2c20 50%, #5c3d28 100%);
  padding: 5rem 2rem;
  overflow: hidden;
  margin-top: 0;
}
.sdj-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch;
}
.sdj-img {
  position: relative; overflow: hidden;
  min-height: 460px;
}
.sdj-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8) brightness(.85);
  display: block;
}
.sdj-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(42,30,22,.8) 100%);
}
.sdj-content {
  padding: 3rem 3rem 3rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.sdj-content::before {
  content: '';
  position: absolute; left: 0; top: 3rem; bottom: 3rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--or), transparent);
}
.sdj-label {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 1.5rem;
}
.sdj-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--or);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.sdj-tag {
  font-size: 8.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--or);
}
.sdj-titre {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 300;
  color: var(--creme); line-height: 1.1;
  margin-bottom: 1rem;
}
.sdj-titre em { font-style: italic; color: var(--or); }
.sdj-sep { width: 30px; height: 1px; background: var(--or); margin-bottom: 1.5rem; opacity: .5; }
.sdj-desc {
  font-size: 13px; color: rgba(255,253,241,.65);
  line-height: 1.85; font-weight: 300; margin-bottom: 2rem;
}
.sdj-btn {
  display: inline-block;
  font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--creme);
  border: 1px solid rgba(200,169,110,.45);
  padding: 13px 28px; border-radius: 2px;
  text-decoration: none; font-family: var(--font-body);
  transition: background .4s, border-color .4s;
  align-self: flex-start;
}
.sdj-btn:hover { background: rgba(200,169,110,.12); border-color: var(--or); }

/* ── SOINS GRID ── */
.soins-section {
  position: relative; z-index: 1;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--creme) 0%, var(--creme2) 100%);
}
.soins-header { text-align: center; margin-bottom: 4rem; }
.soins-eyebrow {
  display: block;
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--or); margin-bottom: 1rem;
}
.soins-titre {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--texte); line-height: 1.2;
}
.soins-titre em { font-style: italic; color: var(--terre2); }
.soins-sep {
  width: 40px; height: 1px;
  background: linear-gradient(to right, transparent, var(--or), transparent);
  margin: 1rem auto 0;
}
.soins-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; max-width: 1000px; margin: 0 auto;
  background: rgba(192,133,114,.12);
  border: 1px solid rgba(192,133,114,.12);
}
.soin-item {
  background: var(--creme); overflow: hidden;
  text-decoration: none; display: block; position: relative;
  transition: background .4s;
}
.soin-item:hover { background: var(--creme2); }
.soin-img { width: 100%; height: 200px; overflow: hidden; position: relative; }
.soin-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94), filter .6s;
  filter: saturate(.85) brightness(.95);
}
.soin-item:hover .soin-img img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.soin-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,46,36,.6) 0%, transparent 60%);
  transition: opacity .4s;
}
.soin-item:hover .soin-img-overlay { opacity: .4; }
.soin-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 7.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--or); border: 1px solid rgba(200,169,110,.4);
  padding: 4px 10px; border-radius: 2px;
  background: rgba(42,30,22,.6); backdrop-filter: blur(4px);
}
.soin-body {
  padding: 1.4rem 1.4rem 1.6rem;
  border-top: 1px solid rgba(192,133,114,.12);
  position: relative;
}
.soin-body::before {
  content: '';
  position: absolute; top: 0; left: 1.4rem; right: 1.4rem; height: 1px;
  background: linear-gradient(to right, transparent, var(--or-pale), transparent);
}
.soin-nom {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 400;
  color: var(--texte); margin-bottom: .45rem; line-height: 1.2;
  transition: color .3s;
}
.soin-item:hover .soin-nom { color: var(--terre2); }
.soin-desc {
  font-size: 12px; color: var(--muted);
  line-height: 1.75; font-weight: 300; margin-bottom: 1.1rem;
}
.soin-footer { display: flex; align-items: center; justify-content: space-between; }
.soin-duree { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--or); }
.soin-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(192,133,114,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .3s;
}
.soin-item:hover .soin-arrow {
  background: var(--terre2); border-color: var(--terre2);
  transform: translateX(4px);
}
.soin-item:hover .soin-arrow path { stroke: white; }

/* ── CTA FINAL ── */
.cta-section {
  position: relative; z-index: 1;
  padding: 5rem 2rem; text-align: center;
  background: var(--creme2);
}
.cta-titre {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 300;
  color: var(--texte); margin-bottom: .8rem;
}
.cta-titre em { font-style: italic; color: var(--terre2); }
.cta-sous { font-size: 12px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 2.5rem; }
.cta-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--creme); background: var(--terre2);
  padding: 16px 48px; border-radius: 2px;
  text-decoration: none;
  transition: background .3s, letter-spacing .3s;
}
.cta-btn:hover { background: var(--texte); letter-spacing: 5px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink-dark); color: rgba(255,255,255,.6);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 3rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem; color: var(--or-lt);
  text-decoration: none; display: block; margin-bottom: .8rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h4 {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--or-lt); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 1.5rem 3rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem;
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); text-decoration: none; font-size: .8rem;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--or-lt); color: var(--or-lt); }

/* ── CHAT WIDGET ── */
.mp-chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  font-family: var(--font-body);
}
.mp-bubble {
  display: flex; align-items: center; gap: .6rem;
  background: var(--terre2); color: #fff;
  border-radius: 999px; padding: 12px 20px;
  box-shadow: 0 8px 30px rgba(181,105,74,.4);
  cursor: pointer; font-size: .88rem; font-weight: 500;
  transition: transform .2s, box-shadow .2s;
}
.mp-bubble:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(181,105,74,.5); }
.mp-panel {
  display: none; flex-direction: column;
  width: min(360px, 92vw); height: 540px;
  background: var(--creme); border: 1px solid rgba(192,133,114,.3);
  border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.18); overflow: hidden;
}
.mp-head {
  background: linear-gradient(135deg, var(--terre2), var(--or));
  padding: 16px 18px; color: white;
}
.mp-head .mp-brand { font-weight: 600; font-size: 14px; }
.mp-head .mp-sub { font-size: 11px; opacity: .8; margin-top: 2px; }
.mp-body {
  padding: 12px; display: flex; flex-direction: column;
  gap: 10px; overflow: auto; background: var(--creme2);
}
.mp-msg {
  background: white; border: 1px solid rgba(192,133,114,.2);
  border-radius: 12px; padding: 12px 14px;
  line-height: 1.55; color: var(--texte); font-size: .9rem;
}
.mp-msg.you { background: rgba(181,105,74,.08); border-color: rgba(181,105,74,.2); }
.mp-cta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.mp-chip {
  background: white; border: 1px solid rgba(192,133,114,.3);
  border-radius: 999px; padding: 7px 12px;
  font-size: .78rem; color: var(--muted);
  cursor: pointer; font-family: var(--font-body);
  transition: border-color .2s, color .2s;
}
.mp-chip:hover { border-color: var(--terre2); color: var(--terre2); }
.mp-inputRow {
  position: sticky; bottom: 0; padding: 10px;
  background: white; border-top: 1px solid rgba(192,133,114,.2);
  display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: end;
}
.mp-input {
  min-height: 48px; max-height: 110px; width: 100%;
  padding: 10px 14px; border: 1px solid rgba(192,133,114,.3); border-radius: 8px;
  background: var(--creme); color: var(--texte); font-size: .88rem;
  line-height: 1.4; resize: none; overflow: auto; outline: none;
  font-family: var(--font-body); transition: border-color .2s;
}
.mp-input:focus { border-color: var(--terre2); }
.mp-send {
  padding: 10px 16px; border: none; border-radius: 8px;
  background: var(--terre2); color: #fff;
  font-weight: 600; cursor: pointer; font-size: .85rem;
  font-family: var(--font-body); transition: background .2s;
}
.mp-send:hover { background: var(--texte); }

/* ── ANIMATIONS GLOBALES ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  50%  { transform: scaleY(1);                           opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sdj-inner { grid-template-columns: 1fr; }
  .sdj-img { min-height: 280px; }
  .sdj-img-overlay { background: linear-gradient(to top, rgba(42,30,22,.85) 0%, transparent 55%); }
  .sdj-content { padding: 2.5rem 2rem; }
  .sdj-content::before { display: none; }
  .soins-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  #header { padding: 1rem 1.5rem; }
  .soins-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .sdj-titre { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .hero-titre { font-size: 2.4rem; }
}
/* ============================================================
   MARJOLIE PAUSE — galerie-massage.css
   Galerie défilante horizontale — 8 photos
   ============================================================ */

.galerie-massage {
  position: relative;
  padding: 3.5rem 0;
  background: linear-gradient(to bottom, #fffaf6 0%, #fcf6f1 100%);
  overflow: hidden;
}

.galerie-massage__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Dégradés de fondu gauche/droite */
.galerie-massage__viewport::before,
.galerie-massage__viewport::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}
.galerie-massage__viewport::before {
  left: 0;
  background: linear-gradient(to right, #fffaf6 0%, rgba(255,250,246,0) 100%);
}
.galerie-massage__viewport::after {
  right: 0;
  background: linear-gradient(to left, #fffaf6 0%, rgba(255,250,246,0) 100%);
}

/* Track animé — dupliqué x2 pour boucle infinie */
.galerie-massage__track {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  width: max-content;
  animation: galerieScroll 52s linear infinite;
  will-change: transform;
}

/* Pause au survol */
.galerie-massage:hover .galerie-massage__track {
  animation-play-state: paused;
}

/* Carte */
.galerie-massage__card {
  flex: 0 0 auto;
  width: 205px;
  margin: 0;
  text-align: center;
}
.galerie-massage__card:nth-child(even) {
  margin-top: 18px;
}

/* Image */
.galerie-massage__card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(44,30,22,.10);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
  filter: saturate(.98) contrast(1.01);
}
.galerie-massage__card:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(44,30,22,.16);
}

/* Légende */
.galerie-massage__card figcaption {
  margin-top: .9rem;
  padding: 0 .35rem;
  color: #3b2c24;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: .01em;
  font-family: 'Lato', sans-serif;
}

/* Animation */
@keyframes galerieScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 0.675rem)); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .galerie-massage { padding: 3rem 0; }
  .galerie-massage__viewport::before,
  .galerie-massage__viewport::after { width: 48px; }
  .galerie-massage__track { gap: 1rem; animation-duration: 46s; }
  .galerie-massage__card { width: 180px; }
  .galerie-massage__card figcaption { font-size: .93rem; }
}

@media (max-width: 640px) {
  .galerie-massage { padding: 2.3rem 0; }
  .galerie-massage__viewport::before,
  .galerie-massage__viewport::after { width: 26px; }
  .galerie-massage__track { gap: .8rem; animation-duration: 40s; }
  .galerie-massage__card { width: 145px; }
  .galerie-massage__card:nth-child(even) { margin-top: 10px; }
  .galerie-massage__card img { border-radius: 16px; box-shadow: 0 8px 22px rgba(44,30,22,.10); }
  .galerie-massage__card figcaption { margin-top: .7rem; font-size: .86rem; line-height: 1.3; padding: 0 .15rem; }
}

@media (max-width: 420px) {
  .galerie-massage__card { width: 132px; }
  .galerie-massage__track { gap: .7rem; animation-duration: 36s; }
  .galerie-massage__card figcaption { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .galerie-massage__track { animation: none; }
  .galerie-massage__card img { transition: none; }
}