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

/* ─── SPLIT REVERSE ─ */
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

/* ─── DIVIDER ─ */
.divider {
  width: 60px;
  height: 1px;
  background: rgba(200,169,110,0.35);
  margin: 2.5rem auto;
}

/* ─── BLOCKQUOTE ─ */
blockquote {
  border-left: 3px solid rgba(200,169,110,0.45);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* ─── GALLERY CARD FULL OVERFLOW ─ */
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* ─── DESIGN SYSTEM ─────────────────────────────────────────── */
:root {
  --accent:        #c8a96e;
  --accent-light:  #e2c98a;
  --text-primary:  #1a1a1a;
  --text-light:    #f8f6f1;
  --text-muted:    rgba(255,255,255,0.6);

  /* Glass – cinza translúcido com mais profundidade */
  --glass-bg:      rgba(15, 12, 8, 0.52);
  --glass-border:  rgba(255, 255, 255, 0.14);
  --glass-shadow:  rgba(0, 0, 0, 0.45);
  --glass-blur:    28px;

  /* Text shadows */
  --shadow-heading: 0 2px 20px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9);
  --shadow-body:    0 1px 8px rgba(0,0,0,0.6);
  --shadow-accent:  0 0 30px rgba(200,169,110,0.2);

  --radius-lg:  28px;
  --radius-md:  16px;
  --radius-sm:  8px;

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.6s;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-light);
  background: #1a1510;
  -webkit-font-smoothing: antialiased;
}

/* ─── BACKGROUND FIXO COM A LAGOA ───────────────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.38) sepia(0.15);
  transform: scale(1.05);
  animation: slow-drift 40s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes slow-drift {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.1)  translate(-2%, -1%); }
}

/* Vinheta suave nas bordas */
.bg-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(10,8,5,0.55) 100%);
}

/* ─── CONTEÚDO PRINCIPAL ────────────────────────────────────── */
#main-content {
  position: relative;
  z-index: 10;
}

/* ─── GLASSMORPHISM ─────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(130%) brightness(0.9);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(130%) brightness(0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 40px var(--glass-shadow),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.25);
}

/* ─── OVERLAY CONTRATO ──────────────────────────────────────── */
#contract-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  /* fundo com a lagoa desfocada */
  background: url('assets/Pedalinhos historico.jpg') center/cover no-repeat;
}

#contract-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 5, 0.65);
  backdrop-filter: blur(8px);
}

.contract-card {
  position: relative;
  max-width: 560px;
  width: 100%;
  padding: 3.5rem;
  text-align: center;
  animation: rise 0.9s var(--ease) both;
}

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

.contract-card .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.contract-card h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

.contract-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.terms-list {
  list-style: none;
  margin: 0 0 2rem;
  text-align: left;
}

.terms-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.terms-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── BOTÕES ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.4rem;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #1a1208;
  box-shadow: 0 6px 20px rgba(200,169,110,0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200,169,110,0.45);
}

.link-ghost {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1.2rem;
  display: inline-block;
  transition: color 0.3s;
}
.link-ghost:hover { color: var(--accent); }

/* ─── HERO ──────────────────────────────────────────────────── */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

#hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -3px;
  margin-bottom: 1.5rem;
  text-shadow: var(--shadow-heading);
}

.title-word {
  display: block;
}

.title-word.dim {
  color: rgba(255,255,255,0.85);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 2px 24px rgba(0,0,0,0.8);
}

.title-word.bright {
  color: #fff;
  text-shadow: var(--shadow-heading);
}

.title-word.gold {
  color: var(--accent-light);
  text-shadow: var(--shadow-accent), var(--shadow-heading);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 400;
  text-shadow: var(--shadow-body);
}

.hero-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  animation: bob 2.5s ease-in-out infinite;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.3);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── SECTIONS ──────────────────────────────────────────────── */
section {
  position: relative;
  padding: 9rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.8rem;
  text-shadow: var(--shadow-accent);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: var(--shadow-heading);
}

.section-title em {
  font-style: italic;
  color: var(--accent-light);
  text-shadow: var(--shadow-accent);
}

.body-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 600px;
  text-shadow: var(--shadow-body);
}

/* ─── SPLIT LAYOUT ──────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── IMAGEM COM FRAME ──────────────────────────────────────── */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.img-frame:hover img { transform: scale(1.04); }

.img-frame .img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* ─── TIMELINE ──────────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.75rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.tl-item {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  position: relative;
}

.tl-dot {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid rgba(200,169,110,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(200,169,110,0.08);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  margin-top: 4px;
}

.tl-content h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: var(--shadow-heading);
}

.tl-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  text-shadow: var(--shadow-body);
}

/* ─── PERSONAGENS ───────────────────────────────────────────── */
.chars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .chars-grid { grid-template-columns: 1fr; }
}

.char-card {
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.char-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,169,110,0.5);
}

.char-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 2px solid rgba(200,169,110,0.5);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.char-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(200,169,110,0.4);
  background: rgba(200,169,110,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.char-role {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,169,110,0.35);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.char-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: var(--shadow-heading);
}

.char-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  text-shadow: var(--shadow-body);
}

/* ─── GALERIA ───────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.gallery-card:hover img { transform: scale(1.06); }

.gallery-card .g-label {
  padding: 1.2rem 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.gallery-card .g-label strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  font-family: var(--serif);
  text-shadow: var(--shadow-heading);
}

/* ─── FATOS REAIS ───────────────────────────────────────────── */
.facts-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.fact-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.fact-item:last-child { border-bottom: none; }

.fact-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(200,169,110,0.2);
  line-height: 1;
  min-width: 3rem;
}

.fact-item h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
  text-shadow: var(--shadow-accent);
}

.fact-item p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.75;
  text-shadow: var(--shadow-body);
}

/* ─── ROTEIRO STATS ─────────────────────────────────────────── */
.script-box {
  padding: 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.script-box .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 3rem;
  font-style: italic;
  font-family: var(--serif);
  text-shadow: var(--shadow-body);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
}

.stat-item { text-align: center; }

.stat-value {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
  text-shadow: var(--shadow-heading);
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,8,5,0.0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: all 0.5s var(--ease);
}

nav.scrolled {
  background: rgba(10,8,5,0.55);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  letter-spacing: 1px;
  text-shadow: var(--shadow-body);
}

.nav-logo span {
  color: var(--accent-light);
  text-shadow: var(--shadow-accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s, text-shadow 0.3s;
  text-shadow: var(--shadow-body);
}

.nav-links a:hover {
  color: var(--accent-light);
  text-shadow: var(--shadow-accent);
}

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 10;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
}

/* ─── REVEAL ON SCROLL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden { display: none !important; }

/* ─── REGISTRO LEGAL ─ */
.reg-row {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.reg-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  min-width: 80px;
}

.reg-val {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  text-shadow: var(--shadow-body);
}

/* ─── MOBILE OPTIMIZATIONS (iOS & Android) ─ */
@media (max-width: 768px) {
  section {
    padding: 5rem 1.25rem;
  }
  
  .contract-card {
    padding: 2rem 1.5rem;
  }
  
  .contract-card h2 {
    font-size: 1.6rem;
  }
  
  .tl-item {
    gap: 1.25rem;
  }
  
  .tl-dot {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 0.7rem;
  }
  
  .timeline::before {
    left: 1.4rem;
  }
  
  .btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
  }
  
  .script-box {
    padding: 2.5rem 1.5rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-inner div[style*="display:flex"] {
    justify-content: center;
  }
}

