/* ============ Tokens (paleta LOGOFF) ============ */
:root {
  --preto: #1a1a1a;
  --verde: #5f6f52;
  --verde-escuro: #4b5941;
  --terracota: #a97155;
  --terracota-escuro: #8f5d44;
  --bege: #efece6;
  --bege-claro: #f7f5f1;
  --salvia: #8ea7a2;
  --salvia-escuro: #79948e;

  --font-body: 'Inter', sans-serif;
  --font-display: 'Fraunces', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bege);
  color: var(--preto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--terracota);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

/* ============ Header ============ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px clamp(20px, 5vw, 56px);
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
#site-header.scrolled {
  padding: 12px clamp(20px, 5vw, 56px);
  background: rgba(247, 245, 241, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -12px rgba(26, 26, 26, .15);
}
/* Header sits over the dark hero photo until scrolled — keep it legible */
#site-header:not(.scrolled) .brand-name { color: #fff; opacity: .92; }

.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo-mini { display: flex; align-items: center; gap: 10px; }
.logo-circle {
  width: 36px; height: 36px; border-radius: 50%; background: var(--preto);
  color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: .2px; transition: color .3s ease; }

.nav-cta {
  background: var(--verde); color: #fff; padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: background .2s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--verde-escuro); transform: translateY(-1px); }

/* ============ Shared: kickers, buttons, status line ============ */
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--verde-escuro);
}
.kicker--light { color: rgba(255,255,255,.85); }

.status-line {
  margin-top: 22px; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--terracota-escuro);
}
.status-line--light { color: #f0c9b3; }
.dots span {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; margin-left: 3px; animation: blink 1.4s infinite;
}
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }

.btn-primary {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--verde); color: #fff; font-weight: 600; font-size: 14.5px;
  padding: 15px 30px; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(0,0,0, .45);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary:hover { background: var(--verde-escuro); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

/* Generic parallax background image + clipping wrapper */
.parallax-img { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }

/* Plain full-bleed background image, no scroll movement — avoids gaps far down the page */
.static-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 90px; color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,.45) 0%, rgba(26,26,26,.55) 55%, rgba(26,26,26,.78) 100%);
}

.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

h1, h2 { font-family: var(--font-display); font-weight: 500; }

/* Logo mark: a plain circle that scales (behind), a fixed-size mark that always
   stays centered and legible on top of it (never scales, never hides) */
.hero-logo {
  position: relative; z-index: 2; margin-top: 22px;
  width: clamp(120px, 18vw, 180px); height: clamp(120px, 18vw, 180px);
}
.hero-logo-circle {
  position: absolute; inset: 0;
  border-radius: 50%; background: var(--preto);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.45);
  transform: scale(1);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.hero-logo-mark {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-body); font-weight: 700; letter-spacing: .5px;
  font-size: clamp(17px, 2.2vw, 24px);
  pointer-events: none;
}
.hero-logo-mark .dot { color: var(--salvia); }

.subtext {
  margin-top: 20px; max-width: 540px; font-size: clamp(.95rem, 1.6vw, 1.1rem);
  line-height: 1.65; color: #3d3d3d;
}
.subtext--light { color: rgba(255,255,255,.88); }

/* Hero reveals run immediately on load with a stagger, no scroll needed */
.hero .reveal { transition-delay: var(--d, 0s); }
.hero .kicker.reveal { --d: .05s; }
.hero-logo.reveal { --d: .2s; }
.hero .status-line.reveal { --d: .38s; }
.hero .btn-primary.reveal { --d: .52s; }

/* ============ Gallery (vida real, sem texto) ============ */
.gallery {
  position: relative; z-index: 1;
  background: var(--bege-claro);
  padding: 90px clamp(16px, 4vw, 40px) 28px;
}
.gallery-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.gallery-head h2 {
  font-style: italic; font-weight: 400; color: var(--verde-escuro);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.4; margin-top: 14px;
}
.gallery-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px; grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative; margin: 0; border-radius: 18px; overflow: hidden;
  background: var(--salvia);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.span-big { grid-column: span 2; grid-row: span 2; }
.gallery-item.span-wide { grid-column: span 2; grid-row: span 1; }
.gallery-item.span-tall { grid-column: span 1; grid-row: span 2; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item.span-big { grid-column: span 2; grid-row: span 2; }
  .gallery-item.span-wide { grid-column: span 2; grid-row: span 1; }
  .gallery-item.span-tall { grid-column: span 1; grid-row: span 2; }
}

/* ============ Lead capture ============ */
.lead-section {
  position: relative; z-index: 1; overflow: hidden;
  color: #fff; padding: 120px 20px; text-align: center;
}
.lead-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lead-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,.86), rgba(26,26,26,.92)); }

.lead-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.lead-section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2; margin: 14px 0 18px; }
.lead-subtext { color: rgba(255,255,255,.72); font-size: .98rem; line-height: 1.65; margin-bottom: 36px; }

#lead-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .5px; color: rgba(255,255,255,.65); text-transform: uppercase; }
.field input {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 13px 16px; font-size: 15px; color: #fff;
  font-family: inherit; outline: none; transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder { color: rgba(255,255,255,.45); }
.field input:focus { border-color: var(--salvia); background: rgba(255,255,255,.14); }
.field input.invalid { border-color: var(--terracota); }

.btn-light { justify-content: center; margin-top: 10px; width: 100%; }
.btn-light:disabled { opacity: .65; cursor: default; transform: none; }

.form-msg { min-height: 20px; font-size: 13.5px; font-weight: 500; text-align: center; }
.form-msg.ok { color: #b7d0aa; }
.form-msg.err { color: #e2a78f; }

/* ============ Footer ============ */
footer {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 30px clamp(20px, 5vw, 56px) 40px;
  border-top: 1px solid rgba(26, 26, 26, .08);
}
.logo-mini--footer .brand-name { font-size: 13px; color: var(--preto); }
.footer-copy { font-size: 12.5px; color: #8a8a83; }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Stagger the gallery tiles slightly as they come into view */
.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: .06s; }
.gallery-item:nth-child(3) { transition-delay: .12s; }
.gallery-item:nth-child(4) { transition-delay: .18s; }
.gallery-item:nth-child(5) { transition-delay: .24s; }
.gallery-item:nth-child(6) { transition-delay: .3s; }
.gallery-item:nth-child(7) { transition-delay: .36s; }
.gallery-item:nth-child(8) { transition-delay: .42s; }
.gallery-item:nth-child(9) { transition-delay: .48s; }
.gallery-item:nth-child(10) { transition-delay: .54s; }
