/* ===================================================
   MTF LOGÍSTICA E TRANSPORTE — LANDING PAGE
   Paleta: #1a2744 (navy) | #e8541e (orange) | #f2f3f5 (light bg)
   =================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2744;
  --navy-light: #243158;
  --orange:     #e8541e;
  --orange-dark:#c44418;
  --light-bg:   #f2f3f5;
  --white:      #ffffff;
  --text-dark:  #1a2744;
  --text-mid:   #4a5a6a;
  --text-light: #8a9aaa;
  --font:       'Barlow', sans-serif;
  --transition: 0.3s ease;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(26,39,68,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- UTILITY ---------- */
.text-orange { color: var(--orange) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,84,30,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--orange);
  padding: 10px 24px;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--white);
}

.btn--whatsapp {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1rem;
}

/* ---------- SECTION LABELS ---------- */
.section-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.section-header {
  padding: 18px 0;
}
.section-header--orange { background: var(--orange); }
.section-header--dark   { background: var(--navy); }
.section-header span {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--white);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo img {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__menu a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.navbar__menu a:hover { color: var(--orange); }
.navbar__menu a:hover::after { width: 100%; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(10,16,36,0.88) 0%,
    rgba(26,39,68,0.82) 50%,
    rgba(10,16,36,0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero__logo {
  width: 300px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.hero__divider {
  width: 80px; height: 4px;
  background: var(--orange);
  margin: 0 auto 32px;
  border-radius: 2px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.hero__tag {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 1; top: 6px; }
  50%       { opacity: 0.3; top: 18px; }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--navy);
  padding: 48px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats__item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stats__item:last-child { border-right: none; }
.stats__number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stats__unit {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
}
.stats__item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ---------- SOBRE ---------- */
.sobre {
  background: var(--light-bg);
  padding: 80px 0;
}
.sobre__inner { }
.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.sobre__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}
.sobre__text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.sobre__cnpj {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius);
}

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.check-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 1rem;
  margin-top: 2px;
}
.check-item p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------- SERVIÇOS ---------- */
.servicos { background: var(--white); padding-bottom: 80px; }
.servicos__inner { padding-top: 56px; }
.servicos__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #e0e4ea;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.servico-card {
  padding: 40px 32px;
  background: var(--white);
  border-right: 1px solid #e0e4ea;
  transition: transform var(--transition);
}
.servico-card:last-child { border-right: none; }
.servico-card--dark { background: var(--navy); }
.servico-card:hover { transform: translateY(-4px); }

.servico-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--navy);
}
.servico-card__icon--orange { color: var(--orange); }
.servico-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--navy);
}
.servico-card--dark h3 { color: var(--white); }
.servico-card p { color: var(--text-mid); line-height: 1.7; font-size: 0.97rem; }
.servico-card--dark p { color: rgba(255,255,255,0.75); }

/* ---------- SEGMENTOS ---------- */
.segmentos { background: var(--light-bg); padding: 80px 0; }
.segmentos__inner { padding-top: 0; }

.segmentos__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

.segmentos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.seg-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(26,39,68,0.08);
}
.seg-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.seg-card--light { background: var(--white); }
.seg-card--dark  { background: var(--navy); }

.seg-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.seg-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.1;
}
.seg-card--dark h3 { color: var(--white); }

.seg-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}
.seg-card--dark p { color: rgba(255,255,255,0.78); }

.seg-card__category {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 4px;
  align-self: flex-start;
}
.seg-card--dark .seg-card__category {
  background: rgba(232,84,30,0.9);
}

/* ---------- TECNOLOGIA ---------- */
.tecnologia {
  background: var(--white);
  padding: 80px 0;
}
.tecnologia__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tecnologia__image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tecnologia__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.tecnologia__image::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 4px; height: 60%;
  background: var(--orange);
  z-index: 2;
}
.tecnologia__image-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: var(--radius);
  z-index: 2;
}

.tecnologia__content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}
.tec-divider {
  width: 60px; height: 4px;
  background: var(--navy);
  border-radius: 2px;
  margin-bottom: 36px;
}

.tec-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.tec-item__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 1.3rem;
}
.tec-item h4 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 8px;
}
.tec-item p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.65; }

/* ---------- DIFERENCIAIS ---------- */
.diferenciais { background: var(--light-bg); padding-bottom: 80px; }
.diferenciais__inner { padding-top: 56px; }
.diferenciais__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 48px;
}
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dif-card {
  padding: 48px 40px;
  transition: transform var(--transition);
}
.dif-card:hover { transform: scale(1.02); z-index: 1; }
.dif-card--light { background: var(--white); }
.dif-card--dark  { background: var(--navy); }

.dif-card__icon { font-size: 2rem; margin-bottom: 16px; color: var(--navy); }
.dif-card--dark .dif-card__icon { color: var(--orange); }
.dif-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--navy);
}
.dif-card--dark h3 { color: var(--white); }
.dif-card p { color: var(--text-mid); font-size: 0.97rem; line-height: 1.7; }
.dif-card--dark p { color: rgba(255,255,255,0.75); }

/* ---------- CONTATO ---------- */
.contato { background: var(--white); padding-bottom: 80px; }
.contato__inner {
  padding-top: 56px;
  display: grid;
  grid-template-columns: 1fr 4px 1fr;
  gap: 56px;
  align-items: start;
}
.contato__left h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
}
.contato__slogan-line {
  width: 120px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 20px;
}
.contato__slogan {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 36px;
}
.contato__label {
  display: block;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.contato__address p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.97rem;
}

.contato__divider {
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
  min-height: 200px;
  justify-self: center;
}

.contato__card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contato__card-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 1.2rem;
}
.contato__card p { margin-top: 4px; }
.contato__card a {
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color var(--transition);
}
.contato__card a:hover { color: var(--orange); }
.contato__cnpj {
  margin-top: 20px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__logo { height: 52px; width: auto; }
.footer__copy { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer__slogan {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* ---------- BACK TO TOP ---------- */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,84,30,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  pointer-events: none;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ---------- AOS ANIMATIONS ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }

[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .sobre__grid        { grid-template-columns: 1fr; gap: 40px; }
  .tecnologia__inner  { grid-template-columns: 1fr; }
  .tecnologia__image  { max-height: 320px; }
  .tecnologia__image img { aspect-ratio: 16/7; }
}

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stats__item:nth-child(2) { border-right: none; }
  .servicos__grid { grid-template-columns: 1fr; }
  .servico-card { border-right: none; border-bottom: 1px solid #e0e4ea; }
  .segmentos__grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .contato__inner { grid-template-columns: 1fr; }
  .contato__divider { width: 100%; height: 4px; min-height: unset; }
}

@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .navbar__menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  .navbar__menu a {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .navbar__menu a::after { display: none; }
  .navbar__toggle { display: flex; }

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

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__logo { width: 200px; }
  .hero__cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .segmentos__grid { grid-template-columns: 1fr; }
  .seg-card { padding: 28px 20px; }
  .seg-card__icon { font-size: 2rem; }
  .seg-card h3 { font-size: 1.1rem; }
  .seg-card p { font-size: 0.9rem; }
}
