:root {
  --navy: #02094d;
  --blue: #2437b0;
  --ink: #333333;
  --mute: #5f6066;
  --bg: #ffffff;
  --soft: #f3f3f5;
  --yellow: #eea814;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: currentColor; display: block; }
ul { list-style: none; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }

/* Topo */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  height: 76px; padding: 0 var(--pad);
  background: var(--bg);
  box-shadow: 0 1px 12px rgba(2, 9, 77, .08);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Montserrat", sans-serif; font-weight: 400; font-size: 1.05rem;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.15;
  color: var(--navy);
}
.brand img { width: 54px; height: 54px; mix-blend-mode: multiply; }
.brand-name span:last-child { color: var(--yellow); }
.nav { display: flex; gap: 30px; margin-left: auto; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--blue); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border: 2px solid transparent; border-radius: 4px;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #f6bb3c; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(calc(100vh - 76px), 740px);
  background: var(--navy); color: #fff; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  left: 14%; width: 150%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 42%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 18%, rgba(2, 9, 77, .85) 46%, rgba(2, 9, 77, .1) 74%);
}
.hero-text { max-width: 900px; padding: 80px var(--pad); }
.hero h1 { color: #fff; }
.lead { max-width: 29em; margin-top: 26px; font-size: 1.2rem; color: #e1e3f2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* Faixa amarela */
.strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px;
  padding: 22px var(--pad);
  background: var(--yellow); color: var(--navy);
  font-weight: 600;
}

/* Secções */
.section { padding: clamp(72px, 9vw, 128px) var(--pad); }
.head { max-width: 40em; margin-bottom: 44px; }
.head p { margin-top: 16px; font-size: 1.15rem; color: var(--mute); }

.build { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.build-img { width: 100%; height: 100%; min-height: 420px; max-height: 620px; object-fit: cover; border-radius: 4px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { background: var(--soft); padding: 26px 24px 30px; border-radius: 4px; }
.tile p { margin-top: 10px; color: var(--mute); font-size: 0.97rem; }

/* Equipamento */
#aluguer { padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  padding: 10px 16px; border: 0; border-radius: 4px; background: var(--soft); color: var(--navy);
  font: inherit; font-size: 0.92rem; font-weight: 500; cursor: pointer;
}
.chip:hover { background: #e4e4ea; }
.chip.is-on { background: var(--navy); color: #fff; }

.fleet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.machine {
  display: flex; flex-direction: column;
  background: var(--soft); padding: 28px; border-radius: 4px;
  color: var(--navy);
  --cut: var(--soft);
  transition: background .15s;
}
.machine[hidden] { display: none; }
.machine svg { width: 58%; margin: 10px 0 34px; }
.machine p { margin-top: 8px; color: var(--mute); font-size: 0.95rem; flex: 1; }
.ask { margin-top: 22px; font-weight: 600; font-size: 0.92rem; color: var(--blue); }
.machine:hover { background: var(--yellow); --cut: var(--yellow); }
.machine:hover p, .machine:hover .ask { color: var(--navy); }

/* Faixa azul */
.band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 112px) var(--pad); }
/* Riscas diagonais do logótipo */
.hatch {
  position: absolute; top: 0; bottom: 0; right: var(--pad); width: 64px;
  background: repeating-linear-gradient(-63deg, var(--yellow) 0 9px, transparent 9px 30px);
}
.band h2, .steps { padding-right: 96px; }
.band h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 52px; }
.steps h3 { color: var(--yellow); }
.steps p { margin-top: 12px; color: #c9cbe0; max-width: 24em; }

/* Contacto */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  background: var(--yellow); color: var(--navy);
  padding: clamp(72px, 9vw, 112px) var(--pad);
}
.contact-info > p { margin-top: 16px; font-size: 1.15rem; max-width: 26em; }
dl { display: grid; gap: 20px; margin-top: 40px; }
dt { font-size: 0.85rem; font-weight: 600; }
dd { margin: 2px 0 0; font-size: 1.2rem; font-weight: 600; }
dd a:hover { text-decoration: underline; }

.form {
  display: grid; gap: 16px; align-content: start;
  background: #fff; padding: clamp(24px, 3vw, 40px); border-radius: 4px;
  box-shadow: 0 18px 40px rgba(2, 9, 77, .16);
}
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 2px solid transparent; border-radius: 4px;
  background: var(--soft); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; margin-top: 8px; }
.form-note { font-size: 0.92rem; font-weight: 600; }
.form-note:empty { display: none; }

/* Rodapé */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px;
  padding: 32px var(--pad); background: var(--navy); color: #c9cbe0; font-size: 0.9rem;
}
.foot-logo { background: #fff; padding: 10px 14px; border-radius: 4px; }
.foot-logo img { width: 110px; height: auto; }
.foot p:last-child { margin-left: auto; }

@media (max-width: 1000px) {
  .build { grid-template-columns: 1fr; }
  .build-img { min-height: 0; aspect-ratio: 16 / 9; }
  .fleet { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero { min-height: 560px; align-items: flex-end; }
  .hero-img { left: 0; width: 100%; object-position: 45% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(2, 9, 77, .96) 30%, rgba(2, 9, 77, .35) 100%); }
  .hero-text { padding: 56px var(--pad) 48px; }
  .strip { flex-direction: column; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .hatch { width: 36px; }
  .band h2, .steps { padding-right: 56px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .foot p:last-child { margin-left: 0; }
}
@media (max-width: 460px) {
  .brand { font-size: 0.82rem; gap: 8px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name span { display: block; }
  .tiles { grid-template-columns: 1fr; }
  .fleet { gap: 8px; }
  .machine { padding: 18px; }
  .machine svg { width: 78%; margin-bottom: 22px; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
