/* ==========================================================================
   AQ Engenharia — estilos
   Paleta da marca: marinho #000d54 · azul #00499e · laranja #ff8a42 · ciano #1fa3c4
   ========================================================================== */

:root {
  --navy-950: #000838;
  --navy-900: #000d54;
  --navy-800: #0a1a6b;
  --blue-700: #003a7e;
  --blue-600: #00499e;
  --blue-500: #29429e;
  --cyan-400: #1fa3c4;
  --cyan-300: #5cc6e0;
  --orange-500: #ff8a42;
  --orange-600: #f16e43;

  --ink: #0b1433;
  --ink-soft: #46506b;
  --ink-mute: #6b7591;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --surface-3: #e8eef8;
  --line: #dde4f0;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(225, 233, 252, 0.78);
  --on-dark-mute: rgba(225, 233, 252, 0.55);
  --line-dark: rgba(140, 170, 255, 0.16);

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 13, 84, 0.06), 0 2px 8px rgba(0, 13, 84, 0.05);
  --shadow: 0 10px 30px -12px rgba(0, 13, 84, 0.28);
  --shadow-lg: 0 30px 60px -20px rgba(0, 8, 56, 0.45);

  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--orange-500);
  color: var(--navy-900);
}

.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: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--orange-500);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Tipografia de seção ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.dark .eyebrow,
.eyebrow--light {
  color: var(--cyan-300);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--alt {
  background: var(--surface-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
}

.section-lead {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
}

.dark .section-lead {
  color: var(--on-dark-soft);
}

.text-accent {
  color: var(--orange-500);
}

.text-gradient {
  background: linear-gradient(100deg, var(--cyan-300), #8fb6ff 45%, var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */

.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 73, 158, 0.6);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--orange-500);
  --btn-fg: var(--navy-900);
}

.btn--primary:hover {
  --btn-bg: #ff9a5c;
  box-shadow: 0 14px 28px -10px rgba(255, 138, 66, 0.7);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--blue-600);
  border-color: var(--line);
}

.btn--outline:hover {
  border-color: var(--blue-600);
  box-shadow: none;
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-600);
}

.link-arrow .icon {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- Header ---------- */

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled,
.header--solid {
  background: rgba(0, 8, 56, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  width: 30px;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__list {
  display: flex;
  gap: 28px;
}

.nav__link {
  position: relative;
  padding-block: 8px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--on-dark-soft);
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: #fff;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: rgba(0, 8, 56, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav__link::after {
    display: none;
  }

  .header:has(.nav.is-open) {
    background: rgba(0, 8, 56, 0.97);
  }
}

/* ---------- Fundo blueprint (seções escuras) ---------- */

.dark {
  background-color: var(--navy-950);
  color: var(--on-dark);
}

.blueprint {
  position: relative;
  isolation: isolate;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(92, 198, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 198, 224, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(92, 198, 224, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 198, 224, 0.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}

.blueprint::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(0, 73, 158, 0.55), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(31, 163, 196, 0.18), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

/* ---------- Hero (home) ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 72px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero__lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--on-dark-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  font-size: 0.9rem;
  color: var(--on-dark-soft);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust .icon {
  color: var(--cyan-300);
}

/* composição visual do hero */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 4.2;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.hero__photo {
  position: absolute;
  inset: 6% 0 8% 10%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(0, 8, 56, 0.7));
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.draw {
  fill: none;
  stroke: var(--cyan-300);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

.draw--soft {
  stroke: rgba(92, 198, 224, 0.45);
  stroke-width: 1;
}

.draw--orange {
  stroke: var(--orange-500);
  stroke-width: 1.6;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.dim-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: var(--cyan-300);
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: var(--d, 1.6s);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero__card {
  position: absolute;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(6, 18, 82, 0.72);
  border: 1px solid rgba(140, 170, 255, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  opacity: 0;
  animation: cardIn 0.9s var(--ease) forwards;
}

.hero__card--a {
  left: 0;
  bottom: 14%;
  width: min(260px, 62%);
  animation-delay: 1.1s;
}

.hero__card--b {
  right: -4%;
  top: 0;
  animation-delay: 1.5s;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__card-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

.phases {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.phases li {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--on-dark-soft);
  font-size: 0.76rem;
}

.phases i {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.phases i::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
  transform-origin: left;
  transform: scaleX(0);
  animation: grow 1.2s var(--ease) forwards;
}

.phases li:nth-child(1) i::after { animation-delay: 1.5s; }
.phases li:nth-child(2) i::after { animation-delay: 1.7s; }
.phases li:nth-child(3) i::after { animation-delay: 1.9s; }
.phases li:nth-child(4) i::after { animation-delay: 2.1s; }
.phases li:nth-child(5) i::after { animation-delay: 2.3s; }

@keyframes grow {
  to {
    transform: scaleX(1);
  }
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: #fff;
}

.hero__badge span {
  color: var(--on-dark-soft);
  font-size: 0.78rem;
  line-height: 1.3;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--orange-500);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    justify-self: center;
    max-width: 480px;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero__card--b {
    right: 0;
  }

  .phases li {
    grid-template-columns: 84px 1fr;
  }
}

/* ---------- Page hero (páginas internas) ---------- */

.page-hero {
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 104px));
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.page-hero {
  position: relative;
}

.page-hero__mark {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 - 40px));
  top: 50%;
  width: clamp(160px, 22vw, 300px);
  transform: translateY(-38%) rotate(-8deg);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 760px) {
  .page-hero__mark {
    right: -40px;
    opacity: 0.05;
  }
}

.page-hero__title {
  margin-top: 18px;
  max-width: 860px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero__lead {
  margin-top: 20px;
  max-width: 640px;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--on-dark-soft);
}

.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--cyan-400);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb [aria-current] {
  color: var(--cyan-300);
}

/* ---------- Números ---------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}

.stat__value small {
  font-size: 0.55em;
  color: var(--orange-600);
  margin-left: 2px;
}

.stat__label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

@media (max-width: 860px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 420px) {
  .stat {
    padding: 22px 18px;
  }
}

/* ---------- Cards de serviço ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400), var(--orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service:hover::before {
  transform: scaleX(1);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(0, 73, 158, 0.8);
}

.service__icon .icon {
  width: 26px;
  height: 26px;
}

.service__num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
}

.service h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-top: 6px;
}

.service p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.service .link-arrow {
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* ---------- Ciclo de vida (método) ---------- */

.lifecycle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.steps {
  position: relative;
  display: grid;
  gap: 6px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: var(--line-dark);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 12px 18px 12px 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--on-dark-soft);
  transition: background-color 0.25s, color 0.25s;
}

.step:hover {
  color: #fff;
}

.step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: var(--navy-950);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.step__hint {
  display: block;
  font-size: 0.85rem;
  color: var(--on-dark-mute);
  font-weight: 400;
  font-family: var(--font-body);
}

.step[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.step[aria-selected="true"] .step__dot {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--navy-900);
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(255, 138, 66, 0.15);
}

.phase-panel {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(10, 26, 107, 0.7), rgba(0, 8, 56, 0.6));
  border: 1px solid var(--line-dark);
  min-height: 100%;
}

.phase-panel[hidden] {
  display: none;
}

.phase-panel.is-entering {
  animation: panelIn 0.5s var(--ease);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.phase-panel__kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.phase-panel h3 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.phase-panel p {
  margin-top: 14px;
  color: var(--on-dark-soft);
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--on-dark-soft);
}

.checklist .icon {
  margin-top: 3px;
  color: var(--orange-500);
}

.section:not(.dark) .checklist li {
  color: var(--ink-soft);
}

.section:not(.dark) .checklist .icon {
  color: var(--blue-600);
}

.areas {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 40px;
  border-top: 1px solid var(--line-dark);
}

.areas__title {
  font-size: 1.1rem;
  font-weight: 700;
}

.areas__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.area {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease);
}

.area:hover {
  border-color: rgba(92, 198, 224, 0.5);
  background: rgba(92, 198, 224, 0.06);
  transform: translateY(-3px);
}

.area__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-300);
}

.area__name {
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .lifecycle {
    grid-template-columns: 1fr;
  }

  .areas__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 960px) {
  .areas__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Do projeto à obra ---------- */

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: stage;
}

.stage {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.stage:hover img {
  transform: scale(1.05);
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 8, 56, 0) 35%, rgba(0, 8, 56, 0.92));
}

.stage__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
}

.stage__body::before {
  counter-increment: stage;
  content: "0" counter(stage);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange-500);
}

.stage__body h3 {
  margin-top: 6px;
  font-size: 1.3rem;
  font-weight: 700;
}

.stage__body p {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--on-dark-soft);
}

@media (max-width: 860px) {
  .pipeline {
    grid-template-columns: 1fr;
  }

  .stage {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Obras em destaque ---------- */

.works {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.work {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.work:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 520px;
}

.work:nth-child(2),
.work:nth-child(3) {
  grid-column: span 5;
}

.work:nth-child(4),
.work:nth-child(5) {
  grid-column: span 6;
  min-height: 280px;
}

.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 8, 56, 0.05) 25%, rgba(0, 8, 56, 0.92));
  transition: background-color 0.4s;
}

.work:hover img {
  transform: scale(1.06);
}

.work__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
}

.work__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-300);
}

.work__title {
  margin-top: 6px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
}

.work__count {
  font-size: 0.86rem;
  color: var(--on-dark-soft);
}

.work__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.3s, transform 0.3s var(--ease);
}

.work:hover .work__go {
  background: var(--orange-500);
  color: var(--navy-900);
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .work,
  .work:nth-child(n) {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
  }
}

/* ---------- Split (sobre / conteúdo com imagem) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__media::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.split__body > * + * {
  margin-top: 18px;
}

.split__body p {
  color: var(--ink-soft);
}

.dark .split__body p {
  color: var(--on-dark-soft);
}

.split__note {
  position: absolute;
  right: -12px;
  bottom: -22px;
  max-width: 240px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.45;
}

.split__note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--orange-500);
  line-height: 1.1;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split__media::before {
    display: none;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__note {
    right: 12px;
  }
}

.founder {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.founder__avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.founder strong {
  display: block;
  font-family: var(--font-display);
}

.founder span {
  font-size: 0.88rem;
  color: var(--ink-mute);
}

/* ---------- Valores / cards simples ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.card h3 {
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.card .service__icon {
  width: 48px;
  height: 48px;
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Lista de serviços detalhada (página Projetos) ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 500;
  font-size: 0.94rem;
}

.chip .icon {
  color: var(--blue-600);
}

.detail {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding-block: 44px;
  border-top: 1px solid var(--line);
}

.detail:last-child {
  border-bottom: 1px solid var(--line);
}

.detail__head .service__icon {
  margin-bottom: 18px;
}

.detail__head h3 {
  font-size: 1.45rem;
  font-weight: 800;
}

.detail__head p {
  margin-top: 8px;
  color: var(--ink-mute);
  font-size: 0.92rem;
}

.detail__body > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.detail__body .checklist {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}

@media (max-width: 860px) {
  .detail {
    grid-template-columns: 1fr;
  }

  .detail__body .checklist {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq details[open] {
  border-color: rgba(0, 73, 158, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--blue-600), var(--blue-600)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue-600), var(--blue-600)) center / 2px 12px no-repeat,
    var(--surface-3);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq__answer {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 32px;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
}

.cta p {
  margin-top: 14px;
  color: var(--on-dark-soft);
  max-width: 560px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 860px) {
  .cta {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ---------- Galeria (obras) ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-mute);
}

.filter:hover {
  border-color: var(--blue-600);
}

.filter[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.filter[aria-pressed="true"] span {
  color: var(--orange-500);
}

.project + .project {
  margin-top: clamp(56px, 8vw, 96px);
}

.project[hidden] {
  display: none;
}

.project__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.project__head h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
}

.project__head p {
  color: var(--ink-mute);
  font-size: 0.92rem;
}

.gallery {
  columns: 3 280px;
  column-gap: 16px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-3);
  cursor: zoom-in;
  break-inside: avoid;
}

.gallery__item img {
  width: 100%;
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 8, 56, 0.55));
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item:hover::after {
  opacity: 1;
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 6, 40, 0.97);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(0, 6, 40, 0.6);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: fadeIn 0.25s ease;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 72px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox__img.is-loading {
  opacity: 0.4;
}

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 12px;
}

.lightbox__nav--next {
  right: 12px;
}

.lightbox__caption {
  padding: 16px var(--gutter) 24px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--on-dark-soft);
}

@media (max-width: 620px) {
  .lightbox__stage {
    padding: 0 8px;
  }

  .lightbox__nav {
    top: auto;
    bottom: -64px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: calc(50% - 60px);
  }

  .lightbox__nav--next {
    right: calc(50% - 60px);
  }

  .lightbox__caption {
    padding-top: 80px;
  }
}

/* ---------- Formulário de orçamento (wizard) ---------- */

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.quote__aside > * + * {
  margin-top: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.3s var(--ease);
}

a.contact-item:hover {
  border-color: var(--blue-600);
  transform: translateX(4px);
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--surface-3);
  color: var(--blue-600);
}

.contact-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.contact-item strong {
  font-weight: 600;
  word-break: break-word;
}

.wizard {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.wizard__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.wizard__progress li {
  height: 4px;
  border-radius: 4px;
  background: var(--surface-3);
  overflow: hidden;
}

.wizard__progress li::after {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.wizard__progress li.is-done::after {
  transform: scaleX(1);
}

.wizard__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 26px;
}

.wizard fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.wizard fieldset[hidden] {
  display: none;
}

.wizard fieldset.is-entering {
  animation: panelIn 0.45s var(--ease);
}

.wizard legend {
  padding: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em;
}

.wizard__hint {
  margin-top: 6px;
  color: var(--ink-mute);
  font-size: 0.94rem;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field > label,
.field__label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field__label small,
.field > label small {
  font-weight: 400;
  color: var(--ink-mute);
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

textarea.input {
  min-height: 110px;
  resize: vertical;
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2300499e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.input:focus {
  outline: none;
  border-color: var(--blue-600);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 73, 158, 0.12);
}

.input[aria-invalid="true"] {
  border-color: #d93a3a;
  box-shadow: 0 0 0 4px rgba(217, 58, 58, 0.1);
}

.field__error {
  font-size: 0.84rem;
  color: #c62f2f;
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.option {
  position: relative;
}

.option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.option span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  font-weight: 500;
  font-size: 0.93rem;
  line-height: 1.3;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.option span::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #b8c2d8;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.option input:hover + span {
  border-color: var(--blue-600);
}

.option input:checked + span {
  border-color: var(--blue-600);
  background: rgba(0, 73, 158, 0.06);
  color: var(--navy-900);
}

.option input:checked + span::before {
  border-color: var(--blue-600);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--blue-600);
}

.option input:focus-visible + span {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.wizard__nav .btn[hidden] {
  display: none;
}

.wizard__nav .btn:only-child,
.wizard__nav [data-next],
.wizard__nav [type="submit"] {
  margin-left: auto;
}

.wizard__done {
  text-align: center;
  padding: 24px 8px;
}

.wizard__done[hidden] {
  display: none;
}

.wizard__done .service__icon {
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #12a46b, #2fd18b);
}

.wizard__done h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.wizard__done p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.wizard__done .btn {
  margin-top: 22px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-mute);
}

@media (max-width: 960px) {
  .quote {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fields {
    grid-template-columns: 1fr;
  }

  .options {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Footer ---------- */

.footer {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: 32px;
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__about {
  margin-top: 18px;
  max-width: 320px;
  font-size: 0.94rem;
  color: var(--on-dark-soft);
}

.footer h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-300);
  margin-bottom: 18px;
}

.footer__links {
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.footer__links li {
  color: var(--on-dark-soft);
}

.footer__links a {
  color: var(--on-dark-soft);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  color: var(--on-dark-soft);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.social a:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--navy-900);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
  color: var(--on-dark-mute);
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 20px 0 18px;
  border-radius: 999px;
  background: #1fae5b;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 16px 30px -12px rgba(18, 120, 64, 0.8);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.wa-float:hover {
  transform: translateY(-3px);
}

.wa-float .icon {
  width: 26px;
  height: 26px;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #1fae5b;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  from {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.25);
  }
}

@media (max-width: 560px) {
  .wa-float {
    width: 58px;
    padding: 0;
    justify-content: center;
  }

  .wa-float__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
}

.notfound p {
  margin: 16px auto 32px;
  max-width: 460px;
  color: var(--on-dark-soft);
}

/* ---------- Animação de entrada ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* atrasos escalonados para [data-reveal] */
[data-delay="1"] { --delay: 0.08s; }
[data-delay="2"] { --delay: 0.16s; }
[data-delay="3"] { --delay: 0.24s; }
[data-delay="4"] { --delay: 0.32s; }

.page-hero__crumb {
  margin-bottom: 28px;
}

.notfound .hero__actions {
  justify-content: center;
}

.works + p {
  margin-top: 32px;
}

.section:not(.dark) .social a {
  border-color: var(--line);
  color: var(--blue-600);
}

.section:not(.dark) .social a:hover {
  color: var(--navy-900);
}

