/* =========================================================
   Arts Mystiques — feuille de style
   ========================================================= */

:root {
  --nuit: #1b1430;
  --nuit-2: #261c43;
  --nuit-3: #33275a;
  --violet: #7a4fb5;
  --lavande: #c7b6ea;
  --or: #d8b46a;
  --or-clair: #ecd49f;
  --creme: #f7f2e9;
  --creme-2: #efe6d7;
  --texte: #2b2340;
  --texte-doux: #5d5475;
  --blanc: #fff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(27, 20, 48, .45);
  --container: 1160px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--or); color: var(--nuit); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

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

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 500;
  color: var(--violet);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: "✦"; color: var(--or); letter-spacing: 0; }

.muted { color: var(--texte-doux); }
.small { font-size: .88rem; }
.center { text-align: center; margin-top: 2.5rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 500; font-size: .98rem;
  padding: .85em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55em 1.2em; font-size: .9rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--or-clair), var(--or));
  color: var(--nuit);
  box-shadow: 0 10px 24px -12px rgba(216, 180, 106, .9);
}
.btn-gold:hover { box-shadow: 0 14px 30px -12px rgba(216, 180, 106, 1); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--blanc); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--or-clair); }
.btn-outline { border-color: var(--violet); color: var(--violet); }
.btn-outline:hover { background: var(--violet); color: var(--blanc); }

.ico, .socials svg, .service-icon svg {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.ico { width: 1.2em; height: 1.2em; }

.link-arrow { color: var(--violet); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: " →"; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--blanc);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(27, 20, 48, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.5);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; margin: 0; }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a:not(.btn) {
  text-decoration: none; font-size: .95rem; opacity: .85; position: relative; padding: .3em 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--or);
  transition: right .25s ease;
}
.main-nav a:not(.btn):hover { opacity: 1; }
.main-nav a:not(.btn):hover::after { right: 0; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blanc); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Ciel étoilé ---------- */
.stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 30%, var(--or-clair) 50%, transparent 51%),
    radial-gradient(1px 1px at 75% 15%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 60%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 20% 88%, var(--lavande) 50%, transparent 51%),
    radial-gradient(1px 1px at 65% 85%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 42% 50%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 95% 35%, var(--or-clair) 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 55%, #fff 50%, transparent 51%);
  background-size: 420px 420px;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .85; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: var(--blanc);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(122, 79, 181, .45), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(216, 180, 106, .15), transparent 50%),
    linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 60%, var(--nuit-3) 100%);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center;
}
.hero .eyebrow { color: var(--lavande); }
.hero h1 em { font-style: italic; color: var(--or-clair); font-weight: 500; }
.lead { font-size: 1.15rem; font-weight: 300; color: rgba(255,255,255,.85); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.5rem; }

.hero-status, .hours-status {
  display: inline-flex; align-items: center; gap: .55em; font-size: .95rem; margin: 0;
}
.hero-status:empty, .hours-status:empty { display: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9a93ad; flex: none; }
.dot.open { background: #6fd39a; box-shadow: 0 0 0 4px rgba(111, 211, 154, .2); }

.hero-visual { position: relative; margin: 0; justify-self: center; width: min(100%, 420px); }
.arch {
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  border: 1.5px solid rgba(216, 180, 106, .6);
  padding: 10px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.arch img {
  border-radius: 999px 999px 16px 16px;
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
}
.hero-emblem {
  position: absolute; left: -38px; bottom: 38px;
  width: 120px; height: 120px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.55));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Bandeau ---------- */
.ribbon { background: var(--nuit); color: rgba(255,255,255,.85); border-top: 1px solid rgba(216,180,106,.25); }
.ribbon-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .8rem 1.6rem; padding-top: 18px; padding-bottom: 18px; font-size: .95rem;
}
.ribbon-item { text-decoration: none; display: inline-flex; gap: .5em; align-items: center; }
.ribbon strong { color: var(--or-clair); font-weight: 500; }
.ribbon-sep { color: var(--or); font-size: .7rem; }
.stars-rating { color: var(--or); letter-spacing: .1em; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-night {
  background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%);
  color: rgba(255,255,255,.9);
  overflow: hidden;
}
.section-night .eyebrow { color: var(--lavande); }
.section-night h2, .section-night h3 { color: var(--blanc); }
.section-night .muted { color: rgba(255,255,255,.6); }
.section-soft { background: var(--creme-2); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; position: relative; }
.section-head p:last-child { color: var(--texte-doux); }
.section-night .section-head p:last-child { color: rgba(255,255,255,.7); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-media { position: relative; padding: 0 60px 80px 0; }
.about-main {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 3 / 2; object-fit: cover; width: 100%;
}
.about-side {
  position: absolute; right: 0; bottom: 0; width: 42%;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 999px 999px 14px 14px;
  border: 6px solid var(--creme);
  box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { padding-left: 1.8em; position: relative; margin-bottom: .5em; }
.checklist li::before { content: "✦"; position: absolute; left: 0; color: var(--or); }

/* ---------- Cartes produits ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative;
}
.card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(216,180,106,.55); background: rgba(255,255,255,.08); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { color: var(--or-clair) !important; margin-bottom: .3em; }
.card-body p { margin: 0; font-size: .97rem; color: rgba(255,255,255,.75); }

.tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 3rem; position: relative;
}
.tags span {
  border: 1px solid rgba(216,180,106,.45); color: var(--or-clair);
  padding: .4em 1.1em; border-radius: 999px; font-size: .9rem;
}

/* ---------- Soins ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 30px -20px rgba(27, 20, 48, .35);
  border: 1px solid rgba(122, 79, 181, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--nuit-2), var(--violet));
  color: var(--or-clair);
  margin-bottom: 1.2rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service p { margin: 0; color: var(--texte-doux); font-size: .98rem; }

.booking {
  margin-top: 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 2.2rem 2.5rem;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(122,79,181,.5), transparent 60%),
    var(--nuit);
  color: var(--blanc);
}
.booking h3 { color: var(--or-clair); margin-bottom: .2em; font-size: 1.9rem; }
.booking p { margin: 0; color: rgba(255,255,255,.75); }
.booking-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.booking .btn-outline { border-color: rgba(255,255,255,.5); color: var(--blanc); }
.booking .btn-outline:hover { background: var(--blanc); color: var(--nuit); }

.disclaimer { text-align: center; font-size: .85rem; color: var(--texte-doux); margin-top: 1.5rem; font-style: italic; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 14px;
}
.g-item {
  padding: 0; border: 0; background: var(--nuit); cursor: zoom-in;
  border-radius: 14px; overflow: hidden; position: relative;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.g-item:hover img { transform: scale(1.05); opacity: .9; }
.g-tall { grid-row: span 2; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(15, 10, 30, .88); backdrop-filter: blur(4px); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: -18px; right: -18px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--or); color: var(--nuit); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review {
  margin: 0; padding: 2rem;
  background: var(--blanc); border-radius: var(--radius);
  border-top: 3px solid var(--or);
  box-shadow: 0 10px 30px -22px rgba(27, 20, 48, .4);
}
.review-stars { color: var(--or); letter-spacing: .15em; }
.review blockquote {
  margin: .8rem 0 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; font-style: italic;
}

/* ---------- Infos pratiques ---------- */
.infos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; position: relative;
}
.info-block { margin-top: 1.8rem; }
.info-block h3 { font-size: 1.3rem; color: var(--or-clair) !important; margin-bottom: .3em; }
.info-block p { margin: 0 0 .3em; }
.info-block a { text-decoration: none; border-bottom: 1px solid rgba(216,180,106,.5); }
.info-block a:hover { color: var(--or-clair); }

.hours-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(216,180,106,.35);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.hours-card h3 { font-size: 1.9rem; margin-bottom: .2em; }
.hours-status { margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.hours th, .hours td { padding: .6em 0; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 400; }
.hours th { text-align: left; }
.hours td { text-align: right; }
.hours tr.closed td { color: rgba(255,255,255,.45); }
.hours tr.today th, .hours tr.today td { color: var(--or-clair); font-weight: 500; }

.map { grid-column: 1 / -1; position: relative; }
.map iframe {
  width: 100%; height: 360px; border: 0; border-radius: var(--radius);
  filter: saturate(.8);
}
.map .btn { position: absolute; left: 16px; top: 16px; background: var(--nuit); }

/* ---------- Pied de page ---------- */
.site-footer { background: #130e24; color: rgba(255,255,255,.8); padding: 60px 0 30px; }
.site-footer .muted { color: rgba(255,255,255,.55); margin: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand .brand-name { color: var(--blanc); }
.socials { display: flex; gap: .8rem; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(216,180,106,.45); color: var(--or-clair);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--or); color: var(--nuit); }
.socials svg { width: 20px; height: 20px; }

.legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.legal summary { cursor: pointer; color: rgba(255,255,255,.7); margin-bottom: .6rem; }
.legal details p { color: rgba(255,255,255,.55); }

/* ---------- Animations d’apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards, .services { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 3rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: rgba(27, 20, 48, .98);
    font-size: 1.2rem;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 1.8rem; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  /* backdrop-filter créerait un bloc conteneur et rognerait le menu plein écran */
  .nav-open .site-header { backdrop-filter: none; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner, .about, .infos { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { gap: 3rem; }
  .hero-visual { width: min(80%, 360px); }
  .about-media { padding: 0 40px 60px 0; }
  .reviews { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .cards, .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .hero-emblem { width: 84px; height: 84px; left: -16px; }
  .brand-name { font-size: 1.35rem; }
  .booking { padding: 1.8rem 1.4rem; }
  .booking-actions, .booking-actions .btn { width: 100%; }
  .hours-card { padding: 1.6rem 1.4rem; }
  .ribbon-sep { display: none; }
  .ribbon-inner { flex-direction: column; gap: .4rem; }
}
