/* ═══════════════════════════════════════════
   FLUIRE DI LUCE — Stile Comune
   Versione 1.0 — Michael Giulietti
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Cinzel:wght@400;600&family=Raleway:wght@300;400;500&display=swap');

:root {
  --oro: #C9A84C;
  --oro-chiaro: #E8D5A3;
  --oro-scuro: #8B6914;
  --indaco: #1a1a4e;
  --indaco-medio: #2d2d7a;
  --blu-notte: #0a0a2e;
  --bianco: #F8F4EE;
  --bianco-caldo: #EDE8DE;
  --testo: #2a2a2a;
  --testo-chiaro: #5a5a5a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bianco);
  color: var(--testo);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; letter-spacing: 0.05em; }
.serif { font-family: 'Cormorant Garamond', serif; }

/* ─── NAVIGAZIONE ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,46,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: all 0.3s ease;
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--oro-chiaro);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-brand span {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.35em;
  color: rgba(201,168,76,0.6);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--oro);
}

.nav-cta {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
  text-decoration: none;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--oro);
  color: var(--blu-notte);
}

/* Menu mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--oro-chiaro);
  transition: all 0.3s ease;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--blu-notte);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  letter-spacing: 0.1em;
  color: var(--bianco);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-mobile a:hover { color: var(--oro); }

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  color: var(--oro-chiaro);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Cinzel', serif;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--blu-notte);
  padding: 60px 40px 32px;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.footer-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--oro);
  margin-bottom: 8px;
}

.footer-brand-sub {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248,244,238,0.4);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(248,244,238,0.5);
  line-height: 1.7;
}

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--oro);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(248,244,238,0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--oro); }

.footer-contatti p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: rgba(248,244,238,0.5);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.footer-contatti a {
  color: var(--oro-chiaro);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contatti a:hover {
  color: var(--oro);
}

.footer-bottom {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(201,168,76,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(248,244,238,0.2);
  text-transform: uppercase;
}

/* ─── COMPONENTI COMUNI ─── */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  border: 1px solid var(--oro);
  color: var(--oro-chiaro);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--oro);
  color: var(--blu-notte);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--oro), #a8863a);
  color: var(--blu-notte);
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--oro-chiaro), var(--oro));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}

.btn-link {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 2px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-link:hover {
  color: var(--indaco);
  border-color: var(--indaco);
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 300px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--oro));
}

.divider-line.right {
  background: linear-gradient(90deg, var(--oro), transparent);
}

.divider-symbol { color: var(--oro); font-size: 14px; }

.section-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 16px;
}

.section-label-bgchiaro {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--oro-scuro);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--indaco);
  margin-bottom: 40px;
  line-height: 1.3;
}

.section-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--oro);
}

.highlight-box {
  border-left: 2px solid var(--oro);
  padding: 24px 28px;
  background: white;
  margin: 32px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--indaco);
  line-height: 1.7;
}

.container { max-width: 760px; margin: 0 auto; }
.container-wide { max-width: 960px; margin: 0 auto; }

section { padding: 100px 24px; }

.page-content { padding-top: 80px; }

/* ─── HERO MINI (per pagine interne) ─── */
.hero-mini {
  min-height: 60vh;
  background: linear-gradient(160deg, var(--blu-notte) 0%, var(--indaco) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-mini-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--oro-chiaro);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero-mini h1 {
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  color: var(--bianco);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero-mini h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--oro-chiaro);
}

.hero-mini-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: rgba(248,244,238,0.65);
  position: relative;
  z-index: 1;
  max-width: 560px;
}

/* ─── ANIMAZIONI ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 16px 24px; }
  section { padding: 70px 20px; }
}
