/* ============================================================
   SISTEMA WEBSITE IMOBILIÁRIO — DESIGN SYSTEM
   Dark Luxury SaaS — v2.0
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Cores principais */
  --color-bg:          #080809;
  --color-bg-2:        #0D0D0F;
  --color-bg-3:        #111114;
  --color-surface:     #161619;
  --color-surface-2:   #1C1C20;
  --color-surface-3:   #232328;

  /* Ouro / Acento premium */
  --color-gold:        #C9A55A;
  --color-gold-light:  #E2C07A;
  --color-gold-dim:    #8A6E3A;
  --color-gold-glow:   rgba(201, 165, 90, 0.15);

  /* Vermelho / Brand */
  --color-red:         #B01020;
  --color-red-bright:  #D32030;
  --color-red-dim:     #7A0A17;
  --color-red-glow:    rgba(176, 16, 32, 0.2);

  /* Texto */
  --color-text:        #F0EBE0;
  --color-text-2:      #B8AF9F;
  --color-text-3:      #7A7268;
  --color-text-inv:    #080809;

  /* Bordas & divisores */
  --color-border:      rgba(201, 165, 90, 0.15);
  --color-border-2:    rgba(240, 235, 224, 0.06);
  --color-border-red:  rgba(176, 16, 32, 0.3);

  /* Tipografia */
  --font-display:      'Cormorant Garamond', Georgia, serif;
  --font-body:         'DM Sans', system-ui, sans-serif;

  /* Espaçamento */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;
  --space-2xl: 12rem;

  /* Bordas arredondadas */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-gold:  0 0 60px -10px rgba(201, 165, 90, 0.3);
  --shadow-card:  0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-sm:    0 2px 12px rgba(0, 0, 0, 0.4);

  /* Transições */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.6s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar premium */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-2); }
::-webkit-scrollbar-thumb { background: var(--color-gold-dim); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* Text selection */
::selection { background: var(--color-gold); color: var(--color-bg); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ============================================================
   GRAIN OVERLAY (textura de ruído sutil)
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Display Hero */
.text-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Headline grande */
.text-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

/* Headline médio */
.text-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
}

/* Subtítulo */
.text-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-2);
}

/* Label uppercase */
.text-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Destaque dourado */
.text-gold { color: var(--color-gold); }
.text-red  { color: var(--color-red-bright); }
.text-muted { color: var(--color-text-3); }

/* Itálico serifado (display) */
.text-italic { font-style: italic; }

/* Hero CSP utils */
.hero-wrapper {
  padding-top: calc(72px + 4rem);
  background: var(--color-bg-2);
  border-bottom: 1px solid var(--color-border-2);
}
.hero-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge-wrap {
  margin: 0 auto 2rem;
  width: fit-content;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.08;
}
.hero-subtitle {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section-sm {
  padding: var(--space-lg) 0;
}

/* ============================================================
   COMPONENTES — NAVEGAÇÃO
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(8, 8, 9, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border-2);
  transition: background var(--transition-base);
}

.navbar.scrolled {
  background: rgba(8, 8, 9, 0.95);
  border-bottom-color: var(--color-border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 44px;
  width: auto;
  /* mix-blend-mode: screen faz o fundo branco desaparecer no tema escuro */
  transition: transform var(--transition-base);
}

/* No footer o logo é ligeiramente menor */
.footer-logo img {
  height: 38px;
  width: auto;
}

/* Nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-2);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger mobile */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: var(--transition-base);
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 9, 0.98);
  backdrop-filter: blur(24px);
  z-index: 499;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.navbar-mobile.open { display: flex; }

.navbar-mobile .nav-link {
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ============================================================
   COMPONENTES — BOTÕES
   ============================================================ */

/* Botão primário (dourado) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  padding: 0.875rem 2rem;
  text-decoration: none;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-bg);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-glow);
}

.btn-red {
  background: var(--color-red);
  color: #fff;
}

.btn-red:hover {
  background: var(--color-red-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 40px -5px var(--color-red-glow);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8rem;
}

/* CTA WhatsApp */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 0 30px -5px rgba(37,211,102,0.4);
}

/* ============================================================
   COMPONENTES — BADGE / LABEL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(201, 165, 90, 0.1);
  border: 1px solid var(--color-border);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 6px var(--color-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}

/* ============================================================
   COMPONENTES — CARDS
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.card-glass {
  background: rgba(22, 22, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base);
}

.card-glass:hover {
  border-color: var(--color-border);
}

.card-gold {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.card-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   COMPONENTES — DIVIDER DOURADO
   ============================================================ */
.divider-gold {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto;
}

.divider-gold-left {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* ============================================================
   COMPONENTES — SEÇÃO LABEL (categoria)
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
}

.section-label span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ============================================================
   COMPONENTES — FEATURE LIST
   ============================================================ */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: var(--color-text-2);
}

.feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201, 165, 90, 0.12);
  border: 1px solid var(--color-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-icon::after {
  content: '';
  display: block;
  width: 6px;
  height: 4px;
  border-left: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  transform: rotate(-45deg) translateY(-1px);
}

/* ============================================================
   COMPONENTES — NÚMERO ESTATÍSTICA
   ============================================================ */
.stat-block {
  border-left: 1px solid var(--color-border);
  padding-left: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-3);
  margin-top: 0.375rem;
  font-weight: 500;
}

/* ============================================================
   COMPONENTES — PRICING CARD
   ============================================================ */
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  background: var(--color-surface-2);
  border-color: var(--color-gold);
  position: relative;
  box-shadow: 0 0 60px -20px var(--color-gold-glow), var(--shadow-card);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 165, 90, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-badge {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

/* ============================================================
   COMPONENTES — FAQ ACCORDION
   ============================================================ */
details.faq-item {
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

details.faq-item[open] {
  border-color: var(--color-border);
}

.faq-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::marker { display: none; content: ''; }

details.faq-item[open] .faq-summary { color: var(--color-gold); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text-3);
  transition: all var(--transition-base);
}

.faq-icon::before { width: 10px; height: 1px; }
.faq-icon::after  { width: 1px; height: 10px; }

details.faq-item[open] .faq-icon { border-color: var(--color-gold); }
details.faq-item[open] .faq-icon::before { background: var(--color-gold); }
details.faq-item[open] .faq-icon::after  { background: var(--color-gold); transform: rotate(90deg); opacity: 0; }

.faq-content {
  padding: 0 2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-2);
  line-height: 1.8;
  border-top: 1px solid var(--color-border-2);
  padding-top: 1.25rem;
}

/* ============================================================
   COMPONENTES — FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border-2);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  width: 80px;
  height: auto;
  display: block;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--color-text-3);
  line-height: 1.7;
  max-width: 260px;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-3);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-text-2);
  transition: color var(--transition-fast);
}

.footer-link:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid var(--color-border-2);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-3);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-3);
  font-size: 0.8rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 0 16px var(--color-gold-glow);
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA (Scroll Reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   UTILIDADES
   ============================================================ */

/* Gradiente de texto dourado */
.gradient-text {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradiente dourado como background */
.bg-gold-gradient {
  background: linear-gradient(135deg, var(--color-gold-dim) 0%, var(--color-gold) 100%);
}

/* Linha divisora decorativa */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 30%, var(--color-border) 70%, transparent 100%);
}

/* Glow de fundo */
.glow-red {
  position: relative;
}
.glow-red::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, var(--color-red-glow) 0%, transparent 70%);
  pointer-events: none;
}

.glow-gold {
  position: relative;
}
.glow-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Tag de portais */
.portal-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-3);
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
}

.portal-tag:hover {
  border-color: var(--color-border);
  color: var(--color-text-2);
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Flex utils */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.items-center { align-items: center; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 3rem; }

/* Text utils */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Margin utils */
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 4rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 4rem; }

/* Max widths */
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 800px; }
.max-w-xl { max-width: 1024px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/hero_background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(176, 16, 32, 0.08) 0%, transparent 60%),
              linear-gradient(to bottom, rgba(8,8,9,0.2) 0%, rgba(8,8,9,0) 40%, rgba(8,8,9,0.6) 80%, rgba(8,8,9,1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-lg) 0;
}

/* Linha decorativa do hero */
.hero-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-gold-dim));
  z-index: 2;
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 5rem;
  }

  .navbar-links { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-inner .btn, .lp-top-right .btn { display: none !important; }

  /* Quebra colunas hardcoded no mobile */
  div[style*="display:grid"], div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .container   { padding: 0 1.25rem; }
  .container-sm { padding: 0 1.25rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-desc { max-width: 100%; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  .btn-lg {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
  .btn {
    white-space: normal;
    height: auto;
    line-height: 1.4;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }
}

/* ============================================================
   JAVASCRIPT UTILS
   ============================================================ */
/* Para o script de scroll reveal e navbar scroll */
html { scroll-padding-top: 72px; }
