:root{
  --bg:#0b1220;
  --panel:#0f172a;
  --panel-2:#0b1220;
  --text:#e6eef8;
  --muted:#9fb3c8;
  --primary:#1ea5ff;
  --accent:#22d3ee;
  --glass:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.08);
  --shadow:0 20px 60px rgba(2,8,23,.35), inset 0 0 0 1px var(--stroke);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Helvetica Neue",Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, #0b5cff22, transparent 60%),
    radial-gradient(800px 500px at -10% -20%, #22d3ee22, transparent 50%),
    linear-gradient(180deg, #0b1220, #0b1220);
  background-attachment: fixed;
  line-height:1.6;
}

h1,h2,h3{font-family:Orbitron,Inter,Arial,sans-serif; letter-spacing:.2px}
h1{font-size:clamp(28px, 4vw, 44px); line-height:1.1; margin:.2rem 0 1rem}
h2{font-size:clamp(22px, 3vw, 32px); line-height:1.15; margin:0 0 1rem}
h3{font-size:clamp(18px, 2.2vw, 22px); margin:.2rem 0 .6rem}

p{margin:.2rem 0 1rem; color:var(--muted)}

.container{width:min(1100px, 92vw); margin:0 auto}

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(11,18,32,.6);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--stroke);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; gap:10px; align-items:center; text-decoration:none; color:var(--text); font-weight:700}
.brand-text{font-family:Orbitron,Inter,Arial,sans-serif; letter-spacing:.4px}
.nav-toggle{display:none; background:transparent; color:var(--text); font-size:22px; border:none; cursor:pointer}
.nav-menu{display:flex; gap:18px; list-style:none; margin:0; padding:0}
.nav-menu a{color:var(--muted); text-decoration:none; font-weight:600}
.nav-menu a:hover{color:var(--text)}

@media (max-width:860px){
  .nav-toggle{display:block}
  .nav-menu{position:absolute; right:16px; top:64px; background:var(--panel); padding:12px; border-radius:14px; box-shadow:var(--shadow); border:1px solid var(--stroke); display:none; flex-direction:column; min-width:220px}
  .nav-menu.show{display:flex}
}

.hero{padding:64px 0 40px}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:32px; align-items:center}
.hero-copy p{font-size:18px}
.hero-ctas{display:flex; gap:14px; margin:22px 0}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px}
.hero-badges span{border:1px solid var(--stroke); background:var(--glass); padding:8px 10px; border-radius:999px; font-size:12px}

.hero-art{position:relative; height:360px}
.board{
  position:absolute; inset:auto 0 0 auto; width:340px; height:220px; border-radius:20px;
  background:linear-gradient(180deg, #0e2037, #081425);
  border:1px solid var(--stroke); box-shadow:var(--shadow);
  transform:rotate(-2deg);
}
.led{position:absolute; width:12px; height:12px; border-radius:999px; background:#1df28f; filter:drop-shadow(0 0 8px #1df28f)}
.led-1{top:26px; left:26px}
.led-2{top:26px; left:52px; background:#1ea5ff; filter:drop-shadow(0 0 8px #1ea5ff)}
.led-3{top:26px; left:78px; background:#fcd34d; filter:drop-shadow(0 0 8px #fcd34d)}
.orb{position:absolute; border-radius:50%; filter:blur(40px); opacity:.6}
.orb-a{width:220px; height:220px; right:-40px; top:-10px; background:#0b5cff66}
.orb-b{width:180px; height:180px; right:160px; bottom:10px; background:#22d3ee66}

@media (max-width:940px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
  .hero-art{height:240px}
  .board{left:0; right:0; margin:0 auto; width:90%; height:180px}
}

.section{padding:64px 0}
.section.alt{background:linear-gradient(180deg, #0b1220 0%, #0f172a 100%)}
.section-header{max-width:820px; margin:0 auto 28px; text-align:center}

.cards{display:grid; grid-template-columns:repeat(3, 1fr); gap:18px}
.card{background:var(--panel); border:1px solid var(--stroke); border-radius:18px; padding:20px; box-shadow:var(--shadow)}
.card p{color:var(--muted)}
@media (max-width:940px){ .cards{grid-template-columns:1fr} }

.features-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:18px}
.feature{background:var(--panel); border:1px solid var(--stroke); border-radius:18px; padding:20px; box-shadow:var(--shadow)}
.feature-icon{font-size:26px; margin-bottom:6px}
@media (max-width:940px){ .features-grid{grid-template-columns:1fr 1fr} }
@media (max-width:640px){ .features-grid{grid-template-columns:1fr} }

.apps-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:18px}
.app{background:var(--panel); border:1px solid var(--stroke); border-radius:18px; padding:20px; box-shadow:var(--shadow)}
@media (max-width:940px){ .apps-grid{grid-template-columns:1fr 1fr} }
@media (max-width:640px){ .apps-grid{grid-template-columns:1fr} }

.timeline{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; position:relative}
.tl-item{background:var(--panel); border:1px solid var(--stroke); border-radius:18px; padding:20px; box-shadow:var(--shadow); position:relative}
.tl-dot{position:absolute; width:10px; height:10px; border-radius:999px; background:var(--accent); top:16px; left:16px}
@media (max-width:940px){ .timeline{grid-template-columns:1fr} }

.cta{background:linear-gradient(180deg, #071223, #061225); border-top:1px solid var(--stroke); border-bottom:1px solid var(--stroke)}
.cta-inner{display:flex; flex-direction:column; align-items:center; text-align:center}
.hint{opacity:.7; font-size:13px; margin-top:10px}

.contact{display:flex; gap:18px; justify-content:center; flex-wrap:wrap}
.contact-item{display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:var(--text); padding:10px 14px; border-radius:14px; border:1px solid var(--stroke); background:var(--glass)}
.contact-item:hover{border-color:#2a3346}

.site-footer{border-top:1px solid var(--stroke); background:#081222}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; flex-wrap:wrap}
.brand-foot{display:flex; align-items:center; gap:8px; opacity:.9}
.foot-nav{display:flex; gap:12px; flex-wrap:wrap}
.foot-nav a{color:var(--muted); text-decoration:none}
.foot-nav a:hover{color:var(--text)}

.btn{display:inline-block; padding:12px 18px; border-radius:12px; text-decoration:none; font-weight:700; border:1px solid var(--stroke); transition:transform .06s ease}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:linear-gradient(180deg, #1ea5ff, #0b5cff); color:white; border-color:transparent; box-shadow:0 12px 30px rgba(14,92,255,.35)}
.btn.lg{padding:14px 22px; font-size:18px}
.btn.ghost{background:transparent; color:var(--text)}

code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size:12px; padding:2px 6px; border-radius:8px; background:var(--panel); border:1px solid var(--stroke)}


/* --- Showcase (telas) base --- */
.section-showcase .section-header { margin-bottom: 1rem; }
.section-showcase .muted { color: var(--muted); }
.tabs { display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.75rem; }
.tab {
  appearance:none; border:1px solid var(--line); background:var(--panel-2);
  color:var(--text); padding:.6rem .9rem; border-radius:999px; cursor:pointer;
  font-weight:700; transition: box-shadow .15s ease, background .15s ease, border-color .15s;
}
.tab:hover { box-shadow: 0 6px 24px rgba(0,0,0,.18) }
.tab.is-active { background:rgba(59,163,242,.15); border-color:#3BA3F2; color:#E6F1FF }
.panels { margin-top: .75rem; }
.panel { border-radius:16px; overflow:hidden; background:var(--panel-2); box-shadow: var(--shadow-2); }
.panel[hidden]{ display:none !important; }
.shot img { width:100%; display:block; }
figcaption { padding: .9rem 1rem; border-top:1px solid var(--line); color:var(--muted) }
figcaption strong { display:block; color:#fff; margin-bottom:.2rem }


/* --- Showcase: 50/50 --- */
.section-showcase .panel-grid.equal{
  display:grid;
  grid-template-columns: 0.4fr 0.6fr; /* 40% imagem / 60% descrição */
  gap: 1rem;
  padding: 1rem;
}
.section-showcase .shot{
  border-radius:12px; overflow:hidden; background:var(--panel); border:1px solid var(--line);
  max-width: 520px;
}
.section-showcase .shot img{
  width:100%; height:auto; max-height:380px; object-fit:cover; border-radius:10px;
}
.section-showcase .desc{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  padding:1rem 1.1rem;
  color:var(--text);
  box-shadow: var(--shadow-1);
}
.section-showcase .desc h3{ margin:0 0 .4rem; font-size:1.15rem; color:#E6F1FF }
.section-showcase .desc p{ margin:0 0 .5rem; color:var(--muted) }
.section-showcase .desc ul{ margin:.35rem 0 0 1rem; }
@media (max-width: 960px){
  .section-showcase .panel-grid.equal{ grid-template-columns: 1fr; }
  .section-showcase .shot img{ max-height:320px; }
}


/* --- Showcase dots (carrossel) --- */
.section-showcase .dots{
  display:flex; gap:.4rem; align-items:center; margin-top:.6rem;
}
.section-showcase .dot{
  width:10px; height:10px; border-radius:50%;
  border:2px solid #3BA3F2; background:transparent; opacity:.7;
  transition: transform .15s ease, opacity .15s ease, background .2s ease;
}
.section-showcase .dot.is-active{ background:#3BA3F2; opacity:1; transform: scale(1.05); }
.section-showcase .dot:hover{ opacity:1; transform: scale(1.1); }


/* === Section: Hardware (antes de Solução) === */
.section-hardware{ position:relative; padding:64px 0; overflow:hidden; }
.section-hardware .hw-bg{ position:absolute; inset:0; background-image: linear-gradient(rgba(2,8,23,.65), rgba(2,8,23,.65)), url('assets/hero/eng-bg-blur.jpg'); background-size:cover; background-position:center; z-index:0; }
.section-hardware .hw-grid{ position:relative; z-index:1; display:grid; gap:1.25rem; grid-template-columns:minmax(0, 2fr) minmax(0, 1fr); align-items:center; }
.section-hardware .hw-text{ color:#EAF2FF; }
.section-hardware .hw-text h2{ margin:0 0 .4rem; line-height:1.1; font-size:clamp(1.6rem, 3.2vw, 2.2rem); }
.section-hardware .hw-text h2 span{ color:#69c0ff }
.section-hardware .hw-text .lead{ color:#d6e3f8; font-size:1.05rem; margin:.5rem 0 1rem; }
.section-hardware .bullets{ margin:0 0 1rem 1rem; color:#cfe0ff }
.section-hardware .bullets li{ margin:.3rem 0 }
.section-hardware .btn.primary{ background:#0ea5e9; border:1px solid #0ea5e9; color:#fff; padding:.7rem 1rem; border-radius:12px; display:inline-block; }
.section-hardware .hw-product{ margin:0; text-align:center; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:.75rem; backdrop-filter: blur(2px); }
.section-hardware .hw-product img{ width:100%; height:auto; display:block; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
.section-hardware .hw-product .muted{ color:#c3d5f7; font-size:.85rem; margin-top:.35rem }
@media (max-width:960px){ .section-hardware{ padding:48px 0 } .section-hardware .hw-grid{ grid-template-columns:1fr } .section-hardware .hw-product{ order:-1 } }


/* === OVERRIDES v2 (fixed): seção Solução (mais impacto) === */
.section-showcase .shot img{ max-height: 437px; } /* +15% */
.section-showcase .desc h3{ font-size: 1.30rem; } /* +10–15% */
.section-showcase .desc p, .section-showcase .desc li{ font-size: 1.05rem; }
.section-showcase .tabs{ display:flex; justify-content:center; } /* centraliza */
.section-showcase .dots{ display:flex; justify-content:center; } /* centraliza */
@media (max-width:960px){ .section-showcase .shot img{ max-height: 368px; } }


/* === Section: Arquitetura (fundo neutro padrão) === */
.section-arquitetura{ padding:56px 0; background: var(--page, #0b1420); }
.section-arquitetura .arq-box{ max-width: 1000px; margin:0 auto; text-align:center; }
.section-arquitetura h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin:0 0 .4rem; }
.section-arquitetura .muted{ color: var(--muted); }

/* === Arquitetura: imagem centralizada === */
.section-arquitetura .arq-img{
  max-width:900px;
  width:90%;
  display:block;
  margin:1.5rem auto 0;
  border-radius:12px;
  box-shadow:0 6px 30px rgba(0,0,0,.35);
}
