/* ===== VARIÁVEIS / RESET ===== */
:root {
  /* Paleta derivada da logo: carvão do texto + azul-céu da estrela */
  --azul: #1462b0;         /* azul principal (botões, links) */
  --azul-esc: #15263c;     /* carvão-marinho — títulos (letras da logo) */
  --azul-claro: #1774bf;   /* azure de acento (texto pequeno, legível) */
  --roxo: #3b1f7a;
  --grad-cta: linear-gradient(135deg, #1c6fc2 0%, #15335c 100%);   /* azure -> marinho */
  --grad-hero: linear-gradient(120deg, #eef3f7 0%, #dbe8f4 100%);
  --grad-ring: linear-gradient(135deg, #2f8fff 0%, #19c0ff 100%);  /* estrela/sparkle */
  --whats: #25d366;
  --cinza-bg: #f2f6fb;
  --cinza-card: #eef2fa;
  --texto: #1b2531;
  --texto-suave: #5a6376;
  --branco: #ffffff;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(21, 51, 92, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { overflow-x: hidden; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1180px, 92%); margin: 0 auto; }
img { max-width: 100%; display: block; }
h4 { font-size: 1.05rem; color: var(--azul); margin: 22px 0 12px; }

/* ===== TIPOGRAFIA AUXILIAR ===== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--azul-claro);
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  padding: 16px 32px;
  border-radius: 13px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 12px 26px rgba(13, 59, 140, .3); }
.btn-sm { padding: 11px 20px; font-size: 0.78rem; border-radius: 10px; }
.btn-lg { padding: 19px 40px; font-size: 1rem; }
.btn-whatsapp { background: var(--whats); color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .35); }
.btn-whatsapp .wa-icon { font-size: 1.2rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e7ecf6;
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.logo-img { height: 46px; width: auto; }
.logo-fallback { font-weight: 800; font-size: 1.35rem; color: var(--azul-esc); letter-spacing: .5px; white-space: nowrap; }
.logo-fallback.footer { color: #fff; font-size: 1.5rem; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--texto-suave); font-weight: 500; font-size: 0.95rem; transition: color .15s; }
.nav a:hover { color: var(--azul); }
/* Botão hambúrguer (só aparece no mobile) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 9px 8px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--azul-esc); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { background: var(--grad-hero); padding: 80px 0 90px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; color: var(--azul-esc); line-height: 1.1; margin-bottom: 22px; }
.hero-title span { color: var(--azul-claro); }
.hero-desc { font-size: 1.12rem; color: var(--texto-suave); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { display: flex; flex-direction: column; align-items: center; gap: 22px; }
/* Palco circular fixo onde as máquinas trocam */
.hero-stage {
  position: relative; width: 440px; max-width: 100%; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
/* Brilho suave (spotlight) atrás da máquina — se dissolve, nunca "estoura" */
.hero-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%,
    rgba(47,143,255,.24) 0%,
    rgba(25,192,255,.13) 42%,
    rgba(47,143,255,0) 70%);
  z-index: 1; pointer-events: none;
}
/* Sombra de apoio no "chão" sob a máquina */
.hero-stage::after, .detail-image::after {
  content: ""; position: absolute; left: 50%; bottom: 8%;
  width: 56%; height: 22px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(21,38,60,.30), rgba(21,38,60,0) 72%);
  filter: blur(2px); z-index: 0; pointer-events: none;
}
/* Carrossel: as máquinas empilhadas trocam com fade, sempre contidas no círculo */
.hero-carousel { position: relative; width: 100%; height: 100%; z-index: 2; }
.hero-slide {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  max-height: 74%; max-width: 62%; width: auto; object-fit: contain;
  opacity: 0; pointer-events: none;
  transition: opacity .7s ease, transform .7s ease;
  filter: drop-shadow(0 18px 30px rgba(13,59,140,.25));
}
.hero-slide.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hero-caption {
  background: var(--grad-cta); color: #fff; font-weight: 600; font-size: .92rem;
  letter-spacing: .5px; padding: 9px 26px; border-radius: 30px; white-space: nowrap;
  box-shadow: 0 10px 22px rgba(13,59,140,.28);
}

/* ===== SEÇÃO EQUIPAMENTOS / CARDS ===== */
.equipamentos { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--azul-esc); font-weight: 700; margin-bottom: 12px; }
.section-sub { color: var(--texto-suave); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--branco); border: 1px solid #e9eef8; border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(13,59,140,.16); }
.card-img { background: linear-gradient(180deg,#fff, #f3f6fc); display: grid; place-items: center; padding: 28px; min-height: 230px; }
.card-img img { max-height: 200px; object-fit: contain; }
.card-body { padding: 22px 24px 8px; flex: 1; }
.card-body h3 { font-size: 1.3rem; color: var(--azul-esc); margin-bottom: 4px; }
.card-tag { color: var(--azul-claro); font-size: 0.82rem; font-weight: 600; margin-bottom: 12px; }
.card-body p { color: var(--texto-suave); font-size: 0.96rem; }
.card-cta {
  margin-top: 18px; background: var(--azul); color: #fff; text-decoration: none; font-weight: 600;
  padding: 17px 24px; display: flex; align-items: center; justify-content: space-between; transition: background .15s;
}
.card-cta span { font-size: 1.4rem; line-height: 1; }
.card-cta:hover { background: var(--azul-claro); }

/* ===== DIFERENCIAIS ===== */
.diferenciais { padding: 90px 0; background: var(--cinza-bg); }
.dif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dif-card { background: #fff; border: 1px solid #e9eef8; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.dif-ico { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.dif-card h3 { font-size: 1.1rem; color: var(--azul-esc); margin-bottom: 8px; }
.dif-card p { color: var(--texto-suave); font-size: 0.92rem; }

/* ===== SEÇÕES DE DETALHE ===== */
.detail { padding: 90px 0; }
.detail-alt { background: var(--cinza-bg); }
.detail-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 60px; }
.detail-image { position: relative; display: grid; place-items: center; min-height: 340px; position: sticky; top: 90px; }
.detail-image .hero-ring {
  inset: auto; top: 46%; left: 50%; transform: translate(-50%, -50%);
  width: 380px; height: 460px; max-width: 92%; border-radius: 50%;
}
.detail-image img { max-height: 440px; position: relative; z-index: 2; filter: drop-shadow(0 20px 36px rgba(13,59,140,.16)); }
.detail-title { font-size: clamp(1.9rem, 4.4vw, 2.8rem); color: var(--azul-esc); font-weight: 800; line-height: 1.05; margin-bottom: 6px; }
.detail-tag { color: var(--azul-claro); font-weight: 600; margin-bottom: 18px; }
.detail-text > p { color: var(--texto-suave); margin-bottom: 14px; font-size: 1.04rem; }
.detail-cta { margin-top: 28px; }

/* ===== CHECK LIST ===== */
.check-list { list-style: none; margin: 4px 0 8px; display: grid; gap: 10px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }
.check-list li { position: relative; padding-left: 30px; color: var(--texto); font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #2bb673; font-weight: 800; }
.benef { margin-top: 6px; }

/* ===== TABELA DE PREÇOS ===== */
.prices { margin: 26px 0 30px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.price-card {
  border: 1px solid #d8e2f4; border-radius: 14px; padding: 16px 14px; text-align: center;
  background: #fff; display: flex; flex-direction: column; gap: 4px;
}
.detail-alt .price-card { background: #fbfcff; }
.price-period { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--texto-suave); }
.price-value { font-size: 1.5rem; font-weight: 800; color: var(--azul); line-height: 1.1; }
.price-sub { font-size: 0.72rem; color: #9aa3b5; text-transform: uppercase; letter-spacing: .5px; }
.price-extra {
  margin-top: 14px; font-size: 0.9rem; color: var(--azul-esc); font-weight: 600;
  background: #e7f0ff; border-radius: 10px; padding: 12px 16px;
}

/* ===== CTA FINAL ===== */
.cta-final { text-align: center; padding: 90px 0; background: var(--grad-cta); color: #fff; }
.cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-final > .container > p { font-size: 1.15rem; opacity: .92; margin-bottom: 30px; }
.cta-phone { margin-top: 22px; font-size: 1.1rem; font-weight: 600; opacity: .95; }

/* ===== FOOTER ===== */
.site-footer { background: #0a1430; color: #c7cee2; padding: 46px 0; text-align: center; }
.footer-logo { height: 54px; width: auto; margin: 0 auto 16px; background: #fff; padding: 9px 14px; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.footer-slogan { font-size: 1rem; margin-bottom: 8px; }
.footer-items { font-size: 0.9rem; opacity: .8; margin-bottom: 14px; }
.copyright { opacity: .55; font-size: 0.82rem; }

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; width: 62px; height: 62px;
  background: var(--whats); color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .5); z-index: 100; cursor: pointer;
  transition: transform .15s ease; animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,.5), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px); border-bottom: 1px solid #e7ecf6;
    box-shadow: 0 20px 30px rgba(13,59,140,.10);
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 6%; font-size: 1rem; border-top: 1px solid #eef2f9; }
  .hero-inner, .detail-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-image { order: -1; }
  .detail-image { order: -1; position: relative; top: auto; }
  .check-list.two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 46px 0 54px; }
  .hero-stage { width: 300px; }
  .hero-desc { font-size: 1rem; }
  .equipamentos, .diferenciais, .detail, .cta-final { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .dif-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .btn { padding: 14px 24px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
}
