/* ==========================================================================
   Central de Fretes - Landing /porto-alegre
   Design minimalista, mobile-first. Branco + preto/cinza com vermelho apenas
   como destaque. Sem bibliotecas externas, sem JavaScript.
   ========================================================================== */

:root {
  --preto: #000000;
  --grafite: #1A1A1A;
  --cinza-texto: #4A4A4A;
  --cinza-suave: #8A8A8A;
  --cinza-linha: #E4E4E4;
  --cinza-fundo: #F7F7F7;
  --branco: #FFFFFF;
  --vermelho: #E00000;
  --wa: #25D366;

  --raio: 10px;
  --raio-pill: 999px;
  --sombra-leve: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sombra-media: 0 8px 24px -12px rgba(0, 0, 0, 0.18);

  --fonte: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --largura: 1080px;

  /* Ritmo vertical unico entre secoes */
  --secao-y: 44px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grafite);
  background: var(--branco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

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

svg {
  display: block;
}

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

/* --------------------------------------------------------------------------
   Cabecalho / Logo
   CENTRAL em preto (grande, pesado, italico), DE FRETES em vermelho,
   linha vermelha fina, cidade em maiusculas espacadas.
   Menu hamburguer discreto a direita no mobile.
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--cinza-linha);
  background: var(--branco);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 0 14px;
  min-width: 0;
}

.brand-top {
  font-size: 1.85rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--preto);
}

.brand-bottom {
  margin-top: 1px;
  font-size: 1.85rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--vermelho);
}

.brand-rule {
  display: block;
  width: 188px;
  height: 2px;
  margin: 8px 0 6px;
  background: var(--vermelho);
}

.brand-city {
  width: 188px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cinza-suave);
}

/* Menu hamburguer (checkbox + label, sem JavaScript) */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}

.nav-burger-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  height: 16px;
}

.nav-burger-box span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--preto);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:checked + .nav-burger .nav-burger-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-burger .nav-burger-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-burger .nav-burger-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:focus-visible + .nav-burger {
  outline: 2px solid var(--vermelho);
  outline-offset: 2px;
}

.nav-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 80;
  display: none;
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-linha);
  box-shadow: 0 10px 20px -14px rgba(0, 0, 0, 0.28);
}

.nav-toggle:checked ~ .nav-menu {
  display: block;
}

.nav-menu ul {
  padding: 6px 20px 14px;
}

.nav-menu a {
  display: block;
  padding: 11px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--grafite);
  border-bottom: 1px solid var(--cinza-linha);
}

.nav-menu li:last-child a {
  border-bottom: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 34px 0 32px;
  background: linear-gradient(180deg, #FBFBFB 0%, var(--branco) 70%);
  border-bottom: 1px solid var(--cinza-linha);
}

.hero-copy {
  max-width: 720px;
}

.hero-title {
  font-size: clamp(1.6rem, 8.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.hero-title span {
  display: block;
}

.hero-line-dark {
  color: var(--preto);
}

.hero-line-red {
  color: var(--vermelho);
}

.hero-text {
  margin-top: 16px;
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--cinza-texto);
}

/* --------------------------------------------------------------------------
   Secoes genericas
   -------------------------------------------------------------------------- */
.section {
  padding: var(--secao-y) 0;
}

.section-alt {
  background: var(--cinza-fundo);
  border-top: 1px solid var(--cinza-linha);
  border-bottom: 1px solid var(--cinza-linha);
}

.section-title {
  font-size: clamp(1.15rem, 4.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--preto);
}

.section-lead {
  margin-top: 12px;
  max-width: 560px;
  font-size: 0.98rem;
  color: var(--cinza-texto);
}

/* --------------------------------------------------------------------------
   Servicos (cards minimalistas)
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.service {
  padding: 18px 16px;
  background: var(--branco);
  border: 1px solid var(--cinza-linha);
  border-radius: var(--raio);
  box-shadow: var(--sombra-leve);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border: 1px solid var(--cinza-linha);
  border-radius: 8px;
  color: var(--preto);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--preto);
}

.service-desc {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--cinza-texto);
}

/* --------------------------------------------------------------------------
   Como funciona (4 etapas)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.step {
  position: relative;
  padding-left: 52px;
}

.step-icon {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--branco);
  border: 1px solid var(--cinza-linha);
  color: var(--preto);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step-number {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vermelho);
}

.step-name {
  margin-top: 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--preto);
}

.step-desc {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--cinza-texto);
}

/* --------------------------------------------------------------------------
   Cobertura (chips leves, sem arquivo de mapa)
   -------------------------------------------------------------------------- */
.coverage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

.coverage-block {
  min-width: 0;
  padding: 20px 18px;
  background: var(--branco);
  border: 1px solid var(--cinza-linha);
  border-radius: var(--raio);
}

.coverage-block-main {
  border-left: 3px solid var(--vermelho);
}

.coverage-note {
  font-size: 0.88rem;
  color: var(--cinza-texto);
}

.coverage-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--cinza-linha);
}

.coverage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--cinza-fundo);
  color: var(--preto);
}

.coverage-icon svg {
  width: 18px;
  height: 18px;
}

.coverage-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--preto);
  line-height: 1.3;
}

.coverage-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cinza-suave);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 5px 11px;
  font-size: 0.8rem;
  color: var(--cinza-texto);
  background: var(--cinza-fundo);
  border: 1px solid var(--cinza-linha);
  border-radius: var(--raio-pill);
}

.chip-alt {
  color: var(--preto);
  background: var(--branco);
  border-color: #D6D6D6;
}

/* --------------------------------------------------------------------------
   Parceiros
   -------------------------------------------------------------------------- */
.partners {
  max-width: 620px;
  padding: 26px 24px;
  background: var(--branco);
  border: 1px solid var(--cinza-linha);
  border-left: 3px solid var(--vermelho);
  border-radius: var(--raio);
}

.partners-title {
  font-size: clamp(1.05rem, 4.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--preto);
}

.partners-text {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--cinza-texto);
}

/* --------------------------------------------------------------------------
   Rodape
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 32px 0 76px;
  border-top: 1px solid var(--cinza-linha);
  text-align: center;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--preto);
}

.footer-text {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--cinza-texto);
}

.footer-legal {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--cinza-suave);
}

/* --------------------------------------------------------------------------
   Botao flutuante de WhatsApp (unico CTA da pagina)
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, background-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.wa-float:hover {
  background: #1EBE5B;
  transform: scale(1.06);
}

.wa-float svg {
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  flex: none;
  fill: var(--branco);
}

/* --------------------------------------------------------------------------
   Responsivo (mobile-first: valores acima sao o padrao mobile)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .container {
    padding: 0 28px;
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 22px;
  }

  .coverage {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --secao-y: 56px;
  }

  .hero {
    padding-top: 56px;
  }

  .services {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer {
    padding-bottom: 40px;
  }

  /* No desktop o hamburguer da lugar aos links inline */
  .nav-burger {
    display: none;
  }

  .nav-menu {
    position: static;
    display: block;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
  }

  .nav-menu ul {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
  }

  .nav-menu a {
    padding: 4px 0;
    font-size: 0.88rem;
    border-bottom: none;
  }

  .nav-menu a:hover {
    color: var(--vermelho);
  }
}

