:root {
  --blue-900: #041c4d;
  --blue-800: #062463;
  --blue-700: #003082;
  --blue-100: #e8edfb;
  --red-600: #d42e12;
  --red-700: #b32510;
  --ink: #16213a;
  --slate: #5b6478;
  --line: #e7eaf1;
  --bg: #f6f7fb;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px -10px rgba(10, 32, 89, .18);
  --shadow-sm: 0 4px 14px -4px rgba(10, 32, 89, .12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-600);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red-600);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tb-icon {
  width: 12px;
  height: 12px;
  fill: #cdd7f4;
  vertical-align: -1px;
  margin-right: 3px;
}

.icon-dk-stroke {
  width: 14px;
  height: 14px;
  stroke: var(--blue-900);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  vertical-align: -2px;
  margin-right: 2px;
}

.icon-dk {
  width: 18px;
  height: 18px;
  fill: var(--blue-900);
  flex-shrink: 0;
}

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

.btn-primary {
  background: var(--red-600);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(226, 35, 26, .55);
}

.btn-primary:hover {
  background: var(--red-700);
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .18);
}

.btn-outline {
  background: #fff;
  color: var(--blue-800);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--blue-700);
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-600);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.logo-footer {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 14px 18px;
  border-radius: 12px;
}

.logo-footer img {
  height: 42px;
  width: auto;
  display: block;
}

/* Topbar */
.topbar {
  background: var(--blue-900);
  color: #cdd7f4;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

.topbar-left {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: auto;
}

.topbar-right a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.tb-social-icon {
  width: 13px;
  height: 13px;
  fill: #cdd7f4;
}

/* Header */
header.main {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

header.main .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

nav.primary {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav.primary a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

nav.primary a:hover {
  color: var(--blue-700);
}

nav.primary a.active {
  color: var(--blue-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue-900);
  border-radius: 2px;
}

.nav-cta {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 21, 58, .94) 8%, rgba(10, 28, 80, .82) 45%, rgba(10, 28, 80, .45) 80%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.hero-content {
  grid-column: 1 / 8;
  justify-self: start;
  text-align: left;
  padding: 90px 0 70px;
}

.hero-content .eyebrow {
  color: #ff8d86;
  margin-bottom: 18px;
}

.hero-content .eyebrow::before {
  background: #ff8d86;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  max-width: 680px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

.hero h1 em {
  font-style: normal;
  color: #ff6b63;
}

.hero p.lead {
  margin-top: 18px;
  font-size: 17.5px;
  color: #dbe2f7;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}

.hero-stats .stat-num small {
  font-size: 18px;
  color: #fff;
}

.hero-stats .stat-label {
  font-size: 12.5px;
  color: #b9c4ea;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Quick actions */
.quick-actions {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.quick-actions .wrap {
  display: flex;
}

.qa-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 35px 10px;
  font-weight: 700;
  font-size: 13.5px;
  border-right: 1px solid var(--line);
  color: var(--blue-800);
  transition: background .15s;
}

.qa-item:last-child {
  border-right: none;
}

.qa-item:hover {
  background: var(--blue-100);
}

.qa-item .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.qa-icon {
  width: 16px;
  height: 16px;
  fill: var(--blue-900);
}

/* Tracking band */
.track-band {
  background: var(--blue-800);
  padding: 40px 0;
}

.track-band .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.track-band label {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.track-form {
  flex: 1;
  display: flex;
  gap: 10px;
  min-width: 280px;
}

.track-form input {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
}

.track-form button {
  border: none;
  border-radius: 10px;
  background: var(--red-600);
  color: #fff;
  font-weight: 700;
  padding: 13px 22px;
  cursor: pointer;
  font-size: 14px;
}

section {
  padding: 90px 0;
}

.section-head {
  /* max-width: 640px; */
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  margin-top: 10px;
}

.section-head p {
  color: var(--slate);
  margin-top: 12px;
  font-size: 15.5px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card .num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--line);
}

.service-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card .ic svg {
  width: 22px;
  height: 22px;
  fill: var(--blue-900);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.55;
}

.service-card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red-600);
  background: #fdeceb;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .03em;
}

/* History split */
.history {
  background: var(--blue-900);
  color: #fff;
}

.history-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.history h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-top: 10px;
}

.history .section-tag {
  color: #ff8d86;
}

.history .section-tag::before {
  background: #ff8d86;
}

.history p {
  color: #c4cdec;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.history-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.timeline {
  border-left: none;
  /* a linha agora é feita item por item, não no container */
  padding-left: 0;
  margin-top: 30px;
  padding-top: 4px;
}

.tl-item {
  position: relative;
  padding-left: 26px;
  padding-bottom: 26px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red-600);
  border: 3px solid var(--blue-900);
  z-index: 1;
}

.tl-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: -15px;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.tl-item:last-child::after {
  display: none;
}

.tl-item .yr {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #ff8d86;
}

.tl-item .desc {
  font-size: 14px;
  color: #dbe2f7;
  margin-top: 3px;
}

.history-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.history-stats .stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.history-stats .stat-label {
  font-size: 12px;
  color: #b9c4ea;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fleet-item {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.fleet-item img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  display: block;
  padding: 14px;
  box-sizing: border-box;
}

/* Coverage */
.coverage {
  background: #fff;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
}

.branch-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  background: var(--bg);
}

.branch-card.matriz {
  border-color: var(--red-600);
  background: #fff5f4;
}

.branch-card .ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-card .ic svg {
  width: 19px;
  height: 19px;
  fill: var(--blue-900);
}

.branch-card h4 {
  font-size: 15px;
  font-weight: 700;
}

.branch-card .badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red-600);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.branch-card p {
  font-size: 13.5px;
  color: var(--slate);
  margin-top: 4px;
}

.cities-panel {
  background: var(--blue-900);
  border-radius: 18px;
  padding: 32px;
  color: #fff;
}

.cities-panel h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ff8d86;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 18px;
  text-align: center;
}

/* .cities-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;} */
.cities-cols h5 {
  font-size: 12px;
  color: #b9c4ea;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.cities-cols ul {
  list-style: none;
  font-size: 18px;
  color: #dbe2f7;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cities-cols li {
  text-align: center;
}

.cities-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20PX;
}

.hours-strip {
  display: flex;
  justify-content: space-evenly;
  /* justify-content: space-between; */
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px;
  color: #b9c4ea;
  flex-wrap: wrap;
  gap: 10px;
}

.hours-strip b {
  color: #fff;
  display: block;
  font-size: 13.5px;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  text-align: left;
}

.why-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card .ic svg {
  width: 24px;
  height: 24px;
  fill: var(--blue-900);
}

.why-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
}

/* CTA */
.cta-band {
  background: linear-gradient(120deg, var(--red-600), var(--red-700));
  border-radius: 24px;
  padding: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  color: #fff;
  flex-wrap: wrap;
}

.cta-band .cta-text {
  width: 50%;
}

.cta-band h2 {
  font-size: 30px;
  font-weight: 800;
  max-width: 420px;
}

.cta-band p {
  margin-top: 10px;
  color: #ffd9d6;
  font-size: 14.5px;
}

.cta-contacts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-contacts div b {
  display: block;
  font-size: 15px;
}

.cta-contacts div span {
  font-size: 12.5px;
  color: #ffd9d6;
}

/* Footer */
footer {
  background: var(--blue-900);
  color: #b9c4ea;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-grid p {
  font-size: 13.5px;
  margin-top: 14px;
  line-height: 1.7;
  color: #9fabd1;
  /* max-width: 280px; */
  width: 500px;
}

.footer-grid h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #fff;
  flex-wrap: wrap;
  gap: 10px;
}

.dev-credit {
  display: inline-flex;
  align-items: center;
  opacity: .85;
  transition: opacity .15s;
}

.dev-credit:hover {
  opacity: 1;
}

.dev-credit img {
  height: 18px;
  width: auto;
}

@media screen and (max-width:468px) {
  .cta-band .cta-text {
    width: 100%;
  }
}

/* ==========================================================================
   Componentes das páginas internas (empresa, contato, trabalhe-conosco)
   ========================================================================== */

/* Banner de página (substitui o hero de vídeo nas páginas internas) */
.page-banner {
  background: var(--blue-900);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(212, 46, 18, .28), transparent 55%);
}

.page-banner .wrap {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b9c4ea;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #b9c4ea;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: #6f7fb0;
}

.page-banner h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
}

.page-banner p {
  color: #c4cdec;
  margin-top: 12px;
  max-width: 560px;
  font-size: 15.5px;
}

/* Grupo / organizações (empresa) */
.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.group-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.group-card h3 {
  font-size: 19px;
  font-weight: 700;
}

.group-card p {
  color: var(--slate);
  font-size: 14.5px;
  line-height: 1.65;
}

.group-card .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red-600);
  background: #fdeceb;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .03em;
  width: fit-content;
}

/* Página de contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 800;
}

.contact-card>p {
  color: var(--slate);
  margin-top: 8px;
  font-size: 14.5px;
}

.contact-form {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-field label .req {
  color: var(--red-600);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

.radio-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--red-600);
  cursor: pointer;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
  justify-content: center;
}

.form-actions .btn {
  border: none;
}

.form-note {
  font-size: 12.5px;
  color: var(--slate);
}

.form-alert {
  grid-column: 1 / -1;
  display: none;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  background: #e7f7ed;
  color: #1c7a3e;
  border: 1px solid #b9e6c8;
}

.form-alert.error {
  background: #fdeceb;
  color: var(--red-700);
  border: 1px solid #f4c3bd;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

@media (max-width:980px) {
  header.main {
    position: sticky;
  }

  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 24px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

  nav.primary a {
    padding: 13px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  nav.primary a:last-child {
    border-bottom: none;
    color: #ffffff;
  }

  header.main.nav-open nav.primary {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
    border: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-content {
    grid-column: 1 / -1;
  }

  .services-grid,
  .fleet-grid,
  .why-grid,
  .group-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-grid,
  .coverage-grid,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

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

  .topbar-left span:not(:first-child) {
    display: none;
  }
}

@media (max-width:640px) {
  .logo img {
    height: 36px;
  }

  header.main .wrap {
    height: 64px;
  }

  .search-pill {
    display: none;
  }

  section {
    padding: 56px 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 56px 0 44px;
  }

  .hero h1 {
    font-size: 30px;
    max-width: 100%;
  }

  .hero p.lead {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 34px;
  }

  .quick-actions .wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .qa-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 18px 8px;
    font-size: 12.5px;
  }

  .qa-item:nth-child(5) {
    grid-column: 1 / -1;
    border-bottom: none;
  }

  .track-band .wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .track-form {
    min-width: 0;
  }

  .services-grid,
  .fleet-grid,
  .why-grid,
  .footer-grid,
  .cities-cols,
  .group-grid {
    grid-template-columns: 1fr;
  }

  .history h2 {
    font-size: 26px;
  }

  .history-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band {
    padding: 36px 24px;
  }

  .cta-band h2 {
    font-size: 24px;
  }

  .footer-grid p {
    max-width: 100%;
    width: 100%;
  }

  .page-banner {
    padding: 44px 0 40px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

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

  .form-field.full {
    grid-column: auto;
  }

  .contact-card {
    padding: 24px;
  }

  .form-actions {
    justify-content: center;
  }
}


/* ======================================================
   FLOATING ACTIONS
====================================================== */

.floating-actions {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

.floating-social {
  display: flex;
  flex-direction: column;
  gap: 14px;

  /* DISTÂNCIA ENTRE SOCIAIS E BOTÃO TOPO */
  transform: translateY(-90px);
}

.floating-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 1.35em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    opacity 0.3s ease;
}

.floating-btn:hover {
  transform: translateY(-4px);
}

.floating-btn.facebook {
  background: #3b5998;
}

.floating-btn.facebook:hover {
  background: #2d4373;
}

.floating-btn.whatsapp {
  background: #00c950;
}

.floating-btn.whatsapp:hover {
  background: #01b147;
}

.floating-btn.instagram {
  background-image: linear-gradient(72.44deg,
      #ff7a00 11.92%,
      #ff0169 51.56%,
      #d300c5 85.69%);
}

.floating-btn.voltar-topo {
  --scroll-progress: 0deg;
  position: relative;
  overflow: hidden;
  background: var(--red-600);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}


/* ANEL PROGRESSO */
.floating-btn.voltar-topo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--red-600) var(--scroll-progress), var(--shadow) 0deg);
  z-index: 0;
}

/* CENTRO */
.floating-btn.voltar-topo::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--red-600);
  z-index: 1;
}

/* ÍCONE */
.floating-btn.voltar-topo i {
  position: relative;
  z-index: 2;
}

.floating-btn.voltar-topo.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* FINAL DA PÁGINA */

.floating-btn.voltar-topo.complete {
  box-shadow:
    0 0 0 4px var(--s),
    0 10px 25px rgba(0, 0, 0, 0.18);
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 768px) {
  .floating-actions {
    right: 16px;
    bottom: 16px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
  }

  /* ESCONDE SOCIAIS */

  .floating-social {
    display: none;
  }
}

#fixa.cookies {
  bottom: 100px;
}

#fixa {
  display: block;
  position: fixed;
  bottom: 20px;
  margin: 0 20px;
  background-color: #25d366;
  width: 230px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.5s all;
  right: 30px;
  z-index: 1;
}

#fixa.flut {
  width: 50px;
  transition: 0.5s all;
  overflow: hidden;
}

#fixa a .flex-itens {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

#fixa a .flex-itens span {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  color: #ffffff;
  margin-left: 5px;
  font-size: 20px;
  min-width: 150px;
  float: left;
}

#fixa a .flex-itens span.aparecer {
  transition: 0.5s all;
  opacity: 1;
}

#fixa img {
  width: 50px;
  height: 50px;
}

.flutuar {
  animation-name: flutuar;
  animation-duration: 0.7s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  -webkit-animation-name: flutuar;
  -webkit-animation-duration: 0.7s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes flutuar {
  from {
    transform: translate3d(0, 3px, 0);
  }

  to {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes flutuar {
  from {
    transform: translate3d(0, 3px, 0);
  }

  to {
    transform: translate3d(0, -4px, 0);
  }
}

@media (max-width: 425px) {
  #fixa {
    right: 0;
  }
}


/* RASTREIO  */
/* .rastreio-form {
  grid-template-columns: 1fr;
} */

.contact-card.erro_rastreio {
  color: var(--red-600);
  border-color: var(--red-600);
  background: #fff5f4;
}

.contact-card.erro_rastreio h4 {
  color: var(--ink);
}

.side-loader {
  height: 100%;
}

.area-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.loader {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-700);
  --_m:
    conic-gradient(#0000 10%, #000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn)
  }
}

/* RASTREIO - FORMULARIO */
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Only one visible element */
.form-grid.single {
  grid-template-columns: 1fr;
  justify-items: center;
  transition: all 0.3s ease-in-out;
}

/* Keep the form from becoming too wide */
.form-grid.single .form-card {
  width: 100%;
  max-width: 700px;
  transition: all 0.35s ease;
  /* Adjust as needed */
}

/* RASTREIO - RESULTADO */

.rastreio-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.rastreio-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.rastreio-header b {
  font-size: 14.5px;
  color: var(--ink);
}

.rastreio-comprovante-wrap {
  margin-top: 16px;
}

.rastreio-comprovante-wrap .btn {
  width: 100%;
  justify-content: center;
}

/* Botão do comprovante na cor vermelha da marca */
.rastreio-comprovante {
  background: var(--red-600);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px -6px rgba(226, 35, 26, .55);
}

.rastreio-comprovante:hover {
  background: var(--red-700);
}

.rastreio-timeline {
  border-left: none;
  /* a linha agora é feita item por item, não no container */
  padding-left: 0;
  margin-top: 30px;
  padding-top: 4px;
}

.rastreio-timeline .tl-item {
  position: relative;
  padding-left: 26px;
  padding-bottom: 26px;
}

.rastreio-timeline .tl-item:last-child {
  padding-bottom: 0;
}

/* Ponto (mark), centralizado verticalmente na linha */
.rastreio-timeline .tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-700);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

/* Linha vertical, começa no centro do ponto atual e vai até o próximo item */
.rastreio-timeline .tl-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: -45px;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

/* Último item não tem linha descendo */
.rastreio-timeline .tl-item:last-child::after {
  display: none;
}

.rastreio-timeline .tl-item.tipo-entrega::before {
  background: #1c7a3e;
}

.rastreio-timeline .tl-item.tipo-cliente::before {
  background: var(--red-600);
}

.rastreio-timeline .yr {
  color: var(--blue-700);
  font-size: 12.5px;
}

.rastreio-timeline .desc {
  color: var(--ink);
  font-size: 14px;
  margin-top: 4px;
}

.rastreio-timeline .ocorrencia {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}

.rastreio-timeline .tipo-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
}

.rastreio-timeline .tipo-badge.informativo {
  color: var(--blue-700);
  background: var(--blue-100);
}

.rastreio-timeline .tipo-badge.cliente {
  color: var(--red-700);
  background: #fdeceb;
}

.rastreio-timeline .tipo-badge.entrega {
  color: #1c7a3e;
  background: #e7f7ed;
}

@media (max-width:640px) {
  .rastreio-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* COTAÇÃO  */
.cotacao-destaque {
  display: block;
  /* grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px; */
  align-items: center;
  margin-top: 22px;
  padding: 24px 20px;
  background: linear-gradient(120deg, var(--red-600), var(--red-700));
  border-radius: 14px;
  color: #fff;
}

.cotacao-destaque .cotacao-destaque-total {
  width: 100%;
  text-align: center;
}

.cotacao-destaque .cotacao-estimativa {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.cotacao-destaque .rastreio-label {
  color: #ffd9d6;
}

.cotacao-destaque b {
  font-size: 15px;
  color: #fff;
}

.cotacao-destaque-total b {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 800;
  display: block;
  margin-top: 2px;
}

.cotacao-detalhe {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cotacao-itens-lista {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cotacao-itens-lista li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  color: var(--slate);
}

.cotacao-itens-lista li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cotacao-itens-lista li span.nome {
  color: var(--ink);
  font-weight: 600;
}

.cotacao-itens-lista li span.valor {
  font-weight: 700;
  color: var(--blue-600);
}

@media (max-width:640px) {
  .cotacao-destaque {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }
}

.checkbox-wrapper-19 {
  box-sizing: border-box;
  --background-color: #fff;
  --checkbox-height: 25px;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-direction: row-reverse;
  align-self: start;
}

@-moz-keyframes dothabottomcheck-19 {
  0% {
    height: 0;
  }

  100% {
    height: calc(var(--checkbox-height) / 2);
  }
}

@-webkit-keyframes dothabottomcheck-19 {
  0% {
    height: 0;
  }

  100% {
    height: calc(var(--checkbox-height) / 2);
  }
}

@keyframes dothabottomcheck-19 {
  0% {
    height: 0;
  }

  100% {
    height: calc(var(--checkbox-height) / 2);
  }
}

@keyframes dothatopcheck-19 {
  0% {
    height: 0;
  }

  50% {
    height: 0;
  }

  100% {
    height: calc(var(--checkbox-height) * 1.2);
  }
}

@-webkit-keyframes dothatopcheck-19 {
  0% {
    height: 0;
  }

  50% {
    height: 0;
  }

  100% {
    height: calc(var(--checkbox-height) * 1.2);
  }
}

@-moz-keyframes dothatopcheck-19 {
  0% {
    height: 0;
  }

  50% {
    height: 0;
  }

  100% {
    height: calc(var(--checkbox-height) * 1.2);
  }
}

.checkbox-wrapper-19 input[type=checkbox] {
  display: none;
}

.checkbox-wrapper-19 .check-box {
  height: var(--checkbox-height);
  width: var(--checkbox-height);
  background-color: var(--bg);
  border: 1.5px solid var(--red-600);
  border-radius: 5px;
  position: relative;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-transition: border-color ease 0.2s;
  -o-transition: border-color ease 0.2s;
  -webkit-transition: border-color ease 0.2s;
  transition: border-color ease 0.2s;
  cursor: pointer;
}

.checkbox-wrapper-19 .check-box::before,
.checkbox-wrapper-19 .check-box::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  height: 0;
  width: calc(var(--checkbox-height) * .2);
  background-color: var(--blue-700);
  display: inline-block;
  -moz-transform-origin: left top;
  -ms-transform-origin: left top;
  -o-transform-origin: left top;
  -webkit-transform-origin: left top;
  transform-origin: left top;
  border-radius: 5px;
  content: " ";
  -webkit-transition: opacity ease 0.5;
  -moz-transition: opacity ease 0.5;
  transition: opacity ease 0.5;
}

.checkbox-wrapper-19 .check-box::before {
  top: calc(var(--checkbox-height) * .72);
  left: calc(var(--checkbox-height) * .41);
  box-shadow: 0 0 0 calc(var(--checkbox-height) * .05) var(--background-color);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.checkbox-wrapper-19 .check-box::after {
  top: calc(var(--checkbox-height) * .37);
  left: calc(var(--checkbox-height) * .05);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.checkbox-wrapper-19 input[type=checkbox]:checked+.check-box,
.checkbox-wrapper-19 .check-box.checked {
  border-color: var(--blue-700);
  box-shadow: 0 8px 20px -6px rgba(00, 30, 82, .55);
}

.checkbox-wrapper-19 input[type=checkbox]:checked+.check-box::after,
.checkbox-wrapper-19 .check-box.checked::after {
  height: calc(var(--checkbox-height) / 2);
  -moz-animation: dothabottomcheck-19 0.2s ease 0s forwards;
  -o-animation: dothabottomcheck-19 0.2s ease 0s forwards;
  -webkit-animation: dothabottomcheck-19 0.2s ease 0s forwards;
  animation: dothabottomcheck-19 0.2s ease 0s forwards;
}

.checkbox-wrapper-19 input[type=checkbox]:checked+.check-box::before,
.checkbox-wrapper-19 .check-box.checked::before {
  height: calc(var(--checkbox-height) * 1.2);
  -moz-animation: dothatopcheck-19 0.4s ease 0s forwards;
  -o-animation: dothatopcheck-19 0.4s ease 0s forwards;
  -webkit-animation: dothatopcheck-19 0.4s ease 0s forwards;
  animation: dothatopcheck-19 0.4s ease 0s forwards;
}


/* =============== POPUP INICIO =============== */

.popup {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.popup_content {
  position: relative;
  margin: auto;
  padding: 0;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  width: 80%;
  max-width: 650px;
  height: auto;
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

.popup_imagem_full {
  width: 100%;
  height: 100%;
  float: left;
  position: relative;
  top: -35px;
}

.popup_imagem_full img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 7px;
  background: #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
}

.popup_youtube_full {
  width: 100%;
  position: relative;
  padding-bottom: 60%;
  height: 0;
}

.popup_youtube_full video {
  padding: 7px;
  background: #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup_youtube_full .legenda {
  bottom: -35px;
  left: 50%;
  position: absolute;
  transform: translate(-50%, 40%);
  text-align: center;
}

.popup .legenda {
  display: flex;
  justify-content: center;
}

.popup .legenda span {
  background: #000;
  color: #ffffff;
  padding: 5px 20px;
  border-radius: 17px;
  margin-top: 5px;
}

.close {
  color: #000;
  float: right;
  font-size: 2.1875em;
  z-index: 999;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  position: relative;
  right: -14px;
  top: -16px;
  background: #ffffff;
  height: 38px;
  width: 38px;
  text-align: center;
  border-radius: 50%;
  border: solid 1px #c1c1c1;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  background: #dddddd;
}

.input_trabalhe {
  width: 37%;
  color: #ffffff !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 200;
  border-radius: 5px;
  cursor: pointer;
  background: #1164aa !important;
  padding: 2px !important;
}

@media (max-width: 768px) {
  .popup_content {
    width: 98%;
  }
}

@media (max-width: 700px) {
  .close {
    right: -2px;
  }
}

/* =============== POPUP FIM =============== */


/* SWEETALERT2 */
.swal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.swal-buttons .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .swal-buttons {
    flex-direction: column;
  }
}