/* ==========================================================================
   ORLANDO PNEUS AGRÍCOLAS - CSS PRINCIPAL
   Versão: 1.0 (HTML5 / CSS3 / JS Vanilla / HostGator Ready)
   Cores: Vermelho (#C62828 / #B71C1C), Laranja (#F57C00), Grafite (#1A1A1A / #222222)
   ========================================================================== */

:root {
  --primary-red: #C62828;
  --primary-red-hover: #B71C1C;
  --accent-orange: #F57C00;
  --accent-orange-hover: #E65100;
  --dark-bg: #1A1A1A;
  --dark-card: #222222;
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1EBE57;
  --light-bg: #F8F9FA;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --border-light: #E9ECEF;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Base & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  background-color: #ffffff;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

/* --- Topbar --- */
.topbar {
  background-color: var(--dark-bg);
  color: #e0e0e0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: #e0e0e0;
}

.topbar a:hover {
  color: var(--accent-orange);
}

/* --- Navbar --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #181818;
  border-bottom: 2px solid var(--primary-red);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background-color: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 48px;
  width: auto;
  transition: transform 0.25s ease;
}

.navbar-brand:hover img {
  transform: scale(1.02);
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: #ffffff !important;
  padding: 8px 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange) !important;
}

.nav-link.nav-highlight {
  color: #FF5252 !important;
  background: rgba(198, 40, 40, 0.25);
  border: 1px solid rgba(198, 40, 40, 0.6);
  border-radius: 6px;
  padding: 6px 12px !important;
}

.nav-link.nav-highlight:hover {
  background: var(--primary-red);
  color: #ffffff !important;
  border-color: var(--primary-red);
}

.btn-whatsapp-header {
  background-color: var(--whatsapp-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 9px 18px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-whatsapp-header:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* --- Buttons --- */
.btn-primary-red {
  background-color: var(--primary-red);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 24px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
  transition: all 0.3s ease;
}

.btn-primary-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.5);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 24px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-orange {
  background-color: var(--accent-orange);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 24px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(245, 124, 0, 0.35);
  transition: all 0.3s ease;
}

.btn-orange:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.92) 0%, rgba(34, 34, 34, 0.82) 100%),
              url('../img/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 0 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-badge {
  background-color: rgba(245, 124, 0, 0.18);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  color: var(--accent-orange);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #d1d5db;
  max-width: 680px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.hero-highlight-tag {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-highlight-tag.special {
  background: rgba(198, 40, 40, 0.3);
  border-color: var(--primary-red);
  color: #ff8a80;
}

/* --- Section Titles --- */
.section-tag {
  color: var(--primary-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dark-bg);
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* --- Cards & Diferenciais --- */
.diferencial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
}

.diferencial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-orange);
}

.diferencial-icon {
  width: 54px;
  height: 54px;
  background: rgba(198, 40, 40, 0.08);
  color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.diferencial-card.highlight .diferencial-icon {
  background: rgba(245, 124, 0, 0.12);
  color: var(--accent-orange);
}

/* --- Sobre Nós --- */
.sobre-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.sobre-img-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.sobre-badge-floating {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-orange);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.sobre-badge-floating h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin: 0;
}

/* --- Serviços --- */
.servicos-section {
  padding: 90px 0;
  background-color: var(--light-bg);
}

.servico-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.servico-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.servico-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.servico-card:hover .servico-img-wrap img {
  transform: scale(1.06);
}

.servico-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.servico-badge.gold {
  background-color: var(--accent-orange);
}

.servico-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.servico-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark-bg);
}

.servico-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 20px;
}

.servico-list li {
  font-size: 0.88rem;
  color: #495057;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.servico-list li i {
  color: var(--primary-red);
}

/* --- Calculadora / Simulador de Orçamento --- */
.calculadora-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #111111 100%);
  color: #ffffff;
}

.calc-box {
  background-color: var(--dark-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.calc-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0e0e0;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  text-align: left;
}

.calc-option-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.calc-option-btn.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.4);
}

.calc-option-btn.active-orange {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.4);
}

.calc-option-btn.active-green {
  background: var(--whatsapp-green);
  border-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* --- Produtos --- */
.produtos-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.product-filter-btn {
  background: #f1f3f5;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #495057;
  cursor: pointer;
  transition: all 0.25s ease;
  margin: 4px;
}

.product-filter-btn.active, .product-filter-btn:hover {
  background: var(--primary-red);
  color: #ffffff;
}

.produto-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.produto-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-red) 0%, #8e0000 100%);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

/* --- FAQ --- */
.faq-section {
  padding: 90px 0;
  background-color: var(--light-bg);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-red);
  background-color: rgba(198, 40, 40, 0.06);
  font-weight: 700;
}

.accordion-button {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 22px;
}

/* --- Footer --- */
.footer {
  background-color: #121212;
  color: #F1F5F9;
  padding: 70px 0 30px;
  font-size: 0.95rem;
}

.footer h5 {
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.footer p, .footer span, .footer .text-muted {
  color: #E2E8F0 !important;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #E2E8F0;
  font-weight: 500;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  color: #E2E8F0 !important;
}

.footer-bottom p {
  color: #E2E8F0 !important;
}

/* Fix text-muted contrast globally on dark sections */
.calculadora-section .text-muted,
.hero-section .text-muted,
.main-header .text-muted,
.topbar .text-muted {
  color: #E2E8F0 !important;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 1050;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.whatsapp-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #ffffff;
}

@keyframes pulse-whatsapp {
  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);
  }
}

/* --- Media Queries --- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .calc-box {
    padding: 25px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .hero-section {
    padding: 60px 0 70px;
  }
}
