/*
Theme Name: Wise Pirates
Theme URI:
Author: Wise Pirates
Author URI: https://wisepirates.com/
Description: Tailor-made by Wise Pirates
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --inter: 'Inter', Arial, sans-serif;
  --blue: #081A45;
  --light-blue: #4A5565;
  --grey: #6B6B6B;
  --bright-blue: #073984;
  --bg-blue: #041954;
  --border: #D1D5DC;
}

.legal-page {
  max-width: 1420px;
  margin: 120px auto;
  padding:  0 32px;
}

.site-header {
  position: relative;
  z-index: 1000;
}
.site-header__bar {
  background: #06205f;
}
.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.site-header__logo {
  display: inline-flex;
  flex-shrink: 0;
}
.site-header__logo img {
  display: block;
  width: 122px;
  height: auto;
}
.site-header__toggle {
  display: none;
}
.site-header__nav {
  flex: 1;
}
.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__menu > li {
  margin: 0;
  padding: 0;
}
.site-header__menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-header__chevron {
  font-size: 10px;
  line-height: 1;
  transform: translateY(-1px);
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #f7f7f8;
  padding: 28px 0 44px;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}
.site-header.is-mega-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-menu__filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.mega-menu__filter {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #e8e9ed;
  color: #182033;
  padding: 14px 22px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.mega-menu__filter:hover {
  transform: translateY(-1px);
}
.mega-menu__filter.is-active {
  background: #071126;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1420px;
}
.mega-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dcdee5;
  border-radius: 7px;
  overflow: hidden;
  color: #172033;
  text-decoration: none;
  /* aspect-ratio: 1 / 1; */
  min-height: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.mega-card:hover {
  transform: translateY(-3px);
  border-color: #c7cad3;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}
.mega-card.is-hidden {
  display: none;
}
.mega-card__title {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  color: #111827;
}
.mega-card__image {
  height: auto;
  min-height: 0;
  background: #eef0f3;
}
.mega-card__image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.mega-card__content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mega-card__subtitle {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.35;
}
.mega-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
}
.mega-card__footer span {
  font-size: 11px;
  line-height: 1.2;
}
.site-header .grid-container,
.site-header .h-container {
  max-width: 1420px;
}
header.site-header nav > ul li a.site-header__desktop-link .site-header__chevron {
  transform: rotate(180deg) translateY(1px);
  display: inline-block;
  transition: transform 0.2s ease-out;
}
header.site-header nav > ul li.is-active a.site-header__desktop-link .site-header__chevron {
  transform: rotate(0deg) translateY(0);
}

.rede-concessionarios-page {
  background: #f7f8fb;
  color: #071126;
  overflow: hidden;
}

.rede-concessionarios-page .grid-container,
.rede-concessionarios-page .h-container {
  max-width: 1420px;
}

.rede-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--inter)!important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.rede-btn:hover {
  transform: translateY(-1px);
}
.rede-btn--primary {
  width: 100%;
  min-height: 42px;
  background: #06205f;
  color: #fff;
  border-color: #06205f;
  border-radius: 10px;
}
.rede-btn--primary:hover {
  background: #071126;
  color: #fff;
}
.rede-btn--outline {
  background: #fff;
  color: #06205f;
  border-color: #06205f;
}
.rede-btn--outline:hover {
  background: #06205f;
  color: #fff;
}
.rede-btn--light {
  background: #fff;
  color: #06205f;
  border-color: #fff;
}
.rede-btn--light:hover {
  background: #eef2ff;
  color: #06205f;
}
.rede-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.rede-btn--outline-light:hover {
  background: #fff;
  color: #06205f;
}
.rede-hero {
  position: relative;
  min-height: 850px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.rede-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.rede-hero .grid-container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.rede-hero__content {
  max-width: 650px;
  padding: 0 0 72px;
}
.rede-hero__content h2 {
  margin: 0 0 14px;
  color: #fff!important;
  font-family: var(--inter)!important;
  font-size: 60px!important;
  line-height: 1!important;
  letter-spacing: 0.26px;
  font-weight: 600 !important;
}
.rede-hero__content p {
  margin: 0;
  color: #FFF;
  font-family: var(--inter)!important;
  font-size: 18px!important;
  line-height: 1.45!important;
}
.rede-locator {
  position: relative;
  padding: 28px 0 54px;
  background: #f7f8fb;
}
.rede-locator__toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.rede-locator__search {
  position: relative;
}
.rede-locator__search::before {
  content: "⌕";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b94a8;
  font-size: 32px;
  line-height: 1;
  pointer-events: none;
}
.rede-locator__search input {
  width: 100%;
  height: 42px;
  padding: 0 18px 0 40px!important;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: #071126;
  font-family: var(--inter)!important;
  margin: 0!important;
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.rede-locator__search input:focus {
  border-color: #06205f;
  box-shadow: 0 0 0 3px rgba(6, 32, 95, 0.08);
}
.rede-locator__search input::placeholder {
  color: #8b94a8!important;
  font-family: var(--inter)!important;
  font-size: 13px!important;
}
.rede-locator__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.rede-filter {
  appearance: none;
  border: 0;
  background: #eef1f6;
  color: #38445a;
  min-height: 34px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--inter)!important;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.rede-filter:hover {
  transform: translateY(-1px);
  background: #e3e8f2;
}
.rede-filter.is-active {
  background: #06205f;
  color: #fff;
}
.rede-locator__count {
  margin: 0 0 24px;
  color: #667085;
  font-family: var(--inter)!important;
  font-size: 13px;
  line-height: 1.4;
}
.rede-map-banner {
  position: relative;
  min-height: 540px;
  margin-bottom: 54px;
  border-radius: 18px;
  overflow: hidden;
  background-color: #edf3fb;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.rede-map-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(247, 250, 255, 0.98) 0%,
      rgba(247, 250, 255, 0.86) 36%,
      rgba(247, 250, 255, 0.2) 67%,
      rgba(247, 250, 255, 0) 100%
    );
  z-index: 1;
  pointer-events: none;
}
.rede-map-banner__content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 70px;
  transform: translateY(-50%);
  max-width: 390px;
}
.rede-map-banner__content img {
  display: block;
  width: 58px;
  height: auto;
  margin-bottom: 22px;
}
.rede-map-banner__content h2 {
  margin: 0 0 14px;
  color: var(--blue)!important;
  font-family: var(--inter)!important;
  font-size: 42px!important;
  line-height: 0.98!important;
  letter-spacing: -0.04em!important;
  font-weight: 600 !important;
}
.rede-map-banner__content p {
  margin: 0 0 26px;
  color: #243047;
  font-family: var(--inter)!important;
  font-size: 15px;
  line-height: 1.55;
}
#mapa-leaflet {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: transparent;
}
.rede-map-banner .leaflet-container {
  background: transparent;
  font-family: var(--inter)!important;
}
.rede-map-banner .leaflet-control-container {
  display: block;
}
.rede-map-banner .leaflet-control-zoom {
  border: 0!important;
  box-shadow: 0 10px 24px rgba(7, 17, 38, 0.12)!important;
}
.rede-map-banner .leaflet-control-zoom a {
  width: 36px!important;
  height: 36px!important;
  line-height: 36px!important;
  color: #06205f;
  border: 0;
}
.rede-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}
.rede-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  color: #071126;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.rede-card:hover,
.rede-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(6, 32, 95, 0.22);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}
.rede-card.is-hidden {
  display: none;
}
.rede-card h3 {
  margin: 0 0 12px;
  color: #071126;
  font-family: var(--inter)!important;
  font-size: 17px;
  line-height: 1.25;
}
.rede-card__line {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  column-gap: 9px;
  align-items: start;
  margin: 0 0 8px;
  color: #566176;
  font-family: var(--inter)!important;
  font-size: 13px;
  line-height: 1.42;
}
.rede-card__line > span:first-child {
  color: #06205f;
  opacity: 0.7;
  line-height: 1.2;
}
.rede-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.rede-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f0f3f8;
  color: #566176;
  font-family: var(--inter)!important;
  font-size: 11px;
  line-height: 1;
}
.rede-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
  margin-top: auto;
}
.rede-card__directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #dfe3ed;
  border-radius: 10px;
  background: #fff;
  color: #06205f;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.rede-help-cta {
  margin: 0 0 56px;
  padding: 34px 38px;
  border-radius: 14px;
  background: #06205f;
  color: #fff;
}
.rede-help-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}
.rede-help-cta h2 {
  margin: 0 0 8px;
  color: #fff!important;
  font-family: var(--inter)!important;
  font-size: 36px!important;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600!important;
}
.rede-help-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--inter)!important;
  font-size: 15px;
  line-height: 1.45;
}
.rede-help-cta__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rede-help-cta__actions .rede-btn {
  min-width: 210px;
  border-radius: 50px !important;
}
.rede-bottom-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: block;
  margin: 0;
}
.rede-bottom-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.48) 45%,
      rgba(0, 0, 0, 0.12) 100%
    );
  z-index: 1;
}
.rede-bottom-banner .grid-container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.rede-bottom-banner__content {
  max-width: 620px;
  padding: 72px 0;
}
.rede-bottom-banner__content h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--inter)!important;
  font-size: 50px!important;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600 !important;
}
.rede-bottom-banner__content p {
  margin: 0 0 28px;
  max-width: 580px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--inter)!important;
  font-size: 17px;
  line-height: 1.48;
}
.rede-card__distance {
  margin-top: 12px;
  margin-bottom: 14px;
  color: #06205f;
  font-family: var(--inter)!important;
  font-size: 13px;
  line-height: 1.2;
}

@media (max-width: 1280px) {
  .mega-menu__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-header__drawer-toggle,
  .site-header__drawer {
    display: none;
  }

  .site-header__desktop-link {
    display: inline-flex;
  }
}

@media (max-width: 1023px) {
  body.menu-is-open {
    overflow: hidden;
  }

  .site-header {
    position: relative;
    z-index: 3000;
  }

  .site-header__bar {
    position: relative;
    z-index: 3002;
  }

  .site-header__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .site-header__logo img {
    width: 118px;
  }

  .site-header__toggle {
    display: inline-flex;
    position: relative;
    z-index: 3004;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .site-header__toggle .hamburguer {
    position: relative;
    display: block;
    width: 26px;
    height: 18px;
  }

  .site-header__toggle .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      top 0.25s ease;
  }

  .site-header__toggle .bar-1 {
    top: 0;
  }

  .site-header__toggle .bar-2 {
    top: 8px;
  }

  .site-header__toggle .bar-3 {
    top: 16px;
  }

  .site-header.is-mobile-menu-open .site-header__toggle .bar-1 {
    top: 8px;
    transform: rotate(45deg);
  }

  .site-header.is-mobile-menu-open .site-header__toggle .bar-2 {
    opacity: 0;
  }

  .site-header.is-mobile-menu-open .site-header__toggle .bar-3 {
    top: 8px;
    transform: rotate(-45deg);
  }

  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3003;
    width: min(88vw, 420px);
    height: 100dvh;
    background: #06205f;
    padding: 96px 28px 32px;
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -24px 0 50px rgba(0, 0, 0, 0.22);
  }

  .site-header.is-mobile-menu-open .site-header__nav {
    transform: translateX(0);
  }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 3001;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  .site-header.is-mobile-menu-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .site-header__menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-header__menu > li > a,
  .site-header__drawer-toggle {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.03em;
    cursor: pointer;
  }

  .site-header__desktop-link {
    display: none !important;
  }

  .site-header__drawer-toggle .site-header__chevron {
    transition: transform 0.25s ease;
  }

  .menu-item-modelos.is-drawer-open .site-header__drawer-toggle .site-header__chevron {
    transform: rotate(180deg);
  }

 .site-header__drawer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
    transition:
      max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  .menu-item-modelos.is-drawer-open .site-header__drawer {
    max-height: 420px; /* adjust if needed */
    opacity: 1;
    visibility: visible;
  }

  .site-header__drawer > li {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .site-header__drawer > li:first-child {
    padding-top: 6px;
  }

  .site-header__drawer > li:last-child {
    padding-bottom: 18px;
  }

  .site-header__drawer > li:first-child {
    padding-top: 4px;
  }

  .site-header__drawer > li:last-child {
    padding-bottom: 18px;
  }

  .site-header__drawer a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 0 0 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
  }

  .site-header__drawer a:hover {
    color: #fff;
  }

  .mega-menu {
    display: none !important;
  }
  body.menu-is-open {
    overflow: hidden;
  }

  header.site-header,
  header.float-version.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #06205f;
    z-index: 3000;
  }

  .site-header .grid-container,
  .site-header .h-container {
    width: 100%;
    max-width: none;
    padding-left: 28px;
    padding-right: 28px;
  }

  .site-header__bar,
  header .header.site-header__bar {
    position: relative;
    z-index: 3004;
    background: #06205f;
  }

  .site-header__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  header .header .site-header__logo,
  .site-header__logo {
    display: inline-flex;
    float: none;
    width: auto;
    flex-shrink: 0;
  }

  header .header .site-header__logo img,
  .site-header__logo img {
    display: block;
    width: 120px;
    height: auto;
    max-width: 100%;
  }

  .site-header__toggle {
    display: inline-flex !important;
    position: relative;
    z-index: 3006;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    margin: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .site-header__toggle .hamburguer {
    position: relative;
    display: block;
    width: 28px;
    height: 20px;
  }

  .site-header__toggle .bar {
    position: absolute;
    left: 0;
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition:
      top 0.25s ease,
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .site-header__toggle .bar-1 {
    top: 0;
  }

  .site-header__toggle .bar-2 {
    top: 9px;
  }

  .site-header__toggle .bar-3 {
    top: 18px;
  }

  .site-header.is-mobile-menu-open .site-header__toggle .bar-1 {
    top: 9px;
    transform: rotate(45deg);
  }

  .site-header.is-mobile-menu-open .site-header__toggle .bar-2 {
    opacity: 0;
  }

  .site-header.is-mobile-menu-open .site-header__toggle .bar-3 {
    top: 9px;
    transform: rotate(-45deg);
  }

  header .header nav.site-header__nav,
  .site-header__nav {
    float: none;
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3005;
    width: min(88vw, 430px);
    height: 100dvh;
    background: #06205f;
    padding: 104px 28px 36px;
    text-align: left;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -24px 0 50px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header.is-mobile-menu-open .site-header__nav {
    transform: translateX(0);
  }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 3003;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  .site-header.is-mobile-menu-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  header .header nav.site-header__nav > ul,
  .site-header__menu {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  header .header nav.site-header__nav > ul > li,
  .site-header__menu > li {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  header .header nav.site-header__nav > ul > li > a,
  .site-header__menu > li > a,
  .site-header__drawer-toggle {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: 'FotonTypeBB', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
  }

  header .header nav.site-header__nav > ul > li > a::after,
  .site-header__menu > li > a::after,
  .site-header__drawer-toggle::after {
    display: none;
    content: none;
  }

  .site-header__desktop-link {
    display: none !important;
  }

  .site-header__drawer-toggle .site-header__chevron {
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  .menu-item-modelos.is-drawer-open .site-header__drawer-toggle .site-header__chevron {
    transform: rotate(180deg);
  }

  .site-header__drawer {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .menu-item-modelos.is-drawer-open .site-header__drawer {
    grid-template-rows: 1fr;
  }

  .site-header__drawer > li {
    overflow: hidden;
    border: 0;
  }

  .site-header__drawer > li:first-child {
    padding-top: 6px;
  }

  .site-header__drawer > li:last-child {
    padding-bottom: 18px;
  }

  header .header nav.site-header__nav .site-header__drawer a,
  .site-header__drawer a {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 0 16px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'FotonTypeB', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  header .header nav.site-header__nav .site-header__drawer a::after {
    display: none;
    content: none;
  }

  .mega-menu {
    display: none !important;
  }

  .collapse-menu-holder {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .site-header__inner {
    min-height: 78px;
  }

  .site-header__nav {
    width: min(70vw, 460px);
    padding-left: 34px;
    padding-right: 34px;
  }

  header .header nav.site-header__nav > ul,
  .site-header__menu {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  header .header nav.site-header__nav > ul > li,
  .site-header__menu > li {
    width: 100% !important;
  }

  header .header nav.site-header__nav > ul > li > a,
  .site-header__menu > li > a,
  .site-header__drawer-toggle {
    justify-content: space-between !important;
    text-align: left !important;
  }
}

@media (max-width: 900px) {
  .mega-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .site-header .grid-container,
  .site-header .h-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header__nav {
    width: 100vw;
    padding: 104px 28px 36px;
  }

  .site-header__menu > li > a,
  .site-header__drawer-toggle {
    min-height: 58px;
    justify-content: space-between;
    text-align: left;
  }

  .site-header__drawer a {
    min-height: 42px;
    padding-left: 18px;
  }
}

/* ========================================================= */
/* REDE DE CONCESSIONÁRIOS - MOBILE/TABLET */
/* ========================================================= */

@media only screen and (max-width: 1023px) {
  .rede-concessionarios-page {
    background: #f7f8fb;
  }

  .rede-concessionarios-page .grid-container,
  .rede-concessionarios-page .h-container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }

  .rede-hero {
    min-height: 550px;
    align-items: flex-end;
    background-position: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .rede-hero__content {
    max-width: 100%;
    padding: 104px 0 0 0;
  }

  .rede-hero__content h2 {
    max-width: 290px;
    margin-bottom: 8px;
    font-size: 33px !important;
    line-height: 0.95 !important;
    letter-spacing: -0.03em;
  }

  .rede-hero__content p {
    max-width: 260px;
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  .rede-locator {
    padding: 16px 0 28px;
  }

  .rede-locator__toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 8px;
  }

  .rede-locator__search {
    width: 100%;
  }

  .rede-locator__search::before {
    left: 13px;
    font-size: 20px;
  }

  .rede-locator__search input {
    height: 38px;
    padding-left: 34px !important;
    border-radius: 7px;
    font-size: 11px !important;
  }

  .rede-locator__search input::placeholder {
    font-size: 11px !important;
  }

  .rede-locator__filters {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-right: -16px;
    scrollbar-width: none;
  }

  .rede-locator__filters::-webkit-scrollbar {
    display: none;
  }

  .rede-filter {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 7px 12px;
    font-size: 10px;
  }

  .rede-locator__count {
    margin: 0 0 16px;
    font-size: 10px;
    line-height: 1.3;
  }

  .rede-map-banner {
    min-height: 0;
    height: auto;
    margin-bottom: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    background-position: center;
  }

  .rede-map-banner::before {
    background:
      linear-gradient(
        180deg,
        rgba(247, 250, 255, 0.98) 0%,
        rgba(247, 250, 255, 0.96) 38%,
        rgba(247, 250, 255, 0.5) 100%
      );
  }

  .rede-map-banner__content {
    position: relative;
    z-index: 4;
    top: auto;
    left: auto;
    transform: none;
    max-width: none;
    padding: 36px 24px 16px;
  }

  .rede-map-banner__content img {
    width: 44px;
    margin-bottom: 16px;
  }

  .rede-map-banner__content h2 {
    max-width: 260px;
    margin-bottom: 10px;
    font-size: 28px !important;
    line-height: 0.98 !important;
    letter-spacing: -0.04em !important;
  }

  .rede-map-banner__content p {
    max-width: 260px;
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.45;
  }

  .rede-map-banner__content .rede-btn {
    min-height: 36px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    width: 100%;
  }

  #mapa-leaflet {
    position: relative;
    inset: auto;
    width: 100%;
    height: 300px;
    min-height: 300px;
    z-index: 2;
  }

  .rede-map-banner .leaflet-control-zoom {
    margin-top: 12px !important;
    margin-right: 12px !important;
  }

  .rede-map-banner .leaflet-control-zoom a {
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    font-size: 16px;
  }

  .rede-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .rede-card {
    min-height: 0;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  }

  .rede-card:hover,
  .rede-card.is-active {
    transform: none;
  }

  .rede-card h3 {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.25;
  }

  .rede-card__line {
    grid-template-columns: 14px minmax(0, 1fr);
    column-gap: 8px;
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.35;
  }

  .rede-card__line img {
    width: 12px;
    height: 12px;
  }

  .rede-card__tags {
    gap: 5px;
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .rede-card__tags span {
    min-height: 18px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .rede-card__actions {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .rede-card__actions .rede-btn {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 10px;
  }

  .rede-card__directions {
    min-height: 34px;
    border-radius: 6px;
  }

  .rede-card__directions img {
    width: 14px;
    height: 14px;
  }

  .rede-help-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin: 0 0 28px;
    padding: 24px 20px;
    border-radius: 8px;
  }

  .rede-help-cta h2 {
    margin-bottom: 8px;
    font-size: 23px !important;
    line-height: 1.05 !important;
  }

  .rede-help-cta p {
    font-size: 11px;
    line-height: 1.45;
  }

  .rede-help-cta__actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .rede-help-cta__actions .rede-btn {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 10px 16px;
    font-size: 11px;
  }

  .rede-bottom-banner {
    min-height: 330px;
    background-position: center;
  }

  .rede-bottom-banner::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.58) 58%,
        rgba(0, 0, 0, 0.82) 100%
      );
  }

  .rede-bottom-banner__content {
    max-width: 100%;
    padding: 170px 0 28px;
  }

  .rede-bottom-banner__content h2 {
    max-width: 300px;
    margin-bottom: 10px;
    font-size: 26px !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em;
  }

  .rede-bottom-banner__content p {
    max-width: 300px;
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.45;
  }

  .rede-bottom-banner__content .rede-btn {
    min-height: 36px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 10px;
  }
}
@media only screen and (max-width: 480px) {
  .rede-concessionarios-page .grid-container,
  .rede-concessionarios-page .h-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rede-hero {
    min-height: 550px;
    background-position: left;
  }

  .rede-hero__content h2 {
    font-size: 34px !important;
    line-height: 1.2!important;
  }

  .rede-locator {
    padding-top: 12px;
  }

  .rede-map-banner__content {
    padding: 32px 20px 14px;
  }

  .rede-map-banner__content h2 {
    font-size: 24px !important;
    max-width: unset;
  }

  #mapa-leaflet {
    height: 250px;
    min-height: 250px;
  }

  .rede-card {
    padding: 14px;
  }

  .rede-help-cta {
    padding: 22px 18px;
  }

  .rede-bottom-banner {
    min-height: 300px;
  }

  .rede-bottom-banner__content {
    padding-top: 155px;
  }

  .rede-bottom-banner__content h2 {
    font-size: 22px !important;
  }
}

/* EVENTOS */
.desktop-only {
  display: inherit;
}
.mobile-only {
  display: none!important;
}

@media only screen and (max-width: 768px) {
  .desktop-only {
    display: none!important;
  }
  .mobile-only {
    display: block!important;
  }
}
#eventos-banner {
  width: 100%;
  display: block;
}
#eventos-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

#eventos-formulario {
  max-width: 1024px;
  margin: 80px auto 120px;
  background-color: var(--bg-blue);
  border-radius: 36px;
  padding: 48px 32px;
  display: block;
}
#eventos-formulario h2 {
  color: #FFF;
  font-size: 44px;
  line-height: 1.2;
  text-align: center;
  font-family: 'FotonTypeB', sans-serif;
  letter-spacing: -3%;
  margin: 0 0 48px;
}
#eventos-formulario .gform_heading {
  display: none;
}
#eventos-formulario form .gfield_label.gform-field-label,
#eventos-formulario form .gfield_consent_label {
  font-size: 16px;
  line-height: 1.3;
  color: #FFF;
  font-family: 'FotonTypeB', sans-serif;
  margin-bottom: 8px;
  gap: 2px;
  letter-spacing: -2%;
}
#eventos-formulario form .gfield_required_asterisk {
  color: #FFF;
  font-size: 16px;
  font-family: 'FotonTypeB', sans-serif;
}
#eventos-formulario form .gfield_description {
  color: #FFF;
  font-size: 12px;
}
#eventos-formulario form input[type="text"],
#eventos-formulario form input[type="email"],
#eventos-formulario form input[type="tel"],
#eventos-formulario form select,
#eventos-formulario form textarea {
  border-radius: 12px;
  border: none;
}
#eventos-formulario form input[type="text"]::placeholder,
#eventos-formulario form input[type="email"]::placeholder,
#eventos-formulario form input[type="tel"]::placeholder,
#eventos-formulario form select::placeholder,
#eventos-formulario form textarea::placeholder {
  opacity: 0.4;
  font-size: 14px;
  font-family: 'FotonTypeB', sans-serif;
  line-height: 1.2;
}
#eventos-formulario form input[type="submit"] {
  font-size: 18px;
  color: #000;
  background: #FFF;
  font-family: 'FotonTypeB', sans-serif;
  border-radius: 16px;
  font-weight: 700;
  padding: 16px 48px;
}