:root {
  --green: #1db954;
  --green-dark: #0d8c3a;
  --green-deep: #0a5c26;
  --navy: #0d3349;
  --navy-mid: #1a4f6e;
  --white: #f8fdf9;
  --off-white: #eef7f1;
  --gray: #6b8a7a;
  --card-bg: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw;
  background: rgba(248,253,249,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29,185,84,0.15);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(13,51,73,.08); }
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.25rem;
  color: var(--navy);
  display: flex; align-items: center; gap: .5rem;
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .85rem; font-weight: 500; letter-spacing: .04em;
  color: var(--navy); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: .45rem 1.2rem; border-radius: 100px;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 7rem 5vw 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f8ee 0%, #f8fdf9 55%, #e0f4e8 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .06;
  background-image:
    repeating-linear-gradient(60deg, transparent, transparent 28px, var(--green-dark) 28px, var(--green-dark) 29px),
    repeating-linear-gradient(-60deg, transparent, transparent 28px, var(--green-dark) 28px, var(--green-dark) 29px);
}
.hero-blob {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,185,84,.18) 0%, transparent 70%);
  top: -100px; right: -100px; border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.08);opacity:.8} }
.hero-content { position: relative; text-align: center; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(29,185,84,.12); border: 1px solid rgba(29,185,84,.3);
  color: var(--green-dark); font-size: .8rem; font-weight: 600;
  padding: .35rem 1rem; border-radius: 100px; margin-bottom: 1.8rem;
  letter-spacing: .06em; text-transform: uppercase;
  animation: fadeDown .6s ease both;
}
.hero-badge::before { content: '●'; font-size: .5rem; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900; line-height: 1.0;
  color: var(--navy);
  letter-spacing: -0.01em;
  animation: fadeUp .7s .1s ease both;
}
h1 em { font-style: normal; color: var(--green); }
.hero-sub {
  margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.7;
  color: var(--gray); max-width: 560px; margin-inline: auto;
  animation: fadeUp .7s .25s ease both;
}
.hero-actions {
  margin-top: 2.5rem; display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  animation: fadeUp .7s .4s ease both;
}
.btn-primary {
  background: var(--green); color: #fff;
  padding: .85rem 2rem; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(29,185,84,.35);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,185,84,.4); }
.btn-outline {
  background: transparent; color: var(--navy);
  padding: .85rem 2rem; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 2px solid var(--navy);
  transition: all .2s; cursor: pointer;
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.hero-stats {
  margin-top: 4rem; display: flex; gap: 3rem; justify-content: center;
  animation: fadeUp .7s .55s ease both;
}
.stat { text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--green-dark); }
.stat-label { font-size: .78rem; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:none} }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── SECTION BASE ─── */
section { padding: 6rem 5vw; }
.section-tag {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: .8rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--navy); line-height: 1.0;
  letter-spacing: -0.01em;
}
.section-title em { font-style: normal; color: var(--green); }
.section-sub { font-size: 1rem; color: var(--gray); line-height: 1.7; max-width: 540px; margin-top: .8rem; }

/* ─── SOBRE ─── */
#sobre { background: var(--off-white); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1100px; margin: 3rem auto 0; }
.sobre-visual {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  border-radius: 24px; padding: 3rem;
  color: #fff; position: relative; overflow: hidden;
}
.sobre-visual::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.08); border-radius: 50%;
}
.sobre-visual-quote {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 800;
  line-height: 1.2; position: relative; z-index: 1; letter-spacing: -0.01em;
}
.sobre-visual-sub { margin-top: 1.5rem; font-size: .9rem; opacity: .8; line-height: 1.6; position: relative; z-index: 1; }
.sobre-pills { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 1; }
.pill {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px; padding: .3rem .9rem; font-size: .8rem; font-weight: 500;
}
.sobre-text p { font-size: 1rem; line-height: 1.75; color: var(--gray); margin-bottom: 1.2rem; }
.sobre-text strong { color: var(--navy); }

/* ─── COMPROMISSO ─── */
#compromisso { background: var(--white); }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1100px; margin: 3rem auto 0; }
.comp-card {
  border-radius: 20px; padding: 2.5rem;
  transition: transform .3s, box-shadow .3s;
  cursor: default;
}
.comp-card:hover { transform: translateY(-6px); }
.comp-card.green-card {
  background: linear-gradient(150deg, var(--green-deep) 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 12px 40px rgba(29,185,84,.3);
}
.comp-card.white-card {
  background: var(--card-bg); color: var(--navy);
  border: 1.5px solid rgba(29,185,84,.2);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.comp-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.comp-card h3 { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; }
.comp-card p { font-size: .92rem; line-height: 1.7; opacity: .88; }
.comp-card ul { margin-top: 1.2rem; list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.comp-card ul li { font-size: .9rem; display: flex; gap: .6rem; align-items: flex-start; }
.comp-card ul li::before { content: '→'; font-weight: 700; flex-shrink: 0; }
.white-card ul li::before { color: var(--green); }

/* ─── SERVIÇOS ─── */
#servicos { background: var(--off-white); }
.servicos-intro { max-width: 1100px; margin: 0 auto; }
.servicos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1100px; margin: 2.5rem auto 0; }
.servico-card {
  background: var(--card-bg); border-radius: 16px;
  padding: 1.8rem 1.5rem;
  border: 1.5px solid transparent;
  transition: all .3s; cursor: default;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  position: relative; overflow: hidden;
}
.servico-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.servico-card:hover { border-color: rgba(29,185,84,.25); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.servico-card:hover::after { transform: scaleX(1); }
.servico-icon { font-size: 2rem; margin-bottom: .9rem; }
.servico-card h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.servico-card p { font-size: .85rem; color: var(--gray); line-height: 1.6; }

/* ─── EQUIPAMENTOS ─── */
#equipamentos { background: var(--white); }
.equip-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1100px; margin: 3rem auto 0; }
.equip-list { display: flex; flex-direction: column; gap: 1rem; }
.equip-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem; border-radius: 12px;
  background: var(--off-white); border: 1px solid rgba(29,185,84,.15);
  transition: all .25s;
}
.equip-item:hover { background: #e0f4e8; border-color: var(--green); transform: translateX(4px); }
.equip-icon { font-size: 1.4rem; flex-shrink: 0; }
.equip-name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.equip-img-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 24px; padding: 3rem 2.5rem; color: #fff;
  position: relative; overflow: hidden;
}
.equip-img-block::before {
  content: '🛡️'; font-size: 8rem; position: absolute;
  right: -20px; bottom: -20px; opacity: .1;
}
.equip-img-block h3 { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: .8rem; }
.equip-img-block p { font-size: .9rem; opacity: .8; line-height: 1.7; }
.equip-checklist { margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.equip-checklist-item { display: flex; align-items: center; gap: .7rem; font-size: .88rem; opacity: .9; }

/* ─── EPI ─── */
#seguranca { background: var(--off-white); }
.epi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 3rem auto 0; }
.epi-card {
  background: var(--card-bg); border-radius: 20px; padding: 2rem;
  border: 1.5px solid rgba(29,185,84,.12);
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: all .3s;
}
.epi-card:hover { border-color: var(--green); box-shadow: 0 8px 30px rgba(29,185,84,.15); transform: translateY(-4px); }
.epi-card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.epi-card h4 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.epi-card p { font-size: .88rem; color: var(--gray); line-height: 1.65; }

/* ─── PRODUTOS ─── */
#produtos { background: var(--white); }
.marcas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; max-width: 900px; margin: 2.5rem auto 0; }
.marca-chip {
  background: var(--off-white); border: 1.5px solid rgba(13,51,73,.12);
  border-radius: 12px; padding: .7rem 1.4rem;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .85rem;
  color: var(--navy); transition: all .25s; cursor: default;
}
.marca-chip:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(29,185,84,.3); }

/* ─── CLIENTES ─── */
#clientes { background: var(--off-white); }
.clientes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1100px; margin: 3rem auto 0; }
.cliente-card {
  background: var(--card-bg); border-radius: 16px;
  padding: 1.5rem; text-align: center;
  border: 1.5px solid rgba(29,185,84,.12);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: all .3s;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.cliente-card:hover { border-color: var(--green); transform: translateY(-5px); box-shadow: 0 10px 28px rgba(29,185,84,.15); }
.cliente-logo-wrap {
  width: 100%; height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .2rem;
}
.logo-img {
  max-width: 140px; max-height: 64px;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .2s;
}
.cliente-card:hover .logo-img { transform: scale(1.06); }
.check-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: .75rem; font-weight: 700; flex-shrink: 0;
}
.logo-svg {
  width: 150px; height: 52px;
  border-radius: 6px;
  overflow: hidden;
}
.logo-fallback {
  width: 150px; height: 52px;
  border-radius: 6px;
  overflow: hidden;
}
.cliente-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .88rem; color: var(--navy); }
.cliente-seg { font-size: .75rem; color: var(--gray); }
.segmentos { display: flex; gap: 1rem; flex-wrap: wrap; max-width: 1100px; margin: 1.5rem auto 0; }
.segmento-tag {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(29,185,84,.1); border: 1px solid rgba(29,185,84,.25);
  border-radius: 100px; padding: .45rem 1rem;
  font-size: .82rem; font-weight: 600; color: var(--green-dark);
}

/* ─── CONTATO ─── */
#contato {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 50%, var(--green) 100%);
  color: #fff; text-align: center; padding: 7rem 5vw;
  position: relative; overflow: hidden;
}
#contato::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(60deg, transparent, transparent 28px, rgba(255,255,255,.03) 28px, rgba(255,255,255,.03) 29px),
    repeating-linear-gradient(-60deg, transparent, transparent 28px, rgba(255,255,255,.03) 28px, rgba(255,255,255,.03) 29px);
}
#contato .section-tag { color: rgba(255,255,255,.7); }
#contato .section-title { color: #fff; max-width: 700px; margin: 0 auto; }
#contato .section-sub { color: rgba(255,255,255,.8); margin: 1rem auto 2.5rem; }
.contato-cards { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; position: relative; z-index: 1; }
.contato-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: 1.5rem 2rem; min-width: 200px;
  backdrop-filter: blur(10px);
  transition: all .25s; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.contato-card:hover { background: rgba(255,255,255,.2); transform: translateY(-4px); }
.contato-card-icon { font-size: 1.6rem; }
.contato-card-label { font-size: .72rem; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.contato-card-value { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; }
.cta-btn-white {
  display: inline-block; margin-top: 3rem; position: relative; z-index: 1;
  background: #fff; color: var(--green-deep);
  padding: 1rem 2.5rem; border-radius: 100px;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.cta-btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.25); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  text-align: center; padding: 2rem 5vw; font-size: .82rem;
}
footer strong { color: var(--green); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .sobre-grid, .comp-grid, .equip-layout { grid-template-columns: 1fr; gap: 2rem; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .epi-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  nav { padding: 1rem 4vw; }
  .nav-links { display: none; }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 560px) {
  .servicos-grid { grid-template-columns: 1fr; }
  .epi-grid { grid-template-columns: 1fr; }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  h1 { font-size: 2.2rem; }
}
