/* ===== Fontes (arquivos locais, sem consulta externa) ===== */
@font-face{font-family:'Manrope';src:url(assets/fonts/manrope-latin-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Manrope';src:url(assets/fonts/manrope-latin-500-normal.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Manrope';src:url(assets/fonts/manrope-latin-600-normal.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url(assets/fonts/space-grotesk-latin-500-normal.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url(assets/fonts/space-grotesk-latin-600-normal.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url(assets/fonts/space-grotesk-latin-700-normal.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}

/* ===== Reset / base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Manrope', system-ui, sans-serif; background: #051618; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Acessibilidade ===== */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #0F969C; color: #051618; padding: 12px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ===== Nav ===== */
.topbar {
  width: 100%; box-sizing: border-box; padding: 11px 64px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  background: #031012; font-size: 13px; color: #6DA5C0;
}
.mainnav {
  width: 100%; box-sizing: border-box; padding: 22px 64px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid rgba(109,165,192,0.12);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 23px; font-weight: 700; color: #E8F3F4; }
.brand-name span { font-weight: 500; color: #6DA5C0; }

.nav { display: flex; gap: 38px; flex-wrap: wrap; font-size: 15px; color: #CFE3E8; }
.nav a { position: relative; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px;
  background: #0C7075; transition: right .25s ease;
}
.nav a:hover::after { right: 0; }

.btn-fill {
  display: inline-block; background: #0C7075; color: #051618;
  padding: 11px 24px; font-size: 14.5px; font-weight: 600; transition: filter .15s;
}
.btn-fill:hover { filter: brightness(1.1); }
.btn-fill.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn-fill.btn-xl { padding: 16px 34px; font-size: 15px; white-space: nowrap; }

.btn-outline {
  display: inline-block; border: 1px solid rgba(207,227,232,0.4); color: #F0F8F8;
  padding: 15px 30px; font-size: 15px; font-weight: 500; transition: background .15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

a:focus-visible, button:focus-visible { outline: 2px solid #0C7075; outline-offset: 3px; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #CFE3E8; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 760px) {
  .mainnav { position: relative; }
  .nav-toggle { display: flex; order: 3; }
  .mainnav .btn-fill { display: none; }
  .nav {
    display: flex !important; flex-direction: column; gap: 0; width: 100%;
    order: 4; max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .3s ease, opacity .25s ease;
  }
  .nav.is-open { max-height: 320px; opacity: 1; margin-top: 18px; }
  .nav a { padding: 12px 0; border-top: 1px solid rgba(109,165,192,0.14); font-size: 16px; }
}

/* ===== Hero ===== */
.hero-header { width: 100%; min-height: 100vh; background: #051618; display: flex; flex-direction: column; }
.hero { position: relative; flex: 1; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,22,24,0.95) 0%, rgba(7,46,51,0.78) 45%, rgba(12,112,117,0.25) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 64px; max-width: 720px; }
.hero-title {
  margin: 0 0 24px 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 56px; line-height: 1.12; color: #F0F8F8;
}
.hero-sub { margin: 0 0 38px 0; font-size: 17px; line-height: 1.7; color: #AFCBD2; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero-title { font-size: 36px; }
  .hero-header, .hero { min-height: auto; }
  .hero { padding: 80px 0; }
}

/* ===== Sobre ===== */
.sobre { width: 100%; min-height: 640px; background: #072E33; display: flex; align-items: center; box-sizing: border-box; padding: 96px 64px; }
.sobre-wrap { width: 100%; max-width: 1312px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 80px; }
.sobre-imgs { position: relative; flex: 1 1 420px; min-width: 320px; height: 480px; }
.sobre-img-main { position: absolute; left: 0; top: 0; width: 78%; height: 86%; object-fit: cover; box-shadow: 0 24px 50px rgba(3,16,18,0.45); }
.sobre-img-accent {
  position: absolute; right: 0; bottom: 0; width: 42%; height: 48%; object-fit: cover;
  border: 8px solid #072E33; box-shadow: 0 16px 36px rgba(3,16,18,0.5);
}
.sobre-text { flex: 1 1 420px; min-width: 320px; }
.sobre-title { margin: 0 0 26px 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; line-height: 1.2; color: #F0F8F8; }
.sobre-body { margin: 0 0 40px 0; font-size: 16.5px; line-height: 1.8; color: #AFCBD2; max-width: 480px; }
.stats { display: flex; gap: 0; border-top: 1px solid #1D4B54; }
.stat { flex: 1; padding: 22px 28px 0 0; }
.stat + .stat { border-left: 1px solid #1D4B54; padding: 22px 0 0 28px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: #0F969C; }
.stat-label { font-size: 14px; color: #8AADB5; margin-top: 6px; }

@media (max-width: 760px) {
  .sobre-imgs { height: 340px; }
  .sobre-title { font-size: 30px; }
}

/* ===== PPF / Níveis de proteção ===== */
.wrap { max-width: 1240px; margin: 0 auto; width: 100%; }
.ppf { width: 100%; min-height: 780px; background: #072E33; box-sizing: border-box; padding: 100px 64px; display: flex; align-items: center; }
.ppf-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.ppf .eyebrow { margin: 0 0 10px 0; font-size: 12.5px; letter-spacing: .04em; color: #0C7075; font-weight: 600; }
.ppf-title { margin: 0 0 12px 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; color: #F0F8F8; }
.ppf-sub { margin: 0; font-size: 15px; line-height: 1.7; color: #8AADB5; }

.niveis { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
.nivel {
  appearance: none; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 18px 20px;
  border: 1px solid rgba(109,165,192,0.18); border-radius: 10px; background: #051618;
  transition: border-color .2s ease, background-color .2s ease, transform .12s ease-out;
}
.nivel:hover { border-color: rgba(109,165,192,0.4); }
.nivel:active { transform: scale(.985); }
.nivel[aria-pressed="true"] { border-color: #0C7075; background: rgba(15,150,156,0.1); }
.nivel .n { grid-row: 1/3; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: #0C7075; padding-top: 3px; }
.nivel b { font-weight: 600; font-size: 16px; color: #F0F8F8; }
.nivel small { font-size: 13px; color: #8AADB5; line-height: 1.55; }

.ppf-spec { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: #8AADB5; }
.ppf-spec b { color: #F0F8F8; font-weight: 600; }

.mapa { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; }
.mapa svg { width: 100%; max-width: 300px; height: auto; }
.mapa .z { fill: #0A2126; stroke: #1D4B54; stroke-width: 1; transition: fill .35s ease, stroke .35s ease; }
.mapa .z.on { fill: rgba(15,150,156,0.55); stroke: #0C7075; }
.mapa .vidro { fill: #031012; stroke: #16363C; stroke-width: 1; }
.mapa .lbl { font-size: 9.5px; letter-spacing: .05em; fill: #5C7C85; }
.legenda { display: flex; gap: 18px; font-size: 12px; color: #8AADB5; }
.legenda i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -2px; }
.legenda .com { background: rgba(15,150,156,0.55); border: 1px solid #0C7075; }
.legenda .sem { background: #0A2126; border: 1px solid #1D4B54; }

@media (max-width: 900px) {
  .ppf-grid { grid-template-columns: 1fr; gap: 40px; }
  .mapa { order: -1; }
}

/* ===== Envelopamento ===== */
.envelopamento { width: 100%; min-height: 680px; background: #051618; box-sizing: border-box; padding: 100px 64px; display: flex; align-items: center; }
.env-grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 64px; align-items: center; }
.envelopamento .eyebrow { margin: 0 0 10px 0; font-size: 12.5px; letter-spacing: .04em; color: #0C7075; font-weight: 600; }
.env-title { margin: 0 0 16px 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; line-height: 1.2; color: #F0F8F8; }
.env-sub { margin: 0; font-size: 15px; line-height: 1.75; color: #8AADB5; max-width: 460px; }

.acab { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 28px; }
.acab li { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; color: #8AADB5; }
.acab b { color: #F0F8F8; font-weight: 600; font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; }
.acab i { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 5px; }

.env-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; height: 420px; }
.efoto-col { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.efoto-col .efoto { flex: 1; }
.efoto { position: relative; overflow: hidden; border-radius: 16px; height: 100%; }
.efoto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.efoto:hover img { transform: scale(1.05); }
.etag {
  position: absolute; left: 16px; bottom: 16px; font-size: 12.5px; font-weight: 600; color: #F0F8F8;
  background: rgba(5,22,24,0.72); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
  .env-grid { grid-template-columns: 1fr; gap: 40px; }
  .env-fotos { height: 320px; }
}
@media (max-width: 500px) {
  .acab { grid-template-columns: 1fr; }
}

/* ===== Serviços ===== */
.servicos { width: 100%; min-height: 820px; background: #051618; box-sizing: border-box; padding: 110px 64px; }
.servicos-wrap { max-width: 1280px; margin: 0 auto; }
.servicos-head { max-width: 640px; margin-bottom: 64px; }
.servicos-title { margin: 0 0 18px 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; color: #F0F8F8; }
.servicos-sub { margin: 0; font-size: 16px; line-height: 1.75; color: #8AADB5; }

.servicos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }

.card {
  background: #072E33; border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(3,16,18,0.5); }
.card:hover .card-img img { transform: scale(1.05); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-body { padding: 26px 22px 24px 22px; display: flex; flex-direction: column; flex: 1; gap: 16px; }
.card-title { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; color: #F0F8F8; }
.card-stats {
  display: flex; justify-content: space-between; padding: 14px 0;
  border-top: 1px solid rgba(109,165,192,0.18); border-bottom: 1px solid rgba(109,165,192,0.18);
}
.card-stat-label { font-size: 10.5px; letter-spacing: .02em; color: #6DA5C0; }
.card-stat-val { font-size: 13px; color: #CFE3E8; margin-top: 3px; }
.card-desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: #8AADB5; flex: 1; }
.card-btn {
  display: block; text-align: center; background: #0C7075; color: #051618;
  padding: 12px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: filter .15s;
}
.card-btn:hover { filter: brightness(1.1); }

@media (max-width: 480px) {
  .servicos-grid { gap: 14px; }
  .card-img { height: 150px; }
  .card-body { padding: 18px 16px 16px 16px; gap: 12px; }
  .card-title { font-size: 17px; }
}

/* ===== Galeria ===== */
.galeria { width: 100%; min-height: 820px; background: #072E33; box-sizing: border-box; padding: 110px 64px; }
.galeria-wrap { max-width: 1180px; margin: 0 auto; }
.galeria-title { margin: 0 0 14px 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; color: #F0F8F8; }
.galeria-sub { margin: 0 0 56px 0; font-size: 15.5px; color: #8AADB5; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 18px; }
.gcell { overflow: hidden; }
.gcell-big { grid-column: span 2; grid-row: span 2; }
.gcell-wide { grid-column: span 2; }
.gimg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gcell:hover .gimg { transform: scale(1.05); }

@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .gcell-big { grid-column: span 2; grid-row: span 2; }
  .gcell-wide { grid-column: span 2; }
}

/* ===== Contato / Rodapé ===== */
.contato { width: 100%; background: #051618; }
.cta { width: 100%; box-sizing: border-box; padding: 76px 64px; border-bottom: 1px solid rgba(109,165,192,0.12); }
.cta-wrap { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-title { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px; color: #F0F8F8; max-width: 480px; }

.footer-main { width: 100%; box-sizing: border-box; padding: 60px 64px 28px 64px; }
.footer-wrap { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.fcol-brand { flex: 2 1 260px; min-width: 240px; }
.fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fbrand-name { font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 700; color: #F0F8F8; }
.fbrand-name span { font-weight: 500; color: #6DA5C0; }
.ftext { margin: 0; font-size: 14px; line-height: 1.8; color: #8AADB5; max-width: 320px; }
.social { display: flex; gap: 14px; margin-top: 22px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #1D4B54;
  display: flex; align-items: center; justify-content: center; color: #8AADB5;
  transition: border-color .15s ease, color .15s ease;
}
.social a:hover { border-color: #6DA5C0; color: #6DA5C0; }
.social svg { width: 17px; height: 17px; }

.fcol { flex: 1 1 180px; min-width: 160px; }
.fcol.wide { flex: 1 1 220px; min-width: 220px; }
.fcol-title { font-size: 14.5px; font-weight: 600; color: #0C7075; margin-bottom: 20px; }
.flinks { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #8AADB5; }
.flink { position: relative; }
.flink::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: #6DA5C0; transition: right .25s ease; }
.flink:hover::after { right: 0; }

.footer-bottom {
  max-width: 1180px; margin: 48px auto 0 auto; padding-top: 22px; border-top: 1px solid rgba(109,165,192,0.12);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 12.5px; color: #4F6E78;
}
.footer-bottom-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.credit {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 999px; background: #0A2126; color: #8AADB5;
}
.credit strong { color: #CFE3E8; font-weight: 600; }

@media (max-width: 760px) {
  .cta-wrap { flex-direction: column; align-items: flex-start; }
}

/* ===== Botão flutuante WhatsApp ===== */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(0,0,0,0.48); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:focus-visible { outline: 2px solid #051618; outline-offset: 3px; }

@media (max-width: 760px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ===== Scroll / load reveal ===== */
.ab-load, .ab-reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.ab-load.ab-in, .ab-reveal.ab-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .ab-load, .ab-reveal { opacity: 1; transform: none; transition: none; }
}
