:root{
  --green:#145c2a;
  --green-dark:#0b3f1c;
  --green-deep:#06150c;
  --green-soft:#eaf5ee;
  --ink:#111827;
  --muted:#6b7280;
  --line:rgba(255,255,255,.14);
  --bg:#06150c;
  --white:#fff;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(20,92,42,.35), transparent 28%),
    linear-gradient(180deg,#06150c,#0b3f1c 48%,#06150c);
  color:var(--ink);
}

/* TOPO */
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(6,21,12,.82);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.12);
  padding:14px 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

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

.brand img{
  width:58px;
  height:58px;
  object-fit:contain;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  padding:6px;
}

.brand strong{
  display:block;
  font-size:18px;
  color:white;
}

.brand span{
  display:block;
  color:#d1d5db;
  font-size:13px;
  margin-top:3px;
}

nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

nav a{
  color:#f9fafb;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  opacity:.92;
}

nav a:hover{
  opacity:1;
}

.portalBtn,
.primary{
  background:linear-gradient(135deg,#145c2a,#073316);
  color:white!important;
  padding:12px 16px;
  border-radius:999px;
  box-shadow:0 12px 26px rgba(0,0,0,.22);
  transition:all .2s ease;
}

.portalBtn:hover,
.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.28);
}

main{
  max-width:1180px;
  margin:auto;
  padding:42px 18px;
}

/* HERO COM IMAGEM */
.hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.2fr .95fr;
  gap:28px;
  align-items:stretch;
  min-height:520px;
  border-radius:34px;
  padding:34px;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 80px rgba(0,0,0,.32);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,18,9,.92),rgba(7,51,22,.76),rgba(3,18,9,.88)),
    url('login-bg.png') center/cover no-repeat;
  filter:blur(2px) scale(1.02);
  z-index:0;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.13), transparent 28%),
    radial-gradient(circle at bottom right, rgba(20,92,42,.35), transparent 30%);
  z-index:1;
}

.hero > *{
  position:relative;
  z-index:2;
}

/* CARDS DO HERO */
.heroText,
.heroCard{
  border-radius:28px;
}

.heroText{
  padding:46px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(14px);
  box-shadow:none;
  color:white;
}

.heroText h1{
  color:white;
}

.heroText p{
  color:#e5e7eb;
}

.heroCard{
  padding:32px;
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.18);
  color:white;
  box-shadow:none;
}

.heroCard h2{
  font-size:28px;
  margin:0 0 14px;
  color:white;
}

.heroCard p{
  color:#e5e7eb;
}

.heroCard ul{
  padding-left:18px;
  line-height:1.7;
  font-weight:700;
  margin-bottom:0;
  color:#f9fafb;
}

.eyebrow,
.sectionTitle span{
  display:inline-block;
  color:#dcfce7;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

h1{
  font-size:48px;
  line-height:1.05;
  margin:22px 0 18px;
}

.heroActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
}

.primary,
.secondary{
  text-decoration:none;
  font-weight:800;
}

.secondary{
  color:white;
  border:1px solid rgba(255,255,255,.38);
  background:rgba(255,255,255,.08);
  padding:12px 16px;
  border-radius:999px;
  backdrop-filter:blur(10px);
}

/* SEÇÕES */
.clientsSection,
.about,
.cards article,
.contactSection{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.25);
  border-radius:28px;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.clientsSection{
  margin-top:28px;
  padding:34px 0;
  overflow:hidden;
}

.sectionTitle{
  padding:0 34px 20px;
}

.sectionTitle h2{
  font-size:34px;
  margin:14px 0 8px;
  color:#111827;
}

.sectionTitle p{
  color:#374151;
  font-size:16px;
  line-height:1.65;
}

.logoMarquee{
  overflow:hidden;
  position:relative;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
  padding:20px 0;
  background:#fff;
}

.logoMarquee::before,
.logoMarquee::after{
  content:"";
  position:absolute;
  top:0;
  width:90px;
  height:100%;
  z-index:2;
}

.logoMarquee::before{
  left:0;
  background:linear-gradient(90deg,#fff,transparent);
}

.logoMarquee::after{
  right:0;
  background:linear-gradient(270deg,#fff,transparent);
}

.logoTrack{
  display:flex;
  width:max-content;
  animation:scrollLogos 38s linear infinite;
}

.logoMarquee:hover .logoTrack{
  animation-play-state:paused;
}

.clientLogo{
  height:96px;
  min-width:155px;
  padding:10px 18px;
  margin:0 12px;
  border:1px solid #dbe3df;
  border-radius:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:900;
  color:#1f2937;
  background:linear-gradient(180deg,#ffffff,#f3f7f5);
  white-space:nowrap;
}

.clientLogo img{
  width:46px;
  height:46px;
  object-fit:contain;
  border-radius:10px;
}

.clientLogo span{
  font-size:13px;
}

.logoMissing{
  justify-content:center;
}

.logoMissing span{
  font-size:15px;
}

@keyframes scrollLogos{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ATUAÇÃO */
.about{
  margin-top:28px;
  padding:34px;
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:28px;
  align-items:start;
}

.about h2{
  font-size:32px;
  margin:14px 0 0;
  color:#111827;
}

.about p,
.cards p{
  color:#374151;
  font-size:16px;
  line-height:1.65;
}

/* CARDS */
.cards{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.cards article{
  padding:26px;
  transition:all .2s ease;
}

.cards article:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 56px rgba(0,0,0,.24);
}

.cards h3{
  margin:0 0 10px;
  color:var(--green);
  font-size:22px;
}

/* CONTATO */
.contactSection{
  margin-top:28px;
  padding:34px;
}

.contactSection .sectionTitle{
  padding:0 0 20px;
}

.contactBox{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  font-size:16px;
}

.contactBox p{
  margin:0;
  color:#374151;
}

.contactBox .primary{
  width:max-content;
  margin-top:8px;
}

/* RODAPÉ */
footer{
  max-width:1180px;
  margin:0 auto 28px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#d1d5db;
}

/* RESPONSIVO */
@media(max-width:900px){
  .topbar{
    position:relative;
    align-items:flex-start;
    flex-direction:column;
  }

  nav{
    gap:10px;
  }

  .hero{
    grid-template-columns:1fr;
    padding:22px;
    min-height:auto;
  }

  .about,
  .cards{
    grid-template-columns:1fr;
  }

  h1{
    font-size:34px;
  }

  .heroText{
    padding:30px;
  }

  footer{
    flex-direction:column;
  }
}

/* AJUSTE FINAL — SEÇÕES EM GLASS ESCURO */

.clientsSection,
.about,
.cards article,
.contactSection{
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 45px rgba(0,0,0,.32);
  color:#e5e7eb;
}

/* Textos das seções escuras */
.sectionTitle h2,
.about h2,
.cards h3{
  color:#ffffff;
}

.sectionTitle p,
.about p,
.cards p,
.contactBox p{
  color:#d1d5db;
}

/* Tag pequena */
.sectionTitle span{
  color:#dcfce7;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
}

/* Seção clientes */
.clientsSection{
  background:rgba(255,255,255,.075);
}

/* Letreiro dos clientes */
.logoMarquee{
  background:rgba(6,21,12,.72);
  border-top:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
}

.logoMarquee::before{
  background:linear-gradient(90deg,rgba(6,21,12,1),transparent);
}

.logoMarquee::after{
  background:linear-gradient(270deg,rgba(6,21,12,1),transparent);
}

/* Cards dos logos continuam claros para leitura */
.clientLogo{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 10px 24px rgba(0,0,0,.20);
  color:#111827;
}

/* Cards pequenos */
.cards article:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 56px rgba(0,0,0,.40);
}

/* Contato */
.contactBox .primary{
  background:linear-gradient(135deg,#145c2a,#073316);
  color:white!important;
}