@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&display=swap');

:root {
  --color-dark: #0b0b0b;
  --color-red: #ff0201;
  --color-white: #ffffff;
  --color-gray-light: #efefef;
  --color-input-bg: #f6f6f6;
  --color-text: #0b0b0b;
  --font-family: 'Sora', sans-serif;
  --container-width: 1170px;
  --radius-btn: 24px;
  --radius-card: 32px;
  --radius-contact-img: 48px;
  --btn-height: 50px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-white);
  background-color: var(--color-dark);
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: var(--font-family);
  font-size: 16px;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* ==================== HEADER ==================== */
.site-header {
  background: var(--color-dark);
  padding: 32px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Botão WhatsApp fixo — canto inferior direito */
.whatsapp-float {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  right: calc(22px + env(safe-area-inset-right, 0px));
  top: auto;
  left: auto;
  z-index: 1002;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.whatsapp-float-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: whatsapp-float-breathe 2.2s ease-in-out infinite;
}

.whatsapp-float-inner img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: whatsapp-float-ring 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsapp-float-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes whatsapp-float-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float-inner,
  .whatsapp-float::after {
    animation: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  width: 260px;
  height: 27px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-nav a {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-white);
  transition: color 0.3s ease;
}

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

.header-nav a.active {
  color: var(--color-red);
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 800;
  font-size: 16px;
  height: var(--btn-height);
  padding: 15px 16px;
  border-radius: var(--radius-btn);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Texto sempre branco (evita .header-nav a:hover com cor vermelha no fundo vermelho) */
.btn-whatsapp-header,
.btn-whatsapp-header:hover,
.btn-whatsapp-header:focus,
.btn-whatsapp-header:focus-visible,
.header-nav a.btn-whatsapp-header:hover,
.header-nav a.btn-whatsapp-header:focus {
  color: var(--color-white);
}

.btn-whatsapp-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 2, 1, 0.4);
  background: #e60201;
}

.btn-whatsapp-header .btn-whatsapp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
}

/* Bloco extra do menu: só aparece no overlay mobile (controlado no @media 768px) */
.header-nav-extra {
  display: none;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 800;
  font-size: 16px;
  height: var(--btn-height);
  padding: 15px 16px;
  border-radius: var(--radius-btn);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 2, 1, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-white);
  font-weight: 800;
  font-size: 16px;
  height: var(--btn-height);
  padding: 15px 16px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-outline svg {
  width: 12px;
  height: 12px;
}

.btn-primary svg {
  width: 12px;
  height: 12px;
}

.btn-primary.btn-about-rk {
  width: 236px;
  justify-content: center;
}

/* ==================== VEHICLE CARD LINK ==================== */
a.vehicle-card {
  color: inherit;
  text-decoration: none;
}

/* ==================== ABOUT BADGE GAP ==================== */
.about-content > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==================== HERO ==================== */
.hero-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(11, 11, 11, 0.45) 0%, rgba(11, 11, 11, 0.65) 100%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-content h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.4;
  max-width: 613px;
}

.hero-content h1 span {
  color: var(--color-red);
}

.hero-subtitle {
  font-size: 20px;
  margin-top: 20px;
  max-width: 648px;
}

.hero-subtitle strong {
  font-weight: 700;
}

/* ==================== VEHICLE CARDS ==================== */
.vehicles-section {
  background: var(--color-dark);
  padding: 100px 0;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 15px;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  transition: transform 0.3s ease;
}

.vehicle-card:hover {
  transform: translateY(-8px);
}

.vehicle-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #1a1a1a;
}

.vehicle-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card-image img {
  transform: scale(1.05);
}

.vehicle-card-info {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  width: 100%;
}

.vehicle-card-name {
  font-weight: 700;
  font-size: 22px;
  color: var(--color-white);
}

.vehicle-card-year {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-red);
}

.vehicle-card-price {
  font-weight: 800;
  font-size: 24px;
  color: var(--color-white);
}

.vehicles-section .btn-outline {
  margin-top: 50px;
}

.vehicles-actions {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  background: var(--color-red);
  padding: 60px 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-number {
  display: inline-block;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 62px;
  color: var(--color-white);
  line-height: 1.4;
  text-align: right;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

/* Largura fixa para a animação não empurrar o texto ao lado (+15 / +1000) */
.stat-number--w-sm {
  min-width: 3.25ch;
}

.stat-number--w-lg {
  min-width: 5.25ch;
}

.stat-text {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-white);
  line-height: 1.4;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
  background: var(--color-white);
  padding: 100px 0;
  color: var(--color-text);
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: var(--color-gray-light);
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-dark);
  width: fit-content;
}

.about-title {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.4;
  color: var(--color-dark);
}

.about-text {
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-dark);
  max-width: 570px;
}

.about-text p + p {
  margin-top: 16px;
}

.about-image {
  width: 570px;
  height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== MAP SECTION ==================== */
.map-section {
  width: 100%;
  height: 328px;
  background: var(--color-white);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--color-dark);
  padding: 80px 0 60px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 80px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-nav a {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-white);
  transition: color 0.3s ease;
}

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

.footer-nav-separator {
  color: var(--color-red);
  font-weight: 800;
  font-size: 16px;
  margin: 0 20px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 50px;
}

.footer-logo img {
  width: 150px;
  height: 89px;
  object-fit: contain;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-contact-item .footer-whats-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.footer-contact-item .contact-text {
  font-weight: 700;
  font-size: 16px;
}

a.footer-contact-wa {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

a.footer-contact-wa:hover .contact-text,
a.footer-contact-wa:focus-visible .contact-text {
  color: var(--color-red);
}

a.footer-contact-wa:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
}

.footer-address-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-address-item svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-address-item .address-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: flex-start;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social span {
  font-weight: 400;
  font-size: 16px;
}

.footer-social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-social-icon:hover {
  transform: scale(1.1);
}

.footer-social-icon.instagram {
  background: var(--color-white);
}

.footer-social-icon.instagram svg {
  width: 21px;
  height: 21px;
}

.footer-social-icon.facebook svg {
  width: 34px;
  height: 34px;
}

.footer-copyright {
  text-align: center;
  margin-top: 80px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
  background: var(--color-dark);
  padding: 60px 0 100px;
}

.contact-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-form-wrapper {
  width: 570px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: var(--color-red);
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-white);
  width: fit-content;
}

.contact-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 16px;
  line-height: 1.4;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 14px 21px;
  font-size: 15px;
  color: var(--color-dark);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-dark);
  opacity: 0.6;
}

.contact-form textarea {
  height: 130px;
  resize: vertical;
}

.contact-form .btn-outline {
  width: 190px;
  justify-content: center;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1px solid var(--color-white);
  border-radius: 3px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-top: 3px;
  flex-shrink: 0;
  padding: 10px 10px;
}

.contact-checkbox input[type="checkbox"]:checked {
  background: var(--color-red);
  border-color: var(--color-red);
}

.contact-checkbox label {
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-image {
  width: 500px;
  height: 333px;
  border-radius: var(--radius-contact-img);
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.contact-detail-item svg,
.contact-detail-item .contact-detail-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}

.contact-detail-item.align-top {
  align-items: flex-start;
}

.contact-detail-item.align-top svg {
  margin-top: 2px;
}

.contact-detail-text {
  font-size: 16px;
  line-height: 1.4;
}

.contact-detail-text strong {
  font-weight: 700;
}

a.contact-detail-wa {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

a.contact-detail-wa:hover .contact-detail-text strong,
a.contact-detail-wa:focus-visible .contact-detail-text strong {
  color: var(--color-red);
}

a.contact-detail-wa:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
}

/* ==================== STOCK PAGE ==================== */
.stock-section {
  background: var(--color-dark);
  padding: 40px 0 100px;
}

.stock-header {
  margin-bottom: 40px;
}

.stock-title {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 8px;
}

.stock-subtitle {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
}

.stock-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.stock-filters select {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 600;
  min-width: 160px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b0b0b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.stock-filters .btn-search {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--color-white);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.stock-filters .btn-search:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 15px;
}

.stock-loading,
.stock-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  font-size: 18px;
  opacity: 0.7;
}

/* ==================== VEHICLE DETAIL PAGE ==================== */
.veiculo-gallery-section {
  background: var(--color-dark);
  padding: 60px 0 0;
}

.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.gallery-images .gallery-slide {
  height: 400px;
  flex-shrink: 0;
  width: 581px;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.gallery-slide.faded {
  opacity: 0.2;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-arrow.prev {
  left: calc(50% - 600px);
}

.gallery-arrow.next {
  right: calc(50% - 600px);
}

.veiculo-details-section {
  background: var(--color-dark);
  padding: 60px 0 100px;
}

.veiculo-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 60px;
}

.veiculo-info-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  max-width: 600px;
  text-align: center;
}

.veiculo-name {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}

.veiculo-year-color {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-red);
}

.veiculo-km {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.veiculo-km svg {
  width: 20px;
  height: 20px;
}

.veiculo-price {
  font-weight: 800;
  font-size: 28px;
}

.veiculo-content {
  display: flex;
  gap: 170px;
  align-items: flex-start;
  justify-content: center;
}

.veiculo-description {
  flex: 0 0 auto;
}

.veiculo-description h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.veiculo-description-text {
  font-size: 16px;
  line-height: 1.4;
}

.veiculo-description-text p {
  margin-bottom: 2px;
}

.veiculo-description-text .veiculo-opcionais-list {
  margin: 12px 0 0;
  padding-left: 1.25em;
  list-style: disc;
}

.veiculo-description-text .veiculo-opcionais-list li {
  margin-bottom: 4px;
}

.veiculo-proposal-form {
  width: 580px;
  flex-shrink: 0;
}

.veiculo-proposal-form h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
}

.proposal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proposal-form input,
.proposal-form textarea {
  width: 100%;
  background: var(--color-input-bg);
  border-radius: var(--radius-btn);
  padding: 14px 21px;
  font-size: 16px;
  color: var(--color-dark);
}

.proposal-form input::placeholder,
.proposal-form textarea::placeholder {
  color: var(--color-dark);
  opacity: 0.5;
}

.proposal-form textarea {
  height: 140px;
  resize: vertical;
}

.proposal-form-row {
  display: flex;
  gap: 20px;
}

.proposal-form-row input {
  flex: 1;
}

.veiculo-proposal-form .btn-outline {
  width: 230px;
  justify-content: center;
}

.proposal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.proposal-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid var(--color-white);
  border-radius: 4px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-top: 2px;
  padding: 10px 11px;
}

.proposal-checkbox input[type="checkbox"]:checked {
  background: var(--color-red);
  border-color: var(--color-red);
}

.proposal-checkbox label {
  font-size: 14px;
  line-height: 1.4;
}

/* ==================== ABOUT PAGE ==================== */
.culture-section {
  background: var(--color-dark);
  padding: 100px 0;
}

.culture-pillars {
  display: flex;
  justify-content: space-between;
}

.culture-pillar {
  max-width: 340px;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.pillar-icon--visao {
  width: 50px;
  height: 45px;
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pillar-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
}

.pillar-text {
  font-size: 15px;
  line-height: 1.4;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ==================== FORM MESSAGES ==================== */
.form-message {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background: #1a5a2a;
  color: #4ade80;
}

.form-message.error {
  display: block;
  background: #5a1a1a;
  color: #f87171;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .stats-bar {
    padding: 40px 30px;
    flex-wrap: wrap;
  }

  .about-inner {
    flex-direction: column;
  }

  .about-image {
    width: 100%;
    max-width: 570px;
  }

  .contact-inner {
    flex-direction: column;
    gap: 60px;
  }

  .contact-form-wrapper {
    width: 100%;
  }

  .contact-image {
    width: 100%;
    max-width: 500px;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .veiculo-content {
    flex-direction: column;
    align-items: center;
  }

  .veiculo-proposal-form {
    width: 100%;
    max-width: 580px;
  }

  .gallery-arrow.prev {
    left: 20px;
  }

  .gallery-arrow.next {
    right: 20px;
  }
}

@media (max-width: 992px) {
  .vehicles-grid,
  .stock-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .culture-pillars {
    flex-direction: column;
    gap: 60px;
    align-items: center;
  }

  .culture-pillar {
    max-width: 100%;
    text-align: center;
  }

  .pillar-header {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    z-index: 999;
  }

  .header-nav.open {
    display: flex;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: calc(56px + env(safe-area-inset-top, 0px)) 16px max(28px, env(safe-area-inset-bottom));
    box-sizing: border-box;
  }

  /* Links principais — tamanho moderado (não aplicar ao botão WhatsApp) */
  .header-nav > a:not(.btn-whatsapp-header) {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    padding: 4px 0;
  }

  .header-nav a.btn-whatsapp-header {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    height: auto;
    min-height: 44px;
    padding: 10px 14px;
    margin-top: 4px;
    max-width: min(100%, 280px);
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .header-nav a.btn-whatsapp-header .btn-whatsapp-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .header-nav-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-top: 16px;
    padding: 20px 0px 0;
    width: 100%;
    max-width: 300px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-nav-phone,
  .header-nav-email {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.35;
    text-align: center;
    padding: 2px 0;
  }

  .header-nav-email {
    font-weight: 600;
    font-size: 13px;
    word-break: break-word;
  }

  .header-nav-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    max-width: 100%;
    padding: 4px 0;
  }

  .header-nav-address:hover {
    color: var(--color-red);
  }

  .header-nav-address-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav-address-icon svg {
    width: 22px;
    height: 22px;
    display: block;
  }

  .header-nav-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
  }

  .header-nav-social-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8);
  }

  .header-nav-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .header-nav-social-icons .footer-social-icon {
    width: 32px;
    height: 32px;
  }

  .header-nav-social-icons .footer-social-icon.instagram svg {
    width: 18px;
    height: 18px;
  }

  .header-nav-social-icons .footer-social-icon.facebook svg {
    width: 32px;
    height: 32px;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
  }

  .whatsapp-float {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-inner img {
    width: 26px;
    height: 26px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .vehicles-grid,
  .stock-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 42px;
  }

  .stat-text {
    font-size: 18px;
  }

  .stats-bar {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .stats-bar .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .stats-bar .stat-number {
    text-align: center;
  }

  .stock-header {
    text-align: center;
  }

  .stock-filters {
    flex-direction: column;
  }

  .stock-filters select {
    width: 100%;
    min-width: auto;
  }

  .stock-filters .btn-search {
    width: 100%;
  }

  /* Uma foto por viewport; evita centralizar um strip largo (metade de duas fotos) */
  .gallery-images {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .gallery-images .gallery-slide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 250px;
    flex-shrink: 0;
  }

  .proposal-form-row {
    flex-direction: column;
    gap: 24px;
  }

  .about-title,
  .contact-title,
  .stock-title {
    font-size: 28px;
  }

  /* Contato — mobile: título, texto e botão do formulário centralizados */
  .contact-form-wrapper {
    align-items: center;
    text-align: center;
  }

  .contact-form-header {
    align-items: center;
  }

  .contact-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form .btn-outline {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-checkbox {
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .contact-info-side {
    align-items: center;
  }

  .contact-details {
    align-items: center;
    width: 100%;
  }

  .contact-detail-item {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 11px;
  }

  .contact-detail-item .contact-detail-text {
    text-align: left;
  }

  .contact-detail-item.align-top {
    align-items: flex-start;
  }

  .contact-detail-item.align-top svg {
    margin-top: 2px;
  }

  /* Veículo — mobile: descrição, proposta e botão alinhados como no contato */
  .veiculo-info .btn-whatsapp-header {
    margin-left: auto;
    margin-right: auto;
  }

  .veiculo-description {
    text-align: center;
    width: 100%;
    max-width: 580px;
  }

  .veiculo-description-text .veiculo-opcionais-list {
    padding-left: 0;
    list-style-position: inside;
  }

  .veiculo-proposal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .veiculo-proposal-form h3 {
    width: 100%;
  }

  .proposal-form {
    width: 100%;
    align-items: stretch;
  }

  .veiculo-proposal-form .btn-outline {
    margin-left: auto;
    margin-right: auto;
  }

  .proposal-checkbox {
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .about-section .about-inner {
    align-items: center;
    text-align: center;
  }

  .about-section .about-content {
    align-items: center;
  }

  .about-section .about-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .about-section .about-text {
    max-width: 100%;
  }

  .about-section .about-image {
    order: -1;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .footer-nav-separator {
    display: none;
  }

  .site-footer {
    padding: 56px 0 48px;
  }

  .site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    margin-bottom: 48px;
    text-align: center;
    width: 100%;
    max-width: none;
  }

  .footer-main {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact-info {
    align-items: center;
    width: 100%;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-address-item {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-address-item svg {
    margin-top: 0;
  }

  .footer-address-item .address-text {
    text-align: center;
  }

  .footer-right .btn-whatsapp-header {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer-copyright {
    margin-top: 48px;
    text-align: center;
    padding: 0 8px;
    line-height: 1.5;
  }
}
