:root {
  /* Marca: azul escuro + destaque âmbar (contraste e CTAs legíveis) */
  --ch-navy: #0a2342;
  --ch-navy-2: #0f3460;
  --ch-navy-3: #3d5573;
  --ch-gold: #e8a317;
  --ch-gold-dark: #c48a0f;
  /* Vermelho da marca (faixa / detalhe, sem degradê) */
  --ch-brand-red: #b3051d;
  --ch-accent: #0a2342;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Bootstrap alinhado à marca (evita azul/ciano padrão misturado) */
  --bs-primary: #0a2342;
  --bs-primary-rgb: 10, 35, 66;
  --bs-primary-text-emphasis: #061528;
  --bs-primary-bg-subtle: #e9edf3;
  --bs-primary-border-subtle: #c5cedc;

  --bs-link-color: var(--ch-navy-2);
  --bs-link-hover-color: var(--ch-navy);

  /* Sem cantos arredondados (Bootstrap e utilitários) */
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-border-radius-xxl: 0;
  --bs-border-radius-2xl: 0;
  --bs-border-radius-pill: 0;

  --site-header-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-card,
  .about-pillar {
    transition: none;
  }

  .service-card:hover,
  .about-pillar:hover {
    transform: none;
  }
}

body {
  font-family: var(--font-sans);
  color: #1b1f24;
  padding-top: var(--site-header-height);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  background-color: var(--bs-body-bg);
}

.site-header .navbar {
  --bs-navbar-padding-y: 0.65rem;
  border-bottom: 1px solid rgba(10, 35, 66, 0.1) !important;
}

/* Portal do Cliente — CTA discreto (sem “caixa” pesada) */
.portal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ch-navy);
  background-color: transparent;
  border: 1px solid rgba(10, 35, 66, 0.35);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.portal-cta:hover {
  color: #fff;
  background-color: var(--ch-navy);
  border-color: var(--ch-navy);
}

.portal-cta:focus-visible {
  color: #fff;
  background-color: var(--ch-navy);
  border-color: var(--ch-navy);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.45);
}

.nav-item-portal .portal-cta {
  width: 100%;
}

@media (min-width: 992px) {
  .nav-item-portal .portal-cta {
    width: auto;
  }
}

/* Menu mobile: painel próprio (fora do Bootstrap collapse) */
.mobile-menu {
  display: none;
}

@media (max-width: 991.98px) {
  .site-header--nav-mobile.is-menu-open {
    z-index: 1060;
  }

  .site-header--nav-mobile .navbar > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
  }

  .site-header--nav-mobile .navbar-brand {
    position: relative;
    z-index: 2;
    margin-right: 0;
  }

  .site-header--nav-mobile .navbar-toggler,
  .site-header--nav-mobile #btn-menu-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    margin-left: auto;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(10, 35, 66, 0.35);
    background-color: var(--bs-body-bg);
  }

  .site-header--nav-mobile.is-menu-open .navbar-toggler {
    border-color: rgba(10, 35, 66, 0.45);
    box-shadow: 0 2px 8px rgba(10, 35, 66, 0.12);
  }

  /* Esconde o collapse do Bootstrap no celular */
  .site-header--nav-mobile #menuPrincipal {
    display: none !important;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    z-index: 1040;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:
      max(1.5rem, env(safe-area-inset-top, 0px))
      1.75rem
      max(1.5rem, env(safe-area-inset-bottom, 0px));
    background-color: var(--bs-body-bg);
    box-sizing: border-box;
    overflow-y: auto;
    pointer-events: none;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      transform 0.36s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.36s;
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
    transition:
      transform 0.36s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0s;
  }

  .mobile-menu.is-closing {
    pointer-events: none;
    visibility: visible;
    transform: translateX(100%);
    transition:
      transform 0.36s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.36s;
  }

  .mobile-menu__nav {
    width: 100%;
    max-width: 20rem;
  }

  .mobile-menu__list {
    width: 100%;
    text-align: center;
  }

  .mobile-menu__list > li + li {
    border-top: 1px solid rgba(10, 35, 66, 0.1);
  }

  .mobile-menu__link {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ch-navy);
    text-decoration: none;
  }

  .mobile-menu__link:hover,
  .mobile-menu__link:focus-visible {
    color: var(--ch-navy-2);
  }

  .mobile-menu__link.active {
    font-weight: 600;
    color: var(--bs-primary);
  }

  .mobile-menu__portal {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(10, 35, 66, 0.12) !important;
    display: flex;
    justify-content: center;
  }

  .mobile-menu__portal .portal-cta {
    width: 100%;
    max-width: 20rem;
    padding-block: 1rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 992px) {
  .site-header--nav-mobile .navbar-collapse {
    position: static;
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    min-height: 0;
    height: auto !important;
    padding: 0;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    overflow: visible;
  }

  .site-header--nav-mobile .navbar-collapse .navbar-nav {
    max-width: none;
    text-align: inherit;
  }

  .site-header--nav-mobile .navbar-collapse .nav-link {
    display: inline-block;
    width: auto;
    padding: 0.5rem 0.75rem;
    font-size: inherit;
    font-weight: inherit;
    text-align: inherit;
    border-bottom: 0;
  }

  .site-header--nav-mobile .navbar-collapse .nav-item-portal {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    display: list-item;
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (max-width: 991.98px) {
    .mobile-menu,
    .mobile-menu.is-open,
    .mobile-menu.is-closing {
      transition: none;
    }
  }
}

/* Garantir zero arredondamento em tudo (classes utilitárias e exceções do BS) */
.rounded,
.rounded-top,
.rounded-end,
.rounded-bottom,
.rounded-start,
.rounded-circle,
.rounded-pill,
[class*="rounded-"] {
  border-radius: 0 !important;
}

.btn,
.card,
.card-img-top,
.accordion-item,
.accordion-button,
.accordion-button:not(.collapsed),
.form-control,
.form-select,
.navbar-toggler,
.badge,
.dropdown-menu,
.modal-content,
.list-group-item,
.nav-tabs .nav-link,
.toast,
.alert,
.popover,
.tooltip .tooltip-inner {
  border-radius: 0 !important;
}

.tracking-wide {
  letter-spacing: 0.12em;
}

.py-lg-6 {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

.hero {
  position: relative;
  background-color: var(--ch-navy);
  isolation: isolate;
  min-height: 520px;
}

@media (min-width: 992px) {
  .hero {
    min-height: 600px;
  }
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 40rem;
}

.hero-lead-muted {
  color: rgba(255, 255, 255, 0.82) !important;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-photo__real,
.hero-photo__sketch {
  --hero-photo-position: center center;
}

.hero-photo__real {
  position: absolute;
  inset: 0;
  background-image: url("../img/posto_caminhoneiro.png");
  background-size: cover;
  background-position: var(--hero-photo-position);
  background-repeat: no-repeat;
}

.hero-photo__sketch {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../img/2background-caminhoneiro.png");
  background-size: cover;
  background-position: var(--hero-photo-position);
  background-repeat: no-repeat;
  --hero-reveal: -12%;
  -webkit-mask-image: linear-gradient(
    135deg,
    transparent 0%,
    transparent calc(var(--hero-reveal) - 8%),
    #000 calc(var(--hero-reveal) + 10%),
    #000 100%
  );
  mask-image: linear-gradient(
    135deg,
    transparent 0%,
    transparent calc(var(--hero-reveal) - 8%),
    #000 calc(var(--hero-reveal) + 10%),
    #000 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  opacity: 1;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.hero-photo.is-fading .hero-photo__sketch {
  opacity: 0;
}

.hero-photo.is-revealed .hero-photo__sketch {
  opacity: 0;
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo__sketch {
    display: none !important;
  }

  .hero-photo.is-fading .hero-photo__sketch,
  .hero-photo.is-revealed .hero-photo__sketch {
    transition: none;
  }
}

.btn-custom {
  min-width: 160px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Herói: azul do banner (mais fechado que o primary “claro” do BS no hover) */
.btn-hero-navy {
  --bs-btn-color: #fff;
  --bs-btn-bg: #07162b;
  --bs-btn-border-color: #07162b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #050f1f;
  --bs-btn-hover-border-color: #050f1f;
  --bs-btn-focus-shadow-rgb: 7, 22, 43;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #050f1f;
  --bs-btn-active-border-color: #050f1f;
  font-weight: 600;
  border-width: 1px;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.25);
}

.btn-hero-navy:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.3);
}

/* Herói — Serviços: fundo branco suave, texto azul da marca */
.hero .btn.btn-hero-services {
  color: var(--ch-navy) !important;
  background-color: rgba(236, 240, 245, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  font-weight: 600;
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.18);
}

.hero .btn.btn-hero-services:hover,
.hero .btn.btn-hero-services:focus-visible {
  color: #050f1f !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.hero .btn.btn-hero-services:active {
  color: #050f1f !important;
  background-color: rgba(255, 255, 255, 0.88) !important;
}

.hero .btn.btn-hero-services:focus-visible {
  outline: 0;
  box-shadow:
    0 0.25rem 0.85rem rgba(0, 0, 0, 0.18),
    0 0 0 3px rgba(255, 255, 255, 0.45);
}

.btn-warning {
  --bs-btn-color: #1a1a1a;
  --bs-btn-bg: var(--ch-gold);
  --bs-btn-border-color: var(--ch-gold-dark);
  --bs-btn-hover-color: #101010;
  --bs-btn-hover-bg: var(--ch-gold-dark);
  --bs-btn-hover-border-color: #a67408;
  --bs-btn-focus-shadow-rgb: 232, 163, 23;
  --bs-btn-active-color: #101010;
  --bs-btn-active-bg: var(--ch-gold-dark);
  --bs-btn-active-border-color: #a67408;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.12);
  --bs-btn-disabled-color: rgba(26, 26, 26, 0.55);
  --bs-btn-disabled-bg: #c5cedc;
  --bs-btn-disabled-border-color: #c5cedc;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(7, 22, 43, 0.94) 0%,
    rgba(10, 35, 66, 0.78) 42%,
    rgba(10, 35, 66, 0.48) 68%,
    rgba(15, 52, 96, 0.32) 100%
  );
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  background-image: radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.12) 0, transparent 42%),
    radial-gradient(circle at 92% 40%, rgba(255, 255, 255, 0.06) 0, transparent 38%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* Painel lateral do herói: vidro escuro + sombra (foto aparece por trás) */
.hero-side-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 22, 43, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1.5rem 3rem rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-side-panel__inner {
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .hero-side-panel__inner {
    padding: 2rem;
  }
}

.hero-side-panel__label {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.16em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-side-panel__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-side-panel__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 28rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-side-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  justify-items: center;
  text-align: center;
}

.hero-side-panel__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  max-width: 9.5rem;
}

.hero-side-panel__stat--highlight {
  max-width: 11rem;
}

.hero-side-panel__stat--highlight .hero-side-panel__stat-label {
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.hero-side-panel__stat-value {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-side-panel__stat-value--symbol {
  color: var(--ch-gold);
}

.hero-side-panel__stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  text-wrap: balance;
}

@media (max-width: 575.98px) {
  .hero-side-panel__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: stretch;
    text-align: left;
  }

  .hero-side-panel__stat,
  .hero-side-panel__stat--highlight {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    max-width: none;
    width: 100%;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
  }

  .hero-side-panel__stat-label {
    text-align: left;
    flex: 1;
    min-width: 0;
  }

  .hero-side-panel__stat:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* Texto editorial abaixo dos pilares — hierarquia forte */
.sobre-intro__title {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ch-navy);
  max-width: 52rem;
  text-wrap: balance;
}

/* Sobre — pilares primeiro; faixa superior: uma cor sólida por card (preto / âmbar / vermelho) */
.about-pillars {
  margin-top: 0;
}

.about-pillar {
  --about-pillar-bar: #141414;
  position: relative;
  padding: 2rem 1.75rem;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(10, 35, 66, 0.1);
  box-shadow: 0 0.4rem 1.25rem rgba(10, 35, 66, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--about-pillar-bar);
}

.about-pillar--ink {
  --about-pillar-bar: #141414;
}

.about-pillar--gold {
  --about-pillar-bar: var(--ch-gold);
}

.about-pillar--red {
  --about-pillar-bar: var(--ch-brand-red);
}

.about-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.25rem rgba(10, 35, 66, 0.12);
  border-color: rgba(10, 35, 66, 0.16);
}

.about-pillar__eyebrow {
  color: var(--ch-navy-2);
  letter-spacing: 0.14em;
}

.hero-logo {
  max-width: min(280px, 72vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.navbar-brand-logo {
  height: 44px;
  width: auto;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.95;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(10, 35, 66, 0.12) !important;
}

.icon-tile {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.site-footer {
  background: linear-gradient(180deg, #07162b 0%, var(--ch-navy) 100%);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.skip-link {
  z-index: 2000;
}

.navbar .nav-link.active {
  font-weight: 600;
  color: var(--bs-primary);
}

/* Títulos em fundo claro: azul da marca (âmbar reservado a destaques no escuro) */
.text-accent {
  color: var(--ch-navy-2) !important;
}

/* Enviar mensagem — mesmo azul do CTA “Localização” no banner */
#form-contato button.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #fff;
  background-color: #07162b;
  border: 1px solid #07162b;
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.18);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#form-contato button.btn-submit-contact:hover {
  color: #fff;
  background-color: #050f1f;
  border-color: #050f1f;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.22);
}

#form-contato button.btn-submit-contact:active {
  color: #fff;
  background-color: #040a16;
  border-color: #040a16;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

#form-contato button.btn-submit-contact:focus-visible {
  outline: 0;
  color: #fff;
  border-color: #07162b;
  box-shadow:
    0 0.25rem 0.85rem rgba(0, 0, 0, 0.18),
    0 0 0 3px rgba(232, 163, 23, 0.45);
}


