/* ===========================
   RESET E VARIÁVEIS GERAIS
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0a5ca8; /* azul corporativo */
  --muted: #6b7280;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --radius: 12px;
  --container: 1200px;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #1f2937;
  background: var(--bg);
}

html {
  scroll-behavior: smooth;
}

/* ===========================
   HEADER E NAVEGAÇÃO
=========================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  backdrop-filter: saturate(120%) blur(4px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header.fixed {
  position: sticky;
  top: 0;
  z-index: 120;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

.brand img {
  height: 95px;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
}

.main-nav a:hover {
  color: var(--primary);
  background: rgba(10, 92, 168, 0.06);
}

.cta {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
}

.cta:hover {
  opacity: 0.95;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.25rem;
}

/* ===========================
   HERO (CABEÇALHO PRINCIPAL)
=========================== */
.hero {
  padding: 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.hero p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-image img {
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(10, 92, 168, 0.12);
}

/* ===========================
   CARROSSEL DE MARCAS
=========================== */
.brands-section {
  text-align: center;
  padding: 80px 0;
  background-color: #f5f7fa;
}

.brands-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 50px;
  animation: scroll 25s linear infinite;
}

.carousel-track img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   SEÇÃO DE CARDS (HOME)
=========================== */
.cards-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #0a3d62;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.card p {
  color: #555;
  line-height: 1.5;
  font-size: 1rem;
}

/* ===========================
   CARROSSEL DE DEPOIMENTOS
=========================== */
.testimonials-section {
  background-color: #f0f4f8;
  padding: 80px 0;
  text-align: center;
}

.testimonials-section h2 {
  color: #0a3d62;
  font-size: 2rem;
  margin-bottom: 50px;
}

.testimonial-carousel {
  position: relative;
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 200px;
}

.testimonial {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-in-out;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-author {
  color: #0a3d62;
  font-weight: bold;
  font-size: 1rem;
}

/* ===========================
   RODAPÉ
=========================== */
.site-footer {
  background: #fff;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

.copyright {
  text-align: center;
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

/* ===========================
   BOTÃO WHATSAPP FLUTUANTE
=========================== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--primary);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(10, 92, 168, 0.18);
  z-index: 140;
}

/* ===========================
   RESPONSIVIDADE
=========================== */
@media (max-width: 900px) {
  .header-inner { padding: 0.5rem 0; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: var(--surface);
    flex-direction: column;
    padding: 1rem;
  }
  .nav-toggle { display: block; }
  .hero-inner { flex-direction: column; text-align: center; }
  .features { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-text { font-size: 1rem; }
}

/* ===========================
   PRODUTOS EM DESTAQUE
=========================== */
.products-section {
  background-color: #fff;
  padding: 80px 0;
  text-align: center;
}

.products-section h2 {
  color: #0a3d62;
  font-size: 2rem;
  margin-bottom: 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center; /* centraliza os cards */
}

.product-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.1rem;
  color: #0a3d62;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
}

.product-card .btn {
  margin-top: 15px;
  background-color: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.product-card .btn:hover {
  background-color: #094f91;
}

/* Responsividade */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MISSÃO, VISÃO E VALORES
=========================== */
.mission-section {
  background: #f7f9fb;
  padding: 80px 0;
  text-align: center;
}

.mission-section h2 {
  color: #0a3d62;
  font-size: 2rem;
  margin-bottom: 50px;
}

.mission-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-card {
  background-color: #0a5ca8; /* azul royal */
  color: #fff;
  border-radius: 15px;
  padding: 40px 25px;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 8px 16px rgba(10, 92, 168, 0.3);
  text-align: center;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(10, 92, 168, 0.4);
  background-color: #094f91;
}

.mission-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e8eef6;
}

/* Responsividade */
@media (max-width: 768px) {
  .mission-cards {
    flex-direction: column;
    align-items: center;
  }
  .mission-card {
    max-width: 90%;
  }
}

