@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   PREMIUM DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette - Lexus / Genesis inspired */
  --bg-primary: #0A0A0B;       /* Obsidian Black - Deepest dark background */
  --bg-secondary: #121214;     /* Premium Graphite - Cards, sections */
  --bg-tertiary: #19191C;      /* Deep Charcoal - Subtle accents, form fields */
  --accent-gold: #C5A572;      /* Champagne Gold - Sleek premium accent */
  --accent-gold-rgb: 197, 165, 114;
  --accent-gold-hover: #DBC096; /* Lighter Champagne Gold for hover */
  --accent-gold-muted: #8E7856; /* Darker warm gold for borders/shadows */
  
  /* Text Colors */
  --text-primary: #F3F4F6;     /* Soft Off-White for body & headlines */
  --text-secondary: #9CA3AF;   /* Muted Grey for sub-paragraphs */
  --text-muted: #6B7280;       /* Darker grey for details and small captions */
  
  /* Borders and Dividers */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-gold: rgba(197, 165, 114, 0.18);
  --border-color-active: rgba(197, 165, 114, 0.4);
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Transitions (Slow & smooth for premium feel) */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  /* Shadows and Effects */
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold-glow: 0 0 20px rgba(197, 165, 114, 0.08);
  --glass-backdrop: blur(12px);
  --glass-bg: rgba(10, 10, 11, 0.75);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES & TYPOGRAPHY
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Spacing */
.section-padding {
  padding: 9.5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.25rem 0;
  }
  .container {
    padding: 0 1.5rem;
  }
}

/* Titles and Headlines */
.title-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  font-weight: 300;
  margin-bottom: 4rem;
}

.section-disclaimer {
  max-width: 780px;
  margin: -2rem auto 4rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.65;
  font-weight: 300;
}

.gold-accent {
  color: var(--accent-gold);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Flex / Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section-title {
    font-size: 2.4rem;
  }
}

/* Interactive elements */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-gold);
  color: #0A0A0B;
  padding: 1rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-medium);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 165, 114, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-primary);
  padding: 1rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  transition: var(--transition-medium);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background-color: rgba(197, 165, 114, 0.03);
  transform: translateY(-2px);
}

/* Elegant line details */
.elegant-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  width: 100%;
}

.elegant-divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold-muted), transparent);
  width: 100%;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-medium);
  border-bottom: 1px solid transparent;
}

/* Header state on scroll (controlled by JS) */
.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 0;
  box-shadow: var(--shadow-premium);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2.5rem;
  transition: var(--transition-medium);
}

.header.scrolled .header-container {
  padding: 0.2rem 2.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: var(--transition-medium);
}

.header.scrolled .logo-img {
  height: 34px;
}

/* Menu links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-medium);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

/* WhatsApp CTA - Imperial Minimal Premium */
.btn-whatsapp-header,
.btn-primary.whatsapp,
.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(10, 10, 11, 0.82);
  color: #e2ca8c;
  border: 1px solid rgba(226, 202, 140, 0.64);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    background 0.26s ease,
    color 0.26s ease,
    border-color 0.26s ease,
    transform 0.26s ease,
    box-shadow 0.26s ease;
}

.btn-primary.whatsapp::before,
.btn-primary.whatsapp::after,
.btn-whatsapp-header::before,
.btn-whatsapp-header::after,
.btn-whatsapp-cta::before,
.btn-whatsapp-cta::after {
  display: none !important;
  content: none !important;
}

.btn-whatsapp-header {
  min-height: 48px;
  padding: 0 1.58rem;
  font-size: 0.69rem;
}

.btn-primary.whatsapp {
  min-height: 60px;
  padding: 0 2.35rem;
  font-size: 0.8rem;
  border-color: rgba(226, 202, 140, 0.72);
}

.btn-whatsapp-cta {
  min-height: 58px;
  padding: 0 2.35rem;
  font-size: 0.82rem;
}

.btn-whatsapp-header:hover,
.btn-primary.whatsapp:hover,
.btn-whatsapp-cta:hover {
  background: #d8bd7f;
  color: #090909;
  border-color: #d8bd7f;
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(216, 189, 127, 0.18);
}

.btn-whatsapp-header:active,
.btn-primary.whatsapp:active,
.btn-whatsapp-cta:active {
  transform: translateY(0);
}

.btn-whatsapp-header:focus-visible,
.btn-primary.whatsapp:focus-visible,
.btn-whatsapp-cta:focus-visible {
  outline: 2px solid rgba(216, 189, 127, 0.76);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .btn-primary.whatsapp,
  .btn-whatsapp-cta,
  .btn-whatsapp-header {
    width: 100%;
    min-height: 52px;
    padding: 0 1.4rem;
    font-size: 0.72rem;
  }
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  z-index: 102;
}

.mobile-toggle span {
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transition: var(--transition-medium);
}

@media (max-width: 991px) {
  .nav-menu {
    display: none; /* Controlled by mobile panel */
  }
  .header-actions {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-container {
    min-height: 82px;
    padding: 0.75rem 1.25rem;
  }
  .header.scrolled .header-container {
    min-height: 74px;
    padding: 0.55rem 1.25rem;
  }
  .logo-img {
    height: 60px;
    max-width: 210px;
  }
  .header.scrolled .logo-img {
    height: 56px;
  }
}

@media (max-width: 380px) {
  .logo-img {
    height: 58px;
    max-width: 190px;
  }
  .header.scrolled .logo-img {
    height: 54px;
  }
}

/* Mobile Panel Menu */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(92vw, 340px);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(8, 8, 9, 0.98) 100%);
  border-left: 1px solid rgba(197, 165, 114, 0.24);
  z-index: 101;
  padding: 4.7rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.35rem;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -18px 0 46px rgba(0, 0, 0, 0.58);
}

.mobile-nav-panel.open {
  right: 0;
}

.mobile-nav-panel .nav-menu {
  display: none;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  border-top: 1px solid rgba(197, 165, 114, 0.14);
}

.mobile-menu .nav-link {
  width: 100%;
  font-size: 0.86rem;
  letter-spacing: 0.13em;
  padding: 0.86rem 1.35rem 0.86rem 0;
  border-bottom: 1px solid rgba(197, 165, 114, 0.12);
  color: var(--text-secondary);
  overflow: hidden;
}

.mobile-menu .nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.12rem;
  width: 0.38rem;
  height: 0.38rem;
  border-top: 1px solid rgba(216, 189, 127, 0.72);
  border-right: 1px solid rgba(216, 189, 127, 0.72);
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu .nav-link::after {
  display: none;
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.85rem;
}

.mobile-nav-footer .btn-whatsapp-header {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin-top: 0;
  font-size: 0.72rem;
}

/* Overlay dark background for mobile menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hamburger transition when active */
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #050506;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42; /* Soft overlay for clean reading text */
  transition: scale 8s ease;
  scale: 1.05;
}

/* Slow scale in effect on load */
.hero.loaded .hero-bg-img {
  scale: 1;
}

/* Editorial vignette gradients overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    linear-gradient(to right, rgba(10, 10, 11, 0.9) 25%, rgba(10, 10, 11, 0.6) 50%, rgba(10, 10, 11, 0.2) 100%),
    linear-gradient(to bottom, rgba(10, 10, 11, 0.6) 0%, transparent 40%, rgba(10, 10, 11, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-logo-subtle {
  height: 24px;
  width: auto;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4.4rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 600px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 8.5rem 0 5rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .hero-overlay {
    background: 
      linear-gradient(to bottom, rgba(10, 10, 11, 0.85) 0%, rgba(10, 10, 11, 0.7) 60%, rgba(10, 10, 11, 0.95) 100%);
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: auto;
    padding: 6.5rem 0 3.5rem;
  }
  .hero-title {
    font-size: clamp(2.15rem, 11vw, 2.65rem);
    line-height: 1.08;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

/* ==========================================================================
   TRUST BLOCKS SECTION
   ========================================================================== */
.trust-section {
  background-color: var(--bg-primary);
  position: relative;
  z-index: 5;
  padding: 0;
  margin-top: -4rem; /* Overlap into Hero for structural elegance */
}

.trust-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border-color);
  transition: var(--transition-medium);
  position: relative;
}

.trust-card:last-child {
  border-right: none;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--accent-gold-muted);
  opacity: 0.4;
  margin-bottom: 1.5rem;
  display: block;
}

.trust-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.trust-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.trust-card:hover {
  background-color: var(--bg-tertiary);
}

.trust-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-medium);
}

.trust-card:hover::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .trust-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-card {
    border-bottom: 1px solid var(--border-color);
  }
  .trust-card:nth-child(2) {
    border-right: none;
  }
  .trust-card:nth-child(3), .trust-card:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 576px) {
  .trust-section {
    margin-top: 0;
    padding-top: 4rem;
  }
  .trust-wrapper {
    grid-template-columns: 1fr;
  }
  .trust-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
  }
  .trust-card:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   ABOUT IMPERIAL SELECT (SOBRE NÓS)
   ========================================================================== */
.about-section {
  background-color: var(--bg-primary);
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border: 1px solid var(--border-color-gold);
  padding: 1.2rem;
  background-color: rgba(18, 18, 20, 0.4);
}

.about-img-frame {
  position: relative;
  overflow: hidden;
}

.about-img-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 10, 11, 0) 60%, rgba(10, 10, 11, 0.45));
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-visual:hover .about-img {
  scale: 1.03;
}

.about-overlay-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent-gold-muted);
  padding: 2rem;
  max-width: 200px;
  box-shadow: var(--shadow-premium);
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent-gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.about-badge-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--text-primary);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.about-narrative p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.about-narrative p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .about-editorial-grid {
    gap: 4rem;
  }
  .about-quote {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .about-overlay-badge {
    bottom: -1rem;
    right: -1rem;
    padding: 1.5rem;
  }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.service-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 3.5rem 2.5rem;
  transition: var(--transition-medium);
  position: relative;
}

.service-icon-box {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-medium);
  background-color: rgba(197, 165, 114, 0.04);
}

.service-icon-box svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-gold);
  transition: var(--transition-medium);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 576px) {
  .service-card {
    padding: 2.6rem 1.8rem;
  }
}

/* Hover effects */
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-active);
  box-shadow: var(--shadow-premium), var(--shadow-gold-glow);
}

.service-card:hover .service-icon-box {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.service-card:hover .service-icon-box svg {
  fill: #0A0A0B;
}

/* ==========================================================================
   SHOWROOM VISUAL SECTION
   ========================================================================== */
.showroom-section {
  background-color: var(--bg-primary);
}

.showroom-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.filter-btn {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1.8rem;
  transition: var(--transition-medium);
}

.filter-btn:hover, .filter-btn.active {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background-color: rgba(197, 165, 114, 0.04);
}

.showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4.5rem;
}

.showroom-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-medium);
  opacity: 1;
}

.showroom-item.hidden {
  display: none;
  opacity: 0;
}

.showroom-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #0E0E10;
}

.showroom-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 10, 11, 0.6));
}

.showroom-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.showroom-item:hover .showroom-item-img {
  scale: 1.06;
}

.showroom-info {
  padding: 2.2rem 2rem;
}

.showroom-category-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.showroom-item-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.showroom-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.showroom-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 300;
}

.spec-label {
  color: var(--text-secondary);
}

.spec-val {
  color: var(--text-primary);
  font-weight: 400;
}

.btn-showroom-card {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border-color-gold);
  padding: 0.85rem;
  color: var(--accent-gold);
  transition: var(--transition-medium);
}

.showroom-item:hover .btn-showroom-card {
  background-color: var(--accent-gold);
  color: #0A0A0B;
  border-color: var(--accent-gold);
}

@media (max-width: 1024px) {
  .showroom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .showroom-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .showroom-filters {
    gap: 0.6rem;
  }
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
    min-height: 44px;
  }
  .btn-showroom-card {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   PROCESS TIMELINE SECTION
   ========================================================================== */
.process-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.timeline-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/* Connective lines between steps in desktop */
.timeline-container::after {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, 
    var(--border-color-gold) 0%, 
    var(--accent-gold-muted) 50%, 
    var(--border-color-gold) 100%);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.timeline-badge {
  width: 7rem;
  height: 7rem;
  border: 1px solid var(--border-color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  margin: 0 auto 2.5rem;
  position: relative;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.timeline-badge::before {
  content: '';
  position: absolute;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 1px dashed rgba(197, 165, 114, 0.25);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.timeline-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--accent-gold);
}

.timeline-step-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.timeline-step-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* Hover process animation */
.timeline-step:hover .timeline-badge {
  transform: scale(1.05);
  border-color: var(--accent-gold);
  box-shadow: 0 0 25px rgba(197, 165, 114, 0.15);
}

.timeline-step:hover .timeline-badge::before {
  transform: rotate(45deg);
  border-color: rgba(197, 165, 114, 0.6);
}

@media (max-width: 991px) {
  .timeline-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .timeline-container::after {
    display: none; /* Hide line in multi-column layouts */
  }
}

@media (max-width: 576px) {
  .timeline-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .timeline-badge {
    margin-bottom: 1.8rem;
  }
}

/* ==========================================================================
   DIFERENCIAIS SECTION (BRAND VALUES)
   ========================================================================== */
.diferenciais-section {
  background-color: var(--bg-primary);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.diferenciais-left {
  position: sticky;
  top: 150px;
}

.dif-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dif-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 3rem;
  display: flex;
  gap: 2rem;
  transition: var(--transition-medium);
}

.dif-icon-side {
  flex-shrink: 0;
}

.dif-icon-side svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-gold);
}

.dif-content-side h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.dif-content-side p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

.dif-card:hover {
  background-color: var(--bg-tertiary);
  border-color: rgba(197, 165, 114, 0.25);
}

@media (max-width: 991px) {
  .diferenciais-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .diferenciais-left {
    position: static;
  }
}

@media (max-width: 576px) {
  .dif-card {
    padding: 2.2rem 1.8rem;
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding-bottom: 12rem;
}

.cta-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color-gold);
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-premium);
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

/* Elegant geometric corner borders inside CTA box */
.cta-box::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  bottom: 15px;
  right: 15px;
  border: 1px solid rgba(197, 165, 114, 0.08);
  pointer-events: none;
  z-index: -1;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 3.5rem;
  font-weight: 300;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 5rem 2rem;
  }
  .cta-title {
    font-size: 2.3rem;
  }
  .cta-text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: #070708;
  border-top: 1px solid var(--border-color);
  padding: 8rem 0 3.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 6rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  max-width: 260px;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  max-width: 320px;
}

.footer-nav-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.footer-links span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

@media (max-width: 768px) {
  .footer {
    padding: 5rem 0 2.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-logo-wrapper {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .footer-logo {
    max-width: 180px;
    max-height: 100px;
    margin: 0 auto;
  }
  .footer-nav-col h4 {
    margin-bottom: 1.25rem;
  }
  .footer-disclaimer {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.7;
  }
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  line-height: 1.6;
  font-weight: 300;
}

.footer-copyright {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   INTERSECTION OBSERVER FADE-IN ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
