/* Econerg - paginas internas (Produtos e Servicos). Mesma identidade da home: azul #004aad, logo com sublinhado vermelho. */
:root {
  --blue: #004aad;
  --blue-dark: #003682;
  --navy: #06203f;
  --ink: #1d2733;
  --muted: #5a6572;
  --line: #e2e8f0;
  --soft: #f4f6fa;
  --white: #ffffff;
  --red: #e30613;
  --radius: 14px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Mulish", "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, .nav, .btn, .tag, .kicker {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 2px; }

/* ---------- cabecalho ---------- */
.topo { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.logo img { height: 58px; width: auto; }
.nav-toggle, .nav-burger { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav li { position: relative; }
.nav > ul > li > a, .nav > ul > li > span {
  display: flex; align-items: center; gap: .35rem; background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 0 14px; height: 43px; border-radius: 3px; cursor: pointer;
}
.nav > ul > li > a:hover, .nav > ul > li:hover > span, .nav > ul > li:focus-within > span { background: var(--blue-dark); color: #fff; }
.nav .sub-seta { font-size: .7em; }
.nav li ul {
  position: absolute; top: 100%; left: 0; min-width: 260px; display: none; flex-direction: column; align-items: stretch; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgba(6, 32, 63, .15); padding: 6px 0; z-index: 60;
}
.nav li:hover > ul, .nav li:focus-within > ul { display: flex; }
.nav li ul a { display: block; padding: .65rem 1rem; color: #4c555e; font-weight: 700; font-size: 15px; text-decoration: none; font-family: "Mulish", sans-serif; }
.nav li ul a:hover { background: #e6efff; color: var(--navy); }

/* ---------- migalhas / hero ---------- */
.migalha { font-size: .9rem; color: var(--muted); padding: 1rem 0 0; }
.migalha a { color: var(--muted); text-decoration: none; }
.migalha a:hover { text-decoration: underline; }
.migalha span { margin: 0 .4rem; }

.hero { padding: 1.5rem 0 2.5rem; }
.hero.com-imagem .wrap { display: grid; gap: 2rem; grid-template-columns: 1.1fr .9fr; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: .6rem; display: block; }
.lead { font-size: 1.15rem; color: #3b4654; max-width: 62ch; }
.hero-img { border-radius: var(--radius); overflow: hidden; background: #000; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none; font-weight: 700; font-size: .95rem;
  background: var(--blue); color: #fff; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--blue); cursor: pointer; line-height: 1.2;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.sec { background: transparent; color: var(--blue); }
.btn.sec:hover { background: var(--blue); color: #fff; }
.btn.pequeno { padding: .6rem 1.1rem; font-size: .85rem; }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- confianca ---------- */
.confianca { background: var(--soft); border-block: 1px solid var(--line); }
.confianca ul { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem 1.5rem; }
.confianca li { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.confianca strong { display: block; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: .95rem; }

/* ---------- secoes ---------- */
section { padding: 3rem 0; }
section.cinza { background: var(--soft); }
.sec-titulo { max-width: 70ch; margin-bottom: 1.75rem; }
.sec-titulo p { color: var(--muted); margin: 0; }

/* ---------- produtos ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.card .foto { background: #000; height: 210px; display: grid; place-items: center; }
.card .foto img { max-height: 210px; width: auto; max-width: 100%; object-fit: contain; }
.card .corpo { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .01em; }
.card p { margin: 0; color: #46515e; font-size: .97rem; }
.card .rodape { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding-top: .4rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); border: 1px solid var(--blue); padding: .3rem .6rem; border-radius: 3px; }

.cards-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.info { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 8px; padding: 1.3rem; }
.info h3 { margin-bottom: .4rem; }
.info p { margin: 0; color: #46515e; font-size: .97rem; }
section.cinza .info { background: #fff; }

.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; max-width: 70ch; }
.lista-check li { position: relative; padding-left: 2rem; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy);
  position: relative; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .8rem; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 2.5rem 1.2rem 0; color: #3b4654; margin: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); text-transform: uppercase; }
.cta h2 em { color: #5fb0ff; font-style: normal; }
.cta p { color: #c9d6e8; }
.cta .painel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.cta .painel h3 { color: #7fc0ff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.cta ol { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.cta ol li { counter-increment: n; display: flex; gap: .9rem; padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #e8effa; font-size: .97rem; }
.cta ol li:first-child { border-top: 0; }
.cta ol li::before { content: "0" counter(n); font-family: "Montserrat", sans-serif; font-weight: 700; color: #fff; }

/* ---------- relacionados ---------- */
.relacionados { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- rodape ---------- */
.rodape-site { background: #fff; border-top: 1px solid var(--line); padding: 2.5rem 0 1.5rem; font-size: .95rem; color: var(--muted); }
.rodape-site .cols { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 2rem; }
.rodape-site h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.rodape-site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.rodape-site a { color: var(--muted); text-decoration: none; }
.rodape-site a:hover { color: var(--blue); text-decoration: underline; }
.rodape-site .copy { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .hero.com-imagem .wrap, .cta .wrap { grid-template-columns: 1fr; }
  .rodape-site .cols { grid-template-columns: 1fr; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; content: ""; }
  .nav-burger span::before { position: absolute; top: -7px; }
  .nav-burger span::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; box-shadow: 0 12px 24px rgba(6, 32, 63, .12); }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav li ul { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 .8rem; min-width: 0; }
  .nav > ul > li > span { cursor: default; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 2.2rem 0; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
