:root{
  --bg:#070b18;
  --bg2:#0b1020;
  --card:#0f1633;
  --muted:#aab3d4;
  --text:#eaf0ff;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --r: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 15% 10%, rgba(79,70,229,.25), transparent 60%),
              radial-gradient(900px 600px at 80% 20%, rgba(34,197,94,.12), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
}

/* containers */
.container{width:min(1120px, 92%); margin:0 auto}

/* topbar */
.topbar{border-bottom:1px solid var(--line); background:rgba(0,0,0,.15); backdrop-filter: blur(10px)}
.topbar__inner{display:flex; justify-content:space-between; align-items:center; padding:.55rem 0}
.pill{
  font-size:.85rem; color:var(--muted);
  border:1px solid var(--line);
  padding:.35rem .6rem; border-radius:999px;
  background:rgba(255,255,255,.04);
}
.topbar__links a{color:var(--muted); text-decoration:none; margin-left:14px}
.topbar__links a:hover{color:var(--text)}

/* header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(7,11,24,.55);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; padding:.85rem 0}
.brand{display:flex; gap:.6rem; align-items:center; text-decoration:none; color:var(--text)}
.brand__logo{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(79,70,229,1), rgba(34,197,94,1));
  font-weight:900;
  box-shadow: 0 10px 30px rgba(79,70,229,.22);
}
.brand__name{letter-spacing:.08em; font-weight:800}
.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--muted); text-decoration:none; font-weight:600}
.nav a:hover{color:var(--text)}

/* hamburger */
.hamb{display:none; width:44px; height:44px; border-radius:12px; border:1px solid var(--line);
  background:rgba(255,255,255,.04); cursor:pointer}
.hamb span{display:block; width:20px; height:2px; background:var(--text); margin:5px auto; border-radius:2px}

/* hero */
.hero{position:relative; padding:64px 0 28px}
.hero__inner{display:grid; grid-template-columns: 1.1fr .9fr; gap:26px; align-items:start}
.bg-grid{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(300px 280px at 20% 25%, black 40%, transparent 70%);
  pointer-events:none;
  opacity:.9;
}
.kicker{color:var(--muted); font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:.85rem}
.hero h1{margin:.2rem 0 .8rem; font-size: clamp(2rem, 3.3vw, 3.2rem); line-height:1.05}
.grad{
  background: linear-gradient(90deg, rgba(79,70,229,1), rgba(34,197,94,1));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{color:var(--muted); font-size:1.05rem; line-height:1.6; max-width:58ch}
.hero__cta{display:flex; gap:12px; margin:18px 0 18px}

.hero__stats{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:10px}
.stat{border:1px solid var(--line); border-radius:16px; padding:12px; background:rgba(255,255,255,.04)}
.stat__n{font-weight:900; font-size:1.1rem}
.stat__t{color:var(--muted); font-size:.9rem}

/* hero card */
.hero__card .glass{
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  padding:14px;
}
.glass__top{display:flex; justify-content:space-between; align-items:center; margin-bottom:12px}
.dots span{display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:6px; background:rgba(255,255,255,.20)}
.chip{font-size:.8rem; color:var(--muted); border:1px solid var(--line); padding:.3rem .55rem; border-radius:999px; background:rgba(0,0,0,.18)}
.mini{border:1px solid var(--line); border-radius:16px; padding:14px; background:rgba(0,0,0,.18); margin-bottom:12px}
.mini--alt{background:rgba(79,70,229,.08)}
.mini__title{font-weight:800; margin-bottom:10px}
.check{margin:0; padding-left:18px; color:var(--muted); line-height:1.75}
.tags{display:flex; flex-wrap:wrap; gap:8px}
.tags span{border:1px solid var(--line); padding:.35rem .55rem; border-radius:999px; color:var(--muted); font-weight:700; font-size:.85rem}

/* sections */
.section{padding:70px 0}
.section--alt{background:rgba(255,255,255,.03); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section__head{margin-bottom:22px}
.section__head h2{margin:0 0 8px; font-size: clamp(1.55rem, 2.2vw, 2.1rem)}
.section__head p{margin:0; color:var(--muted); max-width:72ch; line-height:1.6}

/* grids */
.grid{display:grid; gap:14px}
.cards{grid-template-columns:repeat(4,1fr)}
.card{
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.04);
  padding:16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 10px; color:var(--muted); line-height:1.55}
.bullets{margin:0; padding-left:18px; color:var(--muted); line-height:1.7}

.portfolio{grid-template-columns:repeat(4,1fr)}
.work{
  border:1px solid var(--line);
  border-radius: var(--r);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.20));
  padding:16px;
}
.work__badge{
  display:inline-block;
  padding:.3rem .55rem;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:.8rem;
  margin-bottom:10px;
}
.work h3{margin:0 0 8px}
.work p{margin:0; color:var(--muted); line-height:1.55}
.note{
  margin-top:16px; color:var(--muted);
  border:1px dashed rgba(255,255,255,.18);
  padding:14px; border-radius:16px;
}

/* steps */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.step{border:1px solid var(--line); border-radius: var(--r); padding:16px; background:rgba(255,255,255,.04)}
.step__n{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center;
  background:rgba(79,70,229,.18);
  border:1px solid rgba(79,70,229,.35);
  font-weight:900;
}
.step__c h3{margin:10px 0 6px}
.step__c p{margin:0; color:var(--muted); line-height:1.55}

/* quotes */
.quotes{grid-template-columns:repeat(3,1fr)}
.quote{
  border:1px solid var(--line);
  border-radius: var(--r);
  background:rgba(255,255,255,.04);
  padding:16px;
}
.quote blockquote{margin:0; font-size:1.05rem; line-height:1.6}
.quote figcaption{margin-top:10px; color:var(--muted)}

/* about */
.about{display:grid; grid-template-columns:1.1fr .9fr; gap:16px; align-items:start}
.about__text p{color:var(--muted); line-height:1.75; max-width:72ch}
.about__list{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.chip2{border:1px solid var(--line); padding:.5rem .75rem; border-radius:999px; background:rgba(0,0,0,.18); color:var(--muted); font-weight:700}
.panel{border:1px solid var(--line); border-radius: var(--r); padding:16px; background:rgba(255,255,255,.04); box-shadow:var(--shadow)}
.panel h3{margin:0 0 8px}

/* contact */
.contact{display:grid; grid-template-columns: .95fr 1.05fr; gap:14px; align-items:start}
.infoCard{
  border:1px solid var(--line);
  border-radius: var(--r);
  background:rgba(255,255,255,.04);
  padding:16px;
  margin-bottom:12px;
}
.infoRow{display:flex; justify-content:space-between; gap:10px; margin:10px 0; color:var(--muted)}
.divider{height:1px; background:var(--line); margin:12px 0}
.miniKpis{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px}
.miniKpis div{border:1px solid var(--line); border-radius:14px; padding:10px; background:rgba(0,0,0,.18); text-align:center}
.miniKpis b{font-size:1.1rem}
.miniKpis span{display:block; color:var(--muted); font-size:.85rem; margin-top:2px}

.form{
  border:1px solid var(--line);
  border-radius: var(--r);
  background:rgba(255,255,255,.04);
  padding:16px;
}
.form__row{display:flex; flex-direction:column; gap:6px; margin-bottom:12px}
label{font-weight:800}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.20);
  color:var(--text);
  outline:none;
}
input:focus, select:focus, textarea:focus{border-color:rgba(79,70,229,.6); box-shadow:0 0 0 4px rgba(79,70,229,.18)}
.small{font-size:.9rem}
.muted{color:var(--muted)}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.16);
  background: linear-gradient(90deg, rgba(79,70,229,1), rgba(34,197,94,1));
  color:#071021;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.06)}
.btn--ghost{
  background:rgba(255,255,255,.04);
  color:var(--text);
}
.btn--sm{padding:10px 12px; border-radius:12px}
.btn--wide{width:100%}

/* footer */
.footer{padding:26px 0}
.footer__inner{display:flex; justify-content:space-between; align-items:center; gap:12px}
.footer__links a{color:var(--muted); text-decoration:none; margin-left:12px}
.footer__links a:hover{color:var(--text)}
.brand--foot .brand__logo{width:34px; height:34px; border-radius:12px}

/* whatsapp floating */
.wpp{
  position:fixed; right:16px; bottom:16px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  color:var(--text);
  text-decoration:none;
  box-shadow: var(--shadow);
}
.wpp:hover{filter:brightness(1.08)}

/* responsive */
@media (max-width: 980px){
  .hero__inner, .about, .contact{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .portfolio{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .topbar__links{display:none}
  .cards, .portfolio, .steps, .quotes{grid-template-columns:1fr}
  .hero{padding:44px 0 22px}
  .hero__cta{flex-direction:column}
  .hero__stats{grid-template-columns:1fr}
  .nav{
    position:fixed; inset:72px 12px auto 12px;
    display:none; flex-direction:column; gap:10px;
    background:rgba(7,11,24,.92);
    border:1px solid var(--line);
    border-radius: 18px;
    padding:12px;
  }
  .nav.open{display:flex}
  .hamb{display:block}
}
/* Contact em 2 cards */
/* Força os cards do contato a terem a mesma altura */
.contact--two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:stretch; /* <- ESSENCIAL */
}

.contact--two > .infoCard{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}


.ctaBox{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}

@media (max-width: 980px){
  .contact--two{
    grid-template-columns: 1fr;
  }
}


/* ================================
   FIX DEFINITIVO – LOGO HEADER
   ================================ */

/* =====================================
   LOGO HEADER – HORIZONTAL + TRANSPARENTE
   ===================================== */
.header .brand__logoWrap{
  width: 200px;        /* ⬅ largura (logo comprida) */
  height: 80px;        /* ⬅ altura menor */
  min-width: 140px;
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;   /* ✅ fundo transparente */
  box-shadow: none;          /* remove sombra */
  border-radius: 0;          /* remove arredondamento */
  overflow: visible;
}

/* imagem da logo */
.header .brand__img{
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;       /* não corta */
  display: block;
}

/* fallback "N" (caso imagem não carregue) */
.header .brand__logoFallback{
  display: none;
}
