/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES - EPEC ROYAL
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary-color: #0b2e16;
  /* Verde Floresta Escuro */
  --primary-light: #164e29;
  /* Verde Claro */
  --accent-color: #c5a85c;
  /* Dourado Imperial */
  --accent-hover: #b39449;
  /* Dourado Escuro */
  --secondary-color: #005aa5;
  /* Azul Royal (da outra marca) */
  --secondary-hover: #004078;

  --text-dark: #1a202c;
  /* Preto suave para leitura */
  --text-muted: #4a5568;
  /* Cinza para descrições */
  --text-light: #718096;
  /* Cinza claro */
  --bg-light: #f7fafc;
  /* Fundo cinza bem claro */
  --bg-white: #ffffff;
  --bg-dark: #0f160e;
  /* Fundo do footer escuro/esverdeado */

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 15px 30px rgba(11, 46, 22, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Font Families */
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Transition times */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

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

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADERS
   ========================================================================== */
.section-subtitle {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  color: var(--primary-color);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: var(--radius-sm);
}

.section-description {
  max-width: 700px;
  margin: 1.5rem auto 4rem auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(197, 168, 92, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 92, 0.6);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-white {
  background-color: #fff;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 46, 22, 0.3);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 46, 22, 0.5);
}

/* ==========================================================================
   NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.header.scrolled .nav-logo img {
  height: 50px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 55px;
  width: auto;
  transition: all var(--transition-normal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  position: relative;
}

/* For pages where header is dark but scrolled is light */
.header:not(.scrolled) .nav-link {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.nav-link:hover {
  color: var(--accent-color) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.header.scrolled .nav-toggle span {
  background-color: var(--primary-color);
}

.nav-actions .btn {
  white-space: nowrap;
}

.nav-cta-mobile {
  display: none;
}

/* ==========================================================================
   HERO SECTION (DYNAMIC BACKGROUND)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #000;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.65);
  transform: scale(1.05);
  animation: zoomBg 20s infinite alternate ease-in-out;
}

@keyframes zoomBg {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 46, 22, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 168, 92, 0.2);
  border: 1px solid rgba(197, 168, 92, 0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-scroll-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.hero-scroll-btn:hover {
  opacity: 1;
}

.hero-scroll-btn .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 12px;
  position: relative;
}

.hero-scroll-btn .wheel {
  width: 4px;
  height: 8px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
  0% {
    top: 6px;
    opacity: 1;
  }

  100% {
    top: 20px;
    opacity: 0;
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-container {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-carousel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
}

.about-carousel .about-carousel-media,
.about-carousel .card-media {
  height: auto !important;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: #fff !important;
  background-color: #fff !important;
}

.about-carousel .card-slides {
  align-items: center;
}

.about-carousel .card-slide {
  min-width: 100%;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.about-img.gallery-trigger {
  cursor: pointer;
}

.about-img.gallery-trigger:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-premium);
}

.about-img-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-img-badge .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.about-img-badge .text {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-item i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.about-feature-item h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.about-feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LOTEAMENTOS SECTION
   ========================================================================== */
.loteamentos {
  background-color: var(--bg-white);
}

.loteamentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.lote-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid #edf2f7;
}

.lote-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(197, 168, 92, 0.3);
}

/* Destaque do Loteamento Premium no Grid */
.lote-card.premium-highlight {
  border: 2px solid var(--primary-color) !important;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lote-card.premium-highlight:hover {
  border-color: var(--primary-color) !important;
  box-shadow: var(--shadow-premium), 0 0 15px rgba(11, 46, 22, 0.2);
}

.lote-card.premium-highlight::after {
  content: 'DOBRO DO TAMANHO';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.lote-card.premium-highlight .card-spec-item.spec-highlight {
  background-color: rgba(11, 46, 22, 0.1);
  color: var(--primary-color);
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11, 46, 22, 0.2);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lote-card.premium-highlight .card-spec-item.spec-highlight i {
  color: var(--primary-color);
}


/* Carousel inside Card */
.card-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #000;
}

.card-slides {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform var(--transition-slow);
}

.card-slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;
}

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

.card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 0.85rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.card-nav:hover {
  background-color: #fff;
  color: var(--accent-color);
}

.card-nav-prev {
  left: 0.75rem;
}

.card-nav-next {
  right: 0.75rem;
}

.card-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 10;
}

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.card-dot.active {
  background-color: var(--accent-color);
  width: 16px;
  border-radius: 4px;
}

/* Card Content */
.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card-specs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.card-spec-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-spec-item i {
  color: var(--accent-color);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-price-container {
  border-top: 1px solid #edf2f7;
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.card-price-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-price-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.card-price-cash {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.card-price-cash span {
  color: var(--accent-color);
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ==========================================================================
   SIMULATOR SECTION
   ========================================================================== */
.simulator-section {
  background: linear-gradient(135deg, #0b2e16 0%, #061f0e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.simulator-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 92, 0.08) 0%, transparent 70%);
  top: -150px;
  right: -150px;
}

.simulator-section .section-title {
  color: #fff;
}

.simulator-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.simulator-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xl);
}

.sim-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

/* Simulator Form */
.sim-form-group {
  margin-bottom: 2rem;
}

.sim-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.sim-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c5a85c'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.5rem;
  transition: all var(--transition-fast);
}

.sim-select:focus,
.sim-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(197, 168, 92, 0.25);
}

.sim-input-wrapper {
  position: relative;
}

.sim-input-prefix {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.sim-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1rem 1.25rem 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.sim-range-container {
  margin-top: 1rem;
}

.sim-range {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.sim-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 2px solid #fff;
  transition: transform var(--transition-fast);
}

.sim-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Installment Badges */
.sim-installments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sim-installment-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.sim-installment-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 168, 92, 0.5);
}

.sim-installment-badge.active {
  background: rgba(197, 168, 92, 0.15);
  border-color: var(--accent-color);
}

.sim-installment-badge.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.sim-installment-badge .months {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
}

.sim-installment-badge .desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Simulator Results */
.sim-results-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-result-row:first-child {
  padding-top: 0;
}

.sim-result-row:last-of-type {
  border-bottom: none;
  padding-bottom: 2rem;
}

.sim-result-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.sim-result-val {
  font-weight: 600;
  font-size: 1.1rem;
}

.sim-result-val.highlight {
  color: var(--accent-color);
}

.sim-result-installments-block {
  text-align: center;
  background: rgba(197, 168, 92, 0.1);
  border: 1px solid rgba(197, 168, 92, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.sim-result-installments-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.sim-result-installments-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  font-family: var(--font-title);
  line-height: 1;
}

.sim-result-installments-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}

.sim-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.4;
  margin-top: 1rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(11, 46, 22, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-method:hover .contact-method-icon {
  background-color: var(--primary-color);
  color: #fff;
}

.contact-method-text h4 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.contact-method-text p,
.contact-method-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-method-text a:hover {
  color: var(--accent-color);
}

/* Contact Form */
.contact-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #edf2f7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-control {
  background-color: var(--bg-light);
  border: 1px solid #e2e8f0;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-color);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(197, 168, 92, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: #fff;
  font-family: var(--font-title);
  margin-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-color);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  padding: 1rem;
  z-index: 2100;
}

.lightbox-nav:hover {
  color: var(--accent-color);
}

.lightbox-nav-prev {
  left: -4.5rem;
}

.lightbox-nav-next {
  right: -4.5rem;
}

/* ==========================================================================
   FLOATING BUTTON (WHATSAPP)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #20ba5a;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #25d366;
  animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 55px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.footer-social-icon:hover {
  background-color: #83b127;
  color: #fff;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

/* ==========================================================================
   ANIMATIONS & REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.reveal-left {
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   TWO COLUMNS GRID FOR LOTEAMENTOS (JARDIM EUROPA & VISTA VERDE)
   ========================================================================== */
.loteamentos-grid.two-columns {
  grid-template-columns: repeat(2, 1fr);
  max-width: 850px;
  margin: 0 auto;
}

/* ==========================================================================
   SAN MARINO SPECIAL PREMIUM SECTION
   ========================================================================== */
.san-marino-section {
  background: linear-gradient(135deg, #0b2e16 0%, #05180c 100%);
  color: #fff;
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid var(--accent-color);
}

.san-marino-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: flex-start;
}

.san-marino-media {
  height: 100%;
}

.premium-card-carousel {
  border: none !important;
  box-shadow: var(--shadow-xl) !important;
  height: 520px;
  background: transparent !important;
}

.premium-card-carousel .card-media {
  height: 100% !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.premium-tag {
  background-color: var(--accent-color) !important;
  color: #fff !important;
}

/* Miniaturas de Preview */
.premium-thumbs {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: space-between;
}

.premium-thumb {
  width: calc(25% - 0.75rem);
  height: 85px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.premium-thumb:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.premium-thumb.active {
  opacity: 1;
  border-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(197, 168, 92, 0.4);
}

.san-marino-info .section-title {
  color: #fff;
}

.san-marino-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Box de Destaque 300m2 */
.san-marino-highlight-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 168, 92, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.san-marino-highlight-box:hover {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.06);
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.highlight-main {
  display: flex;
  align-items: baseline;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.highlight-qty {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.highlight-unit {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-left: 0.25rem;
}

.highlight-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.highlight-desc strong {
  color: var(--accent-color);
}

/* Lista de diferenciais */
.premium-features-list {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  list-style: none;
  padding: 0;
}

.premium-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.premium-features-list i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Box de Preços */
.premium-price-box {
  background: rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.price-row.cash-row {
  margin-bottom: 0.75rem;
}

.price-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.price-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.price-value.highlight {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-finance-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.btn-premium-cta {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(197, 168, 92, 0.3);
}

/* Variante clara (fundo branco) para alternar verde / branca / verde */
.san-marino-section.light {
  background: #fff;
  color: var(--text-dark);
}
.san-marino-section.light .san-marino-info .section-title {
  color: var(--primary-color);
}
.san-marino-section.light .san-marino-description {
  color: var(--text-muted);
}
.san-marino-section.light .san-marino-highlight-box {
  background: var(--bg-light);
  border: 1px solid rgba(197, 168, 92, 0.5);
  box-shadow: var(--shadow-sm);
}
.san-marino-section.light .san-marino-highlight-box:hover {
  background: #fff;
  border-color: var(--accent-color);
}
.san-marino-section.light .highlight-qty {
  color: var(--primary-color);
  text-shadow: none;
}
.san-marino-section.light .highlight-desc {
  color: var(--text-muted);
}
.san-marino-section.light .highlight-desc strong {
  color: var(--primary-color);
}
.san-marino-section.light .premium-features-list li {
  color: var(--text-dark);
}
.san-marino-section.light .premium-price-box {
  background: var(--primary-color);
  box-shadow: var(--shadow-md);
}
.san-marino-section.light .price-label {
  color: rgba(255, 255, 255, 0.8);
}
.san-marino-section.light .price-finance-note {
  color: rgba(255, 255, 255, 0.6);
}

.section-title.align-left::after {
  left: 0;
  transform: none;
}

/* Responsividade San Marino */
@media (max-width: 1024px) {
  .san-marino-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .san-marino-info {
    order: -1;
  }

  .premium-card-carousel {
    height: 420px;
  }

  .san-marino-info .section-title {
    display: inline-block;
  }

  .premium-thumb {
    height: 75px;
  }
}

@media (max-width: 768px) {
  .loteamentos-grid.two-columns {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .premium-card-carousel {
    height: 320px;
  }

  .highlight-qty {
    font-size: 4.5rem;
  }

  .highlight-unit {
    font-size: 1.75rem;
  }

  .premium-thumb {
    height: 60px;
  }

  .premium-thumbs {
    gap: 0.5rem;
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {

  .about-grid,
  .contact-grid,
  .sim-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .loteamentos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .about-img-container {
    order: 2;
  }

  .about-content {
    order: 1;
  }

  .about-img {
    height: 350px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .lightbox-nav-prev {
    left: -2.5rem;
  }

  .lightbox-nav-next {
    right: -2.5rem;
  }
}

@media (max-width: 768px) {
  .header {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1.25rem 0;
    box-shadow: none;
  }

  .header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
  }

  .header:not(.scrolled) .nav-link {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }

  .header.scrolled .nav-link {
    color: var(--text-dark);
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .nav-link {
    font-size: 1.1rem;
    color: var(--text-dark) !important;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }

  .header:not(.scrolled) .nav-toggle span {
    background-color: #fff;
  }

  .header.scrolled .nav-toggle span {
    background-color: var(--primary-color);
  }

  .nav-actions {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex !important;
    margin-top: 0.5rem;
    width: 90%;
    justify-content: center;
  }

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

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .simulator-wrapper {
    padding: 1.5rem;
  }

  .sim-installments-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lightbox-nav {
    display: none !important;
  }
}