/* Steel Conecta Landing — design tokens & components */

:root {
  --navy: #194A69;
  --navy-deep: #123A54;
  --navy-darker: #12303F;
  --navy-footer: #0E2F45;
  --gold: #DDA44F;
  --gold-hover: #C8903B;
  --gold-dark: #B07E33;
  --gold-soft: #F0C784;
  --ink: #292929;
  --ink-muted: #4A4A48;
  --ink-soft: #5A5A57;
  --ink-faint: #7A7A76;
  --ink-ghost: #8A8A86;
  --cream: #F6F6F4;
  --white: #FFFFFF;
  --surface: #FBFBFA;
  --border: #E4E4E0;
  --border-soft: #EFEFEB;
  --border-input: #D4D4D0;
  --gray-bar: #C9CDCF;
  --gray-img: #DDE2E5;
  --max: 1240px;
}

html {
  scroll-behavior: smooth;
  /* clip evita scroll horizontal sem quebrar position:fixed no iOS/Safari */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

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

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

input,
select,
textarea,
button {
  font-family: "Inter", sans-serif;
}

img {
  max-width: 100%;
}

/* Animations */
@keyframes scrollHint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kbBase {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.07);
  }
}

@keyframes kbFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  6% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  background: var(--navy-deep);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  /* força camada própria — evita bugs de fixed no iOS / WebView do WhatsApp */
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: padding 0.35s ease;
  width: 100%;
}

.site-header.is-scrolled .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand:hover {
  color: inherit;
}

.logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: block;
}

.logo-diamond {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1.5px solid #f6f6f4;
  transform: rotate(45deg);
  display: block;
}

.logo-diamond:nth-child(1) {
  left: 3px;
  top: 1px;
}
.logo-diamond:nth-child(2) {
  left: 20px;
  top: 1px;
}
.logo-diamond:nth-child(3) {
  left: 3px;
  top: 18px;
}
.logo-diamond:nth-child(4) {
  left: 20px;
  top: 18px;
}

.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 2.5px;
  white-space: nowrap;
}

.brand-name .gold {
  color: var(--gold);
}
.brand-name .word {
  color: var(--cream);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-desktop a {
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: #1b2b36 !important;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.25s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: #1b2b36 !important;
}

.btn-gold-lg {
  font-size: 15.5px;
  padding: 17px 34px;
}

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

.btn-gold-xl {
  font-weight: 700;
  font-size: 16.5px;
  padding: 19px 40px;
}

.btn-outline-light {
  border: 1.5px solid rgba(246, 246, 244, 0.55);
  color: var(--cream) !important;
  font-weight: 500;
  font-size: 15.5px;
  padding: 17px 34px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  display: inline-block;
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
  background: rgba(221, 164, 79, 0.08);
}

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--cream) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  transition: background 0.25s;
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: var(--cream) !important;
}

.burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  background: var(--navy-deep);
  padding: 12px 16px 28px;
  flex-direction: column;
  gap: 4px;
  animation: fadeUp 0.3s ease;
  max-height: min(70vh, 480px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(246, 246, 244, 0.1);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(246, 246, 244, 0.12);
}

.nav-mobile a:last-of-type {
  border-bottom: none;
}

.nav-mobile .btn-gold {
  margin-top: 14px;
  padding: 15px;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-darker);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero-bg img:first-child {
  animation: kbBase 18s linear infinite alternate;
}

.hero-bg img:nth-child(2) {
  opacity: 0;
  animation: kbFade 27s linear infinite;
  animation-delay: 9s;
}

.hero-bg img:nth-child(3) {
  opacity: 0;
  animation: kbFade 27s linear infinite;
  animation-delay: 18s;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  /* “Insufilm”: escurece o vídeo/foto para legibilidade do texto */
  background:
    linear-gradient(
      105deg,
      rgba(10, 28, 40, 0.82) 0%,
      rgba(14, 38, 52, 0.72) 42%,
      rgba(18, 48, 63, 0.55) 100%
    ),
    rgba(8, 22, 32, 0.28);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 24px 100px;
  width: 100%;
  box-sizing: border-box;
}

.hero-inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: fadeUp 0.8s ease;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow-line {
  width: 42px;
  height: 2px;
  background: var(--gold);
  display: block;
  flex: 0 0 auto;
}

.eyebrow-line.sm {
  width: 36px;
}

.eyebrow-text {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

.eyebrow-text.on-light {
  color: var(--gold-dark);
  font-size: 12.5px;
  letter-spacing: 3px;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--gold);
}

.hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  color: rgba(246, 246, 244, 0.88);
  margin: 0;
  max-width: 560px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(246, 246, 244, 0.75);
}

.scroll-hint:hover {
  color: var(--gold);
}

.scroll-hint span:first-child {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.scroll-hint .line {
  width: 1.5px;
  height: 34px;
  background: rgba(246, 246, 244, 0.5);
  display: block;
  animation: scrollHint 2s ease-in-out infinite;
}

/* ===== Stats ===== */
.stats {
  background: var(--navy);
  scroll-margin-top: 70px;
}

.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.stat strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--gold);
}

.stat span {
  color: rgba(246, 246, 244, 0.85);
  font-size: 14.5px;
}

.stat .hint {
  opacity: 0.55;
  font-size: 12px;
}

/* ===== Sections common ===== */
.section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 70px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 24px;
  position: relative;
}

.section-label {
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-label.on-dark {
  color: var(--gold);
}

.section h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}

.section h2 span {
  color: var(--gold);
}

.section h2.on-dark {
  color: #fff;
}

.bg-deco {
  position: absolute;
  pointer-events: none;
}

/* ===== Sobre ===== */
.sobre {
  background: var(--cream);
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.sobre-photo {
  position: relative;
}

.sobre-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--gray-img);
}

.corner {
  position: absolute;
  width: 90px;
  height: 90px;
  display: block;
}

.corner.tl {
  top: -14px;
  left: -14px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.corner.br {
  bottom: -14px;
  right: -14px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
}

.sobre-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sobre-copy p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 0;
  text-wrap: pretty;
}

.grupo-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 !important;
}

.logo-fast-inline {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  background: transparent;
  padding: 0;
}

.sobre-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.sobre-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.sobre-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

@media (max-width: 600px) {
  .sobre-highlights {
    grid-template-columns: 1fr;
  }
}

/* ===== Steel Frame ===== */
.steel-frame {
  background: var(--white);
}

.steel-intro {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.steel-intro p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 0;
  text-wrap: pretty;
}

.steel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.steel-grid > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--gray-img);
}

.benefits {
  grid-column: span 2;
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px;
  background: #e8e8e4;
}

.benefit {
  background: var(--white);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diamond {
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  display: block;
  margin: 4px 0;
}

.benefit h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
  margin: 0;
}

.benefit p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== Comparativo ===== */
.compare {
  background: var(--cream);
}

.compare-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.compare-table {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
}

.compare-head-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: var(--navy);
  padding: 18px 24px;
  gap: 16px;
}

.compare-head-row span {
  color: rgba(246, 246, 244, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.compare-head-row .conv-col {
  color: #B8C0C6;
  font-weight: 600;
}

.compare-head-row .gold-col {
  color: var(--gold);
  font-weight: 700;
}

/* legenda mobile (escondida no desktop) */
.compare-legend {
  display: none;
  gap: 14px;
  padding: 14px 18px;
  background: #f3f5f6;
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.legend-item i {
  width: 14px;
  height: 14px;
  display: block;
  border-radius: 2px;
  flex: 0 0 auto;
}

.legend-conv {
  color: #5A6570;
}

.legend-conv i {
  background: #8B949C;
}

.legend-steel {
  color: var(--navy);
}

.legend-steel i {
  background: var(--gold);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 16px 24px;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}

.compare-row .aspect {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.bar-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* tags por barra: só no mobile */
.bar-tag {
  display: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.2;
}

.bar-tag.conv-tag {
  color: #4A5560;
  background: #E8ECF0;
}

.bar-tag.steel-tag {
  color: #1b2b36;
  background: rgba(221, 164, 79, 0.28);
}

.bar {
  height: 10px;
  display: block;
  border-radius: 2px;
  max-width: 100%;
}

.bar.conv {
  background: #8B949C;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.bar.steel {
  background: linear-gradient(90deg, #1a4a66 0%, var(--gold) 100%);
  box-shadow: 0 1px 0 rgba(221, 164, 79, 0.25);
}

.bar-col .label {
  font-size: 13px;
  color: #6B737A;
  font-weight: 500;
}

.bar-col .label.steel-label {
  color: var(--navy);
  font-weight: 700;
}

.bar-col-conv {
  padding: 8px 10px;
  border-radius: 4px;
  background: transparent;
}

.bar-col-steel {
  padding: 8px 10px;
  border-radius: 4px;
  background: transparent;
}

.compare-note {
  padding: 16px 24px;
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-ghost);
  line-height: 1.5;
}

/* ===== Serviços ===== */
.servicos {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.servicos-deco {
  position: absolute;
  border: 1.5px solid rgba(246, 246, 244, 0.07);
  transform: rotate(45deg);
  display: block;
  pointer-events: none;
}

.servicos-deco.a {
  left: -80px;
  top: 60px;
  width: 200px;
  height: 200px;
}

.servicos-deco.b {
  right: -60px;
  bottom: 80px;
  width: 160px;
  height: 160px;
  border-color: rgba(221, 164, 79, 0.15);
}

.servicos-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.servicos-head > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.btn-outline-sm {
  border: 1.5px solid rgba(246, 246, 244, 0.4);
  color: var(--cream) !important;
  font-weight: 500;
  font-size: 14.5px;
  padding: 14px 26px;
  transition: border-color 0.25s, color 0.25s;
  display: inline-block;
}

.btn-outline-sm:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.service-card .media {
  position: relative;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--navy-footer);
}

.service-card .accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 46px;
  height: 4px;
  background: var(--gold);
  display: block;
}

.service-card .body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin: 0;
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(246, 246, 244, 0.75);
  margin: 0;
  flex: 1;
}

.service-card .link {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin-top: 6px;
}

.service-card .link:hover {
  color: var(--gold-soft);
}

/* ===== Processo ===== */
.processo {
  background: var(--white);
}

.processo-intro {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(44px, 5vw, 70px);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid #d8dde0;
  padding-top: 18px;
  position: relative;
  min-width: 0;
}

.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.step .num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.step h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}

.step p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== Portfólio ===== */
.portfolio {
  background: var(--cream);
}

.portfolio-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.portfolio-head > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.portfolio-head p {
  font-size: 14px;
  color: var(--ink-ghost);
  margin: 0;
}

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy) !important;
  font-weight: 500;
  font-size: 14.5px;
  padding: 14px 26px;
  transition: all 0.25s;
  display: inline-block;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--cream) !important;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  grid-auto-rows: 240px;
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: var(--gray-img);
  transition: box-shadow 0.3s;
}

.project-card.span-2 {
  grid-row: span 2;
}

.project-card:hover {
  box-shadow: 0 14px 34px rgba(25, 74, 105, 0.25);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 48, 63, 0) 40%,
    rgba(18, 48, 63, 0.85) 100%
  );
  display: block;
}

.project-card .info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-card .cat {
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-card .title {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.project-card .meta {
  color: rgba(246, 246, 244, 0.75);
  font-size: 13px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 48, 63, 0.85);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  background: var(--white);
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  animation: fadeUp 0.35s ease;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--navy);
  color: var(--cream);
  border: none;
  width: 42px;
  height: 42px;
  font-size: 19px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--gold);
  color: #1b2b36;
}

.modal-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  background: var(--gray-img);
  overflow: hidden;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-body .tag {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.modal-body h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
  margin: 0;
}

.modal-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.modal-cols h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: var(--gold);
  margin: 0 0 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-cols p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
}

.modal-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-soft);
  padding-top: 18px;
}

.modal-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-meta span:first-child {
  font-size: 12px;
  color: var(--ink-ghost);
}

.modal-meta span:last-child {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ===== Depoimentos ===== */
.depoimentos {
  background: var(--white);
}

.depo-intro {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(36px, 4vw, 54px);
}

.depo-intro p {
  font-size: 13.5px;
  color: var(--ink-ghost);
  margin: 0;
}

.testimonials {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.testimonial {
  flex: 0 0 min(360px, 85vw);
  scroll-snap-align: start;
  margin: 0;
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial .stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 3px;
}

.testimonial blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  flex: 1;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.testimonial .sub {
  font-size: 13px;
  color: var(--ink-ghost);
}

/* ===== CTA ===== */
.cta {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}

.cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.cta-deco {
  position: absolute;
  border: 1.5px solid rgba(221, 164, 79, 0.3);
  transform: rotate(45deg);
  display: block;
  pointer-events: none;
}

.cta-deco.a {
  left: 6%;
  top: -40px;
  width: 140px;
  height: 140px;
}

.cta-deco.b {
  right: 8%;
  bottom: -50px;
  width: 170px;
  height: 170px;
  border-color: rgba(221, 164, 79, 0.2);
}

.cta-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
}

.cta-inner h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.15;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}

.cta-inner h2 span {
  color: var(--gold);
}

.cta-inner p {
  font-size: 17px;
  color: rgba(246, 246, 244, 0.8);
  margin: 0;
  max-width: 540px;
}

/* ===== Contato ===== */
.contato {
  background: var(--cream);
}

.contato .section-inner {
  max-width: 1080px;
}

.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.contato-info > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item .diamond-sm {
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  display: block;
  margin-top: 5px;
  flex: 0 0 auto;
}

.contact-item strong {
  font-size: 14.5px;
  color: var(--navy);
}

.contact-item span,
.contact-item a {
  font-size: 15px;
}

.contact-item .muted {
  color: var(--ink-ghost);
}

.map-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e9ebea,
    #e9ebea 12px,
    #e2e5e4 12px,
    #e2e5e4 24px
  );
  aspect-ratio: 16 / 8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.map-placeholder span {
  font-family: monospace;
  font-size: 13px;
  color: #6a6f72;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
}

.map-placeholder.map-brand {
  background: linear-gradient(145deg, var(--navy-deep) 0%, #0a1c28 100%);
  flex-direction: column;
  gap: 12px;
  aspect-ratio: auto;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  border-top: 3px solid var(--gold);
  padding: 28px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.map-placeholder.map-brand .map-logo {
  display: block;
  width: min(200px, 70%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: none;
}

.map-placeholder.map-brand span {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--cream);
  background: transparent;
  padding: 0 8px;
  text-align: center;
  max-width: 100%;
  line-height: 1.4;
  word-wrap: break-word;
}

.contact-form {
  background: var(--white);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--gold);
  width: 100%;
  max-width: 560px;
  min-width: 0;
  overflow: hidden;
  justify-self: end;
  box-shadow: 0 12px 40px rgba(18, 48, 63, 0.06);
}

.form-success {
  display: none;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 40px 10px;
}

.form-success.is-visible {
  display: flex;
}

.form-success .diamond-lg {
  width: 20px;
  height: 20px;
  border: 3px solid var(--gold);
  transform: rotate(45deg);
  display: block;
  margin: 0 auto;
}

.form-success h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
}

.form-success p {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0;
}

.form-fields.is-hidden {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
  max-width: 100%;
}

label.field input,
label.field select,
label.field textarea {
  border: 1px solid var(--border-input);
  padding: 13px 14px;
  font-size: 16px; /* evita zoom automático no iOS */
  background: var(--surface);
  outline-color: var(--navy);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

label.field input[type="file"] {
  border: 1px dashed #c4c4c0;
  font-size: 13.5px;
}

label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-muted);
  font-weight: 400;
  cursor: pointer;
}

label.check input {
  margin-top: 3px;
  accent-color: var(--navy);
  width: 16px;
  height: 16px;
}

label.check a {
  text-decoration: underline;
}

.form-error {
  display: none;
  background: #fbefe5;
  border-left: 3px solid #c8703b;
  color: #8a4a22;
  font-size: 14px;
  padding: 12px 14px;
  margin: 0;
}

.form-error.is-visible {
  display: block;
}

.btn-submit {
  background: var(--gold);
  color: #1b2b36;
  border: none;
  font-weight: 700;
  font-size: 15.5px;
  padding: 17px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.25s, opacity 0.25s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--gold-hover);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-ghost);
  text-align: center;
}

/* ===== FAQ ===== */
.faq {
  background: var(--white);
}

.faq-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 110px) 24px;
}

.faq-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 48px);
  text-align: center;
  align-items: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 22px;
  cursor: pointer;
  text-align: left;
}

.faq-btn span:first-child {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}

.faq-btn .icon {
  color: var(--gold);
  font-size: 20px;
  font-weight: 600;
  flex: 0 0 auto;
  transition: transform 0.3s;
}

.faq-item.is-open .faq-btn .icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-footer);
  color: rgba(246, 246, 244, 0.8);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 80px) 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-mark {
  width: 36px;
  height: 36px;
}

.footer-logo .logo-diamond {
  width: 13px;
  height: 13px;
}

.footer-logo .logo-diamond:nth-child(1) {
  left: 2px;
  top: 1px;
}
.footer-logo .logo-diamond:nth-child(2) {
  left: 18px;
  top: 1px;
}
.footer-logo .logo-diamond:nth-child(3) {
  left: 2px;
  top: 17px;
}
.footer-logo .logo-diamond:nth-child(4) {
  left: 18px;
  top: 17px;
}

.footer-logo .brand-name {
  font-size: 17px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 300px;
}

.footer-domain {
  font-size: 13.5px;
  color: var(--gold);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}

.footer-col a {
  color: rgba(246, 246, 244, 0.75);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col .muted {
  font-size: 14px;
  color: rgba(246, 246, 244, 0.55);
}

.footer-col .faint {
  font-size: 13px;
  color: rgba(246, 246, 244, 0.45);
}

.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 22px 24px;
  border-top: 1px solid rgba(246, 246, 244, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom span,
.footer-bottom a {
  font-size: 12.5px;
  color: rgba(246, 246, 244, 0.5);
}

.footer-bottom a {
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* WhatsApp float */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1200;
  display: none;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff !important;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  font-weight: 600;
  font-size: 14px;
  animation: fadeUp 0.5s ease;
  transition: transform 0.25s;
}

.whats-float.is-visible {
  display: flex;
}

.whats-float:hover {
  transform: translateY(-3px);
  color: #fff !important;
}

.whats-float.is-mobile-bar {
  bottom: 72px;
}

/* Mobile bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-footer);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 100vw;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.mobile-bar.is-visible {
  display: grid;
}

.mobile-bar a {
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 15px 10px;
}

.mobile-bar a:first-child {
  color: var(--cream);
  border-right: 1px solid rgba(246, 246, 244, 0.15);
}

.mobile-bar a:last-child {
  color: #1b2b36;
  background: var(--gold);
  font-weight: 700;
}

.mobile-bar a:hover {
  color: inherit;
}

/* Reveal */
[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal] {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Responsive */
@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 920px) {
  .nav-desktop {
    display: none;
  }
  .burger {
    display: flex;
  }

  .benefits {
    grid-column: span 1;
  }

  .compare-head-row {
    display: none; /* no mobile usamos legenda + tags por linha */
  }

  .compare-legend {
    display: flex;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px;
  }

  .compare-row .aspect {
    font-size: 15.5px;
    margin-bottom: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-soft);
  }

  .bar-tag {
    display: inline-block;
  }

  .bar-col-conv {
    background: #F2F4F6;
    border-left: 3px solid #8B949C;
  }

  .bar-col-steel {
    background: #FFF8EC;
    border-left: 3px solid var(--gold);
  }

  .bar {
    height: 12px;
  }

  .bar-col .label {
    font-size: 13.5px;
  }

  .bar-col .label.steel-label {
    color: #9A6A1E;
  }

  .project-card.span-2 {
    grid-row: span 1;
    min-height: 280px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step .num {
    font-size: 30px;
  }

  .step h3 {
    font-size: 15.5px;
  }

  .step p {
    font-size: 13.5px;
  }

  .contato-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: 100%;
    justify-self: stretch;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-placeholder.map-brand {
    padding: 24px 16px;
  }

  .map-placeholder.map-brand .map-logo {
    width: min(160px, 62%);
  }

  .section.contato .section-inner {
    padding-left: 16px;
    padding-right: 16px;
    /* espaço para barra inferior + botão WhatsApp no mobile */
    padding-bottom: 110px;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 1.5px;
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas a {
    text-align: center;
  }

  .whats-float span:last-child {
    display: none;
  }

  .whats-float {
    padding: 14px;
    border-radius: 50%;
    right: 14px;
    bottom: 72px;
  }

  .whats-float.is-mobile-bar {
    bottom: 72px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .map-placeholder.map-brand span {
    font-size: 12px;
  }
}
