:root {
  --navy: #0d3977;
  --navy-deep: #092e65;
  --blue: #0784c3;
  --blue-bright: #0a91cb;
  --green: #04d65b;
  --ink: #0b2340;
  --muted: #64768c;
  --white: #fff;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Roboto", sans-serif; color: var(--ink); background: #eef6fb; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3 { font-family: "Montserrat", sans-serif; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(118deg, #087ebb 0%, #0a8ec8 55%, #0879b5 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: url("imagens/emplacar mercosul.webp");
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.1);
}

.hero__texture {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -190px;
  top: -260px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 50%;
  box-shadow: 0 0 0 85px rgb(255 255 255 / .035), 0 0 0 170px rgb(255 255 255 / .025);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 24px auto 0;
  padding: 13px 18px 13px 25px;
  display: grid;
  grid-template-columns: 205px 1fr auto;
  align-items: center;
  gap: 28px;
  color: var(--white);
  background: rgb(13 57 119 / .97);
  border: 1px solid rgb(5 38 82 / .85);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgb(3 41 82 / .28);
}

.brand { display: inline-flex; width: max-content; }
.brand img { width: 188px; height: auto; display: block; }
.main-menu { display: flex; justify-content: center; align-items: center; gap: clamp(15px, 1.7vw, 27px); }
.main-menu a { position: relative; padding: 12px 0; font-size: 14px; font-weight: 400; color: #e2ebf6; transition: color .2s ease; }
.main-menu a:hover { color: #fff; }
.main-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--green); border-radius: 2px; transition: right .2s ease; }
.main-menu a:hover::after { right: 0; }

.header-cta, .primary-button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.header-cta { min-height: 38px; padding: 0 11px 0 16px; color: #fff; background: #168dcc; border-radius: 20px; font-size: 12px; box-shadow: inset 0 1px rgb(255 255 255 / .2); }
.header-cta:hover { background: #1a98d9; }
.header-cta svg, .primary-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-cta svg { width: 14px; height: 14px; padding: 3px; background: #0d6eaa; border-radius: 50%; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; border-radius: 2px; background: #fff; }

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1110px, calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  padding: 78px 0 76px;
  color: #fff;
}

.hero__copy { position: relative; z-index: 3; max-width: 620px; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 9px; color: #bdfbd1; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 25px; height: 2px; background: var(--green); }
h1 { margin: 0; max-width: 650px; font-size: clamp(38px, 3.15vw, 46px); font-weight: 500; line-height: 1.13; letter-spacing: -.025em; }
h1 strong { color: #c8f6ff; font-weight: 600; }
.hero__lead { max-width: 590px; margin: 22px 0 28px; color: #e6f5fc; font-size: 17px; line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 25px; }
.primary-button { min-height: 52px; padding: 0 21px; color: #fff; background: var(--navy); border-radius: 22px; box-shadow: 0 8px 20px rgb(4 38 82 / .28); transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: var(--navy-deep); box-shadow: 0 12px 26px rgb(4 38 82 / .34); }
.service-note { display: flex; align-items: center; gap: 8px; color: #e9f8ff; font-size: 14px; font-weight: 600; }
.service-note svg { width: 20px; fill: none; stroke: #b9ecff; stroke-width: 1.8; }
.trust-row { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 32px; color: #e4f5fc; font-size: 12px; font-weight: 600; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row i { width: 17px; height: 17px; display: inline-grid; place-items: center; color: #053d56; background: var(--green); border-radius: 50%; font-style: normal; font-size: 10px; }

.hero__visual { position: relative; align-self: stretch; min-height: 450px; }
.orb { position: absolute; z-index: 0; width: 430px; height: 430px; right: -18px; top: 45px; border-radius: 50%; background: linear-gradient(145deg, rgb(255 255 255 / .18), rgb(3 101 168 / .07)); border: 1px solid rgb(255 255 255 / .2); }
.hero__car { position: absolute; z-index: 2; width: min(550px, 110%); height: auto; right: -28px; bottom: -1px; filter: drop-shadow(0 28px 24px rgb(1 46 81 / .38)); }
.plate-shadow { position: absolute; z-index: 1; width: 390px; height: 38px; right: 27px; bottom: 5px; background: rgb(0 39 78 / .35); border-radius: 50%; filter: blur(13px); }
.rating-card { position: absolute; z-index: 5; top: 49px; right: 12px; display: grid; grid-template-columns: auto auto; gap: 1px 10px; padding: 12px 16px; color: #fff; background: rgb(5 54 110 / .8); border: 1px solid rgb(255 255 255 / .18); border-radius: 11px; backdrop-filter: blur(8px); }
.rating-card .stars { grid-row: span 2; align-self: center; color: #ffd76a; font-size: 11px; letter-spacing: 1px; writing-mode: vertical-lr; }
.rating-card strong { font-size: 19px; line-height: 1; }
.rating-card span { color: #cbe8f6; font-size: 10px; }

.units-panel {
  position: relative;
  z-index: 10;
  width: min(1180px, calc(100% - 48px));
  margin: -34px auto 60px;
  padding: 28px 30px 31px;
  background: #fff;
  border: 1px solid rgb(10 75 126 / .1);
  border-radius: var(--radius);
  box-shadow: 0 24px 55px rgb(3 50 88 / .16);
}
.units-panel__heading { display: flex; align-items: center; margin-bottom: 20px; }
.units-panel__heading .eyebrow { margin-bottom: 6px; }
.eyebrow--dark { color: #3481a9; }
.units-panel h2 { margin: 0; font-family: Montserrat, sans-serif; font-size: clamp(25px, 2.5vw, 35px); letter-spacing: -.035em; }
.unit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.unit-card { grid-column: span 2; min-width: 0; padding: 21px 21px 19px; background: #f3f8fc; border: 1px solid #e2edf5; border-radius: 12px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.unit-card:nth-child(-n + 2) { grid-column: span 3; }
.unit-card:hover { transform: translateY(-4px); border-color: #aadcf0; box-shadow: 0 12px 25px rgb(7 72 115 / .1); }
.unit-card--featured { background: #edfaff; border-color: #8fdaf4; }
.unit-card__tag { color: #1385b7; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.unit-card h3 { margin: 7px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.unit-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.unit-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.unit-card__main { color: var(--navy); font-size: 14px; font-weight: 500; }
.unit-card__main span { color: var(--green); }
.whatsapp-link { color: #078b47; font-size: 13px; font-weight: 500; }
.whatsapp-link:hover { text-decoration: underline; }

.floating-whatsapp { position: fixed; z-index: 50; right: 25px; bottom: 25px; width: 58px; height: 58px; display: grid; place-items: center; background: #19bf61; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 9px 24px rgb(0 57 31 / .28); transition: transform .2s; }
.floating-whatsapp:hover { transform: scale(1.07); }
.floating-whatsapp svg { width: 31px; fill: #fff; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-menu { gap: 13px; }
  .main-menu a { font-size: 12px; }
  .brand img { width: 165px; }
  .unit-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 800px) {
  .site-header { width: calc(100% - 28px); margin-top: 14px; min-height: 68px; grid-template-columns: 1fr auto; padding: 10px 12px 10px 17px; }
  .brand img { width: 151px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-menu { position: absolute; display: none; flex-direction: column; align-items: stretch; gap: 0; left: 0; right: 0; top: calc(100% + 8px); padding: 12px 20px; background: var(--navy-deep); border: 1px solid rgb(255 255 255 / .12); border-radius: 12px; box-shadow: 0 18px 35px rgb(0 31 72 / .35); }
  .main-menu.is-open { display: flex; }
  .main-menu a { padding: 12px 4px; }
  .main-menu .is-active::after { right: auto; width: 30px; }
  .hero__content { width: calc(100% - 36px); grid-template-columns: 1fr; padding: 70px 0 24px; text-align: center; }
  .hero__copy { margin: 0 auto; }
  .eyebrow, .hero__actions, .trust-row { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__visual { min-height: 390px; }
  .orb { width: 360px; height: 360px; left: 50%; right: auto; transform: translateX(-50%); }
  .hero__car { width: min(520px, 100%); left: 50%; right: auto; transform: translateX(-50%); }
  .rating-card { top: 20px; right: 5%; }
  .plate-shadow { left: 50%; right: auto; transform: translateX(-50%); }
  .units-panel { width: calc(100% - 28px); margin-top: 0; }
  .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-card, .unit-card:nth-child(-n + 2) { grid-column: span 1; }
}

@media (max-width: 520px) {
  .hero__content { padding-top: 58px; }
  h1 { font-size: 34px; }
  .hero__lead { font-size: 15px; line-height: 1.55; }
  .hero__actions { flex-direction: column; gap: 14px; }
  .trust-row { gap: 11px 17px; }
  .hero__visual { min-height: 310px; }
  .orb { width: 290px; height: 290px; top: 38px; }
  .rating-card { top: 5px; right: 0; }
  .units-panel { padding: 24px 18px; }
  .unit-grid { grid-template-columns: 1fr; }
  .unit-card, .unit-card:nth-child(-n + 2) { grid-column: span 1; }
  .unit-card h3, .unit-card p { min-height: 0; }
  .floating-whatsapp { right: 16px; bottom: 16px; }
}

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