/* =========================================================
   INLAND LOGISTICA e TERMINAIS - Homepage
   Design system e componentes (mobile-first)
   =========================================================
   Indice
   1.  Design tokens
   2.  Reset e base
   3.  Layout (container, section, headings)
   4.  Botoes e links
   5.  Header e navegacao
   6.  Hero
   7.  Marquee de logos (loop infinito)
   8.  Servicos (cards com imagem)
   9.  Sobre e numeros
   10. Certificacoes
   11. Por que nos escolher
   12. Nossos clientes
   13. Faixa de CTA
   14. Footer
   15. WhatsApp flutuante
   16. Scroll reveal
   17. Media queries
   ========================================================= */

/* 1. DESIGN TOKENS ====================================== */
:root {
  --red:       #C1121C;
  --red-600:   #A20E16;
  --red-700:   #820B12;
  --red-soft:  #FCEDED;

  --blue:      #3E608A;
  --blue-600:  #31506F;
  --blue-soft: #EDF2F8;

  --sky:       #0E9CE0;
  --sky-600:   #0B7CB4;
  --sky-400:   #5FBCEC;
  --sky-soft:  #E6F3FD;

  --ink:       #10161F;
  --ink-2:     #29343F;
  --muted:     #58657A;
  --muted-2:   #8A97A6;
  --line:      #E6EAF0;
  --line-2:    #F0F3F7;
  --surface:   #F5F7FA;
  --white:     #FFFFFF;

  --font-display: "Barlow", system-ui, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(16, 22, 31, .06);
  --shadow-md: 0 10px 30px rgba(16, 22, 31, .08);
  --shadow-lg: 0 26px 60px rgba(16, 22, 31, .14);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 22px;
  --section-y: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. RESET E BASE ====================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

/* 3. LAYOUT =========================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--sky-soft); }

.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--center { margin-inline: auto; text-align: center; }
/* titulos de uma linha: nao limitar a largura para centralizar de verdade */
.section__head--center:has(.oneline) { max-width: none; }
.section__head--center:has(.oneline) .lead { max-width: 640px; margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow--center { display: block; }
.eyebrow--pill {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--sky-600);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  margin-bottom: 20px;
}
.eyebrow--pill.eyebrow--center { display: inline-block; margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  font-weight: 700;
}
.h-lg { font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 800; }
.h-md { font-size: clamp(1.3rem, 3vw, 1.7rem); }

.lead { font-size: clamp(1rem, 2.2vw, 1.16rem); color: var(--muted); }
.text-red { color: var(--red); }

/* 4. BOTOES E LINKS ================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; pointer-events: none; }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 26px rgba(193, 18, 28, .26); }
.btn--primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(193, 18, 28, .32); }

.btn--sky { background: var(--sky); color: #fff; box-shadow: 0 12px 26px rgba(44, 156, 219, .26); }
.btn--sky:hover { background: var(--sky-600); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(44, 156, 219, .32); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.btn--ghost { background: var(--white); color: var(--sky-600); box-shadow: inset 0 0 0 1.6px var(--sky); }
.btn--ghost:hover { background: var(--sky-soft); box-shadow: inset 0 0 0 1.6px var(--sky-600); transform: translateY(-2px); }

.btn--wa { background: #25D366; color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #20bd5b; transform: translateY(-2px); }

/* Botao WhatsApp da navbar: pulsando (anel verde expandindo) */
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 20px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 8px 20px rgba(37, 211, 102, .35), 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 20px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.header__cta.btn--wa,
.lp-header .lp-btn-wa.btn--wa { animation: wa-pulse 1.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .header__cta.btn--wa,
  .lp-header .lp-btn-wa.btn--wa { animation: none; }
}

.btn--sm { padding: 12px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--sky-600);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 5. HEADER =========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 86px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 66px; width: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  padding: 10px 15px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: var(--surface); color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }

.burger {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--white);
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after  { position: absolute; top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.burger.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 86px 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 12px var(--gutter) 22px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
  z-index: 99;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a {
  display: block;
  padding: 14px 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a.mobile-nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 17px 24px;
  font-size: 1.08rem;
  border-bottom: none;
  color: #fff;
}

/* 6. HERO (estilo editorial, tipografia forte) ======= */
.hero {
  position: relative;
  padding-block: 36px 40px;
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -12% -6%;
  z-index: -1;
  background:
    radial-gradient(440px 340px at 8% 14%, rgba(193, 18, 28, .10), transparent 70%),
    radial-gradient(480px 380px at 94% 2%, rgba(14, 156, 224, .09), transparent 72%),
    radial-gradient(560px 440px at 86% 106%, rgba(14, 156, 224, .11), transparent 72%);
  filter: blur(34px);
  pointer-events: none;
}
.hero__inner { position: relative; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  color: var(--ink-2);
  font-weight: 600;
  font-size: .86rem;
  margin-bottom: 20px;
}
.hero__badge b { color: var(--red); font-family: var(--font-display); }
.hero__badge i {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky); color: #fff;
}
.hero__badge svg { width: 13px; height: 13px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.hero__title em { font-style: italic; color: var(--red); }
.hero__br { display: none; }

.hero__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 22px;
}
.hero__lead { font-size: clamp(.96rem, 1.5vw, 1.05rem); color: var(--muted); max-width: 520px; line-height: 1.6; }
.hero__lead b { color: var(--ink-2); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero__stat { min-width: 0; }
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__stat span { font-size: .88rem; color: var(--muted); margin-top: 6px; display: block; }
.hero__stat b.is-red { color: var(--red); }

/* 6b. HERO DE PAGINA INTERNA ========================= */
.page-hero {
  position: relative;
  padding-block: 70px 64px;
  background:
    radial-gradient(620px 340px at 100% -10%, var(--red-soft), transparent 62%),
    radial-gradient(520px 320px at -5% 110%, var(--sky-soft), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb svg { width: 15px; height: 15px; color: var(--muted-2); }
.breadcrumb .current { color: var(--ink-2); font-weight: 600; }
.page-hero__eyebrow { }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.page-hero h1 em { font-style: italic; color: var(--red); }
.page-hero__lead { margin-top: 16px; max-width: 640px; }

/* 6c. PAGINA DE DETALHE DE SERVICO =================== */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.svc-detail > * { min-width: 0; }
.svc-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.svc-detail__content h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.svc-detail__content .lead { margin-top: 16px; }
.checklist { margin-top: 26px; display: grid; gap: 13px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--ink-2); }
.checklist svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }
.svc-detail__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .svc-detail { grid-template-columns: 1fr 1fr; gap: 58px; align-items: stretch; }
  .svc-detail__media { display: flex; flex-direction: column; }
  .svc-detail__media img { height: 100%; aspect-ratio: auto; }
}

/* rotulo visivel apenas para leitores de tela */
.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;
}
/* 6e. CATALOGO DE LOCACAO (busca + cards + detalhe) === */
.equip-search { position: relative; max-width: 860px; margin: 0 auto 44px; }
.equip-search input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 16px 22px 16px 54px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.equip-search input::placeholder { color: var(--muted-2); }
.equip-search input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-soft); }
.equip-search__icon {
  position: absolute; left: 21px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--muted-2); pointer-events: none;
}
.equip-search__empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* etiqueta LOCACAO sobre a imagem */
.equip-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--red-soft); color: var(--red);
}
/* categoria acima do titulo */
.equip-cat {
  display: block; font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.equip-listing .svc-card__media { background: var(--surface); }
.svc-card[hidden] { display: none; }

/* pagina de detalhe do equipamento */
.equip-detail { padding-top: 26px; }
.equip-shot {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.equip-shot img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  padding: 26px; border-radius: 0; box-shadow: none;
}
.svc-detail__content .equip-specs__title {
  font-size: .88rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); margin-top: 34px;
}
@media (min-width: 900px) {
  .equip-detail { padding-top: 38px; }
  .equip-detail .svc-detail { align-items: start; }
  .equip-detail .svc-detail__media { display: block; }
  .equip-detail .equip-shot img { height: auto; aspect-ratio: 4 / 3; }
}

/* Caixa com FOTO: imagem preenche a caixa inteira, sem sobra branca.
   Vem depois das regras genericas de propósito — os cards com recorte PNG
   continuam usando contain + respiro, que e o correto para fundo transparente. */
.equip-shot--photo img,
.equip-detail .equip-shot--photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0;
}

/* 6d. CABECALHO DE SERVICOS (titulo + botao) ========= */
.svc-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 46px; }
.svc-head__text { max-width: 680px; }
.svc-head__text .lead { margin-top: 14px; }
.btn--outline-red {
  background: transparent;
  color: var(--sky-600);
  box-shadow: inset 0 0 0 1.6px var(--sky);
}
.btn--outline-red:hover { background: var(--sky); color: #fff; transform: translateY(-2px); }
@media (min-width: 860px) {
  .svc-head { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .svc-head .btn { flex-shrink: 0; }
}

/* 6e. TIMELINE (Sobre Nos) ========================== */
.timeline { position: relative; display: grid; gap: 16px; max-width: 720px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 14px; bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red), var(--sky));
}
.timeline__item { position: relative; padding-left: 50px; }
.timeline__dot {
  position: absolute;
  left: 7px; top: 24px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--sky);
  box-shadow: 0 0 0 4px var(--sky-soft);
  z-index: 1;
}
.timeline__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.timeline__card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.timeline__year {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--red);
  margin-bottom: 5px;
}
.timeline__card p { color: var(--muted); font-size: .95rem; }

/* 6f. CONTATO (info + mapa) ========================= */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.contact-grid > * { min-width: 0; }
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-item__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--sky-soft);
  color: var(--sky-600);
  display: grid; place-items: center;
}
.contact-item__icon svg { width: 23px; height: 23px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: 5px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: .96rem; line-height: 1.6; }
.contact-item a { display: block; transition: color .2s var(--ease); }
.contact-item a:hover { color: var(--red); }
.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  min-height: 360px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
}

/* 6g. FORMULARIO ==================================== */
.form__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 36px);
}
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-2);
}
.field input, .field textarea {
  font: inherit;
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field--error input, .field--error textarea { border-color: var(--red); }
.field--error input:focus, .field--error textarea:focus { box-shadow: 0 0 0 3px var(--red-soft); }
.field__error { display: block; margin-top: 6px; font-size: .85rem; font-weight: 500; color: var(--red); }
.field__error:empty { display: none; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__status { font-size: .92rem; font-weight: 600; }
.form__status.is-ok { color: #148A55; }
.form__status.is-err { color: var(--red); }
.form__status.is-info { color: var(--muted); }
.form__status:empty { display: none; }
@media (min-width: 520px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* 6h. CARDS DE DESTAQUE (home) ====================== */
.hl-grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.hl-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hl-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface); }
.hl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hl-card:hover .hl-card__media img { transform: scale(1.05); }
.hl-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
  border-top: 1px solid var(--line);
}
.hl-card__body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hl-card__body p { color: var(--muted); font-size: .96rem; margin-bottom: 20px; }
.hl-card__body .link-arrow { margin-top: auto; }
@media (min-width: 720px) {
  .hl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}

/* 7. MARQUEE DE LOGOS ================================ */
.marquee-wrap {
  padding-block: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.marquee-wrap__label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. SERVICOS ======================================= */
.svc-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.svc-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc-card__body p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.svc-card__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}
.svc-card__actions .link-arrow { font-size: .95rem; }
.svc-more { text-align: center; margin-top: 44px; }

/* Catalogo de equipamentos (aluguel de maquinas) */
.equip-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.equip-grid > * { min-width: 0; }
.equip-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.equip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.equip-card__media {
  aspect-ratio: 4 / 3;
  min-height: 0; /* impede que uma imagem alta estoure a caixa e desalinhe a grade */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 22px 6px;
}
.equip-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
/* cards com foto (em vez de recorte PNG): a imagem preenche a caixa toda */
.equip-card__media--photo { padding: 0; }
.equip-card__media--photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.equip-card:hover .equip-card__media img { transform: scale(1.04); }
.equip-card__body { padding: 20px 22px 24px; }
.equip-card__body h3 { font-size: 1.16rem; margin-bottom: 8px; }
.equip-card__body p { color: var(--muted); font-size: .93rem; }
@media (min-width: 600px) { .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .equip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* Placeholder de imagem (aguardando fotos do equipamento) */
.img-ph {
  display: grid; place-items: center; align-content: center; gap: 8px;
  background: var(--sky-soft);
  border: 2px dashed var(--sky-400);
  border-radius: var(--r-lg);
  color: var(--sky-600);
  text-align: center;
  padding: 18px;
}
.img-ph svg { width: 32px; height: 32px; opacity: .75; }
.img-ph b { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.img-ph small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.img-ph--main { aspect-ratio: 4 / 3; }
.img-ph--thumb { aspect-ratio: 1 / 1; border-radius: var(--r-md); padding: 10px; }
.img-ph--thumb svg { width: 24px; height: 24px; }
.img-ph--fill { width: 100%; height: 100%; border: none; border-radius: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }

/* Foto do equipamento (mostra a maquina inteira, sem corte) */
.equip-photo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
}
/* a proporcao vai no proprio <img> para a caixa ser sempre definida */
.equip-photo img,
.svc-detail__media .equip-photo img,
.lp-hero__media .equip-photo img,
.lp-about__media .equip-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
/* dentro do card de listagem: casa exatamente com a area de midia (16/10) */
.equip-photo--fill { border: none; border-radius: 0; padding: 0; }
.equip-photo--fill img,
.svc-card__media .equip-photo--fill img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; padding: 14px; }

/* Grade da frota usada (2 colunas no desktop) */
.frota-grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.frota-grid > * { min-width: 0; }
@media (min-width: 760px) { .frota-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }

/* Ficha tecnica do equipamento */
.specs { margin-top: 26px; border-top: 1px solid var(--line); }
.specs__row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.specs__row dt { color: var(--muted); font-size: .95rem; }
.specs__row dd { font-family: var(--font-display); font-weight: 700; color: var(--ink-2); font-size: .96rem; text-align: right; }
.badge-estado {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--sky-soft); color: var(--sky-600);
  font-family: var(--font-display); font-weight: 700; font-size: .84rem;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.badge-estado svg { width: 15px; height: 15px; }
/* HOME: mobile mostra 4 servicos + botao "ver todos os servicos" (link) */
.svc-grid--home > .svc-card:nth-child(n+5) { display: none; }
.svc-more-mobile { text-align: center; margin-top: 32px; }
.svc-head .btn--outline-red { display: none; }
/* NOSSOS SERVICOS: mobile mostra 5 + toggle "ver mais / ver menos" */
.svc-grid--collapsible > .svc-card:nth-child(n+6) { display: none; }
.svc-grid--collapsible.is-expanded > .svc-card:nth-child(n+6) { display: flex; }
.svc-toggle__less { display: none; }
.svc-toggle[aria-expanded="true"] .svc-toggle__more { display: none; }
.svc-toggle[aria-expanded="true"] .svc-toggle__less { display: inline; }
.svc-toggle__icon { transition: transform .25s var(--ease); }
.svc-toggle[aria-expanded="true"] .svc-toggle__icon { transform: rotate(180deg); }
@media (min-width: 720px) {
  .svc-grid--home > .svc-card:nth-child(n+5) { display: flex; }
  .svc-grid--collapsible > .svc-card:nth-child(n+6) { display: flex; }
  .svc-more-mobile { display: none; }
  .svc-head .btn--outline-red { display: inline-flex; }
}

/* Link de voltar (paginas internas) */
.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 20px;
  transition: color .2s var(--ease);
}
.back-link:hover { color: var(--red); }
.back-link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.back-link:hover svg { transform: translateX(-3px); }

/* 9. SOBRE E NUMEROS ================================ */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.about__grid > * { min-width: 0; }
.about__grid .lead { margin-top: 20px; }
.about__media {
  position: relative;
  order: -1;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% center;
}
.about__list { margin-top: 24px; display: grid; gap: 13px; }
.about__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; color: var(--ink-2); }
.about__list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 44px;
}
.stat { background: var(--white); padding: 28px 24px; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; color: var(--sky); }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* 10. CERTIFICACOES ================================= */
.certs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-card__img {
  flex: 0 0 auto;
  width: 96px; height: 76px;
  display: grid; place-items: center;
  background: var(--sky-soft);
  border-radius: var(--r-md);
  padding: 12px;
}
.cert-card__img img { max-height: 100%; width: auto; object-fit: contain; }
.cert-card h3 { font-size: 1.16rem; margin-bottom: 5px; }
.cert-card p { color: var(--muted); font-size: .93rem; }

/* 11. NOSSA ESSENCIA (editorial) ==================== */
.essence__statements {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.statement {
  padding: 38px 36px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.statement:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.statement__tile {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.statement--mission .statement__tile { background: var(--red-soft); color: var(--red); }
.statement--vision  .statement__tile { background: var(--sky-soft); color: var(--sky-600); }
.statement__tile svg { width: 30px; height: 30px; }
.statement__title { font-size: clamp(1.35rem, 3vw, 1.6rem); margin-bottom: 14px; }
.statement__text { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.statement__text b { font-weight: 600; }
.statement--mission .statement__text b { color: var(--red); }
.statement--vision  .statement__text b { color: var(--sky-600); }

.values__heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center;
  margin-bottom: 40px;
}
.values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.value { padding-top: 20px; border-top: 2px solid var(--line); }
.value__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.value__index {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--sky-soft);
  color: var(--sky-600);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
}
.value h3 { font-size: 1.16rem; margin: 0; }
.value p { color: var(--muted); font-size: .95rem; }

@media (min-width: 720px) {
  .values { gap: 32px 34px; }
  .value { padding-top: 22px; }
}

/* 12. NOSSOS CLIENTES (cards de parceria) =========== */
.pcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.pcard {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__tag {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 7px 13px;
  border-radius: var(--r-sm);
  box-shadow: 0 6px 16px rgba(193, 18, 28, .3);
}
.pcard__body {
  flex: 1;
  padding: 30px 30px 32px;
  border-left: 5px solid var(--sky);
}
.pcard__body h3 { font-size: 1.28rem; color: var(--sky-600); margin-bottom: 14px; line-height: 1.2; }
.pcard__body p { color: var(--muted); font-size: .96rem; line-height: 1.65; }

/* 13. FAIXA DE CTA ================================== */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(38px, 6vw, 64px);
  background:
    radial-gradient(700px 340px at 88% -20%, rgba(193, 18, 28, .5), transparent 62%),
    linear-gradient(135deg, #141B26, #10161F 70%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -70px; bottom: -90px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 68%);
}
.cta-band__inner { position: relative; display: grid; gap: 26px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 560px; margin-top: 12px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.cta-band .btn--outline:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }

/* 14. FOOTER ======================================= */
.footer { background: var(--ink); color: #B4C0CE; padding-block: 56px 26px; }
.footer a { transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
.footer__grid > * { min-width: 0; }
.footer__logo { height: 54px; width: auto; max-width: 100%; border-radius: 10px; }
.footer__desc { margin-top: 18px; font-size: .93rem; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  color: #B4C0CE;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col li { margin-bottom: 11px; font-size: .93rem; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--sky-400); margin-top: 3px; }
.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .84rem;
  color: #6E7C8C;
}

/* 15. WHATSAPP FLUTUANTE =========================== */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .42);
  transition: transform .25s var(--ease);
  animation: wa-pop .4s var(--ease) both;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: wa-ring 2.4s ease-out infinite;
}
@keyframes wa-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes wa-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* 16. SCROLL REVEAL ================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none !important; }
}

/* 17. MEDIA QUERIES =============================== */
@media (min-width: 560px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .essence__statements { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero__cta { flex-shrink: 0; }
  .hero__br { display: inline; }
}

@media (min-width: 960px) {
  :root { --section-y: 108px; }
  .nav { display: block; }
  /* 5 itens no menu: aperta o espacamento ate sobrar largura */
  .nav__link { padding: 10px 11px; font-size: .93rem; }
  .header__cta { display: inline-flex; }
  .burger, .mobile-nav { display: none; }

  .hero { padding-block: 44px 48px; }

  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* titulos em uma unica linha no desktop */
  .oneline { white-space: nowrap; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

  .about__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .about__media { order: 0; margin-inline: 0; }

  .cta-band__inner { grid-template-columns: 1.5fr auto; }

  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; }
}

/* folga restaurada quando ha largura de sobra */
@media (min-width: 1140px) {
  .nav__link { padding: 10px 15px; font-size: 1rem; }
}
