/* ==========================================================================
   Nick Festas - Modern Light Festive Design System
   Clean, cheerful, luminous aesthetic with responsive mobile layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Clean Light Mode Theme */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-hover: #F1F5F9;
  --bg-surface-subtle: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-elevated: rgba(255, 255, 255, 0.95);
  
  /* Festive Radiant Accents */
  --primary: #FF5E36;
  --primary-hover: #E84C25;
  --primary-subtle: rgba(255, 94, 54, 0.1);
  --primary-glow: rgba(255, 94, 54, 0.28);
  
  --secondary: #8B5CF6;
  --secondary-subtle: rgba(139, 92, 246, 0.1);
  --secondary-glow: rgba(139, 92, 246, 0.25);
  
  --accent-pink: #EC4899;
  --accent-yellow: #F59E0B;
  --accent-cyan: #0284C7;
  --accent-green: #10B981;
  
  /* Text in Light Mode */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  --text-light: #94A3B8;
  
  /* Borders & Dividers */
  --border-card: #E2E8F0;
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-focus: rgba(255, 94, 54, 0.6);
  
  /* Festive Gradients */
  --gradient-festive: linear-gradient(135deg, #FF5E36 0%, #EC4899 50%, #8B5CF6 100%);
  --gradient-golden: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --gradient-cyan: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
  --gradient-subtle: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  
  /* Radii & Soft Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 25px var(--primary-glow);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* Light ambient festive lighting */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 94, 54, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -150px;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, rgba(248, 250, 252, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Top Announcement Banner */
.top-announcement {
  background: linear-gradient(90deg, #FF5E36, #EC4899, #8B5CF6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 101;
  letter-spacing: 0.2px;
}

.top-announcement span.tag {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding: 0.65rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  transition: transform var(--transition-fast);
}

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

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title .brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--gradient-festive);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-title .brand-slogan {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-festive);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 94, 54, 0.45);
  color: #fff;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: #CBD5E1;
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

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

.btn-icon-cart {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-icon-cart:hover {
  background: var(--bg-surface-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(255, 94, 54, 0.4);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--bg-surface-hover);
}

/* ==========================================================================
   Hero Section with Dynamic Light Background Carousel
   ========================================================================== */
.hero-carousel-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3.5rem 0 5rem;
}

/* Background carousel slides */
.carousel-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, transform 8s ease-out;
  transform: scale(1.05);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Light frosted glass overlay so text is crisp and joyful */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.86) 50%,
    rgba(255, 255, 255, 0.93) 100%
  );
  z-index: 2;
}

.carousel-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, var(--bg-page), transparent);
  pointer-events: none;
}

/* Festive Confetti / Floating Elements Canvas */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Hero Content Grid */
.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 94, 54, 0.1);
  border: 1px solid rgba(255, 94, 54, 0.3);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-badge i {
  color: var(--accent-yellow);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: var(--gradient-festive);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-cta-group .btn {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

/* Hero Trust Indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-card);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-item .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 1.1rem;
}

.trust-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hero Interactive Card / Quick Quote Preview */
.hero-card-preview {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-festive);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.preview-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.preview-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.preview-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Carousel controls bar in Hero */
.carousel-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.indicator-dot.active {
  width: 26px;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.carousel-arrow {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.carousel-arrow:hover {
  opacity: 1;
  background: var(--bg-surface-hover);
}

.carousel-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 150px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Category Quick Explorer Cards
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 94, 54, 0.4);
  box-shadow: var(--shadow-md);
}

.cat-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.category-card:hover .cat-icon-wrap {
  transform: scale(1.08) rotate(3deg);
}

.cat-icon-inflatables {
  background: rgba(255, 94, 54, 0.12);
  color: #FF5E36;
}

.cat-icon-trampoline {
  background: rgba(139, 92, 246, 0.12);
  color: #8B5CF6;
}

.cat-icon-treats {
  background: rgba(245, 158, 11, 0.14);
  color: #D97706;
}

.cat-icon-decor {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
}

.cat-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.cat-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid & Product Cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 94, 54, 0.4);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #F1F5F9;
  cursor: pointer;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-media img {
  transform: scale(1.06);
}

.media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.badge-featured {
  background: var(--gradient-festive);
  color: #fff;
}

.card-price-tag {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  color: #059669;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.card-price-tag span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.25;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.spec-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.btn-add-quote {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-add-quote:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-add-quote.added {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
}

.btn-detail {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-detail:hover {
  background: var(--bg-surface-hover);
  color: var(--text-main);
  border-color: #CBD5E1;
  transform: scale(1.05);
}

/* ==========================================================================
   Fast Interactive Budget Calculator ("Calcule sua Festa")
   ========================================================================== */
.budget-calculator-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  position: relative;
}

.calc-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}

.calc-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.calc-step-title span.number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

/* Fast Item Checkbox Grid */
.calc-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.calc-item-pill {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
  user-select: none;
}

.calc-item-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.calc-item-pill.selected {
  background: rgba(255, 94, 54, 0.08);
  border-color: var(--primary);
}

.calc-item-pill input {
  display: none;
}

.calc-item-pill .check-indicator {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: all var(--transition-fast);
}

.calc-item-pill.selected .check-indicator {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.calc-item-info {
  display: flex;
  flex-direction: column;
}

.calc-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.calc-item-price {
  font-size: 0.78rem;
  color: #D97706;
  font-weight: 700;
}

/* Inputs row in calc */
.calc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-control {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 94, 54, 0.15);
}

/* Summary Card */
.calc-summary-card {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-header {
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.calc-selected-list {
  max-height: 200px;
  overflow-y: auto;
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-selected-list li {
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.calc-selected-list li strong {
  color: var(--text-main);
}

.calc-total-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-total-row.grand-total {
  margin-bottom: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-card);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.calc-total-row.grand-total span.price {
  color: #059669;
}

.calc-total-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Why Choose Nick Festas - Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-festive);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 94, 54, 0.4);
  box-shadow: var(--shadow-md);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255, 94, 54, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Customer Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rating-stars {
  color: var(--accent-yellow);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #334155;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-festive);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 94, 54, 0.3);
}

.author-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 700;
}

.author-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: #F8FAFC;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 94, 54, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(255, 94, 54, 0.25);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #F1F5F9;
  border-top: 1px solid var(--border-card);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col .brand-logo {
  margin-bottom: 1.25rem;
}

.footer-about {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Slide-Over Budget Drawer (Cart)
   ========================================================================== */
.budget-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.budget-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.budget-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #FFFFFF;
  border-left: 1px solid var(--border-card);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform var(--transition-normal);
}

.budget-drawer-overlay.active .budget-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.drawer-close {
  background: #F1F5F9;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background: #E2E8F0;
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.drawer-empty-state i {
  font-size: 3rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.drawer-item {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.drawer-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.drawer-item-details {
  flex: 1;
}

.drawer-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.drawer-item-price {
  font-size: 0.85rem;
  color: #059669;
  font-weight: 700;
}

.drawer-item-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.4rem;
  transition: color var(--transition-fast);
}

.drawer-item-remove:hover {
  color: #EF4444;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-card);
  background: #F8FAFC;
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
}

.drawer-total span.val {
  color: #059669;
}

/* ==========================================================================
   Product Detail Modal (Lightbox)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.modal-media {
  position: relative;
  background: #F1F5F9;
  min-height: 340px;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  animation: slideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 360px;
}

.toast.toast-success {
  border-left: 4px solid #10B981;
}

.toast.toast-info {
  border-left: 4px solid #0284C7;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  animation: pulseGreen 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Admin Dashboard Styles (Light Modern)
   ========================================================================== */
.admin-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #F8FAFC;
}

.admin-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.admin-nav-tabs {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--border-card);
}

.admin-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-tab-btn:hover {
  color: var(--text-main);
}

.admin-tab-btn.active {
  color: var(--primary);
}

.admin-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.admin-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-icon.orange {
  background: rgba(255, 94, 54, 0.12);
  color: var(--primary);
}

.stat-icon.purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--secondary);
}

.stat-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
}

.stat-icon.blue {
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent-cyan);
}

.stat-info .stat-value {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-info .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Admin Table */
.admin-table-container {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: #F8FAFC;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border-card);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #F1F5F9;
  color: var(--text-main);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #F8FAFC;
}

.table-service-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-available {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.status-rented {
  background: rgba(245, 158, 11, 0.14);
  color: #D97706;
}

.status-maintenance {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}

/* Filter controls on servicos.html */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  background: #F8FAFC;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  background: #F1F5F9;
  color: var(--text-main);
}

.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.search-box-wrap {
  position: relative;
  min-width: 250px;
}

.search-box-wrap input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
}

.search-box-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 94, 54, 0.15);
}

.search-box-wrap i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

/* ==========================================================================
   MOBILE & RESPONSIVE MEDIA QUERIES (Phone-First Optimization)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .calc-box {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .modal-card {
    grid-template-columns: 1fr;
  }

  .modal-media {
    height: 250px;
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Prevent background pseudo elements from widening viewport */
  body::before, body::after {
    display: none !important;
  }

  /* Hide long navbar CTA button on mobile so header never overflows */
  .nav-cta-btn {
    display: none !important;
  }

  .brand-logo img {
    height: 42px;
  }

  .brand-title .brand-name {
    font-size: 1.15rem;
  }

  .brand-title .brand-slogan {
    font-size: 0.65rem;
  }

  /* Mobile Navigation Drawer */
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 2px solid var(--border-card);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    transition: transform var(--transition-normal);
    z-index: 100;
    box-sizing: border-box;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.6rem 0;
    width: 100%;
    border-bottom: 1px solid #F1F5F9;
  }

  /* Hero on mobile */
  .hero-carousel-section {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .hero-title {
    font-size: 2.15rem;
    letter-spacing: -0.5px;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.85rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .carousel-controls {
    bottom: 0.75rem;
    padding: 0.35rem 0.8rem;
    gap: 0.65rem;
    max-width: calc(100% - 2rem);
    width: auto;
    box-sizing: border-box;
  }

  .carousel-label {
    display: none;
  }

  /* Categories 2 per row on mobile */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .category-card {
    padding: 1.25rem 0.75rem;
  }

  .cat-icon-wrap {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .cat-name {
    font-size: 0.95rem;
  }

  .cat-count {
    font-size: 0.75rem;
  }

  /* Services 1 per row */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-media {
    height: 210px;
  }

  .card-body {
    padding: 1.25rem;
  }

  /* Fast Budget Calculator */
  .calc-box {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .calc-form-row {
    grid-template-columns: 1fr;
  }

  .calc-items-grid {
    grid-template-columns: 1fr;
  }

  /* Filter bar on servicos.html */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
  }

  .category-filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .category-filter-chips .filter-chip {
    flex-shrink: 0;
  }

  .search-box-wrap {
    min-width: 100%;
  }

  /* Slide-over budget drawer (full width on phone) */
  .budget-drawer {
    max-width: 100%;
  }

  /* Toast position */
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
  }

  .toast {
    max-width: 100%;
  }

  /* Floating WhatsApp on mobile */
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  /* Footer on mobile */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

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

  .container {
    padding: 0 1rem;
  }
}
