/* ═══════════════════════════════════════════════════════════════
   MYLOÉ — Design System Upgrade v2.1
   À charger APRÈS styles.css. Ajoute le nouveau design sans casser
   l'existant. Pour revenir en arrière : supprimer le <link> de ce
   fichier dans assets/partials/head.html.
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS : nouveaux noms + alias rétrocompatibles ────────── */
:root{
  --bg-2:#F2EDE7;
  --bg-3:#E6DDD4;
  --fg:#1E2E38;
  --fg-2:#576975;
  --fg-3:#8798A3;
  --teal-dark:#47718A;
  --teal-soft:#EAF3F8;
  --orange-dark:#A55E3A;
  --orange-soft:#FFF0E6;
  --red:#DC2626;
  --shadow-sm:0 2px 12px rgba(8,145,178,.06);
  --shadow-md:0 4px 24px rgba(94,142,160,.10);
  --shadow-lg:0 8px 36px rgba(94,142,160,.18);
  --shadow-warm:0 6px 20px rgba(191,116,80,.35);
  --shadow-nav:0 2px 16px rgba(8,145,178,.06);
  --radius-sm:6px;
  --radius-md:8px;
  --radius-pill:20px;
  --font-display:'DM Serif Display',Georgia,'Times New Roman',serif;
  --font-body:'Manrope',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --ease:cubic-bezier(.2,.6,.2,1);
  --dur:.3s;
  --font-d:'DM Serif Display',Georgia,serif;
}

/* ── DISPLAY : DM Serif Display n'a qu'un poids (400) ────────── */
.display{
  font-weight:400;
  line-height:1.02;
  letter-spacing:-.01em;
  font-variation-settings:normal;
}
h1.display{line-height:.95;letter-spacing:-.02em}

/* ── NAV : nouveau logo avec pastille circulaire "spa" ───────── */
.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:inherit;
  letter-spacing:normal;
  color:inherit;
}
.nav-mark{
  position:relative;
  width:34px;
  height:34px;
  flex-shrink:0;
  border-radius:50%;
  background:radial-gradient(circle at 32% 30%,#A8CDDB 0%,#5E8EA0 55%,#3F6A82 100%);
  box-shadow:
    inset 0 -2px 5px rgba(30,46,56,.2),
    inset 0 2px 3px rgba(255,255,255,.25),
    0 2px 6px rgba(94,142,160,.25);
}
.nav-mark::before{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:repeating-conic-gradient(from 0deg,#ECE4D8 0 9deg,#D8CBB7 9deg 18deg);
  -webkit-mask:radial-gradient(circle,transparent 0 62%,#000 63% 100%);
          mask:radial-gradient(circle,transparent 0 62%,#000 63% 100%);
}
.nav-mark::after{
  content:"";position:absolute;top:22%;left:24%;width:38%;height:14%;
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 70%);
}
.nav-mark .bub{
  position:absolute;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff 0%,rgba(255,255,255,.5) 50%,transparent 70%);
  border:.8px solid rgba(255,255,255,.85);
}
.nav-mark .bub.b1{width:4px;height:4px;top:42%;left:52%}
.nav-mark .bub.b2{width:3px;height:3px;top:58%;left:44%}
.nav-mark .bub.b3{width:3px;height:3px;top:54%;left:62%}

.nav-word{
  font-family:var(--font-d);
  font-size:1.5rem;
  font-weight:400;
  letter-spacing:.02em;
  line-height:1;
  color:var(--teal-dark);
}
.nav-word .e{
  font-style:italic;
  color:var(--gold);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER : pastille + wordmark blanc / é doré, SANS tagline
   (la tagline "— La nuit vous attend" est supprimée du HTML)
   ══════════════════════════════════════════════════════════════ */
.f-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:inherit;
  letter-spacing:normal;
  margin-bottom:.8rem;
}
.f-mark{
  position:relative;
  width:32px;
  height:32px;
  flex-shrink:0;
  border-radius:50%;
  background:radial-gradient(circle at 32% 30%,#A8CDDB 0%,#5E8EA0 55%,#3F6A82 100%);
  box-shadow:
    inset 0 -2px 5px rgba(0,0,0,.35),
    inset 0 2px 3px rgba(255,255,255,.2),
    0 2px 8px rgba(0,0,0,.2);
  display:inline-block;
}
.f-mark::before{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:repeating-conic-gradient(from 0deg,#ECE4D8 0 9deg,#D8CBB7 9deg 18deg);
  -webkit-mask:radial-gradient(circle,transparent 0 62%,#000 63% 100%);
          mask:radial-gradient(circle,transparent 0 62%,#000 63% 100%);
  opacity:.9;
}
.f-mark::after{
  content:"";position:absolute;top:22%;left:24%;width:38%;height:14%;
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 70%);
}
.f-mark .bub{
  position:absolute;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff 0%,rgba(255,255,255,.5) 50%,transparent 70%);
  border:.8px solid rgba(255,255,255,.85);
}
.f-mark .bub.b1{width:4px;height:4px;top:42%;left:52%}
.f-mark .bub.b2{width:3px;height:3px;top:58%;left:44%}
.f-mark .bub.b3{width:3px;height:3px;top:54%;left:62%}

.f-word{
  font-family:var(--font-d);
  font-size:1.55rem;
  font-weight:400;
  letter-spacing:.04em;
  line-height:1;
  color:#fff;
}
.f-word .e{
  font-style:italic;
  color:var(--gold);
}

/* Masque la tagline si elle existe encore quelque part */
.f-tagline{display:none!important}

/* ══════════════════════════════════════════════════════════════
   HERO : nouvelle esthétique "eau de piscine"
   ══════════════════════════════════════════════════════════════ */
.hero{
  background:
    radial-gradient(ellipse 600px 180px at 25% 35%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(ellipse 500px 140px at 78% 62%, rgba(255,255,255,.28), transparent 60%),
    radial-gradient(ellipse 400px 120px at 50% 85%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(175deg,#E4EFF6 0%,#C9E0EA 35%,#A8CDDB 70%,#87B6C7 100%);
}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:repeating-linear-gradient(
    92deg,
    transparent 0 60px,
    rgba(255,255,255,.08) 60px 64px,
    transparent 64px 140px,
    rgba(255,255,255,.05) 140px 142px,
    transparent 142px 220px
  );
  mix-blend-mode:overlay;
  animation:shimmer 22s linear infinite;
}
@keyframes shimmer{0%{background-position:0 0}100%{background-position:600px 0}}

.hero-spa{
  position:absolute;right:-80px;bottom:-80px;z-index:1;
  width:340px;height:340px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 32% 30%,#C9E0EA 0%,#87B6C7 55%,#5E8EA0 100%);
  box-shadow:
    inset 0 -18px 40px rgba(30,46,56,.25),
    inset 0 15px 28px rgba(255,255,255,.2),
    0 20px 60px rgba(30,46,56,.15);
  opacity:.85;
}
.hero-spa::before{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:repeating-conic-gradient(from 0deg,#EDE3D4 0 6deg,#D8CBB7 6deg 12deg);
  -webkit-mask:radial-gradient(circle,transparent 0 68%,#000 69% 100%);
          mask:radial-gradient(circle,transparent 0 68%,#000 69% 100%);
  opacity:.9;
}
.hero-spa::after{
  content:"";position:absolute;top:20%;left:22%;width:42%;height:18%;border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 70%);
  filter:blur(3px);
}

.hero-bubble{
  position:absolute;border-radius:50%;pointer-events:none;z-index:1;
  background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.95) 0%,rgba(255,255,255,.4) 45%,rgba(255,255,255,0) 75%);
  border:1.5px solid rgba(255,255,255,.8);
  animation:rise 14s ease-in-out infinite;
}
.hb1{width:28px;height:28px;top:62%;left:12%;animation-delay:0s}
.hb2{width:16px;height:16px;top:72%;left:22%;animation-delay:-3s}
.hb3{width:22px;height:22px;top:40%;left:85%;animation-delay:-6s}
.hb4{width:12px;height:12px;top:30%;left:78%;animation-delay:-9s}
.hb5{width:20px;height:20px;top:80%;left:48%;animation-delay:-1.5s}
.hb6{width:10px;height:10px;top:55%;left:8%;animation-delay:-4.5s}
@keyframes rise{
  0%,100%{transform:translate(0,0) scale(1);opacity:.65}
  50%{transform:translate(8px,-24px) scale(1.05);opacity:.9}
}

.hero-blob{display:none!important}

.hero-eyebrow .eyebrow{
  display:inline-block;
  background:rgba(255,255,255,.65);
  padding:.4rem 1rem;
  border-radius:var(--radius-pill);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

.hero h1{color:var(--fg)}
.hero h1 em{color:var(--teal-dark)}
.hero-sub{color:var(--fg);font-weight:500}

.hero-stats{background:#fff;box-shadow:var(--shadow-md)}

@media (prefers-reduced-motion: reduce){
  .hero::before,
  .hero-bubble{animation:none!important}
}

/* ══════════════════════════════════════════════════════════════
   INPUTS : fond BLANC (au lieu de beige) pour plus de lisibilité
   s'applique à tous les formulaires : admin, contact, réservation
   ══════════════════════════════════════════════════════════════ */
.form-group input,
.form-group select,
.form-group textarea{
  background:#fff !important;
}

/* Caret du select reste teal (compat ancien CSS) */

/* ══════════════════════════════════════════════════════════════
   CLASSES UTILITAIRES TYPO (from design system)
   ══════════════════════════════════════════════════════════════ */
.body-lg{font-size:1.1rem;line-height:1.75}
.body-sm{font-size:.9rem;line-height:1.65}
.caption{font-size:.82rem;color:var(--fg-2)}
.micro{
  font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--fg-2);font-weight:500;
}
.ui-label{
  font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;
  font-weight:600;color:var(--teal-dark);
}
.btn-label{
  font-size:.8rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
}
.numeric{
  font-family:var(--font-d);font-weight:400;color:var(--teal);
}
.tagline{
  font-family:var(--font-d);font-style:italic;color:var(--teal);
  font-size:.95rem;
}

/* ── Ajustements mobile ──────────────────────────────────────── */
@media (max-width:960px){
  .nav-mark{width:28px;height:28px}
  .nav-word{font-size:1.25rem}
}
@media (max-width:540px){
  .hero-spa{width:260px;height:260px;right:-60px;bottom:-60px}
  .f-mark{width:28px;height:28px}
  .f-word{font-size:1.35rem}
}
