/* =========================================================
   PSICOLOGIA OSCURA — Design tokens (tema occulto/neon)
   ========================================================= */
:root{
  --bg:            #08070a;
  --bg-alt:        #0e0c11;
  --bg-panel:      #141116;
  --red:           #e0293e;
  --red-light:     #ff5468;
  --blue:          #3aa8e0;
  --blue-light:    #6cc4f0;
  --violet:        #9b5fc0;
  --violet-light:  #c58ee8;
  --gold:          #c9a463;
  --gold-light:    #e6cd94;
  --ink:           #f0ede4;
  --ink-muted:     #a29c9f;
  --ink-dim:       #635d60;
  --line:          rgba(224,41,62,.18);
  --shadow:        rgba(0,0,0,.6);

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:     1220px;
  --radius:        2px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
:focus-visible{ outline:2px solid var(--red-light); outline-offset:3px; }

.reveal{ opacity:0; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* =========================================================
   Shared
   ========================================================= */
.eyebrow{
  font-size:.72rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--red-light); margin:0 0 .8rem; font-weight:600;
}
.eyebrow--center{ text-align:center; }

.section-title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.5rem, 4vw, 2.3rem); letter-spacing:.01em;
  margin:0 0 1rem; color:var(--ink);
}
.section-title--center{ text-align:center; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.85rem 1.5rem;
  font-family:var(--font-body); font-weight:600; font-size:.88rem; letter-spacing:.02em;
  border-radius:999px; border:1px solid transparent; cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn--red{
  background:linear-gradient(180deg, var(--red-light), var(--red));
  color:#1a0508;
  box-shadow:0 10px 26px -12px rgba(224,41,62,.55);
}
.btn--red:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px rgba(224,41,62,.7); }
.btn--red.btn--lg{ animation:btn-glow-red 3s ease-in-out infinite; }
@keyframes btn-glow-red{
  0%, 100%{ box-shadow:0 10px 26px -12px rgba(224,41,62,.55); }
  50%{ box-shadow:0 10px 34px -6px rgba(224,41,62,.9); }
}
@media (prefers-reduced-motion: reduce){
  .btn--red.btn--lg{ animation:none; }
}
.btn--ghost{ background:transparent; color:var(--ink); border-color:rgba(240,237,228,.35); }
.btn--ghost:hover{ border-color:var(--red-light); color:var(--red-light); }
.btn--lg{ padding:1.05rem 1.9rem; font-size:.98rem; }
.btn--full{ width:100%; }
.btn--sm{ padding:.7rem 1.1rem; font-size:.82rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav{ position:fixed; top:0; left:0; right:0; z-index:100; background:transparent; transition:background .35s ease, border-color .35s ease; border-bottom:1px solid transparent; }
.nav.is-scrolled{ background:rgba(8,7,10,.92); backdrop-filter:blur(10px); border-bottom-color:var(--line); }
.nav__inner{ max-width:var(--container); margin:0 auto; padding:1.2rem 1.25rem; display:flex; align-items:center; gap:2rem; }
.nav__logo{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; letter-spacing:.1em; color:var(--ink); margin-right:auto; }
.nav__links{ display:flex; gap:1.8rem; font-size:.86rem; }
.nav__links a{ color:var(--ink-muted); transition:color .2s ease; }
.nav__links a:hover{ color:var(--red-light); }
.nav__cta{
  background:linear-gradient(180deg, var(--red-light), var(--red)); color:#1a0508;
  font-weight:600; font-size:.83rem; padding:.6rem 1.2rem; border-radius:999px;
}
.nav__burger{ display:none; flex-direction:column; justify-content:center; gap:5px; width:30px; height:30px; background:none; border:none; cursor:pointer; padding:0; }
.nav__burger span{ display:block; height:1px; width:100%; background:var(--ink); }

@media (max-width:860px){
  .nav__links{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background:var(--bg-panel); flex-direction:column; justify-content:center; align-items:flex-start;
    padding:2rem 2.4rem; gap:1.5rem; transform:translateX(100%); transition:transform .35s ease;
    border-left:1px solid var(--line);
  }
  .nav__links.is-open{ transform:translateX(0); }
  .nav__links a{ font-size:1.05rem; }
  .nav__cta{ display:none; }
  .nav__burger{ display:flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{ position:relative; min-height:92svh; display:flex; align-items:flex-end; overflow:hidden; }
.hero__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 22%; }
.hero__fade-top{
  position:absolute; top:0; left:0; right:0; height:24%; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom, var(--bg) 0%, rgba(8,7,10,.6) 45%, transparent 100%);
}
.hero__fade-bottom{
  position:absolute; bottom:0; left:0; right:0; height:45%; z-index:1; pointer-events:none;
  background:linear-gradient(to top, var(--bg) 0%, rgba(8,7,10,.7) 40%, transparent 100%);
}
.hero__fade-sides{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 14%),
    linear-gradient(to left, var(--bg) 0%, transparent 14%);
}
.hero__scrim{
  position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(120% 90% at 50% 15%, rgba(224,41,62,.12), transparent 55%),
    linear-gradient(180deg, rgba(8,7,10,.72) 0%, rgba(8,7,10,.5) 35%, rgba(8,7,10,.68) 60%, rgba(8,7,10,.98) 100%);
}
.hero__content{ position:relative; z-index:2; width:100%; max-width:700px; margin:0 auto; padding:0 1.25rem 2.6rem; display:flex; flex-direction:column; gap:1rem; align-items:center; text-align:center; }
.hero__eyebrow{ font-size:.78rem; letter-spacing:.22em; text-transform:uppercase; color:var(--red-light); font-weight:600; margin:0; }
.hero__wordmark{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(2rem, 6.5vw, 3.6rem); letter-spacing:.06em; line-height:1.05; color:var(--ink);
  text-shadow:0 0 40px rgba(224,41,62,.35);
}
.hero__rule{ width:56px; height:1px; background:var(--red); opacity:.7; }
.hero__subtitle{ margin:0; max-width:560px; font-size:clamp(.98rem, 1.8vw, 1.1rem); line-height:1.6; color:var(--ink-muted); }
.hero__subtitle strong{ color:var(--red-light); font-weight:600; }
.hero__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:.8rem; margin-top:.4rem; }
.hero__trust{ font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-muted); margin:.3rem 0 0; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee{ background:var(--bg-panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden; padding:.9rem 0; }
.marquee__track{
  display:flex; width:max-content; gap:2rem; align-items:center; animation:scroll-left 32s linear infinite;
  font-family:var(--font-display); font-weight:600; font-size:.98rem; letter-spacing:.05em;
  color:var(--ink-muted); white-space:nowrap;
}
.marquee__dot{ color:var(--red); font-size:.85rem; }
@keyframes scroll-left{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* =========================================================
   SHOP SECTIONS
   ========================================================= */
.shop-section{ padding:3.5rem 1.25rem; max-width:var(--container); margin:0 auto; }
.shop-section + .shop-section{ border-top:1px solid var(--line); }

.product-grid{
  display:grid; grid-template-columns:1fr; gap:1.4rem; margin-top:2rem;
}
@media (min-width:640px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:980px){ .product-grid{ grid-template-columns:repeat(3,1fr); } }
.product-grid--paired{
  grid-template-columns:repeat(2,1fr);
  gap:.7rem;
}
@media (min-width:640px){ .product-grid--paired{ gap:1.4rem; } }
@media (min-width:980px){ .product-grid--paired{ grid-template-columns:repeat(2,1fr); max-width:820px; margin-left:auto; margin-right:auto; } }

.card{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:6px;
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{ transform:translateY(-4px); border-color:rgba(224,41,62,.4); box-shadow:0 24px 50px -24px var(--shadow); }
.card__badge{
  position:absolute; margin:.8rem; font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  background:var(--red); color:#1a0508; padding:.3rem .6rem; border-radius:3px;
}
.card__media{ position:relative; aspect-ratio:3/4; overflow:hidden; background:var(--bg); }
.card__media img{ width:100%; height:100%; object-fit:contain; }
.card__body{ padding:1.2rem 1.3rem 1.4rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.card__title{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; color:var(--ink); margin:0; line-height:1.25; }
.card__desc{ font-size:.85rem; color:var(--ink-muted); line-height:1.55; margin:0; flex:1; }
.card__price{ display:flex; align-items:baseline; gap:.55rem; flex-wrap:wrap; }
.card__price-now{ font-family:var(--font-display); font-weight:700; font-size:1.35rem; color:var(--red-light); }
.card__price-old{ font-size:.88rem; color:var(--ink-dim); text-decoration:line-through; }
.card .btn{ margin-top:.4rem; }

/* =========================================================
   FAQ (riuso stile standard)
   ========================================================= */
.faq{ padding:4rem 1.25rem 4.5rem; max-width:var(--container); margin:0 auto; }
.faq__list{ max-width:720px; margin:2.4rem auto 0; }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  background:none; border:none; color:var(--ink);
  font-family:var(--font-body); font-size:1rem; font-weight:600; text-align:left;
  padding:1.3rem 0; cursor:pointer;
}
.faq__icon{ position:relative; flex-shrink:0; width:18px; height:18px; }
.faq__icon::before, .faq__icon::after{
  content:''; position:absolute; background:var(--red-light);
  top:50%; left:50%; transform:translate(-50%,-50%); transition:transform .3s ease;
}
.faq__icon::before{ width:14px; height:1px; }
.faq__icon::after{ width:1px; height:14px; }
.faq__item.is-open .faq__icon::after{ transform:translate(-50%,-50%) rotate(90deg) scale(0); }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq__a p{ margin:0 0 1.4rem; color:var(--ink-muted); line-height:1.7; max-width:600px; }
.faq__item.is-open .faq__a{ max-height:260px; }

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.whatsapp-fab{
  position:fixed; right:1.1rem; bottom:1.1rem; z-index:95;
  display:flex; align-items:center; gap:.5rem;
  background:#25D366; color:#08210f; font-weight:700; font-size:.9rem;
  padding:.8rem 1.1rem; border-radius:50px;
  box-shadow:0 12px 28px -10px rgba(37,211,102,.55);
  transition:transform .25s ease;
}
.whatsapp-fab:hover{ transform:translateY(-2px) scale(1.03); }
.whatsapp-fab svg{ width:20px; height:20px; flex-shrink:0; }
@media (max-width:520px){ .whatsapp-fab span{ display:none; } .whatsapp-fab{ padding:.85rem; border-radius:50%; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ padding:3rem 1.25rem 3rem; text-align:center; }
.footer__logo{ font-family:var(--font-display); font-weight:700; letter-spacing:.12em; font-size:1.02rem; margin-bottom:.8rem; }
.footer__copy{ color:var(--ink-dim); font-size:.8rem; margin:0 0 1rem; }
.footer__links{ display:flex; justify-content:center; gap:1.4rem; font-size:.8rem; color:var(--ink-dim); flex-wrap:wrap; }
.footer__links a:hover{ color:var(--red-light); }
.footer__trust{ margin-top:1.4rem; font-size:.78rem; color:var(--ink-dim); }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal{ max-width:760px; margin:0 auto; padding:8rem 1.25rem 5rem; }
.legal__updated{ color:var(--ink-dim); font-size:.85rem; margin-bottom:2.2rem; }
.legal__notice{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:4px;
  padding:1.1rem 1.3rem; font-size:.87rem; color:var(--ink-muted); margin-bottom:2.6rem; line-height:1.6;
}
.legal h1{ font-family:var(--font-display); font-size:clamp(1.7rem,4vw,2.2rem); margin-bottom:.5rem; }
.legal h2{ font-family:var(--font-display); font-size:1.28rem; color:var(--red-light); margin:2.2rem 0 .8rem; }
.legal p, .legal li{ color:var(--ink-muted); line-height:1.75; font-size:.96rem; }
.legal ul{ padding-left:1.3rem; }
.legal a{ color:var(--red-light); text-decoration:underline; }

/* =========================================================
   MOBILE REFINEMENTS
   ========================================================= */
@media (max-width:640px){
  .shop-section{ padding:2.6rem 1.1rem; }
  .hero{ min-height:100svh; }
  .hero__content{ padding-bottom:2rem; }

  .product-grid--paired .card__body{ padding:.8rem .8rem 1rem; gap:.4rem; }
  .product-grid--paired .card__title{ font-size:.88rem; }
  .product-grid--paired .card__desc{ font-size:.74rem; -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
  .product-grid--paired .card__price-now{ font-size:1.05rem; }
  .product-grid--paired .btn{ font-size:.76rem; padding:.6rem .5rem; }
}
