/* ============================================================
   SAINT DUC — Saveurs du Luxembourg
   Premium showcase. Restrained palette: ivory + ink + one wine accent.
   Minimal motion: fade-up reveal once, simple hover states only.
   ============================================================ */
:root{
  --ink:      #24211c;
  --ink-60:   rgba(36,33,28,.6);
  --ink-40:   rgba(36,33,28,.38);
  --cream:    #fcf8ee;
  --cream-soft:#f4ecd8;
  --white:    #fffefb;
  --wine:     #6b1f2a;
  --wine-dark:#551821;
  --gold:     #a97e2f;
  --gold-soft:#cba554;

  --font-display: "Bevan", serif;
  --font-body: "Inter", sans-serif;

  --ease: cubic-bezier(.22,.72,.2,1);
  --container: 1160px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; font-weight:400; letter-spacing:.01em; }
p{ margin:0; }
em{ font-style:italic; color:var(--wine); font-weight:500; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

::selection{ background:var(--wine); color:var(--white); }
a:focus-visible, button:focus-visible{ outline:2px solid var(--wine); outline-offset:3px; }

.eyebrow{
  display:inline-block;
  font-family:var(--font-body);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--wine);
  margin-bottom:1rem;
}

/* ============ REVEAL (single, gentle) ============ */
[data-reveal]{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ============ LOADER ============ */
.loader{
  position:fixed; inset:0; z-index:999;
  background:var(--cream);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s var(--ease), visibility .6s;
}
.loader__mark{
  width:160px;
  opacity:0;
  animation:loaderIn .8s var(--ease) forwards .1s;
  filter:drop-shadow(0 0 30px rgba(169,126,47,.25));
}
.loader.is-done{ opacity:0; visibility:hidden; pointer-events:none; }
@keyframes loaderIn{ to{ opacity:1; } }

/* ============ NAV ============ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.3rem clamp(1.2rem,5vw,3.5rem);
  background:rgba(247,242,230,0);
  border-bottom:1px solid transparent;
  transition:background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}
.nav.is-scrolled{
  background:rgba(247,242,230,.92);
  backdrop-filter:blur(8px);
  border-bottom-color:transparent;
  padding-top:.9rem; padding-bottom:.9rem;
  box-shadow:0 1px 0 0 rgba(169,126,47,.35);
}
.nav__brand img{ height:30px; width:auto; }
.nav__links{ display:flex; align-items:center; gap:clamp(1rem,3vw,2.2rem); }
.nav__links a{
  font-size:.88rem; font-weight:500; color:var(--ink); opacity:.75;
  transition:opacity .2s;
}
.nav__links a:hover{ opacity:1; }
.nav__cta{
  background:var(--wine);
  color:var(--white) !important;
  padding:.6rem 1.3rem;
  border-radius:100px;
  opacity:1 !important;
  font-weight:600;
  transition:background .2s;
}
.nav__cta:hover{ background:var(--wine-dark); }

@media (max-width:720px){
  .nav__links a:not(.nav__cta){ display:none; }
}

/* ============ HERO ============ */
.hero{
  position:relative;
  padding:9.5rem 1.5rem 4rem;
  max-width:var(--container);
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.hero .eyebrow{ }
.hero__title{
  font-size:clamp(2rem, 4.6vw, 3.4rem);
  line-height:1.28;
  color:var(--ink);
  max-width:18ch;
}
.hero__subtitle{
  max-width:520px;
  margin-top:1.6rem;
  color:var(--ink-60);
  font-size:1.05rem; line-height:1.75;
}
.hero__actions{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:1rem;
  margin-top:2.2rem;
}

.hero__showcase{
  position:relative;
  margin-top:3.4rem;
  width:min(340px, 62vw);
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero__spotlight{
  position:absolute;
  inset:-18% -30%;
  background:radial-gradient(closest-side, rgba(169,126,47,.16), rgba(169,126,47,.05) 60%, transparent 78%);
  pointer-events:none;
}
.hero__ring{
  position:absolute;
  width:78%;
  aspect-ratio:1;
  border:1px solid rgba(169,126,47,.4);
  border-radius:50%;
  pointer-events:none;
}
.hero__ring::before{
  content:"";
  position:absolute; inset:14px;
  border:1px solid rgba(169,126,47,.22);
  border-radius:50%;
}
.hero__product{
  position:relative;
  width:100%;
  filter:drop-shadow(0 34px 44px rgba(36,33,28,.22));
}

/* ============ ORNAMENTAL DIVIDER ============ */
.ornament{
  display:flex; align-items:center; justify-content:center; gap:1rem;
  max-width:var(--container);
  margin:0 auto;
  padding:3.2rem 1.5rem 0;
  color:var(--gold);
}
.ornament__line{
  flex:1; max-width:240px; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.9rem 1.7rem;
  border-radius:100px;
  font-weight:600; font-size:.96rem;
  transition:background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary{
  background:var(--wine);
  color:var(--white);
}
.btn--primary:hover{ background:var(--wine-dark); transform:translateY(-1px); }
.btn--outline{
  background:transparent;
  color:var(--ink);
  border:1.5px solid rgba(28,26,23,.25);
}
.btn--outline:hover{ border-color:var(--wine); color:var(--wine); }

/* ============ SECTION HEAD ============ */
.section-head{
  max-width:620px;
  margin:0 auto 3.4rem;
  text-align:center;
}
.section-head h2{
  font-size:clamp(1.6rem,3.2vw,2.2rem);
  margin-bottom:.9rem;
  line-height:1.3;
}
.section-head p{
  color:var(--ink-60);
  font-size:1.02rem;
  line-height:1.65;
}

/* ============ PRODUCTS ============ */
.products{
  padding:3.6rem 1.5rem 6.5rem;
  max-width:var(--container);
  margin:0 auto;
}
.products__grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  grid-template-rows:auto auto;
  gap:1.6rem;
}
.product-card{
  position:relative;
  background:var(--white);
  border:1px solid rgba(28,26,23,.08);
  border-radius:18px;
  overflow:hidden;
  transition:box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  display:flex;
  flex-direction:column;
  box-shadow:0 1px 2px rgba(28,26,23,.04);
}
.product-card:hover{
  box-shadow:0 22px 46px rgba(28,26,23,.12);
  border-color:rgba(169,126,47,.4);
  transform:translateY(-3px);
}
.product-card--featured{
  grid-column:1 / 2;
  grid-row:1 / 3;
  flex-direction:column;
  border-color:rgba(169,126,47,.3);
}
.product-card__ribbon{
  position:absolute;
  top:1.3rem; left:-2.4rem;
  transform:rotate(-40deg);
  background:var(--wine);
  color:var(--white);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.45rem 3rem;
  z-index:2;
  box-shadow:0 4px 10px rgba(28,26,23,.2);
}
.product-card__image{
  background:radial-gradient(120% 100% at 50% 100%, rgba(169,126,47,.1), transparent 70%), var(--cream-soft);
  display:flex; align-items:center; justify-content:center;
  height:280px;
  overflow:hidden;
}
.product-card--featured .product-card__image{ height:380px; }
.product-card__image img{ height:82%; width:auto; transition:transform .4s var(--ease); }
.product-card:hover .product-card__image img{ transform:translateY(-4px) scale(1.02); }
.product-card__image--soon{
  background:repeating-linear-gradient(135deg, rgba(28,26,23,.045) 0 10px, rgba(28,26,23,.015) 10px 20px);
}
.product-card__image--soon span{
  font-family:var(--font-display);
  font-size:2.2rem;
  color:rgba(28,26,23,.2);
}
.product-card__body{
  padding:1.7rem 1.7rem 1.9rem;
  display:flex;
  flex-direction:column;
  flex:1;
}
.product-card--featured .product-card__body{ padding:2.2rem 2.2rem 2.4rem; }
.product-card__tag{
  display:inline-block;
  font-size:.72rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--wine);
  margin-bottom:.7rem;
}
.product-card__tag--soon{ color:var(--ink-40); }
.product-card h3{
  font-size:1.1rem;
  line-height:1.35;
  margin-bottom:.6rem;
}
.product-card--featured h3{ font-size:1.4rem; }
.product-card p{
  color:var(--ink-60);
  font-size:.94rem;
  line-height:1.65;
  margin-bottom:1.1rem;
}
.product-card__facts{
  list-style:none;
  margin:0 0 1.5rem;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem .9rem;
}
.product-card__facts li{
  font-size:.82rem;
  color:var(--ink-60);
  padding-left:1rem;
  position:relative;
}
.product-card__facts li::before{
  content:"";
  position:absolute; left:0; top:.5em;
  width:5px; height:5px;
  border-radius:50%;
  background:var(--wine);
}
.product-card--featured .btn{ margin-top:auto; align-self:flex-start; }

@media (max-width:900px){
  .products__grid{ grid-template-columns:1fr; grid-template-rows:none; }
  .product-card--featured{ grid-column:auto; grid-row:auto; }
}

/* ============ FOOTER ============ */
.footer{
  text-align:center;
  padding:3.6rem 1.5rem 2.8rem;
  border-top:1px solid rgba(169,126,47,.3);
}
.footer__logo{ width:36px; margin:0 auto .9rem; opacity:.85; }
.footer__tagline{
  font-family:var(--font-display); font-style:italic; font-weight:500;
  color:var(--wine); font-size:1rem; margin-bottom:.6rem;
}
.footer__legal{ font-size:.78rem; color:var(--ink-40); }
.footer__actions{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:1rem;
  margin:1.6rem 0 2rem;
}

/* ============ FLOATING WHATSAPP ============ */
.float-cta{
  position:fixed;
  bottom:calc(1.5rem + env(safe-area-inset-bottom));
  right:calc(1.5rem + env(safe-area-inset-right));
  z-index:90;
  width:54px; height:54px;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,.22);
  opacity:0; transform:scale(.7);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events:none;
}
.float-cta.is-visible{ opacity:1; transform:scale(1); pointer-events:auto; }
.float-cta:hover{ transform:scale(1.06); }

/* ============ RESPONSIVE ============ */
@media (max-width:768px){
  .hero{ padding-top:8rem; }
  .products{ padding-left:1.4rem; padding-right:1.4rem; }
  .ornament{ padding-top:2.4rem; }
}
@media (max-width:560px){
  .hero__title{ font-size:clamp(2rem,9vw,2.8rem); }
  .hero__actions{ flex-direction:column; width:100%; }
  .hero__actions .btn{ width:100%; justify-content:center; }
  .hero__showcase{ width:min(260px, 70vw); margin-top:2.6rem; }
  .footer__actions{ flex-direction:column; width:100%; }
  .footer__actions .btn{ width:100%; justify-content:center; }
  .product-card--featured .product-card__body{ padding:1.8rem 1.5rem 2rem; }
  .product-card__ribbon{ font-size:.66rem; padding:.4rem 2.6rem; top:1.1rem; left:-2.2rem; }
}
