/* =========================================
   Design Tokens & Variables
========================================= */
:root {
  /* Colors - Dark/Gold Theme Premium */
  --primary-color: #d4af37; /* Metallic Gold */
  --secondary-color: #f3e5ab; /* Light Gold / Vanilla */
  --accent-color: #aa771c; /* Dark Gold for depth */
  --gold-gradient: linear-gradient(135deg, #dfbc74 0%, #d4af37 50%, #aa771c 100%);
  --gold-gradient-hover: linear-gradient(135deg, #f3e5ab 0%, #dfbc74 50%, #d4af37 100%);
  
  --text-dark: #f8fafc; /* Crisp white for headings */
  --text-light: #cbd5e1; /* Soft slate-gray for text */
  --bg-light: #121214; /* Deep premium zinc */
  --bg-white: #0a0a0c; /* Abyss base background */
  --bg-dark: #000000; /* Pure black */
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  /* Spacing */
  --section-padding: 7rem 0; /* More breathing room */
  
  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 25px -5px rgba(212, 175, 55, 0.25);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =========================================
   Reset & Base Styles
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

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

/* =========================================
   Typography
========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark); /* Clear, crisp title color */
}

h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 300;
}

/* =========================================
   Buttons & Links
========================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -5px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

/* =========================================
   Navbar / Header
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0;
  background: rgba(10, 10, 12, 0.95);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

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

.logo:hover {
  transform: scale(1.05); /* gives it a little "life" as requested */
}

.logo img {
  height: 85px; /* Increased from 70px */
  object-fit: contain;
  filter: brightness(0) invert(1); /* Torna a logomarca branca no fundo escuro */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

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

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

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

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* =========================================
   Floating WhatsApp
========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* =========================================
   Utilities
========================================= */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color); /* Traço dourado */
}

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

/* =========================================
   Responsive 
========================================= */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar {
    height: 80px;
  }

  .logo img {
    height: 60px;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    gap: 1.5rem;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* =========================================
   Home / Hero Section
========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px; /* Offset for navbar */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom; /* Alinha pelo rodapé do vídeo */
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.7) 0%, rgba(10, 10, 12, 0.4) 50%, rgba(10, 10, 12, 0.95) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  margin-top: -80px; /* Slight lift */
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6 {
  color: #ffffff;
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--primary-color);
  border-radius: 2rem;
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  display: none; /* Removed the blue skew block for a cleaner look */
}

.hero p {
  color: rgba(255, 255, 255, 0.9); /* Lighter text for the paragraph */
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================
   Stats Strip
========================================= */
.stats-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 12, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.05); /* Softer line */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem 0;
  z-index: 10;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-item p {
  color: var(--text-light);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* =========================================
   Sobre Section
========================================= */
.sobre {
  padding-top: calc(var(--section-padding) + 120px); /* Account for stats strip overlap */
}

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

.sobre-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.diferenciais {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.diferencial-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.diferencial-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.3);
}

.diferencial-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.diferencial-item span {
  font-weight: 400;
  color: var(--text-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-img-placeholder {
  width: 120px;
  height: 120px;
  background-color: var(--bg-light);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #d1d5db;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}

.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
}

.team-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-card p {
  color: var(--secondary-color);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

/* =========================================
   Responsive Adjustments for new sections
========================================= */
@media (max-width: 992px) {
  .sobre-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }

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

  .hero-btns {
    flex-direction: column;
    justify-content: center;
  }
  
  .btn {
    width: 100%;
  }

  .stats-strip {
    position: relative;
    padding: 3rem 0;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sobre {
    padding-top: var(--section-padding);
  }
  
  .diferenciais {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Serviços Section
========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.015);
  padding: 3rem 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border-color: rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  transition: var(--transition);
  opacity: 0.9;
}

.service-card:hover i {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-link {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
}

.service-link:hover {
  color: var(--secondary-color);
  gap: 1rem;
}

/* =========================================
   Contato Section
========================================= */
.contato-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contato-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.info-items {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-box {
  width: 65px;
  height: 65px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.info-item:hover .icon-box {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #000;
  box-shadow: var(--shadow-gold);
  transform: scale(1.05);
}

.info-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.info-item a {
  color: var(--text-light);
  transition: var(--transition);
}

.info-item a:hover {
  color: var(--primary-color);
}

/* Forms */
.contato-form {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 3.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 2rem;
}

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

label {
  display: block;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input, select, textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(10, 10, 12, 0.5);
  color: var(--text-dark);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
  background: rgba(10, 10, 12, 0.8);
}

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 1.125rem;
}

/* =========================================
   Footer
========================================= */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1); /* Ensures logo is white if only color version is available, though we copied logo-white.png */
}

.footer-col h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive adjustments for final sections */
@media (max-width: 992px) {
  .contato-content {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contato-form {
    padding: 2rem 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
