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

:root {
  --bg:        #faf8f5;
  --bg-alt:    #f2efe9;
  --bg-dark:   #1a1a1a;
  --text:      #1a1a1a;
  --text-muted:#6b6560;
  --accent:    #c4a882;
  --white:     #ffffff;
  --border:    #e4dfd8;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', system-ui, sans-serif;

  --nav-h: 72px;
  --max-w: 1200px;
  --section-pad: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }

em { font-style: italic; color: var(--text-muted); }

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

p { color: var(--text-muted); margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--text);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--text); color: var(--white); }

.btn-light {
  border-color: var(--white);
  color: var(--white);
}
.btn-light:hover { background: var(--white); color: var(--text); }

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-label.light { color: var(--accent); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-intro {
  font-size: 16px;
  margin-top: 1.2rem;
}

/* ── IMAGE WRAPPERS ── */
.img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--border);
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-wrap:hover img { transform: scale(1.03); }
.img-wrap.tall   { height: 560px; }
.img-wrap.medium { height: 260px; }

/* ── NAVIGATION ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
  background: rgba(250, 248, 245, 0.96);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; }

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: absolute;
}

/* Hero: logo fundo preto com mix-blend-mode screen (preto fica invisível) */
.logo-dark {
  opacity: 1;
  transform: translateY(0);
  mix-blend-mode: screen;
}
.logo-light {
  opacity: 0;
  transform: translateY(6px);
}

/* Scrolled: trocar para logo com fundo claro */
#nav.scrolled .logo-dark {
  opacity: 0;
  transform: translateY(-6px);
}
#nav.scrolled .logo-light {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover::after { transform: scaleX(1); }
#nav.scrolled .nav-links a { color: var(--text-muted); }
#nav.scrolled .nav-links a:hover { color: var(--text); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
}
#nav.scrolled .burger span { background: var(--text); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-link:last-child { border-bottom: none; }

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.52);
}
#hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 8rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
}
#hero h1 em {
  white-space: nowrap;
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.18em;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 760px;
  animation: fadeUp 1.2s ease both;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
#hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
}
#hero h1 em { color: rgba(255,255,255,0.65); }
.hero-content .btn {
  border-color: rgba(255,255,255,0.85);
  color: var(--white);
  letter-spacing: 0.2em;
}
.hero-content .btn:hover {
  background: var(--white);
  color: var(--text);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.4rem;
}
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.4);
}

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-text { display: flex; flex-direction: column; gap: 0; }
.split-text h2 { margin-bottom: 1.4rem; }
.split-text p { margin-bottom: 1rem; }
.split-text.light h2, .split-text.light .section-label { color: var(--white); }
.split-text.light p { color: rgba(255,255,255,0.6); }

/* ── STATS ── */
.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text);
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--bg);
  overflow: hidden;
  transition: transform 0.3s;
  cursor: default;
}
.service-card:hover { transform: translateY(-4px); }
.service-card:hover .img-placeholder { background: #d8d0c7; }
.service-body {
  padding: 24px 24px 28px;
}
.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.service-body p {
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.testimonial footer {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── CONTACT FORM ── */
.split-form {
  background: var(--bg);
  padding: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
input, select, textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 100px; }
select { cursor: pointer; }
.form-note {
  font-size: 12px;
  color: var(--accent);
  margin: 0;
  min-height: 18px;
}

/* ── CONTACT INFO ── */
.contact-items { display: flex; flex-direction: column; gap: 14px; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-item a, .contact-item span {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--white); }

/* ── BAND QUOTE ── */
.band {
  background: var(--bg-dark);
  padding: 72px 0;
  text-align: center;
}
.band-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 720px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.band-quote footer {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── GALLERY ── */
.gallery { padding: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 4px;
}
.gallery-item {
  overflow: hidden;
  background: var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

/* ── SOCIAL BUTTONS ── */
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.social-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.social-btn:hover {
  border-color: var(--accent);
  color: var(--white);
  background: rgba(196,168,130,0.1);
}

/* ── FOOTER ── */
#footer {
  background: #111;
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
.footer-nav { display: flex; gap: 32px; }
.footer-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { color: var(--accent); }
.footer-copy {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  padding-top: 20px;
  margin: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse { direction: ltr; }
  .split-image { order: -1; }
  .img-wrap.tall { height: 360px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }

  .form-row { grid-template-columns: 1fr; }
  .split-form { padding: 32px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item.tall  { grid-row: span 1; }
  .gallery-item.wide  { grid-column: span 2; }
  .gallery-item { height: 220px; }
}

@media (max-width: 580px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item { height: 220px; }
  .social-row { flex-direction: column; }
}
