/* Maná Eventos — shared styles */

:root {
  --sage: #CCD5AE;
  --sage-light: #E9EDC9;
  --cream: #FEFAE0;
  --tan: #FAEDCD;
  --terracotta: #D4A373;
  --ink: #2E2B1F;
  --muted: #5A5641;
  --label: #8A6B45;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--ink); }

input::placeholder, textarea::placeholder { color: #A39F8C; }
input, textarea, select { outline: none; }

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

.wrap { max-width: 1360px; margin: 0 auto; }

button { font-family: 'Archivo', sans-serif; }

.btn {
  border: none;
  padding: 17px 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: inline-block;
}
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #45412e; color: var(--cream); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-terracotta { background: var(--terracotta); color: var(--ink); }
.btn-terracotta:hover { background: #c08f5f; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.eyebrow .rule { width: 36px; height: 2px; background: var(--terracotta); }
.eyebrow .label { color: var(--label); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; }

.section-tag {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-tag .num { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--terracotta); }
.section-tag h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.6vw, 38px); margin: 0; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--sage);
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav-brand span { font-family: 'Playfair Display', serif; font-size: 17px; letter-spacing: 0.04em; }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  padding-bottom: 6px;
}
.nav-link.active { color: var(--terracotta); text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 6px; }

.nav-cta { flex-shrink: 0; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-burger span { width: 24px; height: 2px; background: var(--ink); display: block; }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--sage);
  display: none;
  flex-direction: column;
  padding: 20px 48px;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { align-self: flex-start; }
.mobile-menu .btn { align-self: flex-start; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-burger { display: flex !important; }
}

/* ── Home hero ───────────────────────────────────────────────────── */
.hero {
  padding: 72px 48px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.12;
  margin: 0 0 26px;
}
.hero h1 .accent { color: var(--terracotta); }
.hero p.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  min-width: 0;
}
.hero-media .backdrop {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 100%;
  height: 100%;
  background: var(--sage);
  z-index: 0;
}
.hero-media img {
  position: relative;
  width: 100%;
  height: 480px;
  object-fit: cover;
  z-index: 1;
}

/* ── Stats band ──────────────────────────────────────────────────── */
.stats-band { background: var(--sage-light); padding: 40px 48px; }
.stats-band .wrap { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat { padding: 0 48px; text-align: center; border-right: 1px solid #B9C08C; }
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 34px; }
.stat .cap { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-top: 6px; }

.stats-band-dark { background: var(--ink); padding: 44px 48px; }
.stats-band-dark .wrap { display: flex; gap: 64px; flex-wrap: wrap; }
.stats-band-dark .num { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--terracotta); }
.stats-band-dark .cap { font-size: 12px; color: #C7C4B3; letter-spacing: 0.06em; margin-top: 6px; }

/* ── Service cards (home) ────────────────────────────────────────── */
.section { padding: 96px 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.svc-card {
  background: var(--cream);
  border: 1px solid var(--sage);
  cursor: pointer;
  display: block;
}
.svc-card .bar { height: 5px; }
.svc-card .body { padding: 28px 22px; }
.svc-card .num { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--label); margin-bottom: 18px; }
.svc-card h3 { font-family: 'Playfair Display', serif; font-size: 21px; margin: 0 0 12px; }
.svc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 20px; }
.svc-card .more { font-size: 13px; font-weight: 700; color: var(--ink); }

/* ── About preview (home) ───────────────────────────────────────── */
.about-preview { background: var(--tan); padding: 96px 48px; }
.about-preview .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.about-preview .media { position: relative; min-width: 0; }
.about-preview .media .backdrop {
  position: absolute; top: -20px; right: -20px;
  width: 100%; height: 100%; background: var(--terracotta); z-index: 0;
}
.about-preview .media img { position: relative; width: 100%; height: 400px; object-fit: cover; z-index: 1; }
.about-preview h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 22px; line-height: 1.25; }
.about-preview p { font-size: 15.5px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
.about-preview .more { color: var(--ink); font-weight: 700; cursor: pointer; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* ── Gallery preview (home) ─────────────────────────────────────── */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.gallery-preview-grid img { width: 100%; height: 300px; object-fit: cover; }
.gallery-preview-grid img.tall { height: 340px; margin-top: 0; }
.gallery-preview-grid img.short { margin-top: 40px; }

/* ── CTA band ───────────────────────────────────────────────────── */
.cta-band { background: var(--terracotta); padding: 80px 48px; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3.2vw, 32px); color: var(--ink); margin: 0 0 12px; max-width: 480px; }
.cta-band p { color: #4A3A22; font-size: 15px; margin: 0; max-width: 460px; }

.cta-band-dark { background: var(--ink); padding: 80px 48px; text-align: center; }
.cta-band-dark .rule { width: 36px; height: 2px; background: var(--terracotta); margin: 0 auto 22px; }
.cta-band-dark h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.6vw, 34px); color: var(--cream); margin: 0 0 14px; }
.cta-band-dark p { color: #C7C4B3; font-size: 15px; margin: 0 0 30px; }

/* ── Page header (Serviços / Galeria / Sobre / Contato) ────────── */
.page-head { padding: 80px 48px 48px; }
.page-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4.4vw, 46px); margin: 0 0 16px; }
.page-head p { color: var(--muted); font-size: 16px; margin: 0; line-height: 1.6; }

.servicos-head { padding: 80px 48px 56px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: end; }
.servicos-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4.4vw, 46px); margin: 0 0 18px; line-height: 1.15; }
.servicos-head p { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0; line-height: 1.6; }
.servicos-head .rule { height: 4px; background: var(--sage); width: 100%; }

/* ── Serviços rows ───────────────────────────────────────────────── */
.services-list { padding: 24px 48px 40px; display: flex; flex-direction: column; }
.svc-row { padding: 64px 0; border-top: 1px solid var(--sage); }
.svc-row.bg-tan { background: var(--tan); }
.svc-row .wrap {
  max-width: 1264px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.svc-row .big-num { font-family: 'Playfair Display', serif; font-size: 56px; color: var(--terracotta); line-height: 1; }
.svc-row h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin: 0 0 14px; }
.svc-row .desc { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 20px; }
.svc-row .feature-list { display: flex; flex-direction: column; gap: 10px; }
.svc-row .feature { display: flex; align-items: center; gap: 10px; }
.svc-row .feature .tick { width: 18px; height: 2px; background: var(--terracotta); flex-shrink: 0; }
.svc-row .feature span.label { font-size: 14px; color: var(--ink); }
.svc-row .media { position: relative; min-height: 280px; min-width: 0; }
.svc-row .media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ── Galeria ─────────────────────────────────────────────────────── */
.gallery-body { padding: 0 48px 96px; }
.gallery-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.gallery-tab {
  padding: 11px 22px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--sage);
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.gallery-tab.active { background: var(--terracotta); color: var(--ink); border-color: var(--terracotta); font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-item { overflow: hidden; }
.gallery-item.h-tall { height: 320px; }
.gallery-item.h-short { height: 260px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item.hidden { display: none; }

/* ── Sobre ───────────────────────────────────────────────────────── */
.mission {
  padding: 96px 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.mission .media { position: relative; min-width: 0; }
.mission .media .backdrop { position: absolute; top: 20px; left: -20px; width: 100%; height: 100%; background: var(--sage); z-index: 0; }
.mission .media img { position: relative; width: 100%; height: 440px; object-fit: cover; z-index: 1; }
.mission h2 { font-family: 'Playfair Display', serif; font-size: 30px; margin: 0 0 20px; }
.mission p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
.mission blockquote {
  border-left: 3px solid var(--terracotta);
  padding: 4px 0 4px 22px;
  margin: 0;
}
.mission blockquote p.quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
}
.mission blockquote .who { font-size: 13px; font-weight: 700; color: var(--label); letter-spacing: 0.04em; }

.values-section { padding: 0 48px 96px; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value-card { padding: 32px 26px; }
.value-card.bg-sage { background: var(--sage-light); }
.value-card.bg-tan { background: var(--tan); }
.value-card .num { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--label); margin-bottom: 16px; }
.value-card h4 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 0 0 12px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── Contato ─────────────────────────────────────────────────────── */
.contact-body {
  padding: 0 48px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 72px;
}
.contact-body h2 { font-family: 'Playfair Display', serif; font-size: 26px; margin: 0 0 30px; }

.success-note { background: var(--sage-light); padding: 26px; border-left: 3px solid var(--terracotta); font-size: 15px; }

form.contact-form { display: flex; flex-direction: column; gap: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--label); }
.field input, .field select, .field textarea {
  width: 100%;
  margin-top: 10px;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sage);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.contact-form .submit { align-self: flex-start; margin-top: 10px; }

.info-list { display: flex; flex-direction: column; gap: 0; }
.info-list .item { padding: 22px 0; border-top: 1px solid var(--sage); }
.info-list .item.last { border-bottom: 1px solid var(--sage); }
.info-list .k { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--label); }
.info-list .v { font-size: 16px; margin-top: 6px; }

.social-block { margin-top: 30px; }
.social-block .label { color: var(--label); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; margin-bottom: 14px; }
.social-block .links { display: flex; gap: 22px; font-size: 14px; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { background: var(--sage); padding: 64px 48px 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 15px; }
.footer-grid p { font-size: 14px; color: #3F3C2E; line-height: 1.6; max-width: 260px; margin: 0 0 16px; }
.footer-social { display: flex; gap: 16px; font-size: 14px; }
.footer-social a { color: var(--ink); }
.footer-col-title { color: #5C4324; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink); }
.footer-links a, .footer-links span { color: var(--ink); cursor: pointer; }
.footer-bottom {
  max-width: 1360px;
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid #B9C08C;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #4A472F;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero,
  .about-preview .wrap,
  .mission {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-preview .media,
  .mission .media {
    order: -1;
  }
  .services-grid,
  .gallery-preview-grid,
  .values-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-body { grid-template-columns: 1fr; gap: 48px; }
  .servicos-head { grid-template-columns: 1fr; }
  .svc-row .wrap { grid-template-columns: 1fr; }
  .svc-row .media { min-height: 220px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 640px) {
  .nav, .hero, .section, .page-head, .servicos-head,
  .about-preview, .mission, .values-section, .contact-body,
  .gallery-body, .cta-band, .cta-band-dark, .stats-band, .stats-band-dark,
  .site-footer, .services-list, .mobile-menu {
    padding-left: 24px;
    padding-right: 24px;
  }
  .services-grid, .gallery-preview-grid, .values-grid, .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .stats-band .wrap, .stats-band-dark .wrap { justify-content: flex-start; }
  .stat { border-right: none; padding: 0 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
