/* ==============================================================================
   ECODS SOLUÇÕES EM TECNOLOGIA (2026) - DESIGN SYSTEM TECH ULTRARRÁPIDO
   Desenvolvedor Responsável: Jaikon Araújo
   Paleta: Obsidian Space Slate, Cyber Cyan, Emerald Glow, Glassmorphism
============================================================================== */

:root {
  --bg-deep: #050813;
  --bg-surface: #0b1226;
  --bg-card: rgba(14, 23, 48, 0.78);
  --border-glass: rgba(56, 189, 248, 0.16);
  --border-hover: rgba(56, 189, 248, 0.45);
  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --radius-xl: 18px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 5px;
  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(at 50% 0%, #0e1e42 0%, transparent 60%),
    radial-gradient(at 100% 100%, #071026 0%, transparent 50%),
    radial-gradient(at 0% 100%, #040d20 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAVBAR */
header {
  background: rgba(5, 8, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.15;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.2s;
}

nav a:hover { color: var(--accent-cyan); }

/* HERO SECTION */
.hero {
  position: relative;
  padding: 6rem 1.5rem 4.5rem;
  text-align: center;
  background: 
    linear-gradient(180deg, rgba(5, 8, 19, 0.8) 0%, rgba(5, 8, 19, 0.96) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(56, 189, 248, 0.04) 39px, rgba(56, 189, 248, 0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(56, 189, 248, 0.04) 39px, rgba(56, 189, 248, 0.04) 40px);
  border-bottom: 1px solid var(--border-glass);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan);
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.25);
}

.hero h2 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 20%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.hero-pills {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-pill {
  background: rgba(13, 22, 45, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-pill span {
  color: var(--accent-cyan);
  font-weight: 800;
}

/* SEÇÃO DE SISTEMAS */
section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-wrap h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.7rem;
  letter-spacing: -0.6px;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

.system-row {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  margin-bottom: 5.5rem;
}

.system-row.reverse { flex-direction: row-reverse; }
.system-info { flex: 1; }

.system-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  margin-bottom: 1.1rem;
}

.system-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

.system-info p.lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1.6rem;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.btn-open-modal {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: white;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

.btn-open-modal:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 0 25px rgba(14, 165, 233, 0.6);
  transform: translateY(-2px);
}

/* MOCKUP INTERATIVO (DESKTOP E MOBILE) */
.mockup-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 22, 45, 0.85);
  border: 1px solid var(--border-glass);
  padding: 6px 10px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.toolbar-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbar-btn.active {
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.ux-live-chip {
  font-size: 0.72rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 700;
}

.device-chassis {
  background: #070d1a;
  border: 3px solid #1a2744;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.12);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  width: 100%;
}

.device-chassis.desktop-view {
  max-width: 560px;
  height: 350px;
  border-radius: 14px;
  border-top-width: 30px;
}

.device-chassis.desktop-view::before {
  content: "● ● ●";
  position: absolute;
  top: -24px;
  left: 14px;
  color: #475569;
  font-size: 9px;
  letter-spacing: 4px;
}

.device-chassis.mobile-view {
  max-width: 280px;
  height: 490px;
  border-radius: 36px;
  border-width: 10px;
  border-top-width: 28px;
  border-bottom-width: 26px;
}

.device-chassis.mobile-view::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #334155;
  border-radius: 4px;
}

.device-chassis.mobile-view::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: #334155;
  border-radius: 2px;
}

.screen-viewport {
  width: 100%;
  height: 100%;
  background: #050a16;
  color: #e2e8f0;
  overflow-y: auto;
  font-size: 11px;
  display: flex;
  flex-direction: column;
}

.viewport-nav {
  background: #0e172c;
  border-bottom: 1px solid var(--border-glass);
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.viewport-title {
  font-weight: 800;
  font-size: 11.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.viewport-subnav {
  background: #0a1122;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 5px 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.tab-pill {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.tab-pill.active {
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.45);
}

.viewport-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-card {
  background: rgba(16, 26, 51, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 8px;
  padding: 10px;
}

.ui-card-title {
  font-weight: 700;
  font-size: 11px;
  color: #ffffff;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ui-stat {
  background: #070d1a;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 7px;
  border-radius: 6px;
  text-align: center;
}

.ui-stat-val {
  font-weight: 800;
  font-size: 12.5px;
  color: var(--accent-cyan);
}

.ui-stat-lbl {
  font-size: 8.5px;
  color: #64748b;
  text-transform: uppercase;
}

.ui-btn-action {
  background: #0284c7;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.badge-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8.5px;
  font-weight: 700;
}
.tag-green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.tag-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.tag-blue { background: rgba(2, 132, 199, 0.2); color: #38bdf8; }

/* PILARES DE GOVERNANÇA */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.pillar-item {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pillar-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}

.pillar-conformidade {
  background: 
    linear-gradient(135deg, rgba(8, 14, 32, 0.90) 0%, rgba(8, 14, 32, 0.82) 100%),
    radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 60%),
    #070d1e;
}

.pillar-seguranca {
  background: 
    linear-gradient(135deg, rgba(8, 14, 32, 0.90) 0%, rgba(8, 14, 32, 0.82) 100%),
    radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.25) 0%, transparent 60%),
    #070d1e;
}

.pillar-smtp {
  background: 
    linear-gradient(135deg, rgba(8, 14, 32, 0.90) 0%, rgba(8, 14, 32, 0.82) 100%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.25) 0%, transparent 60%),
    #070d1e;
}

.pillar-item h4 {
  font-size: 1.35rem;
  color: var(--text-pure);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.pillar-item p {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
}

/* CONTATO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  padding: 4rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.contact-left h3 {
  font-size: 2.2rem;
  color: var(--text-pure);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.3rem;
  font-size: 0.96rem;
  color: #e2e8f0;
}

.contact-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(22, 34, 64, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-cyan);
}

.form-group-futuristic {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 1.2rem;
}

.form-group-futuristic label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
}

.input-futuristic {
  background: #060b17;
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #ffffff;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
}

.input-futuristic:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

/* FOOTER LIMPO COM LINK DISCRETO */
footer {
  background: #03050c;
  border-top: 1px solid var(--border-glass);
  padding: 3.8rem 1.5rem 2.8rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-copy {
  max-width: 1240px;
  margin: 1.8rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: #64748b;
}

.discreet-admin-link {
  color: #475569;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.discreet-admin-link:hover { color: var(--accent-cyan); }

/* MODAL DE DETALHES */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(3, 6, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open { display: flex; }

.modal-window {
  background: #0b1224;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.16);
}

.modal-header {
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 24, 46, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h3 { font-size: 1.35rem; color: #ffffff; font-weight: 800; }

.modal-close-btn {
  background: transparent; border: none; color: var(--text-muted);
  font-size: 1.5rem; cursor: pointer; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
}

.modal-close-btn:hover { background: rgba(255, 255, 255, 0.1); color: white; }
.modal-content { padding: 2rem; }

.info-block { margin-bottom: 2rem; }
.info-block h4 { font-size: 1.05rem; color: var(--accent-cyan); margin-bottom: 0.6rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.info-block p { color: #cbd5e1; font-size: 0.96rem; line-height: 1.7; }
.compliance-box { background: rgba(15, 24, 46, 0.8); border-left: 4px solid var(--accent-cyan); padding: 0.9rem 1.2rem; border-radius: 0 8px 8px 0; font-size: 0.92rem; color: #e2e8f0; margin-bottom: 0.8rem; }

@media (max-width: 960px) {
  .system-row, .system-row.reverse { flex-direction: column; gap: 2.8rem; }
  .contact-grid { grid-template-columns: 1fr; padding: 2.2rem; }
  .hero h2 { font-size: 2.2rem; }
  .device-chassis.desktop-view { max-width: 100%; height: 315px; }
}

