/* =============================================
   SANTSYSTEM SPW — Landing Page CSS
   ============================================= */

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

:root {
  --blue-main:    #0B1F8F;
  --blue-sec:     #1829C7;
  --blue-bright:  #2A3DE8;
  --red-main:     #A70D2A;
  --red-dark:     #7E0A1F;
  --red-light:    #C41535;
  --white:        #FFFFFF;
  --black:        #0B0B0B;
  --gray-100:     #F4F6FB;
  --gray-200:     #E8ECF5;
  --gray-400:     #8898AA;
  --gray-600:     #4A5568;
  --text-dark:    #0D1321;
  --text-mid:     #4A5568;
  --border:       rgba(11,31,143,0.1);
  --shadow-sm:    0 2px 8px rgba(11,31,143,0.08);
  --shadow-md:    0 8px 32px rgba(11,31,143,0.12);
  --shadow-lg:    0 20px 60px rgba(11,31,143,0.18);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --font-head:    'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  padding: 13px 26px;
  letter-spacing: 0.01em;
}
.btn--lg { padding: 16px 32px; font-size: 0.98rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--red-main);
  color: #fff;
  box-shadow: 0 4px 18px rgba(167,13,42,0.3);
}
.btn--primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(167,13,42,0.4);
}

.btn--outline {
  border-color: var(--blue-main);
  color: var(--blue-main);
  background: transparent;
}
.btn--outline:hover {
  background: var(--blue-main);
  color: #fff;
}

.btn--outline-white {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* --- SECTION TYPOGRAPHY --- */
.section__eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-main);
  margin-bottom: 12px;
}
.section__eyebrow--light { color: rgba(255,255,255,0.6); }

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
}
.section__title--light { color: #fff; }
.section__title em { font-style: normal; color: var(--red-main); }

.section__sub {
  margin-top: 14px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section__sub--light { color: rgba(255,255,255,0.7); }

.section__header { text-align: center; margin-bottom: 64px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo img { height: 40px; width: auto; }
.nav__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blue-main);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--blue-main); }

/* Portals dropdown */
.portals-dropdown {
  position: relative;
  margin-left: auto;
}

.portals-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--blue-main);
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.portals-btn:hover { background: var(--blue-sec); }

.portals-btn__dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.portals-btn__arrow {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.portals-dropdown.open .portals-btn__arrow { transform: rotate(180deg); }

.portals-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 300;
}
.portals-menu.open { display: block; }

.portal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
  color: var(--text-dark);
}
.portal-item:hover { background: var(--gray-100); }
.portal-item--internal { opacity: 0.6; }
.portal-item--internal:hover { opacity: 1; }

.portal-item__icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portal-item__icon--blue { background: rgba(11,31,143,0.1); color: var(--blue-main); }
.portal-item__icon--red  { background: rgba(167,13,42,0.1); color: var(--red-main); }
.portal-item__icon--gray { background: var(--gray-100); color: var(--gray-600); }

.portal-item div { flex: 1; }
.portal-item strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.portal-item small { font-size: 0.75rem; color: var(--gray-400); }
.portal-item__arrow { font-size: 0.75rem; color: var(--gray-400); flex-shrink: 0; }

.portals-menu__divider {
  height: 1px;
  background: var(--gray-200);
  margin: 6px 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  gap: 12px;
  background: #fff;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 4px 0;
}
.nav__mobile-divider {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-main);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #080F4A 0%, var(--blue-main) 40%, var(--blue-sec) 100%);
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(26,41,199,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(167,13,42,0.2) 0%, transparent 50%);
  pointer-events: none;
}
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 24px 60px;
  max-width: 1180px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  color: #FCA5A5;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item { text-align: left; }
.trust-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.trust-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.trust-div {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Hero mockups */
.hero__visual { position: relative; }
.hero__mockup-wrap { position: relative; }

.hero__mockup {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.hero__mockup--erp {
  width: 100%;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.hero__mockup--pdv {
  width: 55%;
  position: absolute;
  bottom: -30px;
  right: -20px;
  transform: perspective(1200px) rotateY(-4deg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.hero__visual:hover .hero__mockup--erp { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }

/* Portals quick bar */
.portals-bar {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
}
.portals-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.portals-bar__label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.portals-bar__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.portal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.18s;
  border: 1px solid transparent;
}
.portal-pill--blue {
  background: rgba(11,31,143,0.6);
  color: rgba(255,255,255,0.85);
  border-color: rgba(11,31,143,0.8);
}
.portal-pill--blue:hover { background: var(--blue-main); color: #fff; }

.portal-pill--red {
  background: rgba(167,13,42,0.5);
  color: rgba(255,255,255,0.85);
  border-color: rgba(167,13,42,0.7);
}
.portal-pill--red:hover { background: var(--red-main); color: #fff; }

.portal-pill--gray {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}
.portal-pill--gray:hover { background: rgba(255,255,255,0.15); color: #fff; }

.portal-pill--dark {
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.1);
}
.portal-pill--dark:hover { background: rgba(0,0,0,0.5); color: rgba(255,255,255,0.8); }

/* ============================================
   SISTEMA
   ============================================ */
.sistema {
  padding: 100px 0;
  background: #fff;
}

.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 100px;
}
.product-block:last-child { margin-bottom: 0; }
.product-block--right .product-block__visual { order: 1; }
.product-block--right .product-block__info { order: 2; }

.product-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.product-tag--blue { background: rgba(11,31,143,0.08); color: var(--blue-main); }
.product-tag--red  { background: rgba(167,13,42,0.08); color: var(--red-main); }

.product-block__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.product-block__desc {
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 26px;
  font-size: 0.96rem;
}

.feature-list { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-dark); }
.fl-icon { color: var(--red-main); font-weight: 800; flex-shrink: 0; }

/* Mockup shells */
.mockup-shell {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mockup-shell--dark { background: #1A1A2E; }
.mockup-shell--navy { background: #050B2E; }

.mockup-shell__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #FF5F57; }
.dot--y { background: #FFBD2E; }
.dot--g { background: #28C840; }
.mockup-shell__url {
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}
.mockup-shell img { width: 100%; display: block; }

/* ============================================
   BENEFÍCIOS
   ============================================ */
.beneficios {
  padding: 100px 0;
  background: var(--gray-100);
}
.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.beneficio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.22s;
}
.beneficio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(11,31,143,0.2); }
.beneficio-card__icon {
  width: 52px; height: 52px;
  background: rgba(11,31,143,0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-main);
  margin-bottom: 18px;
}
.beneficio-card__icon--red { background: rgba(167,13,42,0.07); color: var(--red-main); }
.beneficio-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.beneficio-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }

/* ============================================
   SEGMENTOS
   ============================================ */
.segmentos {
  padding: 100px 0;
  background: #fff;
}
.segmentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.segmento-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.segmento-item:hover { border-color: var(--blue-main); box-shadow: var(--shadow-sm); }
.segmento-item--main { border-color: rgba(11,31,143,0.25); background: rgba(11,31,143,0.03); }
.seg-icon { font-size: 1.8rem; flex-shrink: 0; }
.segmento-item strong { display: block; font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
.segmento-item span { font-size: 0.72rem; color: var(--gray-400); }

/* ============================================
   PORTAIS SECTION
   ============================================ */
.portais-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #060E4A 0%, var(--blue-main) 60%, var(--blue-sec) 100%);
  position: relative;
  overflow: hidden;
}
.portais-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(167,13,42,0.15), transparent 60%);
}
.portais-section .container { position: relative; z-index: 1; }

.portais-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.portal-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.22s;
  color: #fff;
}
.portal-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.portal-card--internal { opacity: 0.6; }
.portal-card--internal:hover { opacity: 1; }

.portal-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.portal-card__icon--blue { background: rgba(11,31,143,0.6); color: #93C5FD; }
.portal-card__icon--red  { background: rgba(167,13,42,0.6); color: #FCA5A5; }
.portal-card__icon--gray { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.portal-card__icon--dark { background: rgba(0,0,0,0.4); color: rgba(255,255,255,0.5); }

.portal-card h4 { font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; }
.portal-card p { font-size: 0.82rem; color: rgba(255,255,255,0.55); flex: 1; }
.portal-card__link { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.5); margin-top: 8px; transition: color 0.15s; }
.portal-card:hover .portal-card__link { color: #fff; }

/* ============================================
   CONTATO
   ============================================ */
.contato {
  padding: 100px 0;
  background: var(--gray-100);
}
.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.contato__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.contato__sub {
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 36px;
}
.contato__actions { display: flex; flex-direction: column; gap: 12px; }

/* Contact card */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.contact-card__logo {
  margin-bottom: 20px;
}
.contact-card__logo img { height: 56px; width: auto; }
.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.contact-card p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 24px; line-height: 1.6; }
.contact-card__info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.contact-info-row svg { flex-shrink: 0; color: var(--blue-main); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.footer__logo { height: 48px; width: auto; flex-shrink: 0; }
.footer__brand strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff; margin-bottom: 6px; }
.footer__brand p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 10px; }
.footer__email { font-size: 0.85rem; color: #93C5FD; font-weight: 500; transition: color 0.2s; }
.footer__email:hover { color: #fff; }

.footer__links { display: flex; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.footer__col a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 24px;
  text-align: center;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding: 64px 24px 48px; }
  .hero__sub { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { display: none; }

  .nav__links { display: none; }
  .portals-dropdown { display: none; }
  .nav__hamburger { display: flex; margin-left: auto; }
}

@media (max-width: 900px) {
  .product-block { grid-template-columns: 1fr; gap: 40px; margin-bottom: 64px; }
  .product-block--right .product-block__visual { order: 2; }
  .product-block--right .product-block__info { order: 1; }
  .contato__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__brand { flex-direction: column; }
}

@media (max-width: 640px) {
  .portals-bar__links { gap: 6px; }
  .portal-pill { font-size: 0.72rem; padding: 4px 10px; }
  .portals-bar__label { display: none; }
  .beneficios__grid { grid-template-columns: 1fr; }
  .footer__links { flex-direction: column; gap: 24px; }
  .hero__actions { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow-dot, .portals-btn__dot { animation: none; }
  .hero__mockup--erp { transform: none; }
}

/* ============================================
   AJUSTES FINAIS — versão interativa SPW
   ============================================ */
.download-remote {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 16px;
  border-radius: 7px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0b57d0 0%, #00a3ff 100%);
  box-shadow: 0 0 0 rgba(0,163,255,0.5), 0 10px 26px rgba(0,83,190,0.25);
  overflow: hidden;
  animation: rustdeskBlink 1.8s ease-in-out infinite;
}
.download-remote::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.42) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 2.8s ease-in-out infinite;
}
.download-remote:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,163,255,.38); }
.download-remote__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.8);
  animation: remotePulse 1.4s infinite;
}
.mobile-download { color: #0b57d0 !important; font-weight: 800 !important; }
@keyframes rustdeskBlink {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}
@keyframes remotePulse {
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.portals-dropdown { margin-left: 0; }

.hero__visual--abstract {
  min-height: 520px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 100px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero__visual--abstract::before,
.hero__visual--abstract::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}
.hero__visual--abstract::before {
  width: 420px; height: 420px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.13);
  animation: slowRotate 18s linear infinite;
}
.hero__visual--abstract::after {
  width: 270px; height: 270px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(252,165,165,.32);
  animation: slowRotate 14s linear infinite reverse;
}
.orbit-center {
  position: absolute;
  left: 50%; top: 50%;
  width: 150px; height: 150px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(167,13,42,.86), rgba(11,31,143,.92));
  box-shadow: 0 28px 70px rgba(0,0,0,.32), 0 0 0 18px rgba(255,255,255,.05);
  z-index: 3;
}
.orbit-center img { width: 92px; }
.orbit-center__glow {
  position: absolute;
  inset: -30px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(42,61,232,.35), transparent 70%);
  animation: heroGlow 3s ease-in-out infinite;
}
.orbit-card {
  position: absolute;
  z-index: 4;
  width: 205px;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  background: rgba(5,10,46,.72);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.orbit-card:hover { transform: translateY(-8px) scale(1.02); background: rgba(11,31,143,.84); border-color: rgba(255,255,255,.32); }
.orbit-card span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(167,13,42,.72);
}
.orbit-card strong { display:block; font-family: var(--font-head); font-size: .98rem; line-height:1.25; margin-bottom: 5px; }
.orbit-card small { color: rgba(255,255,255,.64); line-height:1.45; }
.orbit-card--pdv { left: 26px; top: 74px; animation: floatY 4.4s ease-in-out infinite; }
.orbit-card--cloud { right: 26px; top: 155px; animation: floatY 5s ease-in-out infinite .3s; }
.orbit-card--erp { left: 105px; bottom: 58px; animation: floatY 4.8s ease-in-out infinite .7s; }
.orbit-line {
  position: absolute;
  height: 2px;
  width: 190px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  z-index: 2;
  transform-origin: center;
}
.orbit-line--one { left: 188px; top: 174px; transform: rotate(21deg); }
.orbit-line--two { right: 150px; bottom: 176px; transform: rotate(-31deg); }
.floating-dot { position:absolute; z-index:1; width: 12px; height:12px; border-radius:50%; background:#FCA5A5; opacity:.8; }
.floating-dot--a { top: 55px; right: 90px; animation: floatY 4s infinite; }
.floating-dot--b { bottom: 100px; right: 58px; background:#93C5FD; animation: floatY 4.7s infinite .5s; }
.floating-dot--c { top: 270px; left: 60px; background:#fff; animation: floatY 5.2s infinite .9s; }
@keyframes slowRotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes heroGlow { 0%,100% { opacity:.55; scale:1; } 50% { opacity:1; scale:1.08; } }

.sistema,
.segmentos,
.contato,
.beneficios {
  position: relative;
  overflow: hidden;
}
.sistema {
  background:
    radial-gradient(circle at 8% 10%, rgba(11,31,143,.06), transparent 28%),
    radial-gradient(circle at 92% 24%, rgba(167,13,42,.06), transparent 24%),
    #fff;
}
.beneficios {
  background:
    linear-gradient(180deg, #F4F6FB 0%, #fff 100%);
}
.beneficio-card,
.segmento-item,
.contact-card,
.mockup-shell,
.portal-card {
  transform-style: preserve-3d;
}
.beneficio-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.8), 0 12px 32px rgba(11,31,143,.06);
}
.beneficio-card::before {
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(11,31,143,.08), transparent 45%, rgba(167,13,42,.07));
  opacity:0;
  transition: opacity .25s ease;
}
.beneficio-card:hover::before { opacity:1; }
.beneficio-card > * { position: relative; z-index: 1; }
.segmentos {
  background:
    radial-gradient(circle at 20% 10%, rgba(167,13,42,.055), transparent 26%),
    linear-gradient(180deg, #fff 0%, #F7F8FC 100%);
}
.segmento-item { background: rgba(255,255,255,.76); backdrop-filter: blur(8px); }
.segmento-item:hover { transform: translateY(-4px); background:#fff; }
.product-block__visual { perspective: 1200px; }
.mockup-shell { transition: transform .35s ease, box-shadow .35s ease; }
.product-block:hover .mockup-shell { transform: rotateX(2deg) rotateY(-3deg) translateY(-6px); box-shadow: 0 28px 80px rgba(11,31,143,.22); }
.product-block--right:hover .mockup-shell { transform: rotateX(2deg) rotateY(3deg) translateY(-6px); }
.contato {
  background:
    radial-gradient(circle at 80% 10%, rgba(11,31,143,.08), transparent 30%),
    linear-gradient(180deg, #F4F6FB 0%, #fff 100%);
}
.contact-card { transition: transform .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(11,31,143,.16); }

@media (max-width: 1024px) {
  .download-remote { margin-left: auto; }
  .hero__visual--abstract { display: none; }
}
@media (max-width: 1180px) {
  .nav__inner { gap: 18px; }
  .nav__links { gap: 18px; }
  .download-remote { padding: 8px 12px; font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .download-remote, .download-remote::after, .download-remote__pulse,
  .orbit-card, .orbit-center__glow, .hero__visual--abstract::before, .hero__visual--abstract::after,
  .floating-dot { animation: none !important; }
}

/* Portal Web 2.0 e downloads de suporte — ajustes pontuais */
.remote-downloads {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.download-remote {
  margin-left: 0;
  min-width: 146px;
  padding: 8px 12px;
  gap: 9px;
  border: 1px solid rgba(11,31,143,.12);
  box-shadow: 0 7px 18px rgba(11,31,143,.14);
  animation: none;
  overflow: visible;
}
.download-remote::after { display: none; }
.download-remote--teamviewer { background: linear-gradient(135deg, #1769e0 0%, #0d8fe8 100%); }
.download-remote--rustdesk { background: linear-gradient(135deg, #0b1f8f 0%, #253bd6 100%); }
.download-remote__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  flex-shrink: 0;
}
.download-remote__text { display: flex; flex-direction: column; line-height: 1.05; }
.download-remote__text small { font-size: .62rem; font-weight: 600; opacity: .8; }
.download-remote__text strong { font-size: .78rem; font-weight: 800; }
.download-remote:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(11,31,143,.24); }

.portal-item--featured {
  position: relative;
  margin-bottom: 7px;
  padding: 13px 12px;
  color: #fff;
  background: linear-gradient(135deg, #0b1f8f 0%, #263ee1 65%, #a70d2a 145%);
  box-shadow: 0 8px 20px rgba(11,31,143,.22);
}
.portal-item--featured:hover { background: linear-gradient(135deg, #132aa9 0%, #3149ed 65%, #bd1738 145%); }
.portal-item--featured strong, .portal-item--featured small, .portal-item--featured .portal-item__arrow { color: #fff; }
.portal-item--featured small { opacity: .72; }
.portal-item__icon--featured { background: rgba(255,255,255,.15); color: #fff; }
.portal-item__badge {
  display: inline-block;
  margin-bottom: 2px;
  padding: 1px 6px;
  border-radius: 99px;
  font-family: var(--font-head);
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #0b1f8f;
  background: #fff;
}
.mobile-portal-featured { color: var(--blue-main) !important; font-weight: 800 !important; }
.mobile-portal-featured span { margin-left: 5px; padding: 2px 6px; border-radius: 99px; font-size: .62rem; color: #fff; background: var(--red-main); }

.portal-pill--featured {
  color: #fff;
  background: linear-gradient(135deg, #3149ed 0%, #a70d2a 135%);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 5px 14px rgba(0,0,0,.2);
  transform: translateY(-1px);
}
.portal-pill--featured:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.portal-pill__badge { padding: 1px 5px; border-radius: 99px; font-size: .52rem; letter-spacing: .06em; color: #0b1f8f; background: #fff; }

.portal-card--featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(46,67,230,.88), rgba(11,31,143,.88) 62%, rgba(167,13,42,.72) 145%);
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.portal-card--featured::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.portal-card--featured:hover { background: linear-gradient(145deg, rgba(55,77,243,.96), rgba(11,31,143,.94) 62%, rgba(181,17,50,.82) 145%); border-color: rgba(255,255,255,.62); }
.portal-card--featured > * { position: relative; z-index: 1; }
.portal-card__icon--featured { background: rgba(255,255,255,.16); color: #fff; }
.portal-card__badge {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  font-family: var(--font-head);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #0b1f8f;
  background: #fff;
}
.portal-card--featured p, .portal-card--featured .portal-card__link { color: rgba(255,255,255,.82); }

@media (max-width: 1180px) {
  .remote-downloads { gap: 6px; }
  .download-remote { min-width: 126px; padding: 7px 9px; }
  .download-remote__icon { width: 27px; height: 27px; }
  .download-remote__text strong { font-size: .71rem; }
}
@media (max-width: 1024px) {
  .remote-downloads { margin-left: auto; }
  .download-remote--teamviewer { display: none; }
}
@media (max-width: 780px) {
  .remote-downloads { display: none; }
}
