/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #F5F7FA;
  color: #1A1F2E;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== VARIÁVEIS ===== */
:root {
  --blue:        #1558C0;   /* azul principal da logo */
  --blue-mid:    #2563EB;   /* azul médio (letras A/M da logo) */
  --blue-light:  #4B8EF0;   /* azul claro / hover */
  --blue-pale:   #EEF4FF;   /* azul suavíssimo para fundos */
  --blue-border: rgba(21,88,192,0.13);

  --bg:          #F5F7FA;   /* fundo principal (quase branco) */
  --bg-2:        #FFFFFF;   /* cards, seções alternadas */
  --bg-3:        #EFF6FF;   /* seções com toque azul */

  --text:        #1A1F2E;
  --text-muted:  #6B7280;
  --text-light:  #9CA3AF;

  --border:      rgba(0,0,0,0.07);
  --shadow-sm:   0 1px 4px rgba(30,58,138,0.06);
  --shadow-md:   0 4px 24px rgba(30,58,138,0.10);
  --shadow-lg:   0 12px 40px rgba(30,58,138,0.14);

  --radius:      14px;
  --transition:  0.28s ease;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-logo img { height: 46px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted); transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: #0B1628;
  position: relative; overflow: hidden;
}

/* Grade de fundo */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Orbs de luz azul */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.30) 0%, transparent 70%);
  top: -100px; left: -80px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(21,88,192,0.22) 0%, transparent 70%);
  bottom: -60px; right: -60px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(75,142,240,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, 20px); }
}
@keyframes orbPulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%,-50%) scale(1.15); }
}

/* Conteúdo do hero */
.hero-inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
}

/* Badge localização */
.hero-location {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(75,142,240,0.35);
  padding: 6px 18px; border-radius: 99px;
  font-size: 13px; font-weight: 600; color: #93C5FD;
  margin-bottom: 32px; letter-spacing: 0.3px;
}

/* Logo centralizada e grande */
.hero-logo {
  margin: 0 auto 32px;
  width: 150px; height: 150px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-logo::before {
  content: '';
  position: absolute; inset: -18px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: logoPulse 3s ease-in-out infinite;
}
.hero-logo::after {
  content: '';
  position: absolute; inset: -6px;
  border: 1px solid rgba(75,142,240,0.20);
  border-radius: 50%;
}
@keyframes logoPulse {
  0%,100% { transform: scale(1);   opacity: 0.7; }
  50%      { transform: scale(1.1); opacity: 1; }
}
.hero-logo img {
  width: 130px; height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(37,99,235,0.50));
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 20px; color: #F0F6FF;
}
.hero h1 span { color: #60A5FA; }
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #94A3B8; max-width: 560px; margin: 0 auto 36px; line-height: 1.7;
}
.hide-mobile { display: inline; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue-mid);
  color: #fff; padding: 14px 30px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  transition: all var(--transition); border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,99,235,0.45);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.55); }

.btn-secondary {
  background: rgba(255,255,255,0.07); color: #E2E8F0;
  padding: 14px 30px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: all var(--transition); cursor: pointer;
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(96,165,250,0.45); transform: translateY(-2px); }

.hero-stats {
  display: flex; align-items: center; gap: 0; justify-content: center; flex-wrap: wrap;
  margin-top: 56px; padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat { padding: 0 36px; }
.stat h3 { font-size: 2rem; font-weight: 800; color: #60A5FA; }
.stat p  { font-size: 12px; color: #64748B; margin-top: 2px; }
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.08);
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ===== SEÇÕES GERAIS ===== */
section { padding: 96px 24px; }
.container { max-width: 1180px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-mid); border: 1px solid var(--blue-border);
  padding: 4px 14px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: var(--text);
}
.section-subtitle { color: var(--text-muted); font-size: 16px; max-width: 540px; }

/* ===== SERVIÇOS ===== */
.services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 52px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-border); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 50px; height: 50px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== CATÁLOGO ===== */
.catalog { background: var(--bg); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px; margin-top: 48px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-border); }
.product-img { aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.product-price { font-size: 22px; font-weight: 800; color: var(--blue-mid); margin-bottom: 14px; }
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: #25d366; color: #fff;
  padding: 11px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: all var(--transition);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }
.catalog-empty { text-align: center; padding: 80px 24px; color: var(--text-muted); grid-column: 1 / -1; }

/* ===== COMO FUNCIONA ===== */
.how-it-works { background: var(--blue-pale); }
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 52px; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--blue-mid), transparent);
}
.step { display: flex; gap: 28px; align-items: flex-start; padding: 28px 0; }
.step-num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff; position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(30,58,138,0.25);
}
.step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.step-content p { color: var(--text-muted); font-size: 15px; max-width: 520px; }

/* ===== SOBRE ===== */
.about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; margin-top: 52px;
}
.about-image {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}

.about-brand-card {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #0B1628 0%, #0f2044 60%, #081020 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px; padding: 40px;
  position: relative; overflow: hidden;
}
.about-brand-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.about-brand-card::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.about-brand-logo {
  width: 140px; height: 140px;
  object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 20px rgba(37,99,235,0.55));
}
.about-brand-tagline {
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1; width: 100%;
}
.tagline-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75,142,240,0.5));
}
.tagline-line:last-child {
  background: linear-gradient(90deg, rgba(75,142,240,0.5), transparent);
}
.tagline-text {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #93C5FD; white-space: nowrap;
}
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 18px; }
.about-text h2 span { color: var(--blue-mid); }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.about-values { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.value-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--blue-pale);
  border: 1px solid var(--blue-border); border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.value-item span:first-child { font-size: 18px; }

/* ===== CONTATO ===== */
.contact { background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px; margin-top: 52px;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 10px; transition: all var(--transition); cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.contact-item:hover { border-color: var(--blue-mid); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.contact-item-icon {
  width: 44px; height: 44px; background: var(--blue-pale);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-item-text label { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-item-text span { font-size: 14px; font-weight: 600; color: var(--text); }

/* ===== FORMULÁRIO ===== */
.quote-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.quote-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 22px; color: var(--text); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 11px 14px; color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.form-group select { background-color: var(--bg); cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 95px; }
.form-success {
  display: none; background: #F0FDF4;
  border: 1px solid #BBF7D0; border-radius: 8px;
  padding: 14px; text-align: center; color: #15803D;
  font-weight: 500; margin-top: 14px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--blue);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 24px;
}
.footer-content {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.footer-logo img { height: 42px; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; cursor: pointer;
  opacity: 0; transform: translateY(16px);
  transition: all var(--transition); border: none; z-index: 999;
  box-shadow: 0 4px 16px rgba(30,58,138,0.30);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-mid); transform: translateY(-2px) !important; }

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); gap: 14px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .steps::before { left: 23px; }
  .step-num { width: 46px; height: 46px; font-size: 16px; }
  section { padding: 70px 20px; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 24px; }
  .catalog-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMAÇÕES ===== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }
