/* ============================================================
   Desentupidora Mogi — CSS Base
   Mobile-first, sem framework, sem dependências externas
   ============================================================ */

:root {
  --color-primary: #1a1a2e;
  --color-accent: #e63946;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-border: #e5e7eb;
  --max-width: 1100px;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* === RESET MÍNIMO === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--color-text); line-height: 1.6; background: var(--color-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* === CONTAINER === */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}

.site-logo span { color: var(--color-whatsapp); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.header-phone:hover { color: var(--color-whatsapp); }
.header-phone svg { flex-shrink: 0; }

/* Menu hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* Nav */
.site-nav {
  display: none;
  background: #11111f;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.site-nav.open { display: block; }

.nav-menu {
  list-style: none;
  padding: 8px 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-menu a {
  display: block;
  padding: 12px 20px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.nav-menu a:hover { background: rgba(255,255,255,0.06); color: var(--color-whatsapp); }

/* Submenu */
.nav-submenu { list-style: none; }
.nav-submenu a { padding-left: 36px; font-size: 0.9rem; color: #9ca3af; }
.nav-submenu a:hover { color: var(--color-whatsapp); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 60%, #16213e 100%);
  color: #fff;
  padding: 48px 20px 40px;
}

.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-whatsapp);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  max-width: 480px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.badge {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  color: #86efac;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* CTA Box (lado direito no desktop) */
.cta-box {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cta-box-header {
  background: var(--color-whatsapp);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cta-box-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn:active { transform: scale(0.98); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover { opacity: 0.9; }

.btn-phone {
  background: var(--color-accent);
  color: #fff;
}

.btn-phone:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

.btn-outline:hover { border-color: var(--color-primary); }

.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
.section { padding: 56px 20px; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-primary); color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1rem;
}

.section-dark .section-header p { color: #9ca3af; }

/* ============================================================
   CARDS DE SERVIÇO
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
  display: block;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-whatsapp);
  transform: translateY(-2px);
}

.service-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.service-card h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }

/* ============================================================
   DIFERENCIAIS / LISTA COM ÍCONES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(37,211,102,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 0.9rem; color: var(--color-muted); }
.section-dark .feature-item p { color: #9ca3af; }

/* ============================================================
   PASSOS (HOW IT WORKS)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: 0.9rem; color: var(--color-muted); }

/* ============================================================
   ÁREAS ATENDIDAS
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.area-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}

.area-link:hover { border-color: var(--color-whatsapp); color: var(--color-whatsapp); }
.area-link::before { content: "📍"; font-size: 1rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--color-bg);
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  line-height: 1.4;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================================
   MAPA
   ============================================================ */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  max-width: var(--max-width);
  margin: 0 auto;
}

.map-container iframe { display: block; width: 100%; height: 300px; border: none; }

/* ============================================================
   CTA SECTION (bottom)
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.cta-section p {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   CONTEÚDO INTERNO (páginas de serviço/bairro)
   ============================================================ */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 20px 36px;
  text-align: center;
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 12px;
}

.page-hero .breadcrumb a { color: #9ca3af; text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--color-whatsapp); }
.page-hero .breadcrumb span { margin: 0 6px; }

.page-hero h1 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 500px;
  margin: 0 auto 20px;
}

.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px;
}

.page-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 32px 0 12px;
  color: var(--color-primary);
}

.page-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--color-primary);
}

.page-content p { margin-bottom: 16px; font-size: 0.97rem; line-height: 1.75; }

.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content li { font-size: 0.97rem; margin-bottom: 8px; line-height: 1.6; }

.page-content img {
  border-radius: var(--radius);
  margin: 24px 0;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
}

/* Inline CTA dentro do conteúdo */
.inline-cta {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-whatsapp);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inline-cta p { margin-bottom: 0; font-weight: 600; font-size: 0.97rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p { font-size: 0.875rem; line-height: 1.7; }

.footer-nav h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-whatsapp); }

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a { color: #9ca3af; text-decoration: none; }
.footer-contact a:hover { color: var(--color-whatsapp); }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-disclaimer {
  font-size: 0.775rem;
  line-height: 1.6;
  color: #4b5563;
}

.footer-copyright {
  font-size: 0.775rem;
  color: #4b5563;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  width: 58px;
  height: 58px;
  bottom: 24px;
  right: 24px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.5);
  z-index: 999;
  text-decoration: none;
  animation: wapulse 2.5s infinite;
}

.whatsapp-float:hover { background: var(--color-whatsapp-dark); }

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

/* ============================================================
   DESKTOP (min 768px)
   ============================================================ */
@media (min-width: 768px) {
  /* Header */
  .menu-toggle { display: none; }
  .site-nav { display: block; background: #13132a; border-top: none; }
  .nav-menu {
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .nav-menu li { border-bottom: none; }
  .nav-menu > li { position: relative; }
  .nav-menu > li > a {
    padding: 10px 14px;
    font-size: 0.875rem;
    border-radius: 4px;
    white-space: nowrap;
  }

  /* Dropdown */
  .nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a35;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 var(--radius) var(--radius);
    min-width: 220px;
    z-index: 200;
    padding: 8px 0;
  }
  .nav-menu > li:hover .nav-submenu { display: block; }
  .nav-submenu a { padding: 9px 18px; white-space: nowrap; }

  /* Hero */
  .hero { padding: 64px 40px 56px; }
  .hero-grid { grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
  .hero h1 { font-size: 2.4rem; }

  /* Services */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* Steps */
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  /* Areas */
  .areas-grid { grid-template-columns: repeat(3, 1fr); }

  /* CTA buttons */
  .cta-buttons { flex-direction: row; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; }

  /* Page content */
  .page-hero { padding: 56px 40px 48px; }
  .page-hero h1 { font-size: 2rem; }
  .page-content img { height: 360px; }
  .inline-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .map-container iframe { height: 380px; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
}
