/* ===== RESET E VARIÁVEIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===== TIPOGRAFIA ===== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header .container {
  position: relative;
}

/* ===== HEADER ===== */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

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

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

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  width: 100%;
  background-color: var(--bg-light);
  padding: 1rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.nav-mobile.active {
  display: flex !important;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background-color: var(--primary-color);
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-success {
  background-color: var(--success-color);
  color: white;
}

.btn-success:hover {
  background-color: #059669;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

.hero-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* ===== SEÇÕES ===== */
section {
  padding: 3rem 0;
}

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

section h2 {
  color: var(--text-primary);
}

/* ===== GRID ===== */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

/* ===== CARDS ===== */
.card {
  background-color: var(--bg-white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  margin: 0;
}

.card p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

.card a {
  display: block;
  padding: 1rem 1.5rem;
  background-color: var(--bg-light);
  text-align: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.card a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--success-color);
}

.testimonial .stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===== CTA BOX ===== */
.cta-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cta-box h2 {
  color: white;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--text-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .header-content {
    justify-content: space-between;
    gap: 1rem;
  }

  .nav-desktop {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .nav-mobile {
    display: none !important;
  }

  .nav-mobile.active {
    display: flex !important;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 0;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center; }
.text-gray-600 { color: var(--text-secondary); }
.text-gray-700 { color: var(--text-primary); }
.mb-4 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* ===== SPECS BOX ===== */
.specs-box {
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.specs-box h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.specs-box ul {
  list-style: none;
  padding: 0;
}

.specs-box li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.specs-box li:last-child {
  border-bottom: none;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 98;
  text-decoration: none;
}

.whatsapp-button:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-button svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }
}
