/* ===== ELLED Tecnologia Visual — paleta extraída da identidade da marca ===== */
:root {
  --navy-900: #050d24;
  --navy-800: #081336;
  --navy-700: #0c1f4a;
  --navy-600: #102a63;
  --teal: #0b3a4a;
  --blue: #2b9bff;
  --blue-glow: #36d4ff;
  --brand-red: #e8412e;
  --brand-green: #5fb52a;
  --brand-blue: #2f7fd9;
  --text: #eaf1ff;
  --text-muted: #9fb3d4;
  --line: rgba(120, 160, 230, 0.16);
  --radius: 16px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.15; font-weight: 800; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 14px;
}
.glow { color: var(--blue-glow); text-shadow: 0 0 28px rgba(54, 212, 255, .65); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(5, 13, 36, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 46px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-glow));
  color: #03132e !important; font-weight: 700;
  padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(43, 155, 255, .35);
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .95rem;
  padding: 14px 28px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .18s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-glow));
  color: #03132e;
  box-shadow: 0 10px 30px rgba(43, 155, 255, .4);
}
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px clamp(16px, 4vw, 48px) 80px;
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(232, 65, 46, .18), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(11, 58, 74, .55), transparent 60%),
    linear-gradient(180deg, rgba(5,13,36,.78), rgba(5,13,36,.94));
}
.hero-content { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.02em; }
.hero p { margin: 22px 0 32px; font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--text-muted); max-width: 560px; }
.hero p strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Sora', sans-serif; font-size: 2.2rem; color: var(--blue-glow); }
.hero-stats span { font-size: .85rem; color: var(--text-muted); }

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px); max-width: var(--maxw); margin: 0 auto; }
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--text-muted); margin-top: 14px; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.section-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.section-text p { color: var(--text-muted); margin-bottom: 14px; }
.section-text p strong { color: var(--text); }
.section-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.45); }

.pillars { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.pillars li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: var(--brand-red); box-shadow: 0 0 12px var(--brand-red); }
.dot-green { background: var(--brand-green); box-shadow: 0 0 12px var(--brand-green); }
.dot-blue { background: var(--brand-blue); box-shadow: 0 0 12px var(--brand-blue); }
.dot-cyan { background: var(--blue-glow); box-shadow: 0 0 12px var(--blue-glow); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-6px); border-color: var(--blue); background: rgba(43,155,255,.06); }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  font-size: 1.5rem; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(43,155,255,.22), rgba(54,212,255,.1));
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img, .g-item:hover video { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 18px 14px; font-size: .88rem; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(5,13,36,.92));
}

/* ===== Soluções ===== */
.solucoes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.sol-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.sol-card img { height: 240px; object-fit: cover; width: 100%; }
.sol-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sol-body h3 { font-size: 1.4rem; }
.sol-body p { color: var(--text-muted); font-size: .96rem; }

/* ===== Cidades ===== */
.cidades { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cidades span {
  font-family: 'Sora', sans-serif; font-weight: 600;
  padding: 12px 24px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(43,155,255,.06);
}
.cidades span:last-child { color: var(--blue-glow); border-color: var(--blue); }

/* ===== Form ===== */
.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: rgba(5,13,36,.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit; font-size: .95rem;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,155,255,.18);
}
.field textarea { resize: vertical; }
.form-msg { font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--brand-green); }
.form-msg.err { color: var(--brand-red); }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-800);
  border-top: 1px solid var(--line);
  padding: 64px clamp(16px, 4vw, 48px) 28px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 50px; border-radius: 8px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; max-width: 320px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-muted); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--blue-glow); }
.footer-bottom {
  max-width: var(--maxw); margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--text-muted); text-align: center;
}

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Nav login link ===== */
.nav-login {
  border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
  color: var(--text) !important;
}
.nav-login:hover { border-color: var(--blue); }

/* ===== Carrossel de vídeos ===== */
.carousel {
  display: flex; align-items: center; gap: 14px;
  max-width: 880px; margin: 0 auto;
}
.car-viewport { overflow: hidden; border-radius: var(--radius); flex: 1; }
.car-track { display: flex; transition: transform .5s cubic-bezier(.4,.1,.2,1); }
.car-slide {
  min-width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
  background: #02060f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.car-slide video { width: 100%; height: 100%; object-fit: contain; background: #02060f; }
.car-btn {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(43,155,255,.12);
  color: var(--text); font-size: 1.7rem; line-height: 1;
  cursor: pointer; transition: background .2s, transform .15s, border-color .2s;
}
.car-btn:hover { background: var(--blue); color: #03132e; transform: scale(1.08); border-color: var(--blue); }
.car-btn:disabled { opacity: .35; cursor: default; transform: none; background: rgba(43,155,255,.12); color: var(--text); }
.car-footer {
  max-width: 880px; margin: 22px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.car-counter { font-family: 'Sora', sans-serif; font-weight: 600; color: var(--text-muted); font-size: .9rem; }
.car-dots { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.car-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(159,179,212,.3); transition: background .2s, transform .2s;
}
.car-dot:hover { background: var(--text-muted); }
.car-dot.active { background: var(--blue-glow); transform: scale(1.3); box-shadow: 0 0 10px var(--blue-glow); }

/* ===== Login ===== */
.login-page {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 100px 20px 50px;
  background:
    radial-gradient(800px 600px at 80% 0%, rgba(43,155,255,.16), transparent 60%),
    radial-gradient(700px 600px at 10% 100%, rgba(11,58,74,.5), transparent 60%),
    var(--navy-900);
}
.login-card {
  width: 100%; max-width: 410px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.login-card .login-logo { height: 52px; border-radius: 8px; margin-bottom: 22px; }
.login-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.login-card .login-sub { color: var(--text-muted); font-size: .92rem; margin-bottom: 26px; }
.login-card .field { margin-bottom: 16px; }
.login-back { display: inline-block; margin-top: 18px; color: var(--text-muted); font-size: .88rem; }
.login-back:hover { color: var(--blue-glow); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav {
    position: fixed; top: 70px; right: 16px; left: 16px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(8,19,54,.98); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .25s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 10px 8px; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: block; }
  .section-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .g-wide { grid-column: span 2; }
  .solucoes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 1.8rem; }
  .carousel { gap: 6px; }
  .car-btn { width: 42px; height: 42px; font-size: 1.4rem; }
}
