/* ==========================================================================
   Diag Solutions — design system
   Azul-marinho (principal) + azul da marca (logo #0780CB) como destaque.
   ========================================================================== */
:root {
  --navy-950: #071528;
  --navy-900: #0B2342;
  --navy-800: #12305A;
  --navy-700: #1B3F70;
  --brand: #0780CB;          /* azul do logotipo — ícones, detalhes, elementos grandes */
  --brand-700: #05639E;      /* azul para texto/links sobre branco (contraste AA) */
  --brand-50: #EBF5FC;
  --brand-100: #D5EAF8;
  --ink: #16202E;
  --text: #2B3646;
  --muted: #586579;
  --line: #E2E7EE;
  --line-strong: #CBD3DE;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --success: #15803D;
  --danger: #B42318;
  --whatsapp: #128C4A;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 35, 66, .04), 0 8px 24px rgba(11, 35, 66, .06);
  --max: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -.028em; line-height: 1.08; }
h2, .h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -.022em; }
h3, .h3 { font-size: 1.3rem; }
.h4 { font-size: 1.15rem; }
.h5 { font-size: 1.02rem; margin-bottom: .35em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.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-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.container-narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine-print { font-size: .85rem; color: var(--muted); margin-top: 1.25rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* --------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.35em;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 0 1.6em; }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--brand-50); color: var(--navy-900); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.actions-center { justify-content: center; }
.actions-end { justify-content: flex-end; margin-top: 0; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-700); margin-bottom: .9rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.65; max-width: 62ch; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --------------------------------------------------------------- demo / header */
.demo-bar { background: #FEF3C7; color: #78350F; text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 12px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 620px) { .brand img { height: 40px; } }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: .97rem; text-decoration: none;
}
.site-nav ul a:hover { color: var(--navy-900); background: var(--bg-soft); }
.site-nav ul a[aria-current="page"] { color: var(--navy-900); font-weight: 650; box-shadow: inset 0 -2px 0 var(--brand); border-radius: 8px 8px 0 0; }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--navy-900); cursor: pointer;
  }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(11,35,66,.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px; font-size: 1.02rem; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0 8px 8px 0; background: var(--bg-soft); }
  .nav-cta { min-height: 48px; }
}

/* --------------------------------------------------------------- seções */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding-top: 24px; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; max-width: 640px; }

.grid { display: grid; gap: 20px; }
.grid > *, .two-col > *, .hero-grid > *, .contact-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.two-col-center { align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .actions-end { justify-content: flex-start; } }
.stack { display: grid; gap: 16px; }

/* --------------------------------------------------------------- hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--navy-900); max-width: 14ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2rem; color: var(--text); font-size: .95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--brand); width: 18px; height: 18px; }
.hero-media { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-900); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------- cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px); }
.section-soft .card { box-shadow: 0 1px 2px rgba(11,35,66,.03); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .98rem; }
.card-link { position: relative; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link h3 a, .card-link h2 a { color: var(--ink); text-decoration: none; }
.card-link h3 a::after, .card-link h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .card-link:hover { transform: translateY(-2px); } }
.card-link:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.card-link h3 a:focus-visible, .card-link h2 a:focus-visible { outline: none; }
.card-more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--brand-700); }
.card-more .icon { width: 16px; height: 16px; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--brand-50); color: var(--brand-700); flex: none;
}
.card-icon .icon { width: 24px; height: 24px; }
.card-icon-lg { width: 60px; height: 60px; border-radius: 16px; }
.card-icon-lg .icon { width: 30px; height: 30px; }
.card-icon-success { background: #E8F6EE; color: var(--success); }
.card-row { display: flex; gap: 16px; align-items: flex-start; }
.card-row .card-icon { margin-bottom: 0; }

.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .98rem; }

/* --------------------------------------------------------------- fluxo (processo) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.flow-step { position: relative; padding: 0 8px 0 0; }
.flow-step h3, .flow-step h2 { font-size: 1.12rem; margin-bottom: .4em; }
.flow-step p { color: var(--muted); font-size: .97rem; }
.flow-n {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px;
  background: var(--navy-900); color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.section-soft .flow-n { box-shadow: 0 0 0 6px var(--bg-soft); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; left: 48px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.flow-detailed .flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.flow-detailed .flow-step::after { display: none; }
.mini-list { margin-top: 14px; display: grid; gap: 6px; font-size: .92rem; color: var(--text); }
.mini-list li { padding-left: 16px; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 620px) {
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow-step { padding: 0 0 26px 58px; }
  .flow-n { position: absolute; left: 0; top: 0; }
  .flow-step:not(:last-child)::after { display: block; top: 46px; bottom: 4px; left: 19px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .flow-detailed .flow-step { padding: 22px 22px 22px 74px; margin-bottom: 14px; }
  .flow-detailed .flow-n { left: 20px; top: 22px; }
}

.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 28px; }
.pillars li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--brand-50); color: var(--navy-800); font-weight: 600; font-size: .9rem; }
.pillars .icon { width: 18px; height: 18px; color: var(--brand-700); }

/* --------------------------------------------------------------- tecnologias */
.tech-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tech-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tech-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--navy-900); background: #fff; }
@media (max-width: 860px) { .tech-groups { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- casos */
.case-empty { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.case-empty-text p { color: var(--muted); }
.case-steps { display: grid; gap: 12px; }
.case-steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 16px 18px; }
.case-steps strong { color: var(--ink); display: block; margin-bottom: 2px; }
.case-steps p { font-size: .93rem; color: var(--muted); margin: 0; }
.case-step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .85rem; }
.case-fields { display: grid; gap: 12px; margin: 0; }
.case-fields dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); }
.case-fields dd { margin: 2px 0 0; color: var(--text); }
@media (max-width: 860px) { .case-empty { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- CTA final */
.cta-final { padding-top: 0; }
.section-soft + .cta-final { padding-top: clamp(56px, 8vw, 96px); background: linear-gradient(180deg, var(--bg-soft) 0, var(--bg-soft) 50%, #fff 50%); }
.cta-box {
  background: var(--navy-900); color: #fff; border-radius: 22px;
  padding: clamp(36px, 6vw, 64px); text-align: center;
  background-image: radial-gradient(circle at 85% 0%, rgba(7,128,203,.35), transparent 55%);
}
.cta-box h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-box p { color: rgba(255,255,255,.82); max-width: 60ch; margin-inline: auto; font-size: 1.08rem; }
.cta-box .actions { justify-content: center; }

/* --------------------------------------------------------------- páginas internas */
.page-hero { padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 64px); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 22ch; color: var(--navy-900); }
.page-hero-inner { display: flex; gap: 24px; align-items: flex-start; }
.page-hero-inner .card-icon { margin-top: 6px; }
.page-hero-center { text-align: center; }
.page-hero-center h1, .page-hero-center .lead { margin-inline: auto; }
.page-hero-center .card-icon { margin-inline: auto; }
.page-hero-article h1 { max-width: none; }
@media (max-width: 620px) { .page-hero-inner { flex-direction: column; gap: 4px; } }

.breadcrumb { margin-bottom: 22px; font-size: .88rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-900); text-decoration: underline; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: .2em; color: var(--brand); }
.check-list-alert .icon { color: var(--navy-700); }

.note { display: flex; gap: 16px; margin-top: 40px; padding: 22px 24px; border-radius: var(--radius); background: #FFF8EB; border: 1px solid #F5DEB0; }
.note h3 { font-size: 1.05rem; margin-bottom: .3em; }
.note p { color: #5B4A2B; font-size: .97rem; }
.note-icon { color: #B45309; flex: none; }
.note-icon .icon { width: 26px; height: 26px; }

.related { margin-top: 36px; }
.link-list { display: grid; gap: 8px; }
.link-list a { font-weight: 600; }

.other-solutions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.other-solutions a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.other-solutions a:hover { border-color: var(--brand); }
.other-solutions .icon { color: var(--brand-700); }
@media (max-width: 960px) { .other-solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .other-solutions { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--brand-700); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Artigos / prosa */
.prose { font-size: 1.06rem; }
.article .prose { padding-top: clamp(32px, 5vw, 56px); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.2em 0 1.5em; }
.prose-grid > div { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 20px 22px; }
.prose-grid ul { font-size: .97rem; margin: 0; }
@media (max-width: 620px) { .prose-grid { grid-template-columns: 1fr; } }
.article-footer { padding-block: 40px clamp(56px, 8vw, 80px); }
.aside-solution { flex-direction: row; flex-wrap: wrap; column-gap: 18px; }
.aside-solution > div, .aside-solution .card-icon { margin-bottom: 0; }
.aside-solution .eyebrow { width: calc(100% - 64px); margin: 0; align-self: center; }
.aside-solution h2, .aside-solution p { width: 100%; }
.aside-solution h2 { margin: 14px 0 .3em; }

/* Filtros de conteúdo */
.chip-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-btn { font: inherit; font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip-btn:disabled { cursor: default; color: #8A95A5; border-style: dashed; }
.chip-count { font-size: .78rem; padding: 1px 7px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.chip-btn[aria-pressed="true"] .chip-count { background: rgba(255,255,255,.18); color: #fff; }
.article-card[hidden] { display: none; }

/* --------------------------------------------------------------- contato */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-channels { display: grid; gap: 12px; }
.channel { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
a.channel:hover { border-color: var(--brand); color: var(--text); }
.channel strong { display: block; color: var(--ink); margin-bottom: 2px; }
.channel > span:last-child > span { color: var(--muted); font-size: .97rem; word-break: break-word; }
.channel-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.channel-icon .icon { width: 22px; height: 22px; }
.channel-wa .channel-icon { background: #E7F6EE; color: var(--whatsapp); }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 620px) { .contact-form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .94rem; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(7,128,203,.2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .87rem; color: var(--danger); font-weight: 600; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-footer .fine-print { margin: 0; max-width: 46ch; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form-status.is-error { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; }
.form-status.is-success { background: #ECFDF3; color: var(--success); border: 1px solid #ABEFC6; }
.form-card { position: relative; }

/* --------------------------------------------------------------- rodapé */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.2fr; gap: 32px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: var(--text); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--navy-900); text-decoration: underline; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--brand-700); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(18,140,74,.3);
}
.wa-float:hover { background: #0E7A40; color: #fff; }
.wa-float .icon { width: 28px; height: 28px; }

/* Easter egg mantido do site original: 3 cliques no logo (página inicial) */
.diag-console {
  position: fixed; left: 20px; bottom: 20px; z-index: 300; width: min(340px, calc(100% - 40px));
  padding: 16px 18px; border-radius: 12px; background: rgba(7,21,40,.94); color: #5EE6A0;
  font: 14px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.diag-console span { display: block; }

@media print {
  .site-header, .wa-float, .cta-final, .site-footer { display: none; }
}
