/*
Theme Name: Lalon
Theme URI: https://lalon.com.br
Author: Lalon
Author URI: https://lalon.com.br
Description: Tema WordPress exclusivo da Lalon – consultoria para empresas de tecnologia.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lalon
*/

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

/* ========== VARIABLES ========== */
:root {
  --background: hsl(220 20% 7%);
  --foreground: hsl(40 20% 92%);
  --card: hsl(220 18% 10%);
  --card-foreground: hsl(40 20% 92%);
  --primary: hsl(40 85% 55%);
  --primary-foreground: hsl(220 20% 7%);
  --secondary: hsl(220 15% 15%);
  --secondary-foreground: hsl(40 20% 85%);
  --muted: hsl(220 15% 13%);
  --muted-foreground: hsl(220 10% 55%);
  --accent: hsl(40 75% 45%);
  --border: hsl(220 15% 18%);
  --gold: hsl(40 85% 55%);
  --gold-light: hsl(40 90% 70%);
  --gold-dark: hsl(40 80% 40%);
  --navy: hsl(220 25% 12%);
  --navy-light: hsl(220 20% 18%);
  --radius: 0.5rem;
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ========== UTILITIES ========== */
.section-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0 2rem;
  }
}

.gold-gradient-text {
  background-image: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: hsla(220, 18%, 10%, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 0.75rem;
  border: 1px solid hsla(40, 85%, 55%, 0.15);
}

.hover-lift {
  transition: all 0.5s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px hsla(40, 85%, 55%, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  background-image: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 3.75rem;
  }
}

.font-body {
  font-family: 'Inter', sans-serif;
}

.font-display {
  font-family: 'DM Sans', sans-serif;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: var(--gold-light);
  box-shadow: 0 0 30px hsla(40, 85%, 55%, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid hsla(40, 85%, 55%, 0.3);
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: hsla(40, 85%, 55%, 0.1);
}

/* ========== NAVBAR ========== */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(220, 20%, 7%, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsla(220, 15%, 18%, 0.5);
}

.site-navbar .section-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-navbar .logo {
  font-size: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

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

.nav-cta {
  font-size: 0.875rem !important;
  color: var(--primary) !important;
  border: 1px solid hsla(40, 85%, 55%, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background-color: hsla(40, 85%, 55%, 0.1);
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: hsla(220, 20%, 7%, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ========== HERO ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    hsla(220, 20%, 7%, 0.6),
    hsla(220, 20%, 7%, 0.4),
    var(--background));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsla(40, 85%, 55%, 0.3);
  background: hsla(40, 85%, 55%, 0.05);
  margin-bottom: 1.5rem;
}

.hero-badge p {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
}

@media (min-width: 768px) {
  .hero-badge p {
    font-size: 0.875rem;
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-pain-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-pain-points {
    flex-direction: row;
  }
}

.hero-pain-points .point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
}

.hero-pain-points .point svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ========== SECTIONS ========== */
.section-pilares,
.section-resultados {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .section-pilares,
  .section-resultados {
    padding: 8rem 0;
  }
}

.section-produtos,
.section-contato {
  padding: 6rem 0;
  background: hsla(220, 15%, 15%, 0.3);
}

@media (min-width: 1024px) {
  .section-produtos,
  .section-contato {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-label {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ========== PILARES GRID ========== */
.pilares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .pilares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pilares-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pilar-card {
  padding: 1.5rem;
  text-align: center;
}

.pilar-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(40, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.3s;
}

.pilar-card:hover .pilar-icon {
  background: hsla(40, 85%, 55%, 0.2);
}

.pilar-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.pilar-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.pilar-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* ========== PRODUCTS ========== */
.products-banner {
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
  border-color: hsla(40, 85%, 55%, 0.2);
}

.products-banner h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.products-banner p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
}

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

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card.featured {
  box-shadow: inset 0 0 0 1px hsla(40, 85%, 55%, 0.4);
}

.product-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-bottom-left-radius: 0.5rem;
}

.product-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(40, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.product-tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsla(40, 85%, 55%, 0.6);
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.product-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ========== STATS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
}

/* ========== CONTACT ========== */
.contact-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  padding: 1.5rem;
  text-align: center;
}

.contact-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin: 0 auto 0.75rem;
}

.contact-card .contact-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--foreground);
}

.contact-card .contact-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.contact-card a.contact-detail:hover {
  color: var(--primary);
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.site-footer .section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer .section-container {
    flex-direction: row;
  }
}

.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: 'Inter', sans-serif;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-bounce {
  animation: bounce 2s infinite;
}
