:root{
  --bg: #0f141a;
  --bg2:#0b1015;
  --card:#141b22;
  --stroke: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --green:#18f06b;
  --green2:#00ff66;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 10% 10%, rgba(24,240,107,.12), transparent 55%),
              radial-gradient(900px 600px at 85% 20%, rgba(24,240,107,.10), transparent 50%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.container{width:min(1200px, 92%); margin:0 auto}

/* BACKGROUND EFFECTS */
.bg-effects{
  position:fixed; inset:0; pointer-events:none; z-index:-1;
}
.glow{
  position:absolute; filter:blur(70px); opacity:.55;
  width:520px; height:520px; border-radius:50%;
  background: radial-gradient(circle, rgba(24,240,107,.35), transparent 60%);
}
.g1{left:-120px; top:-120px}
.g2{right:-160px; top:80px; width:620px; height:620px; opacity:.35}
.grid{
  position:absolute; inset:0; opacity:.25;
  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: 58px 58px;
  mask-image: radial-gradient(circle at 20% 15%, rgba(0,0,0,1), rgba(0,0,0,0) 55%);
}

/* HEADER */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(12,16,21,.45);
  border-bottom:1px solid var(--stroke);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  letter-spacing:.12em; font-weight:800; font-size:14px;
}
.brand__dot{
  width:10px; height:10px; border-radius:999px;
  background:var(--green);
  box-shadow: 0 0 0 6px rgba(24,240,107,.12);
}
.brand__text{opacity:.95}

.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{
  font-weight:600;
  opacity:.86;
  font-size:14px;
  transition:.2s ease;
}
.nav a:hover{opacity:1}
.nav__cta{
  padding:10px 14px;
  border:1px solid rgba(24,240,107,.35);
  border-radius:999px;
  background: rgba(24,240,107,.08);
}
.nav__cta:hover{
  background: rgba(24,240,107,.14);
  border-color: rgba(24,240,107,.55);
}

/* burger */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.burger span{
  display:block; height:2px; width:18px;
  background: rgba(255,255,255,.85);
  margin:5px auto;
  border-radius:10px;
}
.mobile{
  display:none;
  border-top:1px solid var(--stroke);
  padding:12px 0 18px;
}
.mobile a{
  display:block;
  padding:12px 4%;
  font-weight:700;
  opacity:.9;
}
.mCta{
  margin:8px 4% 0;
  border-radius:14px;
  border:1px solid rgba(24,240,107,.35);
  background: rgba(24,240,107,.10);
}

/* HERO */
.hero{
  padding:56px 0 22px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:36px;
  align-items:center;
}
.kicker{
  color: var(--green);
  font-weight:700;
  margin:6px 0 10px;
}
.title{
  margin:0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .92;
  letter-spacing:-.02em;
  font-weight:900;
}
.hero__actions{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-top:22px;
}
.hero__badges{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:18px;
}
.pill{
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  border-radius:14px;
  font-weight:800;
  letter-spacing:.02em;
  border:1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:active{transform:scale(.98)}
.btn--primary{
  background: linear-gradient(180deg, rgba(24,240,107,.95), rgba(24,240,107,.75));
  color:#06110b;
  box-shadow: 0 18px 38px rgba(24,240,107,.12);
}
.btn--primary:hover{transform: translateY(-1px)}
.btn__icon{
  width:42px; height:42px;
  border-radius:12px;
  display:grid; place-items:center;
  background: rgba(6,17,11,.16);
  border:1px solid rgba(0,0,0,.10);
  font-size:20px;
}
.btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: var(--stroke);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
.btn--outline{
  background: transparent;
  border-color: rgba(255,255,255,.18);
}
.btn--outline:hover{
  border-color: rgba(24,240,107,.45);
  background: rgba(24,240,107,.06);
}

/* Hero Card photo */
.heroCard{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  min-height: 380px;
}
.heroCard__green{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent 0 60%, var(--green) 60% 100%);
  opacity:.92;
}
.heroCard__img{
  position:absolute;
  right:0;
  bottom:0;
  height: 100%;
  width: auto;
  object-fit:cover;
  transform: translateX(6px);
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.35));
}
.heroCard__shine{
  position:absolute; inset:0;
  background: radial-gradient(600px 240px at 40% 15%, rgba(255,255,255,.18), transparent 45%);
  mix-blend-mode: screen;
  opacity:.45;
}

/* SECTIONS */
.section{
  padding: 64px 0;
}
.section__label{
  font-size:14px;
  font-weight:900;
  letter-spacing:.12em;
  opacity:.9;
}
.sectionTop{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}
.section__title{
  margin:0;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight:900;
  letter-spacing:-.02em;
}
.headLine{
  display:flex;
  align-items:center;
  gap:18px;
  width:100%;
}
.line{
  height:2px;
  flex:1;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity:.9;
}

/* About */
.about{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:44px;
  align-items:center;
}
.photoFrame{
  position:relative;
  width:min(420px, 100%);
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.photoFrame__green{
  position:absolute;
  left:-28px; bottom:-28px;
  width:60%;
  height:60%;
  background: var(--green);
  opacity:.85;
}
.photoFrame img{
  position:relative;
  width:100%;
  height:auto;
}
.text{
  color: var(--muted);
  line-height:1.7;
  font-weight:500;
  max-width: 60ch;
}
.about__buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}
.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:22px;
}
.stat{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding:14px 14px;
}
.stat__n{
  font-size:26px;
  font-weight:900;
  color: rgba(255,255,255,.95);
}
.stat__t{
  margin-top:4px;
  font-size:12px;
  color: var(--muted2);
  font-weight:700;
}

/* Projects grid */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:18px;
}
.card{
  border-radius: 18px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.30);
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(24,240,107,.30);
  background: rgba(255,255,255,.04);
}
.card__img{
  aspect-ratio: 1/1;
  overflow:hidden;
}
.card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
}
.card__title{
  margin:14px 14px 6px;
  font-size:16px;
  font-weight:900;
}
.card__meta{
  margin:0 14px 16px;
  color: var(--green);
  font-weight:800;
  font-size:13px;
}

/* Service */
.service{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:44px;
  align-items:center;
}
.phones{
  display:flex;
  gap:18px;
  align-items:flex-end;
}
.phone{
  position:relative;
  width:min(280px, 46%);
  border-radius: 26px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform .2s ease;
}
.phone:hover{transform: translateY(-6px)}
.phone__glow{
  position:absolute;
  inset:-40px;
  background: radial-gradient(circle at 30% 20%, rgba(24,240,107,.20), transparent 55%);
  filter: blur(26px);
  opacity:.8;
  pointer-events:none;
}
.phone img{width:100%; height:auto}
.tag{
  display:inline-block;
  margin:12px 0 8px;
  font-weight:900;
  letter-spacing:.08em;
  color: var(--green);
}
.service__list{
  margin:18px 0 18px;
  display:grid;
  gap:10px;
}
.sItem{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
  font-weight:700;
}

/* Contact */
.section--contact{
  padding-bottom: 84px;
}
.contact__box{
  border-radius: 22px;
  border:1px solid rgba(24,240,107,.22);
  background: linear-gradient(180deg, rgba(24,240,107,.06), rgba(255,255,255,.02));
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  padding: 26px 22px;
  position:relative;
  overflow:hidden;
}
.contact__box:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(700px 260px at 20% 10%, rgba(24,240,107,.18), transparent 50%);
  opacity:.8;
  pointer-events:none;
}
.contact__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.mini{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Footer */
.footer{
  border-top:1px solid var(--stroke);
  background: rgba(12,16,21,.45);
  backdrop-filter: blur(12px);
}
.footer__inner{
  padding:18px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color: var(--muted2);
  font-weight:700;
}
.footer__right{
  letter-spacing:.12em;
  font-weight:900;
  opacity:.8;
}

/* To top */
.toTop{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px; height:46px;
  border-radius:14px;
  border:1px solid rgba(24,240,107,.30);
  background: rgba(24,240,107,.10);
  color: rgba(255,255,255,.92);
  font-weight:900;
  cursor:pointer;
  display:grid;
  place-items:center;
  opacity:0;
  transform: translateY(10px);
  pointer-events:none;
  transition:.2s ease;
}
.toTop.show{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

/* Reveal animation */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:26px}
  .heroCard{min-height: 340px}
  .about{grid-template-columns: 1fr; gap:24px}
  .service{grid-template-columns: 1fr; gap:24px}
  .cards{grid-template-columns: 1fr; gap:14px}
  .sectionTop{flex-direction:column; align-items:flex-start}
  .stats{grid-template-columns: 1fr; }
  .nav{display:none}
  .burger{display:block}
  .mobile.show{display:block}
}

@media (max-width: 420px){
  .btn{width:100%; justify-content:space-between}
  .heroCard__img{transform: translateX(0)}
}

/* ===== MODAL TELA CHEIA (ADICIONADO) ===== */
.img-modal{
  display:none;
  position:fixed;
  z-index:9999;
  inset:0;
  background: rgba(0,0,0,.95);
  justify-content:center;
  align-items:center;
}
.img-modal-content{
  max-width:95%;
  max-height:95%;
  border-radius:10px;
}
.img-modal .close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
}