/* ==========================================================================
   Mapa Transportes: Design tokens
   ========================================================================== */
:root{
  --navy: #0F2A5C;
  --navy-deep: #0A1D42;
  --blue: #1B4FA0;
  --yellow: #F4C430;
  --yellow-deep: #D9A800;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --white: #FFFFFF;
  --text: #1D2430;
  --gray-600: #5C6472;
  --gray-400: #99A1AD;
  --border: #E3E6EB;

  --font-body: 'Poppins', Arial, sans-serif;
  --font-heading: 'Anton', 'Poppins', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(15, 42, 92, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 42, 92, 0.14);

  --container: 1200px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 88px; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3{ margin: 0; font-family: var(--font-heading); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; color: var(--navy); }
p{ margin: 0; }

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

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white); padding: 12px 20px; z-index: 999;
}
.skip-link:focus{ left: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  padding: 17px 32px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--yellow); color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(244, 196, 48, .35), var(--shadow-sm);
}
.btn-primary:hover{
  background: var(--yellow-deep); transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(244, 196, 48, .45), var(--shadow-md);
}
.btn-primary:active{ transform: translateY(0); }
.btn-sm{ padding: 12px 22px; font-size: 15px; }
.btn-lg{ padding: 19px 40px; font-size: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transform: translateY(0);
  transition: transform .25s ease;
}
.site-header.is-hidden{ transform: translateY(-100%); }
.header-inner{
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
}
.logo-img{ height: 52px; width: auto; }
.main-nav ul{ display: flex; gap: 0; }
.main-nav li{ position: relative; padding-left: 22px; }
.main-nav li:first-child{ padding-left: 0; }
.main-nav li + li::before{
  content: ""; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 2px;
  background: var(--yellow-deep);
}
.main-nav a{
  font-weight: 700; font-size: 15px; color: var(--navy); letter-spacing: .02em;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.main-nav a:hover{ border-color: var(--yellow); }
.header-actions{ display: flex; align-items: center; gap: 16px; }
.nav-cta{ display: none; }
.social-icon{
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-alt); color: var(--navy);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social-icon:hover{ background: var(--yellow); color: var(--navy-deep); transform: translateY(-2px); }
.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span{ display: block; width: 100%; height: 2px; background: var(--navy); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy-deep); min-height: 620px; display: flex; align-items: center;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  animation: hero-media-in 1.4s ease-out both;
}
.hero-media::after{
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,29,66,.74) 0%, rgba(10,29,66,.52) 32%, rgba(10,29,66,.16) 56%, rgba(10,29,66,0) 74%),
    linear-gradient(180deg, rgba(10,29,66,.2) 0%, rgba(10,29,66,0) 18%, rgba(10,29,66,0) 72%, rgba(10,29,66,.5) 100%),
    radial-gradient(60% 90% at 2% 52%, rgba(10,29,66,.62) 0%, rgba(10,29,66,.34) 46%, rgba(10,29,66,0) 80%);
}
.hero-inner{
  position: relative; z-index: 1;
  padding: 56px 24px 56px;
}
@keyframes hero-media-in{
  from{ transform: scale(1.08); opacity: 0; }
  to{ transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .hero-media img{ animation: none; }
}
.hero-inner h1{
  color: var(--white); font-size: clamp(32px, 4.2vw, 46px); line-height: 1.15;
  margin-bottom: 34px; max-width: 580px; text-shadow: 0 2px 12px rgba(10, 29, 66, .55);
}
.hero-inner h1 span{
  color: var(--yellow);
  display: inline-block;
  transform: skewX(-8deg);
}
.hero-lead{
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.95);
  margin-bottom: 26px; max-width: 560px;
  text-shadow: 0 1px 8px rgba(10, 29, 66, .6);
}
.hero-cards{
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: -64px; margin-bottom: 72px;
}
.hero-card{
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 26px 24px; box-shadow: 0 20px 40px rgba(10, 29, 66, .18);
  display: flex; align-items: center; gap: 18px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease;
}
.hero-card.is-visible{ opacity: 1; transform: translateY(0); }
.hero-card:hover{ box-shadow: 0 24px 48px rgba(10, 29, 66, .24); }
.hero-card:nth-child(1){ transition-delay: 0s; }
.hero-card:nth-child(2){ transition-delay: .1s; }
.hero-card:nth-child(3){ transition-delay: .2s; }
.hero-card-icon{
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  background: var(--navy-deep); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.hero-card.is-highlight .hero-card-icon{ background: var(--yellow); color: var(--navy-deep); }
.hero-card-accent{
  flex-shrink: 0; width: 4px; align-self: stretch; min-height: 44px;
  border-radius: 2px; background: var(--yellow-deep);
}
.hero-card-copy{ display: flex; flex-direction: column; gap: 2px; }
.hero-card-copy strong{
  font-size: 23px; font-weight: 800; color: var(--navy); line-height: 1.2;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.hero-card-copy span{ font-size: 14px; color: var(--gray-600); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section{ padding: 80px 0; }
.section-alt{ background: var(--bg-alt); }

/* Faixa curta de apresentação, logo abaixo do hero */
.intro-band{ position: relative; overflow: hidden; background: var(--white); border-bottom: 4px solid var(--yellow-deep); }
.intro-band-inner{
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding: 36px 84px;
}
.intro-band-text{
  margin: 0; max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--text);
}
.intro-band-logo{ height: 96px; width: auto; max-width: 280px; flex-shrink: 0; object-fit: contain; }

/* Estradinhas laterais, com o tracejado deslizando conforme o scroll */
.road-strip{
  position: absolute; top: 0; bottom: 0; width: 30px; z-index: 1;
  background:
    repeating-radial-gradient(circle at 30% 15%, rgba(255,255,255,.05) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 70% 55%, rgba(255,255,255,.04) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #1a1d22 0%, #2b3038 50%, #1a1d22 100%);
}
.road-strip::before, .road-strip::after{
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: rgba(255,255,255,.85);
}
.road-strip::before{ left: 4px; }
.road-strip::after{ right: 4px; }
.road-strip-left{ left: 24px; border-radius: 6px; }
.road-strip-right{ right: 24px; border-radius: 6px; }
.road-strip-track{
  position: absolute; inset: 0; left: 50%; width: 4px; transform: translateX(-50%);
  background-image: repeating-linear-gradient(180deg, var(--yellow) 0 27px, transparent 27px 36px);
  background-size: 4px 36px; background-repeat: repeat-y; background-position: 0 0;
  box-shadow: 0 0 6px rgba(244,196,48,.45);
}
@media (max-width: 640px){
  .road-strip-left{ left: 12px; }
  .road-strip-right{ right: 12px; }
  .intro-band-inner{ padding-left: 54px; padding-right: 54px; }
  .intro-band-logo{ margin-right: 50px; }
}
.section-cta{ margin-top: 40px; text-align: center; }
.policy-section .section-cta{ margin-top: 56px; }
.section-copy .section-cta{ margin-top: 40px; }

.section-eyebrow{
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--yellow-deep); font-size: 14px; margin-bottom: 12px;
}
.section-copy h2{ font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.section-copy p{ font-size: 17px; line-height: 1.7; color: var(--gray-600); }

.section-split{
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.section-split-reverse .section-photo{ order: 2; }
.section-split-reverse .section-copy{ order: 1; }
.section-photo img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }

.location-grid{
  margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.location-card{
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: 18px 18px 16px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease, box-shadow .25s ease, border-color .25s ease;
}
.location-card::before{
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue);
}
.location-card.is-hq::before{ background: var(--yellow); }
.location-card.is-visible{ opacity: 1; transform: translateY(0); }
.location-card:hover{ box-shadow: var(--shadow-md); border-color: var(--blue); transform: translateY(-4px); }
.location-card.is-visible:hover{ transform: translateY(-4px); }
.location-card:nth-child(1){ transition-delay: 0s; }
.location-card:nth-child(2){ transition-delay: .08s; }
.location-card:nth-child(3){ transition-delay: .16s; }
.location-card:nth-child(4){ transition-delay: .24s; }
.location-top{ display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.location-icon{
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 4px;
  background: var(--bg-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.location-card.is-hq .location-icon{ background: rgba(244, 196, 48, .18); color: var(--yellow-deep); }
.location-badge{
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600);
}
.location-card.is-hq .location-badge{ color: var(--yellow-deep); }
.location-city{ display: block; font-weight: 700; font-size: 19px; color: var(--navy); line-height: 1.2; }
.location-state{ display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); letter-spacing: .03em; margin-top: 2px; }
@media (prefers-reduced-motion: reduce){
  .location-card, .segment-item, .fleet-item, .policy-item, .contact-item{
    opacity: 1; transform: none !important; transition: box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
  }
  .segment-icon{ transition: background .25s ease, color .25s ease; }
}

/* Section title with accent bar, like reference model */
.section-title-bar{
  display: flex; align-items: center; gap: 20px;
  font-size: clamp(26px, 3vw, 32px); margin-bottom: 44px;
}
.section-title-bar::after{
  content: ""; flex: 1; height: 3px; background: var(--yellow-deep); border-radius: 2px;
}
.section-title-bar-light{ color: var(--white); }
.section-lead-center{
  text-align: center; color: var(--gray-600); font-size: 17px;
  margin-top: -24px; margin-bottom: 40px;
}
.section-lead{
  color: var(--gray-600); font-size: 17px; max-width: 560px;
  margin-top: -24px; margin-bottom: 56px;
}

/* ==========================================================================
   Segmentos de atuação
   ========================================================================== */
.segments-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px;
}
.segment-item{
  position: relative;
  display: flex; align-items: center; gap: 20px;
  background: var(--white); border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 26px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease, border-color .25s ease;
}
.segment-item::before{
  content: ""; position: absolute; top: -1px; right: -1px; width: 14px; height: 14px;
  background: var(--border); clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: background .25s ease;
}
.segment-item.is-visible{ opacity: 1; transform: translateY(0); }
.segment-item:hover{ box-shadow: var(--shadow-md); border-color: var(--navy); transform: translateY(-5px); }
.segment-item:hover::before{ background: var(--yellow-deep); }
.segment-item.is-visible:hover{ transform: translateY(-5px); }
.segment-item:nth-child(3n+1){ transition-delay: 0s; }
.segment-item:nth-child(3n+2){ transition-delay: .08s; }
.segment-item:nth-child(3n+3){ transition-delay: .16s; }
.segment-icon{
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 4px;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.segment-item:hover .segment-icon{
  background: var(--navy); border-color: var(--navy); color: var(--yellow);
}
.segment-label{ font-weight: 700; font-size: 17px; color: var(--navy); transition: color .2s ease; }
.segment-item:hover .segment-label{ color: var(--blue); }

/* ==========================================================================
   Frota (grade)
   ========================================================================== */
.fleet-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px;
}
.fleet-item{
  margin: 0; overflow: hidden;
}
/* Item sozinho na última linha: centraliza (ex.: "Baú" com 7 itens em 3 colunas) */
.fleet-grid > .fleet-item:last-child:nth-child(3n+1){
  grid-column: 1 / -1;
  max-width: calc((100% - 2 * 28px) / 3);
  margin-inline: auto;
}
.fleet-item img{
  width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: center;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  transition: transform .5s ease, box-shadow .25s ease;
}
.fleet-item:hover img{ transform: scale(1.06); box-shadow: var(--shadow-md); }
.fleet-item figcaption{
  text-align: center; font-weight: 700; color: var(--navy); font-size: 15px;
  transition: color .2s ease;
}
.fleet-item:hover figcaption{ color: var(--blue); }

/* ==========================================================================
   CTA band (Cotações)
   ========================================================================== */
.cta-band{
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.cta-band-pattern{
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,.9), transparent 65%);
  -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,.9), transparent 65%);
}
.cta-band-inner{
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding: 64px 24px;
}
.cta-band-content{ display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta-band-copy{ display: flex; align-items: center; gap: 20px; }
.cta-band-icon{
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(244, 196, 48, .15); border: 1px solid rgba(244, 196, 48, .4);
  color: var(--yellow); display: flex; align-items: center; justify-content: center;
}
.cta-band h2{ color: var(--white); font-size: 28px; margin-bottom: 8px; }
.cta-band p{ color: rgba(255,255,255,.85); font-size: 16px; }

/* Mockup de celular flutuante, estilo showcase de app */
.cta-band-mockup{ position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.cta-phone{
  position: relative; z-index: 1; width: 240px; border-radius: 30px;
  background: #111; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.45);
  transform: rotate(-4deg); animation: cta-phone-float 5s ease-in-out infinite;
}
.cta-phone-screen{
  background: #E9EDF3; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; height: 460px;
}
.cta-phone-bar{
  display: flex; align-items: center; gap: 10px; padding: 14px 12px;
  background: var(--navy-deep); color: var(--white);
}
.cta-phone-avatar{
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  overflow: hidden; background: var(--white); padding: 5px;
  display: flex; align-items: center; justify-content: center;
}
.cta-phone-avatar img{ width: 100%; height: 100%; object-fit: contain; }
.cta-phone-bar strong{ display: block; font-size: 11px; line-height: 1.3; }
.cta-phone-bar small{ display: block; font-size: 9px; color: rgba(255,255,255,.6); }
.cta-phone-chat{
  flex: 1; padding: 14px 10px; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 8px;
  overflow-y: auto; scrollbar-width: none;
}
.cta-phone-chat::-webkit-scrollbar{ display: none; }
.cta-band .cta-bubble{
  margin: 0; max-width: 82%; padding: 8px 10px; border-radius: 12px;
  font-size: 10.5px; line-height: 1.4; color: var(--text);
  opacity: 0; transform: translateY(8px) scale(.96);
  transition: opacity .25s ease, transform .25s ease;
}
.cta-band .cta-bubble.is-in{ opacity: 1; transform: translateY(0) scale(1); }
.cta-bubble-in{ align-self: flex-start; background: var(--white); border-bottom-left-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.cta-bubble-out{ align-self: flex-end; background: #D9FDD3; border-bottom-right-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.cta-typing{
  align-self: flex-start; display: flex; align-items: center; gap: 3px;
  padding: 9px 11px; border-radius: 12px; border-bottom-left-radius: 2px;
  background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.cta-typing-out{ align-self: flex-end; background: #D9FDD3; border-bottom-left-radius: 12px; border-bottom-right-radius: 2px; }
.cta-typing span{
  width: 5px; height: 5px; border-radius: 50%; background: var(--gray-400);
  animation: cta-typing-bounce 1s infinite ease-in-out;
}
.cta-typing span:nth-child(2){ animation-delay: .15s; }
.cta-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes cta-typing-bounce{
  0%, 60%, 100%{ transform: translateY(0); opacity: .5; }
  30%{ transform: translateY(-3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .cta-band .cta-bubble{ opacity: 1; transform: none; transition: none; }
}
.cta-phone-input{
  padding: 10px; background: #F0F2F5;
}
.cta-phone-input span{
  display: block; background: var(--white); border-radius: 20px; padding: 8px 12px;
  font-size: 10px; color: var(--gray-400);
}
.cta-chip{
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #34C85A, #25D366); color: var(--white);
  box-shadow: 0 14px 28px rgba(0,0,0,.3);
  animation: cta-chip-float 4.5s ease-in-out infinite;
}
.cta-chip-1{ top: 4%; left: 8%; }
.cta-chip-2{
  bottom: 6%; right: 6%;
  animation-delay: -2s;
}
.cta-chip-logo{
  background: var(--white); padding: 6px; box-shadow: 0 14px 28px rgba(0,0,0,.35);
}
.cta-chip-logo img{ width: 100%; height: 100%; border-radius: 8px; }
@keyframes cta-phone-float{
  0%, 100%{ transform: rotate(-4deg) translateY(0); }
  50%{ transform: rotate(-4deg) translateY(-14px); }
}
@keyframes cta-chip-float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce){
  .cta-phone, .cta-chip{ animation: none; }
}

/* ==========================================================================
   Política
   ========================================================================== */
.policy-section{ background: var(--navy-deep); }

/* Política: blocos (cards) de Missão, Visão e Valores */
.policy-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.policy-card{
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 32px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.policy-card.is-visible{ opacity: 1; transform: translateY(0); }
.policy-card:hover{
  background: rgba(255,255,255,.1); border-color: rgba(244,196,48,.45);
  box-shadow: 0 20px 40px rgba(0,0,0,.25); transform: translateY(-4px);
}
.policy-card.is-visible:hover{ transform: translateY(-4px); }
.policy-card:nth-child(2){ transition-delay: .08s; }
.policy-card:nth-child(3){ transition-delay: .16s; }
.policy-card{ text-align: center; }
.policy-card h3{
  color: var(--yellow); font-size: clamp(30px, 3.4vw, 38px); margin-bottom: 18px;
  line-height: 1.1;
}
.policy-card p{ color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.7; }

/* ==========================================================================
   Fale Conosco
   ========================================================================== */
.contact-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.contact-item{
  position: relative;
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-alt); border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 20px 22px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-item::before{
  content: ""; position: absolute; top: -1px; right: -1px; width: 14px; height: 14px;
  background: var(--border); clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: background .2s ease;
}
.contact-item.is-visible{ opacity: 1; transform: translateY(0); }
.contact-item:nth-child(3n+1){ transition-delay: 0s; }
.contact-item:nth-child(3n+2){ transition-delay: .08s; }
.contact-item:nth-child(3n+3){ transition-delay: .16s; }
.contact-item:not(.contact-item-static):hover{
  border-color: var(--yellow-deep); box-shadow: var(--shadow-sm); background: var(--white);
}
.contact-item:not(.contact-item-static):hover::before{ background: var(--yellow-deep); }
.contact-item.is-visible:not(.contact-item-static):hover{ transform: translateY(-3px); }
.contact-icon{
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 4px;
  background: var(--white); border: 1px solid var(--border); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.contact-item:not(.contact-item-static):hover .contact-icon{
  background: var(--navy); color: var(--yellow);
}
.contact-text{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-label{ font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600); }
.contact-value{ font-size: 17px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.contact-value-email{ font-size: 14px; overflow-wrap: normal; word-break: normal; white-space: nowrap; }
@media (max-width: 400px){ .contact-value-email{ font-size: 13px; white-space: normal; overflow-wrap: anywhere; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy-deep); padding: 40px 0; }
.footer-inner{ text-align: center; color: rgba(255,255,255,.7); }
.footer-logo{ height: 40px; width: auto; margin: 0 auto 16px; filter: brightness(0) invert(1); }
.footer-social{ display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.social-icon-footer{ background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.social-icon-footer:hover{ background: var(--yellow); color: var(--navy-deep); }
.footer-inner p{ font-size: 14px; margin-bottom: 4px; }
.footer-doc{ color: rgba(255,255,255,.45); font-size: 13px; }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float{
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease;
}
.whatsapp-float:hover{ transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px){
  .main-nav{
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .2s ease;
  }
  .main-nav.is-open{ max-height: 400px; }
  .main-nav ul{ flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav li{ padding-left: 0; }
  .main-nav li + li::before{ display: none; }
  .main-nav a{ display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav.is-open{ max-height: 460px; }
  .nav-cta{ display: block; margin-top: 12px; }
  .nav-cta a{
    display: block; text-align: center; border-bottom: 0 !important;
    background: var(--yellow); color: var(--navy-deep);
    border-radius: 999px; padding: 13px 20px !important; font-weight: 800;
  }
  .nav-cta a:hover{ border-color: transparent; }
  .nav-toggle{ display: flex; }
  .segments-grid, .contact-grid, .fleet-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .fleet-grid > .fleet-item:last-child:nth-child(3n+1){ grid-column: auto; max-width: none; margin-inline: 0; }
  .fleet-grid > .fleet-item:last-child:nth-child(2n+1){
    grid-column: 1 / -1;
    max-width: calc((100% - 28px) / 2);
    margin-inline: auto;
  }
  .policy-grid{ grid-template-columns: 1fr; }
  .section-split, .section-split-reverse .section-photo, .section-split-reverse .section-copy{
    grid-template-columns: 1fr; order: initial;
  }
  .section-split{ grid-template-columns: 1fr; }
  .hero-cards{ grid-template-columns: 1fr; margin-top: -40px; gap: 16px; }
  .cta-band-inner{ grid-template-columns: 1fr; text-align: left; }
  .cta-band-mockup{ min-height: 0; margin-top: 24px; }
  .intro-band-inner{ flex-direction: column; align-items: flex-start; gap: 20px; }
  .intro-band-logo{ align-self: flex-end; height: 64px; max-width: 200px; }
}
@media (max-width: 640px){
  .header-inner{ height: 66px; gap: 12px; }
  .logo{ flex-shrink: 0; }
  .logo-img{ height: 36px; }
  .header-actions{ gap: 8px; flex-shrink: 0; }
  .header-actions .social-icon{ display: none; }
  /* No celular o CTA fica no hero, no menu e no botão flutuante do WhatsApp;
     tirar do cabeçalho dá espaço pra logo respirar */
  .header-actions .btn-sm{ display: none; }

  /* HERO no mobile: texto em cima (fundo navy), imagem numa faixa embaixo */
  .hero{ display: flex; flex-direction: column; min-height: 0; align-items: stretch; }
  .hero-inner{
    order: 1; padding: 24px 20px 24px; max-width: 100%;
    position: relative; z-index: 1; box-shadow: 0 10px 18px -8px rgba(0,0,0,.45);
  }
  .hero-media{ order: 2; position: static; inset: auto; height: 235px; }
  .hero-media img{ height: 100%; filter: none; object-position: center 78%; }
  .hero-media::after{ display: none; }
  .hero-inner h1{ font-size: 30px; margin-bottom: 18px; text-shadow: none; }
  .hero-inner .btn-lg{ width: 100%; justify-content: center; padding: 15px 28px; font-size: 16px; }

  /* Cards de destaque: pilha compacta encostada no hero */
  .hero-cards{ margin-top: -46px; margin-bottom: 32px; gap: 12px; padding-left: 16px; padding-right: 16px; }
  .hero-card{ padding: 16px 18px; border-radius: 16px; gap: 14px; }
  .hero-card-copy strong{ font-size: 20px; }
  .hero-card-icon{ width: 44px; height: 44px; border-radius: 12px; }

  /* Faixa de apresentação: mantém as estradinhas laterais com o efeito de scroll */
  .road-strip{ width: 24px; }
  .road-strip-left{ left: 8px; }
  .road-strip-right{ right: 8px; }
  .intro-band-inner{ flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 26px 44px; }
  .intro-band-text{ font-size: 15px; line-height: 1.6; }
  .intro-band-logo{ height: 52px; max-width: 180px; align-self: center; margin: 0; }

  /* Ritmo vertical geral mais apertado */
  .section{ padding: 44px 0; }
  .section-title-bar{ font-size: 22px; gap: 12px; margin-bottom: 24px; }
  .section-cta{ margin-top: 24px; }
  .section-cta .btn{ width: 100%; justify-content: center; }
  .policy-section .section-cta{ margin-top: 32px; }
  .section-lead, .section-lead-center{ margin-top: -12px; margin-bottom: 28px; font-size: 15px; }

  .segments-grid, .contact-grid, .location-grid, .fleet-grid{ grid-template-columns: 1fr; gap: 12px; }
  .segment-item{ padding: 16px 18px; gap: 14px; }
  .segment-icon{ width: 46px; height: 46px; }
  .fleet-grid > .fleet-item:last-child:nth-child(2n+1){ grid-column: auto; max-width: none; margin-inline: 0; }
  .contact-item{ padding: 16px 18px; }

  .cta-phone{ width: 200px; }
  .cta-phone-screen{ height: 380px; }
  .cta-chip{ width: 44px; height: 44px; }
}

/* ==========================================================================
   Hero: eyebrow + lead (SEO)
   ========================================================================== */
.hero-eyebrow{
  display: inline-block; margin-bottom: 14px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 13px;
  color: var(--yellow); text-shadow: 0 1px 8px rgba(10, 29, 66, .6);
}

/* ==========================================================================
   Blocos de texto corrido (prose)
   ========================================================================== */
.section-prose{ max-width: 760px; }
.section-prose p{ font-size: 16px; line-height: 1.75; color: var(--gray-600); margin-bottom: 16px; }
.section-prose p:last-child{ margin-bottom: 0; }
.section-prose strong{ color: var(--text); font-weight: 700; }
.section-copy .section-prose{ margin-bottom: 8px; }
.section-prose-wide{ max-width: none; margin-top: 32px; }
.section-prose-wide p{ font-size: 16px; }

/* ==========================================================================
   Serviços e tipos de frete
   ========================================================================== */
.services-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card{
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.service-card h3{
  font-family: var(--font-body); font-weight: 800; text-transform: none; letter-spacing: 0;
  font-size: 19px; color: var(--navy); margin-bottom: 10px; line-height: 1.25;
}
.service-card p{ font-size: 15px; line-height: 1.65; color: var(--gray-600); }
@media (max-width: 960px){ .services-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 640px){ .services-grid{ grid-template-columns: 1fr; gap: 12px; } .service-card{ padding: 22px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ display: grid; gap: 16px; max-width: 880px; }
.faq-item{
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.faq-item h3{
  font-family: var(--font-body); font-weight: 800; text-transform: none; letter-spacing: 0;
  font-size: 17px; color: var(--navy); margin-bottom: 8px; line-height: 1.35;
}
.faq-item p{ font-size: 15px; line-height: 1.7; color: var(--gray-600); }
@media (max-width: 640px){ .faq-item{ padding: 18px 18px; } }

/* ==========================================================================
   Nav: acomoda itens extras no desktop
   ========================================================================== */
@media (min-width: 961px){
  .main-nav a{ font-size: 14px; }
  .main-nav li{ padding-left: 16px; }
  .main-nav li:first-child{ padding-left: 0; }
  .main-nav li + li::before{ left: 7px; }
}

/* ==========================================================================
   Footer: navegação + NAP
   ========================================================================== */
.footer-nav{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 18px; margin-bottom: 18px;
}
.footer-nav a{
  font-size: 13px; color: rgba(255, 255, 255, .72);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.footer-nav a:hover{ color: var(--yellow); border-color: var(--yellow); }
.footer-nap{
  font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .5);
  max-width: 560px; margin: 0 auto 14px;
}

/* ==========================================================================
   Modal de lead (formulario de cotacao)
   ========================================================================== */
.lead-modal-overlay{
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px 40px;
  background: rgba(10, 29, 66, .62);
  backdrop-filter: blur(3px);
  overflow-y: auto;
  animation: lead-fade .18s ease;
}
@keyframes lead-fade{ from{ opacity: 0; } to{ opacity: 1; } }
.lead-modal-overlay[hidden]{ display: none; }

.lead-modal{
  position: relative;
  width: 100%; max-width: 460px;
  margin: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(10, 29, 66, .35);
  padding: 34px 28px 28px;
  animation: lead-pop .2s ease;
}
@keyframes lead-pop{ from{ transform: translateY(12px) scale(.98); opacity: 0; } to{ transform: none; opacity: 1; } }

.lead-modal-close{
  position: absolute; top: 10px; right: 12px;
  width: 40px; height: 40px; border: 0; background: transparent;
  font-size: 30px; line-height: 1; color: var(--gray-400); cursor: pointer;
  border-radius: 50%; transition: background .15s ease, color .15s ease;
}
.lead-modal-close:hover{ background: var(--bg-alt); color: var(--navy); }

.lead-modal-title{
  font-family: var(--font-heading); font-weight: 400; text-transform: uppercase;
  color: var(--navy); font-size: 24px; line-height: 1.12; margin: 0 0 8px;
}
.lead-modal-sub{
  font-size: 14px; line-height: 1.55; color: var(--gray-600); margin: 0 0 20px;
}
.lead-modal-fine{
  font-size: 12px; line-height: 1.5; color: var(--gray-400); margin: 14px 0 0; text-align: center;
}
.lead-modal-fine strong{ color: var(--navy); letter-spacing: .04em; }

.lead-form{ display: flex; flex-direction: column; gap: 14px; }
.lead-field{ display: flex; flex-direction: column; gap: 6px; }
.lead-field > span{
  font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .01em;
}
.lead-field > span i{ color: #C0392B; font-style: normal; margin-left: 2px; }
.lead-field input,
.lead-field select{
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-field input:focus,
.lead-field select:focus{
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 79, 160, .15);
}
.lead-field select{ appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230F2A5C' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.lead-hp{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.lead-error{
  font-size: 13px; font-weight: 600; color: #C0392B;
  background: #FDEDEC; border-radius: var(--radius-sm); padding: 10px 12px; margin: 0;
}

.lead-submit{ width: 100%; justify-content: center; margin-top: 4px; }
.lead-submit:disabled{ opacity: .7; cursor: default; transform: none; }

.lead-wa-btn{ width: 100%; justify-content: center; margin-top: 6px; }

[data-step="success"],
[data-step="reject"]{ text-align: center; }
.lead-icon{
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; margin: 4px auto 16px;
}
.lead-icon-ok{ background: #E7F6EC; color: #1E8E3E; }
.lead-icon-info{ background: #FEF7E0; color: var(--yellow-deep); }

@media (max-width: 520px){
  .lead-modal{ padding: 30px 20px 22px; border-radius: var(--radius-md); }
  .lead-modal-title{ font-size: 21px; }
  .lead-modal-overlay{ padding: 12px 10px 28px; }
}
@media (prefers-reduced-motion: reduce){
  .lead-modal-overlay, .lead-modal{ animation: none; }
}
