/* ==========================================================================
   DJ TATI DA VILA — Stylesheet
   ========================================================================== */

:root {
  --teal: #1A857A;
  --teal-dark: #0F4F47;
  --teal-light: #A8E6DC;
  --bg: #FAFAF6;
  --bg-alt: #F0EBE2;
  --whats: #25D366;
  --whats-dark: #063F1A;
  --text: #1A2E2C;
  --text-2: #5E5E5A;
  --text-3: #9C9684;
  --border: #E8E6DF;
  --border-2: #D4CFC2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.serif { font-family: Georgia, "Times New Roman", serif; }

/* ============== HEADER ============== */

.header {
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header img.logo { height: 28px; width: auto; }

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--text-2);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  padding: 4px 8px;
}

/* ============== HERO ============== */

.hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--teal-dark);
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 28px;
  color: var(--bg);
  max-width: 600px;
}

.tagline {
  font-size: 12px;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  margin: 0 0 28px;
  font-weight: 500;
}

.hero-content p.sub {
  font-size: 15px;
  color: #E8F2F0;
  margin: 0 auto 32px;
  line-height: 1.7;
  max-width: 460px;
}

/* ============== BUTTONS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
  font-family: inherit;
}

.btn:hover { opacity: 0.92; }
.btn:active { transform: translateY(1px); }

.btn-whats { background: var(--whats); color: var(--whats-dark); }
.btn-teal { background: var(--teal); color: var(--bg); }
.btn-ghost-light { background: transparent; border: 1px solid var(--bg); color: var(--bg); }
.btn-ghost-teal { background: transparent; border: 1px solid var(--teal); color: var(--teal); }

.ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============== SECTIONS ============== */

.section {
  padding: 64px 28px;
  border-top: 1px solid var(--border);
}

.section.alt { background: var(--bg-alt); }

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

.section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--teal);
  margin: 0 0 12px;
  text-align: center;
  font-weight: 500;
}

.section-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin: 0 auto 40px;
  letter-spacing: -0.01em;
  max-width: 480px;
  line-height: 1.3;
}

/* ============== FEATURES (3 col) ============== */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feat { text-align: center; }
.feat-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  color: var(--teal);
}
.feat h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.feat p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.7;
}

/* ============== EVENTS (2x2) ============== */

.events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 740px;
  margin: 0 auto;
}

.ev {
  background: var(--bg);
  border: 1px solid var(--border-2);
  padding: 26px;
  border-radius: 6px;
}

.ev h3 {
  font-size: 12px;
  color: var(--teal);
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ev p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.65;
}

/* ============== TIMELINE ============== */

.timeline {
  max-width: 540px;
  margin: 0 auto;
}

.tl {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.tl:last-child { border: none; }

.tl-year {
  font-size: 14px;
  color: var(--teal);
  font-weight: 500;
  min-width: 50px;
  letter-spacing: 0.04em;
}

.tl-text {
  font-size: 14px;
  color: var(--text);
  flex: 1;
  line-height: 1.6;
}

.tl-text strong { color: var(--teal); font-weight: 500; }

/* ============== SPLIT ============== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.split img { border-radius: 6px; }

.split-text h2, .split-text h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.split-text p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0 0 16px;
}

.split-text p:last-child { margin: 0; }

/* ============== CTA FINAL ============== */

.cta-final {
  text-align: center;
  padding: 80px 28px 64px;
  border-top: 1px solid var(--border);
}

.cta-final h2 {
  font-size: 28px;
  color: var(--text);
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.cta-final p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 auto 32px;
  line-height: 1.65;
  max-width: 460px;
}

/* ============== PAGE HERO (interior pages) ============== */

.page-hero {
  padding: 72px 28px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--teal);
  margin: 0 0 18px;
  font-weight: 500;
}

.page-title {
  font-size: 44px;
  font-weight: 300;
  color: var(--text);
  margin: 0 auto 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 560px;
}

.page-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
}

/* ============== STATS ============== */

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 460px;
  margin: 0 auto;
}

.val {
  text-align: center;
  padding: 28px 12px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 6px;
}

.val-num {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--teal);
  margin: 0 0 8px;
  line-height: 1;
}

.val-t {
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.4;
}

/* ============== SETS PAGE ============== */

.sets {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.set {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 26px;
}

.set-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.set-num {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  min-width: 32px;
}

.set-cat {
  font-size: 10px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  margin: 0 0 4px;
}

.set h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px;
}

.set-desc {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.65;
}

.set-embed {
  margin-top: 16px;
  padding: 18px;
  background: #1a2e2c;
  border-radius: 6px;
  text-align: center;
  color: var(--teal-light);
  font-size: 12px;
}

/* ============== GALERIA ============== */

.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 28px;
  flex-wrap: wrap;
}

.filter {
  font-size: 12px;
  padding: 7px 16px;
  border: 1px solid var(--border-2);
  border-radius: 99px;
  color: var(--text-2);
  cursor: pointer;
  letter-spacing: 0.04em;
  background: var(--bg);
  font-family: inherit;
  transition: all 0.2s;
}

.filter:hover { border-color: var(--teal); color: var(--teal); }

.filter.active {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.g-item {
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.g-item.wide { grid-column: span 2; }

.g-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  color: var(--bg);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.g-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--bg);
  pointer-events: none;
}

.g-caption strong {
  display: block;
  font-size: 9px;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  font-weight: 500;
}

.g-caption p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ============== ORÇAMENTO ============== */

.guarantees {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 28px;
  flex-wrap: wrap;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.gua {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.gua svg { color: var(--teal); flex-shrink: 0; }

.split-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}

.form-section {
  padding: 56px 36px;
  border-right: 1px solid var(--border);
}

.contact-section {
  padding: 56px 32px;
  background: var(--bg-alt);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 11px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.field .req { color: var(--teal); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.field textarea { min-height: 90px; resize: vertical; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.cbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.cbox input { width: 16px; height: 16px; accent-color: var(--teal); }

.submit-btn {
  margin-top: 12px;
  width: 100%;
  padding: 16px;
  background: var(--teal);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.submit-btn:hover { opacity: 0.92; }

.contact-section h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 10px;
}

.contact-section .sub {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-2);
}

.contact-item:last-of-type { border: none; }

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-item .meta {
  display: block;
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
  font-weight: 500;
}

.contact-item p { font-size: 14px; color: var(--text); margin: 0; line-height: 1.4; }

.wa-cta {
  margin-top: 28px;
  width: 100%;
  padding: 16px;
  background: var(--whats);
  color: var(--whats-dark);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.wa-cta:hover { opacity: 0.92; }

/* ============== FAQ ============== */

.faq {
  padding: 64px 28px;
  border-top: 1px solid var(--border);
}

.faq-title {
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  margin: 0 auto 40px;
  letter-spacing: -0.01em;
}

.faq-list { max-width: 600px; margin: 0 auto; }

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border: none; }

.faq-q {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 10px;
}

.faq-a {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.7;
}

/* ============== FORM SUCCESS / ERROR ============== */

.alert {
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 18px;
  font-size: 13px;
}

.alert-success { background: #E8F5E8; color: #1B5E20; border: 1px solid #C5E1C5; }
.alert-error { background: #FBEAEA; color: #B71C1C; border: 1px solid #F0C5C5; }

/* ============== FOOTER ============== */

.footer {
  padding: 40px 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.03em;
  background: var(--bg-alt);
}

.footer img { height: 24px; margin: 0 auto 18px; opacity: 0.85; }

.f-soc {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
}

.f-soc a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--teal);
  transition: all 0.2s;
}

.f-soc a:hover { background: var(--teal); color: var(--bg); }

.footer p { margin: 0; }
.footer p + p { margin-top: 8px; }

/* ============== WHATSAPP FLUTUANTE ============== */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: var(--whats);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whats-dark);
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.08); }

/* ============== MOBILE ============== */

@media (max-width: 760px) {
  .header { padding: 14px 18px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 20px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  }
  .menu-toggle { display: block; }

  .hero { min-height: 380px; }
  .hero-content { padding: 48px 20px; }
  .tagline { font-size: 11px; letter-spacing: 0.28em; }
  .hero-content p.sub { font-size: 14px; }

  .section { padding: 48px 20px; }
  .section-title, .faq-title, .cta-final h2 { font-size: 22px; }
  .page-title { font-size: 32px; }
  .page-hero { padding: 56px 20px 40px; }

  .features { grid-template-columns: 1fr; gap: 28px; }
  .events { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split img { max-width: 100%; }

  .gallery { grid-template-columns: repeat(2, 1fr); padding: 18px; }
  .g-item.wide { grid-column: span 2; }

  .split-form { grid-template-columns: 1fr; }
  .form-section { padding: 40px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .contact-section { padding: 40px 20px; }
  .field-grid { grid-template-columns: 1fr; }

  .filters { padding: 24px 18px; }

  .wa-float { bottom: 18px; right: 18px; width: 50px; height: 50px; }

  .footer { padding: 32px 20px; }
}

@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .g-item.wide { grid-column: span 1; }
  .values { grid-template-columns: 1fr; gap: 12px; }
  .ctas .btn { font-size: 11px; padding: 11px 18px; }
}
