/* ===========================================
   KazaPro — Base Styles (shared all pages)
   =========================================== */

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

:root {
  --blue-primary: #155dfc;
  --blue-dark:    #1e3a8a;
  --blue-mid:     #1e40af;
  --blue-light:   #dbeafe;
  --blue-pale:    #eff6ff;
  --green-light:  #dcfce7;
  --green-accent: #00c950;
  --red-light:    #ffe2e2;
  --orange-border:#ff8904;
  --orange-bg:    #fff7ed;
  --text-dark:    #0a0a0a;
  --text-mid:     #364153;
  --text-muted:   #4a5565;
  --text-light:   #6a7282;
  --text-pale:    #99a1af;
  --border:       #e5e7eb;
  --bg-gray:      #f9fafb;
  --white:        #ffffff;
  --footer-bg:    #101828;
  --cyan:         #00d3f3;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
  --shadow-xl:  0 25px 50px rgba(0,0,0,.25);
  --radius: 14px;
  --font: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===========================================
   Header
   =========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f1f3f5;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 14px 40px;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { display: block; height: 36px; width: auto; }
.logo-tagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  margin-left: 12px;
  white-space: nowrap;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; fill: white; }
.logo-group { display: flex; flex-direction: column; gap: 2px; }
.logo-text {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  line-height: 1;
}
.logo-text span { color: var(--blue-primary); }
.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-cta {
  background: var(--blue-primary);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--blue-dark); }
.header-phone {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}
.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  color: #111;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.header-wa:hover { color: #25d366; }
.header-wa svg { width: 17px; height: 17px; fill: #25d366; flex-shrink: 0; }

/* ===========================================
   Site Nav (mega menu)
   =========================================== */
.site-nav {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  position: relative;
  z-index: 99;
}
.site-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: color .15s;
}
.nav-link:hover { color: var(--blue-primary); }
.nav-chevron {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  z-index: 200;
}
.nav-item:hover .nav-dropdown { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-item {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--blue-pale); color: var(--blue-primary); }
.nav-dropdown-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
}
.nav-dropdown-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-pale);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px 2px;
}
@media (max-width: 768px) {
  .site-nav { display: none; }
}

/* ===========================================
   Footer (padronizado)
   =========================================== */
.footer {
  background: var(--footer-bg);
  color: var(--text-pale);
  padding: 48px 40px 24px;
}
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.footer-logo-text span { color: var(--blue-primary); }
.footer-desc {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 210px;
}
.footer-location { display: flex; align-items: center; gap: 6px; }
.footer-location svg {
  width: 13px; height: 13px;
  stroke: var(--cyan); fill: none; stroke-width: 2; flex-shrink: 0;
}
.footer-location span { font-size: 12px; font-weight: 500; color: var(--cyan); }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--text-pale); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-schedule { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer-phone { font-size: 15px; font-weight: 700; color: white; margin-top: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.footer-socials a:hover { background: rgba(255,255,255,.16); }
.footer-socials svg { width: 16px; height: 16px; stroke: var(--text-pale); fill: none; stroke-width: 2; }

/* ===========================================
   WhatsApp Floating Button
   =========================================== */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  text-decoration: none;
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 28px; height: 28px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 6px 36px rgba(37,211,102,.65), 0 0 0 10px rgba(37,211,102,.10); }
}

/* ===========================================
   FAQ Accordion (usado em 4 páginas)
   =========================================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.faq-item {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition: background .2s;
  gap: 12px;
}
.faq-question:hover { background: var(--bg-gray); }
.faq-chevron {
  width: 16px; height: 16px;
  flex-shrink: 0;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 22px 18px; }

/* ===========================================
   Animations
   =========================================== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================================
   Page Hero (páginas institucionais)
   =========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 64px 40px;
  text-align: center;
}
.page-hero-inner { max-width: 640px; margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  color: white;
}
.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: #bfdbfe; line-height: 1.65; }

/* Seções institucionais */
.section { padding: 72px 40px; }
.section-alt { background: var(--bg-gray); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 9999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* CTA Box (institucional) */
.cta-box {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
.cta-box h2 { font-size: 30px; font-weight: 800; color: white; margin-bottom: 12px; }
.cta-box p { font-size: 16px; color: #bfdbfe; margin-bottom: 28px; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-accent);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.cta-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.cta-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ===========================================
   Responsive — Header
   =========================================== */
@media (max-width: 768px) {
  .header { padding: 12px 20px; }
  .logo-tagline { display: none; }
  .header-wa { font-size: 13px; gap: 5px; }
  .header-wa svg { width: 15px; height: 15px; }
  .header-cta { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  .logo-sub { display: none; }
  .header-cta { display: none; }
  .header-right { gap: 0; }
}

/* ===========================================
   Responsive — Footer
   =========================================== */
@media (max-width: 900px) {
  .footer { padding: 40px 24px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer { padding: 36px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================================
   Responsive — Institucional
   =========================================== */
@media (max-width: 768px) {
  .page-hero { padding: 48px 20px; }
  .page-hero h1 { font-size: 30px; }
  .section { padding: 48px 20px; }
  .cta-box { padding: 36px 24px; }
  .cta-box h2 { font-size: 24px; }
}

/* ===========================================
   Seção Cidades — index.html
   =========================================== */
.cidades-section {
  background: var(--bg-alt);
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}
.cidades-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cidades-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
}
.cidades-sub {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}
.cidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cidades-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 12px;
}
.cidades-col a {
  display: block;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.cidades-col a:last-child { border-bottom: none; }
.cidades-col a:hover { color: var(--primary); }
@media (max-width: 768px) {
  .cidades-grid { grid-template-columns: 1fr; gap: 28px; }
  .cidades-title { font-size: 22px; }
}
