/* Virginia Cosmétique — One page (mobile first) */
:root{
  --bg:#ffffff;
  --ink:#1b1530;
  --muted:#5a5567;
  --violet:#6b3bd6;
  --violet2:#9b7bff;
  --shadow: 0 18px 45px rgba(20,10,40,.12);
  --shadow2: 0 10px 25px rgba(20,10,40,.10);
  --safeTop: env(safe-area-inset-top, 0px);
  --safeBot: env(safe-area-inset-bottom, 0px);
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: var(--bg);
  overflow-x:hidden;
}

/* Fond légèrement violet */
body::before{
  content:"";
  position:fixed;
  inset:-20vh -20vw;
  background:
    radial-gradient(60vw 60vw at 15% 10%, rgba(155,123,255,.18), transparent 55%),
    radial-gradient(70vw 70vw at 85% 25%, rgba(107,59,214,.14), transparent 55%),
    radial-gradient(80vw 80vw at 45% 95%, rgba(155,123,255,.12), transparent 60%);
  pointer-events:none;
  z-index:-3;
}

/* Effet bokeh */
.bgDecor{ position:fixed; inset:0; pointer-events:none; z-index:-2; opacity:.55; }
.bgDecor::before, .bgDecor::after{
  content:""; position:absolute; inset:-10%;
  background:
    radial-gradient(circle at 12% 18%, rgba(155,123,255,.18) 0 9px, transparent 10px),
    radial-gradient(circle at 30% 70%, rgba(107,59,214,.12) 0 11px, transparent 12px),
    radial-gradient(circle at 78% 22%, rgba(155,123,255,.14) 0 13px, transparent 14px),
    radial-gradient(circle at 92% 62%, rgba(107,59,214,.11) 0 10px, transparent 11px),
    radial-gradient(circle at 58% 88%, rgba(155,123,255,.12) 0 16px, transparent 17px);
  background-size: 260px 260px;
  animation: drift 18s linear infinite;
}
.bgDecor::after{
  background-size: 340px 340px;
  animation-duration: 26s;
  opacity:.40;
}
@keyframes drift{ from{ transform: translate3d(-2%, -1%, 0);} to{ transform: translate3d(2%, 1%, 0);} }

/* Bande défilante */
.marqueeWrap{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107,59,214,.14);
}
.marquee{ overflow:hidden; padding: calc(10px + var(--safeTop)) 12px 10px; }
.marquee__track{
  display:flex; gap:14px; width:max-content;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee__item{
  white-space:nowrap;
  font-weight:600;
  color: rgba(27,21,48,.85);
  font-size: 12.5px;
}
.marquee__sep{ color: rgba(107,59,214,.55); font-weight:900; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* Header */
.topbar{
  position:sticky;
  top: calc(42px + var(--safeTop));
  z-index:40;
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107,59,214,.12);
}
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand__logo{
  width: 38px; height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(20,10,40,.10);
  border: 1px solid rgba(107,59,214,.18);
}
.topnav{ display:flex; gap:12px; }
.topnav__link{
  text-decoration:none;
  color: rgba(27,21,48,.82);
  font-weight:800;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(107,59,214,.14);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.topnav__link:active{ transform: translateY(1px); }

/* Layout */
.page{ padding: 18px 14px calc(110px + var(--safeBot)); }
.section{ margin: 18px 0 28px; }
.sectionHead{ margin: 0 2px 12px; }
.sectionHead--tight{ margin-bottom: 10px; }

.h2{
  font-family: Fraunces, serif;
  font-size: 22px;
  margin:0 0 6px;
}
.h3{
  font-family: Fraunces, serif;
  font-size: 18px;
  margin:0 0 6px;
}
.muted{ color: rgba(27,21,48,.70); line-height: 1.55; margin:0; }
.muted.strong{ font-weight:800; color: rgba(27,21,48,.76); }
.fine{ font-size: 12px; color: rgba(27,21,48,.62); margin: 10px 2px 0; }

/* Hero */
.hero{ padding: 18px 2px 8px; }
.hero__inner{
  padding: 18px 16px 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62));
  border: 1px solid rgba(107,59,214,.16);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero__inner::before{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background:
    radial-gradient(45% 45% at 20% 30%, rgba(155,123,255,.20), transparent 60%),
    radial-gradient(55% 55% at 85% 35%, rgba(107,59,214,.15), transparent 62%);
  transform: rotate(6deg);
  pointer-events:none;
}
.hero__title{
  position:relative;
  margin:0;
  font-family: Fraunces, serif;
  font-size: 30px;
  line-height: 1.1;
}
.dot{
  color: var(--violet);
  font-size: 42px;
  line-height: 0;
  vertical-align: baseline;
  margin-left: 2px;
}
.hero__subtitle{
  position:relative;
  margin: 10px 0 0;
  font-size: 14.2px;
  font-weight: 600;
  color: rgba(27,21,48,.72);
  line-height: 1.55;
  max-width: 46ch;
}
.typing{
  display:inline-block;
  border-right: 2px solid rgba(107,59,214,.45);
  padding-right: 2px;
  animation: caret 1.2s steps(2) infinite;
}
@keyframes caret{ 50%{ border-right-color: transparent; } }

.hero__hint{ position:relative; display:flex; gap:8px; flex-wrap:wrap; margin-top: 14px; }
.pill{
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(107,59,214,.10);
  border: 1px solid rgba(107,59,214,.20);
  color: rgba(27,21,48,.86);
}
.pill--ghost{ background: rgba(255,255,255,.54); }

/* Cards */
.packCard, .orderCard, .reviewCard, .glassCard{
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.60));
  border: 1px solid rgba(107,59,214,.16);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.packCard{ padding: 14px; }
.packInfo{ padding: 12px 4px 2px; }

.imgFrame{
  border-radius: 18px;
  padding: 10px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(107,59,214,.18);
  box-shadow: 0 16px 40px rgba(20,10,40,.10);
  position:relative;
  overflow:hidden;
}
.imgFrame::after{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(closest-side, rgba(255,255,255,.65), transparent 70%);
  transform: translate3d(-20%, -12%, 0) rotate(8deg);
  opacity:.35;
  pointer-events:none;
}
.imgFrame img{ width:100%; height:auto; display:block; border-radius: 14px; object-fit: cover; }

.list{
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(27,21,48,.76);
  line-height: 1.6;
  font-weight: 600;
  font-size: 13.5px;
}
.list li{ margin: 6px 0; }

/* Form */
.orderCard, .reviewCard{ padding: 14px; margin-top: 14px; }
.form{ display:flex; flex-direction:column; gap:12px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field__label{ font-size: 12.5px; font-weight: 900; color: rgba(27,21,48,.78); }
.input, .textarea, select.input{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(107,59,214,.18);
  background: rgba(255,255,255,.72);
  padding: 12px 12px;
  font-size: 14px;
  outline:none;
  color: rgba(27,21,48,.90);
}
.textarea{ resize: vertical; min-height: 82px; }
.input:focus, .textarea:focus, select.input:focus{
  box-shadow: 0 0 0 4px rgba(107,59,214,.12);
  border-color: rgba(107,59,214,.35);
}
.fieldset{
  border: 1px dashed rgba(107,59,214,.25);
  border-radius: 16px;
  padding: 10px 10px 6px;
  background: rgba(255,255,255,.52);
}
.fieldset__legend{ font-size: 12.5px; font-weight: 1000; padding: 0 6px; color: rgba(27,21,48,.78); }
.check{
  display:flex; gap:10px; align-items:center;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(107,59,214,.12);
  background: rgba(255,255,255,.62);
  margin-top: 8px;
  font-weight: 800;
  color: rgba(27,21,48,.78);
}
.check input{ width: 18px; height: 18px; accent-color: var(--violet); }

.grid{ display:grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px){ .grid{ grid-template-columns: 1fr 1fr; } }

/* Qty */
.qty{ display:grid; grid-template-columns: 44px 1fr 44px; align-items:center; gap:10px; }
.qty__btn{
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(107,59,214,.18);
  background: rgba(255,255,255,.70);
  font-size: 22px;
  font-weight: 1000;
  color: rgba(27,21,48,.80);
}
.qty__btn:active{ transform: translateY(1px); }
.qty__input{
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(107,59,214,.18);
  background: rgba(255,255,255,.72);
  text-align:center;
  font-weight: 1000;
  font-size: 15px;
  outline:none;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none;
  border-radius: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(107,59,214,.18);
  background: rgba(255,255,255,.70);
  color: rgba(27,21,48,.86);
  font-weight: 1000;
  font-size: 13.5px;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(20,10,40,.09);
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(180deg, rgba(107,59,214,.92), rgba(107,59,214,.82));
  color:#fff;
  border-color: rgba(107,59,214,.35);
}

/* Liquid glass */
.liquid{
  position:relative;
  overflow:hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.liquid::before{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(closest-side, rgba(255,255,255,.75), transparent 70%);
  transform: translate3d(-20%, -25%, 0) rotate(10deg);
  opacity:.35;
  pointer-events:none;
}
.liquid::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,.25) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: shine 4.6s ease-in-out infinite;
  pointer-events:none;
  opacity:.65;
}
@keyframes shine{
  0%,55%{ transform: translateX(-120%); }
  75%{ transform: translateX(120%); }
  100%{ transform: translateX(120%); }
}

/* Carousel */
.carousel{
  display:flex; gap: 12px;
  overflow-x:auto;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar{ height: 0; }
.quoteCard{
  min-width: 78%;
  scroll-snap-align: start;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.60));
  border: 1px solid rgba(107,59,214,.16);
  box-shadow: var(--shadow2);
  padding: 14px;
}
.quote{ margin:0; font-weight: 900; color: rgba(27,21,48,.82); line-height: 1.5; font-size: 14px; }

/* Info grid */
.infoGrid{ display:grid; grid-template-columns: 1fr; gap: 12px; }
.glassCard{ padding: 14px; }
.btnRow{ display:flex; gap: 10px; margin-top: 12px; }

/* Footer */
.footer{ margin-top: 14px; padding: 10px 2px 2px; }
.footer__inner{ text-align:center; font-size: 12px; color: rgba(27,21,48,.55); }
.adminLink{ color: rgba(107,59,214,.95); font-weight: 1000; text-decoration:none; }

/* Nav bas */
.bottomNav{
  position:fixed;
  left: 10px; right: 10px;
  bottom: calc(10px + var(--safeBot));
  z-index:60;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(107,59,214,.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(140%);
  transition: transform .25s ease;
}
.bottomNav.isVisible{ transform: translateY(0); }
.bottomNav__link{
  flex:1;
  text-align:center;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 1000;
  font-size: 13px;
  color: rgba(27,21,48,.82);
  border: 1px solid rgba(107,59,214,.12);
  background: rgba(255,255,255,.50);
}
.bottomNav__link:active{ transform: translateY(1px); }

/* WhatsApp flottant */
.fab{
  position:fixed;
  right: 14px;
  bottom: calc(78px + var(--safeBot));
  z-index:70;
  width: 58px; height: 58px;
  border-radius: 18px;
  display:flex; align-items:center; justify-content:center;
  text-decoration:none;
  background: linear-gradient(180deg, rgba(107,59,214,.95), rgba(107,59,214,.80));
  border: 1px solid rgba(107,59,214,.35);
  box-shadow: var(--shadow);
}
.fab__icon{ color:#fff; font-weight: 1000; letter-spacing: .2px; font-size: 14px; }

/* Reveal */
.reveal{ opacity:0; transform: translateY(10px) scale(.99); transition: opacity .45s ease, transform .45s ease; }
.reveal.isIn{ opacity:1; transform: translateY(0) scale(1); }

/* Toast */
.toast{
  position: fixed;
  left: 14px; right: 14px;
  bottom: calc(14px + var(--safeBot));
  z-index: 80;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(107,59,214,.18);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(27,21,48,.82);
  font-weight: 900;
  font-size: 13px;
  transform: translateY(140%);
  transition: transform .25s ease;
}
.toast.show{ transform: translateY(0); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation:none; }
  .bgDecor::before, .bgDecor::after{ animation:none; }
  .liquid::after{ animation:none; }
  .reveal{ transition:none; }
  .typing{ animation:none; border-right-color: transparent; }
}
