:root {
  --ink: #17212b;
  --muted: #5d6a76;
  --line: #d9e0e6;
  --paper: #f7f9fb;
  --white: #ffffff;
  --steel: #233240;
  --teal: #0d6f68;
  --gold: #c98a24;
  --rust: #a14935;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  background: #eef3f5;
  outline: none;
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: clamp(60px, 10vw, 120px) clamp(18px, 4vw, 64px) 78px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 28, 0.84), rgba(12, 20, 28, 0.56), rgba(12, 20, 28, 0.2));
}

.hero-home {
  background-image: url("https://placehold.co/1600x900/233240/f7fafc.png?text=Moveis+Metalicos+Sob+Medida");
}

.hero-presell {
  background-image: url("https://placehold.co/1600x900/3f4b54/f7fafc.png?text=Atendimento+Transparente");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-content.narrow {
  max-width: 720px;
}

.hero h1,
.legal-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 6vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5b849;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 64px);
}

.tinted {
  background: #eef3f5;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1140px;
  margin: 0 auto;
}

.section h2,
.legal-page h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.text-block p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head {
  max-width: 840px;
  margin: 0 auto 30px;
  text-align: center;
}

.cards {
  display: grid;
  gap: 18px;
  max-width: 1140px;
  margin: 0 auto;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 224px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.06);
}

.card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.compact .card {
  min-height: 180px;
}

.data-section {
  background: var(--white);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.data-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.data-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.cta-copy p:not(.eyebrow) {
  color: var(--muted);
}

.hold-button {
  position: relative;
  width: 100%;
  min-height: 72px;
  padding: 0 24px;
  overflow: hidden;
  border: 2px solid var(--steel);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  isolation: isolate;
}

.hold-button::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(35, 50, 64, 0.42);
  border-radius: 6px;
  z-index: 0;
}

.hold-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hold-progress, 0%);
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--rust));
  transition: width 80ms linear;
  z-index: -1;
}

.hold-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 1rem;
  font-weight: 900;
}

.hold-button:hover,
.hold-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  border-color: var(--teal);
}

.hold-button.is-holding {
  color: var(--white);
}

.legal-hero {
  padding: 82px clamp(18px, 4vw, 64px) 54px;
  background: var(--steel);
  color: var(--white);
}

.legal-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.legal-page {
  background: var(--white);
}

.legal-page article {
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.82);
  background: #111820;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .cta-section,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: grid;
  }

  .main-nav,
  .site-footer nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 560px;
    padding-top: 72px;
  }

  .cards.three,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .hold-button {
    min-height: 68px;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .hero h1,
  .legal-hero h1 {
    font-size: 2.05rem;
  }

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

  .hold-content {
    font-size: 0.92rem;
  }
}
