/* ===========================================
   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: var(--white);
  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;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.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); }

/* ===========================================
   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; }
}
@media (max-width: 480px) {
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .logo-sub { display: none; }
}

/* ===========================================
   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; }
}
