/* MARFULL Engenharia — estilos do site */

:root {
  --navy-900: #010d29;
  --navy-800: #021640;
  --navy-700: #0a2459;
  --navy-600: #173a80;
  --volt: #2ee59d;          /* destaque elétrico (sobre fundo escuro) */
  --volt-dark: #087a4c;     /* destaque elétrico (texto sobre fundo claro) */
  --volt-soft: #e3fbf1;
  --wa: #25d366;
  --wa-dark: #1da851;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(2, 22, 64, .18);
  --shadow-lg: 0 30px 60px -20px rgba(2, 22, 64, .35);
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-800); color: #c9d4ea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section--dark .section-head p { color: #c9d4ea; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--volt-dark); margin-bottom: 12px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--volt); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  font-family: var(--font); line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 22px; height: 22px; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-600); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Topbar + Header */
.topbar { background: var(--navy-900); color: #c9d4ea; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 15px; height: 15px; color: var(--volt); }
.topbar__links { display: flex; gap: 22px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--volt); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { padding: 11px 20px; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .topbar__area { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header__cta .btn--wa span { display: none; }
  .header__cta .btn--wa { padding: 11px; }
}
@media (max-width: 560px) {
  .topbar { display: none; }
  .brand img { height: 36px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #c9d4ea;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(46, 229, 157, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(23, 58, 128, .9), transparent 60%),
    var(--navy-800);
  padding: 80px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--volt); }
.hero__lead { font-size: 1.2rem; max-width: 620px; margin-bottom: 30px; }
.hero__checks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; }
.hero__checks li { display: flex; align-items: center; gap: 8px; color: #fff; }
.hero__checks .icon { color: var(--volt); width: 18px; height: 18px; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.35)); }
.hero--page { padding: 64px 0 72px; }
.hero--page .container { grid-template-columns: 1fr; max-width: 920px; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero__art { max-width: 420px; margin: 0 auto; }
}

.breadcrumb { font-size: .85rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: #c9d4ea; }

/* Faixa de confiança */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust__item { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--navy-800); line-height: 1.1; }
.trust__label { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust__num { font-size: 1.35rem; }
}

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--volt-soft); color: var(--volt-dark); margin-bottom: 20px;
}
.card__icon .icon { width: 28px; height: 28px; }
.card p { color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.card li { display: flex; gap: 10px; padding: 5px 0; font-size: .97rem; }
.card li .icon { color: var(--volt-dark); width: 18px; height: 18px; margin-top: 4px; }
.card__link { margin-top: auto; font-weight: 700; color: var(--navy-800); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.card__link:hover { gap: 12px; }
.card--featured { background: var(--navy-800); color: #c9d4ea; border-color: var(--navy-800); }
.card--featured h3 { color: #fff; }
.card--featured p { color: #c9d4ea; }
.card--featured .card__icon { background: rgba(46,229,157,.15); color: var(--volt); }
.card--featured li .icon { color: var(--volt); }
.card--featured .card__link { color: var(--volt); }
.badge { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--volt); color: var(--navy-900); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* Etapas */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy-800); color: var(--volt); font-family: var(--font-head); font-weight: 700; margin-bottom: 16px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split (texto + imagem) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { display: flex; gap: 12px; padding: 8px 0; }
.checklist .icon { color: var(--volt-dark); width: 22px; height: 22px; margin-top: 2px; }
.section--dark .checklist .icon { color: var(--volt); }

/* Tabela comparativa */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.is-highlight { background: var(--volt-soft); }
td strong { color: var(--ink); }

/* Marcas */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brands span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--ink); background: #fff; font-size: .95rem; }

/* Áreas atendidas */
.cities { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.cities li { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: .95rem; }
.cities .icon { width: 16px; height: 16px; color: var(--volt); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink);
  position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--volt-dark); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 24px 20px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* CTA banner */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg); padding: 48px; color: #c9d4ea;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(46,229,157,.35), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } .cta-band .btn-row { justify-content: flex-start; } }

/* Contato */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .card__icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; }
.contact-list .card__icon .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.contact-list small { color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 4px; }
.form > p { color: var(--muted); font-size: .95rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form { padding: 24px 18px; } }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-alt);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); background: #fff; }
textarea { resize: vertical; min-height: 110px; }
.form__note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Conteúdo longo (guias) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .callout { background: var(--volt-soft); border-left: 4px solid var(--volt-dark); border-radius: 12px; padding: 18px 22px; margin: 1.6em 0; color: var(--ink); }
.prose .table-wrap { margin: 1.4em 0; }
.toc { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 2em; }
.toc strong { color: var(--ink); }
.toc ol { margin: 10px 0 0; }

/* Footer */
.footer { background: var(--navy-900); color: #93a3c4; padding: 72px 0 0; font-size: .95rem; }
.footer a { color: #c9d4ea; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer__brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact .icon { color: var(--volt); width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 22px 0 100px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Botão flutuante WhatsApp + barra móvel */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 34px; height: 34px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -10px rgba(2,22,64,.25);
  }
  .mobile-bar .btn { padding: 13px 10px; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
