/* ============================================================
   PRIVACY PAGE – css/privacy.css
   Stili specifici della pagina Privacy & Cookie Policy
   ============================================================ */

/* ── Hero ── */
.privacy-hero {
  background: var(--clr-bg, #0B1E3A);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47,111,237,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.privacy-hero .section-tag {
  color: var(--clr-gold, #C9A96E);
  border-color: rgba(201,169,110,0.3);
}

.privacy-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: #ffffff;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.02em;
}

.privacy-hero h1 em {
  font-style: italic;
  color: var(--clr-gold, #C9A96E);
}

.privacy-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* ── Main Section ── */
.privacy-section {
  background: var(--clr-bg, #F8F6F2);
  padding: 60px 0 80px;
}

/* ── Tabs ── */
.privacy-tabs {
  display: flex;
  gap: 4px;
  background: rgba(11,30,58,0.06);
  border-radius: 12px;
  padding: 4px;
  max-width: 400px;
  margin: 0 auto 48px;
}

.privacy-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted, #6B7280);
  cursor: pointer;
  border-radius: 9px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.privacy-tab-btn.active {
  background: var(--clr-bg, #0B1E3A);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11,30,58,0.3);
}

.privacy-tab-btn:not(.active):hover {
  color: var(--clr-bg, #0B1E3A);
  background: rgba(11,30,58,0.08);
}

/* ── Content Panels ── */
.privacy-panel {
  display: none;
  animation: privacyFadeIn 0.4s ease both;
}

.privacy-panel.active {
  display: block;
}

@keyframes privacyFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Legal Card ── */
.legal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(11,30,58,0.07);
  max-width: 860px;
  margin: 0 auto;
}

.legal-date {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-gold, #C9A96E);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  padding: 6px 14px;
  background: rgba(201,169,110,0.1);
  border-radius: 20px;
}

.legal-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--clr-bg, #0B1E3A);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11,30,58,0.1);
}

.legal-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-bg, #0B1E3A);
  margin-top: 32px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-card h3::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 18px;
  background: var(--clr-gold, #C9A96E);
  border-radius: 2px;
  flex-shrink: 0;
}

.legal-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-card ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 20px;
}

.legal-card ul li {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.7;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid rgba(11,30,58,0.05);
  position: relative;
}

.legal-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--clr-gold, #C9A96E);
  font-weight: 700;
  font-size: 1.1rem;
}

.legal-card ul li:last-child {
  border-bottom: none;
}

.legal-card a {
  color: var(--clr-bg, #0B1E3A);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--clr-gold, #C9A96E);
}

/* ── Highlight Box ── */
.legal-highlight {
  background: rgba(11,30,58,0.04);
  border-left: 3px solid var(--clr-gold, #C9A96E);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-highlight p {
  margin: 0;
  font-size: 0.9rem;
}

/* ── Back Button ── */
.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text, #DCE6F5);
  text-decoration: none;
  margin-bottom: 32px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.legal-back-btn:hover { opacity: 1; }
.legal-back-btn::before { content: '←'; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .legal-card { padding: 28px 20px; }
  .privacy-hero { padding: 100px 20px 50px; }
}
