/* ============================================================
   EletroGrid v2 — Identidade 2026 (grafite-azul + âmbar energia)
   ============================================================ */
:root {
  --bg: #0B1626;
  --bg-alt: #0F1D33;
  --card: #14243D;
  --line: #1E3A5F;
  --line-soft: #24365a;
  --blue-mid: #4A6FA5;
  --amber: #F5A623;
  --amber-dark: #B87708;
  --text: #E8EDF5;
  --muted: #8FA3BF;
  --radius: 14px;
  --font-head: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(11, 22, 38, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.brand-name span { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active { color: var(--amber); }
.btn {
  display: inline-block; background: var(--amber); color: #22160a;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 11px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #ffbc45; transform: translateY(-2px); }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--blue-mid); color: var(--text);
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 10px 26px; border-radius: 999px; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--amber); background: rgba(245, 166, 35, 0.08); }
.hamb { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu a { padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.mobile-menu a:hover { color: var(--amber); }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 140px 0 90px; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(11,22,38,.97) 35%, rgba(11,22,38,.55) 75%, rgba(11,22,38,.35)),
    var(--bg-alt) center/cover no-repeat;
}
.hero.has-img { background-size: cover; background-position: center; }
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--amber);
  border: 1px solid var(--line-soft); padding: 7px 16px; border-radius: 999px;
  background: rgba(20, 36, 61, 0.6); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; max-width: 780px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { max-width: 640px; margin: 24px 0 36px; font-size: 1.15rem; color: var(--muted); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Softwares strip ---------- */
.sw-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.sw-strip .container { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; padding: 22px 24px; }
.sw-pill {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; letter-spacing: 1px;
  color: var(--muted); border: 1px solid var(--line-soft); border-radius: 999px; padding: 7px 18px;
}
.sw-pill strong { color: var(--text); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; margin: 10px 0 16px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }
.underline { width: 74px; height: 4px; background: var(--amber); border-radius: 2px; margin-top: 20px; }
.center .underline { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--blue-mid); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(245, 166, 35, 0.12); color: var(--amber); font-size: 24px; margin-bottom: 20px;
}
.card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: .95rem; }
.card ul li { margin-bottom: 6px; }
.card .more { display: inline-block; margin-top: 18px; color: var(--amber); font-weight: 600; font-size: .95rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--amber);
  background: rgba(245, 166, 35, 0.1); border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 6px; padding: 4px 10px; font-family: var(--font-head);
}
.badge.blue { color: #9db8dd; background: rgba(74, 111, 165, 0.15); border-color: var(--line-soft); }

/* ---------- Split (texto + imagem) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.split ul { padding-left: 20px; color: var(--muted); }
.split ul li { margin-bottom: 8px; }
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background:
    linear-gradient(rgba(20,36,61,.6), rgba(20,36,61,.6)),
    repeating-linear-gradient(45deg, var(--bg-alt) 0 14px, var(--card) 14px 28px);
  aspect-ratio: 4 / 3;
}
.ph.wide { aspect-ratio: 16 / 9; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ph:hover img { transform: scale(1.05); }
.ph .ph-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid); font-family: var(--font-head); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; text-align: center; padding: 20px; z-index: 0;
}
.ph img { position: relative; z-index: 1; }

/* ---------- Steps (metodologia) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--line-soft);
  display: block; margin-bottom: 12px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- CTA final ---------- */
.cta {
  background: linear-gradient(120deg, var(--card), var(--bg-alt));
  border: 1px solid var(--line); border-radius: 20px; text-align: center;
  padding: 70px 40px;
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
.cta p { color: var(--muted); max-width: 620px; margin: 0 auto 32px; }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { font-size: 14px; font-weight: 600; color: var(--text); display: block; margin-bottom: 7px; font-family: var(--font-head); }
.form input, .form select, .form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 10px;
  color: var(--text); padding: 13px 16px; font-family: var(--font-body); font-size: 15px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber); }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.contact-box h3 { margin-bottom: 8px; }
.contact-box a.big { color: var(--amber); font-weight: 600; font-size: 1.05rem; }

/* ---------- Embed (plataforma/simulador) ---------- */
.embed-wrap { padding: 110px 0 40px; }
.embed-frame { width: 100%; height: calc(100vh - 190px); min-height: 620px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text); }
.footer a, .footer p { color: var(--muted); font-size: .95rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; text-align: center; color: var(--muted); font-size: .88rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .grid3, .grid4, .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .split.rev { grid-template-columns: 1fr; direction: ltr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .hamb { display: block; }
  .grid2, .grid3, .grid4, .steps, .form .row2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: 78vh; padding-top: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
}
