/* SYSTEM DESIGN & VARIABLES */
:root {
  /* Colors */
  --primary: hsl(218, 90%, 11%);       /* Navy Blue Deep */
  --primary-light: hsl(218, 80%, 25%);
  --primary-lightest: hsl(218, 70%, 94%);
  --accent: hsl(358, 76%, 60%);        /* Coral Accent */
  --accent-light: hsl(358, 85%, 72%);
  --accent-dark: hsl(358, 70%, 50%);
  --text-dark: hsl(218, 30%, 15%);
  --text-muted: hsl(218, 15%, 50%);
  --bg-light: hsl(0, 0%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-dark: hsl(218, 90%, 8%);
  --bg-dark-card: hsl(218, 60%, 14%);
  --border-light: rgba(2, 18, 43, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(2, 18, 43, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(2, 18, 43, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(2, 18, 43, 0.12);

  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --header-height: 76px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section {
  padding: 100px 0;
}

.bg-alt {
  background-color: hsl(218, 70%, 98%);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.text-white {
  color: #fff !important;
}

.text-gray-light {
  color: hsl(218, 20%, 80%) !important;
}

.text-primary {
  color: var(--accent) !important;
}

.text-primary-light {
  color: var(--accent-light) !important;
}

/* Botão flutuante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.whatsapp-float__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 64px;
        height: 64px;
    }
}

.w-full {
  width: 100%;
}

.max-w-3xl {
  max-width: 768px;
}

.max-w-4xl {
  max-width: 960px;
}

.text-center {
  text-align: center;
}

.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-lg { margin-bottom: 48px; }

.hidden {
  display: none !important;
}

/* GRID LAYOUTS */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2-col {
  grid-template-columns: 1fr 1fr;
}

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

.items-center {
  align-items: center;
}

.gap-md {
  gap: 24px;
}

.gap-lg {
  gap: 60px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

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

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(229, 82, 85, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  text-transform: none;
  font-size: 15px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 0;
  padding: 8px 4px;
}

.btn-ghost:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

/* BADGES */
.badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--font-headings);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.badge-alt {
  display: inline-block;
  background-color: rgba(229, 82, 85, 0.1);
  color: var(--accent-light);
  font-family: var(--font-headings);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(229, 82, 85, 0.2);
  margin-bottom: 20px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* HEADER WITH GLASSMORPHISM */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-b: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(2, 18, 43, 0.95);
  color: #fff;
  border-bottom: 1px solid var(--border-dark);
  box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

.header.scrolled .nav-link:hover {
  color: #fff;
}

.header.scrolled .logo {
  color: #fff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--primary);
}

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

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .mobile-menu-toggle span {
  background-color: #fff;
}

/* Mobile Toggle Active State */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Navigation Menu */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-nav-link:hover {
  color: var(--accent-light);
}

body.overflow-hidden {
  overflow: hidden;
}

/* SEÇÃO HERO */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px 0;
  overflow: hidden;
  background-color: var(--primary);
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: bg-pan 20s ease infinite alternate;
}

@keyframes bg-pan {
  0% { transform: scale(1.02) translate(0px, 0px); }
  100% { transform: scale(1.08) translate(-5px, -5px); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 18, 43, 0.75) 0%, rgba(2, 18, 43, 0.5) 40%, rgba(2, 18, 43, 0.85) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  color: #fff;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--accent-light);
  font-weight: 800;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-cta-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* FORM CARD */
.hero-form-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.form-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  height: 44px;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(2, 18, 43, 0.15);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229, 82, 85, 0.15);
}

.phone-input-wrapper {
  display: flex;
  position: relative;
  align-items: center;
}

.phone-flag {
  position: absolute;
  left: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.phone-input-wrapper input {
  padding-left: 64px !important;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.radio-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-custom {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(2, 18, 43, 0.25);
  position: relative;
  transition: var(--transition);
}

.radio-label input:checked ~ .radio-custom {
  border-color: var(--accent);
}

.radio-custom::after {
  content: '';
  position: absolute;
  display: none;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.radio-label input:checked ~ .radio-custom::after {
  display: block;
}

/* Validations */
.error-message {
  font-size: 11px;
  color: var(--accent-dark);
  font-weight: 500;
  display: none;
  margin-top: 2px;
}

.form-group.invalid input {
  border-color: var(--accent);
  background-color: rgba(229, 82, 85, 0.02);
}

.form-group.invalid .error-message {
  display: block;
}

.form-submit-btn {
  margin-top: 10px;
}

/* Form Success State */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 10px;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(46, 204, 113, 0.1);
  color: rgb(46, 204, 113);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.form-success-state h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary);
}

.form-success-state p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

/* SEÇÃO SOBRE */
.sobre-section {
  background-color: var(--bg-light);
}

.sobre-description {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 24px;
}

.sobre-description p {
  margin-bottom: 16px;
}

.sobre-description strong {
  color: var(--primary);
}

.address-marker {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-lightest);
  color: var(--primary);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  font-size: 14px;
}

.sobre-image-wrapper {
  position: relative;
  padding: 12px;
}

.image-card-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

.sobre-img {
  width: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.sobre-img:hover {
  transform: translate(6px, 6px);
}

/* SEÇÃO GALERIA (CARROSSEL) */
.galeria-section {
  background-color: #fff;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.carousel-track-container {
  height: 100%;
  position: relative;
}

.carousel-track {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: all;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(2, 18, 43, 0.8) 0%, rgba(2, 18, 43, 0) 100%);
  color: #fff;
  padding: 30px 24px 20px 24px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 16px;
  text-align: left;
}

/* Placeholders de Imagem */
.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 40px;
}

.slide-placeholder.gradient-1 {
  background: linear-gradient(135deg, hsl(218, 90%, 15%) 0%, hsl(358, 70%, 40%) 100%);
}

.slide-placeholder.gradient-2 {
  background: linear-gradient(135deg, hsl(180, 80%, 25%) 0%, hsl(218, 90%, 15%) 100%);
}

.placeholder-content h4 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}

.placeholder-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
}

/* Botões do Carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(2, 18, 43, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.carousel-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.carousel-btn-left {
  left: 20px;
}

.carousel-btn-right {
  right: 20px;
}

/* Indicadores de slide */
.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.current-slide {
  background-color: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Counter */
.carousel-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(2, 18, 43, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* SEÇÃO LOCALIZAÇÃO */
.localizacao-section {
  background-color: var(--bg-light);
}

.points-of-interest {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.points-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.points-list {
  display: flex;
  flex-direction: column;
}

.points-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.points-list li:first-child {
  padding-top: 0;
}

.point-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.point-distance {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Map card */
.map-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-container {
  height: 380px;
  width: 100%;
}

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

.map-footer {
  padding: 16px 24px;
  background-color: #fff;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-light);
}

.map-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
}

.map-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* SEÇÃO SIMULADOR FINANCEIRO */
.simulador-section {
  background-color: var(--primary-lightest);
}

.simulador-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.simulador-control {
  margin-bottom: 40px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.slider-label {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.units-value {
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 18px;
  padding: 6px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(229, 82, 85, 0.2);
}

/* Custom Range Input */
.range-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: var(--primary-lightest);
  outline: none;
  border-radius: 4px;
  margin-bottom: 10px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--accent-dark);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Grid resultados */
.simulador-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.result-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.result-card.highlight-card {
  background-color: rgba(229, 82, 85, 0.03);
  border-color: rgba(229, 82, 85, 0.15);
}

.result-tag {
  display: block;
  font-family: var(--font-headings);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.result-card.highlight-card .result-tag {
  color: var(--accent);
}

.result-value-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.result-value-container .currency {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.result-value-container .value {
  font-family: var(--font-headings);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.result-card.highlight-card .value {
  color: var(--accent);
}

.result-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Foco de Patrimonio */
.patrimonio-box {
  background-color: var(--primary);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  color: #fff;
}

.patrimonio-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.patrimonio-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.patrimonio-amount .currency {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.patrimonio-amount .amount-value {
  font-family: var(--font-headings);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}

.patrimonio-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin: 0 auto;
}

.simulador-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.simulador-footer p {
  font-size: 11px;
  color: var(--text-muted);
}

/* SEÇÃO DIFERENCIAIS */
.diferenciais-section {
  background-color: #fff;
}

.diferencial-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: left;
  transition: var(--transition);
}

.diferencial-card:hover {
  transform: translateY(-5px);
  background-color: #fff;
  border-color: rgba(2, 18, 43, 0.15);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--primary-lightest);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.diferencial-card:hover .icon-box {
  background-color: var(--accent);
  color: #fff;
  transform: rotateY(180deg);
}

.diferencial-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.diferencial-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* SEÇÃO CONTEXTO DE MERCADO */
.mercado-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.mercado-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(229, 82, 85, 0.15) 0%, rgba(229, 82, 85, 0) 70%);
  z-index: 1;
}

.mercado-section .container {
  position: relative;
  z-index: 2;
}

.market-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}

.stat-item {
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-headings);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: hsl(218, 20%, 75%);
  font-weight: 500;
  max-width: 200px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background-color: var(--border-dark);
}

/* RODAPÉ */
.footer {
  background-color: var(--primary);
  color: #fff;
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  font-family: var(--font-headings);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-headings);
  color: var(--accent-light);
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer-mail {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-light);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

.footer-mail:hover {
  color: #fff;
  border-color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* RESPONSIVIDADE (MEDIA QUERIES) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 36px auto;
  }
  
  .hero-cta-wrapper {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .nav-menu {
    display: none;
  }

  .header-actions .btn {
    display: none; /* Hide primary button on mobile header */
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-img:hover {
    transform: none;
  }

  .image-card-accent {
    display: none;
  }

  .carousel-container {
    aspect-ratio: 4 / 3;
  }

  .placeholder-content h4 {
    font-size: 22px;
  }

  .placeholder-content p {
    font-size: 14px;
    padding: 0 10px;
  }

  .simulador-results-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 36px;
  }

  .market-stats {
    flex-direction: column;
    gap: 30px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-form-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }
  
  .hero-cta-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .carousel-container {
    aspect-ratio: 1 / 1;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .carousel-btn-left {
    left: 10px;
  }

  .carousel-btn-right {
    right: 10px;
  }

  .simulador-card {
    padding: 20px;
  }

  .patrimonio-amount .amount-value {
    font-size: 36px;
  }
  
  .diferencial-card {
    padding: 30px 20px;
  }
}
