/* ==========================================================================
   J316 SERVICES — Folha de estilo principal
   Site estático · Mobile-first · Sem dependências externas
   --------------------------------------------------------------------------
   PARA MUDAR AS CORES DO SITE INTEIRO: altere apenas os valores abaixo.
   ========================================================================== */

:root {
  /* Cores da marca — troque aqui e o site inteiro acompanha */
  --navy:        #17324a;
  --navy-soft:   #24486a;
  --navy-deep:   #102438;
  --gold:        #c9a227;
  --gold-light:  #e3c55c;
  --green:       #1b7f4d;
  --white:       #ffffff;
  --off:         #f6f7f9;
  --line:        #e2e6ec;
  --text:        #1a2430;
  --text-soft:   #55606e;
  --wa:          #25d366;

  /* Tipografia — usa a fonte do sistema, carrega instantâneo */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Medidas */
  --max:   1140px;
  --narrow: 760px;
  --radius: 10px;
  --shadow: 0 2px 4px rgba(15,35,56,.06), 0 8px 24px rgba(15,35,56,.08);
  --shadow-lg: 0 12px 40px rgba(15,35,56,.14);
}

/* ---------- Reset ---------- */
*, *::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(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .6em; color: var(--navy); font-weight: 750; letter-spacing: -.015em; }
h1 { font-size: clamp(1.85rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--navy); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--narrow); }
section { padding: 3.5rem 0; }
section.tight { padding: 2.25rem 0; }
@media (min-width: 820px) { section { padding: 5rem 0; } }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Aviso de rascunho (some quando publicar) ---------- */
.draft-note {
  background: #fff8dd;
  border-bottom: 1px solid #f0d98a;
  color: #6b5200;
  font-size: .82rem;
  padding: .6rem 0;
  text-align: center;
}
.draft-note strong { color: #4a3900; }

/* ---------- Cabeçalho ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cbd6e2;
  font-size: .84rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: center; padding: .5rem 20px; }
.topbar a { color: #e6edf5; }
.topbar .dot { color: var(--gold); }

header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none !important; }
/* Logo da marca: no cabecalho usa a versao azul, sobre o fundo claro */
.logo-mark { display: flex; align-items: center; }
.logo-mark img { height: 54px; width: auto; display: block; }

/* Logo no rodape: versao com o nome em branco, para o fundo escuro */
.footer-logo { height: 76px; width: auto; display: block; margin-bottom: 1.1rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { color: var(--navy); font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; }
.logo-text span { color: var(--text-soft); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }

/* Navegação */
nav.main { display: none; }
nav.main a {
  color: var(--text); font-size: .94rem; font-weight: 550;
  padding: .45rem .1rem; margin: 0 .55rem;
  border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--navy); border-bottom-color: var(--gold); text-decoration: none; }
nav.main a.active { color: var(--navy); border-bottom-color: var(--navy); }

.header-cta { display: none; }

.burger {
  display: grid; place-items: center;
  width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--white); border-radius: 9px; cursor: pointer; padding: 0;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }

@media (min-width: 1000px) {
  nav.main { display: flex; align-items: center; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
}

/* Menu mobile */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: .5rem 0 1.1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .8rem 20px;
  border-bottom: 1px solid var(--off);
  color: var(--text); font-weight: 550;
}
.mobile-menu a:hover { background: var(--off); text-decoration: none; }
.mobile-menu .btn { margin: 1rem 20px 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.35rem;
  border-radius: 9px;
  font-weight: 700; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa  { background: var(--wa); color: #06301a; box-shadow: 0 4px 14px rgba(37,211,102,.32); }
.btn-wa:hover { box-shadow: 0 6px 20px rgba(37,211,102,.42); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-gold { background: var(--gold); color: #3a2c00; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.ic { width: 19px; height: 19px; flex: 0 0 19px; fill: currentColor; }

/* ---------- Herói ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(201,162,39,.20), transparent 62%),
    linear-gradient(158deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 3.25rem 0 3rem;
  position: relative; overflow: hidden;
}
@media (min-width: 900px) { .hero { padding: 5rem 0 4.5rem; } }
.hero h1 { color: var(--white); margin-bottom: .5rem; }
.hero h1 .hl { color: var(--gold-light); }
.hero .lead { font-size: clamp(1.03rem, 2.1vw, 1.2rem); color: #d3dde8; max-width: 40em; margin-bottom: 1.6rem; }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; } }

.hero .eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 700;
  border: 1px solid rgba(201,162,39,.45);
  padding: .32rem .75rem; border-radius: 999px;
}

/* Card lateral do herói */
.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 1.5rem;
}
.hero-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.hero-card li { display: flex; gap: .6rem; align-items: flex-start; color: #d8e2ec; font-size: .93rem; margin-bottom: .7rem; }
.hero-card li .ck { color: var(--gold); flex: 0 0 18px; margin-top: .18rem; }
.hero-card .btn { width: 100%; }
.hero-card .mini { font-size: .8rem; color: #9fb0c2; text-align: center; margin: .75rem 0 0; }

/* ---------- Barra de confiança ---------- */
.trust { background: var(--navy-soft); color: var(--white); padding: 1.35rem 0; }
.trust .grid { gap: 1rem; }
.trust-item { text-align: center; }
.trust-item b { display: block; font-size: 1.45rem; color: var(--gold-light); font-weight: 800; letter-spacing: -.02em; }
.trust-item span { font-size: .83rem; color: #c8d5e2; }

/* ---------- Cartões ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover { border-color: #c9d3df; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--text-soft); font-size: .94rem; margin-bottom: .9rem; }
.card .price {
  display: inline-block; font-weight: 750; color: var(--green);
  font-size: .92rem; margin-bottom: 1rem;
}
.card .price small { display: block; color: var(--text-soft); font-weight: 500; font-size: .78rem; }
.card .more { font-weight: 700; font-size: .9rem; color: var(--navy-soft); }
.card .more::after { content: " →"; }

.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #eef2f7; color: var(--navy);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 23px; height: 23px; fill: currentColor; }

/* Índice de link para serviço */
a.card { display: block; color: inherit; text-decoration: none !important; }

/* ---------- Blocos de destaque ---------- */
.band-off { background: var(--off); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy p { color: #cfdae6; }
.band-navy a { color: var(--gold-light); }

.band-gold { background: linear-gradient(120deg, #fdf6e0, #fbf0cd); border-top: 1px solid #f0e0ab; border-bottom: 1px solid #f0e0ab; }

/* ---------- Caixas de aviso ---------- */
.box {
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--navy);
  background: var(--off);
  font-size: .95rem;
}
.box p:last-child { margin-bottom: 0; }
.box-title { font-weight: 750; color: var(--navy); display: block; margin-bottom: .3rem; }
.box-warn { border-left-color: #d98a00; background: #fff8e8; }
.box-warn .box-title { color: #8a5a00; }
.box-ok { border-left-color: var(--green); background: #eef8f2; }
.box-ok .box-title { color: #14603a; }
.box-info { border-left-color: var(--navy-soft); background: #eef3f9; }

/* Bloco de preço */
.price-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin: 1.75rem 0;
}
.price-box .row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .62rem 0; border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.price-box .row:last-of-type { border-bottom: 0; }
.price-box .row b { color: var(--navy); white-space: nowrap; }
.price-box .total {
  border-top: 2px solid var(--navy); margin-top: .5rem; padding-top: .75rem;
  font-size: 1.05rem;
}
.price-box .total b { color: var(--green); }
.price-box .note { font-size: .82rem; color: var(--text-soft); margin: .9rem 0 0; }

/* ---------- Listas com marca ---------- */
ul.check { list-style: none; padding-left: 0; }
ul.check li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 1.12em; height: 1.12em; border-radius: 50%;
  background: var(--green);
  -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;
}
ul.cross { list-style: none; padding-left: 0; }
ul.cross li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
ul.cross li::before {
  content: "×"; position: absolute; left: .25rem; top: 0;
  color: #c0392b; font-weight: 800; font-size: 1.15em; line-height: 1.5;
}

/* ---------- Passos numerados ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: s; position: relative;
  padding: 0 0 1.5rem 3.4rem; margin: 0;
  border-left: 2px solid var(--line);
  margin-left: 1.1rem;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s);
  position: absolute; left: -1.15rem; top: -.1rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  font-weight: 750; font-size: .95rem;
}
.steps li b { display: block; color: var(--navy); margin-bottom: .15rem; }

/* ---------- Acordeão FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: .1rem 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.05rem 2.2rem 1.05rem 0;
  font-weight: 650; color: var(--navy); position: relative;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold);
  transition: transform .18s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 1.2rem; color: var(--text-soft); font-size: .95rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Depoimentos ---------- */
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  display: flex; flex-direction: column; height: 100%;
}
.quote .stars { color: var(--gold); letter-spacing: .1em; margin-bottom: .6rem; font-size: .95rem; }
.quote p { font-size: .95rem; color: var(--text); flex: 1; }
.quote footer { font-size: .84rem; color: var(--text-soft); border-top: 1px solid var(--off); padding-top: .7rem; }
.quote footer b { display: block; color: var(--navy); font-size: .9rem; }

/* Placeholder visível para conteúdo que falta */
.ph {
  display: inline-block;
  background: #fff3cd;
  border: 1px dashed #d9a800;
  color: #7a5b00;
  padding: .1rem .45rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: .93em;
}
.ph-block {
  background: #fff9e6;
  border: 2px dashed #e0b800;
  border-radius: var(--radius);
  padding: 1.25rem;
  color: #6b5200;
  font-size: .93rem;
}
.ph-block b { display: block; margin-bottom: .35rem; color: #4a3900; }
.ph-block p:last-child { margin-bottom: 0; }

/* ---------- Formulário ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 650; color: var(--navy); margin-bottom: .35rem; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .85rem;
  border: 1px solid #ccd4de; border-radius: 8px;
  font-family: var(--font); font-size: .97rem; color: var(--text);
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--navy-soft); outline-offset: 1px; border-color: var(--navy-soft);
}
.field textarea { min-height: 105px; resize: vertical; }
.field .hint { font-size: .79rem; color: var(--text-soft); margin: .3rem 0 0; }
.form-note { font-size: .8rem; color: var(--text-soft); margin-top: 1rem; }

/* ---------- Contato ---------- */
.contact-line { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-line .ic { color: var(--gold); margin-top: .22rem; }
.contact-line b { display: block; color: var(--navy); font-size: .93rem; }
.contact-line span, .contact-line a { font-size: .93rem; color: var(--text-soft); }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); text-align: center;
  padding: 3.25rem 0;
}
.cta-final h2 { color: var(--white); }
.cta-final p { color: #cfdae6; max-width: 42em; margin: 0 auto 1.6rem; }
.cta-final .btn-row { justify-content: center; }

/* ---------- Rodapé ---------- */
footer.site {
  background: var(--navy-deep); color: #9fb0c2;
  padding: 3rem 0 1.5rem; font-size: .9rem;
}
footer.site h4 { color: var(--white); font-size: .92rem; margin-bottom: .85rem; letter-spacing: .02em; }
footer.site a { color: #c2d0de; }
footer.site a:hover { color: var(--gold-light); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: .5rem; }
footer .cols { display: grid; gap: 2rem; }
@media (min-width: 760px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
footer .brandline { display: block; margin-bottom: .25rem; }
footer .brandline b { color: var(--white); font-size: 1.05rem; }
footer .disclaimer {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.25rem; padding-top: 1.35rem;
  font-size: .79rem; color: #8095aa; line-height: 1.6;
}
footer .base {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 1.25rem; padding-top: 1.15rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; font-size: .8rem; color: #7e93a8;
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #06301a;
  padding: .8rem 1.1rem; border-radius: 999px;
  font-weight: 750; font-size: .92rem;
  box-shadow: 0 6px 22px rgba(37,211,102,.42);
  text-decoration: none !important;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; fill: #06301a; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .84rem; color: var(--text-soft); padding: 1rem 0 0; }
.crumb a { color: var(--text-soft); }
.crumb span { color: #9aa5b1; }

/* ---------- Utilidades ---------- */
.center { text-align: center; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.mt1 { margin-top: 1rem; }
.mt2 { margin-top: 2rem; }
.mt3 { margin-top: 3rem; }
.lead { font-size: 1.08rem; color: var(--text-soft); }
.small { font-size: .85rem; color: var(--text-soft); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: #3a2c00;
  padding: .75rem 1.1rem; z-index: 200; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.tag {
  display: inline-block; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px;
  background: #eef2f7; color: var(--navy-soft);
}
.tag-free { background: #eef8f2; color: #14603a; }
.tag-gold { background: #fdf3d4; color: #7a5b00; }

/* ---------- Impressão ---------- */
@media print {
  header.site, footer.site, .wa-float, .topbar, .draft-note, .cta-final { display: none; }
  body { font-size: 12pt; }
  .hero { background: none; color: #000; }
  .hero h1, .hero .lead { color: #000; }
  a { color: #000; text-decoration: none; }
}

/* ---------- Link da Area do Cliente no menu ---------- */
nav.main a.nav-cliente {
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  padding: .4rem .8rem;
  margin-left: .35rem;
  font-weight: 700;
}
nav.main a.nav-cliente:hover { background: var(--navy); color: var(--white); border-bottom-color: var(--navy); }
.mobile-menu a.nav-cliente { font-weight: 700; color: var(--navy); }