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

/* Reset e variáveis da marca SHANRAY */
:root {
  --color-black: #1a1a1a;
  --color-gray: #9e9e9e;
  --color-light: #e8e8e8;
  --color-white: #ffffff;
  --color-red: #ff0000;
  --color-red-dark: #c00000;
  --color-bg: #f5f5f5;
  --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;
  --container: 1200px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-black);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.section {
  padding: 5rem 0;
}

body[data-page="catalog"] .page-header {
  padding: 7rem 0 2rem;
}

body[data-page="catalog"] .section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  border: 2px solid var(--color-red);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* Header e Navegação */
body.menu-open {
  overflow: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 60vw;
}

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

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-black) 0%, #2a2a2a 50%, var(--color-black) 100%);
  color: var(--color-white);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 2rem;
}

.hero.hero-loading .container {
  display: none;
}

.hero-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

#homeBannerContainer {
  animation: fadeInHero 0.4s ease forwards;
}

@keyframes fadeInHero {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-pattern.svg') center / cover;
  opacity: 0.1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-light);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-badges {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--color-white);
  color: var(--color-black);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-badges strong {
  color: var(--color-red);
  display: block;
  font-size: 1.5rem;
}

/* Categorias */
.categories {
  background: var(--color-white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.category-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-red);
}

.category-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.category-card p {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

/* Showroom / Produtos */
.showroom {
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-rex {
  background: var(--color-red);
  color: var(--color-white);
}

.badge-autopropelido {
  background: var(--color-black);
  color: var(--color-white);
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-meta {
  display: flex;
  gap: 1rem;
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.product-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-red);
  margin-bottom: 1rem;
}

/* Diferenciais */
.features {
  background: var(--color-black);
  color: var(--color-white);
}

.features .section-title {
  color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--color-gray);
}

/* Franqueado banner */
.franchise-banner {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: var(--color-white);
  padding: 4rem 0;
}

.franchise-banner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.franchise-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.franchise-banner p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.franchise-banner .btn-outline-light:hover {
  color: var(--color-red);
}

/* Depoimentos */
.testimonials {
  background: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius);
}

.testimonial-card .stars {
  color: #ffc107;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--color-black);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-light);
}

.testimonial-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 1.5rem;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.testimonial-meta strong {
  font-weight: 700;
  color: var(--color-black);
  font-size: 1rem;
}

.testimonial-meta span {
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--color-gray);
  margin: 1.5rem 0;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-red);
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-gray);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.875rem;
}

/* Páginas internas */
.page-header {
  padding: 8rem 0 4rem;
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--color-gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-red-dark));
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.value-card h3 {
  color: var(--color-black);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.value-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.value-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(192, 0, 0, 0.25);
  font-size: 2rem;
  color: var(--color-white);
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.08) rotate(-3deg);
}

.brand-galleries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.brand-gallery-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.brand-gallery-cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.brand-gallery-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.brand-gallery-card:hover .brand-gallery-cover img {
  transform: scale(1.05);
}

.brand-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}

.brand-gallery-overlay h3 {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
}

.brand-gallery-overlay p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Catálogo */
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-bar select,
.filter-bar input {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-family: inherit;
  min-width: 180px;
}

.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: var(--color-red);
}

.catalog-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

.sidebar {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: fit-content;
}

.sidebar h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

/* Detalhes do veículo */
.vehicle-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vehicle-gallery {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vehicle-gallery .main-image {
  aspect-ratio: 4/3;
  background: var(--color-light);
}

.vehicle-gallery .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-thumbs {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
}

.vehicle-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}

.vehicle-thumbs img.active {
  border-color: var(--color-red);
}

.vehicle-info h1 {
  font-size: 2.25rem;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.vehicle-info .category {
  color: var(--color-gray);
  margin-bottom: 0.25rem;
}

.vehicle-badges {
  margin-bottom: 0.35rem;
}

.vehicle-info .price-block {
  margin-bottom: 0.2rem;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.vehicle-info .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1.1;
}

.vehicle-info .price-old {
  font-size: 1.125rem;
  margin-bottom: 0.05rem;
}

.price-offer .badge {
  background: var(--color-red);
  color: var(--color-white);
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.1rem;
  margin-bottom: 0.5rem;
}

.vehicle-spec {
  background: var(--color-bg);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.vehicle-spec span {
  display: block;
  font-size: 0.875rem;
  color: var(--color-gray);
  margin-bottom: 0.05rem;
}

.vehicle-spec strong {
  font-size: 1.125rem;
}

.color-options {
  display: flex;
  gap: 0.75rem;
  margin: 0.25rem 0 0.35rem;
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px #ddd;
  transition: var(--transition);
}

.color-name {
  margin-top: 0.1rem;
  margin-bottom: 0.25rem;
  min-height: auto;
}

.vehicle-actions {
  gap: 0.75rem;
}

.vehicle-actions .btn {
  padding: 1rem 1.5rem;
}

.color-option.active,
.color-option:hover {
  box-shadow: 0 0 0 2px var(--color-red);
}

.vehicle-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-block {
  margin-bottom: 1.5rem;
}

.price-old {
  font-size: 1.125rem;
  color: var(--color-gray);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.color-name {
  font-size: 0.875rem;
  color: var(--color-gray);
  margin-top: 0.5rem;
  font-weight: 500;
  min-height: 1.25rem;
}

/* Ficha técnica full-width */
.vehicle-specs-section .tabs {
  margin-top: 0;
}

.vehicle-specs-section .tab-content {
  width: 100%;
}

.specs-table-full {
  width: 100%;
  font-size: 1.05rem;
}

.specs-table-full th,
.specs-table-full td {
  padding: 1.25rem;
}

.feature-list-full {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-list-full li {
  padding: 1rem;
  font-size: 1rem;
}

/* Galerias */
.photo-gallery,
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-photo,
.detail-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--color-white);
  display: block;
}

.gallery-photo:hover,
.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.gallery-photo img,
.detail-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.detail-card {
  position: relative;
}

.detail-title {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--color-black);
  background: var(--color-white);
  border-top: 1px solid var(--color-light);
}

/* Tabs */
.tabs {
  margin-top: 3rem;
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--color-light);
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--color-gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-light);
}

.specs-table th {
  color: var(--color-red);
  font-weight: 700;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-bg);
  border-radius: 8px;
}

.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-style: normal;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 0.15rem;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feature-title {
  font-weight: 700;
  color: var(--color-black);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.4;
}

/* Formulários */
.form-section {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Mapa placeholder */
.map-container {
  width: 100%;
  height: 400px;
  background: var(--color-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
}

/* Cards de loja */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.store-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.store-card h3 {
  margin-bottom: 0.5rem;
}

.store-card p {
  color: var(--color-gray);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
}

.faq-question:hover {
  color: var(--color-red);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-gray);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Modal de Fotos */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.photo-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 95vh;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.photo-modal-main {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.photo-modal-main img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 8px;
}

.photo-modal-close,
.photo-modal-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.photo-modal-close:hover,
.photo-modal-nav:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.photo-modal-close {
  top: 0.5rem;
  right: 0.5rem;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  line-height: 1;
}

.photo-modal-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.payment-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: 0.2s;
}

.payment-modal-close:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.photo-modal-prev { left: 0.5rem; }
.photo-modal-next { right: 0.5rem; }

.photo-modal-counter {
  color: var(--color-white);
  font-size: 0.9rem;
  margin: 0.75rem 0;
  opacity: 0.8;
}

.photo-modal-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  max-width: 100%;
  padding: 0.5rem;
}

.photo-modal-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: 0.2s;
  flex-shrink: 0;
}

/* Grids responsivos de seções dinâmicas */
.advantages-grid,
.metrics-grid {
  display: grid;
  gap: 1rem;
}

.advantages-grid {
  grid-template-columns: repeat(2, 1fr);
}

.advantage-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.advantage-item i {
  color: var(--color-red);
  font-size: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.advantage-item p {
  color: var(--color-gray);
  margin: 0;
}

.metrics-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metric-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-bg);
  border-radius: 8px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper .specs-table {
  min-width: 600px;
  width: 100%;
}

.photo-modal-thumbs img.active,
.photo-modal-thumbs img:hover {
  opacity: 1;
  border-color: var(--color-red);
}

@media (max-width: 768px) {
  .photo-modal-main img { max-height: 55vh; }
  .photo-modal-nav { width: 40px; height: 40px; }
  .photo-modal-thumbs img { width: 55px; height: 55px; }
}

/* Font Awesome icons */
.category-card .icon i,
.feature-item .icon i {
  line-height: 1;
}

.product-meta i,
.vehicle-spec span i,
.vehicle-specs-section i,
#warrantyText i {
  color: var(--color-red);
  margin-right: 0.25rem;
}

.vehicle-actions .btn i {
  font-size: 1.1rem;
}

.testimonial-card .stars i {
  color: #ffc107;
}

/* Ícone flutuante do WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.floating-whatsapp i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover i {
  transform: scale(1.1);
}

.floating-whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Utilitários */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.text-red { color: var(--color-red); }
.bg-white { background: var(--color-white); }
