/* ============================================
   CAÇAMBA ABC — Design System
   Mobile-first, conversion-optimized
   ============================================ */

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

:root {
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-whatsapp: #25D366;
  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #374151;
  --white: #ffffff;
  --red-500: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--dark-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ── HEADER ── */
.header {
  background: var(--dark-900);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}
.logo .icon { font-size: 28px; }
.logo span { color: var(--orange-500); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav a:hover { color: var(--white); background: var(--dark-700); }

.btn-header-cta {
  background: var(--green-whatsapp);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}

.menu-toggle { display: none; background: none; color: var(--white); font-size: 28px; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--orange-700) 100%);
  padding: 80px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange-500);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--orange-500); }
.hero p {
  font-size: 18px;
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-whatsapp {
  background: var(--green-whatsapp);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}
.btn-whatsapp .wa-icon { font-size: 24px; }

.btn-call {
  background: var(--white);
  color: var(--dark-900);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.btn-call:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.hero-image {
  display: flex;
  justify-content: center;
}
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-height: 400px;
  object-fit: cover;
}

.hero-trust {
  display: flex;
  gap: 30px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-300);
}
.trust-item .icon { font-size: 20px; }

/* ── SECTIONS ── */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 12px;
}
.section-title p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}
.section-title .highlight { color: var(--orange-500); }

.bg-gray { background: var(--gray-100); }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  display: block;
  cursor: pointer;
}
a.service-card { text-decoration: none; color: inherit; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-500);
}
.service-card .icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step-card {
  text-align: center;
  position: relative;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--orange-500);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 15px;
  color: var(--gray-500);
}

/* ── CITIES GRID ── */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.city-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s;
  display: block;
}
.city-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.city-card .city-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.city-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.city-card .city-sub { font-size: 12px; color: var(--gray-500); }
.city-card .city-cta {
  display: inline-block;
  margin-top: 12px;
  color: var(--orange-600);
  font-size: 14px;
  font-weight: 600;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--orange-500);
  position: relative;
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured::before {
  content: '⭐ Mais pedido';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-500);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
}
.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pricing-card .price {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange-600);
  margin-bottom: 4px;
}
.pricing-card .price-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.pricing-card ul { text-align: left; margin-bottom: 24px; }
.pricing-card li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-card li .check { color: var(--green-500); }
.pricing-card .btn-pricing {
  width: 100%;
  padding: 14px;
  background: var(--orange-500);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.pricing-card .btn-pricing:hover {
  background: var(--orange-600);
}

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  background: none;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-900);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--orange-600); }
.faq-question .arrow {
  transition: transform 0.3s;
  font-size: 20px;
  color: var(--gray-500);
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; }

/* ── NEIGHBORHOODS (City Pages) ── */
.neighborhoods {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}
.neighborhoods h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.neighborhoods ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.neighborhoods li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.neighborhoods li a:hover {
  background: var(--white);
  color: var(--orange-600);
}
.neighborhoods li a .dot {
  width: 6px;
  height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── CITY HERO ── */
.city-hero {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
  padding: 60px 0 40px;
  color: var(--white);
}
.breadcrumb {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--gray-300); }
.breadcrumb a:hover { color: var(--orange-500); }
.city-hero h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}
.city-hero h1 .highlight { color: var(--orange-500); }
.city-hero p {
  font-size: 17px;
  color: var(--gray-300);
  max-width: 600px;
  margin-bottom: 24px;
}
.city-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
}
.cta-banner .btn-whatsapp {
  font-size: 20px;
  padding: 18px 40px;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark-900);
  color: var(--gray-300);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer p { font-size: 14px; line-height: 1.7; }
.footer ul li {
  margin-bottom: 8px;
}
.footer ul li a {
  font-size: 14px;
  color: var(--gray-300);
  transition: color 0.2s;
}
.footer ul li a:hover { color: var(--orange-500); }
.footer-bottom {
  border-top: 1px solid var(--dark-700);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--green-whatsapp);
  color: var(--white);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 40px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 30px; }
  .hero-image { display: none; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .city-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-900);
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .menu-toggle { display: block; }
  .btn-header-cta { display: none; }
  .section-title h2 { font-size: 28px; }
  .cta-banner h2 { font-size: 24px; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .neighborhoods ul { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-ctas { flex-direction: column; }
  .btn-whatsapp, .btn-call { width: 100%; justify-content: center; }
  .cities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
