/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #cc0000;
  --red-light: #e63333;
  --red-dark: #990000;
  --black: #080808;
  --dark: #0f0f0f;
  --dark2: #141414;
  --dark3: #1c1c1c;
  --dark4: #242424;
  --white: #ffffff;
  --gray: #777777;
  --gray-light: #bbbbbb;
  --gray-mid: #444444;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--black); color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(204,0,0,0.4);
}
.btn-primary.full { width: 100%; justify-content: center; clip-path: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

/* ===== SECTION COMMONS ===== */
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
.section-desc { color: var(--gray); font-size: 1rem; margin-top: 14px; font-weight: 300; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-header .section-tag { justify-content: center; }
.section-header .section-tag::before { display: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 70px;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(8,8,8,0.97);
  padding: 18px 70px;
  border-bottom: 1px solid rgba(204,0,0,0.2);
  backdrop-filter: blur(20px);
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.footer-brand .nav-logo-img {
  height: 56px;
  margin-bottom: 16px;
}
.nav-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #111;
  padding: 6px 10px 5px;
  line-height: 1;
  gap: 3px;
}
.logo-text {
  font-family: var(--font-sans);
  line-height: 1;
  display: flex;
  align-items: center;
}
.logo-jec {
  color: var(--white);
  font-weight: 400;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0;
}
.logo-auto {
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-style: normal;
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 1px 5px 2px;
  line-height: 1;
}
.logo-sub {
  font-size: 0.42rem;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.75);
  text-transform: lowercase;
  font-family: var(--font-sans);
  font-weight: 400;
  align-self: center;
}

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.3s;
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  padding: 10px 26px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--red-light) !important; }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 15px 8px; margin: -15px -8px; }
.hamburger span { width: 28px; height: 1px; background: var(--white); transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  background-image: url('514253953_122119355378925370_2453916962396376217_n.jpg');
  background-size: cover;
  background-position: center;
}

/* Animated background lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,0,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-move 20s linear infinite;
}
@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(204,0,0,0.08) 0%, transparent 60%),
    linear-gradient(to right, rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.35) 50%, rgba(8,8,8,0.05) 100%);
}

/* hero-bg-shape removed — replaced by background photo */
.hero-bg-shape { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 70px 0;
  max-width: 750px;
  animation: fadeInLeft 1s ease 0.2s both;
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow-line { width: 50px; height: 1px; background: var(--red); }
.hero-eyebrow span {
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -1px;
}
.hero-title span { color: var(--red); display: block; }
.hero-title em {
  font-style: normal;
  color: var(--gray-light);
  font-size: 0.55em;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  display: block;
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-light);
  font-weight: 300;
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 460px;
  border-left: 2px solid var(--red);
  padding-left: 20px;
}

.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-badges {
  display: flex;
  gap: 30px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-badge i { color: var(--red); font-size: 1.1rem; }
.hero-badge span { font-size: 0.75rem; color: var(--gray); letter-spacing: 1px; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%, 100% { height: 60px; opacity: 1; }
  50% { height: 90px; opacity: 0.5; }
}

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: marquee 20s linear infinite;
}
.marquee-inner span {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  color: white;
  padding: 0 30px;
}
.marquee-inner span.dot { color: rgba(255,255,255,0.5); padding: 0; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark2);
  border-bottom: 1px solid rgba(204,0,0,0.15);
}
.stat-item {
  text-align: center;
  padding: 50px 30px;
  border-right: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}
.stat-item:hover::before { width: 100%; }
.stat-item:hover { background: rgba(204,0,0,0.04); }
.stat-item h3 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}
.stat-item h3 span { color: var(--red); }
.stat-item p {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 10px;
  font-weight: 500;
}
.stat-divider { display: none; }

/* ===== SOBRE ===== */
.sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 120px 70px;
  gap: 100px;
  align-items: center;
}
.sobre-img { position: relative; }
.sobre-img-inner {
  width: 100%;
  height: 540px;
  background: var(--dark2);
  background-image: url('627380624_122164118450925370_7518584305212838696_n.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.sobre-img-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,0.15) 0%, rgba(8,8,8,0.3) 100%);
}
.sobre-img-inner::after {
  content: '';
}
/* Decorative frame */
.sobre-img::before, .sobre-img::after { display: none; }
.sobre-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  width: 130px;
  height: 130px;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 60px rgba(204,0,0,0.4);
}
.badge-num { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700; color: var(--white); line-height: 1; }
.badge-txt { font-size: 0.55rem; letter-spacing: 2px; color: rgba(255,255,255,0.8); font-weight: 600; text-transform: uppercase; margin-top: 4px; }

.sobre-content .section-tag { justify-content: flex-start; }
.sobre-content .section-tag::before { display: block; }
.sobre-content .section-title { margin-bottom: 28px; }
.sobre-text { color: var(--gray); line-height: 1.9; font-weight: 300; margin-bottom: 18px; font-size: 0.95rem; }
.sobre-features { display: flex; gap: 0; margin: 36px 0; border: 1px solid rgba(255,255,255,0.06); }
.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.feature:last-child { border-right: none; }
.feature:hover { background: rgba(204,0,0,0.06); }
.feature i { width: 44px; height: 44px; background: rgba(204,0,0,0.1); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.feature span { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-light); font-weight: 600; }

/* ===== VEÍCULOS ===== */
.veiculos { padding: 120px 70px; background: var(--dark); }
.filter-bar { display: flex; justify-content: center; gap: 0; margin-bottom: 60px; flex-wrap: wrap; border: 1px solid rgba(255,255,255,0.06); display: inline-flex; left: 50%; position: relative; transform: translateX(-50%); }
.filter-btn {
  padding: 14px 32px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  color: var(--gray);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}
.filter-btn:last-child { border-right: none; }
.filter-btn:hover { color: var(--white); background: rgba(204,0,0,0.08); }
.filter-btn.active { background: var(--red); color: var(--white); }

.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2px;
  row-gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
}

/* Vendido cards */
.car-card.vendido .car-img img { filter: grayscale(100%); }
.car-card.vendido .btn-card { pointer-events: none; opacity: 0.4; }
.car-card.vendido .car-price { display: none; }
.car-badge--vendido { background: var(--red) !important; color: var(--white) !important; }

/* Vendidos section */
.vendidos-section {
  border-top: 1px solid var(--dark4);
  position: relative;
}
.vendidos-section::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gray-mid);
  margin: 0 auto 0;
}
.vendidos-section .section-title { color: var(--gray); }
.vendidos-section .section-tag { color: var(--gray-mid); }
.vendidos-section .section-desc { color: var(--gray-mid); }

.car-card {
  background: var(--dark2);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}
.car-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height 0.4s ease;
  z-index: 1;
}
.car-card:hover::before { height: 100%; }
.car-card:hover { transform: translateY(-8px); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(204,0,0,0.2); z-index: 2; }

.car-img {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark3);
}
.car-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  transition: transform 0.5s ease;
  display: block;
}
.car-card:hover .car-img img { transform: scale(1.05); }
.car-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--dark2), transparent);
  pointer-events: none;
}
.car-icon { font-size: 5rem; color: rgba(255,255,255,0.07); transition: transform 0.4s, color 0.4s; }
.car-card:hover .car-icon { transform: scale(1.1); color: rgba(204,0,0,0.15); }

.car-badge {
  position: absolute;
  top: 0; right: 0;
  padding: 6px 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}
.car-badge.eco { background: #1a8a3a; }

.car-info { padding: 28px 24px; }
.car-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.car-header h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--white); }
.car-year { font-size: 0.7rem; color: var(--red); font-weight: 700; border: 1px solid var(--red); padding: 3px 9px; letter-spacing: 1px; }
.car-desc { font-size: 0.83rem; color: var(--gray); line-height: 1.6; margin-bottom: 20px; font-weight: 300; }
.car-specs {
  display: flex;
  gap: 0;
  margin-bottom: 22px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.car-specs span {
  flex: 1;
  font-size: 0.7rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.car-specs span:last-child { border-right: none; }
.car-specs i { color: var(--red); font-size: 0.8rem; }
.car-footer { display: flex; justify-content: space-between; align-items: center; }
.car-price { font-family: var(--font-serif); font-size: 1.4rem; color: var(--white); font-weight: 700; }
.car-price small { font-size: 0.7rem; color: var(--gray); font-family: var(--font-sans); font-weight: 300; }
.btn-card {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(204,0,0,0.4);
  color: var(--red);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}
.btn-card:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.ver-mais { text-align: center; margin-top: 60px; }
.car-card.hidden { display: none; }

/* ===== SERVIÇOS ===== */
.servicos { padding: 120px 70px; background: var(--black); }
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1500px;
  margin: 0 auto;
}
.servico-card {
  padding: 50px 36px;
  background: #4a4a4a;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.servico-card:hover::before { transform: scaleX(1); }
.servico-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -20px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(204,0,0,0.06) 0%, transparent 70%);
  transition: all 0.4s;
}
.servico-card:hover::after { bottom: -20px; right: 10px; }
.servico-card:hover { background: #444444; border-color: rgba(204,0,0,0.4); }
.servico-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(204,0,0,0.08);
  font-weight: 700;
  position: absolute;
  top: 20px; right: 24px;
  line-height: 1;
  transition: color 0.4s;
}
.servico-card:hover .servico-num { color: rgba(204,0,0,0.15); }
.servico-icon {
  width: 56px; height: 56px;
  background: rgba(204,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 1.2rem;
  margin-bottom: 28px;
  transition: all 0.3s;
}
.servico-card:hover .servico-icon { background: var(--red); color: var(--white); }
.servico-card h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 14px; color: var(--white); font-weight: 600; }
.servico-card p { font-size: 0.875rem; color: #aaaaaa; line-height: 1.8; font-weight: 300; }

/* ===== TESTEMUNHOS ===== */
.testemunhos { padding: 120px 70px; background: var(--dark); }
.google-rating { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.google-logo { height: 22px; filter: brightness(0) invert(1); opacity: 0.7; }
.rating-stars { color: #fbbc04; font-size: 1rem; }
.rating-num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); font-weight: 700; }
.rating-count { font-size: 0.8rem; color: var(--gray); }

.testemunhos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1500px;
  margin: 0 auto;
}
.testemunho-card {
  padding: 40px 36px;
  background: var(--dark2);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.testemunho-card::before {
  content: '\201C';
  position: absolute;
  top: 10px; right: 24px;
  font-family: var(--font-serif);
  font-size: 8rem;
  color: rgba(204,0,0,0.07);
  line-height: 1;
}
.testemunho-card.featured {
  background: var(--dark3);
  border-top: 2px solid var(--red);
}
.testemunho-card:hover { background: var(--dark3); }
.stars { color: #fbbc04; margin-bottom: 20px; font-size: 0.85rem; letter-spacing: 2px; }
.testemunho-card p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.9; font-style: italic; font-weight: 300; margin-bottom: 28px; position: relative; z-index: 1; }
.testemunho-autor { display: flex; align-items: center; gap: 14px; }
.autor-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(204,0,0,0.3); }
.autor-avatar { width: 48px; height: 48px; background: var(--red); color: var(--white); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.autor-photo-placeholder { width: 48px; height: 48px; border-radius: 50%; background: var(--dark4); color: var(--gray-light); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.1); }
.testemunho-autor strong { display: block; font-size: 0.9rem; color: var(--white); font-weight: 600; }
.testemunho-autor span { font-size: 0.72rem; color: var(--gray); letter-spacing: 1px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  padding: 120px 70px;
  text-align: center;
  overflow: hidden;
  background: var(--red);
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,0,0,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0,0,0,0.3) 0%, transparent 60%);
  background-image: also linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; color: var(--white); }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 300; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-banner .btn-primary { background: var(--white); color: var(--red); }
.cta-banner .btn-primary:hover { background: var(--black); color: var(--white); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* ===== CONTACTO ===== */
.contacto { padding: 120px 70px; background: var(--black); }
.contacto-wrapper { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; max-width: 1500px; margin: 0 auto; }
.contacto-info h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--white); margin-bottom: 16px; }
.contacto-info > p { color: var(--gray); font-weight: 300; line-height: 1.8; margin-bottom: 40px; font-size: 0.9rem; }
.info-item { display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start; }
.info-item i { color: var(--red); font-size: 1rem; margin-top: 4px; width: 20px; flex-shrink: 0; }
.info-item strong { display: block; font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 5px; }
.info-item span { font-size: 0.9rem; color: var(--gray-light); font-weight: 300; }
.social-links { display: flex; gap: 0; margin-top: 40px; }
.social-links a {
  width: 46px; height: 46px;
  background: var(--dark2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  transition: all 0.3s;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.social-links a:last-child { border-right: none; }
.social-links a:hover { background: var(--red); color: var(--white); }

/* FORM */
.contacto-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 700; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 16px 18px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: all 0.3s;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--red); background: var(--dark3); }
.form-group select option { background: var(--dark2); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-mid); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.04); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
  padding: 80px 70px;
  max-width: 1500px;
  margin: 0 auto;
}
.footer-brand .nav-logo { padding: 8px 14px 7px; }
.footer-brand .logo-jec { font-size: 1.3rem; }
.footer-brand .logo-auto { font-size: 2rem; }
.footer-brand .logo-sub { font-size: 0.5rem; }
.footer-brand p { color: var(--gray); font-size: 0.85rem; line-height: 1.8; font-weight: 300; margin-top: 20px; max-width: 280px; }
.footer-brand .social-links { margin-top: 28px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; border: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; transition: transform 0.2s, opacity 0.2s; opacity: 0.9; }
.footer-social a:hover { transform: translateY(-3px) scale(1.08); opacity: 1; }
.footer-social a[aria-label="Instagram"] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.footer-social a[aria-label="Facebook"] { background: #1877f2; }
.footer-social a[aria-label="WhatsApp"] { background: #25d366; }
.footer-links h4, .footer-newsletter h4 { font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 24px; font-weight: 700; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.85rem; color: var(--gray); font-weight: 300; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '—'; font-size: 0.6rem; color: var(--red); opacity: 0; transition: opacity 0.3s; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; }
.footer-newsletter p { font-size: 0.85rem; color: var(--gray); font-weight: 300; line-height: 1.6; margin-bottom: 20px; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; padding: 14px 16px; background: var(--dark2); border: 1px solid rgba(255,255,255,0.06); border-right: none; color: var(--white); font-family: var(--font-sans); font-size: 0.85rem; outline: none; }
.newsletter-form input:focus { border-color: var(--red); }
.newsletter-form button { padding: 14px 20px; background: var(--red); border: none; color: var(--white); cursor: pointer; font-size: 0.9rem; transition: background 0.3s; }
.newsletter-form button:hover { background: var(--red-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 24px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray); font-weight: 300; }
.footer-legal { display: flex; gap: 16px 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer-legal a { font-size: 0.72rem; color: var(--gray); transition: color 0.3s; letter-spacing: 1px; }
.footer-legal a:hover { color: var(--red); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--dark2);
  width: 95vw;
  max-width: 1100px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(30,30,30,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--red); border-color: var(--red); }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 85vh;
  overflow: hidden;
}

.modal-gallery {
  background: var(--dark3);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.modal-gallery-arrow:hover { background: var(--red); }
.modal-gallery-prev { left: 12px; }
.modal-gallery-next { right: 12px; }
.modal-gallery > img {
  width: 100%;
  flex: 1;
  object-fit: contain;
  background: #000;
  display: block;
  min-height: 0;
}
.modal-thumbnails {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--dark);
  overflow-x: auto;
  flex-shrink: 0;
}
.modal-thumb {
  width: 70px;
  height: 50px;
  object-fit: contain;
  background: #000;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
  border: 2px solid transparent;
}
.modal-thumb.active, .modal-thumb:hover { opacity: 1; border-color: var(--red); }

.modal-details { padding: 56px 28px 24px; display: flex; flex-direction: column; gap: 14px; overflow-y: hidden; }

.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-category {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.modal-header h2 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--white); line-height: 1.2; }
.modal-price { font-family: var(--font-serif); font-size: 1.8rem; color: var(--white); font-weight: 700; white-space: nowrap; }

.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.modal-spec {
  background: var(--dark3);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-spec i { color: var(--red); font-size: 0.85rem; width: 16px; text-align: center; }
.modal-spec-label { font-size: 0.62rem; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; display: block; }
.modal-spec-val { font-size: 0.88rem; color: var(--white); font-weight: 500; }

.modal-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.8; font-weight: 300; border-left: 2px solid var(--red); padding-left: 14px; }

.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn-primary { flex: 1; justify-content: center; clip-path: none; }
.modal-actions .btn-outline { flex: 1; justify-content: center; }

.modal-guarantee {
  font-size: 0.72rem;
  color: var(--gray);
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.modal-guarantee i { color: var(--red); margin-right: 4px; }

@media (max-width: 700px) {
  .modal { width: 100vw; max-height: 100vh; }
  .modal-inner { grid-template-columns: 1fr; height: auto; max-height: 90vh; overflow-y: auto; }
  .modal-gallery > img { height: 240px; flex: none; }
  .modal-details { padding: 20px; overflow-y: visible; }
  .modal-header { flex-direction: column; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 9999;
  padding: 20px 40px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.cookie-banner-text i { color: var(--red); font-size: 1.4rem; flex-shrink: 0; }
.cookie-banner-text p { font-size: 0.88rem; color: var(--gray-light); line-height: 1.6; font-weight: 300; }
.cookie-banner-text a { color: var(--red); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-accept { background: var(--red); color: var(--white); }
.cookie-accept:hover { background: var(--red-light); }
.cookie-reject { background: transparent; color: var(--gray); border: 1px solid var(--gray-mid); }
.cookie-reject:hover { color: var(--white); border-color: var(--white); }

@media (max-width: 600px) {
  .cookie-banner { padding: 20px 24px; }
  .cookie-banner-content { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: 14px 22px 14px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.5);
  background: #1ebe5d;
}
.whatsapp-link {
  color: #25d366;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}
.whatsapp-link:hover { color: #1ebe5d; text-decoration: underline; }
.contacto-info .info-item .fab.fa-whatsapp { color: #25d366; font-size: 1.1rem; }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .navbar { padding: 20px 30px; }
  .navbar.scrolled { padding: 14px 30px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 300px;
    background: var(--dark2);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding: 40px;
    border-left: 1px solid rgba(204,0,0,0.2);
    z-index: 999;
  }
  .hamburger { display: flex; z-index: 1000; }
  .hero-content { padding: 0 30px; }
  .hero-scroll { right: 30px; }
  .sobre { grid-template-columns: 1fr; padding: 80px 30px; gap: 60px; }
  .sobre-img::before, .sobre-img::after { display: none; }
  .sobre-badge { right: 0; }
  .veiculos { padding: 80px 30px; }
  .cars-grid { grid-template-columns: 1fr 1fr; }
  .servicos { padding: 80px 30px; }
  .servicos-grid { grid-template-columns: 1fr 1fr; }
  .testemunhos { padding: 80px 30px; }
  .testemunhos-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 80px 30px; }
  .contacto { padding: 80px 30px; }
  .contacto-wrapper { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 60px 30px; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; padding: 24px 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
}

@media (max-width: 600px) {
  .hero-title { font-size: 3rem; }
  .hero-badges { flex-wrap: wrap; gap: 16px; }
  .cars-grid { grid-template-columns: 1fr; }
  .servicos-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
.stats { grid-template-columns: repeat(2, 1fr); }

  /* Hero photo — focar no carro (centro-baixo) em mobile */
  .hero {
    background-position: 60% center;
  }

  /* Sobre Nós photo — focar no carro em mobile */
  .sobre-img-inner {
    background-position: center top;
    height: 380px;
  }
}
