/* ============================================
   Modupe Soluções - CSS Principal
   Cores: #DC0754 (principal), #000000, #FFFFFF
   ============================================ */

:root {
  --primary: #DC0754;
  --primary-dark: #b0053f;
  --primary-light: #ff1a6d;
  --black: #000000;
  --white: #FFFFFF;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --dark: #0a0a0a;
  --dark-nav: #0d0d0d;
  --font: 'Inter', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- Topbar ---- */
.topbar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(220,7,84,0.3);
}
.topbar a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.topbar a:hover { color: var(--primary); }
.topbar .separator { color: rgba(255,255,255,0.3); margin: 0 10px; }
.topbar .whatsapp-btn {
  background: #25d366;
  color: white !important;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
}
.topbar-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  font-size: 15px;
}

/* ---- Navbar ---- */
#mainNav {
  background: var(--dark-nav);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1000;
}
#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(220,7,84,0.2);
}
.navbar-brand img { transition: var(--transition); }
.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 8px 14px !important;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--white) !important;
  background: rgba(220,7,84,0.15);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220,7,84,0.35);
}
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--dark);
  border-color: var(--dark);
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-dark:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
}

/* ---- Section headers ---- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-badge {
  display: inline-block;
  background: rgba(220,7,84,0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(220,7,84,0.2);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--gray-600); font-size: 1.05rem; max-width: 600px; margin: 12px auto 0; }
.section-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #1a0010 40%, #0d0008 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220,7,84,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220,7,84,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,7,84,0.15);
  border: 1px solid rgba(220,7,84,0.3);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220,7,84,0.4);
}
.hero-btn-outline {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-btn-outline:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.hero-image-wrap {
  position: relative;
  z-index: 1;
}
.hero-image-card {
  background: linear-gradient(135deg, #1a1a1a, #2d0020);
  border: 1px solid rgba(220,7,84,0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}
.hero-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.hero-icon-item {
  background: rgba(220,7,84,0.1);
  border: 1px solid rgba(220,7,84,0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.hero-icon-item:hover {
  background: rgba(220,7,84,0.2);
  transform: translateY(-3px);
}
.hero-icon-item i {
  font-size: 2rem;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.hero-icon-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ---- Serviços Cards ---- */
.services-section { padding: 100px 0; background: var(--white); }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220,7,84,0.2);
}
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: white;
}
.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-desc {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.service-link:hover { gap: 8px; }

/* ---- Portfólio ---- */
.portfolio-section { padding: 100px 0; background: var(--gray-100); }
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 30px 20px 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }
.portfolio-overlay h5 { color: white; font-weight: 700; margin-bottom: 4px; font-size: 16px; }
.portfolio-overlay span { color: var(--primary); font-size: 13px; font-weight: 600; }
.portfolio-cat-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ---- Blog Cards ---- */
.blog-section { padding: 100px 0; background: var(--white); }
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; position: relative; }
.blog-card-body { padding: 22px; }
.blog-cat-badge {
  background: rgba(220,7,84,0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-title a:hover { color: var(--primary); }
.blog-meta {
  color: var(--gray-600);
  font-size: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-title { color: white; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
.cta-subtitle { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.btn-cta-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid white;
}
.btn-cta-white:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
}
.btn-cta-outline {
  background: transparent;
  color: white;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-cta-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  color: white;
  transform: translateY(-2px);
}

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a0010 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dc0754' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.breadcrumb { --bs-breadcrumb-divider: '>'; }
.breadcrumb-item a { color: rgba(255,255,255,0.6); }
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Filter buttons ---- */
.filter-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ---- Single Service ---- */
.service-single { padding: 80px 0; }
.service-single-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.related-portfolio-title { font-weight: 800; font-size: 1.4rem; color: var(--dark); }

/* ---- Portfolio Single ---- */
.portfolio-single { padding: 80px 0; }
.portfolio-meta-box {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid var(--primary);
}
.portfolio-meta-item { display: flex; flex-direction: column; margin-bottom: 16px; }
.portfolio-meta-item:last-child { margin-bottom: 0; }
.portfolio-meta-label { font-size: 12px; color: var(--gray-600); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.portfolio-meta-value { color: var(--dark); font-weight: 600; font-size: 15px; }

/* ---- Blog Single ---- */
.blog-single { padding: 80px 0; }
.blog-content { line-height: 1.8; color: var(--gray-800); }
.blog-content h2, .blog-content h3 { color: var(--dark); font-weight: 700; margin: 28px 0 14px; }
.blog-content p { margin-bottom: 18px; }
.blog-content img { border-radius: var(--radius); max-width: 100%; margin: 20px 0; }
.blog-content ul, .blog-content ol { padding-left: 20px; margin-bottom: 18px; }
.blog-content li { margin-bottom: 8px; }
.blog-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  background: rgba(220,7,84,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  color: var(--gray-800);
  font-style: italic;
}
.blog-tags .tag-badge {
  display: inline-block;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin: 3px;
  transition: var(--transition);
}
.blog-tags .tag-badge:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.author-box {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--gray-200);
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Contacto ---- */
.contact-section { padding: 80px 0; }
.contact-info-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: white;
  height: 100%;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(220,7,84,0.15);
  border: 1px solid rgba(220,7,84,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text h6 { color: rgba(255,255,255,0.6); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { color: white; font-weight: 600; margin: 0; }
.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.form-control, .form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,7,84,0.1);
}
.form-label { font-weight: 600; font-size: 13px; color: var(--gray-800); margin-bottom: 6px; }

/* ---- Sidebar ---- */
.sidebar-widget {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.sidebar-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  color: var(--gray-800);
  transition: var(--transition);
}
.sidebar-cat-item:hover { color: var(--primary); padding-left: 4px; }
.sidebar-cat-badge {
  background: rgba(220,7,84,0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}
.sidebar-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.sidebar-post-title { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.sidebar-post-date { font-size: 11px; color: var(--gray-600); }

/* ---- Footer ---- */
.footer { background: var(--dark); color: white; }
.footer-main { padding: 70px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-title {
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-contact a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.footer-bottom { padding: 20px 0; background: rgba(0,0,0,0.3); }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---- Pagination ---- */
.pagination .page-link {
  color: var(--primary);
  border-color: var(--gray-200);
  border-radius: var(--radius) !important;
  margin: 0 3px;
  font-weight: 600;
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}
.pagination .page-link:hover {
  background: rgba(220,7,84,0.1);
  border-color: var(--primary);
}

/* ---- Gallery ---- */
.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-img:hover { transform: scale(1.03); }

/* ---- Galeria Lightbox ---- */
.lightbox-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ---- Status badges ---- */
.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-concluido { background: rgba(25,135,84,0.1); color: #198754; }
.status-em_andamento { background: rgba(13,110,253,0.1); color: #0d6efd; }
.status-pausado { background: rgba(108,117,125,0.1); color: #6c757d; }

/* ---- Comentários ---- */
.comment-item {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  border-left: 3px solid var(--primary);
}
.comment-author { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.comment-date { font-size: 12px; color: var(--gray-600); margin-bottom: 10px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .topbar .topbar-info { display: none; }
  .hero { padding-top: 40px; }
  .hero-image-wrap { margin-top: 40px; }
  .hero-stats { gap: 24px; }
  .services-section, .portfolio-section, .blog-section { padding: 60px 0; }
  .hero-buttons { gap: 10px; }
  .hero-btn-primary, .hero-btn-outline { padding: 12px 22px; font-size: 14px; }
}

@media (max-width: 576px) {
  .section-title { font-size: 1.6rem; }
  .hero-title { font-size: 1.9rem; }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ---- Utilities ---- */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.img-cover { object-fit: cover; width: 100%; }
