:root {
  --blue-950: #03172f;
  --blue-900: #04264a;
  --blue-800: #063b72;
  --blue-700: #005fa8;
  --blue-600: #0076c8;
  --cyan-500: #00b8ff;
  --cyan-100: #e8f8ff;
  --ink: #122033;
  --muted: #5d6b7e;
  --line: #d9e5ef;
  --surface: #ffffff;
  --surface-soft: #f5f9fc;
  --shadow: 0 18px 50px rgba(3, 23, 47, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-900);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 23, 47, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(3, 23, 47, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.brand img {
  width: auto;
  height: 67px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.site-header.is-scrolled .site-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-nav a:hover {
  background: rgba(0, 184, 255, 0.13);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.site-header.is-scrolled .nav-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .nav-toggle span {
  background: #fff;
}

.hero {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(3, 23, 47, 0.94), rgba(4, 38, 74, 0.87)),
    linear-gradient(135deg, #04264a, #0076c8);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--surface));
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 64px;
  padding-top: 90px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(2.55rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 16px 34px rgba(0, 118, 200, 0.24);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.button-light {
  color: var(--blue-900);
  background: #fff;
}

.button-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #119e52, #25d366);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.24);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-900);
}

.status-card strong,
.status-card small {
  display: block;
}

.status-card small {
  margin-top: 4px;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #18c777;
  box-shadow: 0 0 0 6px rgba(24, 199, 119, 0.14);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.metric-grid div {
  min-height: 102px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
}

.metric-grid strong {
  font-size: 1.55rem;
  line-height: 1;
}

.metric-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
}

.section {
  padding: 92px 0;
}

.section-intro {
  padding-top: 64px;
}

.intro-grid,
.solutions-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.section h2 {
  margin: 12px 0 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 295px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(3, 23, 47, 0.05);
}

.service-card h3 {
  margin: 22px 0 10px;
  color: var(--blue-950);
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

.service-card:last-child {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 184, 255, 0.45), transparent 34%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  box-shadow: 0 18px 44px rgba(0, 118, 200, 0.18);
}

.service-card:last-child h3,
.service-card:last-child p {
  color: #fff;
}

.service-card:last-child .service-icon {
  background: rgba(255, 255, 255, 0.14);
}

.service-card:last-child .service-icon::before,
.service-card:last-child .service-icon::after {
  border-color: rgba(255, 255, 255, 0.92);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--cyan-100);
  position: relative;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 2px solid var(--blue-600);
  border-radius: 6px;
}

.service-icon::after {
  inset: 22px 9px 9px;
  border-top: 0;
  border-left-color: var(--cyan-500);
}

.service-icon[data-icon="cloud"]::before {
  inset: 18px 8px 12px;
  border-radius: 18px;
}

.service-icon[data-icon="cloud"]::after {
  inset: 12px 17px 22px 12px;
  border-bottom: 0;
  border-left-color: var(--blue-600);
  border-radius: 16px 16px 0 0;
}

.section-blue {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.section-blue h2,
.section-blue p {
  color: #fff;
}

.section-blue p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-item {
  display: flex;
  gap: 12px;
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.check-item span {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--cyan-500);
  position: relative;
}

.check-item span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-item p {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.tech-section {
  background: var(--surface-soft);
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vendor-card {
  min-height: 132px;
  display: grid;
  grid-template-rows: 66px auto;
  align-items: center;
  align-content: center;
  gap: 12px;
  padding: 20px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(3, 23, 47, 0.06);
}

.vendor-logo-img {
  width: 100%;
  height: 66px;
  max-width: 170px;
  margin: 0 auto;
  object-fit: contain;
}

.vendor-name {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.vendor-endian .vendor-logo-img,
.vendor-fortinet .vendor-logo-img,
.vendor-mikrotik .vendor-logo-img {
  max-width: 178px;
}

.vendor-dell .vendor-logo-img {
  max-width: 154px;
  height: 62px;
}

.vendor-hpe .vendor-logo-img {
  max-width: 172px;
  height: 58px;
}

.vendor-lenovo .vendor-logo-img {
  max-width: 150px;
  height: 48px;
}

.vendor-tplink .vendor-logo-img {
  max-width: 178px;
  height: 62px;
}

.vendor-bitdefender .vendor-logo-img {
  max-width: 172px;
  height: 42px;
}

.vendor-microsoft365 .vendor-logo-img,
.vendor-azure .vendor-logo-img {
  max-width: 178px;
  height: 58px;
}

.vendor-ubiquiti .vendor-logo-img {
  max-width: 176px;
  height: 62px;
}

.vendor-veeam .vendor-logo-img {
  max-width: 158px;
  height: 54px;
}

.vendor-iperius .vendor-logo-img {
  max-width: 166px;
  height: 60px;
}

.vendor-trendmicro {
  border-color: rgba(215, 25, 32, 0.12);
  background: linear-gradient(135deg, #d71920, #a80f17);
}

.vendor-trendmicro .vendor-logo-img {
  max-width: 162px;
  height: 48px;
}

.vendor-trendmicro .vendor-name {
  color: rgba(255, 255, 255, 0.86);
}

.vendor-iperius {
  border-color: rgba(17, 24, 39, 0.12);
  background: linear-gradient(135deg, #111827, #1f2937);
}

.vendor-iperius .vendor-name {
  color: rgba(255, 255, 255, 0.86);
}

.timeline-item {
  padding: 28px 24px 0 0;
}

.timeline-item span {
  color: var(--blue-600);
  font-weight: 900;
}

.timeline-item h3 {
  margin: 12px 0 8px;
  color: var(--blue-950);
}

.timeline-item p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-section {
  background: var(--surface-soft);
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-info a {
  color: var(--blue-700);
  font-weight: 800;
}

.contact-form,
.whatsapp-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 184, 255, 0.18);
  border-color: var(--cyan-500);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.whatsapp-card {
  align-content: center;
  min-height: 430px;
  text-align: center;
}

.whatsapp-logo {
  width: 82px;
  height: 82px;
  margin: 0 auto 4px;
  filter: drop-shadow(0 16px 18px rgba(37, 211, 102, 0.22));
}

.whatsapp-card h3 {
  margin: 6px 0 0;
  color: var(--blue-950);
  font-size: 1.5rem;
}

.whatsapp-card p {
  max-width: 430px;
  margin: 0 auto;
}

.whatsapp-card small {
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  padding: 54px 0;
}

.footer-logo {
  width: 150px;
  margin-bottom: 18px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: table;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.message-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--surface-soft);
}

.message-box {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.message-box img {
  width: 160px;
  margin: 0 auto 20px;
}

.message-box h1 {
  margin: 0 0 12px;
  color: var(--blue-950);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 130px 0 96px;
  }

  .hero-content,
  .intro-grid,
  .solutions-grid,
  .tech-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .cards-grid,
  .tech-list,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 86px;
  }

  .brand {
    width: auto;
    padding: 0;
  }

  .brand img {
    height: 53px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-header.is-scrolled .site-nav a {
    color: var(--blue-900);
  }

  .hero {
    padding: 118px 0 78px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .metric-grid,
  .check-list,
  .cards-grid,
  .tech-list,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .section {
    padding: 66px 0;
  }

  .metric-grid {
    display: grid;
  }

  .footer-grid {
    gap: 26px;
  }
}

/* Endian: seção integrada à navegação da página principal. */
section[id] { scroll-margin-top: 108px; }
.endian-section { background: var(--surface-soft); border-top: 1px solid var(--line); }
.endian-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.endian-intro .button { margin-top: 14px; }
.endian-brand-panel { padding: 34px; border-radius: var(--radius); background: var(--blue-950); color: #fff; }
.endian-logo-box { display: inline-flex; background: #fff; padding: 16px 22px; border-radius: var(--radius); margin-bottom: 24px; }
.endian-logo-box img { width: 210px; height: 70px; object-fit: contain; }
.endian-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #7cdaff; }
.endian-brand-panel h3 { font-size: 1.7rem; line-height: 1.25; margin: 12px 0; }
.endian-brand-panel p { color: #cadbea; }
.endian-editions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.endian-editions span { font-size: .78rem; border: 1px solid #47617a; border-radius: 4px; padding: 6px 10px; }
.endian-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.endian-services article { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.endian-number { color: var(--blue-700); font-weight: 800; font-size: .85rem; }
.endian-services h3 { margin: 12px 0 8px; font-size: 1.12rem; }
.endian-services p { margin: 0; font-size: .95rem; }
.endian-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; margin-top: 48px; }
.endian-faq h3 { font-size: 1.4rem; margin: 12px 0; line-height: 1.3; }
.endian-questions details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.endian-questions summary { cursor: pointer; font-weight: 700; color: var(--blue-900); }
.endian-questions p { margin-bottom: 0; font-size: .95rem; }
@media (max-width: 980px) {
  .endian-intro { gap: 28px; }
  .endian-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav a { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 760px) {
  .endian-intro, .endian-services, .endian-faq { grid-template-columns: 1fr; }
  .endian-faq { gap: 8px; }
  .endian-brand-panel { padding: 26px; }
}
