/* =========================================================
   Belle Fleur × SUNREI — tokens
   Display : Fraunces (serif organique, courbes du lotus/soleil)
   Corps    : Work Sans
   ========================================================= */
:root{
  color-scheme: light;
  --cream:      #F6F0E3;
  --paper:      #FFFDF8;
  --espresso:   #2A1B12;
  --amber:      #C96A25;   /* SUNREI */
  --amber-dark: #9E4E17;
  --olive:      #5B6B33;   /* Belle fleur */
  --olive-dark: #414C24;
  --coral:      #E8A96B;
  --line:       rgba(42,27,18,0.12);

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  --radius: 18px;
  --container: 1080px;
}

*{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--espresso);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
h1,h2,h3{ font-family:var(--font-display); margin:0; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0; }
a{ color:inherit; }
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--espresso); color:var(--cream);
  padding:.6em 1em; z-index:100;
}
.skip-link:focus{ left:1em; top:1em; }
:focus-visible{ outline:3px solid var(--amber); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

.eyebrow{
  font-family:var(--font-body); font-size:.72rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--amber-dark);
  margin-bottom:.6em;
}
.eyebrow-light{ color:var(--coral); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  padding:.8em 1.5em; border-radius:999px; border:1px solid transparent;
  font-family:var(--font-body); font-weight:600; font-size:.95rem;
  text-decoration:none; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--espresso); color:var(--cream); }
.btn-primary:hover{ box-shadow:0 6px 18px rgba(42,27,18,.25); }
.btn-ghost{ background:transparent; border-color:var(--espresso); color:var(--espresso); }
.btn-whatsapp{ background:#3E7A4A; color:#fff; }
.btn-whatsapp:hover{ box-shadow:0 6px 18px rgba(62,122,74,.35); }
.btn-sm{ padding:.55em 1.1em; font-size:.85rem; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(246,240,227,.97);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--container); margin:0 auto; padding:.55em .9em;
  display:flex; align-items:center; justify-content:space-between; gap:.6em;
}
.brandmark{ display:flex; align-items:center; gap:.5em; color:var(--olive); min-width:0; }
.nav-logo{ height:22px; width:auto; display:block; flex:none; }
.brand-text{ font-family:var(--font-display); font-size:1.05rem; color:var(--espresso); display:flex; align-items:baseline; gap:.4em; }
.brand-sub{ font-family:var(--font-body); font-weight:500; font-size:.85rem; color:rgba(42,27,18,.55); letter-spacing:.02em; white-space:nowrap; }
@media (max-width:480px){
  .brand-sub, .brandmark .brand-divider{ display:none; }
}
.brand-divider{
  display:inline-block; width:1px; height:.85em; margin:0 .55em;
  background:linear-gradient(var(--amber), var(--olive));
  vertical-align:-0.05em;
}
.brand-divider--footer{ background:linear-gradient(var(--coral), var(--olive)); height:.9em; }
.nav-links{ display:none; gap:1.8em; font-weight:600; font-size:.92rem; }
.nav-links a{ text-decoration:none; opacity:.85; }
.nav-links a:hover{ opacity:1; }
@media (min-width:760px){ .nav-links{ display:flex; } }

.nav-right{ display:flex; align-items:center; gap:.5em; flex:none; }

.nav-cta{ padding:.6em .9em; flex:none; }
.nav-cta-label{ display:none; }
@media (min-width:400px){ .nav-cta-label{ display:inline; } }

.hamburger-btn{
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:38px; height:38px; border-radius:10px; border:1px solid var(--line);
  background:var(--paper); cursor:pointer; flex:none;
}
.hamburger-btn span{ display:block; width:16px; height:2px; background:var(--espresso); border-radius:2px; }
@media (min-width:760px){ .hamburger-btn{ display:none; } }

.mobile-menu-overlay{
  position:fixed; inset:0; z-index:7000; background:rgba(42,27,18,.45);
  opacity:0; transition:opacity .2s ease;
}
.mobile-menu-overlay.is-visible{ opacity:1; }
.mobile-menu{
  position:fixed; top:0; right:0; z-index:7001;
  width:min(280px, 78vw); height:100%; background:var(--cream);
  box-shadow:-8px 0 24px rgba(42,27,18,.18);
  display:flex; flex-direction:column; gap:.3em;
  padding:5.2rem 1.4em 1.4em;
  transform:translateX(100%); transition:transform .25s ease;
}
.mobile-menu.is-open{ transform:translateX(0); }
.mobile-menu a{
  text-decoration:none; color:var(--espresso); font-weight:600; font-size:1.05rem;
  padding:.85em 0; border-bottom:1px solid var(--line);
}
.mobile-menu-whatsapp{ color:#3E7A4A !important; }
.mobile-menu-legal{ font-size:.85rem !important; font-weight:500 !important; opacity:.6; border-bottom:none !important; }
@media (min-width:760px){ .mobile-menu, .mobile-menu-overlay{ display:none; } }

/* ---------- Hero ---------- */
.hero{ position:relative; width:100%; overflow:hidden; height:132vw; max-height:520px; min-height:360px; }
.hero-bg{ width:100%; height:100%; object-fit:cover; object-position:center 38%; display:block; }
.hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(20,13,8,.15) 0%, rgba(20,13,8,.2) 38%, rgba(20,13,8,.72) 68%, rgba(20,13,8,.94) 100%);
}
.hero-content{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:0 1.4em 2.2em; color:#fff; text-align:center; }
.hero-content .eyebrow{ font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--coral); margin:0 0 .9em; }
.hero h1{ font-family:var(--font-display); font-size:clamp(1.7rem, 7.5vw, 2.3rem); line-height:1.22; margin:0 0 .7em; color:#fff; font-weight:600; }
.hero-lede{ font-size:.9rem; color:rgba(255,255,255,.85); margin:0 auto 1.4em; max-width:340px; line-height:1.5; }
.btn-hero-cta{
  background:var(--cream); color:var(--espresso); padding:.85em 1.7em; font-size:.92rem;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}

.reassurance-bar{
  background:var(--olive-dark); color:var(--cream); display:flex; justify-content:center;
  flex-wrap:wrap; gap:0; padding:.9em 1em;
}
.reassurance-item{
  flex:none; display:flex; align-items:center; gap:.5em; padding:.2em 1.2em;
  font-size:.78rem; font-weight:600; white-space:nowrap; border-right:1px solid rgba(255,255,255,.15);
}
.reassurance-item:last-child{ border-right:none; }

@media (min-width:760px){
  .hero{ height:46vw; max-height:560px; }
  .hero::after{ background:linear-gradient(90deg, rgba(20,13,8,.85) 0%, rgba(20,13,8,.55) 38%, rgba(20,13,8,0) 62%); }
  .hero-content{
    text-align:left; left:0; right:auto; bottom:0; top:0; margin:0;
    max-width:600px; padding:0 1.4em; display:flex; flex-direction:column; justify-content:center;
  }
  .hero h1{ font-size:clamp(2.1rem, 3.6vw, 3rem); margin:0 0 .5em; }
  .hero-lede{ font-size:1.05rem; margin:0 0 1.4em; max-width:420px; }
}
@media (min-width:1200px){
  .hero{ height:38vw; }
}
/* ---------- Brand sections ---------- */
.brand-section{ padding:2rem 1.1em; max-width:var(--container); margin:0 auto; }
.brand-header{ display:flex; align-items:flex-start; gap:1em; margin-bottom:1.4rem; max-width:640px; }
@media (min-width:640px){
  .brand-section{ padding:4.5rem 1.3em; }
  .brand-header{ margin-bottom:2.5rem; }
}
.brand-icon-img{ flex:none; margin-top:.3em; width:46px; height:auto; }
.brand-section h2{ font-size:clamp(1.7rem,3vw,2.3rem); }
.brand-tagline{ margin-top:.4em; color:rgba(42,27,18,.7); }
.brand-sunrei .brand-icon{ color:var(--amber); }
.brand-marques .brand-icon{ color:var(--olive); }

.brand-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(240px,1fr)); gap:1.4em; }
.brand-card{
  display:block; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.8em 1.6em; text-decoration:none; color:inherit;
  transition:box-shadow .2s ease, transform .2s ease;
}
.brand-card:hover{ box-shadow:0 12px 30px rgba(42,27,18,.1); transform:translateY(-3px); }
.brand-card-icon{
  width:52px; height:52px; border-radius:50%; background:var(--cream);
  display:flex; align-items:center; justify-content:center; color:var(--amber);
  margin-bottom:1em;
}
.brand-card h3{ font-size:1.2rem; margin-bottom:.4em; }
.brand-card p{ color:rgba(42,27,18,.72); font-size:.92rem; margin-bottom:1em; }
.brand-card-cta{ font-weight:600; font-size:.85rem; color:var(--amber-dark); }
.brand-card--placeholder{ border-style:dashed; opacity:.7; }
.brand-card--placeholder .brand-card-icon{ color:rgba(42,27,18,.35); }
.cosmetics-word{ font-family:var(--font-body); font-weight:400; font-style:italic; color:var(--olive); font-size:.6em; text-transform:lowercase; letter-spacing:.02em; }

.product-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(240px,1fr)); gap:1.4em;
}
.product-card{
  background:var(--paper); border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line); display:flex; flex-direction:column;
  transition:box-shadow .2s ease, transform .2s ease;
}
.product-card:hover{ box-shadow:0 12px 30px rgba(42,27,18,.1); transform:translateY(-3px); }
.product-media{
  aspect-ratio:4/3; background:linear-gradient(155deg, var(--pc,#F1E9D8) 0%, color-mix(in srgb, var(--pc,#F1E9D8) 60%, white) 100%);
  position:relative; overflow:hidden;
}
.product-media img{
  width:100%; height:100%; object-fit:cover; object-position:center;
  display:block; transition:transform .35s ease;
}
.product-card:hover .product-media img{ transform:scale(1.04); }
.product-badge{
  position:absolute; top:.8em; left:.8em; background:var(--espresso); color:var(--cream);
  font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:.35em .7em; border-radius:999px;
}
.product-body{ padding:1.3em 1.3em 1.5em; display:flex; flex-direction:column; gap:.6em; flex:1; }
.product-body h3{ font-size:1.15rem; }
.product-desc{ color:rgba(42,27,18,.72); font-size:.92rem; flex:1; }
.product-foot{ display:flex; align-items:center; justify-content:space-between; gap:.8em; margin-top:.4em; }
.price{ font-weight:600; font-size:.9rem; }
.price[data-placeholder="true"]{ color:rgba(42,27,18,.45); font-style:italic; font-weight:500; }
.product-card--placeholder{ border-style:dashed; opacity:.75; }
.product-card--placeholder .product-media{ background:repeating-linear-gradient(135deg, var(--pc,#eee), var(--pc,#eee) 10px, color-mix(in srgb, var(--pc,#eee) 70%, white) 10px, color-mix(in srgb, var(--pc,#eee) 70%, white) 20px); }

.section-divider{ color:var(--line); padding:0 1.3em; max-width:var(--container); margin:0 auto; }
.divider-svg{ width:100%; height:36px; }

/* ---------- Order section ---------- */
.order-section{ background:var(--espresso); color:var(--cream); padding:4.5rem 1.3em; }
.order-inner{ max-width:var(--container); margin:0 auto; }
.order-section h2{ color:var(--cream); font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:2em; max-width:520px; }
.order-grid{ display:grid; grid-template-columns:1fr; gap:1.5em; }
@media (min-width:700px){ .order-grid{ grid-template-columns:1fr 1fr; } }
.order-card{
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius); padding:1.8em;
}
.order-card h3{ color:var(--cream); font-size:1.25rem; margin-bottom:.5em; }
.order-card p{ color:rgba(246,240,227,.72); font-size:.92rem; margin-bottom:1.2em; }
.momo-form{ display:flex; flex-direction:column; gap:.6em; }
.momo-form label{ font-size:.8rem; font-weight:600; color:rgba(42,27,18,.75); }
.momo-form select, .momo-form input{
  padding:.7em .9em; border-radius:10px; border:1px solid var(--line);
  background-color:var(--paper) !important; color:var(--espresso) !important;
  font-family:var(--font-body); font-size:.95rem; color-scheme:light;
  -webkit-text-fill-color:var(--espresso) !important;
  -webkit-appearance:none; appearance:none; forced-color-adjust:none;
}
.momo-form input:-webkit-autofill,
.momo-form input:-webkit-autofill:hover,
.momo-form input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--espresso) !important;
  -webkit-box-shadow:0 0 0 1000px var(--paper) inset !important;
  caret-color:var(--espresso);
}
.momo-form select:focus, .momo-form input:focus{ outline:2px solid var(--amber); outline-offset:1px; }
.momo-form button{ margin-top:.5em; }
.momo-note{ font-size:.82rem; color:var(--amber-dark); min-height:1.2em; }

/* ---------- Install banner ---------- */
.install-banner{
  position:fixed; left:1em; right:1em; bottom:1em; z-index:8000;
  background:var(--paper); border:1px solid var(--line); border-radius:14px;
  padding:1em 1.2em; box-shadow:0 10px 30px rgba(42,27,18,.18);
  display:flex; align-items:center; justify-content:space-between; gap:1em; flex-wrap:wrap;
  max-width:520px; margin:0 auto;
}
.install-banner p{ font-size:.85rem; flex:1 1 220px; }
.install-actions{ display:flex; gap:.6em; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--olive-dark); color:rgba(246,240,227,.85); padding:3rem 1.3em 2.2rem; }
.footer-inner{ max-width:var(--container); margin:0 auto; text-align:center; }
.brandmark--footer{ justify-content:center; color:var(--coral); margin-bottom:.8em; font-weight:600; }
.footer-logo{ height:30px; width:auto; display:block; }
.footer-note, .footer-contact{ font-size:.9rem; margin-top:.3em; }
.footer-contact a{ color:inherit; text-decoration:underline; }
.footer-address{ font-size:.8rem; margin-top:.6em; opacity:.75; }
.footer-links{ margin-top:.9em; }
.footer-links a{ color:var(--coral); font-size:.85rem; text-decoration:underline; }
.footer-credit{ font-size:.78rem; opacity:.6; margin-top:1.4em; }

/* ---------- Cart badge (nav) ---------- */
.cart-badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:1.3em; height:1.3em; padding:0 .3em; border-radius:999px;
  background:var(--coral); color:var(--espresso); font-size:.72rem; font-weight:700;
  margin-left:.3em;
}

/* ---------- Zoomable product images ---------- */
.product-media img.zoomable{ cursor:zoom-in; }

.product-thumbs{ display:flex; gap:.5em; padding:.7em 1.3em 0; }
.product-thumb{
  width:44px; height:44px; object-fit:cover; border-radius:8px; cursor:pointer;
  border:2px solid transparent; opacity:.65; transition:opacity .15s ease, border-color .15s ease;
}
.product-thumb:hover{ opacity:1; }
.product-thumb.active{ opacity:1; border-color:var(--amber); }

.product-more-link{
  background:none; border:none; padding:0; margin-top:.3em;
  font-family:var(--font-body); font-size:.82rem; font-weight:600; color:var(--amber-dark);
  cursor:pointer; text-align:left;
}
.product-more-link:hover{ text-decoration:underline; }

.product-modal-overlay{
  position:fixed; inset:0; z-index:9500; background:rgba(20,13,8,.6);
  opacity:0; transition:opacity .2s ease;
}
.product-modal-overlay.is-visible{ opacity:1; }
.product-modal{
  position:fixed; z-index:9501; left:50%; top:50%; transform:translate(-50%,-50%) scale(.96);
  width:min(560px, 92vw); max-height:86vh; overflow-y:auto; background:var(--cream);
  border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.35);
  opacity:0; transition:opacity .2s ease, transform .2s ease;
}
.product-modal.is-open{ opacity:1; transform:translate(-50%,-50%) scale(1); }
.product-modal-close{
  position:absolute; top:.8em; right:.8em; z-index:2; width:36px; height:36px; border-radius:50%;
  border:none; background:rgba(42,27,18,.08); color:var(--espresso); font-size:1.5rem; line-height:1;
  cursor:pointer;
}
.product-modal-img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; border-radius:18px 18px 0 0; }
.product-modal-body{ padding:1.4em 1.5em 1.6em; }
.product-modal-body h3{ font-size:1.4rem; margin-bottom:.6em; }
.product-modal-content p{ font-size:.92rem; line-height:1.6; color:rgba(42,27,18,.8); margin-bottom:1em; }
.product-modal-content h4{ font-family:var(--font-body); font-size:.85rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:var(--olive); margin:1.2em 0 .5em; }
.product-modal-content h4:first-child{ margin-top:0; }
.product-modal-content ul{ padding-left:1.2em; margin-bottom:1em; }
.product-modal-content li{ font-size:.92rem; line-height:1.6; color:rgba(42,27,18,.8); margin-bottom:.3em; }
.product-modal-foot{ display:flex; align-items:center; justify-content:space-between; gap:1em; margin-top:1em; padding-top:1.2em; border-top:1px solid var(--line); }
.product-modal-foot .price{ font-size:1.1rem; font-weight:700; }

/* ---------- Cart overlay & drawer ---------- */
.cart-overlay{
  position:fixed; inset:0; background:rgba(42,27,18,.45);
  z-index:9000; opacity:0; transition:opacity .25s ease;
}
.cart-overlay.is-visible{ opacity:1; }
.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:9001;
  width:min(420px, 100vw); background:var(--cream);
  box-shadow:-12px 0 30px rgba(42,27,18,.2);
  display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .3s ease;
  padding:1.4em 1.3em; overflow-y:auto;
}
.cart-drawer.is-open{ transform:translateX(0); }
.cart-drawer-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.2em; }
.cart-drawer-header h2{ font-size:1.4rem; }
.cart-close{
  background:none; border:none; font-size:1.8rem; line-height:1; cursor:pointer;
  color:var(--espresso); padding:0 .2em;
}
.cart-empty{ color:rgba(42,27,18,.6); font-size:.95rem; }

.cart-item{
  display:flex; align-items:center; gap:.8em; padding:.9em 0;
  border-bottom:1px solid var(--line);
}
.cart-item-info{ flex:1; min-width:0; }
.cart-item-name{ font-size:.92rem; font-weight:600; margin-bottom:.2em; }
.cart-item-price{ font-size:.82rem; color:rgba(42,27,18,.6); }
.cart-item-qty{ display:flex; align-items:center; gap:.5em; flex:none; }
.qty-btn{
  width:28px; height:28px; border-radius:50%; border:1px solid var(--line);
  background:var(--paper); font-size:1rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:var(--espresso);
}
.cart-item-qty span{ min-width:1.4em; text-align:center; font-weight:600; font-size:.9rem; }
.cart-item-remove{
  background:none; border:none; color:rgba(42,27,18,.4); font-size:1.3rem;
  cursor:pointer; flex:none; padding:0 .2em; line-height:1;
}
.cart-item-remove:hover{ color:var(--amber-dark); }

.cart-summary{ margin-top:1em; padding-top:1em; border-top:1px solid var(--line); }
.cart-total-row{
  display:flex; align-items:center; justify-content:space-between;
  font-size:1.1rem; font-weight:700; margin-bottom:1.1em;
}
.cart-payment-label{ font-size:.85rem; font-weight:600; color:rgba(42,27,18,.7); margin-bottom:.6em; }
.cart-payment-options{ display:flex; flex-direction:column; gap:.6em; }
.cart-checkout-btn{ width:100%; justify-content:center; }
#cart-momo-form{ margin-top:1em; }

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:9999; background:rgba(20,13,8,.92);
  display:flex; align-items:center; justify-content:center; padding:2em 1em;
}
.lightbox img{ max-width:100%; max-height:100%; border-radius:8px; object-fit:contain; }
.lightbox-close{
  position:absolute; top:1em; right:1em; background:rgba(255,255,255,.12);
  border:none; color:#fff; font-size:1.8rem; line-height:1; width:44px; height:44px;
  border-radius:50%; cursor:pointer;
}
