/* ============================================
   GRUPO L2S - Design System
   Estética: Premium, Luxuosa, Sofisticada
   Cores: Preto + Dourado
   
   ARQUIVO: global.css
   Contém: Reset, Variáveis, Tipografia, 
   Componentes Base, Header, Footer, Utilitários
============================================ */

/* ============ IMPORTS ============ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============ VARIABLES ============ */
:root {
  /* Cores Principais */
  --bg-primary: #0B0B0B;
  --bg-secondary: #141414;
  --bg-tertiary: #1A1A1A;
  --bg-hover: #2A2A2A;
  
  /* Dourado - TONS MAIS VIBRANTES */
  --gold: #D4A84B;
  --gold-dark: #B8922F;
  --gold-light: #E8C36B;
  --gold-glow: rgba(212, 168, 75, 0.4);
  
  /* Texto */
  --text-primary: #FFFFFF;
  --text-secondary: #C5C5C5;
  --text-muted: #888888;
  
  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  
  /* Espaçamentos */
  --section-padding: 100px 0;
  --container-width: 1200px;
  
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Sombras */
  --shadow-gold: 0 0 30px rgba(212, 168, 75, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

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

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

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

.section {
  padding: var(--section-padding);
}

.text-gold {
  color: var(--gold-light);
}

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h4 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-subtitle {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 20px;
}

.section-description {
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-slow);
}

.btn-primary:hover::before {
  left: 100%;
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid var(--bg-tertiary);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--gold);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-normal);
}

.nav-desktop a:hover {
  color: var(--text-primary);
}

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

.nav-cta {
  padding: 12px 24px !important;
  font-size: 0.9rem !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  padding: 10px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-normal);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  padding: 100px 40px 40px;
  transition: var(--transition-slow);
  z-index: 999;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile a {
  display: block;
  font-size: 1.25rem;
  padding: 15px 0;
  border-bottom: 1px solid var(--bg-tertiary);
  color: var(--text-secondary);
}

.nav-mobile a:hover {
  color: var(--gold);
  padding-left: 10px;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 998;
  opacity: 0;
  transition: var(--transition-normal);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============ PAGE HERO (Internal Pages) ============ */
.page-hero {
  padding: 180px 0 100px;
  background: 
    url('../img/quem-somos-bg.png') center center / cover no-repeat;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, 
      rgba(11, 11, 11, 0.4) 0%,
      rgba(11, 11, 11, 0.5) 50%,
      rgba(11, 11, 11, 0.7) 100%
    ),
    linear-gradient(to bottom, 
      rgba(11, 11, 11, 0.8) 0%,
      rgba(11, 11, 11, 0.1) 30%
    ),
    linear-gradient(to top, 
      rgba(11, 11, 11, 0.9) 0%,
      rgba(11, 11, 11, 0.2) 40%
    );
  pointer-events: none;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.6);
}

.page-hero h1 .text-gold {
  color: var(--gold-light);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 168, 75, 0.3);
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #E0E0E0;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.6);
}

.page-hero .section-subtitle {
  position: relative;
  z-index: 2;
  color: var(--gold-light);
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
  font-weight: 700;
  letter-spacing: 4px;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 162, 77, 0.05) 0%, transparent 50%);
  animation: rotateBg 20s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 30px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--bg-tertiary);
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-contact li span {
  color: var(--gold);
  font-size: 1.1rem;
}

.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid var(--bg-tertiary);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  z-index: 999;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 5px 35px rgba(37, 211, 102, 0.6); }
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

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

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

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

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

/* Stagger animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============ RESPONSIVE - GLOBAL ============ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

/* ============ MOBILE MENU FIX ============ */
@media (max-width: 768px) {
  .nav-mobile {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-secondary);
    padding: 100px 40px 40px;
    transition: var(--transition-slow);
    z-index: 999;
  }
  
  .nav-mobile.active {
    right: 0;
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    transition: var(--transition-normal);
  }
  
  .nav-overlay.active {
    display: block;
    opacity: 1;
  }
  
  /* Hamburguer Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}