/* ================================================================
   LimpoSim v3 — Main CSS
   Design bold, visual, orientado a conversão
   Inspirado em DLT, executado com identidade própria
   ================================================================ */

:root {
  --blue: #0A7CFF;
  --blue-dark: #0560C9;
  --blue-light: #E8F2FF;
  --green: #16B45F;
  --green-dark: #0E9A4E;
  --green-light: #E6F9EE;
  --orange: #FF7A00;
  --orange-light: #FFF3E6;
  --dark: #0F1923;
  --dark-mid: #1A2B3D;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-soft: 0 4px 24px rgba(15,25,35,0.08);
  --shadow-strong: 0 8px 40px rgba(15,25,35,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--dark);
}
.nav-logo-icon {
  width: 38px; height: 38px; background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: white; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--gray-700); transition: color 0.2s; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -12px;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-strong); border: 1px solid var(--gray-300);
  min-width: 220px; z-index: 10;
  padding-top: 12px;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 14px;
  color: var(--gray-700); transition: all 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: white; padding: 10px 22px;
  border-radius: var(--radius-full); font-family: var(--font-display);
  font-weight: 700; font-size: 14px; transition: all 0.25s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(37,211,102,0.4); }

/* ======================== BUTTONS ======================== */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white; padding: 16px 32px;
  border-radius: var(--radius-full); font-family: var(--font-display);
  font-weight: 700; font-size: 16px; transition: all 0.3s;
  box-shadow: 0 6px 25px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(37,211,102,0.45); }
.btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--dark); padding: 16px 28px;
  border-radius: var(--radius-full); font-family: var(--font-display);
  font-weight: 700; font-size: 16px; transition: all 0.3s;
  border: 2px solid var(--gray-300);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white; padding: 16px 28px;
  border-radius: var(--radius-full); font-family: var(--font-display);
  font-weight: 700; font-size: 16px; transition: all 0.3s;
  box-shadow: 0 6px 25px rgba(10,124,255,0.3);
}
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(10,124,255,0.4); background: var(--blue-dark); }

/* ======================== SECTIONS ======================== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue); padding: 6px 16px;
  border-radius: var(--radius-full); font-family: var(--font-display);
  font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: 44px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--dark); margin-bottom: 14px;
}
.section-header p { font-size: 18px; color: var(--gray-500); max-width: 540px; margin: 0 auto; }

/* ======================== PAGE HERO (inner pages) ======================== */
.page-hero {
  padding: 140px 32px 80px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #f8fbff 50%, var(--green-light) 100%);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: 48px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--dark); margin-bottom: 16px;
}
.page-hero p { font-size: 19px; color: var(--gray-500); max-width: 600px; margin: 0 auto 32px; }
.page-hero .breadcrumb {
  font-size: 14px; color: var(--gray-500); margin-bottom: 24px;
}
.page-hero .breadcrumb a { color: var(--blue); }

/* ======================== CONTENT ======================== */
.content-section { padding: 80px 32px; }
.content-section.alt { background: var(--gray-100); }
.content-inner { max-width: 1280px; margin: 0 auto; }
.content-narrow { max-width: 800px; margin: 0 auto; }
.content-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ======================== CARDS ======================== */
.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--gray-300);
  transition: all 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.card-img { height: 200px; overflow: hidden; background: linear-gradient(135deg, var(--blue-light), var(--green-light)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; }
.card-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card-body p { font-size: 15px; color: var(--gray-500); line-height: 1.6; }

/* ======================== SERVICE PAGE ======================== */
.service-detail { padding: 80px 32px; }
.service-detail-inner { max-width: 1280px; margin: 0 auto; }
.service-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.service-detail-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-strong); }
.service-detail-img img { width: 100%; height: 400px; object-fit: cover; }
.service-includes { margin: 32px 0; }
.service-includes h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.include-list { display: flex; flex-direction: column; gap: 12px; }
.include-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; background: var(--gray-100); border-radius: var(--radius-sm);
}
.include-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.include-item span { font-size: 15px; color: var(--dark); }

/* ======================== CONTACT FORM ======================== */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 14px; color: var(--dark); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-body);
  color: var(--dark); transition: border-color 0.2s; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ======================== FOOTER ======================== */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 32px 32px; color: white; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.65); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ======================== BLOG LISTING ======================== */
.blog-listing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .blog-listing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-listing { grid-template-columns: 1fr; } }

/* ======================== WHATSAPP FLOAT ======================== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all 0.3s;
  animation: pulse 2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-float svg { width: 32px; height: 32px; fill: white; }

/* ======================== ANIMATIONS ======================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); } 50% { box-shadow: 0 6px 40px rgba(37,211,102,0.6); } }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1024px) {
  .content-grid-2 { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
}
.nav-toggle {
  display: none; background: transparent; border: 0;
  width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--dark);
  border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 16px 32px;
    border-bottom: 1px solid var(--gray-300); box-shadow: 0 8px 40px rgba(15,25,35,0.15);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid #f3f4f6; display: block; }
  .nav-inner { position: relative; }
  .section-header h2 { font-size: 32px; }
  .page-hero h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
