/* =========================================================
   2M Reis Imobiliária — estilos
   Paleta: navy #0D1B2A + dourado #C9A24C  (identidade/design-guide.md)
   ========================================================= */

:root {
  --navy:        #0D1B2A;
  --navy-2:      #102438;
  --card:        #16283A;
  --card-line:   rgba(201, 162, 76, 0.28);
  --gold:        #C9A24C;
  --gold-soft:   #D8B972;
  --white:       #FFFFFF;
  --muted:       #AFBECC;
  --muted-2:     #7E90A0;

  /* Fonte de destaque: Montserrat (moderna, formal, geométrica) */
  --serif: "Montserrat", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --sans:  "Montserrat", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--white);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.gold { color: var(--gold); }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-head p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 1.02rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: 1px solid var(--gold);
}

.btn-outline {
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-solid {
  color: var(--navy);
  background: var(--gold);
}
.btn-solid:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; }

/* =========================================================
   Header / navegação
   ========================================================= */
.header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}
.header.scrolled {
  background: rgba(10, 20, 32, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 162, 76, 0.12);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo .crest { width: 52px; height: 52px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-2m {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.logo-reis {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  padding-left: 12px;
  margin-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  color: var(--muted);
  margin-top: 4px;
  padding-left: 66px;
  text-transform: uppercase;
}

/* Logo em imagem (versão branca, fundo transparente) sobre o header escuro */
.logo-plate {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 80px;
  width: 214px; /* 80 * (1711/641) — largura explícita p/ WebKit iOS */
  max-width: none;
  display: block;
  object-fit: contain;
  transition: height 0.4s var(--ease), width 0.4s var(--ease);
}
.header.scrolled .logo-img { height: 60px; width: 160px; }
.footer .logo-img { height: 88px; width: 235px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding-bottom: 6px;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: 0.3s var(--ease);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(13, 27, 42, 0.82) 34%, rgba(13, 27, 42, 0.30) 62%, rgba(13, 27, 42, 0.15) 100%),
    url("../public/img/hero.jpg") center right / cover no-repeat,
    linear-gradient(160deg, #14324d, #0a1826);
  z-index: 0;
}
/* reforço de leitura: escurece o rodapé do hero pra fundir com a barra de pilares */
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.15) 0%, rgba(13,27,42,0) 40%, rgba(13,27,42,0.85) 100%);
}

.hero .container { position: relative; z-index: 2; padding-top: 90px; }

.hero-content { max-width: 640px; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 26px;
}
.hero h1 .line-2 { color: var(--gold); }

.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   Barra de pilares
   ========================================================= */
.pillars {
  position: relative;
  z-index: 3;
  margin-top: -70px;
}
.pillars-inner {
  background: rgba(16, 36, 56, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 162, 76, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 34px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.pillar:last-child { border-right: 0; }
.pillar-icon {
  flex: none;
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pillar-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.pillar h3 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pillar p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* =========================================================
   Imóveis
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.property {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.property:hover {
  transform: translateY(-8px);
  border-color: var(--card-line);
  box-shadow: var(--shadow);
}
.property-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 230px; /* fallback caso aspect-ratio não seja suportado (iOS antigo) */
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, #21415f, #0f2135);
}
.property-photo svg { width: 64px; height: 64px; stroke: rgba(201,162,76,0.45); }
.property-photo .placeholder-note {
  position: absolute;
  bottom: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy);
}
.tag.locacao { background: transparent; color: var(--gold); border: 1px solid var(--gold); }

.property-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.property-body h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.property-loc {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.property-loc svg { width: 14px; height: 14px; stroke: var(--gold); }
.property-specs {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem;
  color: var(--muted);
}
.property-specs span { display: flex; align-items: center; gap: 6px; }
.property-specs svg { width: 15px; height: 15px; stroke: var(--gold); }
.property-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 18px;
}
.property-price .val {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.property-price .per { font-size: 0.78rem; color: var(--muted-2); }
.property-link {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-cta { text-align: center; margin-top: 56px; }

/* Card de imóvel com foto de capa real */
.property-photo { cursor: pointer; }
.property-cover {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.property:hover .property-cover { transform: scale(1.05); }
.property-photo .gallery-count { z-index: 2; }
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 18px;
  list-style: none;
}
.spec-list li {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.spec-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.property-note { font-size: 0.8rem; color: var(--muted-2); margin: 0 0 18px; }
/* Rodapé do card: preço + botões fixados na base — alinha os preços entre os cards */
.property-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.property-foot .property-price {
  display: block;
  margin: 0 0 16px;
  padding: 0;
}
.val-venda {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}
.preco-obs {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 76, 0.45);
  border-radius: 20px;
  padding: 3px 9px;
  margin-left: 6px;
  vertical-align: middle;
  cursor: help;
}
.pacote-leg {
  display: block;
  font-size: 0.7rem;
  color: var(--muted-2);
  margin-top: 5px;
}
.property .listing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.property .listing-actions .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
  padding: 13px 12px;
  font-size: 0.72rem;
  gap: 8px;
  white-space: nowrap;
}

/* =========================================================
   Carrossel deslizante de imóveis (auto + botões manuais)
   ========================================================= */
.imoveis-carousel { position: relative; }
.imoveis-marquee {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 22px 4px 34px;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge antigo */
}
.imoveis-marquee::-webkit-scrollbar { display: none; }
.imoveis-track {
  display: flex;
  width: max-content;
}
.imoveis-track .property {
  flex: 0 0 340px;
  width: 340px;
  margin-right: 30px;
}
/* destaque do card sob o cursor */
.imoveis-track .property:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--gold);
  box-shadow: var(--shadow);
  z-index: 5;
}
/* botões de navegação */
.car-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 6;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(13, 27, 42, 0.86);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.car-btn:hover { background: var(--gold); color: var(--navy); }
.car-btn svg { width: 24px; height: 24px; stroke: currentColor; }
.car-prev { left: -10px; }
.car-next { right: -10px; }
@media (max-width: 620px) {
  .imoveis-track .property { flex-basis: 284px; width: 284px; margin-right: 18px; }
  .imoveis-marquee { padding: 16px 4px 26px; }
  .car-btn { width: 44px; height: 44px; }
  .car-prev { left: 0; }
  .car-next { right: 0; }
}

/* Imagem do "Sobre nós" */
.about-visual { position: relative; overflow: hidden; }
.about-visual img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Imóvel em destaque — vitrine com galeria
   ========================================================= */
.listing {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 46px;
  align-items: start;
}
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f2135;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.6s var(--ease);
}
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main .tag { z-index: 2; }
.gallery-count {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  background: rgba(10,20,32,0.8);
  border: 1px solid rgba(201,162,76,0.3);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery-count svg { width: 14px; height: 14px; stroke: var(--gold); }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs button {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: #0f2135;
  transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0.6;
}
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button.active { border-color: var(--gold); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-more {
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  color: var(--gold);
  background: rgba(201,162,76,0.08);
}

.listing-info .tag-inline {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  color: var(--gold);
  border: 1px solid var(--gold);
  margin-bottom: 18px;
}
.listing-info h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 10px;
}
.listing-price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin: 22px 0;
}
.listing-price .per { font-size: 0.9rem; color: var(--muted-2); }
.listing-price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 4px;
}
.listing-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.09);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 24px;
}
.listing-specs li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}
.listing-specs svg { width: 20px; height: 20px; stroke: var(--gold); flex: none; }
.listing-desc { color: var(--muted); margin-bottom: 28px; font-size: 0.96rem; }
.listing-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 200;
  background: rgba(6, 12, 20, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(201,162,76,0.12);
  border: 1px solid rgba(201,162,76,0.4);
  color: var(--gold);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(201,162,76,0.25); }
.lightbox-close { top: 26px; right: 26px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 26px; }
.lightbox-nav.next { right: 26px; }
.lightbox-nav svg, .lightbox-close svg { width: 22px; height: 22px; stroke: var(--gold); }

@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .listing-specs { grid-template-columns: 1fr; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
}

/* =========================================================
   Sobre
   ========================================================= */
.about { background: var(--navy-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 24px;
}
.about-text p { color: var(--muted); margin-bottom: 18px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  align-items: stretch;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold);
  line-height: 1.05;
}
.stat .lab {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  padding-top: 10px;
}
.about-visual {
  aspect-ratio: 4 / 5;
  min-height: 420px; /* fallback caso aspect-ratio não seja suportado (iOS antigo) */
  border-radius: var(--radius);
  border: 1px solid var(--card-line);
  background:
    linear-gradient(180deg, rgba(13,27,42,0.1), rgba(13,27,42,0.85)),
    repeating-linear-gradient(120deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 50px),
    linear-gradient(160deg, #23446a, #0f2135);
  display: grid;
  place-items: center;
  position: relative;
}
.about-visual svg { width: 84px; height: 84px; stroke: rgba(201,162,76,0.5); }

/* =========================================================
   Serviços
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.service {
  padding: 40px 30px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
}
.service:hover {
  border-color: var(--gold);
  background: rgba(201,162,76,0.05);
  transform: translateY(-6px);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.service h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* =========================================================
   Contato
   ========================================================= */
.contact { background: var(--navy-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}
.contact-info h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.contact-info > p { color: var(--muted); margin-bottom: 36px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-item .ci-icon {
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.contact-item .ci-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.contact-item .ci-value { font-size: 1.05rem; }

.form {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; }
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 16px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 70px 0 30px;
  border-top: 1px solid rgba(201,162,76,0.14);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 18px 0 0; max-width: 300px; }
.socials { display: flex; gap: 14px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
}
.socials a:hover { border-color: var(--gold); background: rgba(201,162,76,0.08); }
.socials svg { width: 18px; height: 18px; stroke: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: var(--muted-2);
  font-size: 0.82rem;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   Animações de entrada
   ========================================================= */
/* Conteúdo SEMPRE visível por padrão (não depende de JS). A animação de
   entrada é só um reforço opcional em telas grandes. */
.reveal { opacity: 1; transform: none; }

@media (min-width: 821px) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  /* fallback: se o JS não rodar, revela mesmo assim */
  .no-js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .pillars-inner { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(80vw, 320px);
    background: var(--navy-2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; z-index: 120; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-cta { display: none; }

  .section { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .pillars-inner { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .pillar:last-child { border-bottom: 0; }
  .grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .logo-sub { display: none; }
  .logo-img { height: 56px; width: 150px; }
  .header.scrolled .logo-img { height: 46px; width: 123px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat .num { font-size: 1.9rem; }
}
