/* ========================================
   TCI Creditos - Light Theme
   Cream background with light gold accents
   ======================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #A8893D;
  --gold-10: rgba(201, 168, 76, 0.10);
  --gold-15: rgba(201, 168, 76, 0.15);
  --gold-20: rgba(201, 168, 76, 0.20);
  --gold-30: rgba(201, 168, 76, 0.30);
  --gold-06: rgba(201, 168, 76, 0.06);

  --bg: #FDFBF7;
  --bg-elevated: #F7F3EC;
  --bg-card: #FFFFFF;
  --bg-input: #F5F1EA;
  --bg-hero: #FDFBF7;

  --border: #E8E2D8;
  --border-hover: #D4C9B8;

  --text: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-muted: #999999;

  --green-wa: #25D366;
  --green-wa-dark: #1ebe57;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --container: 1160px;
  --header-h: 72px;
  --topbar-h: 40px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

/* ========================================
   UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.54s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TOP BAR
   ======================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-h);
  z-index: 1001;
  background: var(--gold-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__left a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.topbar__left a:hover {
  color: #fff;
}

.topbar__left svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s, background 0.2s;
}

.topbar__right a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.topbar__right svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.topbar__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 6px;
}

@media (max-width: 767px) {
  .topbar {
    font-size: 10px;
  }

  .topbar__left {
    gap: 10px;
  }

  .topbar__left a span {
    display: none;
  }

  .topbar__left a svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.logo-text {
  color: var(--text);
}

/* Desktop Nav */
.header__nav {
  display: none;
  align-items: center;
  gap: 36px;
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
}

.header__nav-link:hover {
  color: var(--text);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
  left: 0;
}

.header__nav-link--active {
  color: var(--gold);
}

/* Header CTA */
.header__cta {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid var(--gold-20);
  border-radius: 100px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.header__cta:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.header__cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
  transform-origin: center;
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: calc(100px + var(--topbar-h)) 32px 40px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
}

.mobile-menu__link {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.3s var(--ease);
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--gold);
  padding-left: 8px;
}

.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  margin-top: auto;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.mobile-menu__cta:hover {
  background: var(--gold-dark);
}

.mobile-menu__cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
  min-height: 48px;
  cursor: pointer;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--gold);
  color: #fff;
}

.btn--primary:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 20px var(--gold-15);
}

.btn--outline {
  border: 1px solid var(--gold-20);
  color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn--whatsapp {
  background: var(--green-wa);
  color: #fff;
}

.btn--whatsapp:hover {
  background: var(--green-wa-dark);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
  min-height: 42px;
}

/* ========================================
   HERO (Home)
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  background: var(--bg-hero);
  overflow: hidden;
}

/* Animated gradient orbs - light gold */
.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 25% 45%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 55%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
  animation: heroDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 70%);
  pointer-events: none;
}

@keyframes heroDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -2%) scale(1.05); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero__title span {
  color: var(--gold);
  position: relative;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust {
  position: relative;
  padding: 56px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.4;
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust__item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.trust__item:hover {
  border-color: var(--gold-20);
  box-shadow: 0 4px 20px var(--gold-10);
}

.trust__icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
  color: var(--gold);
}

.trust__icon svg {
  width: 32px;
  height: 32px;
}

.trust__number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.trust__label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ========================================
   CARDS
   ======================================== */
.cards-section {
  padding: 72px 0;
}

.cards-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.cards-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cards-section__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-30);
  box-shadow: 0 12px 40px var(--gold-10), 0 4px 16px rgba(0, 0, 0, 0.05);
}

.card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 16px;
}

.card__badge svg {
  width: 14px;
  height: 14px;
}

.card__badge--imovel {
  background: var(--gold-10);
  color: var(--gold-dark);
  border: 1px solid var(--gold-20);
}

.card__badge--veiculo {
  background: rgba(37, 211, 102, 0.08);
  color: var(--green-wa);
  border: 1px solid rgba(37, 211, 102, 0.15);
}

.card__badge--default {
  background: var(--gold-10);
  color: var(--gold-dark);
}

.card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.card__credit {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.card__price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.card .btn {
  width: 100%;
}

.cards-section__cta {
  text-align: center;
  margin-top: 40px;
}

/* ========================================
   FILTERS
   ======================================== */
.filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-select {
  padding: 10px 40px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-card);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235C5C5C' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s, color 0.2s;
  min-height: 42px;
}

.filter-select:hover {
  border-color: var(--gold-20);
  color: var(--gold);
}

.filter-select:focus {
  border-color: var(--gold);
  outline: none;
}

@media (max-width: 480px) {
  .filters {
    gap: 8px;
    margin-bottom: 20px;
  }

  .filter-select {
    padding: 8px 32px 8px 12px;
    font-size: 12px;
    min-height: 36px;
    background-size: 10px;
    background-position: right 12px center;
  }
}

.type-toggles {
  display: flex;
  gap: 6px;
  background: var(--bg-input);
  padding: 3px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.type-toggle {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.type-toggle:hover {
  color: var(--text);
}

.type-toggle--active {
  background: var(--bg-card);
  color: var(--gold);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.card-mobile {
  display: none;
}

.card-desktop {
  display: table-row;
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .cards-section {
    padding: 40px 0;
    overflow-x: hidden;
  }

  .cards-section .container {
    overflow-x: hidden;
    padding: 0 12px;
  }

  .table-wrapper {
    overflow: hidden;
    border: none !important;
    background: transparent !important;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .cards-table {
    display: block;
    width: 100%;
    border: none;
  }

  .cards-table thead {
    display: none;
  }

  .cards-table tbody {
    display: block;
    width: 100%;
  }

  .cards-table tr {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .cards-table tr:last-child td {
    border-bottom: none;
  }

  .cards-table td {
    display: block;
    width: 100%;
    padding: 10px 12px !important;
    border: none !important;
    box-sizing: border-box;
  }

  .cards-table td:first-child {
    display: flex;
    justify-content: flex-start;
    padding-top: 10px !important;
    margin-bottom: 0;
  }

  .cards-table td:last-child {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    margin-top: 2px;
  }

  .cards-table tbody tr {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 6px;
    padding: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .cards-table tbody tr:hover {
    background: var(--bg-card);
  }

  .cards-table .type-badge {
    font-size: 8px;
    padding: 2px 6px;
    gap: 4px;
  }

  .cards-table .type-badge svg {
    width: 10px;
    height: 10px;
  }

  .cards-table .card-name {
    font-size: 0.8rem;
    text-align: right;
  }

  .cards-table .card-credit {
    font-size: 0.85rem;
    text-align: right;
  }

  .cards-table .card-price {
    font-size: 0.75rem;
    text-align: right;
  }

  .cards-table .btn {
    padding: 5px 10px;
    font-size: 11px;
    min-height: 32px;
  }

  .pagination {
    padding: 0 12px;
  }

  .pagination button {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
}

/* ========================================
   PAGE HERO (Subpages)
   ======================================== */
.page-hero {
  padding: calc(var(--header-h) + var(--topbar-h) + 48px) 24px 48px;
  text-align: center;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, var(--gold-06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.3;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
}

.page-hero__subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

/* ========================================
   CTA SECTIONS
   ======================================== */
.cta-section {
  padding: 64px 0;
  text-align: center;
  position: relative;
}

.cta-section--gold {
  background: var(--gold-light);
  border-top: 1px solid var(--gold-20);
  border-bottom: 1px solid var(--gold-20);
}

.cta-section--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section--dark {
  background: var(--bg-elevated);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}

.cta-section__text {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
}

/* ========================================
   BENEFITS (Vender)
   ======================================== */
.benefits {
  padding: 64px 0;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.benefit:hover {
  border-color: var(--gold-20);
  box-shadow: 0 4px 20px var(--gold-10);
}

.benefit__icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.benefit__icon svg {
  width: 40px;
  height: 40px;
}

.benefit__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   FORM
   ======================================== */
.form-section {
  padding: 64px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.form-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.form-wrapper .section-title {
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-10);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235C5C5C' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-note a {
  color: var(--green-wa);
  font-weight: 500;
}

.form-note a:hover {
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-elevated);
  padding: 56px 0 0;
  position: relative;
  border-top: 1px solid var(--border);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.3;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__heading--mt {
  margin-top: 32px;
}

.footer__description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer__cnpj {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer__registration {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__services {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__services li {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact li {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer__contact a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.footer__social a:hover {
  border-color: var(--gold);
  background: var(--gold-10);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  transition: fill 0.2s;
}

.footer__social a:hover svg {
  fill: var(--gold);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}

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

/* ========================================
   WHATSAPP FAB
   ======================================== */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--green-wa);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.wa-fab svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.wa-fab__label {
  display: none;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
  50%      { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.65); }
}

.wa-fab.pulse {
  animation: wa-pulse 1.5s ease-in-out;
}

/* ========================================
   TABLE
   ======================================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.cards-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cards-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.cards-table th:nth-child(1) { width: 12%; }
.cards-table th:nth-child(2) { width: 30%; }
.cards-table th:nth-child(3) { width: 18%; }
.cards-table th:nth-child(4) { width: 18%; }
.cards-table th:nth-child(5) { width: 22%; }

.cards-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cards-table tr:last-child td {
  border-bottom: none;
}

.cards-table tbody tr {
  transition: background 0.2s;
}

.cards-table tbody tr:hover {
  background: var(--bg-elevated);
}

.cards-table .type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.cards-table .type-badge--imovel {
  background: var(--gold-10);
  color: var(--gold-dark);
  border: 1px solid var(--gold-20);
}

.cards-table .type-badge--veiculo {
  background: rgba(37, 211, 102, 0.08);
  color: var(--green-wa);
  border: 1px solid rgba(37, 211, 102, 0.15);
}

.cards-table .type-badge svg {
  width: 14px;
  height: 14px;
}

.cards-table .card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.cards-table .card-credit {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.cards-table .card-price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--gold-20);
  color: var(--gold);
}

.pagination button.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination .dots {
  color: var(--text-muted);
  padding: 0 8px;
}

/* ========================================
   RESPONSIVE - Tablet (520px+)
   ======================================== */
@media (min-width: 520px) {
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}

/* ========================================
   RESPONSIVE - Desktop (768px+)
   ======================================== */
@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__hamburger {
    display: none;
  }

  .hero {
    padding: 0 24px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-hero {
    padding: calc(var(--header-h) + var(--topbar-h) + 64px) 24px 64px;
  }

  .trust {
    padding: 64px 0;
  }

  .cards-section {
    padding: 88px 0;
  }

  .cta-section {
    padding: 80px 0;
  }

  .benefits {
    padding: 80px 0;
  }

  .form-section {
    padding: 80px 0;
  }

  .wa-fab__label {
    display: inline;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
  }
}