/*
Theme Name: Stop Insetos
Theme URI: https://stopinsetos.com.br
Author: Stop Insetos
Author URI: https://stopinsetos.com.br
Description: Tema profissional para empresa de dedetização em Itajaí
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stopinsetos
*/

:root {
  --primary-color: #F59E0B;
  --primary-dark: #D97706;
  --secondary-color: #1F2937;
  --text-dark: #111827;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
}

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

/* Main Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: block;
  padding: 0.5rem 0;
}

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

/* Dropdown Menu */
.main-nav ul ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  flex-direction: column;
  gap: 0;
}

.main-nav li:hover>ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul ul li {
  padding: 0;
}

.main-nav ul ul a {
  padding: 0.5rem 1.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}

.main-nav ul ul a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-left: 2rem;
  /* Slight shift effect */
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(0, 0, 0, 0.7));
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--bg-light);
}

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.review-avatars {
  display: flex;
  margin-left: -10px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--white);
  margin-left: -10px;
}

.stars {
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-light);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

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

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: var(--bg-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 3rem auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--bg-light);
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .main-nav {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* LP Content Styles */
.lp-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.lp-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.lp-body h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.lp-body h2:first-child {
  margin-top: 0;
}

.lp-body h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.lp-body p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.lp-body ul,
.lp-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.lp-body li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Other Services Grid */
.other-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.service-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  color: var(--secondary-color);
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

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

.breadcrumbs .separator {
  margin: 0 0.5rem;
  color: #d1d5db;
}




/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9990;
  /* Below modal overlay (9999) */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: #20BA56;
}

.floating-wa-btn svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Pulse Animation */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.floating-wa-btn {
  animation: wa-pulse 2s infinite;
}

/* Content Typography Improvements */
.entry-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.entry-content h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.entry-content h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.entry-content h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.75rem;
}

.entry-content strong {
  color: var(--secondary-color);
}