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

:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', ui-serif, Georgia, serif;
  --background: #101214;
  --foreground: #f5f1ec;
  --charcoal: #191b1d;
  --sand: #dbbf99;
  --sand-deep: #b39770;
  --border: rgba(219, 191, 153, 0.15);
  --card: rgba(25, 27, 29, 0.7);
  --primary-foreground: #101214;
  --muted-foreground: #a1a1aa;
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background */
.bg-cinematic {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(52, 44, 35, 0.35), transparent 60%),
    radial-gradient(60% 50% at 80% 100%, rgba(35, 42, 48, 0.5), transparent 70%),
    linear-gradient(#101214, #191b1d);
}
.bg-charcoal { background-color: var(--charcoal); }
.bg-noise { position: relative; }
.bg-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background-color: rgba(16, 18, 20, 0.65);
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
header.visible { opacity: 1; transform: translateY(0); }

.header-nav {
  max-width: 80rem; margin: 0 auto;
  height: 4rem; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem;
}
.logo-link { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 0.5rem; }
.logo-dot {
  height: 0.5rem; width: 0.5rem; border-radius: 50%;
  background-color: rgba(219, 191, 153, 0.5);
  display: inline-block;
}
.logo-text { font-family: var(--font-serif); font-size: 1.125rem; letter-spacing: -0.025em; }
.logo-text em { color: var(--sand); font-style: italic; }

/* Encerrado badge in header */
.badge-encerrado {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(219, 191, 153, 0.3);
  background-color: rgba(219, 191, 153, 0.08);
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(219, 191, 153, 0.7);
}

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 1.25rem 6rem;
}
.blur-orb-1 {
  position: absolute; top: -8rem; left: 50%; transform: translateX(-50%);
  height: 600px; width: 900px; border-radius: 50%;
  background: rgba(219, 191, 153, 0.08); filter: blur(120px); pointer-events: none;
}
.blur-orb-2 {
  position: absolute; bottom: 0; right: 0;
  height: 400px; width: 400px; border-radius: 50%;
  background: rgba(179, 151, 112, 0.08); filter: blur(100px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 10; max-width: 72rem; margin: 0 auto; width: 100%; }

/* Realizado badge */
.badge-realizado {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border-radius: 9999px; border: 1px solid rgba(219, 191, 153, 0.25);
  background-color: rgba(219, 191, 153, 0.07);
  padding: 0.5rem 1.25rem; margin-bottom: 2rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.35em;
  color: rgba(219, 191, 153, 0.75);
  backdrop-filter: blur(8px);
}
.badge-dot {
  height: 6px; width: 6px; border-radius: 50%;
  background: var(--sand); opacity: 0.6;
}

.hero-eyebrow {
  font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.3em; color: rgba(245, 241, 236, 0.55);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.85; letter-spacing: -0.05em; font-weight: 500;
  background: linear-gradient(90deg, #f5f1ec, #dbbf99, #f5f1ec) 0 0 / 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.hero-encerrado-msg {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(245, 241, 236, 0.6);
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero-gratidao {
  margin-top: 1.25rem;
  font-size: 1rem; color: rgba(245, 241, 236, 0.55);
  max-width: 36rem; margin-left: auto; margin-right: auto;
  line-height: 1.75;
}

.divider {
  height: 1px; width: 5rem; margin: 2.5rem auto;
  background: linear-gradient(to right, transparent, rgba(219, 191, 153, 0.5), transparent);
}

.hero-date {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: rgba(245, 241, 236, 0.45);
  text-transform: uppercase; letter-spacing: 0.2em;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Sections */
.section-pad { padding: 6rem 1.25rem; }
.section-pad-sm { padding: 4rem 1.25rem; }

.container-xl { max-width: 80rem; margin: 0 auto; }
.container-lg { max-width: 72rem; margin: 0 auto; }
.container-md { max-width: 56rem; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--sand); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
}

/* Speaker */
.speaker-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .speaker-grid { grid-template-columns: 5fr 7fr; } }

.speaker-img-wrapper {
  position: relative; aspect-ratio: 4/5;
  border-radius: 1rem; overflow: hidden;
  border: 1px solid rgba(219, 191, 153, 0.2);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.speaker-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease-out; }
.speaker-img-wrapper:hover .speaker-img { transform: scale(1.04); }
.speaker-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,27,29,0.75), transparent 55%);
}
.speaker-tag {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--sand);
}

/* Quote */
.quote-text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: rgba(245,241,236,0.75);
  line-height: 1.65; max-width: 38rem;
}
.quote-text em { color: var(--sand); font-style: normal; font-weight: 500; }

/* Timeline */
.timeline-wrap { position: relative; }
.timeline-vline {
  position: absolute; left: 1.5rem; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(219,191,153,0.25), transparent);
}
@media (min-width: 640px) {
  .timeline-vline { left: 50%; transform: translateX(-50%); }
}
.timeline-items { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }

.t-item { position: relative; display: flex; align-items: center; }
.t-dot {
  position: absolute; left: 1.5rem; transform: translateX(-50%);
  height: 12px; width: 12px; border-radius: 50%;
  background-color: var(--sand); z-index: 10;
  box-shadow: 0 0 0 4px var(--background), 0 0 10px rgba(219,191,153,0.3);
}
/* Completed dot style */
.t-dot::after {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--background);
}
@media (min-width: 640px) { .t-dot { left: 50%; } }

.t-card {
  margin-left: 4rem; width: calc(100% - 4rem);
  border-radius: 0.75rem;
  border: 1px solid rgba(219,191,153,0.12);
  background-color: rgba(25, 27, 29, 0.5);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  transition: border-color 0.3s ease;
}
.t-card:hover { border-color: rgba(219,191,153,0.3); }

@media (min-width: 640px) {
  .t-item.left .t-card { margin-left: 0; margin-right: auto; width: 46%; text-align: right; }
  .t-item.right .t-card { margin-left: auto; margin-right: 0; width: 46%; }
  .t-item.left .t-card-header { justify-content: flex-end; }
}

.t-card-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
.t-time { font-family: var(--font-serif); font-size: 1.35rem; color: var(--sand); line-height: 1; }
.t-name { font-size: 0.95rem; font-weight: 500; color: rgba(245,241,236,0.8); }
.t-desc { font-size: 0.8rem; color: var(--muted-foreground); margin-top: 0.25rem; line-height: 1.5; }

/* Completed checkmark */
.check-icon { color: var(--sand); opacity: 0.6; flex-shrink: 0; }

/* CTA Section */
.cta-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(219,191,153,0.2);
  background-color: rgba(25, 27, 29, 0.7);
  backdrop-filter: blur(20px);
  padding: 3rem 1.5rem;
  text-align: center; overflow: hidden;
}
@media (min-width: 640px) { .cta-card { padding: 4rem 3.5rem; } }

.cta-orb-1 {
  position: absolute; top: -5rem; right: -5rem;
  height: 16rem; width: 16rem; border-radius: 50%;
  background: rgba(219,191,153,0.1); filter: blur(60px); pointer-events: none;
}
.cta-orb-2 {
  position: absolute; bottom: -5rem; left: -5rem;
  height: 16rem; width: 16rem; border-radius: 50%;
  background: rgba(35,42,48,0.5); filter: blur(60px); pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  border-radius: 9999px;
  background-color: var(--sand);
  padding: 1rem 2.25rem;
  font-size: 1rem; font-weight: 600;
  color: var(--primary-foreground);
  text-decoration: none;
  transition: transform 0.3s ease;
  animation: breathe 2.8s ease-in-out infinite;
}
.btn-cta:hover { transform: scale(1.04); }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(219,191,153,0.3); }
  50% { box-shadow: 0 0 20px 6px rgba(219,191,153,0.15); }
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(219,191,153,0.35);
  background-color: rgba(219,191,153,0.07);
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--sand);
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-secondary:hover { background-color: var(--sand); color: var(--primary-foreground); transform: scale(1.03); }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background-color: var(--charcoal);
  padding: 2.5rem 1.25rem;
}
.footer-inner {
  max-width: 80rem; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem; font-size: 0.75rem; color: var(--muted-foreground);
}
.footer-brand { font-family: var(--font-serif); font-style: italic; color: var(--sand); font-size: 1rem; }

/* Pulse animation for dot */
@keyframes pulse-soft { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.pulse-soft { animation: pulse-soft 3s ease-in-out infinite; }
