/* =============================================
   UPSMART TELEMETRY — style.css v2
   Fontes: Playfair Display (serifa) + DM Sans (moderna fina)
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #001533;
  --blue:   #00379E;
  --bright: #1C7BFF;
  --light:  #E8ECF2;
  --gray:   #64748b;
  --white:  #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --r: 10px;
  --shadow: 0 8px 40px rgba(0,21,51,0.14);
  --shadow-lg: 0 24px 64px rgba(0,21,51,0.22);
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 400;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em; }
em { font-style: italic; color: var(--bright); }
p  { font-size: 1rem; color: var(--gray); line-height: 1.72; font-weight: 300; }
p.light-muted { color: rgba(255,255,255,0.65); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bright);
  margin-bottom: 14px;
  padding: 3px 0;
  border-bottom: 2px solid var(--bright);
}
.eyebrow.light { color: rgba(28,123,255,0.85); border-bottom-color: rgba(28,123,255,0.5); }

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header p { max-width: 600px; margin: 12px auto 0; font-size: 1.02rem; }
.light { color: var(--white) !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bright); color: var(--white);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem;
  padding: 13px 28px; border-radius: 6px; border: 2px solid var(--bright);
  cursor: pointer; transition: all 0.28s var(--ease); white-space: nowrap;
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28,123,255,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem;
  padding: 13px 28px; border-radius: 6px; border: 2px solid var(--blue);
  cursor: pointer; transition: all 0.28s var(--ease);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--blue);
  font-family: var(--font-sans); font-weight: 700; font-size: 0.9rem;
  padding: 13px 28px; border-radius: 6px; border: 2px solid var(--white);
  cursor: pointer; transition: all 0.28s var(--ease);
}
.btn-white:hover { background: transparent; color: var(--white); }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
#navbar.scrolled {
  background: rgba(0,21,51,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.28);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 16px 28px; gap: 20px;
}
.nav-logo img { height: 46px; width: auto; }
.logo-dark { display: block; }
.logo-light { display: none; }
#navbar.scrolled .logo-dark { display: block; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.87rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s; letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switcher {
  display: flex; overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: transparent; border: none;
  color: rgba(255,255,255,0.65); font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 6px 11px; cursor: pointer; transition: all 0.22s;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active { background: var(--bright); color: var(--white); }
.flag-img { width: 16px; height: auto; border-radius: 2px; display: block; }

.nav-cta {
  background: var(--bright); color: var(--white);
  font-weight: 600; font-size: 0.83rem;
  padding: 9px 18px; border-radius: 6px;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.25s; }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--navy); padding: 12px 28px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a { color: rgba(255,255,255,0.8); font-weight: 500; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.95rem; }
.mobile-lang { display: flex; gap: 8px; margin-top: 16px; }
.mobile-menu.open { display: flex; }

/* ── HERO SLIDER ── */
/* ── HERO SLIDER — DESKTOP ── */
.hero-slider {
  position: relative;
  height: 78vh; min-height: 500px; max-height: 780px;
  overflow: hidden;
  max-width: 100%;
  touch-action: pan-y pinch-zoom;
}
.slide {
  position: absolute; inset: 0;
  width: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  display: flex; flex-direction: column; justify-content: center;
  will-change: opacity;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,21,51,0.88) 0%, rgba(0,55,158,0.72) 60%, rgba(0,21,51,0.6) 100%);
}
.slide-overlay-light {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,21,51,0.22) 0%, rgba(0,21,51,0.08) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  padding-top: 72px;
}
.slide-eyebrow {
  display: inline-block;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(28,123,255,0.9);
  border-bottom: 1px solid rgba(28,123,255,0.4);
  padding-bottom: 4px; margin-bottom: 20px;
}
.slide-content h1 { color: var(--white); max-width: 680px; margin-bottom: 32px; }
.slide-content h1 em { font-style: italic; color: #7ABAFF; }

.slider-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: var(--bright); transform: scale(1.3); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(0,21,51,0.35); color: var(--white);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.6rem; line-height: 1;
  cursor: pointer; transition: background 0.25s, transform 0.25s;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(28,123,255,0.55); transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Stats bar — sempre no fluxo normal, abaixo do slider */
.hero-stats {
  position: relative;
  display: flex;
  background: rgba(0,21,51,0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 10;
}
.stat-item { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 18px 12px; gap: 3px; }
.stat-num { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; color: var(--bright); line-height: 1; }
.stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.55); font-weight: 400; text-align: center; line-height: 1.3; }
.stat-div { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

/* ── BG TEXTURE ── */
.bg-texture {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.07; pointer-events: none;
}
.bg-texture.dark { opacity: 0.12; }

/* ── SOBRE ── */
.section-sobre {
  padding: 110px 0; background: var(--white); position: relative; overflow: hidden;
}
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sobre-text h2 { color: var(--navy); margin-bottom: 20px; }
.sobre-text p { margin-bottom: 14px; }
.sobre-text .btn-outline { margin-top: 10px; }

.fachada-card { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.fachada-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s var(--ease); }
.fachada-card:hover img { transform: scale(1.05); }
.fachada-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,21,51,0.95) 0%, transparent 100%);
  padding: 32px 20px 16px;
}
.fachada-badge span { color: rgba(255,255,255,0.85); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em; }

/* ── PARALLAX BAND ── */
.parallax-band {
  height: 200px; background-size: cover; background-position: center;
  background-attachment: fixed; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,21,51,0.88), rgba(0,55,158,0.82));
}
.parallax-text { position: relative; z-index: 2; text-align: center; padding: 0 28px; }
.parallax-text h3 { color: var(--white); font-size: clamp(1.2rem, 2.8vw, 2rem); font-weight: 400; }
.parallax-text h3 em { font-style: italic; color: #7ABAFF; }

/* ── PILARES ── */
.section-pilares { padding: 110px 0; background: var(--navy); }
.section-pilares .section-header h2 { color: var(--white); }
.section-pilares .section-header p { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 8px; }

.pilares-layout { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }

.pilares-icon-col { display: flex; justify-content: center; padding-top: 20px; }
.pilares-icon-wrap {
  width: 312px; height: 312px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease);
}
.pilares-icon-wrap.pulse { animation: iconPulse 0.5s var(--ease); }
.pilares-icon-wrap img {
  width: 100%; filter: drop-shadow(0 8px 32px rgba(28,123,255,0.5));
}

.pilares-cards { display: flex; flex-direction: column; gap: 16px; }

.pilar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r); overflow: hidden;
  cursor: pointer; transition: border-color 0.3s, background 0.3s;
}
.pilar-card:hover, .pilar-card.open {
  border-color: rgba(28,123,255,0.5);
  background: rgba(28,123,255,0.06);
}
.pilar-header {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
}
.pilar-num { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; color: var(--bright); letter-spacing: 0.12em; flex-shrink: 0; }
.pilar-header h3 { color: var(--white); flex: 1; font-size: 1.15rem; margin: 0; }
.pilar-toggle {
  font-size: 1.4rem; color: var(--bright); font-weight: 300;
  transition: transform 0.35s var(--ease); flex-shrink: 0; line-height: 1;
}
.pilar-card.open .pilar-toggle { transform: rotate(45deg); }

.pilar-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s;
  padding: 0 24px;
}
.pilar-body p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.pilar-card.open .pilar-body { max-height: 200px; padding: 0 24px 22px; }

/* ── OPERAÇÕES ── */
.section-operacoes { padding: 110px 0; background: var(--navy); position: relative; overflow: hidden; }
.op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.op-text h2 { color: var(--white); margin-bottom: 16px; }
.op-text p { margin-bottom: 28px; }

.op-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.op-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,0.75); font-size: 0.92rem; font-weight: 300;
  padding: 11px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  border-left: 2px solid rgba(28,123,255,0.35);
  transition: border-color 0.25s, background 0.25s;
}
.op-list li::before { content: '›'; color: var(--bright); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; line-height: 1.3; }
.op-list li:hover { border-left-color: var(--bright); background: rgba(28,123,255,0.06); }

.device-card { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.device-card img { width: 100%; height: 280px; object-fit: cover; }
.device-card.device-card-portrait img { height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center; }
.device-caption { background: rgba(255,255,255,0.05); padding: 18px 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.device-caption p { font-size: 0.84rem; color: rgba(255,255,255,0.55); }

/* ── TECNOLOGIA ── */
.section-tecnologia { padding: 110px 0; background: var(--white); }
.section-tecnologia h2 { color: var(--navy); }
.section-tecnologia .section-header p { color: var(--gray); }

.dashboard-frame {
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--light);
  margin-bottom: 56px;
}
.db-bar {
  background: #1a2638; padding: 10px 16px;
  display: flex; align-items: center; gap: 7px;
}
.db-dot { width: 10px; height: 10px; border-radius: 50%; }
.db-dot.r { background: #FF5F57; }
.db-dot.y { background: #FFBD2E; }
.db-dot.g { background: #28C840; }
.db-url { font-family: monospace; font-size: 0.76rem; color: rgba(255,255,255,0.38); margin-left: 10px; }
.db-img { width: 100%; height: 340px; object-fit: cover; display: block; }

.tec-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tec-card {
  background: var(--light); border-radius: var(--r); padding: 28px 22px;
  border-top: 3px solid var(--bright); transition: all 0.3s var(--ease);
}
.tec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); }
.tec-icon-wrap { font-size: 1.5rem; color: var(--bright); margin-bottom: 14px; }
.tec-card h4 { color: var(--navy); margin-bottom: 14px; line-height: 1.3; }
.tec-card ul { display: flex; flex-direction: column; gap: 7px; }
.tec-card li { font-size: 0.81rem; color: var(--gray); padding-left: 12px; position: relative; line-height: 1.45; font-weight: 300; }
.tec-card li::before { content: '›'; position: absolute; left: 0; color: var(--bright); font-weight: 700; }

/* ── NÚMEROS ── */
.section-numeros {
  padding: 110px 0;
  background-size: cover; background-position: center; background-attachment: fixed;
  position: relative;
}
.numeros-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,21,51,0.93), rgba(0,55,158,0.88)); }
.section-numeros h2 { color: var(--white); }

.numeros-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.numero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 34px 20px; text-align: center;
  transition: all 0.3s var(--ease); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.numero-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); border-color: rgba(28,123,255,0.4); }
.n-val { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--bright); line-height: 1; }
.n-val-sm { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--bright); line-height: 1; }
.n-label { font-size: 0.84rem; color: rgba(255,255,255,0.65); font-weight: 300; line-height: 1.4; }
.numeros-cta { text-align: center; }

/* ── ACCORDION ── */
.section-accordion { padding: 110px 0; background: var(--light); }
.section-accordion h2 { color: var(--navy); }

.accordion-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.accordion-item { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 12px rgba(0,21,51,0.06); }
.accordion-btn {
  width: 100%; display: flex; align-items: center; gap: 16px;
  background: none; border: none; padding: 24px 28px; cursor: pointer;
  text-align: left; transition: background 0.25s;
}
.accordion-btn:hover { background: rgba(28,123,255,0.04); }
.accordion-btn[aria-expanded="true"] { background: rgba(28,123,255,0.04); }

.acc-bubble {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--bright); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.acc-question { flex: 1; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.acc-icon {
  font-size: 1.5rem; color: var(--bright); font-weight: 300; line-height: 1;
  transition: transform 0.35s var(--ease); flex-shrink: 0;
}
.accordion-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s;
  padding: 0 28px;
}
.accordion-body.open { max-height: 300px; padding: 0 28px 24px; }
.accordion-body p { font-size: 0.93rem; color: var(--gray); margin-bottom: 16px; font-weight: 300; }
.acc-link { color: var(--bright); font-weight: 600; font-size: 0.87rem; transition: color 0.2s; }
.acc-link:hover { color: var(--blue); }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--bright)); padding: 52px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { font-family: var(--font-serif); font-size: clamp(1.1rem, 2.2vw, 1.55rem); color: var(--white); font-weight: 400; font-style: italic; }

/* ── CONTATO ── */
.section-contato { padding: 110px 0; background: var(--white); }
.contato-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contato-info h2 { color: var(--navy); margin-bottom: 14px; }
.contato-info > p { margin-bottom: 36px; }

.contato-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.contato-item { display: flex; align-items: flex-start; gap: 12px; }
.c-icon { font-size: 1rem; flex-shrink: 0; margin-top: 3px; }
.contato-item a, .contato-item span { font-size: 0.9rem; color: var(--gray); font-weight: 300; line-height: 1.55; transition: color 0.2s; }
.contato-item a:hover { color: var(--bright); }

.social-row { display: flex; gap: 10px; margin-bottom: 32px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.social-btn:hover { background: var(--bright); color: var(--white); transform: translateY(-2px); }

.form-cta-block {
  border-top: 1px solid var(--light); padding-top: 28px; margin-top: 4px;
}
.form-cta-block p { font-size: 0.95rem; font-weight: 400; color: var(--navy); margin-bottom: 16px; }

.map-wrap { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { display: block; }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { height: 44px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.84rem; margin-bottom: 20px; font-weight: 300; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links h5, .footer-contato h5 {
  color: var(--white); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 10px; font-family: var(--font-sans); font-weight: 700;
}
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.85rem; font-weight: 300; transition: color 0.2s; }
.footer-links a:hover { color: var(--bright); }
.footer-contato p { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-bottom: 7px; line-height: 1.5; font-weight: 300; }
.footer-contato a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-contato a:hover { color: var(--bright); }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.22); font-size: 0.76rem; font-weight: 300; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25D366; color: var(--white);
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 0.28s var(--ease);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.wa-tip {
  position: absolute; right: 64px;
  background: var(--navy); color: var(--white);
  font-size: 0.76rem; font-weight: 500; padding: 6px 12px; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.wa-tip::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--navy); border-right: none;
}
.wa-float:hover .wa-tip { opacity: 1; }

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal-up    { opacity: 0; transform: translateY(36px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-left  { opacity: 0; transform: translateX(-44px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(44px);  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translate(0, 0); }

/* ── KEYFRAMES ── */
@keyframes iconPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tec-cards { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { gap: 48px; }
  .pilares-layout { grid-template-columns: 1fr; }
  .pilares-icon-col { display: none; }
}

/* ── MOBILE: slider, layout, typography ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Slider: altura fixa baseada na tela, imagens 1:1 não estouram */
  .hero-slider {
    height: 520px;
    min-height: 0;
    max-height: none;
  }

  /* Slides: position absolute permanece, background-attachment reset */
  .slide { background-attachment: scroll; }

  /* Conteúdo do slide: alinhado na parte de baixo */
  .slide-content {
    position: absolute;
    bottom: 28px;
    top: auto;
    left: 0; right: 0;
    padding: 0 24px;
    padding-top: 0;
    margin: 0;
    max-width: none;
  }
  .slide-content h1 { font-size: 1.75rem; margin-bottom: 14px; line-height: 1.15; }
  .slide-content .btn-primary { width: auto; padding: 11px 22px; font-size: 0.86rem; }
  .slide-eyebrow { margin-bottom: 10px; }

  /* Setas: fora no mobile, swipe via JS */
  .slider-arrow { display: none; }

  /* Dots mobile: dentro do slider */
  .slider-dots { bottom: 12px; }

  /* Stats mobile: 2 colunas */
  .hero-stats { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; }
  .stat-div { display: none; }

  .parallax-band { background-attachment: scroll; }
  .section-numeros { background-attachment: scroll; }

  .sobre-grid,
  .op-grid,
  .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .tec-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band p { text-align: center; }

  .section-sobre, .section-pilares, .section-operacoes,
  .section-tecnologia, .section-numeros, .section-accordion,
  .section-contato { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-slider { height: 460px; }
  .slide-content h1 { font-size: 1.5rem; }
  .numeros-grid { grid-template-columns: 1fr; }
}

/* ── SLIDE BACKGROUNDS — CSS RESPONSIVO (garantia sem JS) ── */
@media (max-width: 768px) {
  .hero-slider .slide:nth-child(1) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_m_01.jpg') !important;
  }
  .hero-slider .slide:nth-child(2) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_m_02.jpg') !important;
  }
  .hero-slider .slide:nth-child(3) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_m_03.jpg') !important;
  }
  .hero-slider .slide:nth-child(4) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_m_04.jpg') !important;
  }
}

@media (min-width: 769px) {
  .hero-slider .slide:nth-child(1) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_d_01.jpg');
  }
  .hero-slider .slide:nth-child(2) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_d_02.jpg');
  }
  .hero-slider .slide:nth-child(3) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_d_03.jpg');
  }
  .hero-slider .slide:nth-child(4) {
    background-image: url('https://edilsonpilati.com/upsmart/img/banner_upsmart_d_04.jpg');
  }
}
