/* ============================================
   PETER DE GEE — VOICE-OVER
   Global Stylesheet
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #131313;
  --bg-card: #1a1612;
  --bg-elevated: #1f1a14;
  --ink: #f5f1e8;
  --ink-dim: #a8a097;
  --ink-mute: #6b6359;
  --gold: #c9a961;
  --gold-bright: #e8c878;
  --gold-deep: #8a6f3d;
  --line: rgba(201, 169, 97, 0.18);
  --line-soft: rgba(245, 241, 232, 0.06);
  --line-gold: rgba(201, 169, 97, 0.3);
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 72px;
  --radius: 12px;
  --radius-sm: 6px;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.25em;
  margin-top: 4px;
  font-weight: 500;
}
.nav-desktop {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-desktop a {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  font-weight: 400;
  transition: color 0.25s ease;
  position: relative;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--ink); }
.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}
.header-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.25s ease;
}
.icon-btn:hover { border-color: var(--line-gold); color: var(--gold); }
.nav-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: calc(var(--header-h) + 40px) 24px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--display);
  font-weight: 300;
  font-size: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu nav a span:last-child { color: var(--gold); font-size: 20px; }
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 32px;
  color: var(--ink-mute);
  font-size: 13px;
}
.mobile-menu-foot a { color: var(--gold); display: block; margin-top: 8px; }

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

main { padding-top: var(--header-h); }

section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; }
h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 400; }
h4 { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; }

em { font-style: italic; color: var(--gold-bright); font-weight: 400; }

.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink-dim);
  max-width: 60ch;
  line-height: 1.65;
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-num {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(201, 169, 97, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 97, 0.4);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-soft);
}
.btn-secondary:hover {
  border-color: var(--line-gold);
  color: var(--gold);
}
.btn-ghost {
  color: var(--ink);
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--gold); border-bottom-color: var(--gold); }
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--line); background: var(--bg-elevated); }

.icon-square {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
}
.icon-square svg { width: 22px; height: 22px; }

/* ============================================
   AUDIO PLAYER
   ============================================ */
.audio-player {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.audio-player:hover { border-color: var(--line); }
.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(201, 169, 97, 0.4); }
.play-btn svg { fill: var(--bg); margin-left: 2px; }
.play-btn.playing svg { margin-left: 0; }

.player-body { flex: 1; min-width: 0; }
.player-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 12px; }
.player-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-cat {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.player-bar {
  height: 3px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.player-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
  transition: width 0.1s linear;
}
.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

/* ============================================
   STATUS BADGE
   ============================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 100px;
  font-size: 12px;
  color: #4ade80;
  font-weight: 500;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 72px 0 32px;
  background: var(--bg);
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand h3 {
  font-family: var(--display);
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.footer-brand p { color: var(--ink-mute); font-size: 14px; max-width: 320px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s ease;
}
.footer-socials a:hover { background: var(--gold); color: var(--bg); transform: translateY(-2px); }
.footer-col h4 {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--sans);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink-dim);
  font-size: 14px;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-mute);
  font-size: 12px;
}
.footer-bottom-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-legal a:hover { color: var(--gold); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-tag { display: none; }
  section { padding: 64px 0; }
  .btn { padding: 14px 22px; font-size: 13px; }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.4);
  transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  cursor: pointer;
  color: #1a1206;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--gold-bright);
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #1a1206; }
.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-50%) translateX(8px);
}
.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 600px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float-tooltip { display: none; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}
.cookie-text strong { color: var(--ink); display: block; margin-bottom: 4px; }
.cookie-text a { color: var(--gold); border-bottom: 1px solid var(--line); }
.cookie-text a:hover { color: var(--gold-bright); }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 10px 18px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .cookie-banner { padding: 16px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  font-size: 11px;
  color: var(--ink-mute);
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.lang-switch a {
  color: var(--ink-mute);
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.25s ease;
  text-decoration: none;
}
.lang-switch a.active {
  color: var(--gold);
}
.lang-switch a:hover:not(.active) {
  color: var(--ink);
}
.lang-switch .lang-sep {
  color: var(--ink-mute);
  opacity: 0.5;
}
@media (max-width: 600px) {
  .lang-switch {
    padding: 5px 8px;
    font-size: 10px;
  }
}
