/**
 * LEVALOG — estilos (layout navy / laranja)
 */

:root {
  --navy: #0b1b32;
  --navy-deep: #071221;
  --orange: #ef8231;
  --orange-dark: #d66d1f;
  --white: #ffffff;
  --off: #f4f6f9;
  --text: #1a2433;
  --muted: #5b6678;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(11, 27, 50, 0.12);
  --header-h: 88px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
  text-align: center;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--off);
}

.section-tag,
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
}

.section-lead {
  margin: 0 auto;
  color: var(--muted);
  max-width: 620px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.carousel-counter {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible,
.carousel-btn:focus-visible,
.faq-question:focus-visible,
.diff-tab:focus-visible,
.nav a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(239, 130, 49, 0.45);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

.btn-nav {
  text-transform: uppercase;
  font-size: 0.78rem;
  min-height: 42px;
  padding-inline: 1.1rem;
  color: var(--white);
}

.nav .btn-nav,
.nav .btn-primary {
  color: var(--white);
}

.nav .btn-nav:hover,
.nav .btn-primary:hover {
  color: var(--white);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1a2d4a, #0b1b32);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(11, 27, 50, 0.08);
  border-color: var(--border);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  width: 210px;
  max-width: min(210px, 42vw);
  height: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero — base + 2 variantes (header1 fullbleed / header2 split) */
.hero {
  background: var(--navy);
  color: var(--white);
}

.hero-split {
  padding-top: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-desc {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* header2 — imagem ao lado */
.hero-split .hero-media {
  position: relative;
}

.hero-split .hero-media::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 72px;
  height: 72px;
  background: var(--orange);
  border-radius: 8px;
  z-index: 0;
}

.hero-split .hero-media img,
.hero-split .hero-media .img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* header1 — banner 70vh com conteúdo na frente */
.hero-fullbleed {
  padding-top: 0;
}

.hero-fullbleed .hero-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  height: 70dvh;
  min-height: 70vh;
  min-height: 70dvh;
  overflow: hidden;
  background-color: var(--navy);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-fullbleed .hero-media,
.hero-fullbleed .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-fullbleed .hero-media img {
  object-fit: cover;
  object-position: center right;
}

.hero-fullbleed .hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(7, 18, 33, 0.92) 0%,
    rgba(7, 18, 33, 0.72) 42%,
    rgba(7, 18, 33, 0.28) 72%,
    rgba(7, 18, 33, 0.08) 100%
  );
}

.hero-fullbleed .hero-copy-inner {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 3rem 0;
}

.hero-fullbleed .eyebrow {
  color: var(--orange);
}

.hero-fullbleed h1 {
  max-width: 14ch;
}

.hero-fullbleed .hero-lead {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.95);
}

.hero-fullbleed .hero-desc {
  max-width: 38ch;
}

.hero-fullbleed .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-fullbleed .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.hero-fullbleed .hero-features {
  margin-top: 0;
}

.hero-features {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-deep);
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.6rem 0;
}

.hero-features article {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.feat-num {
  color: var(--orange);
  font-weight: 800;
  font-size: 1.1rem;
}

.hero-features h2 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-features p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Carousel serviços */
.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.service-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0 0 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 10px;
}

.service-card-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  margin-bottom: 1rem;
}

.service-card-media img,
.service-card-media .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-num {
  display: inline-block;
  margin: 0 1.1rem 0.35rem;
  color: var(--orange);
  font-weight: 800;
  font-size: 1.15rem;
}

.service-card h3 {
  margin: 0 1.1rem 0.45rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.service-card p {
  margin: 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.carousel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-arrows {
  display: flex;
  gap: 0.6rem;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
}

.carousel-dots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: #c9d2e0;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.is-active {
  background: var(--orange);
}

/* Segmentos */
.segmentos {
  background: var(--navy);
  color: var(--white);
}

.segmentos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.segmentos-media img,
.segmentos-media .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.segmentos-copy {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.segmentos-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.segmentos-copy > p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
}

.check-list i {
  color: var(--orange);
  margin-top: 0.2rem;
}

.check-list.dark li {
  color: var(--text);
}

/* Processo */
.processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.processo-grid li {
  border-top: 2px solid var(--orange);
  padding-top: 1.25rem;
}

.proc-num {
  display: block;
  color: var(--orange);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.processo-grid h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
}

.processo-grid p {
  margin: 0;
  color: var(--muted);
}

/* Diferenciais */
.diff-slide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.diff-slide[hidden] {
  display: none !important;
}

.diff-card {
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.diff-num {
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.diff-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.2;
}

.diff-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.diff-media img,
.diff-media .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.diff-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0.5rem;
}

.diff-tab {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.diff-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Cobertura */
.cobertura {
  background: var(--navy);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cobertura::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 140px;
  background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.cobertura-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cobertura-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
}

.cobertura-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.cobertura-media img,
.cobertura-media .img-placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid rgba(255, 255, 255, 0.9);
}

/* Contato */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.contato-regiao {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--navy);
}

.contato-regiao i {
  color: var(--orange);
}

.contato-actions {
  margin-top: 1.5rem;
}

.contato-aviso {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.contato-endereco {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #eef3f8;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contato-media img,
.contato-media .img-placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.contato-media .img-placeholder {
  display: grid;
  place-items: center;
  background: #e8eef5;
  color: var(--muted);
  font-weight: 600;
}

.form-cotacao {
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.form-cotacao h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.4rem;
}

.form-cotacao > p {
  margin: 0 0 0.4rem;
  color: var(--muted);
}

.form-cotacao label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-cotacao input,
.form-cotacao select,
.form-cotacao textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--text);
  background: #fbfcfe;
}

.form-cotacao input.is-invalid,
.form-cotacao select.is-invalid,
.form-cotacao textarea.is-invalid {
  border-color: #d64545;
}

.check-lgpd {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500 !important;
}

.check-lgpd input {
  width: auto;
  margin-top: 0.2rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

.form-feedback {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.92rem;
}

.form-feedback.is-success {
  color: #1f7a45;
}

.form-feedback.is-error {
  color: #c0392b;
}

.form-aviso {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-aviso strong,
.form-aviso {
  /* "Não agregamos veículos" emphasized via parent text from CMS */
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-question i {
  color: var(--orange);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.1rem;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 0.85rem;
}

.footer-tagline {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-aviso {
  margin-top: 1rem;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  z-index: 60;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

/* Responsive */
@media (max-width: 1100px) {
  .service-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
  .processo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .segmentos-grid,
  .diff-slide,
  .cobertura-grid,
  .contato-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .hero-features-grid {
    grid-template-columns: 1fr;
  }

  .hero-split .hero-media::before {
    display: none;
  }

  .hero-fullbleed .hero-banner {
    background-position: center center;
    min-height: 70vh;
    min-height: 70dvh;
  }

  .hero-fullbleed .hero-media img {
    object-position: center center;
  }

  .hero-fullbleed .hero-copy {
    background: linear-gradient(
      180deg,
      rgba(7, 18, 33, 0.78) 0%,
      rgba(7, 18, 33, 0.88) 55%,
      rgba(7, 18, 33, 0.94) 100%
    );
    align-items: flex-end;
  }

  .hero-fullbleed .hero-copy-inner {
    padding: 2.25rem 0 2.75rem;
  }

  .hero-fullbleed h1 {
    max-width: none;
  }

  .segmentos-media img,
  .segmentos-media .img-placeholder {
    min-height: 280px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav a {
    display: block;
    padding: 0.75rem 0.25rem;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .service-card {
    flex-basis: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .processo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
