/* Product Pages — CSS compartilhado (keypads, modulos, pulsadores, centrais)
   Extraído automaticamente em 2026-04-13 (Fase H.2 Roadmap v3) */

/* ═══════════════════════════════════════════
   XCENE WEB — REDESIGN COMPLETO
   Aesthetic: Architectural Luxury
   Navy dominant + Blue accents + Light sections
   ═══════════════════════════════════════════ */

:root {
  --navy: #161D35;
  --footer-bg: #0D1220;
  --navy-mid: #202E59;
  --blue: #1C70BB;
  --blue-light: #2B8FE0;
  --primary: #1238F1;
  --dark: #1E272F;
  --gray: #8A919A;
  --gray-light: #B0B7BF;
  --light: #F4F6F9;
  --off-white: #FAFBFD;
  --white: #FFFFFF;
  --accent-bg: #E8F0FA;
  --glass: rgba(22, 29, 53, 0.85);
  --shadow-sm: 0 2px 8px rgba(22,29,53,0.06);
  --shadow-md: 0 8px 32px rgba(22,29,53,0.10);
  --shadow-lg: 0 16px 48px rgba(22,29,53,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Rubik', sans-serif;
  color: var(--white);
  background: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  10% { transform: translate(-5%,-10%); }
  30% { transform: translate(3%,5%); }
  50% { transform: translate(-8%,2%); }
  70% { transform: translate(9%,-5%); }
  90% { transform: translate(-3%,8%); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   NAVBAR — Glass Floating Pill
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1200px;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  transition: color 0.4s var(--transition), background-color 0.4s var(--transition), border-color 0.4s var(--transition), box-shadow 0.4s var(--transition), transform 0.4s var(--transition), opacity 0.4s var(--transition);
}
.navbar.scrolled {
  top: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.1);
}

.nav-logo svg {
  height: 28px;
  width: auto;
  transition: height var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0 auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.3px;
  transition: color var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:not(.nav-cta)::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}
.nav-links a.active::before {
  background: var(--blue-light);
  box-shadow: 0 0 6px var(--blue-light), 0 0 12px rgba(43,143,224,0.4);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue-light);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 8px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.3s var(--transition), background-color 0.3s var(--transition), border-color 0.3s var(--transition), box-shadow 0.3s var(--transition), transform 0.3s var(--transition), opacity 0.3s var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--blue-light);
  transform: scale(1.05);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: color 0.3s var(--transition), background-color 0.3s var(--transition), border-color 0.3s var(--transition), box-shadow 0.3s var(--transition), transform 0.3s var(--transition), opacity 0.3s var(--transition);
}

.nav-user-status {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.nav-user-status.active { display: flex; }
.nav-user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  overflow: hidden;
}
.nav-user-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.nav-user-name {
  font-size: 12px; color: rgba(255,255,255,0.8);
  font-weight: 500; max-width: 120px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-btn-sair {
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8); padding: 5px 14px;
  border-radius: 100px; font-size: 11px; font-weight: 500;
  cursor: pointer; transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  font-family: 'Rubik', sans-serif;
}
.nav-btn-sair:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: var(--white); }
.nav-btn-painel {
  background: var(--blue); border: none;
  color: var(--white); padding: 5px 14px;
  border-radius: 100px; font-size: 11px; font-weight: 600;
  cursor: pointer; transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  font-family: 'Rubik', sans-serif; text-decoration: none;
  display: inline-block;
}
.nav-btn-painel:hover { background: var(--blue-light); }

/* ── SECTION SHARED ── */
section { padding: 100px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.section-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
}
.btn-primary {
  background: linear-gradient(325deg, #0044ff 0%, #2ccfff 55%, #0044ff 90%);
  background-size: 200% auto;
  color: var(--white);
  box-shadow: 0px 0px 20px rgba(71,184,255,0.5), 0px 5px 5px -1px rgba(58,125,233,0.25), inset 4px 4px 8px rgba(175,230,255,0.5), inset -4px -4px 8px rgba(19,95,216,0.35);
  transition: background-position 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  background-position: top right;
  transform: translateY(-2px);
  box-shadow: 0px 0px 30px rgba(71,184,255,0.7), 0px 8px 8px -2px rgba(58,125,233,0.35), inset 4px 4px 8px rgba(175,230,255,0.5), inset -4px -4px 8px rgba(19,95,216,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════════
   PRODUCT GRID — PULSADORES PAGE
   ═══════════════════════════════════════════ */
.pulsadores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pulsador-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  cursor: pointer;
}
.pulsador-card:hover {
  border-color: rgba(28,112,187,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.pulsador-card-img {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(28,112,187,0.04) 0%, rgba(22,29,53,0.2) 100%);
}
.pulsador-card-img img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.pulsador-card:hover .pulsador-card-img img {
  transform: scale(1.06);
}
.pulsador-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(22,29,53,0.4));
  pointer-events: none;
}

.pulsador-card-body {
  padding: 24px;
}

.pulsador-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.pulsador-card-body p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-bottom: 18px;
}

.pulsador-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  border: none;
  cursor: pointer;
}
.pulsador-card-btn:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(28,112,187,0.3);
}
.pulsador-card-btn svg {
  width: 16px;
  height: 16px;
}
.manual-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  transition: color 0.3s;
}
.manual-link:hover { color: var(--white); }
.manual-link svg { width: 14px; height: 14px;
  fill: currentColor;
}

/* ── FEATURES SECTION ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
}
.feature-card:hover {
  border-color: rgba(28,112,187,0.3);
  background: rgba(28,112,187,0.06);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(28,112,187,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  transition: background var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--blue);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section .section-title { color: var(--dark); }
.cta-section .section-desc {
  color: var(--gray);
  margin: 0 auto 40px;
  text-align: center;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-brand span { color: var(--blue-light); }

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
}
.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer ul a:hover { color: var(--blue-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item .fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(28,112,187,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--blue-light); }
.footer-legal { display: flex; gap: 24px; }

/* ═══════════════════════════════════════════
   WHATSAPP FLOATING
   ═══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: pulse-ring 2s ease-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pulsadores-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 32px);
    padding: 0 20px;
    height: 56px;
    top: 12px;
  }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(32px);
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 1000;
  }
  .nav-links.open a { font-size: 17px; color: var(--white); letter-spacing: 0; }

  .pulsadores-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-user-status { margin-left: 0; gap: 8px; }
  .nav-user-name { display: none; }
}

@media (max-width: 480px) {
  .btn { padding: 14px 24px; font-size: 14px; }
  section { padding: 60px 0; }
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--white); color: var(--navy);
  padding: 8px 16px; text-decoration: none;
  z-index: 10001; font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}