/* =========================================================
   Fortal Mobilidade, Landing Page de Conversão
   Arquivo: assets/css/style.css
   Foco: performance, mobile first, conversão e acessibilidade
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-strong);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  color: #0a1018;
  background: rgba(95, 144, 178, 0.65);
}

:root {
  --font-title: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg-page: #f0f3f7;
  --bg-dark: #0a1018;
  --bg-dark-2: #111c29;
  --bg-soft: #f7f9fc;

  --text-strong: #0e151d;
  --text-body: #44525e;
  --text-muted: #6c7a84;
  --text-light: rgba(255, 255, 255, 0.82);

  --brand: #3d6080;
  --brand-2: #5f90b2;
  --brand-3: #1e3550;
  --green: #25d366;
  --line: rgba(14, 21, 29, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 12px 30px rgba(9, 16, 24, 0.1);
  --shadow-md: 0 24px 60px rgba(9, 16, 24, 0.16);
  --shadow-lg: 0 40px 100px rgba(9, 16, 24, 0.32);

  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --radius-pill: 999px;

  --container: 1200px;
  --header-height: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--bg-dark);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Elementos de marca ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(61, 96, 128, 0.28);
  border-radius: var(--radius-pill);
  color: var(--brand-2);
  background: rgba(61, 96, 128, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow i {
  color: var(--brand-2);
}

/* ---------- Botões ---------- */
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 16px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #7ab4d0 0%, #3d6080 54%, #5f90b2 100%);
  box-shadow: 0 16px 38px rgba(61, 96, 128, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 22px 50px rgba(61, 96, 128, 0.42);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-dark {
  color: #fff;
  background: var(--bg-dark);
  box-shadow: 0 16px 38px rgba(9, 16, 24, 0.32);
}

.btn-dark:hover {
  background: #060b12;
}

.btn-full {
  width: 100%;
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.75;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10, 16, 24, 0.82), rgba(10, 16, 24, 0.2));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 13, 20, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 168px;
  height: auto;
}

.header-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 6px;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s var(--ease);
}

.header-nav a:hover {
  color: var(--brand-2);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(37, 211, 102, 0.16);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 0.2s var(--ease);
}

.header-cta:hover {
  background: rgba(37, 211, 102, 0.26);
}

.header-cta i {
  color: var(--green);
}

/* ---------- Hero ---------- */
.hero {
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: 0;
  color: #fff;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.93) 0%, rgba(8, 13, 20, 0.90) 38%, rgba(8, 13, 20, 0.28) 54%, rgba(8, 13, 20, 0.03) 100%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.22) 0%, rgba(8, 13, 20, 0.50) 100%),
    url("../img/bg-hero.webp") center / cover no-repeat;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
}

.hero-glow::before {
  width: 420px;
  height: 420px;
  right: -130px;
  top: 90px;
  background: rgba(61, 96, 128, 0.28);
}

.hero-glow::after {
  width: 520px;
  height: 520px;
  left: -190px;
  bottom: -240px;
  background: rgba(37, 211, 102, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 660px;
}

.hero h1,
.section-head h2,
.feature strong,
.contact-copy h2,
.cta-band h2 {
  font-family: var(--font-title);
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 720px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.1vw, 4.05rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(100deg, #5f90b2, #3d6080);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 620px;
  color: var(--text-light);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin-top: 10px;
  list-style: none;
  padding: 0 0 0 2px;
  border-left: 2px solid rgba(61, 96, 128, 0.4);
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px 8px 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.83rem;
  font-weight: 700;
  position: relative;
}

/* Separador vertical entre colunas (não na 1ª de cada linha) */
.trust-row li:not(:nth-child(3n+1))::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

/* Separador horizontal entre as duas linhas */
.trust-row li:nth-child(n+4) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-row i {
  font-size: 0.85rem;
  color: var(--brand-2);
  flex-shrink: 0;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 430px);
}

.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 14px;
  border-radius: 16px;
  color: #fff;
  background: rgba(8, 13, 20, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-photo figcaption i {
  color: var(--brand-2);
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 820px;
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head h2 {
  color: var(--text-strong);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.02;
}

.section-head p {
  max-width: 660px;
  color: var(--text-body);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-head-light h2 {
  color: #fff;
}

.section-head-light p {
  color: var(--text-light);
}

/* ---------- Serviços ---------- */
.services {
  background:
    radial-gradient(circle at 8% 4%, rgba(61, 96, 128, 0.12), transparent 30%),
    linear-gradient(180deg, #f0f3f7 0%, #f7f9fc 100%);
}

.services .eyebrow,
.contact .eyebrow {
  color: var(--brand-3);
  background: rgba(61, 96, 128, 0.14);
}

.services .eyebrow i,
.contact .eyebrow i {
  color: var(--brand);
}

.service-rows {
  display: grid;
  gap: clamp(48px, 7vw, 104px);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

/* Linhas alternadas: foto à direita, texto à esquerda */
.service-row--reverse .service-photo {
  order: 2;
}

/* ---- Foto ---- */
.service-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #10171f;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.service-row:hover .service-photo img {
  transform: scale(1.05);
}

.service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, transparent 50%, rgba(8, 13, 20, 0.42) 100%);
  pointer-events: none;
}

.service-number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  color: #1a1206;
  background: linear-gradient(135deg, #7ab4d0, #3d6080);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 26px rgba(61, 96, 128, 0.4);
}

.service-number span {
  font-size: 0.66rem;
  font-weight: 700;
  opacity: 0.7;
}

/* ---- Texto ---- */
.service-text {
  display: grid;
  gap: 16px;
  align-content: center;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--brand-3);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.service-text h3 {
  font-family: var(--font-title);
  color: var(--text-strong);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.service-text > p {
  max-width: 540px;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.72;
}

.service-text ul {
  display: grid;
  gap: 11px;
  list-style: none;
  margin-top: 2px;
}

.service-text li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--text-body);
  font-size: 0.96rem;
  font-weight: 600;
}

.service-text li i {
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(61, 96, 128, 0.14);
  font-size: 0.66rem;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 96, 128, 0.4);
  background: rgba(61, 96, 128, 0.08);
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.text-link:hover {
  background: rgba(61, 96, 128, 0.16);
  border-color: rgba(61, 96, 128, 0.6);
  transform: translateY(-2px);
}

.text-link i {
  color: var(--brand);
  transition: transform 0.2s var(--ease);
}

.text-link:hover i {
  transform: translateX(5px);
}

/* ---- Reveal direcional ---- */
.reveal--left {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal--right {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal--left.is-visible,
.reveal--right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Diferenciais ---------- */
.proof {
  color: #fff;
  position: relative;
  background:
    radial-gradient(circle at 78% 6%, rgba(61, 96, 128, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(10, 16, 24, 0.78) 0%, rgba(17, 28, 41, 0.72) 56%, rgba(10, 16, 24, 0.78) 100%),
    url("../img/bg-fortal.webp") center / cover no-repeat;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(61, 96, 128, 0.34);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-2);
  background: rgba(61, 96, 128, 0.14);
  border: 1px solid rgba(61, 96, 128, 0.26);
  font-size: 1.1rem;
}

.feature strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.feature p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.6;
}

.metrics {
  display: grid;
  gap: 12px;
}

.metrics div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.metrics strong {
  color: var(--brand-2);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 72px) 0;
  background: linear-gradient(120deg, #3d6080 0%, #5f90b2 52%, #4d7898 100%);
  overflow: hidden;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 50px);
}

.cta-band h2 {
  max-width: 720px;
  color: #1a1206;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.08;
}

.cta-band p {
  max-width: 640px;
  margin-top: 12px;
  color: rgba(26, 18, 6, 0.82);
  font-size: 1rem;
  line-height: 1.66;
  font-weight: 600;
}

.cta-band .btn-dark {
  flex-shrink: 0;
}

/* ---------- Contato + FAQ ---------- */
.contact {
  background:
    radial-gradient(circle at 88% 12%, rgba(61, 96, 128, 0.14), transparent 32%),
    linear-gradient(180deg, #f7f9fc 0%, #f0f3f7 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-copy h2 {
  color: var(--text-strong);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.04;
}

.contact-copy > p {
  max-width: 560px;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.72;
}

.contact-list {
  display: grid;
  gap: 11px;
  margin-top: 4px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-body);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
}

.contact-list i {
  width: 20px;
  margin-top: 3px;
  color: var(--brand);
}

/* FAQ */
.faq {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.faq h3 {
  font-family: var(--font-title);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid rgba(14, 21, 29, 0.12);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

details[open] {
  border-color: rgba(61, 96, 128, 0.4);
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--text-strong);
  font-weight: 800;
  font-size: 0.96rem;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--brand);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 18px 18px;
  color: var(--text-body);
  line-height: 1.66;
  font-size: 0.94rem;
}

/* ---------- Formulário ---------- */
.lead-form {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 9px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(14, 21, 29, 0.08);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.form-head {
  display: grid;
  gap: 3px;
  margin-bottom: 6px;
}

.form-head strong {
  font-family: var(--font-title);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.form-head span {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.lead-form label {
  color: var(--text-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.lead-form label .optional {
  color: var(--text-muted);
  font-weight: 600;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(14, 21, 29, 0.14);
  border-radius: 14px;
  color: var(--text-strong);
  background: #fff;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: rgba(61, 96, 128, 0.6);
  box-shadow: 0 0 0 4px rgba(61, 96, 128, 0.12);
}

.lead-form input.is-invalid {
  border-color: #be3131;
  box-shadow: 0 0 0 4px rgba(190, 49, 49, 0.1);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.select-wrap i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  pointer-events: none;
  font-size: 0.82rem;
}

.field-error {
  min-height: 15px;
  color: #be3131;
  font-size: 0.75rem;
  font-weight: 700;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
  margin-top: 4px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(44px, 5vw, 64px) 0 26px;
  color: rgba(255, 255, 255, 0.74);
  background: #0a1018;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) auto auto;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img {
  width: 168px;
  height: auto;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-social a:hover {
  background: rgba(61, 96, 128, 0.18);
  border-color: rgba(61, 96, 128, 0.4);
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 11px;
  align-content: start;
}

.footer-nav strong,
.footer-contact strong {
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.04rem;
  margin-bottom: 2px;
}

.footer-nav a,
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-contact i {
  width: 16px;
  margin-top: 3px;
  color: var(--brand-2);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--brand-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
}

.footer-bottom a:not(.dev-credit) {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom a:not(.dev-credit):hover {
  color: var(--brand-2);
}

.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 200, 66, 0.30);
  background: rgba(245, 200, 66, 0.07);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.dev-credit:hover {
  background: rgba(245, 200, 66, 0.10);
  border-color: rgba(245, 200, 66, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 200, 66, 0.2);
}

.dev-credit:hover .dev-credit-name {
  color: #fdd84a;
  text-shadow: 0 0 12px rgba(245, 200, 66, 0.6);
}

.dev-credit:hover .dev-credit-bolt {
  filter: drop-shadow(0 0 7px rgba(245, 200, 66, 0.95));
}

.dev-credit-label {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 600;
}

.dev-credit-bolt {
  font-size: 0.72rem;
  color: #f5c842;
  filter: drop-shadow(0 0 4px rgba(245, 200, 66, 0.7));
}

.dev-credit-name {
  color: #f5c842;
  font-weight: 800;
  font-family: var(--font-title);
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
}

.dev-credit i {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s var(--ease);
}

.dev-credit:hover i {
  color: var(--brand-2);
}

/* ---------- WhatsApp flutuante ---------- */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 16px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: #1eba57;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.18);
  animation: wa-border-glow 2.2s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes wa-border-glow {
  0%, 100% {
    box-shadow:
      0 14px 40px rgba(37, 211, 102, 0.45),
      0 4px 12px rgba(0, 0, 0, 0.18),
      0 0 0 0px rgba(255, 255, 255, 0.0);
  }
  50% {
    box-shadow:
      0 18px 48px rgba(37, 211, 102, 0.60),
      0 4px 12px rgba(0, 0, 0, 0.18),
      0 0 0 3px rgba(255, 255, 255, 0.72),
      0 0 16px 3px rgba(37, 211, 102, 0.35);
  }
}

.floating-whatsapp:hover {
  animation: none;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 54px rgba(37, 211, 102, 0.52), 0 6px 18px rgba(0,0,0,0.2);
}

.floating-whatsapp:active {
  transform: scale(0.97);
}

.floating-whatsapp i {
  flex-shrink: 0;
  font-size: 1.65rem;
}

.floating-whatsapp-label {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@keyframes wa-pulse {
  0%   { opacity: 1; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Quando próximo ao rodapé */
.floating-whatsapp.is-near-footer {
  bottom: 80px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(61, 96, 128, 0.5);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 420px);
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
  }

  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Foto sempre acima do texto ao empilhar */
  .service-row--reverse .service-photo {
    order: 0;
  }

  /* Reveal vertical no mobile, sem deslocamento horizontal */
  .reveal--left,
  .reveal--right {
    transform: translateY(28px);
  }

  .reveal--left.is-visible,
  .reveal--right.is-visible {
    transform: translateY(0);
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .lead-form {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 146px;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 44px;
    justify-content: center;
    padding-inline: 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 34px);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: repeat(2, auto);
  }

  .trust-row li:not(:nth-child(3n+1))::before {
    display: none;
  }

  .trust-row li:not(:nth-child(2n+1))::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
  }

  .trust-row li:nth-child(n+4) {
    border-top: none;
  }

  .trust-row li:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding: 56px 0;
  }

  .service-rows {
    gap: 52px;
  }

  .service-photo {
    aspect-ratio: 4 / 3;
  }

  .floating-whatsapp {
    height: 52px;
    padding: 0 18px 0 14px;
    right: 14px;
    bottom: 16px;
    gap: 8px;
  }

  .floating-whatsapp-label {
    font-size: 0.84rem;
  }

  .floating-whatsapp.is-near-footer {
    bottom: 72px;
  }
}
