/**
 * vektora.css — Design system condiviso
 * ════════════════════════════════════════════════════
 * Importato in ogni pagina. Coerente con il logo e il brand Vektora.
 */

:root {
  --oro:        #C9A84C;
  --oro-chiaro: #E8C97A;
  --nero:       #0D0D0D;
  --nero-card:  #1A1A1A;
  --grigio:     #2E2E2E;
  --testo:      #E8E0D0;
  --testo-soft: #A89880;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--nero);
  color: var(--testo);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: var(--font-display); }
.text-oro   { color: var(--oro); }
.border-oro { border-color: var(--oro); }
.bg-oro     { background-color: var(--oro); }

.divider {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--oro);
  margin: 0 auto;
}

/* ═══ NAVBAR (condivisa) ═══ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(13,13,13,0.97);
  box-shadow: 0 1px 0 rgba(201,168,76,0.3);
}
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

/* ═══ BOTTONI ═══ */
.btn-oro {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--oro);
  border: 1px solid var(--oro);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}
.btn-oro:hover { background: var(--oro); color: var(--nero); }
.btn-oro-solid { background: var(--oro); color: var(--nero); }
.btn-oro-solid:hover { background: var(--oro-chiaro); color: var(--nero); }

/* ═══ SEZIONI ═══ */
.section-pad { padding: 6rem 1.5rem; }

@media (max-width: 768px) {
  .section-pad { padding: 4rem 1.25rem; }
}

/* ═══ CARD GENERICA ═══ */
.card-vektora {
  background: var(--nero-card);
  border: 1px solid rgba(201,168,76,0.2);
  transition: border-color 0.3s, transform 0.3s;
}
.card-vektora:hover {
  border-color: var(--oro);
  transform: translateY(-4px);
}

/* ═══ FOCUS VISIBILE (accessibilità) ═══ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 2px;
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ═══ WHATSAPP FLOAT (condiviso) ═══ */
#wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 90;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.25s;
}
#wa-float:hover { transform: scale(1.1); }
