/* =====================================================================
   Autotechne Solutions — site institucional
   Identidade do logotipo: azul-marinho grafite, azul-índigo, branco e
   cinza claro, com linhas de circuito como detalhe. Fonte Montserrat.
   Mobile-first; pontos de quebra em 640px, 900px e 1100px.
   ===================================================================== */
:root {
  /* cores */
  --navy: #1F2A3C;           /* azul-marinho grafite: títulos, botões, fundos escuros */
  --navy-deep: #141C2A;      /* rodapé e hover dos botões */
  --navy-soft: #2A3850;      /* hover suave */
  --indigo: #3B3F9A;         /* azul-índigo do raio: acento */
  --indigo-soft: rgba(59, 63, 154, .10);
  --indigo-line: rgba(59, 63, 154, .35);
  --gray: #8A94A3;           /* legendas, linhas de circuito */
  --gray-light: #E6E9ED;     /* bordas, fundos de apoio */
  --ice: #F5F6F8;            /* fundo da página */
  --white: #FFFFFF;          /* cartões */
  --ink: #1F2A3C;            /* texto principal */
  --ink-2: #44506A;          /* texto corrido */
  --muted: #5F6B80;          /* legendas (AA sobre branco e gelo) */
  --on-navy: #FFFFFF;        /* texto sobre marinho */
  --on-navy-muted: rgba(255, 255, 255, .72);
  --line: rgba(31, 42, 60, .14);
  --line-navy: rgba(255, 255, 255, .16);
  --wa: #25D366;             /* verde só nos botões de WhatsApp */
  --wa-dark: #1DAE54;
  --danger: #B4231F;

  /* tipografia */
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* formas */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(31, 42, 60, .08);
  --shadow-lg: 0 24px 60px rgba(31, 42, 60, .14);
  --container: 1160px;
  --header-h: 80px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  /* linhas de circuito (detalhe do logotipo), em cinza claro */
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23B9C0C8' stroke-width='1.5'%3E%3Cpath d='M20 40h60l30 30v70l-20 20H40'/%3E%3Cpath d='M160 20v60l40 40v90'/%3E%3Cpath d='M60 200h70l30-30'/%3E%3Ccircle cx='20' cy='40' r='4' fill='%23F5F6F8'/%3E%3Ccircle cx='40' cy='160' r='4' fill='%23F5F6F8'/%3E%3Ccircle cx='160' cy='20' r='4' fill='%23F5F6F8'/%3E%3Ccircle cx='200' cy='210' r='4' fill='%23F5F6F8'/%3E%3Ccircle cx='60' cy='200' r='4' fill='%23F5F6F8'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ice);
  overflow-x: clip;
}
html.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.bg-navy :focus-visible, .navy-block :focus-visible, .site-footer :focus-visible, .trust-strip :focus-visible { outline-color: var(--white); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white), 0 10px 24px rgba(31, 42, 60, .25); }
html:not(.js) #contact-form { display: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
#conteudo:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: 72px; }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--on-navy); }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; line-height: 1.6; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--indigo); margin: 0;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; margin-top: .65em; background: var(--indigo); flex: none; border-radius: 2px; }
.bg-navy .eyebrow, .navy-block .eyebrow { color: var(--on-navy); }
.bg-navy .eyebrow::before, .navy-block .eyebrow::before { background: var(--indigo); filter: brightness(1.6); }
.h2 { font-size: clamp(30px, 4.3vw, 46px); margin-top: 16px; }
.h2 em, .h1 em { font-style: normal; color: var(--indigo); }
.bg-navy .h2 em { color: #9EA2FF; }
.h2--long { font-size: clamp(26px, 3.4vw, 38px); max-width: 760px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); margin-top: 18px; max-width: 680px; }
.bg-navy .lead { color: var(--on-navy-muted); }
.section-head { max-width: 780px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::before { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--indigo); padding-bottom: 2px; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 15.5px; line-height: 1.2;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--navy); color: var(--on-navy); box-shadow: 0 10px 24px rgba(31, 42, 60, .22); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-accent { background: var(--indigo); color: var(--white); box-shadow: 0 10px 24px rgba(59, 63, 154, .28); }
.btn-accent:hover { background: #32368A; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--on-navy); }
.bg-navy .btn-outline, .navy-block .btn-outline { color: var(--on-navy); border-color: rgba(255, 255, 255, .6); }
.bg-navy .btn-outline:hover, .navy-block .btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-wa { background: var(--wa); color: #0B2A1A; box-shadow: 0 10px 24px rgba(37, 211, 102, .28); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h); display: flex; align-items: center;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(31, 42, 60, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; border-radius: 8px; }
.brand img { width: auto; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 19px; font-weight: 800; letter-spacing: .04em; color: var(--navy); }
.brand-text span { font-size: 10px; font-weight: 500; letter-spacing: .34em; color: var(--indigo); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; position: relative; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--indigo);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:not(.btn):hover { color: var(--navy); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero::before { content: ""; position: absolute; left: -40px; top: 40px; width: 260px; height: 260px; background: var(--circuit) no-repeat; background-size: 240px; opacity: .9; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 32px; padding-block: 48px 0; align-items: center; }
.hero-logo { width: auto; height: 60px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; margin-top: 14px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--indigo); }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { font-size: 13.5px; font-weight: 600; color: var(--navy); background: var(--indigo-soft); border: 1px solid var(--indigo-line); padding: 7px 12px; border-radius: 999px; }
.hero-visual { position: relative; margin-inline: calc(var(--gutter-l) * -1) calc(var(--gutter-r) * -1); }
.hero-photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  /* faixa marinho e índigo em diagonal, como o raio do logotipo */
  content: ""; position: absolute; left: -6%; top: -10%; width: 24%; height: 120%;
  background: linear-gradient(90deg, var(--indigo) 0 34%, var(--navy) 34% 100%);
  transform: skewX(-14deg);
}
.hero-badge {
  position: absolute; right: var(--gutter-r); bottom: 20px; z-index: 2;
  background: var(--navy); color: var(--on-navy); padding: 14px 18px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); max-width: 300px; border-left: 4px solid var(--indigo);
}
.hero-badge strong { display: block; font-size: 15px; color: var(--white); }
.hero-badge span { font-size: 13.5px; color: var(--on-navy-muted); }

/* ---------- Faixa de compromissos ---------- */
.trust-strip { background: var(--navy); color: var(--on-navy); }
.trust-strip .container { padding-block: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.trust-strip li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.trust-strip li svg { width: 22px; height: 22px; color: #9EA2FF; flex: none; }
.trust-strip p { font-size: 14.5px; color: var(--on-navy-muted); }

/* ---------- Grades e cartões ---------- */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); position: relative; overflow: hidden; min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--indigo); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gray); }
.card h3 { font-size: 19px; margin-top: 14px; }
.card p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; }
.card .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--indigo-soft); display: grid; place-items: center; color: var(--indigo); }
.card .icon svg { width: 26px; height: 26px; }
.card ul { margin-top: 14px; display: grid; gap: 8px; }
.card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.card li svg { width: 18px; height: 18px; color: var(--indigo); flex: none; margin-top: 3px; }
.card--navy { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.card--navy::before { background: #9EA2FF; }
.card--navy h3 { color: var(--white); }
.card--navy p, .card--navy li { color: var(--on-navy-muted); }
.card--navy .icon { background: rgba(255, 255, 255, .1); color: #9EA2FF; }
.card--navy li svg { color: #9EA2FF; }

/* ---------- Duas frentes ---------- */
.fronts { display: grid; gap: 20px; margin-top: 40px; }
.front { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--gray-light); box-shadow: var(--shadow); display: grid; }
.front img { width: 100%; height: 220px; object-fit: cover; }
.front-visual { position: relative; height: 220px; background: var(--navy); overflow: hidden; display: grid; place-items: center; color: #9EA2FF; }
.front-visual::before { content: ""; position: absolute; inset: 0; background: var(--circuit); background-size: 240px; opacity: .22; filter: brightness(2.2); }
.front-visual::after { content: ""; position: absolute; right: -60px; top: -40px; width: 220px; height: 300px; background: var(--indigo); transform: skewX(-16deg); opacity: .55; }
.front-visual svg { position: relative; z-index: 1; width: 96px; height: 96px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.front-body { padding: 26px 24px 28px; }
.front-body .eyebrow { font-size: 12px; }
.front-body h3 { font-size: 24px; margin-top: 10px; }
.front-body p { color: var(--ink-2); margin-top: 12px; }
.front-body ul { margin-top: 16px; display: grid; gap: 8px; }
.front-body li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.front-body li svg { width: 18px; height: 18px; color: var(--indigo); flex: none; margin-top: 3px; }
.front-body .btn { margin-top: 20px; }
.front-note { margin-top: 14px; padding: 12px 14px; background: var(--indigo-soft); border-left: 3px solid var(--indigo); border-radius: 6px; font-size: 14px; color: var(--navy); font-weight: 500; }

/* ---------- Problemas ---------- */
.problems { display: grid; gap: 28px; margin-top: 36px; align-items: center; }
.problem-list { display: grid; gap: 12px; }
.problem-list li {
  display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; color: var(--navy); box-shadow: var(--shadow);
}
.problem-list li svg { width: 24px; height: 24px; color: var(--indigo); flex: none; }
.problem-list li.highlight { border-left: 5px solid var(--indigo); }
.problem-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.problem-photo { position: relative; }
.problem-photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; object-fit: cover; max-width: 100%; }
.problem-photo figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(31, 42, 60, .94); color: var(--on-navy);
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; border-left: 4px solid var(--indigo);
}
.problem-photo figcaption strong { color: var(--white); display: block; }

/* ---------- Norma ---------- */
.norma { position: relative; overflow: hidden; }
.norma::before { content: ""; position: absolute; right: -12%; top: 0; bottom: 0; width: 34%; background: var(--navy-deep); transform: skewX(-12deg); }
.norma::after { content: ""; position: absolute; right: 20px; bottom: 10px; width: 240px; height: 240px; background: var(--circuit) no-repeat; background-size: 240px; opacity: .25; pointer-events: none; filter: brightness(2); }
.norma .container { position: relative; z-index: 1; }
.norma-grid { display: grid; gap: 28px; margin-top: 36px; align-items: start; }
.norma-list { display: grid; gap: 14px; }
.norma-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line-navy); }
.norma-list li:last-child { border-bottom: 1px solid var(--line-navy); }
.norma-list svg { width: 30px; height: 30px; color: #9EA2FF; }
.norma-list strong { font-size: 19px; display: block; }
.norma-list p { color: var(--on-navy-muted); margin-top: 4px; font-size: 15.5px; }
.norma-aside { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-navy); border-radius: var(--radius); padding: 26px; }
.norma-aside h3 { font-size: 18px; color: #9EA2FF; }
.norma-aside ul { margin-top: 14px; display: grid; gap: 12px; }
.norma-aside li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 15px; color: var(--on-navy-muted); }
.norma-aside li b { color: var(--on-navy); font-weight: 600; white-space: nowrap; }
.norma-aside .foot { margin-top: 18px; font-size: 13.5px; color: var(--on-navy-muted); }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 18px; margin-top: 40px; }
.step { position: relative; background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 24px 22px 22px; box-shadow: var(--shadow); min-width: 0; }
.step .n { font-size: 44px; font-weight: 800; color: var(--indigo); line-height: 1; letter-spacing: -.03em; }
.step .n::after { content: ""; display: block; width: 36px; height: 3px; background: var(--indigo); margin-top: 10px; border-radius: 2px; }
.step h3 { font-size: 17px; margin-top: 16px; }
.step p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* ---------- Preventiva ---------- */
.prevent { display: grid; gap: 28px; margin-top: 36px; align-items: center; }
.benefits { display: grid; gap: 14px; }
.benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.benefits .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: #9EA2FF; display: grid; place-items: center; }
.benefits .icon svg { width: 24px; height: 24px; }
.benefits strong { display: block; color: var(--navy); font-size: 17px; }
.benefits p { color: var(--ink-2); font-size: 15px; margin-top: 3px; }
.navy-block { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); padding: 30px 28px; position: relative; overflow: hidden; }
.navy-block::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; background: var(--indigo); transform: rotate(45deg); opacity: .9; }
.navy-block > * { position: relative; z-index: 1; }
.navy-block h3 { font-size: 24px; margin-top: 12px; }
.navy-block p { color: var(--on-navy-muted); margin-top: 12px; }
.navy-block .btn { margin-top: 22px; }

/* ---------- Dúvidas ---------- */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--navy); position: relative; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 8px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; font-size: 22px; font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 20px 20px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Contato ---------- */
.contact { background: var(--ice); }
.contact-grid { display: grid; gap: 28px; margin-top: 40px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); min-width: 0; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--ice);
  border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F2A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field .error { font-size: 13.5px; color: var(--danger); min-height: 0; }
.field .error:empty { display: none; }
.field--check { grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; padding: 0; accent-color: var(--indigo); }
.field--check label { font-weight: 400; font-size: 14px; color: var(--ink-2); }
.field--check .link-btn, .field--check .error { grid-column: 2; }
.field--check .link-btn { font-size: 14px; color: var(--navy); text-align: left; justify-self: start; }
#submit-btn { margin-top: 22px; }
.form-foot { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.form-foot svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.wa-ready { margin-top: 20px; border: 1px dashed var(--gray); border-radius: var(--radius-sm); padding: 18px; background: var(--ice); }
.wa-ready-notice { font-size: 14.5px; color: var(--ink-2); }
.wa-ready-text { white-space: pre-wrap; font: inherit; font-size: 15px; background: var(--white); border: 1px solid var(--gray-light); border-radius: 8px; padding: 14px; margin: 12px 0; color: var(--ink); }
.wa-ready-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wa-ready-copied { font-size: 14px; color: var(--indigo); font-weight: 600; }
.contact-aside { margin-top: 0; }
.contact-aside h3 { margin-top: 0; font-size: 22px; }
.after-list { margin-top: 18px; display: grid; gap: 14px; counter-reset: after; }
.after-list li { position: relative; padding-left: 40px; color: var(--on-navy-muted); font-size: 15.5px; }
.after-list li::before { counter-increment: after; content: counter(after); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--indigo); color: var(--white); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.contact-direct { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-navy); display: grid; gap: 10px; }
.contact-direct a, .contact-direct p { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy); font-weight: 500; font-size: 15.5px; }
.contact-direct svg { width: 20px; height: 20px; color: #9EA2FF; flex: none; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 14.5px; }
.footer-band { position: relative; height: 180px; overflow: hidden; }
.footer-band img { width: 100%; height: 100%; object-fit: cover; }
.footer-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 42, .2), rgba(20, 28, 42, .94)); }
.site-footer .container { padding-block: 44px 96px; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo img { width: auto; height: 64px; }
.footer-slogan { margin-top: 16px; font-weight: 600; color: var(--on-navy); font-size: 16px; }
.footer-brand p + p { margin-top: 4px; }
.footer-col h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #9EA2FF; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col .link-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--on-navy-muted); text-decoration: none; }
.footer-col a:hover, .footer-col .link-btn:hover { color: var(--on-navy); }
.footer-col svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-navy); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: 13.5px; }

/* ---------- Botão flutuante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 45;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #0B2A1A;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); transition: transform .18s, filter .18s;
}
.wa-float:hover { transform: translateY(-2px); filter: brightness(1.05); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Diálogo de privacidade ---------- */
.privacy { border: 0; border-radius: var(--radius-lg); padding: 0; max-width: min(640px, calc(100vw - 32px)); width: 100%; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); }
.privacy::backdrop { background: rgba(31, 42, 60, .6); }
.privacy-inner { padding: 36px 28px 28px; }
.privacy h2 { font-size: 24px; }
.privacy h3 { font-size: 16px; margin-top: 18px; color: var(--navy); }
.privacy p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.privacy .btn { margin-top: 22px; }
.privacy-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; background: var(--ice); border-radius: 10px; color: var(--navy); display: grid; place-items: center; }
.privacy-close svg { width: 20px; height: 20px; }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .card, .wa-float, .text-link svg, .nav-toggle span, .nav { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter-r) 24px var(--gutter-l); overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; z-index: 49;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .hero::before { display: none; }
}
@media (max-width: 639px) {
  .section { padding-block: 56px; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { position: static; margin: 16px var(--gutter-l) 0; max-width: none; }
  .trust-strip ul { flex-direction: column; gap: 10px; }
  .footer-band { height: 120px; }
  .brand-text { display: none; }
}
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fronts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .span-2 { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; padding-block: 56px 0; }
  .hero-visual { margin-inline: 0; margin-right: calc(var(--gutter-r) * -1); }
  .hero-photo { aspect-ratio: 4 / 4.2; border-top-left-radius: var(--radius-lg); }
  .hero-badge { right: 24px; bottom: 28px; }
  .front img, .front-visual { height: 260px; }
  .problems { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .norma-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .prevent { grid-template-columns: 1fr 1fr; gap: 48px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .step { padding: 22px 18px 20px; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 36px; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .wa-float, .nav-toggle, dialog, .wa-ready, #submit-btn, .form-foot { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .bg-navy, .navy-block, .site-footer, .trust-strip, .card--navy { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .bg-navy *, .navy-block *, .site-footer *, .trust-strip *, .card--navy * { color: #000 !important; }
}
