:root {
  --navy: #0f2140;
  --navy-2: #132b50;
  --orange: #e8620a;
  --orange-dark: #c84f05;
  --white: #ffffff;
  --paper: #f4f6f8;
  --line: #d8dde5;
  --ink: #18243a;
  --muted: #647087;
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 33, 64, 0.88), rgba(15, 33, 64, 0.18));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid {
  background: rgba(15, 33, 64, 0.96);
  box-shadow: 0 10px 26px rgba(5, 12, 26, 0.22);
}

.brand img {
  width: 158px;
}

.header-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--orange);
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary.light {
  border-color: rgba(255, 255, 255, 0.62);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 82vh;
  overflow: hidden;
  color: var(--white);
}

.hero::after,
.support::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -120px;
  width: 34vw;
  height: 260px;
  min-width: 320px;
  background: rgba(232, 98, 10, 0.72);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  z-index: -1;
}

.hero-media,
.hero-media video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 33, 64, 0.94) 0%, rgba(15, 33, 64, 0.76) 38%, rgba(15, 33, 64, 0.18) 78%),
    linear-gradient(0deg, rgba(15, 33, 64, 0.72), rgba(15, 33, 64, 0.08) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
  padding: 108px 0 42px;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  font-size: clamp(4rem, 9vw, 8.2rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

h3 {
  font-size: 2rem;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 22px clamp(18px, 4vw, 46px);
  background: var(--navy);
  color: var(--white);
}

.trust-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: var(--orange);
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
}

.trust-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  clip-path: inherit;
}

.trust-icon svg {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  color: var(--white);
}

.trust-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.trust-item strong {
  line-height: 1.22;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 48px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 44px;
  width: min(var(--max), 100%);
  margin: 0 auto 42px;
  align-items: end;
}

.section-head p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head.compact {
  display: block;
  max-width: var(--max);
}

.equipment {
  background: var(--paper);
}

.equipment .section-head {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 18px 56px;
  align-items: end;
  margin-bottom: 52px;
}

.equipment .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.equipment .section-head h2 {
  grid-column: 1;
  max-width: 740px;
  font-size: clamp(2.9rem, 4.6vw, 4.7rem);
}

.equipment .section-head p:not(.section-kicker) {
  grid-column: 2;
  max-width: 520px;
  padding-bottom: 8px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.equipment-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.equipment-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.equipment-card:nth-child(1) img,
.equipment-card:nth-child(2) img {
  object-position: center;
}

.equipment-card:nth-child(2) img {
  object-position: left center;
}

.equipment-card div {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.equipment-card h3 {
  font-size: clamp(1.75rem, 2vw, 2.35rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

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

.equipment-card a {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--orange);
  font-weight: 900;
}

.why {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  min-height: 680px;
  background: var(--white);
}

.why-image {
  min-height: 420px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-content {
  align-self: center;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 6vw, 86px);
}

.why-content p:not(.section-kicker) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.process {
  background: var(--navy);
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--max), 100%);
  margin: 38px auto 0;
  background: rgba(255, 255, 255, 0.18);
}

.timeline article {
  min-height: 210px;
  padding: 28px;
  background: var(--navy-2);
}

.timeline span {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  font-family: "Barlow Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.86;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.center-action {
  width: min(var(--max), 100%);
  margin: 32px auto 0;
}

.segments {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 46px;
  padding: clamp(70px, 9vw, 110px) clamp(18px, 4vw, 48px);
  background: var(--paper);
  align-items: center;
}

.segments > * {
  width: min(100%, 620px);
}

.segments > div {
  justify-self: end;
}

.segments ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.segments li {
  border-left: 4px solid var(--orange);
  padding: 13px 14px;
  background: var(--white);
  font-weight: 800;
}

.seo-content {
  background: var(--white);
}

.seo-content > div {
  width: min(920px, 100%);
  margin: 0 auto;
}

.seo-content h2 {
  max-width: 900px;
}

.seo-content p:not(.section-kicker) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.support {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 10vw, 130px) clamp(18px, 4vw, 48px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 33, 64, 0.94), rgba(15, 33, 64, 0.74)),
    url("assets/real/manutencao-escavadeira.jpeg") center 42% / cover;
}

.support-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.support-panel p:not(.section-kicker) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(860px, 100%);
  margin: 38px auto 0;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 0.9fr);
  gap: 50px;
  padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 48px);
  background: var(--navy);
  color: var(--white);
}

.contact-copy {
  justify-self: end;
  width: min(100%, 540px);
}

.contact-copy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.whatsapp-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 640px);
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(232, 98, 10, 0.28);
  border-color: var(--orange);
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 48px);
  background: #081428;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer img {
  width: 132px;
}

.site-footer p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 14px 34px rgba(8, 20, 40, 0.28);
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.floating-whatsapp:hover {
  background: #1fb85a;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(8, 20, 40, 0.32);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.floating-whatsapp path:first-child {
  fill: currentColor;
  opacity: 0.18;
}

.floating-whatsapp path:last-child {
  fill: currentColor;
}

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

  .section-head,
  .why,
  .segments,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .equipment .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .equipment .section-kicker,
  .equipment .section-head h2,
  .equipment .section-head p:not(.section-kicker) {
    grid-column: 1;
  }

  .equipment .section-head p:not(.section-kicker) {
    padding-bottom: 0;
  }

  .equipment-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-image {
    clip-path: none;
  }

  .segments > div,
  .contact-copy {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand img {
    width: 126px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 33, 64, 0.95), rgba(15, 33, 64, 0.72)),
      linear-gradient(0deg, rgba(15, 33, 64, 0.82), rgba(15, 33, 64, 0.18));
  }

  .trust-bar,
  .equipment-grid,
  .timeline,
  .segments ul,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .timeline {
    background: transparent;
    gap: 12px;
  }

  .timeline article {
    min-height: auto;
  }

  .segments {
    gap: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    width: 56px;
    min-height: 56px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
