/* ═══════════════════════════════════════════
   XCENE WEB — REDESIGN COMPLETO
   Aesthetic: Architectural Luxury
   Navy dominant + Blue accents + Light sections
   Extraído de index.html — Roadmap 6.1 (cacheable separado)
   ═══════════════════════════════════════════ */

:root {
  --navy: #161D35;
  --navy-dark: #0D1220;
  --navy-mid: #202E59;
  --blue: #1C70BB;
  --blue-light: #2B8FE0;
  --blue-accent: #47B8FF;
  --primary: #1238F1;
  /* F11.1 + F11.6: cores semânticas + icon stroke */
  --footer-bg: #0D1220;
  --led-active: #2A8FE5;
  --card-dark: #1a2744;
  --icon-color: #47B8FF;
  --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);
  --shadow-hover: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-card: 0 4px 20px rgba(22,29,53,0.08);
  --shadow-float: 0 8px 24px rgba(37,211,102,0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  /* F11.2: font-weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extra: 800;
  /* F11.3: animation timing */
  --dur-fast: 0.3s;
  --dur-normal: 0.6s;
  --dur-slow: 1s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { font-size: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

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

/* Acessibilidade — Skip link */
.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; }

/* Acessibilidade — Focus visible */
*:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: rgba(28,112,187,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(28,112,187,0.55); }

img { max-width: 100%; display: block; }

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(2.2); 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: opacity 0.4s ease, top 0.4s ease;
}
.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: fill 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-links a.nav-cta {
  background: linear-gradient(325deg, #0044ff 0%, #2ccfff 55%, #0044ff 90%);
  background-size: 200% auto;
  color: var(--white);
  padding: 8px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0px 0px 12px rgba(71,184,255,0.4), inset 2px 2px 4px rgba(175,230,255,0.4), inset -2px -2px 4px rgba(19,95,216,0.3);
  transition: background-position 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  background-position: top right;
  transform: scale(1.05);
  box-shadow: 0px 0px 20px rgba(71,184,255,0.6), inset 2px 2px 4px rgba(175,230,255,0.4), inset -2px -2px 4px rgba(19,95,216,0.3);
}

.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: width 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: 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: linear-gradient(325deg, #0044ff 0%, #2ccfff 55%, #0044ff 90%); border: none;
  background-size: 200% auto;
  color: var(--white); padding: 5px 14px;
  border-radius: 100px; font-size: 11px; font-weight: 600;
  cursor: pointer; font-family: 'Rubik', sans-serif; text-decoration: none;
  display: inline-block;
  box-shadow: 0px 0px 12px rgba(71,184,255,0.4), inset 2px 2px 4px rgba(175,230,255,0.4), inset -2px -2px 4px rgba(19,95,216,0.3);
  transition: background-position 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-btn-painel:hover { background-position: top right; transform: translateY(-1px); box-shadow: 0px 0px 20px rgba(71,184,255,0.6), inset 2px 2px 4px rgba(175,230,255,0.4), inset -2px -2px 4px rgba(19,95,216,0.3); }
@media (max-width: 768px) {
  .nav-user-status { margin-left: 0; gap: 8px; }
  .nav-user-name { display: none; }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
  background:
    linear-gradient(135deg, rgba(22,29,53,0.97) 0%, rgba(28,112,187,0.15) 50%, rgba(22,29,53,0.92) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(28,112,187,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(18,56,241,0.1) 0%, transparent 50%);
  z-index: 1;
}

/* Grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: 2;
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
}

/* Geometric accent lines */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-lines::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(28,112,187,0.08);
  border-radius: 50%;
}
.hero-lines::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(28,112,187,0.06);
  border-radius: 50%;
}

.hero-logo-anim {
  margin-bottom: 28px;
}
.hero-logo-anim img {
  display: block;
  border-radius: 16px;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 720px;
  padding: 140px 40px 0;
  animation: fadeUp 1s ease-out;
}

.hero-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(28,112,187,0.12);
  border: 1px solid rgba(28,112,187,0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 1.5px;
  white-space: nowrap;
  position: absolute;
  z-index: 10;
  left: 0; right: 0;
  margin: 0 auto;
  width: calc(100% - 48px);
  max-width: 1200px;
  box-sizing: border-box;
  top: 0;
  opacity: 0;
}
.hero-tag.ticker-active {
  overflow: hidden;
}
.hero-tag .tag-label {
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hero-tag .tag-dot {
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.hero-tag .tag-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-light);
  animation: pulse-ring 2s ease-out infinite;
}
.ticker-el {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-transform: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 1s ease-out 0.3s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 44px;
  max-width: 540px;
  animation: fadeUp 1s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.5s both;
}

.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: transform var(--transition), box-shadow var(--transition), background-position 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);
}
.btn-wa {
  background: linear-gradient(135deg, #1DA851 0%, #25D366 60%, #1DA851 100%);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: background-position 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-wa:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Hero product showcase on right */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  /* Centro visual = centro matemático + metade do padding-top do .hero-content (140/2=70)
     para alinhar com o texto à esquerda que tem padding-top:140 por causa da navbar. */
  margin-top: -170px; /* -240 (metade altura 480) + 70 (compensar padding do content) */
  z-index: 5;
  width: 420px;
  height: 480px;
  animation: slideLeft 1.2s ease-out 0.6s both;
}
.hero-product-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(28,112,187,0.08) 0%, rgba(22,29,53,0.4) 100%);
  border: 1px solid rgba(28,112,187,0.12);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}
.hero-product-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28,112,187,0.4), transparent);
}
.hero-keypad-img {
  width: 500px;
  position: relative;
  margin-bottom: 24px;
  animation: float 6s ease-in-out infinite;
  user-select: none;
}
.hero-keypad-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  pointer-events: none;
}
/* Keypad interativo — overlay sobre imagem real */
.keypad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.keypad-hit {
  position: absolute;
  left: 37.5%;
  width: 38%;
  height: 6.1%;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.keypad-hit:hover {
  background: rgba(28,112,187,0.1);
}
.keypad-hit:active {
  background: rgba(28,112,187,0.18);
}
.keypad-led {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8ccd2;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.keypad-led.active {
  background: var(--led-active);
  box-shadow: 0 0 8px rgba(42,143,229,0.8), 0 0 3px rgba(42,143,229,1);
}
.hero-product-label {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease-out 1.5s both;
}
.hero-scroll span {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(28,112,187,0.5), transparent);
  animation: float 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════ */
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;
}

/* ═══════════════════════════════════════════
   PILLARS — "POR QUE XCENE"
   ═══════════════════════════════════════════ */
.pillars { content-visibility: auto; contain-intrinsic-size: auto 600px;
  background: var(--white);
  color: var(--dark);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.pillar-card:hover {
  border-color: rgba(28,112,187,0.1);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.pillar-card:hover .pillar-icon {
  background: var(--blue);
}
.pillar-card:hover .pillar-icon svg { stroke: var(--white); }

.pillar-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  stroke-width: 1.8;
  fill: none;
  transition: stroke var(--transition);
}

.pillar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.pillar-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}

/* ═══════════════════════════════════════════
   USE CASES — "TRANSFORME CADA AMBIENTE"
   ═══════════════════════════════════════════ */
.use-cases { content-visibility: auto; contain-intrinsic-size: auto 800px;
  background: var(--off-white);
  color: var(--dark);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.uc-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  cursor: pointer;

}
.uc-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.uc-card:hover .uc-card-bg { transform: scale(1.08); }

.uc-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22,29,53,0.18) 0%, rgba(22,29,53,0.55) 45%, rgba(22,29,53,0.92) 100%);
  transition: background 0.4s ease;
}
.uc-card:hover .uc-card-overlay {
  background: linear-gradient(180deg, rgba(22,29,53,0.22) 0%, rgba(22,29,53,0.6) 45%, rgba(22,29,53,0.95) 100%);
}

.uc-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

.uc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.uc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--icon-color);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.uc-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.uc-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin 0.4s ease;
}
.uc-card:hover p {
  max-height: 60px;
  margin-top: 6px;
}

/* ── Persiana animada ── */
.uc-shade {
  position: absolute;
  will-change: clip-path;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, #152036 0%, #1a2d4a 100%);
  transform-origin: top center;
  animation: shadeUp 7s ease-in-out infinite;
}
.uc-shade-bar {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(180deg, #3a506b, #263b55);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
@keyframes shadeUp {
  0%, 6%   { clip-path: inset(0 0 0 0); }
  30%, 70% { clip-path: inset(0 0 78% 0); }
  94%, 100%{ clip-path: inset(0 0 0 0); }
}

/* ── Dimmer animado (área externa) ── */
.uc-dimmer {
  position: absolute;
  will-change: background;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0);
  animation: dimLights 8s ease-in-out infinite;
}
@keyframes dimLights {
  0%, 8%   { background: rgba(0,0,0,0); }
  35%, 55% { background: rgba(0,0,0,0.65); }
  85%, 100%{ background: rgba(0,0,0,0); }
}

/* ═══════════════════════════════════════════
   PRODUCTS — CATEGORIAS
   ═══════════════════════════════════════════ */
.products { content-visibility: auto; contain-intrinsic-size: auto 900px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.products::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28,112,187,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.products .section-title { color: var(--white); }
.products .section-desc { color: rgba(255,255,255,0.5); }
.products .section-label { color: var(--blue-light); }
.products .section-label::before { background: var(--blue-light); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prod-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: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.prod-card:hover {
  border-color: rgba(28,112,187,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.prod-card-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.prod-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(22,29,53,0.6));
}

/* Simulated product visuals */
.prod-visual {
  width: 120px;
  height: 160px;
  border-radius: 12px;
  position: relative;
  transition: transform 0.4s ease;
}
.prod-card:hover .prod-visual { transform: scale(1.05); }

.prod-visual.centrais {
  background: linear-gradient(160deg, #1a3355, #0d1f3a);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border-radius: 8px;
  width: 140px;
  height: 100px;
}
.prod-visual.modulos {
  background: linear-gradient(160deg, #1f4060, #152d45);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  width: 130px;
  height: 90px;
  border-radius: 6px;
}
.prod-card.pulsador-card .prod-card-img,
.prod-card.keypad-card .prod-card-img {
  padding: 0;
  overflow: visible;
}
.prod-card.pulsador-card .prod-card-img::after,
.prod-card.keypad-card .prod-card-img::after {
  display: none;
}
.prod-visual.keypads {
  background: transparent;
  box-shadow: none;
  width: 100%;
  height: 240px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-visual.keypads .keypad-card-img {
  height: 220px;
  max-width: none;
  width: auto;
  object-fit: contain;
}
.prod-visual.pulsadores {
  background: transparent;
  box-shadow: none;
  width: 100%;
  height: 240px;
  border-radius: 0;
  overflow: hidden;
}
.pulsador-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.prod-visual.pulsadores .pulsador-carousel img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 220px;
  max-width: none;
  width: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.prod-visual.pulsadores .pulsador-carousel img.active {
  opacity: 1;
}

.prod-visual-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 8px;
}
.prod-visual.keypads .prod-visual-dots { grid-template-columns: repeat(2, 1fr); }
.prod-visual.centrais .prod-visual-dots { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.prod-visual.modulos .prod-visual-dots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.prod-visual.pulsadores .prod-visual-dots { grid-template-columns: 1fr; gap: 6px; }

.pv-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(28,112,187,0.3);
  border: 1px solid rgba(28,112,187,0.4);
}
.prod-visual.pulsadores .pv-dot { width: 18px; height: 18px; border-radius: 50%; }
.prod-visual.centrais .pv-dot { width: 10px; height: 10px; border-radius: 2px; }
.prod-visual.modulos .pv-dot { width: 12px; height: 12px; border-radius: 3px; }

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

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

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

.prod-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  transition: gap var(--transition);
}
.prod-card:hover .prod-card-link { gap: 14px; }
.prod-card-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 2;
}

/* ═══════════════════════════════════════════
   CONFIGURATOR HIGHLIGHT
   ═══════════════════════════════════════════ */
.configurator {
  background: var(--white);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}

.config-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.config-visual {
  position: relative;
  height: 480px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--navy) 0%, #1a2d55 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.config-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(28,112,187,0.15) 0%, transparent 50%);
}

.config-carousel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  height: 360px;
}
.config-carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.config-carousel-img.active {
  opacity: 1;
}
.config-carousel-dots {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.config-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}
.config-carousel-dot.active {
  background: var(--blue-light);
  transform: scale(1.3);
}

.config-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(28,112,187,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(28,112,187,0.25);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 3;
}

.config-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.config-text h2 em {
  font-style: normal;
  color: var(--blue);
}

.config-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 16px;
}

.config-features {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.config-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--dark);
}
.config-features li::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17L4 12' stroke='%231C70BB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  background: var(--off-white);
  color: var(--dark);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.04);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
}

.about-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  padding: 40px 24px;
}
.about-visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.about-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 4px;
}
.about-brand span { color: var(--blue-light); }
.about-brands {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.brand-logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  background: rgba(255,255,255,0.03);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-logo-item img {
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(1) brightness(2);
  opacity: 0.5;
}
.brand-logo-item:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); }
.brand-logo-item:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.about-brands span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

/* ═══════════════════════════════════════════
   CONTACT CTA
   ═══════════════════════════════════════════ */
.contact-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d55 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28,112,187,0.08) 0%, transparent 70%);
}

.contact-cta .section-title { color: var(--white); }
.contact-cta .section-desc {
  color: rgba(255,255,255,0.55);
  margin: 0 auto 40px;
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

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

.cc-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 16px;
  color: var(--icon-color);
}
.cc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--icon-color);
  stroke-width: 1.6;
  fill: none;
}

.cc-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.cc-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 20px;
}
.cc-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-light);
}

/* ═══════════════════════════════════════════
   INSTAGRAM FEED
   ═══════════════════════════════════════════ */
.ig-section { content-visibility: auto; contain-intrinsic-size: auto 600px; background: #f8fafc; padding: 80px 0 60px; overflow: hidden; }
.ig-header { text-align: center; margin-bottom: 12px; }
.ig-header span {
  display: block;
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #64748b;
  margin-bottom: 8px;
}
.ig-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  background: linear-gradient(to right, #0f172a, #1e293b, #0f172a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 4px;
  line-height: 1.1;
}
.ig-header h2 em {
  font-style: normal;
  -webkit-text-fill-color: #E1306C;
}
.ig-header p { color: #64748b; font-size: 15px; margin: 0; }
.ig-header a { color: #E1306C; text-decoration: none; font-weight: 600; }
.ig-header a:hover { text-decoration: underline; }
.ig-grid {
  position: relative;
  height: 380px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ig-grid-inner {
  position: relative;
  width: 220px;
  height: 220px;
}
.ig-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background: #e2e8f0;
  cursor: grab;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  opacity: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.ig-card.ig-visible {
  opacity: 1;
}
.ig-card:hover {
  transform: var(--ig-tx) scale(1.08);
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
  z-index: 999;
}
.ig-card:active { cursor: grabbing; }
.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 24px;
}
.ig-card .ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 16px;
  border-radius: 24px;
}
.ig-card:hover .ig-overlay { opacity: 1; }
.ig-overlay p {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.ig-card .ig-video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 8px;
  z-index: 2;
}
.ig-loading { text-align: center; padding: 60px 20px; color: #94a3b8; font-size: 14px; }
@media (max-width: 768px) {
  .ig-grid { height: 300px; }
  .ig-card { width: 150px; height: 150px; }
  .ig-grid-inner { width: 150px; height: 150px; }
}
.ig-cta { text-align: center; margin-top: 32px; perspective: 800px; }
.ig-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #2a2a2a 0%, #6a6a6a 20%, #b0b0b0 35%, #e8e8e8 50%, #b0b0b0 65%, #6a6a6a 80%, #2a2a2a 100%);
  background-size: 300% 300%;
  animation: liquidMetal 4s ease infinite;
  color: #E1306C;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.3),
    0 36px 14px rgba(0,0,0,0.02),
    0 20px 12px rgba(0,0,0,0.08),
    0 9px 9px rgba(0,0,0,0.12),
    0 2px 5px rgba(0,0,0,0.15),
    inset 0 1px 1px rgba(255,255,255,0.25);
  transition: transform 0.8s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.15s ease;
  transform-style: preserve-3d;
  overflow: hidden;
}
.ig-cta a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
.ig-cta a::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.ig-cta a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 12px 6px rgba(0,0,0,0.05),
    0 8px 5px rgba(0,0,0,0.1),
    0 4px 4px rgba(0,0,0,0.15),
    0 1px 2px rgba(0,0,0,0.2),
    inset 0 1px 1px rgba(255,255,255,0.3);
  animation-duration: 2s;
}
.ig-cta a:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 1px 2px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(0,0,0,0.4);
}
@keyframes liquidMetal {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ═══════════════════════════════════════════
   REVENDAS VIDEOS
   ═══════════════════════════════════════════ */
.rv-section { content-visibility: auto; contain-intrinsic-size: auto 600px; background: var(--navy); padding: 80px 0 60px; overflow: hidden; }
.rv-header { text-align: center; margin-bottom: 40px; }
.rv-header span {
  display: block; font-size: 12px; font-weight: 300; text-transform: uppercase;
  letter-spacing: 3px; color: var(--blue-light); margin-bottom: 8px;
}
.rv-header h2 {
  font-family: 'Outfit', sans-serif; font-size: clamp(28px, 5vw, 44px);
  font-weight: 700; color: var(--white); margin: 0 0 8px; line-height: 1.15;
}
.rv-header p { color: rgba(255,255,255,0.5); font-size: 14px; margin: 0; }
.rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.rv-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9/16;
  max-height: 420px;
  background: var(--card-dark);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.rv-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-card .rv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.rv-card:hover .rv-play { background: rgba(28,112,187,0.8); }
.rv-card .rv-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 32px 14px 14px;
  color: #fff; font-size: 12px; line-height: 1.4;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.rv-loading { text-align: center; padding: 60px 20px; color: rgba(255,255,255,0.4); font-size: 14px; }
@media (max-width: 640px) {
  .rv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
  .rv-card { max-height: 320px; }
}

/* ═══════════════════════════════════════════
   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);
}
.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 svg {
  stroke: var(--icon-color);
}
.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;
  color: var(--icon-color);
  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; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .config-wrap { grid-template-columns: 1fr; }
  .config-visual { height: 360px; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-visual { padding: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}


/* Austhen logo hover (sem inline handlers) */
.austhen-logo-img {
  height: 300px; width: auto;
  filter: grayscale(1) brightness(2); opacity: 0.5;
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.austhen-logo-img:hover { filter: grayscale(0) brightness(1); opacity: 1; }

@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);
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 1000;
  }
  .nav-links.open a { font-size: 17px; color: var(--white); letter-spacing: 0; }

  .hero { min-height: 600px; }
  .hero-content { padding: 0 20px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .use-cases-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .btn { padding: 14px 24px; font-size: 14px; }
  section { padding: 60px 0; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ═══════════════════════════════════════════
   F11.7-11.10 — Mobile refinements
   ═══════════════════════════════════════════ */

/* F11.8: Hero mobile visual — versão compacta estática entre 520-1024px
   (evita a tela branca anterior causada por display:none em tablets) */
@media (max-width: 1024px) and (min-width: 520px) {
  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    margin: 32px auto 0;
    flex-shrink: 0;
  }
  .hero-keypad-img img {
    width: 180px;
    height: auto;
  }
  .hero-keypad-img .keypad-hit { display: none; }
  .hero-product-card { padding: 12px; }
}

/* F11.9: Grid 2-col em tablets pequenos (640-768px) */
@media (min-width: 640px) and (max-width: 768px) {
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* F11.7: Ajustes finos no breakpoint 640px */
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .section-tag { font-size: 11px; }
  .section-title { font-size: 26px; }
  .products-grid { gap: 16px; }
}

/* F11.10: Footer 480px — links empilhados com melhor tap target */
@media (max-width: 480px) {
  .footer-links { font-size: 13px; }
  .footer-links li { margin-bottom: 10px; }
  .footer-links a {
    display: inline-block;
    padding: 4px 0;
    min-height: 28px;
  }
  .footer-legal {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .footer-brand-logo { max-width: 120px; }
  .footer-contact-item {
    align-items: flex-start;
    gap: 10px;
  }
}

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