/* ============================================================
   QUALICONSIG - CSS PRINCIPAL
   Cores: #FFCB00 (amarelo), #136289 (teal), #001F64 (navy)
   ============================================================ */

:root {
  --yellow:      #FFCB00;
  --teal:        #136289;
  --navy:        #001F64;
  --white:       #ffffff;
  --gray-light:  #f4f7fb;
  --gray-mid:    #e0e8f0;
  --gray:        #6b7a8d;
  --gray-dark:   #2c3444;
  --font-main:   'Montserrat', sans-serif;
  --font-body:   'Open Sans', sans-serif;
  --shadow-sm:   0 2px 8px rgba(0,31,100,0.08);
  --shadow-md:   0 6px 24px rgba(0,31,100,0.13);
  --shadow-lg:   0 12px 40px rgba(0,31,100,0.18);
  --radius:      10px;
  --transition:  0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; font-family:var(--font-body); }
input, textarea, select { font-family:var(--font-body); }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  padding: 7px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-left { display:flex; gap:20px; align-items:center; }
.topbar-left a, .topbar-right a { color:var(--white); transition:color var(--transition); }
.topbar-left a:hover, .topbar-right a:hover { color:var(--yellow); }
.topbar-left span { display:flex; align-items:center; gap:5px; }
.social-icons { display:flex; gap:6px; }
.social-icons a {
  width:24px; height:24px;
  background:rgba(255,255,255,0.12);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:10px;
  transition:all var(--transition);
}
.social-icons a:hover { background:var(--yellow); color:var(--navy); }
.topbar-right { display:flex; align-items:center; gap:16px; }
.lang-btn {
  background:none; border:1px solid rgba(255,255,255,0.3);
  color:white; padding:2px 8px; border-radius:3px;
  font-size:11px; cursor:pointer;
  transition:border-color var(--transition);
}
.lang-btn:hover { border-color:var(--yellow); }

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo img { height: 44px; width: auto; }
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2px;
  margin-left: 24px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  color: var(--navy);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { background:var(--gray-light); color:var(--teal); }
.nav-search-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: var(--gray-light);
  border-radius: 22px;
  padding: 7px 16px;
  gap: 8px;
  border: 1px solid transparent;
  transition: border-color var(--transition);
}
.nav-search-wrap:focus-within { border-color: var(--teal); }
.nav-search-wrap input {
  border:none; background:none;
  font-size:13px; outline:none;
  width:160px; color:var(--gray-dark);
}
.nav-search-wrap i { color:var(--teal); font-size:13px; }
.hamburger {
  display:none;
  background:none; border:none;
  font-size:22px; color:var(--navy);
  margin-left:auto;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 500px;
  background: var(--navy);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.slide.active { opacity:1; z-index:2; pointer-events:all; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0,31,100,0.88) 0%,
    rgba(0,31,100,0.55) 55%,
    rgba(0,31,100,0.10) 100%
  );
}
.slide-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  color: white;
  width: 100%;
}
.slide-content h1 {
  font-family: var(--font-main);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 540px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.slide-content p {
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 30px;
  line-height: 1.65;
  opacity: 0.92;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  padding: 13px 28px;
  border-radius: 28px;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.slider-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: var(--yellow); transform: scale(1.25); }
.arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  font-size: 14px;
  z-index: 10;
}
.arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.arrow-left { left: 18px; }
.arrow-right { right: 18px; }

/* ===== CARDS SECTION ===== */
.cards-section {
  background: var(--white);
  padding: 56px 24px;
}
.cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-item {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.card-icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px;
  color: white;
  box-shadow: 0 4px 16px rgba(19,98,137,0.35);
}
.card-item h3 {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.card-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 20px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 20px;
  border: 2px solid var(--teal);
  border-radius: 20px;
  transition: all var(--transition);
  background: none;
  text-decoration: none;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ===== POR QUE QUALICONSIG ===== */
.why-section {
  background: var(--gray-light);
  padding: 64px 24px;
}
.section-title {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
}
.section-title span { color: var(--teal); }
.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.why-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.why-icon {
  font-size: 26px;
  color: var(--teal);
  min-width: 34px;
  padding-top: 2px;
}
.why-item h4 {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.why-item p { font-size: 12.5px; color: var(--gray); line-height: 1.55; }

/* ===== OUTROS SERVIÇOS ===== */
.services-section {
  background: linear-gradient(135deg, var(--navy) 0%, #002080 100%);
  padding: 64px 24px;
}
.services-section .section-title { color: var(--white); }
.services-section .section-title span { color: var(--yellow); }
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.service-card {
  width: 162px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
  box-shadow: var(--shadow-md);
}
.service-card:hover { transform: scale(1.06) translateY(-4px); }
.service-card img {
  width: 100%; height: 190px;
  object-fit: cover;
  filter: brightness(0.6);
  transition: filter var(--transition);
}
.service-card:hover img { filter: brightness(0.45); }
.service-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,31,100,0.96), transparent);
  color: white;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 30px 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SIMULADOR ===== */
.simulator-section {
  background: var(--white);
  padding: 72px 24px;
}
.sim-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sim-text h2 {
  font-family: var(--font-main);
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.sim-text h2 em {
  font-style: normal;
  color: var(--teal);
  font-size: 46px;
  display: block;
}
.sim-text p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 420px;
}
.sim-visual { position: relative; }
.sim-photo {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 420px;
}
.sim-box {
  position: absolute;
  right: -20px; bottom: 40px;
  background: var(--yellow);
  border-radius: 16px;
  padding: 22px 24px;
  width: 240px;
  box-shadow: var(--shadow-lg);
}
.sim-box h4 {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sim-box input {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
  background: white;
  color: var(--gray-dark);
}
.sim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-sim {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-sim-ghost { background: white; color: var(--navy); }
.btn-sim-solid { background: var(--navy); color: var(--yellow); }
.btn-sim:hover { opacity: 0.85; transform: translateY(-1px); }

/* ===== DEPOIMENTOS ===== */
.testimonials-section {
  background: var(--gray-light);
  padding: 64px 24px;
}
.stars { color: var(--yellow); font-size: 18px; margin-bottom: 12px; }
.testimonial-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-text {
  font-size: 16px;
  color: var(--gray-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}
.testimonial-text::before {
  content: '"';
  font-size: 80px;
  color: var(--teal);
  opacity: 0.15;
  font-family: Georgia, serif;
  position: absolute;
  top: -20px; left: -20px;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal);
}
.author-info strong {
  display: block;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.author-info span { font-size: 12px; color: var(--gray); }

/* ===== BLOG ===== */
.blog-section {
  background: var(--white);
  padding: 64px 24px;
}
.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-mid);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img {
  height: 180px;
  overflow: hidden;
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 20px; }
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.blog-date {
  background: var(--teal);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-family: var(--font-main);
  font-weight: 600;
}
.blog-cat {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 600;
}
.blog-card h3 {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card p { font-size: 12.5px; color: var(--gray); line-height: 1.55; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
  transition: gap var(--transition);
}
.blog-link:hover { gap: 10px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 52px 24px 24px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 13px; line-height: 1.65; margin-bottom: 20px; max-width: 260px; }
.footer-social { display:flex; gap:8px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: white;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--yellow); color: var(--navy); }
.footer-col h4 {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--yellow); }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}
.footer-contact i { color: var(--yellow); margin-top: 2px; min-width: 14px; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); margin-left: 16px; }
.footer-bottom a:hover { color: var(--yellow); }
.cnpj { color: rgba(255,255,255,0.45); }

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-left span:not(:first-child) { display: none; }
  .nav-menu { display: none; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; box-shadow: var(--shadow-md); padding: 12px 0; z-index: 300; }
  .hamburger { display: block; }
  .nav-search-wrap { display: none; }
  .hero-slider { height: 380px; }
  .slide-content h1 { font-size: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .sim-inner { grid-template-columns: 1fr; gap: 36px; }
  .sim-box { position: static; width: 100%; margin-top: -20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { gap: 12px; }
  .service-card { width: 140px; }
}

/* ===== TOAST NOTIFICAÇÃO ===== */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--navy);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--font-main);
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  border-left: 4px solid var(--yellow);
  box-shadow: var(--shadow-lg);
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left-color: #22c55e; }
.toast.error { border-left-color: #ef4444; }
