/* =====================================================
   Costa Capital Investimento — Site Institucional
   Design System & Stylesheet
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --green: #1B6B3E;
  --green-light: #22915A;
  --green-dark: #124A28;
  --green-muted: #E8F5ED;
  --gold: #C6A352;
  --gold-light: #D4BC6A;
  --gold-dark: #A8893C;
  --gold-muted: #FBF6EA;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-alt: #F7F7F5;
  --bg-dark: #0B1A10;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;

  /* Text */
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #7A7A7A;
  --text-inverse: #F5F5F5;

  /* Borders & Shadows */
  --border: #E5E5E5;
  --border-light: #F0F0F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.1), 0 8px 20px rgba(0,0,0,.06);

  /* Spacing */
  --sp-2xs: .25rem;
  --sp-xs: .5rem;
  --sp-sm: .75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Typography */
  --ff-heading: 'DM Serif Display', 'Georgia', serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --dur-fast: .2s;
  --dur-base: .3s;
  --dur-slow: .5s;

  /* Header */
  --header-h: 80px;
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --bg: #0C0C0C;
  --bg-alt: #141414;
  --bg-dark: #080808;
  --surface: #1A1A1A;
  --surface-raised: #222222;
  --text: #ECECEC;
  --text-secondary: #B0B0B0;
  --text-muted: #777777;
  --text-inverse: #1A1A1A;
  --border: #2A2A2A;
  --border-light: #1E1E1E;
  --green-muted: rgba(27,107,62,.15);
  --gold-muted: rgba(198,163,82,.1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,.25);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.3);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--sp-xl); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section { padding: var(--sp-5xl) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
[data-theme="dark"] .section-dark { background: #060D08; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
[data-theme="dark"] .section-dark h1,
[data-theme="dark"] .section-dark h2,
[data-theme="dark"] .section-dark h3,
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-inverse); }
h1 { font-size: clamp(2.2rem, 5vw, var(--fs-5xl)); }
h2 { font-size: clamp(1.8rem, 4vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-xl); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-3xl);
}
.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: var(--sp-md);
}
.section-header h2 { margin-bottom: var(--sp-md); }
.section-header p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.8;
}
.section-dark .section-header p { color: rgba(255,255,255,.7); }
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: var(--radius-full);
  margin: var(--sp-lg) auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,107,62,.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.section-dark .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.section-dark .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-gold {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198,163,82,.3);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}
.btn-lg { padding: 1rem 2.5rem; font-size: var(--fs-base); }
.btn-sm { padding: .6rem 1.4rem; font-size: var(--fs-xs); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), backdrop-filter var(--dur-base) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .site-header.scrolled {
  background: rgba(12,12,12,.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-xl);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
  z-index: 1010;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 400;
}
.logo-text {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.site-header:not(.scrolled) .logo-text { color: #fff; }
[data-theme="dark"] .logo-text { color: var(--text); }
[data-theme="dark"] .site-header:not(.scrolled) .logo-text { color: #fff; }
.logo-text span { color: var(--gold); font-weight: 400; }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: var(--sp-2xs); }
.main-nav a {
  padding: .5rem .85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.site-header:not(.scrolled) .main-nav a { color: rgba(255,255,255,.8); }
.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  background: var(--green-muted);
}
.site-header:not(.scrolled) .main-nav a:hover,
.site-header:not(.scrolled) .main-nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,.1);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  z-index: 1010;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--dur-fast) var(--ease);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.site-header:not(.scrolled) .theme-toggle {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.header-cta {
  font-size: var(--fs-sm);
  padding: .6rem 1.4rem;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease);
}
.site-header:not(.scrolled) .burger span { background: #fff; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-base) var(--ease);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 85vw);
    height: 100vh; height: 100dvh;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + var(--sp-lg)) var(--sp-lg) var(--sp-lg);
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease);
    box-shadow: -8px 0 30px rgba(0,0,0,.15);
    z-index: 1005;
    overflow-y: auto;
    gap: var(--sp-2xs);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    padding: .85rem var(--sp-md);
    font-size: var(--fs-base);
    color: var(--text);
  }
  .site-header:not(.scrolled) .main-nav a { color: var(--text); }
  .burger { display: flex; }
  .header-cta { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--sp-3xl)) 0 var(--sp-4xl);
  overflow: hidden;
  background: linear-gradient(160deg, #0B1A10 0%, #143D22 40%, #0F2D18 70%, #0A1A0F 100%);
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(27,107,62,.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(198,163,82,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
[data-theme="dark"] .hero::after {
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-xl);
  backdrop-filter: blur(8px);
}
.hero h1 {
  color: #fff;
  margin-bottom: var(--sp-lg);
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-desc {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  margin-bottom: var(--sp-2xl);
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: var(--sp-3xl);
  margin-top: var(--sp-4xl);
  padding-top: var(--sp-2xl);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-trust-item strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  color: var(--gold);
  margin-bottom: var(--sp-2xs);
}
.hero-trust-item span {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  letter-spacing: .5px;
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + var(--sp-2xl)) 0 var(--sp-3xl); }
  .hero-trust { gap: var(--sp-xl); flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--green-muted);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
}
.service-card-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}
.service-card-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--dur-fast) var(--ease);
}
.service-card-link svg { width: 16px; height: 16px; }
.service-card:hover .service-card-link { gap: .6rem; }
.service-card.premium .service-card-icon {
  background: var(--gold-muted);
  color: var(--gold-dark);
}
.service-card.premium .service-card-link { color: var(--gold-dark); }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Spotlight Sections ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
}
.spotlight.reverse { direction: rtl; }
.spotlight.reverse > * { direction: ltr; }
.spotlight-content { max-width: 520px; }
.spotlight-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: var(--sp-md);
}
.spotlight-content h2 {
  margin-bottom: var(--sp-lg);
}
.spotlight-content p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}
.spotlight-list {
  margin-bottom: var(--sp-2xl);
}
.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  font-size: var(--fs-base);
  color: var(--text-secondary);
}
.spotlight-list li svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.spotlight-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-alt);
}
.spotlight-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}
.spotlight-visual-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-muted) 0%, var(--bg-alt) 100%);
  color: var(--green);
}
[data-theme="dark"] .spotlight-visual-placeholder {
  background: linear-gradient(135deg, rgba(27,107,62,.15) 0%, var(--surface) 100%);
}
.spotlight-visual-placeholder svg { width: 64px; height: 64px; opacity: .4; }

@media (max-width: 768px) {
  .spotlight { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .spotlight.reverse { direction: ltr; }
  .spotlight-content { max-width: 100%; }
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
}
.stat-item {
  padding: var(--sp-xl) var(--sp-md);
}
.stat-number {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, var(--fs-4xl));
  color: var(--gold);
  margin-bottom: var(--sp-xs);
  display: block;
}
.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  letter-spacing: .5px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
.why-card {
  text-align: center;
  padding: var(--sp-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--dur-base) var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-lg);
  background: var(--green-muted);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.why-card-icon svg { width: 28px; height: 28px; }
.why-card h3 { margin-bottom: var(--sp-sm); }
.why-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  position: relative;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-md);
  color: var(--gold);
}
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial-text {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--green-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  color: var(--green);
  font-weight: 600;
}
.testimonial-name {
  font-weight: 600;
  font-size: var(--fs-sm);
}
.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- CTA Band ---------- */
.cta-band {
  text-align: center;
  padding: var(--sp-5xl) 0;
  background: linear-gradient(160deg, #0B1A10 0%, #143D22 50%, #0F2D18 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(198,163,82,.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-md); }
.cta-band p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto var(--sp-2xl);
}
.cta-band-actions {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page Hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + var(--sp-4xl)) 0 var(--sp-3xl);
  background: linear-gradient(160deg, #0B1A10 0%, #143D22 50%, #0F2D18 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(27,107,62,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: var(--sp-md); position: relative; }
.page-hero p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  margin-top: var(--sp-xl);
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-current { color: var(--gold); }

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
}
.about-text h2 { margin-bottom: var(--sp-lg); }
.about-text p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: var(--sp-md);
}
.about-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
.value-card {
  padding: var(--sp-2xl);
  text-align: center;
}
.value-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-lg);
  background: var(--green-muted);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.value-card-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-sm); }
.value-card p { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.8; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--dur-base) var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portfolio-card-img {
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  overflow: hidden;
}
.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }
.portfolio-card-body {
  padding: var(--sp-lg);
}
.portfolio-card-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: var(--sp-sm);
}
.portfolio-card-body h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-xs); }
.portfolio-card-body p { font-size: var(--fs-sm); color: var(--text-muted); }

@media (max-width: 768px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-lg) 0;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}
.faq-question:hover { color: var(--green); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--dur-base) var(--ease);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease), padding var(--dur-base) var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--sp-lg);
}
.faq-answer p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}
.contact-info-item {
  display: flex;
  gap: var(--sp-md);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--green-muted);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-text h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--sp-2xs);
}
.contact-info-text p, .contact-info-text a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-info-text a:hover { color: var(--green); }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
}
.form-group {
  margin-bottom: var(--sp-lg);
}
.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,107,62,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0A0A0A;
  color: rgba(255,255,255,.6);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-copy {
  font-size: var(--fs-xs);
}
.footer-links {
  display: flex;
  gap: var(--sp-lg);
}
.footer-links a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: var(--sp-sm);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--dur-fast);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-credit {
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.3);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-credit a { color: rgba(255,255,255,.4); transition: color var(--dur-fast); }
.footer-credit a:hover { color: var(--gold); }
.amdg-logo {
  display: inline-block;
  height: 16px;
  width: auto;
  vertical-align: middle;
  margin-left: 4px;
  opacity: .5;
  transition: opacity var(--dur-fast);
}
.footer-credit a:hover .amdg-logo { opacity: 1; }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: all var(--dur-base) var(--ease);
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
}
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.35); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,.55), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 899;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur-base) var(--ease);
  box-shadow: var(--shadow-sm);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: var(--green); border-color: var(--green); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Video Gallery ---------- */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--dur-base) var(--ease);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  background: #000;
}
.video-card-body {
  padding: var(--sp-lg);
}
.video-card-body h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}
.video-card-body p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .video-gallery { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ---------- Hidden (Imobiliário) ---------- */
.hidden-section { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 var(--sp-lg); }
}
@media (max-width: 768px) {
  .section { padding: var(--sp-4xl) 0; }
  .section-header { margin-bottom: var(--sp-2xl); }
}
@media (max-width: 480px) {
  .section { padding: var(--sp-3xl) 0; }
  .container { padding: 0 var(--sp-md); }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .whatsapp-float, .back-to-top, .mobile-overlay { display: none !important; }
  body { color: #000; background: #fff; }
}
