/* ═══════════════════════════════════════════════
   CONDOMÍNIO EDIFÍCIO MINAS GERAIS — style.css
   ═══════════════════════════════════════════════ */

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

:root {
  /* Palette */
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #9E7A2A;
  --navy:        #0B1728;
  --navy-mid:    #142035;
  --navy-light:  #1E3050;
  --cream:       #F8F4EE;
  --cream-dark:  #EDE6D9;
  --text-main:   #1A1A2E;
  --text-muted:  #6B7280;
  --white:       #FFFFFF;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --dur:         0.4s;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Utility ── */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: 96px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

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

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  padding-block: 16px;
}

.navbar.scrolled {
  background: rgba(11, 23, 40, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
  padding-block: 12px;
}

.nav-inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
  flex-shrink: 0;
}

.logo-badge.sm {
  width: 36px; height: 36px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.logo-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.logo-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy);
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
}
.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(11, 23, 40, 0.97);
  padding: 12px 24px 20px;
}
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
}
.mobile-menu.open { display: flex; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 23, 40, 0.55) 0%,
    rgba(11, 23, 40, 0.72) 60%,
    rgba(11, 23, 40, 0.90) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding-inline: 24px;
  max-width: 800px;
  animation: fadeUp 1s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  animation: fadeUp 1s 0.2s var(--ease) both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeUp 1s 0.35s var(--ease) both;
}

.hero-accent {
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 40px;
  animation: fadeUp 1s 0.5s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.65s var(--ease) both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  70%       { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ── Badges Bar ── */
.badges-bar {
  background: var(--navy);
  padding-block: 28px;
}

.badges-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  color: var(--white);
}

.badge-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
}

.badge-item span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

.badge-icon { font-size: 1.5rem; }

.badge-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ── Sobre ── */
.sobre { background: var(--cream); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.sobre-text .btn { margin-top: 24px; }

/* Card glassmorphism */
.card-glass {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 24px;
  padding: 36px;
  box-shadow:
    0 24px 64px rgba(11, 23, 40, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.card-header { margin-bottom: 16px; }

.card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.25);
}

.card-cnpj {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 28px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}

.card-list li:last-child { border-bottom: none; padding-bottom: 0; }

.card-key { color: rgba(255,255,255,0.45); }
.card-val { color: var(--white); font-weight: 500; text-align: right; }

.status-active { color: #4ADE80 !important; }

/* ── Informações ── */
.informacoes {
  background: var(--navy);
}

.informacoes .section-label,
.informacoes .section-subtitle { color: rgba(255,255,255,0.5); }
.informacoes .section-label { color: var(--gold); }
.informacoes .section-title { color: var(--white); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.05);
}

.info-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.info-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.info-value {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
}

/* ── Localização ── */
.localizacao { background: var(--cream-dark); }

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.endereco {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.endereco-linha {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.endereco-icon { font-size: 1.4rem; }

.endereco-linha strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.endereco-linha span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(11,23,40,0.18);
  aspect-ratio: 4/3;
  border: 2px solid rgba(201,168,76,0.2);
}

.map-wrapper iframe {
  width: 100%; height: 100%;
  border: none;
}

.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  pointer-events: none;
}

/* ── Contato ── */
.contato {
  background: var(--navy-mid);
  text-align: center;
}

.contato-inner {
  max-width: 600px;
  margin-inline: auto;
}

.contato .section-title { color: var(--white); }
.contato .section-label { color: var(--gold); }

.corresp-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  padding: 32px 40px;
  margin: 32px 0;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 2;
  font-family: var(--font-serif);
  letter-spacing: 0.01em;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding-block: 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.footer-cnpj {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-copy.dimmed { color: rgba(255,255,255,0.22); }

/* ── Animations on scroll ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .sobre-grid,
  .loc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-card { order: -1; }

  .map-wrapper { aspect-ratio: 16/9; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .badges-inner { gap: 8px; }
  .badge-divider { display: none; }
  .badge-item { padding: 10px 16px; }

  .section { padding-block: 64px; }

  .info-grid { grid-template-columns: 1fr; }

  .corresp-box { padding: 24px; }
}
