/* =========================================================
   REDE JB — folha de estilo única
   Para trocar cores, edite apenas as variáveis abaixo.
   ========================================================= */

:root {
  /* JB Seguros (azul marinho do logo) */
  --navy-900: #061a38;
  --navy-800: #0a2a5c;
  --navy-700: #0d3f7a;
  --navy-500: #1d5fb0;
  --navy-100: #e8f0fb;

  /* Neutros */
  --ink: #0f1a2b;
  --muted: #5b6b82;
  --line: #dfe6f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;

  /* JB Gráficas (gradiente do logo) */
  --g-blue: #1e7bff;
  --g-pink: #ff2d95;
  --g-yellow: #ffd21f;
  --g-dark: #070b16;

  /* JB Prime Digital */
  --p-dark: #050914;
  --p-navy: #0b1530;
  --p-electric: #2f6bff;
  --p-cyan: #4fc3ff;

  --whats: #25d366;

  /* Cor de destaque da página atual (cada tema troca) */
  --accent: var(--navy-700);
  --accent-strong: var(--navy-800);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(6, 26, 56, .08);
  --shadow-lg: 0 20px 50px rgba(6, 26, 56, .16);
  --container: 1180px;
  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.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: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(13, 63, 122, .28); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--outline { border-color: currentColor; color: var(--accent); background: transparent; }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--block { width: 100%; }

/* ---------- Topo / menu ---------- */
.topbar { background: var(--navy-900); color: #cfdcf0; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social svg { width: 16px; height: 16px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-700);
  color: #fff;
  font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18);
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; color: var(--navy-800); }
.brand__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); background: var(--navy-100); }
.nav .btn { margin-left: 8px; padding: 11px 20px; color: #fff; }
.nav .btn:hover { background: var(--accent-strong); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(79, 140, 230, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(29, 95, 176, .4), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 96px 0 110px;
}
.hero::after { /* linhas decorativas como nos posts do Instagram */
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgba(255,255,255,.05) 14px 15px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span { color: #8fc0ff; }
.hero__lead { font-size: 1.18rem; color: #d5e3f7; max-width: 560px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: #cfe0f7; font-size: .92rem; }
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 20px; height: 20px; color: #8fc0ff; }

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { font-size: 1.25rem; }
.hero-card p { color: #cfe0f7; font-size: .95rem; }
.quick-quote { display: grid; gap: 10px; margin-top: 18px; }
.quick-quote a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-weight: 600; transition: background .15s;
}
.quick-quote a:hover { background: rgba(255,255,255,.18); }
.quick-quote svg { width: 22px; height: 22px; color: #8fc0ff; flex: none; }
.quick-quote span { margin-left: auto; opacity: .7; }

/* ---------- Faixa de parceiros ---------- */
.partners { padding: 34px 0; border-bottom: 1px solid var(--line); }
.partners .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 48px; }
.partners__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.partner {
  font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; color: #8a99ae;
  filter: grayscale(1); transition: color .2s, filter .2s;
}
.partner img { height: 38px; width: auto; }
.partner:hover { color: var(--navy-700); filter: none; }

/* ---------- Cards de serviço ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-100); color: var(--accent);
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { margin: 4px 0 18px; display: grid; gap: 6px; font-size: .92rem; color: var(--ink); }
.card ul li { padding-left: 22px; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.card__link { margin-top: auto; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { gap: 10px; }
.card__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: #fff3d6; color: #8a5a00; margin-bottom: 12px; }

/* ---------- Passos ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-title); font-weight: 800;
  margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Bloco dividido (texto + lista) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checklist { display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 26px; height: 26px; flex: none; color: var(--accent); margin-top: 2px; }
.checklist strong { display: block; font-family: var(--font-title); }
.checklist span { color: var(--muted); font-size: .95rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { background: var(--navy-800); color: #fff; padding: 28px; border-radius: var(--radius); }
.stat:nth-child(2), .stat:nth-child(3) { background: var(--navy-100); color: var(--navy-800); }
.stat strong { display: block; font-family: var(--font-title); font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .92rem; opacity: .85; }

/* ---------- Sobre nós ---------- */
.split--about { grid-template-columns: 5fr 7fr; }
.about-photo {
  margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(420px 300px at 70% 20%, rgba(143, 192, 255, .35), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: flex-end; justify-content: center; padding-top: 40px; box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; max-width: 400px; height: auto; }
.about-photo figcaption {
  position: absolute; top: 18px; left: 18px; background: rgba(6, 26, 56, .8); color: #fff;
  padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); line-height: 1.3;
}
.about-photo figcaption strong { display: block; font-family: var(--font-title); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #8fc0ff; }
.about-photo figcaption span { font-size: .85rem; color: #cfdcf0; }
.lead-muted { color: var(--muted); }
.lead-muted strong { color: var(--ink); }
.stats--row { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }

.routed-to { background: var(--navy-100); color: var(--navy-800); padding: 12px 16px; border-radius: 10px; font-size: .92rem; }
.aside-contacts { display: grid; gap: 10px; }

/* ---------- Rede JB (3 empresas) ---------- */
.network-card {
  border-radius: var(--radius-lg); padding: 34px; color: #fff;
  display: flex; flex-direction: column; min-height: 340px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.network-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.network-card .brand__mark { width: 60px; height: 60px; font-size: 1.4rem; margin-bottom: 20px; }
.network-card p { opacity: .85; }
.network-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; }
.network-card ul li { font-size: .78rem; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.12); }
.network-card .card__link { color: #fff; }
.network-card--seguros { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); }
.network-card--grafica { background: radial-gradient(400px 220px at 100% 0%, rgba(255,45,149,.35), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(30,123,255,.4), transparent 70%), var(--g-dark); }
.network-card--grafica .brand__mark { background: linear-gradient(135deg, var(--g-yellow), var(--g-pink) 45%, var(--g-blue)); }
.network-card--prime { background: radial-gradient(420px 260px at 100% 100%, rgba(47,107,255,.45), transparent 70%), var(--p-dark); }
.network-card--prime .brand__mark { background: var(--p-navy); box-shadow: inset 0 0 0 2px var(--p-electric); }

/* ---------- Depoimentos ---------- */
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.quote__stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-style: italic; color: var(--ink); }
.quote footer { font-weight: 700; font-family: var(--font-title); font-size: .92rem; }
.quote footer span { display: block; font-weight: 500; color: var(--muted); font-family: var(--font-body); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-family: var(--font-title); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Faixa CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-500));
  color: #fff; border-radius: var(--radius-lg);
  padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: #d5e3f7; }
.cta-band .hero__ctas { flex: none; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card { text-align: center; }
.contact-card .card__icon { margin: 0 auto 16px; }
.contact-card a.btn { margin-top: auto; }
.map-wrap { margin-top: 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-900); color: #b6c6dd; padding: 70px 0 0; font-size: .94rem; }
.footer .container > .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: #8ea6c7; }
.footer__about { margin-top: 18px; max-width: 320px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  transition: background .15s, transform .15s;
}
.social a:hover { background: var(--navy-500); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer__legal { font-size: .8rem; color: #8ea6c7; margin-top: 10px; }

/* ---------- Botão flutuante WhatsApp ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--whats); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  animation: pulse 2.4s infinite;
}
.whats-float svg { width: 32px; height: 32px; }
.whats-float__label {
  position: absolute; right: 74px; white-space: nowrap;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem;
  padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(8px); transition: .2s; pointer-events: none;
}
.whats-float:hover .whats-float__label { opacity: 1; transform: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Página interna: cabeçalho ---------- */
.page-hero { padding: 80px 0 70px; color: #fff; text-align: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.page-hero p { color: #d5e3f7; max-width: 680px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; opacity: .75; margin-bottom: 14px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Formulário de cotação ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.progress { display: flex; gap: 8px; margin-bottom: 30px; }
.progress__step { flex: 1; }
.progress__bar { height: 6px; border-radius: 6px; background: var(--line); transition: background .3s; }
.progress__label { font-size: .78rem; color: var(--muted); margin-top: 8px; font-weight: 600; }
.progress__step.is-active .progress__bar, .progress__step.is-done .progress__bar { background: var(--accent); }
.progress__step.is-active .progress__label { color: var(--accent); }

.form-step { display: none; }
.form-step.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-step h2 { font-size: 1.5rem; }
.form-step > p { color: var(--muted); }

.type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 20px 0 8px; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option label {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 18px 10px; border: 2px solid var(--line); border-radius: 14px;
  cursor: pointer; font-weight: 600; font-size: .92rem; transition: .15s; height: 100%;
}
.type-option label svg { width: 30px; height: 30px; color: var(--accent); }
.type-option label:hover { border-color: var(--navy-500); }
.type-option input:checked + label { border-color: var(--accent); background: var(--navy-100); }
.type-option input:focus-visible + label { outline: 3px solid var(--navy-500); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(29, 95, 176, .15); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field.has-error input, .field.has-error select { border-color: #d93025; }
.field .error { display: none; color: #d93025; font-size: .8rem; }
.field.has-error .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .9rem; }
.chips input { accent-color: var(--accent); }
.chips label:has(input:checked) { border-color: var(--accent); background: var(--navy-100); }

.type-fields { display: none; }
.type-fields.is-active { display: contents; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 22px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); text-decoration: underline; }

.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.summary { background: var(--bg-soft); border-radius: 12px; padding: 20px; font-size: .92rem; white-space: pre-wrap; max-height: 320px; overflow: auto; border: 1px dashed var(--line); }

.aside-card { background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 100px; }
.aside-card p, .aside-card li { color: #cfdcf0; font-size: .94rem; }
.aside-card .checklist svg { color: #8fc0ff; }
.aside-card .checklist strong { color: #fff; }
.aside-card .checklist span { color: #cfdcf0; }
.aside-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 22px 0; }

/* ---------- Texto legal ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: #33445c; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }

/* =========================================================
   TEMA: JB GRÁFICAS
   ========================================================= */
.theme-grafica { --accent: var(--g-pink); --accent-strong: #e0157c; background: var(--g-dark); color: #e9edf7; }
.theme-grafica .header { background: rgba(7, 11, 22, .9); border-color: rgba(255,255,255,.08); }
.theme-grafica .nav a { color: #e9edf7; }
.theme-grafica .nav a:hover, .theme-grafica .nav a[aria-current="page"] { background: rgba(255,255,255,.08); color: #fff; }
.theme-grafica .nav-toggle { color: #fff; }
.theme-grafica .brand__name { color: #fff; }
.theme-grafica .brand__mark { background: linear-gradient(135deg, var(--g-yellow), var(--g-pink) 45%, var(--g-blue)); }
.theme-grafica .page-hero, .theme-grafica .hero {
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(255,45,149,.35), transparent 65%),
    radial-gradient(700px 420px at 0% 100%, rgba(30,123,255,.4), transparent 65%),
    var(--g-dark);
}
.theme-grafica .hero h1 span, .text-gradient {
  background: linear-gradient(90deg, var(--g-yellow), var(--g-pink) 45%, var(--g-blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.theme-grafica .section--soft { background: #0c1222; }
.theme-grafica .card, .theme-grafica .step, .theme-grafica .faq details { background: #0f1629; border-color: rgba(255,255,255,.08); color: #e9edf7; }
.theme-grafica .card p, .theme-grafica .step p, .theme-grafica .faq details p, .theme-grafica .section__head p { color: #9aa7c2; }
.theme-grafica .card ul { color: #d9e0ee; }
.theme-grafica .card__icon { background: linear-gradient(135deg, rgba(255,210,31,.15), rgba(255,45,149,.18), rgba(30,123,255,.2)); color: var(--g-yellow); }
.theme-grafica .eyebrow { color: var(--g-yellow); }
.theme-grafica .btn--primary { background: linear-gradient(90deg, var(--g-pink), var(--g-blue)); box-shadow: 0 8px 22px rgba(255,45,149,.3); }
.theme-grafica .step::before { background: linear-gradient(135deg, var(--g-pink), var(--g-blue)); }
.theme-grafica .cta-band { background: linear-gradient(110deg, #3a0f3a, #10204a 60%, #0b3c8a); }
.theme-grafica .footer { background: #04070f; }
.theme-grafica .card ul li::before { border-color: var(--g-yellow); }
.theme-grafica .card__link { color: var(--g-yellow); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item {
  aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #18213a, #0c1222);
  display: grid; place-items: center; text-align: center; color: #6c7a99; font-size: .85rem; padding: 12px;
  border: 1px dashed rgba(255,255,255,.12);
}
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600; text-align: left; font-size: .85rem;
}

/* =========================================================
   TEMA: JB PRIME DIGITAL
   ========================================================= */
.theme-prime { --accent: var(--p-electric); --accent-strong: #1f55e0; background: var(--p-dark); color: #e6ecfb; }
.theme-prime .header { background: rgba(5, 9, 20, .9); border-color: rgba(255,255,255,.08); }
.theme-prime .nav a { color: #e6ecfb; }
.theme-prime .nav a:hover, .theme-prime .nav a[aria-current="page"] { background: rgba(47,107,255,.15); color: #fff; }
.theme-prime .nav-toggle { color: #fff; }
.theme-prime .brand__name { color: #fff; }
.theme-prime .brand__mark { background: var(--p-navy); box-shadow: inset 0 0 0 2px var(--p-electric); }
.theme-prime .page-hero, .theme-prime .hero {
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(47,107,255,.4), transparent 65%),
    linear-gradient(180deg, var(--p-navy), var(--p-dark));
}
.theme-prime .hero h1 span { color: var(--p-electric); }
.theme-prime .section--soft { background: #08101f; }
.theme-prime .card, .theme-prime .step, .theme-prime .faq details { background: #0b1428; border-color: rgba(79,195,255,.1); color: #e6ecfb; }
.theme-prime .card p, .theme-prime .step p, .theme-prime .faq details p, .theme-prime .section__head p { color: #95a3c4; }
.theme-prime .card ul { color: #d6def0; }
.theme-prime .card__icon { background: rgba(47,107,255,.15); color: var(--p-cyan); }
.theme-prime .eyebrow { color: var(--p-cyan); }
.theme-prime .card__link { color: var(--p-cyan); }
.theme-prime .card ul li::before { border-color: var(--p-cyan); }
.theme-prime .btn--primary { box-shadow: 0 8px 22px rgba(47,107,255,.4); }
.theme-prime .cta-band { background: linear-gradient(110deg, #0b1a44, var(--p-electric)); }
.theme-prime .footer { background: #03060d; }
.big-statement, .hero-card .big-statement { font-family: var(--font-title); font-weight: 800; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; }
.big-statement span { color: var(--p-electric); }

/* ---------- Animação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .whats-float { animation: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .grid--4, .contact-grid, .stats--row { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(4, 1fr); }
  .footer .container > .grid { grid-template-columns: 1fr 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .25s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px; }
  .nav .btn { margin: 8px 0 0; }
  .theme-grafica .nav { background: var(--g-dark); }
  .theme-prime .nav { background: var(--p-dark); }
  .hero .container, .split, .split--about { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 460px; margin: 0 auto; width: 100%; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .topbar__hide-sm { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 76px; }
  .grid--2, .grid--3, .grid--4, .contact-grid { grid-template-columns: 1fr; }
  .stats, .stats--row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px; }
  .stat strong { font-size: 1.7rem; }
  .footer .container > .grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .cta-band { padding: 34px 24px; }
  .hero__ctas .btn { width: 100%; }
  .cta-band .hero__ctas { flex: 1 1 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .progress__label { display: none; }
  .topbar { display: none; }
  .whats-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* ---------- Sobre nós: título e citação ---------- */
.title-sep { color: var(--navy-500); font-weight: 400; }
.about-quote {
  margin: 26px 0 0; padding: 20px 24px; border-left: 4px solid var(--navy-500);
  background: var(--navy-100); border-radius: 0 12px 12px 0;
  font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; line-height: 1.5; color: var(--navy-800);
}
