:root{
  --bg:#0d1117;
  --bg-soft:#161b22;
  --panel:#11161d;
  --line:#30363d;
  --text:#f0f6fc;
  --muted:#8b949e;
  --muted-2:#c9d1d9;
  --green:#238636;
  --green-hover:#2ea043;
  --green-strong:#3fb950;
  --shadow-soft:0 10px 30px rgba(0,0,0,.18);
  --shadow-strong:0 18px 38px rgba(0,0,0,.24);
  --container:1240px;
  --radius-xl:24px;
  --radius-lg:20px;
  --radius-md:14px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(46,160,67,.10), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(31,111,235,.08), transparent 30%),
    linear-gradient(180deg, #0d1117 0%, #0b1118 100%);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea,
select{
  font:inherit;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

/* HEADER PADRÃO */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(14px);
  background:rgba(13,17,23,.84);
  border-bottom:1px solid rgba(240,246,252,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:76px;
  padding:10px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  transition:transform .2s ease;
}

.brand:hover{
  transform:translateY(-1px);
}

.brand-logo{
  flex-shrink:0;
}

.brand-logo img{
  width:38px;
  height:38px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--line);
  background:var(--bg-soft);
  box-shadow:var(--shadow-soft);
}

.brand-text{
  min-width:0;
}

.brand-text strong{
  display:block;
  font-size:15px;
  font-weight:800;
  color:var(--text);
  letter-spacing:-.02em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.brand-text span{
  display:block;
  margin-top:2px;
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  position:relative;
  font-size:14px;
  font-weight:700;
  color:var(--muted-2);
  letter-spacing:.01em;
  transition:color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.nav a:hover{
  color:var(--text);
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  border-radius:999px;
  background:var(--green-hover);
  opacity:.96;
  transition:width .25s ease;
}

.nav a:hover::after,
.nav a.active::after{
  width:100%;
}

.nav a.contact-link{
  padding:10px 14px;
  border:1px solid rgba(240,246,252,.08);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}

.nav a.contact-link::after{
  display:none;
}

.nav a.contact-link:hover{
  border-color:#484f58;
  background:rgba(255,255,255,.04);
  transform:translateY(-1px);
}

/* HERO PADRÃO */
.hero{
  position:relative;
  overflow:hidden;
  padding:86px 0 40px;
}

.hero--full{
  min-height:calc(100vh - 76px);
  display:flex;
  align-items:center;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:-2;
}

.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.hero-overlay-dark::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(13,17,23,.94) 0%, rgba(13,17,23,.84) 42%, rgba(13,17,23,.60) 100%);
  z-index:-1;
}

.hero-overlay-soft::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 14% 10%, rgba(46,160,67,.10), transparent 22%),
    radial-gradient(circle at 86% 20%, rgba(31,111,235,.10), transparent 28%);
  z-index:-1;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
}

.hero-copy{
  max-width:820px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(240,246,252,.12);
  background:rgba(22,27,34,.70);
  color:var(--muted-2);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green-hover);
  box-shadow:0 0 0 6px rgba(46,160,67,.12);
}

h1,h2,h3,h4{
  font-family:"Manrope", "Inter", sans-serif;
}

.hero-copy h1{
  margin:22px 0 14px;
  font-size:clamp(38px, 6vw, 72px);
  line-height:.98;
  letter-spacing:-.06em;
  max-width:10ch;
  font-weight:800;
}

.hero-copy p{
  margin:0;
  max-width:720px;
  color:var(--muted-2);
  font-size:17px;
  line-height:1.78;
}

.hero-copy.no-subtext p{
  display:none;
}

.hero-cta{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}

.hero-note{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  font-weight:600;
}

.highlight{
  color:#fff;
  font-weight:800;
}

/* BOTÕES */
.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 22px;
  border-radius:14px;
  font-weight:800;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary{
  background:linear-gradient(180deg, var(--green-strong), var(--green));
  color:#fff;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 16px 34px rgba(35,134,54,.22);
}

.btn-primary:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg, #49c35f, var(--green-hover));
  box-shadow:0 18px 38px rgba(35,134,54,.28);
}

.btn-secondary{
  border:1px solid rgba(240,246,252,.10);
  background:rgba(255,255,255,.03);
  color:var(--muted-2);
}

.btn-secondary:hover{
  transform:translateY(-2px);
  border-color:#484f58;
  color:var(--text);
  background:rgba(255,255,255,.05);
}

/* BLOCOS / CARDS */
.section{
  padding:24px 0 30px;
}

.section-head{
  max-width:920px;
  margin-bottom:24px;
}

.section-head h2{
  margin:0 0 10px;
  font-size:32px;
  line-height:1.12;
  letter-spacing:-.04em;
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
  max-width:720px;
}

.cards,
.services-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:22px;
}

.card,
.service-box,
.hero-card,
.mini-box,
.panel,
.cta-box{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(22,27,34,.92), rgba(13,17,23,.98));
  box-shadow:var(--shadow-soft);
}

.card,
.service-box,
.hero-card,
.panel,
.cta-box{
  border-radius:24px;
}

.mini-box{
  border-radius:20px;
}

.card,
.service-box,
.hero-card,
.panel{
  padding:22px;
}

.card,
.service-box{
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card:hover,
.service-box:hover{
  transform:translateY(-4px);
  border-color:#484f58;
  box-shadow:var(--shadow-strong);
}

.card small,
.service-tag{
  display:inline-block;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(46,160,67,.10);
  border:1px solid rgba(46,160,67,.24);
  color:#7ee787;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.card h3,
.service-box h3,
.hero-card h3,
.panel h3,
.cta-copy h3{
  margin:0 0 12px;
  line-height:1.15;
  letter-spacing:-.03em;
}

.card h3,
.service-box h3{
  font-size:24px;
}

.card p,
.service-box p,
.panel p,
.cta-copy p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.72;
}

.hero-side{
  display:grid;
  gap:18px;
}

.hero-list,
.clean-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}

.hero-list li,
.clean-list li{
  position:relative;
  padding-left:20px;
  color:var(--muted-2);
  font-size:15px;
  line-height:1.65;
}

.hero-list li::before,
.clean-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green-hover);
}

.hero-mini{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}

.mini-box{
  padding:20px;
}

.mini-box strong{
  display:block;
  margin-bottom:6px;
  font-family:"Manrope", "Inter", sans-serif;
  font-size:19px;
  line-height:1.1;
}

.mini-box span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

/* LIGHTBOX / IMAGEM */
.lightbox{
  position:relative;
  width:100%;
  min-height:320px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(240,246,252,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    #0f141b;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  margin:0 0 16px;
}

.lightbox img{
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center center;
  transition:transform .45s ease;
}

.service-box:hover .lightbox img,
.card:hover .lightbox img{
  transform:scale(1.03);
}

/* LINKS DOS SERVIÇOS */
.service-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.service-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
}

.service-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  border-radius:12px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(240,246,252,.08);
  color:var(--muted-2);
  font-size:14px;
  font-weight:700;
  transition:.2s ease;
}

.service-link:hover{
  color:var(--text);
  border-color:#484f58;
  background:rgba(255,255,255,.05);
  transform:translateY(-2px);
}

/* CTA */
.cta-band{
  padding:18px 0 34px;
}

.cta-box{
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}

.cta-copy h3{
  font-size:28px;
}

.cta-copy p{
  max-width:700px;
}

/* MAPA */
.map-section{
  padding:8px 0 28px;
}

.map-box{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}

.map-box iframe{
  width:100%;
  height:380px;
  border:0;
  display:block;
}

/* FOOTER */
footer{
  margin-top:10px;
  border-top:1px solid rgba(240,246,252,.06);
}

.footer-inner{
  padding:26px 0 38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:14px;
}

.footer-inner a{
  color:var(--muted-2);
  font-weight:700;
}

.footer-inner a:hover{
  color:var(--text);
}

/* ANIMAÇÕES */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .65s ease, transform .65s ease;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

.float-soft{
  animation:floatSoft 5s ease-in-out infinite;
}

@keyframes floatSoft{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-6px); }
}

.pulse-soft{
  animation:pulseSoft 2.8s ease-in-out infinite;
}

@keyframes pulseSoft{
  0%,100%{ box-shadow:0 16px 34px rgba(35,134,54,.22); }
  50%{ box-shadow:0 18px 42px rgba(35,134,54,.34); }
}

/* RESPONSIVO */
@media (max-width:1080px){
  .hero-grid,
  .cards,
  .services-grid{
    grid-template-columns:1fr;
  }

  .hero-copy h1{
    max-width:12ch;
  }
}

@media (max-width:820px){
  .header-inner{
    padding:12px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    justify-content:flex-start;
    gap:12px 14px;
  }

  .hero{
    padding:58px 0 28px;
  }

  .section{
    padding:16px 0 30px;
  }

  .section-head h2{
    font-size:28px;
  }

  .hero-copy p,
  .section-head p,
  .service-box p,
  .card p,
  .cta-copy p{
    font-size:15px;
  }
}

@media (max-width:560px){
  .container{
    width:min(100% - 20px, var(--container));
  }

  .site-header{
    position:sticky;
  }

  .header-inner{
    gap:14px;
    min-height:auto;
    padding:10px 0 12px;
  }

  .brand{
    width:100%;
    align-items:center;
    gap:10px;
  }

  .brand-logo img{
    width:32px;
    height:32px;
    border-radius:8px;
  }

  .brand-text strong{
    font-size:13px;
  }

  .brand-text span{
    font-size:10px;
    line-height:1.35;
    white-space:normal;
  }

  /* MENU MOBILE PADRÃO DO INDEX */
  .nav{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:6px;
  }

  .nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 6px;
    font-size:11px;
    border:1px solid rgba(240,246,252,.08);
    border-radius:10px;
    background:rgba(255,255,255,.02);
    text-align:center;
  }

  .nav a::after{
    display:none;
  }

  .nav a.active{
    border-color:rgba(46,160,67,.45);
    background:rgba(46,160,67,.10);
    color:#fff;
  }

  /* CONTATO SOME NO MOBILE */
  .nav a.contact-link{
    display:none;
  }

  .hero{
    padding:42px 0 24px;
  }

  .hero-copy{
    max-width:100%;
    text-align:center;
  }

  .eyebrow{
    padding:7px 11px;
    font-size:8px;
    gap:8px;
    line-height:1.15;
  }

  .eyebrow::before{
    width:6px;
    height:6px;
  }

  .hero-copy h1{
    margin:16px auto 10px;
    font-size:clamp(27px, 8vw, 40px);
    line-height:1.06;
    letter-spacing:-.05em;
    max-width:12ch;
    text-align:center;
  }

  .hero-cta{
    margin-top:16px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
    min-width:0;
    padding:14px 18px;
    font-size:14px;
    border-radius:12px;
  }

  .hero-note{
    text-align:center;
    font-size:12px;
  }

  .section{
    padding:12px 0 28px;
  }

  .section-head{
    margin-bottom:20px;
  }

  .section-head h2{
    font-size:22px;
    line-height:1.15;
    margin-bottom:10px;
  }

  .section-head p{
    font-size:14px;
    line-height:1.65;
  }

  .card,
  .service-box,
  .hero-card,
  .panel{
    padding:16px;
    border-radius:18px;
  }

  .card h3,
  .service-box h3{
    font-size:22px;
  }

  .hero-mini{
    grid-template-columns:1fr;
  }

  .lightbox,
  .lightbox img{
    min-height:250px;
    height:250px;
  }

  .cta-box{
    padding:18px;
    gap:16px;
    border-radius:18px;
  }

  .cta-copy h3{
    font-size:22px;
    line-height:1.15;
  }

  .cta-copy p{
    font-size:14px;
    line-height:1.6;
  }

  .map-box iframe{
    height:300px;
  }

  .footer-inner{
    padding:18px 0 26px;
    font-size:12px;
    line-height:1.5;
  }
}

@media (prefers-reduced-motion:reduce){
  *{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }

  .reveal{
    opacity:1 !important;
    transform:none !important;
  }
}