/* Zavata Engenharia e Arquitetura — estilos */
:root {
  --navy: #1F3864;
  --navy-deep: #14284A;
  --gray: #666666;
  --ink: #1B2333;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --line: #E4E7EC;
  --accent: #B8975A;          /* dourado-champanhe: botões, filetes, detalhes */
  --accent-ink: #8A6D35;      /* dourado escuro para textos pequenos sobre branco */
  --accent-soft: #F4EEE3;
  --wa: #25D366;
  --wa-dark: #1EBE5A;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 40, 74, .04), 0 12px 32px -12px rgba(20, 40, 74, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 500; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.eyebrow--light { color: var(--accent); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--accent { background: var(--accent); color: var(--navy-deep); }
.btn--accent:hover { background: #C6A76D; box-shadow: 0 10px 24px -12px rgba(184, 151, 90, .9); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 40, 74, .35); }
.header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding: 0 22px; font-size: 15px; }
/* destaque do INSS de Obra no menu: ponto dourado ao lado do texto */
.nav__dot { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--accent); vertical-align: 2px; box-shadow: 0 0 0 3px rgba(184, 151, 90, .22); }
.burger { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .header__logo img { height: 34px; }
  .burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0;
  }
  .burger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(20, 40, 74, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; min-height: 52px; }
}

/* ---------- Topo (hero) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(32px, 7vw, 96px)) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(1100px 520px at 85% 30%, var(--bg-soft) 0%, rgba(245, 246, 248, 0) 70%),
    #fff;
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; gap: clamp(24px, 3vw, 48px); }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.02em;
  margin-bottom: 24px;
}
/* computador: título 20% menor, para o botão e as cidades caberem na primeira tela (até em 1366x768) */
@media (min-width: 961px) { .hero__title { font-size: clamp(36px, 3.52vw, 48px); } }
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--header-h) + 22px); }
  .hero .hero__sims { margin-bottom: 12px; }
  .hero__title { margin-bottom: 14px; }
  .hero .hero__sub { margin-bottom: 22px; font-size: 18px; }
  .hero .hero__actions { margin-bottom: 20px; }
  .hero .hero__cities { row-gap: 2px; }
  .hero .hero__seal { margin-top: 10px; }
}
/* selos dos simuladores, acima do título: pequenos e claros, para não competir com o botão do WhatsApp */
.hero__sims { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.hero__sim {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent);
  font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--navy-deep); text-decoration: none; white-space: nowrap;
  transition: background-color .25s;
}
.hero__sim:hover { background: #EFE5D3; }
.hero__title em { font-style: italic; color: var(--accent-ink); }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--gray); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__cities { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--gray); }
.hero__cities li { position: relative; }
.hero__cities li:not(:last-child)::after { content: "·"; position: absolute; right: -11px; color: var(--accent); }
/* selo do INSS de Obra, logo abaixo das cidades */
.hero__seal {
  display: inline-block; margin-top: 14px;
  padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(184, 151, 90, .35);
  font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--navy-deep); text-decoration: none;
  transition: background-color .25s, border-color .25s;
}
.hero__seal:hover { background: #EFE5D3; border-color: var(--accent); }
@media (max-width: 1200px) { .hero__seal { border-radius: 16px; padding: 8px 14px; } }
.hero__seal-go { color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
.hero__seal-go span { display: inline-block; transition: transform .3s var(--ease); }
.hero__seal:hover .hero__seal-go span { transform: translateX(3px); }

.hero__stage {
  position: relative; aspect-ratio: 1 / .92; width: 100%;
  max-height: calc(100svh - var(--header-h) - 48px);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.hero__stage canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s var(--ease); cursor: grab; touch-action: pan-y; }
/* a ilustração e a dica ficam por baixo/transparentes ao toque, para o arrasto chegar à casa 3D */
.hero__fallback, .hero__hint { pointer-events: none; }
.hero__hint { z-index: 2; }
.hero__stage canvas:active { cursor: grabbing; }
.hero__stage.is-3d canvas { opacity: 1; }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .8s var(--ease); animation: float 7s ease-in-out infinite; }
.hero__stage.is-3d .hero__fallback { opacity: 0; }
.hero__hint {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%);
  margin: 0; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--gray);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  opacity: 0; transition: opacity .6s;
}
.hero__stage.is-3d .hero__hint { opacity: 1; }
.hero__stage.is-touched .hero__hint { opacity: 0; }

@keyframes float { 50% { transform: translateY(-10px); } }

.hero__in { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Celular/tablet: subtítulo e botão do WhatsApp logo abaixo do título (primeira tela); a casa vem em seguida */
@media (max-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__text { display: contents; }
  .hero__title { margin-bottom: 14px; }
  .hero__sub { margin-bottom: 20px; }
  .hero__actions { margin-bottom: 4px; }
  .hero__stage {
    order: 0; max-width: 620px; max-height: none; width: calc(100% + 2 * var(--gutter));
    margin: 0 calc(-1 * var(--gutter)) 12px; justify-self: center; aspect-ratio: 1 / .82;
  }
  .hero__cities, .hero__seal { order: 1; }
  .hero__seal { justify-self: start; }
}
@media (min-width: 621px) and (max-width: 960px) { .hero__stage { margin-left: auto; margin-right: auto; width: 100%; } }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tint { background: var(--bg-soft); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__lead { color: var(--gray); margin-top: 16px; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--gray); font-size: 16px; }
.card .card__lead { color: var(--ink); font-weight: 600; }
.card__icon {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(184, 151, 90, .28);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.card__icon svg { width: 36px; height: 36px; }
.card:not(.card--featured):hover .card__icon { background: var(--accent); color: #fff; }
.card__link {
  margin-top: auto; padding-top: 8px; align-self: flex-start;
  font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.card__link span { display: inline-block; transition: transform .3s var(--ease); }
.card__link:hover span { transform: translateX(4px); }
.card--featured .card__link { color: var(--accent); margin-top: 16px; }

.card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1.1fr; column-gap: clamp(32px, 5vw, 72px); align-content: start;
  padding: clamp(32px, 4vw, 56px);
  background: var(--navy); border-color: var(--navy); color: #fff;
  overflow: hidden;
}
.card--featured::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px;
  border: 1px solid rgba(184, 151, 90, .35); border-radius: 50%; pointer-events: none;
}
.card--featured h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); color: #fff; margin-top: 28px; }
.card--featured p { color: rgba(255, 255, 255, .78); font-size: 17px; }
.card--featured .card__lead { color: #fff; font-size: 19px; }
.card--featured .card__icon { background: rgba(184, 151, 90, .18); color: var(--accent); }
.card--featured .btn { justify-self: start; margin-top: 12px; }
.card--featured .checklist { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin: 0; padding: 28px 0 28px clamp(24px, 4vw, 48px); border-left: 1px solid rgba(255, 255, 255, .14); }
.card__top { display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 961px) { .card--featured .badge { position: absolute; top: clamp(32px, 4vw, 56px); right: clamp(32px, 4vw, 56px); } }
.badge {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-deep); background: var(--accent);
}
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 4px 0 32px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 26px; font-size: 16px; color: rgba(255, 255, 255, .92); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .card--featured { display: flex; }
  .card--featured .checklist { padding: 0; border: 0; margin: 4px 0 32px; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .hero { padding-bottom: 32px; }
}

/* ---------- Obras e projetos recentes ---------- */
.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.works__nav { display: flex; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.works__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 20px; cursor: pointer;
  transition: border-color .25s, background-color .25s, opacity .25s;
}
.works__btn:hover { border-color: var(--navy); }
.works__btn:disabled { opacity: .35; cursor: default; }
.works {
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 28px;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.works::-webkit-scrollbar { display: none; }
.works:focus-visible { outline-offset: -2px; }
.works__track { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.work {
  flex: 0 0 min(350px, 82vw); scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.work:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.work__media { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.work__media > img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.work__media--plan > img { object-fit: contain; padding: 14px; }
.work__stage, .work__sale {
  position: absolute; top: 12px; max-width: calc(100% - 24px);
  padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3;
}
.work__stage { left: 12px; background: rgba(20, 40, 74, .88); color: #fff; }
.work__sale { right: 12px; background: var(--wa); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.work__stage + .work__sale { top: auto; bottom: 12px; }
.work__thumb {
  position: absolute; right: 12px; bottom: 12px; width: 64px; height: 84px; padding: 3px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); cursor: zoom-in;
}
.work__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.work__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 22px 24px; }
.work__place { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.work h3 { margin-bottom: 4px; }
.work__meta { margin: 0 0 16px; font-size: 15px; color: var(--gray); }
.work__inss {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--navy-deep);
  font-size: 14px; font-weight: 700;
}
.work__inss::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-deep); opacity: .6; }
.work__cta { width: 100%; min-height: 48px; margin-top: 14px; font-size: 15px; }
.works__note { margin: 4px 0 0; font-size: 13px; color: var(--gray); }
.work--skeleton { min-height: 460px; background: linear-gradient(90deg, #fff, #f1f3f6, #fff); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.work__media--model { background: var(--bg-soft); }
.work__media .hero__fallback { padding: 18px; animation: none; }

/* Foto do serviço (vinda do CMS) no topo do card */
.card__photo { position: relative; margin: -32px -30px 6px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; cursor: zoom-in; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__photo img { transform: scale(1.04); }
.card__photo-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 40, 74, .85); color: #fff; font-size: 12px; font-weight: 700; }
.card--has-photo .card__icon { margin-top: -40px; position: relative; box-shadow: 0 0 0 4px #fff; }
.card--featured .card__photo { margin: 0 0 24px; border-radius: 12px; grid-column: 1; }
@media (max-width: 640px) { .works__nav { display: none; } }

.lightbox { max-width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 20, 40, .78); }
.lightbox img { display: block; max-width: min(1100px, 94vw); max-height: 92vh; object-fit: contain; border-radius: 14px; }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%); display: none;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy);
  font-size: 20px; cursor: pointer; box-shadow: var(--shadow);
}
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
.lightbox.is-multi .lightbox__prev, .lightbox.is-multi .lightbox__next { display: grid; place-items: center; }
.lightbox__close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

#sobre .about__diffs { background: #fff; }

/* ---------- Do terreno à chave (7 etapas) ---------- */
.trail__track {
  position: relative; display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr));
  margin: 0; padding: 0 0 8px; list-style: none;
}
/* linha que liga as etapas, passando pelo centro dos ícones */
.trail__track::before {
  content: ""; position: absolute; top: 36px; left: calc(100% / 14); right: calc(100% / 14);
  height: 1px; background: linear-gradient(90deg, var(--accent), var(--navy));
}
.trail__track li { display: flex; justify-content: center; }
.trail__step {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 700 16px/1.2 var(--sans); color: var(--navy);
}
.trail__icon {
  position: relative; display: grid; place-items: center; width: 72px; height: 72px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy);
  box-shadow: 0 0 0 8px var(--bg);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.trail__icon svg { width: 30px; height: 30px; }
.trail__n {
  position: absolute; top: -4px; right: -4px; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--navy-deep);
  font: 600 14px/1 var(--serif);
}
.trail__step:hover .trail__icon { border-color: var(--navy); transform: translateY(-3px); }
.trail__step.is-active .trail__icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.trail__step.is-active { color: var(--accent-ink); }
.trail__say {
  max-width: 760px; min-height: 3.3em; margin: 32px auto 0; padding: 20px 26px;
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--bg-soft);
  font-size: 17px; color: var(--ink);
}
.trail__say b { color: var(--navy); }
.trail__end { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 48px; text-align: center; }
.trail__end p { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); color: var(--navy); }

/* Celular: a linha rola para o lado */
@media (max-width: 760px) {
  .trail__track {
    grid-template-columns: repeat(7, 96px);
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .trail__track::-webkit-scrollbar { display: none; }
  .trail__track::before { left: calc(var(--gutter) + 48px); right: auto; width: calc(96px * 6); }
  .trail__track li { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .trail__icon { width: 64px; height: 64px; }
  .trail__say { margin-top: 20px; padding: 16px 18px; font-size: 16px; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__text h2 { margin-bottom: 28px; }
.about__text p { color: var(--gray); font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.facts dd { margin: 2px 0 0; font-size: 14px; color: var(--gray); }
.about__diffs { padding: clamp(28px, 4vw, 44px); background: var(--bg-soft); border-radius: var(--radius); }
.diffs__title { margin-bottom: 24px; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.diffs { margin: 0; padding: 0; list-style: none; }
.diffs li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.diffs li:first-child { border-top: 0; padding-top: 0; }
.diffs svg { flex: none; width: 26px; height: 26px; color: var(--accent-ink); }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Portfólio ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 14px; background: #e9ecf1; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 16px; font-size: 14px; color: var(--gray); background: #fff; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Jogo ---------- */
.game { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.game iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; }
@media (max-width: 640px) { .game iframe { aspect-ratio: 3 / 4; } }

/* ---------- Contato ---------- */
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2 { color: #fff; margin-bottom: 20px; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info > p { color: rgba(255, 255, 255, .75); font-size: 18px; }
.contact__list { margin: 36px 0 0; padding: 0; list-style: none; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact__list svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__form { padding: clamp(26px, 4vw, 44px); background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* Formulário */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--navy); padding: 0; }
.field .req { color: var(--accent-ink); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: 500 16px/1.4 var(--sans); color: var(--ink);
  background: var(--bg-soft); border: 1px solid transparent; border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%231F3864' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(31, 56, 100, .08); }
.field [aria-invalid="true"] { border-color: #C0392B; background: #FFF7F6; }
.field__help { font-size: 13px; color: var(--gray); }
.field__err { min-height: 0; margin: 0; font-size: 13px; font-weight: 600; color: #B42318; }
.field__err:empty { display: none; }
.field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.choice input { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--navy); -webkit-appearance: auto; appearance: auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__error { padding: 12px 16px; border-radius: 12px; background: #FEF3F2; color: #B42318; font-size: 14px; font-weight: 600; }
.form .btn { width: 100%; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form__note { margin: 0; font-size: 13px; color: var(--gray); text-align: center; }
.form-done { padding: 24px 4px; text-align: center; }
.form-done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.form-done__icon svg { width: 30px; height: 30px; }
.form-done h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin-bottom: 12px; }
.form-done p { color: var(--gray); }
.form-skeleton { display: grid; gap: 18px; }
.form-skeleton span { height: 52px; border-radius: 12px; background: linear-gradient(90deg, var(--bg-soft), #eceef2, var(--bg-soft)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.form-skeleton span:last-child { border-radius: 999px; background: #e9e1d2; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.footer { padding: 72px 0 28px; background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 190px; height: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .95; }
.footer__h { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__social { display: grid; gap: 10px; }
.footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.footer__social svg { width: 20px; height: 20px; }
.footer__base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__base p { margin: 0; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6), 0 4px 10px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero__in { opacity: 1; transform: none; }
}
