/* ==========================================================
   Maeva Business — direction artistique « éditorial chaud »
   Partagé par les pages refaites (accueil, puis les suivantes).
   ========================================================== */
:root {
  --paper: #f2ede4;
  --paper-2: #e9e2d6;
  --ink: #161412;
  --ink-2: #3a352e;
  --muted: #776e62;
  --accent: #a8803a;
  --accent-light: #c9a35c;
  --rule: rgba(22, 20, 18, 0.14);
  --night: #151311;
  --on-night: #f2ede4;
  --on-night-muted: #a59c8f;
  --rule-night: rgba(242, 237, 228, 0.14);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.1rem, 4.5vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.02rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* grain de papier */
body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
p, h1, h2, h3, ol, ul, figure, blockquote, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Barre de progression + en-tête ── */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(242, 237, 228, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.brand { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.brand i { color: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 3vw, 2rem); font-size: 0.92rem; font-weight: 500; }
.nav a { text-decoration: none; }
.nav .nav-plain { position: relative; }
.nav .nav-plain::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.5s var(--ease);
}
.nav .nav-plain:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
@media (max-width: 520px) { .nav .hide-sm { display: none; } }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .arr { transition: transform 0.5s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ── Petits titres ── */
.kicker { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--accent); }
.sec-num { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.sec-num b { color: var(--accent); font-weight: 600; }
.sec-head { display: grid; gap: 0.8rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .sec-head { grid-template-columns: 14rem 1fr; align-items: baseline; } }
.sec-head h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1;
}
.sec-head h2 em, h1 em { color: var(--accent); }
.sec-head .sec-intro { grid-column: 1 / -1; max-width: 36rem; color: var(--ink-2); }
@media (min-width: 860px) { .sec-head .sec-intro { grid-column: 2; } }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }

/* ── Boutons ── */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: 1.05rem 1.1rem 1.05rem 1.4rem; border-radius: 2px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font: 600 1rem/1.2 var(--sans);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.cta:hover::before { transform: translateY(0); }
.cta .ic {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid currentColor; overflow: hidden; flex: none;
}
.cta .ic span { transition: transform 0.6s var(--ease); }
.cta:hover .ic span { transform: translateX(3px); }
.cta-light { background: var(--paper); color: var(--ink); }
.cta-light:hover { color: var(--paper); }

/* ── Titre révélé ligne par ligne ── */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }
.js .line > span { transform: translateY(105%); transition: transform 1.15s var(--ease); }
.js .ready .line > span { transform: none; }
.js .ready .line:nth-child(2) > span { transition-delay: 0.09s; }
.js .ready .line:nth-child(3) > span { transition-delay: 0.18s; }
.js .hero-rest { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) 0.45s, transform 1s var(--ease) 0.45s; }
.js .ready .hero-rest { opacity: 1; transform: none; }

/* ── Tableau de faits ── */
.facts { border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; text-align: right; }

/* ── Bandeau défilant ── */
.marquee { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; padding: 0.9rem 0; }
.marquee-track { display: flex; width: max-content; animation: defile 48s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1; padding: 0 1.4rem; white-space: nowrap; }
.marquee-track span:nth-child(even) { font-style: italic; color: var(--accent); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ── Apparitions au défilement ── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Section nuit ── */
.night { background: var(--night); color: var(--on-night); }
.night .sec-num { color: var(--on-night-muted); }
.night .sec-head h2 em { color: var(--accent-light); }

/* ── Pied de page ── */
.site-footer { padding: clamp(3rem, 8vw, 5rem) 0 2.5rem; border-top: 1px solid var(--ink); }
.foot-brand { font-family: var(--serif); font-size: clamp(3rem, 12vw, 8.5rem); line-height: 0.9; letter-spacing: -0.035em; }
.foot-brand i { color: var(--accent); }
.foot-grid { display: grid; gap: 1.2rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--ink-2); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot-grid b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.foot-grid a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot-grid a:hover { border-color: var(--ink); }
.foot-copy { margin-top: 2rem; font-size: 0.82rem; color: var(--muted); }

/* ── Contact WhatsApp flottant (sobre) ── */
.wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 45;
  display: flex; align-items: center; gap: 0.6rem; text-decoration: none;
}
.wa-ic {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--ink); color: var(--paper); box-shadow: 0 10px 26px rgba(22, 20, 18, 0.22);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.wa-ic svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.wa-label {
  background: var(--paper); border: 1px solid var(--ink); padding: 0.45rem 0.75rem; font-size: 0.85rem; font-weight: 600;
  opacity: 0; transform: translateX(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); pointer-events: none;
}
.wa:hover .wa-ic { transform: scale(1.06); background: var(--accent); }
.wa:hover .wa-label { opacity: 1; transform: none; }
@media (hover: none) { .wa-label { display: none; } }

/* ══ Composants des pages d'offre (parfum, atelier…) ══ */

/* Hero d'une page d'offre */
.offer-hero { padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.offer-hero h1 {
  margin-top: 1.4rem; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 8.4vw, 6.6rem); line-height: 0.96; letter-spacing: -0.03em;
}
.offer-grid { display: grid; gap: 2.2rem; margin-top: clamp(2rem, 5vw, 3.2rem); }
@media (min-width: 900px) { .offer-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; } }
.lead { font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--ink-2); max-width: 34rem; }
.offer-grid .cta { margin-top: 1.6rem; }
.note-small { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); max-width: 32rem; }

/* Listes numérotées */
.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--rule);
  transition: padding 0.5s var(--ease);
}
@media (min-width: 860px) {
  .row { grid-template-columns: 1fr 2.4fr; padding: 1.7rem 0; }
  .row:hover { padding-left: 1rem; }
}
.row .n { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.1; color: var(--accent); }
.row p { font-size: clamp(1.08rem, 2.3vw, 1.35rem); line-height: 1.4; color: var(--ink); }
.after-rows { display: grid; gap: 1.4rem; margin-top: 2rem; }
@media (min-width: 860px) { .after-rows { grid-template-columns: 1fr 2.4fr; } .after-rows > * { grid-column: 2; } }
.after-rows p { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; }
.after-rows p em { color: var(--accent); }
.after-rows .cta { justify-self: start; }

/* Grande phrase */
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 52rem; }
.statement em { color: var(--accent); }

/* Vidéo verticale */
.vid-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .vid-grid { grid-template-columns: 1fr 22rem; gap: 4rem; } }
.vid-vertical { position: relative; width: 100%; max-width: 22rem; margin: 0 auto; aspect-ratio: 9 / 16; background: var(--ink); overflow: hidden; }
.vid-vertical iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-text p { color: var(--ink-2); font-size: 1.05rem; max-width: 30rem; }
.vid-text p + p { margin-top: 0.8rem; }
.vid-text strong { color: var(--ink); }
.vid-text .cta { margin-top: 1.6rem; }

/* Captures de témoignages, défilement horizontal */
.shots {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 0 var(--gutter) 1rem; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin; cursor: grab;
}
.shots.drag { cursor: grabbing; scroll-snap-type: none; }
.shots a { flex: none; height: clamp(22rem, 60vw, 30rem); scroll-snap-align: start; overflow: hidden; background: var(--ink); border: 1px solid var(--rule); }
.shots img { height: 100%; width: auto; max-width: none; transition: transform 1s var(--ease); -webkit-user-drag: none; }
.shots a:hover img { transform: scale(1.03); }
.shots-hint { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

/* Alerte sobre */
.signal { display: flex; align-items: center; gap: 0.8rem; margin-top: 2rem; font-weight: 600; font-size: 0.98rem; }
.signal::before {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #b5452f; flex: none;
  box-shadow: 0 0 0 0 rgba(181, 69, 47, 0.5); animation: pouls 2s infinite;
}
@keyframes pouls { 70% { box-shadow: 0 0 0 0.6rem rgba(181, 69, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(181, 69, 47, 0); } }

/* Réservation (section nuit) */
.reserve { padding: clamp(4.5rem, 11vw, 8rem) 0; scroll-margin-top: 4rem; }
.reserve-grid { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .reserve-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; } }
.reserve .price { font-family: var(--serif); font-size: clamp(4.2rem, 13vw, 7rem); line-height: 1; letter-spacing: -0.03em; }
.reserve .price-sub { color: var(--on-night-muted); margin-top: 0.4rem; }
.reserve .facts { border-top-color: var(--on-night); margin-top: 1.6rem; }
.reserve .facts div { border-bottom-color: var(--rule-night); }
.reserve .facts dt { color: var(--on-night-muted); }
.reserve .extra { margin-top: 1.6rem; padding: 1rem 1.1rem; border: 1px solid var(--accent-light); }
.reserve .extra small { display: block; color: var(--accent-light); font-weight: 600; font-size: 0.8rem; margin-bottom: 0.2rem; }
.pay-label { font-weight: 600; font-size: 0.95rem; border-top: 1px solid var(--on-night); padding-top: 1rem; }
.pay-buttons { display: grid; gap: 0.7rem; margin-top: 1rem; }
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.2rem 1.1rem 1.35rem; border-radius: 2px;
  font: 600 1.02rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform 0.6s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { color: var(--paper); }
.btn-ghost { color: var(--on-night); border: 1px solid var(--on-night); }
.btn.is-unconfigured { opacity: 0.38; cursor: not-allowed; pointer-events: none; }
.pay-note { margin-top: 1rem; font-size: 0.88rem; color: var(--on-night-muted); }

/* Barre fixe sur téléphone */
.dock {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  background: var(--ink); color: var(--paper); border-radius: 2px;
  box-shadow: 0 10px 30px rgba(22, 20, 18, 0.25);
  transform: translateY(150%); transition: transform 0.6s var(--ease);
}
.dock.show { transform: translateY(0); }
.dock span { font-size: 0.9rem; }
.dock span b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.dock a { background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 0.7rem 0.9rem; border-radius: 2px; white-space: nowrap; }
@media (min-width: 860px) { .dock { display: none; } }

.site-footer.simple { padding: 2rem 0 5.5rem; }
@media (min-width: 860px) { .site-footer.simple { padding-bottom: 2.5rem; } }

@media (prefers-reduced-motion: reduce) {
  .signal::before { animation: none; }
  html { scroll-behavior: auto; }
  .js .line > span, .js .hero-rest, .js [data-reveal] { transform: none !important; opacity: 1 !important; transition: none !important; }
  .marquee-track { animation: none; }
}
