/* ======================
   MF TRANSPORTES — STYLE
   Industrial Clean Design
   ====================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

:root {
  --navy: #0F172A;
  --yellow: #FFB800;
  --yellow-dark: #E0A200;
  --white: #FFFFFF;
  --gray-bg: #F1F5F9;
  --gray-border: #E2E8F0;
  --gray-muted: #64748B;
  --gray-text: #334155;
  --green-wa: #25D366;
  --radius: 6px;
}

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

html { scroll-behavior: auto; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.btn:active { transform: scale(0.97); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}
.btn-yellow:hover { background: var(--yellow-dark); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: #1e293b; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---- NAV ---- */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--yellow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--yellow); }

.nav-cta {
  background: var(--yellow);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--yellow-dark) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.2s;
}

/* mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 20px 24px;
  gap: 16px;
  border-top: 1px solid #1e293b;
}
.mobile-nav a {
  color: #CBD5E1;
  font-size: 1rem;
  font-weight: 600;
}
.mobile-nav a:hover { color: var(--yellow); }
.mobile-nav.open { display: flex; }

/* ---- BADGE ---- */
.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

/* ---- HERO ---- */
#hero {
  position: relative;
  background: var(--navy);
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 span { color: var(--yellow); }

.hero-sub {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-micro {
  font-size: 0.825rem;
  color: #64748B;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-micro::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green-wa);
  border-radius: 50%;
}

/* ---- SECTION COMMON ---- */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-bg); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ---- MATERIALS CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--gray-muted);
  margin-bottom: 18px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  transition: color 0.15s;
}
.card-btn:hover { color: var(--yellow); }

/* ---- CACAMBA SECTION ---- */
#cacamba {
  background: var(--navy);
  padding: 80px 0;
}

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

.cacamba-content .section-title { color: var(--white); }

.cacamba-list {
  list-style: none;
  margin: 24px 0 36px;
}
.cacamba-list li {
  color: #94A3B8;
  padding: 8px 0;
  border-bottom: 1px solid #1E293B;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.cacamba-list li::before {
  content: '✓';
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
}

.cacamba-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid #1E293B;
}

/* ---- HEAVY SERVICES ---- */
#pesados {
  background: var(--gray-bg);
  padding: 80px 0;
}

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

.pesados-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--gray-border);
}

/* ---- AREA MAP ---- */
#area {
  padding: 80px 0;
  background: var(--white);
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.area-list {
  list-style: none;
  margin: 24px 0 36px;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-border);
  font-weight: 600;
  color: var(--navy);
}
.area-list li .dot {
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gray-border);
  height: 400px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- STATS ---- */
#stats {
  background: var(--navy);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #1E293B;
  border: 1px solid #1E293B;
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: var(--navy);
  padding: 40px 32px;
  text-align: center;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748B;
}

/* ---- PROCESS ---- */
#processo {
  background: var(--gray-bg);
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.process-step {
  position: relative;
  padding: 32px;
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-border);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray-muted);
}

/* ---- FOOTER ---- */
footer {
  background: #060E1F;
  color: #64748B;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #0F172A;
}

.footer-logo { height: 44px; margin-bottom: 16px; }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a, .footer-contact span {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  transition: color 0.15s;
}
.footer-contact a:hover { color: var(--yellow); }

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #475569;
  margin-bottom: 16px;
}

.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 0.875rem;
  color: #64748B;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--yellow); }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: #334155;
}

.cnpj {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 8px;
}

/* ---- WA FLOAT ---- */
#wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.15s;
}
#wa-float:hover { transform: scale(1.06); }
#wa-float:active { transform: scale(0.96); }
#wa-float svg { width: 30px; height: 30px; fill: white; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .cacamba-grid,
  .pesados-grid,
  .area-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cacamba-img,
  .pesados-img { height: 260px; }

  .stats-grid { grid-template-columns: 1fr; gap: 1px; }
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
