/* Grupo G.R.L Transportes e Logística — versão HTML/CSS/JS puro */

:root {
  --background: #f9fafb;
  --foreground: #17262e;
  --card: #ffffff;
  --muted: #f1f3f5;
  --muted-foreground: #64757e;
  --border: #e2e6ea;
  --surface: #12303c;
  --surface-2: #0d232c;
  --surface-foreground: #f4f7f8;
  --accent: #f2a516;
  --accent-foreground: #1d2f38;
  --whats: #25d366;
  --whats-foreground: #0d2a17;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(23, 38, 46, 0.05), 0 8px 24px -12px rgba(23, 38, 46, 0.18);
  --shadow-lift: 0 2px 6px rgba(23, 38, 46, 0.08), 0 18px 40px -18px rgba(23, 38, 46, 0.28);
  --font-display: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

ul,
ol {
  list-style: none;
}

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

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.eyebrow--accent {
  color: var(--accent);
}

.section {
  padding-block: 72px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-top: 12px;
}

.section__text {
  margin-top: 16px;
  color: var(--muted-foreground);
  max-width: 60ch;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1rem;
  padding: 15px 28px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  font-size: 0.875rem;
  padding: 11px 20px;
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-card);
}

.btn--accent:hover {
  background: #dd960f;
}

.btn--whats {
  background: var(--whats);
  color: var(--whats-foreground);
  box-shadow: var(--shadow-card);
}

.btn--whats:hover {
  background: #1fbb59;
}

.btn--ghost {
  background: transparent;
  color: var(--surface-foreground);
  border: 1px solid rgba(244, 247, 248, 0.28);
}

.btn--ghost:hover {
  background: rgba(244, 247, 248, 0.1);
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__logo {
  width: auto;
  height: 56px;
  max-width: 190px;
  object-fit: contain;
}

.brand__logo--footer {
  width: 230px;
  max-width: 100%;
  height: auto;
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
}

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.1;
}

.brand__tag {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

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

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

.header__cta {
  display: none;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 230, 234, 0.7);
  font-weight: 500;
}

.mobile-nav .btn {
  margin: 14px 0;
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface);
  color: var(--surface-foreground);
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--surface) 0%, rgba(18, 48, 60, 0) 45%, rgba(18, 48, 60, 0.5) 100%),
    linear-gradient(to right, var(--surface) 0%, rgba(18, 48, 60, 0.92) 45%, rgba(18, 48, 60, 0.35) 100%);
}

.hero__inner {
  padding-block: 64px 80px;
}

.hero__content {
  max-width: 640px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
}

.hero__sub {
  margin-top: 22px;
  font-size: 1.125rem;
  color: rgba(244, 247, 248, 0.78);
  max-width: 46ch;
}

.hero__buttons {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__note {
  margin-top: 18px;
  font-size: 0.875rem;
  color: rgba(244, 247, 248, 0.62);
}

.hero__list {
  margin-top: 36px;
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.hero__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(244, 247, 248, 0.88);
}

.hero__list .icon {
  color: var(--accent);
  width: 18px;
  height: 18px;
}

/* ---------- Barra de confiança ---------- */
.trust {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}

.trust__grid {
  display: grid;
  gap: 24px;
  padding-block: 40px;
}

.trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.trust__icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
}

.trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.trust__item span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lift);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--muted);
  color: var(--surface);
}

.card h3 {
  margin-top: 18px;
  font-size: 1.5rem;
  font-weight: 600;
}

.card p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.card__link {
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.card__link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Diferenciais ---------- */
.dark {
  background: linear-gradient(135deg, #12303c 0%, #0b1e26 100%);
  color: var(--surface-foreground);
}

.dark .section__title {
  color: var(--surface-foreground);
}

.dark .section__text {
  color: rgba(244, 247, 248, 0.75);
}

.diff {
  background: rgba(244, 247, 248, 0.05);
  border: 1px solid rgba(244, 247, 248, 0.1);
  border-radius: 14px;
  padding: 24px;
}

.diff .icon {
  color: var(--accent);
}

.diff h3 {
  margin-top: 14px;
  font-size: 1.25rem;
  font-weight: 600;
}

.diff p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: rgba(244, 247, 248, 0.7);
}

/* ---------- Processo ---------- */
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.step__n {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.step p {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

/* ---------- Cotação ---------- */
.quote {
  background: var(--muted);
}

.quote__grid {
  display: grid;
  gap: 40px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
}

.panel strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.panel p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.panel .btn {
  margin-top: 20px;
}

.form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.form__grid {
  display: grid;
  gap: 16px;
}

.field {
  display: block;
  min-width: 0;
}

.field span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.field input,
.field textarea {
  margin-top: 6px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--background);
  padding: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 165, 22, 0.25);
}

.form__hint {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.success {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.success .icon {
  width: 48px;
  height: 48px;
  color: var(--whats);
  margin-inline: auto;
}

.success h3 {
  margin-top: 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.success p {
  margin: 12px auto 0;
  max-width: 42ch;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.success .btn {
  margin-top: 24px;
}

.link-button {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hidden {
  display: none !important;
}

/* ---------- Faixa WhatsApp ---------- */
.whats-band {
  background: var(--accent);
  color: var(--accent-foreground);
}

.whats-band__inner {
  padding-block: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.whats-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.whats-band p {
  margin-top: 8px;
  color: rgba(29, 47, 56, 0.8);
  max-width: 46ch;
}

.whats-band .btn--whats {
  background: var(--surface);
  color: var(--surface-foreground);
}

.whats-band .btn--whats:hover {
  background: #0d232c;
}

/* ---------- Blocos com imagem ---------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

/* Tamanho padrão das imagens de conteúdo */
#empresa .split img {
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
}

.split--dark img {
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

/* ---------- CTA final ---------- */
.final {
  text-align: center;
}

.final .container {
  max-width: 760px;
}

.final h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.final p {
  margin-top: 16px;
  color: rgba(244, 247, 248, 0.75);
}

.final__buttons {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

/* ---------- Contato ---------- */
.contact__grid {
  display: grid;
  gap: 40px;
}

.contact__list {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.contact__list li {
  display: flex;
  gap: 12px;
  color: var(--muted-foreground);
}

.contact__list .icon {
  color: var(--accent);
  margin-top: 3px;
}

.contact__list a:hover {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  min-height: 320px;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  color: var(--surface-foreground);
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-block: 56px;
}

.footer .brand__mark {
  background: rgba(244, 247, 248, 0.1);
}

.footer__desc {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(244, 247, 248, 0.6);
  max-width: 32ch;
}

.footer__list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(244, 247, 248, 0.7);
}

.footer__list a:hover {
  color: var(--surface-foreground);
}

.footer__bar {
  border-top: 1px solid rgba(244, 247, 248, 0.1);
}

.footer__bar p {
  padding-block: 22px;
  font-size: 0.75rem;
  color: rgba(244, 247, 248, 0.45);
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: var(--radius);
  background: var(--whats);
  color: var(--whats-foreground);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-lift);
}

.spacer-mobile {
  height: 84px;
}

/* ---------- Animações ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsivo ---------- */
@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
  .section {
    padding-block: 96px;
  }
  .hero__inner {
    padding-block: 96px 112px;
  }
  .hero__buttons,
  .final__buttons {
    flex-direction: row;
  }
  .hero__list,
  .trust__grid,
  .grid,
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header__cta {
    display: inline-flex;
  }
  .whats-float {
    left: auto;
    right: 24px;
    width: auto;
  }
  .spacer-mobile {
    display: none;
  }
  .whats-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .form,
  .card,
  .diff,
  .step,
  .panel {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .trust__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .split,
  .contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote__grid {
    grid-template-columns: 1fr 1.25fr;
  }
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero__inner {
    padding-block: 128px 144px;
  }
}
