/* Font-face com display:swap para evitar FOIT (Flash of Invisible Text) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Playfair Display'), local('PlayfairDisplay-Regular');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular');
}
:root {
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Montserrat', system-ui, -apple-system, sans-serif;
}
:root {
  --preto:     #0a0a0a;
  --preto2:    #111111;
  --preto3:    #1a1a1a;
  --verde:     #4a6741;
  --verde2:    #374f2f;
  --verde3:    #2a3d24;
  --branco:    #ffffff;
  --creme:     #f0ece4;
  --cinza:     #b0b0b0;
  --cinza2:    #2a2a2a;
  --acento:    #8b1a1a; /* vermelho mínimo — apenas onde essencial */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--preto); color: var(--branco); font-weight: 300; line-height: 1.75; }

/* ── NAV ──────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,.97);
  border-bottom: 1px solid var(--cinza2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 72px; transition: border-color .3s;
}
nav.scrolled { border-color: var(--verde); }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--branco); text-decoration: none; }
.nav-logo-text span { color: var(--verde); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cinza); font-weight: 500;
  transition: color .2s; padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--branco); border-color: var(--verde); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--branco); }

/* ── PAGE HEADER ──────────────────────── */
.page-header {
  margin-top: 72px; padding: 5vw 8vw 4vw;
  background: var(--preto2); border-bottom: 1px solid var(--cinza2);
  position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: -1px; left: 8vw;
  width: 60px; height: 2px; background: var(--verde);
}

/* ── LABELS & HEADINGS ────────────────── */
.section-label {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: #a8c5a0; margin-bottom: .8rem; font-weight: 500;
  display: flex; align-items: center; gap: .8rem;
}
.section-label::after { content: ''; display: block; width: 40px; height: 1px; background: var(--verde); }

h1.page-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3.5rem); font-weight: 400; color: var(--branco); line-height: 1.15; }
h1.page-title em { font-style: italic; color: var(--creme); }
.page-lead { font-size: .9rem; color: var(--cinza); max-width: 560px; line-height: 1.9; margin-top: 1rem; }

h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,2.5vw,2.2rem); font-weight: 400; color: var(--branco); margin-bottom: 1.2rem; }
h2 em { font-style: italic; color: var(--creme); }
.lead { font-size: .9rem; color: var(--cinza); max-width: 540px; line-height: 1.9; }

/* ── DIVISOR ──────────────────────────── */
.divisor { height: 1px; background: var(--cinza2); position: relative; }
.divisor::after {
  content: ''; position: absolute; left: 8vw; top: 0;
  width: 60px; height: 2px; background: var(--verde); transform: translateY(-50%);
}

/* ── SEÇÕES ───────────────────────────── */
.section { padding: 5vw 8vw; }
.section-dark { background: var(--preto); }
.section-mid  { background: var(--preto2); }

/* ── BOTÕES ───────────────────────────── */
.btn {
  text-decoration: none; display: inline-block;
  padding: .8rem 1.8rem; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 500;
  transition: .25s; cursor: pointer; border: none;
  font-family: 'Montserrat', sans-serif;
}
.btn-red    { background: var(--verde);  color: var(--branco); }
.btn-red:hover { background: var(--verde2); }
.btn-outline { border: 1px solid var(--cinza2); color: var(--cinza); }
.btn-outline:hover { border-color: var(--verde); color: var(--branco); }

/* ── GALERIA / PORTFÓLIO ──────────────── */
.galeria {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 6px; margin-top: 2.5rem;
}
.galeria-item { aspect-ratio: 1; overflow: hidden; position: relative; cursor: pointer; background: var(--preto3); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.galeria-item:hover img { transform: scale(1.08); }
.galeria-item::after { content: ''; position: absolute; inset: 0; background: rgba(74,103,65,0); transition: background .3s; }
.galeria-item:hover::after { background: rgba(74,103,65,.15); }

/* ── LIGHTBOX ─────────────────────────── */
#lightbox { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.96); align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 88vw; max-height: 88vh; object-fit: contain; border: 1px solid var(--cinza2); }
#lb-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; color: var(--cinza); cursor: pointer; background: none; border: none; transition: color .2s; line-height: 1; }
#lb-close:hover { color: var(--verde); }
#lb-prev, #lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--cinza); font-size: 3rem; cursor: pointer; transition: color .2s; padding: 1rem; line-height: 1; }
#lb-prev { left: .5rem; } #lb-next { right: .5rem; }
#lb-prev:hover, #lb-next:hover { color: var(--verde); }
#lb-counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .12em; color: var(--cinza); }

/* ── CARDS SERVIÇOS ───────────────────── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1px; background: var(--cinza2); border: 1px solid var(--cinza2); margin-top: 3rem;
}
.card { background: var(--preto2); padding: 2.5rem 2rem; transition: background .25s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 0; background: var(--verde); transition: height .35s; }
.card:hover { background: var(--preto3); }
.card:hover::before { height: 100%; }
.card-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 400; color: var(--cinza2); line-height: 1; margin-bottom: 1.2rem; display: block; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 400; color: var(--branco); margin-bottom: .6rem; }
.card p { font-size: .82rem; color: var(--cinza); line-height: 1.8; }
.card .card-link { display: inline-block; margin-top: 1rem; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--verde); text-decoration: none; font-weight: 500; }
.card .card-link:hover { color: var(--branco); }

/* ── BLOCOS ALTERNADOS ────────────────── */
.bloco { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.bloco-img { overflow: hidden; }
.bloco-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.bloco-img:hover img { transform: scale(1.04); }
.bloco-texto { display: flex; flex-direction: column; justify-content: center; padding: 5vw 6vw; }
.bloco-texto.bg-dark { background: var(--preto); }
.bloco-texto.bg-mid  { background: var(--preto2); }
.bloco-num { font-family: 'Playfair Display', serif; font-size: 5rem; font-weight: 400; color: var(--cinza2); line-height: 1; margin-bottom: 1rem; display: block; }
.bloco-texto h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 400; color: var(--branco); margin-bottom: 1rem; line-height: 1.25; }
.bloco-texto h2 em { font-style: italic; color: var(--creme); }
.bloco-texto p { font-size: .88rem; color: var(--cinza); line-height: 1.9; }
.bloco-reverse { direction: rtl; }
.bloco-reverse > * { direction: ltr; }

/* ── STATS BAR ────────────────────────── */
.stats-bar { background: var(--verde3); display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--verde2); border-bottom: 1px solid var(--verde2); }
.stat-item { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid var(--verde2); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 400; color: var(--branco); line-height: 1; margin-bottom: .3rem; }
.stat-item span { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 500; }

/* ── PORTFÓLIO ────────────────────────── */
.portfolio-section { padding: 5vw 8vw; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 6px; margin-top: 2rem; }
.p-item { aspect-ratio: 1; overflow: hidden; cursor: pointer; background: var(--preto3); }
.p-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.p-item:hover img { transform: scale(1.08); }

/* ── PAGE CTA ─────────────────────────── */
.page-cta {
  background: var(--preto2); padding: 5vw 8vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem; border-top: 1px solid var(--cinza2);
}
.page-cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 400; margin: 0; }
.page-cta h2 em { font-style: italic; color: var(--creme); }
.btn-grp { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── CONTATO ──────────────────────────── */
.contato-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5vw; margin-top: 3rem; align-items: start; }
.info-item { display: flex; gap: 1.2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--cinza2); }
.info-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--verde); flex-shrink: 0; margin-top: .55rem; }
.info-item h4 { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--verde); margin-bottom: .4rem; font-weight: 500; }
.info-item p, .info-item a { font-size: .88rem; color: var(--cinza); text-decoration: none; display: block; line-height: 1.7; }
.info-item a:hover { color: var(--branco); }

.whatsapp-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--verde); color: var(--branco);
  padding: .85rem 1.8rem; text-decoration: none;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 500; transition: background .25s; margin-top: 1.5rem;
}
.whatsapp-btn:hover { background: var(--verde2); }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--cinza); margin-bottom: .5rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--preto3); border: 1px solid var(--cinza2);
  padding: .85rem 1rem; font-family: 'Montserrat', sans-serif;
  font-size: .85rem; font-weight: 300; color: var(--branco);
  outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--verde); }
.form-group select option { background: var(--preto3); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  background: var(--verde); color: var(--branco); border: none;
  cursor: pointer; padding: .85rem 2rem; width: 100%;
  font-family: 'Montserrat', sans-serif; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  transition: background .25s;
}
.btn-submit:hover { background: var(--verde2); }

.msg-box { padding: .9rem 1.2rem; font-size: .85rem; margin-bottom: 1.2rem; display: none; }
.msg-box.ok   { background: rgba(74,103,65,.2); border: 1px solid var(--verde); color: #a8c5a0; }
.msg-box.erro { background: rgba(139,26,26,.15); border: 1px solid var(--acento); color: #e57373; }

/* ── MAPA ─────────────────────────────── */
.mapa-wrap iframe { display: block; width: 100%; height: 400px; border: 0; filter: grayscale(1) invert(1) contrast(.9); }

/* ── FOOTER ───────────────────────────── */
footer {
  background: var(--preto); border-top: 1px solid var(--cinza2);
  padding: 2.5rem 8vw;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem; align-items: center;
}
.footer-logo img { height: 36px; width: auto; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--branco); }
.footer-logo-text span { color: var(--verde); }
.footer-center { text-align: center; font-size: .75rem; color: var(--cinza); line-height: 1.8; }
.footer-right { text-align: right; font-size: .75rem; color: var(--cinza); line-height: 1.8; }
.footer-right a { color: var(--verde); text-decoration: none; }
.footer-copy { grid-column: span 3; text-align: center; font-size: .65rem; letter-spacing: .1em; color: #888888; padding-top: 1.2rem; border-top: 1px solid var(--cinza2); }

/* ── MOBILE ───────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open { display: flex; position: fixed; top: 72px; left: 0; right: 0; background: var(--preto); padding: 2rem 5vw; border-bottom: 1px solid var(--cinza2); z-index: 99; }
  .hamburger { display: flex; }
  .contato-grid, .form-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  .footer-copy { grid-column: span 1; }
}
@media (max-width: 700px) {
  .bloco, .bloco-reverse { grid-template-columns: 1fr; }
  .bloco-img { height: 260px; }
  .bloco-reverse { direction: ltr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--verde2); }
  .stat-item:last-child { border-bottom: none; }
  .page-cta { flex-direction: column; }
}

.hero-left h1 em, .hero-left em { color: #f0ece4; }
