/*
 * Página Para empresas: conteúdo da LP de empresas no padrão do site institucional.
 * Componentes exclusivos desta página (prefixo e-); o resto vem do assets/css/site.css.
 * Sem GSAP: animações em CSS e no empresas.js.
 */

/* ---------- HERO ---------- */
.e-hero { position: relative; overflow: hidden; isolation: isolate; margin: 12px; padding: 150px max(clamp(24px, 6vw, 88px), calc((100% - var(--wrap)) / 2 - 12px)) 0; border-radius: 40px; background: #0A0B0A; color: var(--white); }
.e-hero .hero-glow { background: radial-gradient(40% 50% at 75% 45%, rgba(100,184,44,.3), transparent 70%), radial-gradient(30% 35% at 8% 0%, rgba(161,255,98,.08), transparent 70%); }
.e-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 520px; }
.e-hero-grid > * { min-width: 0; }
.e-announce { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-d); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); text-decoration: none; transition: background-color .25s; }
.e-announce:hover { background: rgba(255,255,255,.1); }
.e-announce b { padding: 3px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.e-hero .hero-title { font-size: clamp(44px, 1.4rem + 4.4vw, 82px); }
.e-visual { position: relative; height: min(560px, 62svh); }
.e-visual canvas { position: absolute; inset: -6% -10%; width: 120%; height: 112%; max-width: none; }
.e-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(17,19,17,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-d); font-family: var(--mono); font-size: 12px; color: var(--white); animation: e-float 6s ease-in-out infinite; }
.e-chip.c1 { top: 16%; right: 6%; }
.e-chip.c2 { bottom: 18%; left: 2%; color: rgba(255,255,255,.65); animation-delay: -3s; }
@keyframes e-float { 50% { transform: translateY(-10px); } }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
.e-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; border-top: 1px solid var(--line-d); }
.e-steps > div:first-child { padding-left: 0; }
.e-steps > div { padding: 28px clamp(24px, 3vw, 40px); }
.e-steps > div + div { border-left: 1px solid var(--line-d); }
.e-steps b { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.e-steps b span { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--lime); }
.e-steps p { margin: 6px 0 0; font-size: 15px; color: rgba(255,255,255,.62); }

/* ---------- FAIXA DE DIFERENCIAIS ---------- */
.e-facts { overflow: hidden; margin-top: clamp(40px, 5vw, 64px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.e-facts-track { display: flex; width: max-content; gap: 10px; animation: mq 36s linear infinite; }
.e-facts span { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 15px; white-space: nowrap; }
.e-facts span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.e-facts:hover .e-facts-track { animation-play-state: paused; }
.static .e-facts-track { animation: none; }

/* ---------- FRASE + ANTENA ---------- */
.e-statement { display: grid; grid-template-columns: 1fr minmax(240px, 400px); gap: 48px; align-items: center; }
.e-reveal { margin: 0; max-width: 24ch; font-family: var(--display); font-size: clamp(30px, 1rem + 2.8vw, 50px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.e-reveal .w { color: rgba(14,14,14,.18); transition: color .4s; }
.e-reveal .w.on { color: var(--text); }
.e-reveal em { font-style: normal; }
.e-reveal em .w.on { color: var(--green); }
/* antena solta sobre o fundo claro, no verde Barranet */
.e-ant { position: relative; width: 100%; aspect-ratio: 1; }
.e-ant .help-ant { width: 100%; margin: 0; }
.e-ant .help-ant .ant-tower, .e-ant .help-ant .ant-dome, .e-ant .help-ant .ant-wave path { fill: var(--green); }
.e-ant .help-ant .ant-tower { filter: drop-shadow(0 18px 28px rgba(100,184,44,.35)); }
.e-ant .help-ant .ant-rings circle { stroke: var(--green); stroke-width: 1.5; }
.e-ant .help-ant .ant-orbit { stroke: rgba(14,14,14,.18); }
.e-ant .help-ant .ant-orbit-2 { stroke: rgba(100,184,44,.35); }

/* ---------- FEATURES (texto + painel) ---------- */
.e-feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; scroll-margin-top: 110px; }
.e-feature > * { min-width: 0; }
.e-feature.flip > :first-child { order: 2; }
.e-points { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.e-points li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.e-points i { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--green-d); }
.e-points i svg { width: 21px; height: 21px; }
.e-points b { font-size: 17px; }
.e-points span { font-size: 15px; color: var(--muted); }
.e-panel { padding: 22px; border-radius: 32px; background: var(--ink); color: var(--white); box-shadow: 0 40px 80px -40px rgba(14,14,14,.6); }
.e-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.e-panel-head .mono { font-weight: 500; color: rgba(255,255,255,.45); }
.e-row { display: grid; grid-template-columns: 1fr auto 56px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); }
.e-row + .e-row { margin-top: 6px; }
.e-row b { display: block; font-size: 15px; }
.e-row .mono { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.45); }
.e-row .lat { margin: 0; text-align: right; font-size: 13px; color: rgba(255,255,255,.75); }
.e-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.e-status.ok { background: rgba(161,255,98,.12); color: var(--lime); }
.e-status.sync { background: rgba(43,227,180,.12); color: var(--teal); }
.e-status.sync::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: e-spin 1s linear infinite; }
.e-status.idle { background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); }
@keyframes e-spin { to { transform: rotate(360deg); } }
.e-panel .noc-chart { margin: 0 0 16px; }
.e-uptime { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; }
.e-uptime i { height: 34px; border-radius: 4px; background: var(--lime); opacity: .85; }
.e-uptime i.warn { background: #F5C451; }
.e-uptime-foot { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.4); }

/* ---------- CALCULADORA ---------- */
.e-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.e-calc-in { display: grid; gap: 28px; padding: 32px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.e-calc-in label { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-size: 15px; font-weight: 600; }
.e-calc-in output { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.e-calc-in input { grid-column: span 2; width: 100%; accent-color: var(--green); }
.e-calc-out { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--r); background: var(--ink); color: var(--white); }
.e-calc-out .mono { color: rgba(255,255,255,.45); }
.e-calc-out .big { margin: 0; font-family: var(--display); font-size: clamp(48px, 2rem + 3vw, 76px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--lime); }
.e-calc-out p { margin: 0; color: rgba(255,255,255,.72); }
.e-calc-out .note { padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 14px; color: rgba(255,255,255,.55); }
.e-calc-out .btn { align-self: flex-start; margin-top: auto; }

/* ---------- SOLUÇÕES ---------- */
.e-sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.e-sol { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 120px; transition: transform .35s var(--ease), box-shadow .35s; }
.e-sol:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -30px rgba(14,14,14,.35); }
.e-sol:target { box-shadow: inset 0 0 0 2px var(--green); }
.e-sol .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--green-d); }
.e-sol h3 { font-size: 24px; }
.e-sol p { margin: 0; font-size: 15px; color: var(--muted); }
.e-sol ul { display: grid; gap: 6px; margin: auto 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.e-sol ul li::before { content: '✓ '; color: var(--green); }
.e-sol.hot { background: var(--ink); color: var(--white); box-shadow: none; }
.e-sol.hot .k { color: var(--lime); }
.e-sol.hot p { color: rgba(255,255,255,.68); }
.e-sol.hot ul { border-color: var(--line-d); }
.e-sol.hot ul li::before { color: var(--lime); }

/* ---------- ITAJAÍ ---------- */
.e-city { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; padding: clamp(28px, 5vw, 56px); border-radius: 40px; background: var(--ink); color: var(--white); }
.e-city img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.e-city::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,11,10,.92) 18%, rgba(10,11,10,.25) 65%, rgba(10,11,10,.1)); }
.e-city-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 0; }
.e-city-stats > div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 20px; border-radius: 22px; background: rgba(14,14,14,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-d); }
.e-city-stats i { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(161,255,98,.12); color: var(--lime); }
.e-city-stats i svg { width: 22px; height: 22px; }
.e-city-stats dt { font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--lime); }
.e-city-stats dd { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- PLANOS ---------- */
.e-plans .plan h3 { font-size: 30px; }
.e-plans .plan-price { font-size: 38px; }
.e-plans .plan-price small:first-child { display: block; line-height: 1.4; vertical-align: baseline; }
.e-plans .plan .btn { margin: 22px 0 0; }
.e-plans .plan-list { margin: 22px 0 0; }
.e-plans .plan:not(.is-hot) .btn { background: var(--ink); color: var(--white); }

/* ---------- CONTATO ---------- */
.e-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; padding: 12px; border-radius: 40px; background: var(--ink); color: var(--white); }
.e-contact-text { padding: clamp(24px, 4vw, 44px); }
.e-contact-text p { color: rgba(255,255,255,.7); }
.e-contact-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.e-contact-list li { display: grid; gap: 2px; font-weight: 600; }
.e-contact-list span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.e-contact-list a { color: var(--white); text-decoration: none; }
.e-contact-list a:hover { color: var(--lime); }
.e-form { padding: clamp(24px, 3vw, 36px); border-radius: 30px; background: var(--white); color: var(--text); }
.e-form .btn { width: 100%; }
.e-form .ok { margin: 0; font-weight: 700; color: var(--green-d); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1120px) {
  .e-sol-grid { grid-template-columns: 1fr 1fr; }
  .e-calc, .e-contact { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .e-hero-grid, .e-feature, .e-statement { grid-template-columns: 1fr; }
  .e-feature.flip > :first-child { order: 0; }
  .e-visual { height: 380px; order: -1; }
  .e-statement .e-ant { max-width: 360px; }
  .e-city-stats { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .e-hero { margin: 8px; padding: 120px 20px 0; border-radius: 28px; }
  .e-hero-grid { min-height: 0; gap: 8px; }
  .e-visual { height: 300px; }
  .e-steps { grid-template-columns: 1fr; margin: 32px -20px 0; }
  .e-steps > div + div { border-left: 0; border-top: 1px solid var(--line-d); }
  .e-steps > div { padding: 20px !important; }
  .e-sol-grid { grid-template-columns: 1fr; }
  .e-row { grid-template-columns: 1fr auto; }
  .e-row .lat { display: none; }
  .e-uptime { gap: 2px; }
  .e-city { min-height: 520px; border-radius: 28px; }
  .e-contact { border-radius: 28px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .e-chip, .e-facts-track, .e-status.sync::before { animation: none; }
  .e-reveal .w { color: var(--text); }
}
