/* Portal F&F Business — estilos (gerado a partir do portal v3) */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --bg-dark: #1E3A5F;
  --bg-dark-2: #14304D;
  --primary: #1E3A5F;
  --primary-light: #4A7CA7;
  --accent: #C8DDEA;
  --accent-dark: #7BAFD4;
  --text: #1E3A5F;
  --text-soft: #5A6B7A;
  --text-light: #FFFFFF;
  --border: #E1E8EE;
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 58, 95, 0.10);
  --shadow-lg: 0 16px 48px rgba(30, 58, 95, 0.14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 44px; width: auto; }
.brand-text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1;
}
.brand-text .amp { margin: 0 2px; }

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s;
}
nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--text-light) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--bg-dark-2); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

.hero {
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 700px; height: 700px;
  background-image: url('imagens/background-padrao.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--primary-light);
  display: inline-block;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--primary);
}
.hero h1 em {
  font-style: italic;
  color: var(--primary-light);
  font-weight: 400;
}

.hero p {
  font-size: 19px;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.6;
}

.cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}
.btn-primary:hover { background: var(--bg-dark-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: var(--text-light); }
.btn-accent {
  background: var(--accent-dark);
  color: var(--text-light);
}
.btn-accent:hover { background: var(--primary-light); }

.pillars {
  padding: 72px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary);
}
.pillar p {
  color: var(--text-soft);
  font-size: 15px;
}
.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--primary-light);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 1px;
}

.imoveis-section { padding: 100px 0; background: var(--bg-soft); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 580px;
  color: var(--primary);
}
.section-title em { font-style: italic; color: var(--primary-light); }
.section-meta { color: var(--text-soft); font-size: 14px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-image {
  height: 280px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.card:hover .card-image img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.card-badge.special {
  background: var(--primary);
  color: var(--accent);
}

.card-body { padding: 28px; }
.card-location {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary);
}
.card-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.card-spec { display: flex; align-items: center; gap: 4px; }
.card-spec strong { color: var(--primary); }

.card-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-anunciado {
  font-size: 12px;
  color: var(--text-soft);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-especial {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.price-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-top: 4px;
}
.card-arrow {
  font-size: 20px;
  color: var(--primary-light);
  transition: transform 0.2s;
}
.card:hover .card-arrow { transform: translateX(4px); }

.detail-section { display: none; padding: 60px 0 100px; background: var(--bg); }
.detail-section.active { display: block; }

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color 0.2s;
}
.detail-back:hover { color: var(--primary); }

.detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
@media (min-width: 1024px) {
  .detail-hero { grid-template-columns: 1.4fr 1fr; }
}

.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
}
.detail-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: filter 0.3s;
}
.detail-gallery img:hover { filter: brightness(1.05); }
.detail-gallery img:first-child { grid-row: span 2; }

.detail-info { display: flex; flex-direction: column; }
.detail-location-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.detail-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--primary);
}
.detail-address {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.spec-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.spec-icon { font-size: 18px; margin-bottom: 4px; color: var(--primary-light); }
.spec-value { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--primary); }
.spec-label { font-size: 11px; color: var(--text-soft); letter-spacing: 0.5px; }

.detail-price-box {
  background: var(--bg-dark);
  background-image: url('imagens/background-padrao.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.detail-price-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,0.92) 0%, rgba(20,48,77,0.94) 100%);
  z-index: 0;
}
.detail-price-box > * { position: relative; z-index: 1; }
.detail-price-tag {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.detail-price-anunciado {
  font-size: 14px;
  opacity: 0.7;
  text-decoration: line-through;
  margin-bottom: 4px;
}
.detail-price-especial {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #FFF;
}
.detail-price-info { font-size: 14px; opacity: 0.9; line-height: 1.5; }

.detail-actions { display: flex; flex-direction: column; gap: 12px; }
.detail-actions .btn { width: 100%; justify-content: center; }

.detail-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .detail-content { grid-template-columns: 2fr 1fr; }
}

.content-block { margin-bottom: 56px; }
.content-block h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--primary);
}
.content-block h2 em { font-style: italic; color: var(--primary-light); }
.content-block p {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}

.diferenciais-list { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.diferenciais-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.diferenciais-list .diff-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--primary-light);
  font-size: 22px;
  min-width: 32px;
}
.diferenciais-list strong { color: var(--primary); display: block; margin-bottom: 4px; }
.diferenciais-list span { color: var(--text-soft); font-size: 14px; }

.investment-card {
  background: linear-gradient(135deg, var(--accent) 0%, #E5F0F7 100%);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.investment-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary);
}
.investment-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30,58,95,0.12);
}
.investment-stat:last-of-type { border-bottom: none; }
.investment-label { font-size: 13px; color: var(--text-soft); line-height: 1.4; }
.investment-label small { display: block; opacity: 0.75; font-size: 11px; margin-top: 2px; }
.investment-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--primary);
}
.investment-note { font-size: 11px; color: var(--text-soft); margin-top: 16px; font-style: italic; }

.location-block {
  padding: 32px;
  background: var(--bg-soft);
  border-radius: 16px;
}
.location-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--primary);
}
.location-list { list-style: none; }
.location-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.location-list li:last-child { border-bottom: none; }
.location-list .loc-name { font-weight: 500; color: var(--text); font-size: 14px; }
.location-list .loc-dist {
  font-family: var(--serif);
  font-style: italic;
  color: var(--primary-light);
  font-size: 13px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.payment-option {
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.payment-option:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.payment-option h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}
.payment-option p { font-size: 13px; color: var(--text-soft); line-height: 1.5; }

.sobre-section {
  padding: 100px 0;
  background: var(--bg);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1024px) { .sobre-grid { grid-template-columns: 1fr 1fr; } }

.sobre-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--primary);
}
.sobre-text h2 em { font-style: italic; color: var(--primary-light); }
.sobre-text p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.7;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat-box {
  padding: 32px;
  background: var(--bg-soft);
  border-radius: 16px;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 48px;
  color: var(--primary-light);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-soft); line-height: 1.4; }

.corretores-section {
  padding: 100px 0;
  background: var(--bg-dark);
  background-image: url('imagens/background-padrao.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  position: relative;
}
.corretores-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,0.94) 0%, rgba(20,48,77,0.96) 100%);
  z-index: 0;
}
.corretores-section .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .corretores-section .container { grid-template-columns: 1fr 1fr; } }

.corretores-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-light);
}
.corretores-section h2 em { font-style: italic; color: var(--accent); }
.corretores-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  line-height: 1.7;
}

.corretores-benefits {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 32px;
  margin-bottom: 32px;
}
.corretores-benefits li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.corretores-benefits .bullet {
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  min-width: 24px;
  font-weight: 600;
}

.corretor-form {
  background: rgba(255, 255, 255, 0.06);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.corretor-form h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--text-light);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  opacity: 0.85;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.investidores-section {
  padding: 100px 0;
  background: var(--bg-soft);
}
.investidores-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .investidores-section .container { grid-template-columns: 1fr 1fr; } }

.investidores-section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary);
}
.investidores-section h2 em { font-style: italic; color: var(--primary-light); }
.investidores-section .investidores-text p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}
.investidores-section .investidores-text p strong {
  color: var(--primary);
  font-weight: 600;
}

.investidores-benefits {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.investidores-benefits li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.investidores-benefits .bullet {
  color: var(--primary-light);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  min-width: 24px;
  font-weight: 600;
}
.investidores-benefits strong { color: var(--primary); display: block; margin-bottom: 4px; }

.investidor-form {
  background: var(--bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.investidor-form h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--primary);
}
.investidor-form .form-group label {
  color: var(--text-soft);
  font-weight: 600;
  opacity: 1;
}
.investidor-form .form-group input,
.investidor-form .form-group textarea,
.investidor-form .form-group select {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
}
.investidor-form .form-group input::placeholder,
.investidor-form .form-group textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.6;
}
.investidor-form .form-group input:focus,
.investidor-form .form-group textarea:focus,
.investidor-form .form-group select:focus {
  border-color: var(--primary-light);
  outline: none;
}

footer {
  background: var(--bg-soft);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-soft); max-width: 300px; }
.footer-col h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--primary);
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
}

@media (max-width: 768px) {
  nav ul { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 60px 0 80px; }
  .detail-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .detail-gallery img:first-child { grid-row: auto; }
  .detail-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 36px; }
}

/* Aviso de cookies */
.cookie-aviso {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  max-width: 560px; margin: 0 auto;
  display: none; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 16px 20px; font-size: 13px; line-height: 1.5;
}
.cookie-aviso.aberto { display: flex; }
.cookie-aviso p { flex: 1 1 240px; color: var(--text-soft); }
.cookie-aviso a { text-decoration: underline; color: var(--primary-light); }
.cookie-aviso .cookie-botoes { display: flex; gap: 8px; }
.cookie-aviso button { font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.cookie-recusar { background: transparent; color: var(--primary); border: 1px solid var(--border); }
.cookie-aceitar { background: var(--primary); color: var(--text-light); border: 1px solid var(--primary); }
.link-cookies { background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.link-cookies:hover { color: var(--primary); }

/* Formulários: consentimento, honeypot e status */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; margin: 8px 0 20px; cursor: pointer; }
.form-consent input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--primary-light); }
.form-consent a { text-decoration: underline; }
.investidor-form .form-consent { color: var(--text-soft); }
.corretor-form .form-consent { color: rgba(255,255,255,0.85); }
.form-status { font-size: 14px; margin-top: 16px; min-height: 1em; }
.form-status.erro { color: #B3261E; }
.corretor-form .form-status.erro { color: #FFB4AB; }
.form-status.ok { font-weight: 600; }
.investidor-form, .corretor-form { position: relative; }
.form-group input.invalido, .form-group select.invalido, .form-group textarea.invalido { border-color: #B3261E; }
.corretor-form .form-group input.invalido, .corretor-form .form-group textarea.invalido { border-color: #FFB4AB; }

/* Lightbox da galeria */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 48, 77, 0.96);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.lightbox.open { display: flex; }
.detail-gallery img { -webkit-tap-highlight-color: transparent; }
.lightbox-img { -webkit-user-drag: none; }
.lightbox-img {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.lightbox-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.10);
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: rgba(255, 255, 255, 0.22); outline: none; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 20px; right: 24px; width: 44px; height: 44px; font-size: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}
.lightbox-caption {
  position: absolute;
  top: 30px;
  left: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .lightbox-img { max-width: 100vw; max-height: calc(100vh - 140px); border-radius: 0; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; width: 46px; height: 46px; }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-caption { top: 24px; left: 16px; }
}

/* --- Páginas geradas pelo painel (#14, #17, #18) --- */

a.card { display: block; color: inherit; }
a.card:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; }
.detail-back { text-decoration: none; }

/* Galeria: até 5 fotos na grade; as demais abrem na ampliação */
.detail-gallery img:nth-child(n+6) { display: none; }
.detail-gallery { position: relative; align-self: start; }
.galeria-mais {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(20, 48, 77, 0.85); color: var(--text-light);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: none; cursor: pointer; font-family: var(--sans);
}

/* Menu do celular */
@media (max-width: 768px) {
  nav ul.aberto {
    display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
    position: absolute; top: 64px; right: 16px; left: 16px;
    background: var(--bg); padding: 20px; border-radius: 12px;
    box-shadow: var(--shadow-md); border: 1px solid var(--border);
  }
}

/* Barra fixa de WhatsApp na página do imóvel (celular) */
.barra-whatsapp { display: none; }
@media (max-width: 768px) {
  .barra-whatsapp {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .barra-whatsapp .barra-preco { flex: 1; line-height: 1.2; }
  .barra-whatsapp .barra-preco small { display: block; font-size: 11px; color: var(--text-soft); }
  .barra-whatsapp .barra-preco strong { font-family: var(--serif); font-size: 20px; color: var(--primary); }
  .barra-whatsapp .btn { padding: 12px 18px; font-size: 14px; }
  body.com-barra { padding-bottom: 76px; }
  body.com-barra .cookie-aviso { bottom: 88px; }
}

/* Página de imóvel indisponível e 404 */
.pagina-aviso { padding: 120px 0; text-align: center; background: var(--bg-soft); }
.pagina-aviso h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; }
.pagina-aviso p { color: var(--text-soft); font-size: 17px; margin: 0 auto 32px; max-width: 520px; }
.pagina-aviso .cta-group { justify-content: center; }

/* Anúncio de terceiro / corretor / obra */
.corretor-cartao { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; margin-bottom: 16px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft); }
.corretor-cartao .corretor-rotulo { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary-light); }
.corretor-cartao strong { font-family: var(--serif); font-size: 20px; color: var(--primary); }
.corretor-cartao span:last-child { font-size: 13px; color: var(--text-soft); }
.aviso-legal { font-size: 12px; color: var(--text-soft); font-style: italic; margin-top: 16px; }
.obra-lista { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.obra-lista li { display: grid; grid-template-columns: 170px 1fr 52px; gap: 12px; align-items: center; font-size: 14px; color: var(--text-soft); }
.obra-lista strong { color: var(--primary); text-align: right; }
.obra-barra { height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.obra-barra span { display: block; height: 100%; background: var(--primary-light); }
.corretor-divulgar { margin-top: 64px; padding: 48px; border-radius: 16px; display: grid; gap: 40px;
  background: linear-gradient(135deg, rgba(30,58,95,0.97), rgba(20,48,77,0.98)); color: var(--text-light); }
@media (min-width: 1024px) { .corretor-divulgar { grid-template-columns: 1fr 1fr; align-items: start; } }
.corretor-divulgar h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.corretor-divulgar h2 em { color: var(--accent); }
.corretor-divulgar p { color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.corretor-divulgar .ajuda-form { font-size: 13px; opacity: 0.8; }
.corretor-divulgar .corretor-form { padding: 28px; }
.corretor-divulgar .form-status a { color: var(--accent); text-decoration: underline; }
@media (max-width: 768px) { .corretor-divulgar { padding: 24px; } .obra-lista li { grid-template-columns: 110px 1fr 44px; } }
