/*
Theme Name: Nação Investimentos
Theme URI: https://nacao.agr.br
Author: Nação Investimentos
Author URI: https://nacao.agr.br
Description: Tema personalizado para Nação Investimentos - Assessoria de Investimentos em Agronegócio
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nacao-investimentos
*/

:root {
  --primary: 172 100% 15%;
  --primary-foreground: 0 0% 100%;
  --secondary: 172 30% 96%;
  --secondary-foreground: 172 100% 10%;
  --accent: 172 50% 45%;
  --accent-foreground: 0 0% 100%;
  --background: 0 0% 96%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --border: 172 30% 90%;
  --input: 172 30% 90%;
  --ring: 172 100% 15%;
  --gradient-primary: linear-gradient(135deg, hsl(172 100% 15%), hsl(172 80% 25%));
  --gradient-hero: linear-gradient(135deg, hsl(172 100% 15% / 0.9), hsl(0 0% 0% / 0.7));
  --shadow-card: 0 4px 6px -1px hsl(172 100% 15% / 0.1), 0 2px 4px -1px hsl(172 100% 15% / 0.06);
  --shadow-card-hover: 0 20px 25px -5px hsl(172 100% 15% / 0.15), 0 10px 10px -5px hsl(172 100% 15% / 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
  --primary: 172 100% 15%;
  --primary-foreground: 0 0% 100%;
  --secondary: 172 50% 10%;
  --secondary-foreground: 0 0% 100%;
  --accent: 172 50% 35%;
  --accent-foreground: 0 0% 100%;
  --background: 172 60% 6%;
  --foreground: 0 0% 96%;
  --card: 172 50% 10%;
  --card-foreground: 0 0% 96%;
  --muted: 172 30% 15%;
  --muted-foreground: 215 20% 65%;
  --border: 172 30% 20%;
  --input: 172 30% 20%;
  --ring: 172 100% 15%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

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

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: hsl(var(--foreground));
}

.logo h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.nav-main {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-main {
    display: flex;
  }
}

.nav-main a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 1px 2px 0 hsl(0 0% 0% / 0.05);
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem;
  z-index: 999;
}

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

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.mobile-menu a:hover {
  background: hsl(var(--muted));
  border-radius: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  padding: 4rem 1rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

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

.hero p {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

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

.hero .btn-primary {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  box-shadow: 0 10px 15px -3px hsl(0 0% 0% / 0.1);
}

/* Sections */
section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  section {
    padding: 6rem 0;
  }
}

section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

section p {
  font-size: 1.125rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  color: hsl(var(--muted-foreground));
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  text-align: center;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-0.25rem);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.service-card p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  margin: 0;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.content-block h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.content-block p {
  text-align: left;
  margin: 0;
  line-height: 1.75;
}

/* Contact Form */
.contact-section {
  background: hsl(var(--primary) / 0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-section {
    padding: 3rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  ring: 2px;
  ring-color: hsl(var(--ring));
  border-color: hsl(var(--ring));
}

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

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

/* Footer */
footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

.footer-section a {
  display: block;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-section a:hover {
  color: hsl(var(--primary));
}

.footer-disclaimer {
  background: hsl(var(--muted) / 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
