/* ========== VARIÁVEIS DE CORES - FÁCIL DE EDITAR ========== */
:root {
  --rv-green: #22c55e;
  --rv-green-dark: #16a34a;
  --rv-yellow: #facc15;
  --rv-dark: #1f2937;
  --rv-gray: #6b7280;
  --rv-light: #f3f4f6;
  --rv-blue-dark: #1e3a5f;
  --rv-blue-darker: #0f2744;
}

/* ========== ESTILOS GERAIS ========== */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--rv-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.btn-rv {
  background-color: var(--rv-green);
  border-color: var(--rv-green);
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-rv:hover {
  background-color: var(--rv-green-dark);
  border-color: var(--rv-green-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-rv-outline {
  background-color: transparent;
  border: 2px solid var(--rv-green);
  color: var(--rv-green);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-rv-outline:hover {
  background-color: var(--rv-green);
  color: white;
}

.text-rv-green {
  color: var(--rv-green);
}

.bg-rv-green {
  background-color: var(--rv-green);
}

/* ========== TOP BAR ========== */
.top-bar {
  background-color: var(--rv-dark);
  padding: 10px 0;
  font-size: 0.875rem;
}

.top-bar-phone {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: color 0.3s;
}

.top-bar-phone:hover {
  color: var(--rv-green);
}

.service-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rv-green);
  background-color: rgba(34, 197, 94, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
}

.service-badge i {
  font-size: 0.9rem;
}

/* ========== NAVBAR ========== */
.navbar {
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0;
}

.navbar .container {
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand .logo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.navbar-brand .logo-icon svg {
  width: 32px;
  height: 32px;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand .brand-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.navbar-brand .brand-name .rv {
  font-size: 2rem;
  font-weight: 900;
  color: #22c55e;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-name .reparaciones {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.navbar-brand .brand-location {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.nav-link {
  color: var(--rv-gray) !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px !important;
  transition: color 0.3s;
}

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

/* ========== DROPDOWN HOVER MENU ========== */
.dropdown-hover {
  position: relative;
}

.dropdown-hover > .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-hover > .nav-link i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.dropdown-hover:hover > .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu-hover {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  list-style: none;
  margin: 0;
  z-index: 1000;
}

.dropdown-hover:hover .dropdown-menu-hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-hover li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.dropdown-menu-hover li a:hover {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.dropdown-menu-hover li a i {
  color: #22c55e;
  font-size: 1rem;
}

.btn-call {
  background-color: var(--rv-green);
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
  text-decoration: none;
}

.btn-call:hover {
  background-color: var(--rv-green-dark);
  color: white;
}

/* ========== MOBILE MENU ========== */
.navbar-toggler {
  border: 2px solid var(--rv-green);
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(34, 197, 94, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2322c55e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar .container {
    flex-wrap: nowrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  
  .navbar-brand {
    flex-shrink: 1;
    min-width: 0;
  }
  
  .navbar-brand .brand-name .rv {
    font-size: 1.5rem;
  }
  
  .navbar-brand .brand-name .reparaciones {
    font-size: 1rem;
  }
  
  .navbar-toggler {
    flex-shrink: 0;
    margin-left: 10px;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.08);
    border-top: none;
    z-index: 1000;
  }
  
  .navbar-nav {
    align-items: flex-start !important;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link {
    color: #1f2937 !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 10px !important;
    text-align: left;
    display: block;
    width: 100%;
  }
  
  .navbar-nav .nav-link:hover {
    color: #22c55e !important;
    background-color: rgba(34, 197, 94, 0.08);
    border-radius: 8px;
  }
  
  .navbar-nav .btn-call {
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  /* Submenu mobile */
  .dropdown-menu-hover {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
  }
  
  .dropdown-hover.open .dropdown-menu-hover {
    display: block;
  }
  
  .dropdown-menu-hover li a {
    padding: 12px 20px 12px 35px;
    font-size: 0.9rem;
    color: #4b5563;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  
  .dropdown-menu-hover li:last-child a {
    border-bottom: none;
  }
  
  .dropdown-hover > .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .dropdown-hover > .nav-link i {
    display: block;
    transition: transform 0.3s;
  }
  
  .dropdown-hover.open > .nav-link i {
    transform: rotate(180deg);
  }
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--rv-blue-dark) 0%, var(--rv-blue-darker) 100%);
  padding: 60px 0;
  color: white;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
}

.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
  color: var(--rv-green);
}

.page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.9);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ========== SERVICE CONTENT ========== */
.service-content {
  padding: 80px 0;
}

.service-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 40px;
}

.service-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--rv-dark);
}

.service-content h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--rv-dark);
}

.service-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--rv-gray);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.service-features li {
  padding: 12px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rv-light);
}

.service-features li i {
  color: var(--rv-green);
  font-size: 1.3rem;
}

/* ========== SIDEBAR ========== */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--rv-dark);
}

.sidebar-card p {
  font-size: 0.95rem;
  color: var(--rv-gray);
  margin-bottom: 15px;
}

.other-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

.other-services li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rv-light);
}

.other-services li:last-child {
  border-bottom: none;
}

.other-services a {
  color: var(--rv-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.other-services a:hover {
  color: var(--rv-green);
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--rv-green) 0%, var(--rv-green-dark) 100%);
  padding: 80px 0;
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-section .btn-rv {
  background: white;
  color: var(--rv-green);
  border-color: white;
}

.cta-section .btn-rv:hover {
  background: var(--rv-dark);
  color: white;
  border-color: var(--rv-dark);
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--rv-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-brand span {
  color: var(--rv-green);
}

.footer-text {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--rv-green);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

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

.footer-links li {
  margin-bottom: 12px;
  color: rgba(255,255,255,0.7);
}

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

.footer-links a:hover {
  color: var(--rv-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 30px;
  text-align: center;
}

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

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .navbar .container {
    height: auto;
    padding: 15px;
  }
  
  .navbar-brand .brand-name .rv {
    font-size: 1.5rem;
  }
  
  .navbar-brand .brand-name .reparaciones {
    font-size: 1.2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .service-main-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .page-header {
    padding: 40px 0;
  }
  
  .service-content {
    padding: 50px 0;
  }
  
  .service-sidebar {
    position: relative;
    top: 0;
    margin-top: 40px;
  }
}
