/* ===================================================
   ALABANZA — Style Sheet
   Tema: Outono Dourado · Logo Alabanza
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #1a100a;
  --bg2:       #221409;
  --surface:   rgba(255,200,100,0.07);
  --surface2:  rgba(255,200,100,0.03);
  --border:    rgba(255,200,100,0.18);
  --border2:   rgba(255,200,100,0.09);
  --gold:      #e8a030;
  --gold-lt:   #f5b84a;
  --gold-dim:  rgba(232,160,48,0.12);
  --orange:    #d4621a;
  --text:      #fff8f0;
  --muted:     #c4a882;
  --green:     #6dbf8a;
  --white:     #fff8f0;
  --radius:    14px;
  --nav-bg:    rgba(28, 14, 5, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg);
  position: relative;
}

/* Pintura fixada no fundo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('bg-pintura.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Capa escura — pintura em ~17% */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(20, 10, 4, 0.83);
}

em { font-style: italic; color: var(--gold); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,160,48,0.15);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  border-color: rgba(232,160,48,0.28);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-cross { color: var(--gold); font-size: 17px; }

.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  margin-left: auto;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: transparent;
  padding: 148px 28px 110px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border2);
}

/* Gradiente atmosférico */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(232,160,48,0.10), transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(0,0,0,0.4), transparent 70%);
  pointer-events: none;
}

/* Estrelas decorativas */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50%       { opacity: var(--op, 0.5); transform: scale(1); }
}

.hero-ornament {
  position: absolute;
  font-size: 9px;
  color: var(--gold);
  opacity: 0.25;
  letter-spacing: 5px;
}
.top-left    { top: 90px; left: 44px; }
.top-right   { top: 90px; right: 44px; }
.bottom-left { bottom: 30px; left: 44px; }
.bottom-right{ bottom: 30px; right: 44px; }

.hero-content { position: relative; z-index: 1; max-width: 700px; margin: auto; }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
  animation: fadeUp 0.7s ease both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(54px, 9vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1.5px;
  margin-bottom: 26px;
  color: var(--text);
  animation: fadeUp 0.7s ease 0.12s both;
}

.hero-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 30px;
  animation: fadeUp 0.7s ease 0.22s both;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 38px;
  animation: fadeUp 0.7s ease 0.32s both;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
  box-shadow: 0 4px 24px rgba(212,168,67,0.25);
  animation: fadeUp 0.7s ease 0.42s both;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212,168,67,0.35); }

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(212,168,67,0.20);
  font-weight: 700;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-disabled {
  background: var(--surface2);
  color: var(--muted);
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: not-allowed;
  font-weight: 500;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--muted);
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 10px;
}
.btn-outline:hover { border-color: var(--border); color: var(--text); }

/* ===== SECTIONS ===== */
.section { padding: 96px 28px; }
.section-dark  { background: transparent; }
.section-navy  { background: rgba(15,7,2,0.55); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); backdrop-filter: blur(2px); }

.container { max-width: 1000px; margin: auto; }
.container-narrow { max-width: 700px; margin: auto; }
.text-center { text-align: center; }

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 44px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 44px;
  line-height: 1.7;
}

/* Linha dourada decorativa */
.gold-line {
  width: 40px; height: 2px;
  background: var(--gold);
  opacity: 0.5;
  margin: 0 auto 44px;
}

/* ===== SOBRE ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.sobre-text p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 16px;
}

.sobre-destaques { display: flex; flex-direction: column; gap: 14px; }

.destaque-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,180,60,0.06);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color 0.2s;
  backdrop-filter: blur(6px);
}
.destaque-item:hover { border-color: var(--border); }
.destaque-icon { font-size: 20px; flex-shrink: 0; margin-top: 3px; }
.destaque-item strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.destaque-item p { font-size: 13px; color: var(--muted); }

/* ===== ALERT ===== */
.alert-banner {
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 32px;
  text-align: center;
}

/* ===== LOTES ===== */
.lotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
/* ===== SELECT ===== */
select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  cursor: pointer;
}
select option {
  background-color: #1e0e06;
  color: var(--text);
}
input[type="number"] {
  -moz-appearance: textfield;
  background-color: var(--surface) !important;
  color: var(--text) !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 700px) {
  .lotes-grid { grid-template-columns: 1fr; }
}

.lote {
  background: rgba(255,180,60,0.06);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
}
.lote:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }

.lote.ativo {
  border-color: rgba(232,160,48,0.35);
  background: rgba(232,160,48,0.07);
  box-shadow: 0 0 0 1px rgba(232,160,48,0.08) inset;
}
.lote.ativo:hover { box-shadow: 0 12px 36px rgba(232,160,48,0.12), 0 0 0 1px rgba(232,160,48,0.18) inset; }

.lote.bloqueado { opacity: 0.45; }

.lote-badge {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
}
.lote.ativo .lote-badge {
  background: rgba(76,175,130,0.12);
  color: var(--green);
  border: 1px solid rgba(76,175,130,0.28);
}
.lote.bloqueado .lote-badge {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border2);
}

.lote-numero {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lote-mes, .lote-qty { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

.lote-preco {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -1px;
  margin: 18px 0 22px;
  line-height: 1;
}
.lote.bloqueado .lote-preco { color: var(--muted); }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.80);
  z-index: 300;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: block; }

.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 400;
  background: #1e0e06;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 92%;
  max-width: 480px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  max-height: 90vh;
  overflow-y: auto;
}
.modal.open { display: block; animation: fadeUp 0.3s ease; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--text); border-color: var(--border); }

.modal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--text);
}

/* ===== CHECKOUT ===== */
.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.order-tipo  { font-size: 15px; font-weight: 600; }
.order-valor {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  background: rgba(255,180,60,0.06);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,160,48,0.12); }
.form-group input::placeholder { color: var(--muted); }

.secure-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ===== PIX ===== */
.pix-icon { font-size: 46px; text-align: center; margin-bottom: 10px; }
.pix-valor { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.pix-valor span { color: var(--green); font-weight: 700; font-size: 17px; }

.pix-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  font-family: monospace;
  word-break: break-all;
  margin-bottom: 14px;
}

.pix-steps {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 18px 0;
  text-align: left;
}
.pix-steps p { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.pix-steps ol { padding-left: 18px; }
.pix-steps li { font-size: 14px; color: var(--text); margin-bottom: 7px; }

/* ===== LOCAL ===== */
.local-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 38px;
}

.local-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.local-row:last-child { margin-bottom: 0; }
.local-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.local-row strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.muted { color: var(--muted); font-size: 14px; }

.mapa-placeholder {
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: 10px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 30px;
  gap: 12px;
}
.mapa-placeholder small { font-size: 13px; font-family: 'DM Sans', sans-serif; line-height: 1.7; }
.mapa-placeholder code { font-size: 12px; background: var(--surface); padding: 2px 8px; border-radius: 4px; color: var(--gold); }

/* ===== CONTATO ===== */
.contato-email-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 32px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}
.contato-email-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.12);
}
.contato-email-icon { font-size: 26px; }
.contato-email-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; }
.contato-email-addr  { font-size: 17px; font-weight: 600; color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  background: rgba(10,4,1,0.88);
  border-top: 1px solid var(--border2);
  text-align: center;
  padding: 44px 24px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer-logo .logo-cross { color: var(--gold); }
.footer-sub { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.footer-resp { font-size: 12px; color: rgba(132,148,184,0.5); margin-top: 14px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.4s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .sobre-grid, .local-card { grid-template-columns: 1fr; gap: 28px; }
  .modal { padding: 28px 20px; }
  .hero { padding: 120px 20px 80px; }
  .section { padding: 64px 20px; }
  .top-left, .top-right, .bottom-left, .bottom-right { display: none; }
  .contato-email-card { flex-direction: column; text-align: center; }
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37,211,102,0.25);
  transition: all 0.2s;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,211,102,0.35); }
