/* ===== Volkswagen Consórcio — estilo oficial VW ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --vw-blue: #001E50;
  --vw-blue-2: #00437A;
  --vw-glow: #00B0F0;
  --vw-accent: #DD0741;
  --bg: #F7F8FA;
  --text: #0A1A2F;
  --muted: #5A6B7E;
  --border: #E1E5EB;
  --success: #10B981;
  --shadow: 0 10px 40px -12px rgba(0,30,80,.25);
  --shadow-btn: 0 6px 20px -6px rgba(221,7,65,.45);
}
.logo-img {
  height: 45px; /* tamanho ideal padrão */
  width: auto;
  display: block;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.display { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -.02em; }

/* ===== Header ===== */

/* TOPO (hero) → texto branco */
.header .nav a {
  color: #fff;
  transition: color 0.3s ease;
}

/* QUANDO ROLA → azul do site */
.header.scrolled .nav a {
  color: var(--vw-blue);
}

.header .logo-text {
  color: #fff;
}

.header.scrolled .logo-text {
  color: var(--vw-blue);
}

.header .logo-img {
  filter: brightness(0) invert(1); /* deixa branca */
  transition: 0.3s;
}

.header.scrolled .logo-img {
  filter: none; /* volta ao normal */
}



.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;

  background: linear-gradient(
  to bottom,
  rgba(255,255,255,0.4),
  rgba(255,255,255,0)
);

  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

/* QUANDO ROLA */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-circle {
  width: 36px; height: 36px; border-radius: 50%; background: var(--vw-blue);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-family: 'Poppins';
}
.logo-text { font-family: 'Poppins'; font-weight: 700; color: var(--vw-blue); font-size: 14px; line-height: 1.1; }
.logo-text small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--vw-accent); }
.btn-header {
  background: var(--vw-accent); color: #fff; padding: 10px 20px; border-radius: 6px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow-btn);
}
@media(max-width: 900px){ .nav { display: none; } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; padding-top: 64px; overflow: hidden; background: var(--vw-blue); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,30,80,.85) 0%, rgba(0,30,80,.5) 50%, rgba(0,30,80,.7) 100%);
}
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.15) translate(-2%,-2%); } }
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  min-height: calc(100svh - 64px); padding: 48px 0;
}
.hero-text { color: #fff; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; margin-bottom: 22px; }
.hero h1 span { color: var(--vw-glow); }
.hero p.lead { font-size: 1.05rem; opacity: .9; margin-bottom: 28px; max-width: 520px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats div { font-size: 13px; opacity: .85; }
.hero-stats strong { display: block; font-family: 'Poppins'; font-size: 1.5rem; color: #fff; }

.form-card { background: #fff; padding: 28px; border-radius: 8px; box-shadow: var(--shadow); }
.form-card h2 { font-family: 'Poppins'; color: var(--vw-blue); font-size: 1.4rem; margin-bottom: 4px; }
.form-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fff; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--vw-accent); box-shadow: 0 0 0 3px rgba(221,7,65,.15);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-primary {
  width: 100%; background: var(--vw-accent); color: #fff; padding: 14px; border: 0; border-radius: 6px;
  font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-btn);
  transition: transform .15s, opacity .2s;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.secure { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; }
@media(max-width: 900px){ .hero-grid { grid-template-columns: 1fr; } }

/* ===== Section base ===== */
.section { padding: 80px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .eyebrow { color: var(--vw-accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 10px; }
.section-head h2 { font-family: 'Poppins'; font-size: clamp(1.6rem, 3vw, 2.5rem); color: var(--vw-blue); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Carros ===== */
.carousel {
  position: relative;
}
.cars-rows { display: flex; flex-direction: column; gap: 18px; }
.cars-row { display: flex; gap: 18px; overflow-x: auto; padding: 4px 20px 16px; scroll-snap-type: x mandatory; }
.cars-row::-webkit-scrollbar { height: 6px; } .cars-row::-webkit-scrollbar-thumb { background: var(--vw-blue); border-radius: 3px; }
.car {
  flex: 0 0 300px; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,30,80,.08); scroll-snap-align: start; transition: transform .2s, box-shadow .2s;
}
.car:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.car-img { aspect-ratio: 4/3; background: var(--bg); }
.car-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.car-body { padding: 18px; }
.car-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.car-name { font-family: 'Poppins'; font-weight: 700; color: var(--vw-blue); font-size: 1.2rem; margin: 4px 0 14px; }
.car-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.car-price small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.car-price b { font-family: 'Poppins'; font-size: 1.5rem; color: var(--vw-blue); display: block; line-height: 1; }
.car-price span { font-size: 10px; color: var(--muted); }
.btn-mini { background: var(--vw-accent); color: #fff; border: 0; border-radius: 6px; padding: 9px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.cars-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
  position: relative;
}

.cars-row::-webkit-scrollbar {
  display: none;
}

/* Botões */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #001e50;
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 50; /* MUITO IMPORTANTE */
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  opacity: 1;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* ===== Ficha técnica ===== */

.car-img {
  position: relative;
}

.car-spec-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;

  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;

  padding: 5px 8px;
  border-radius: 6px;

  text-decoration: none;
  opacity: 0;

  transition: 0.25s;
}

/* aparece só no hover (desktop) */
.car:hover .car-spec-overlay {
  opacity: 1;
}

/* no mobile fica sempre visível */
@media (max-width: 768px) {
  .car-spec-overlay {
    opacity: 1;
  }
}

/* ===== Simulador ===== */
.sim {
  background: linear-gradient(135deg, var(--vw-blue) 0%, var(--vw-blue-2) 100%);
  color: #fff; border-radius: 12px; padding: 40px; box-shadow: var(--shadow);
}
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sim h3 { font-family: 'Poppins'; font-size: 1.6rem; margin-bottom: 8px; }
.sim p { opacity: .85; margin-bottom: 22px; font-size: .95rem; }
.sim label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.sim input[type=range] { width: 100%; margin-top: 8px; }
.sim .sim-val { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; margin-bottom: 18px; }
.sim .sim-val b { font-family: 'Poppins'; font-size: 1.4rem; }
.sim-result { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 28px; text-align: center; }
.sim-result small { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; opacity: .8; }
.sim-result .big { font-family: 'Poppins'; font-size: 3rem; font-weight: 700; margin: 8px 0; color: var(--vw-glow); }
.sim-result .btn-primary { margin-top: 16px; background: #fff; color: var(--vw-blue); }
@media(max-width: 800px){ .sim-grid { grid-template-columns: 1fr; } .sim { padding: 28px; } }

/* ===== Seminovos ===== */
.semi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.semi-grid img { border-radius: 8px; box-shadow: var(--shadow); }
.semi-grid ul { list-style: none; margin: 22px 0; }
.semi-grid li { padding: 8px 0 8px 28px; position: relative; font-size: .95rem; }
.semi-grid li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
@media(max-width: 800px){ .semi-grid { grid-template-columns: 1fr; } }

/* ===== Provas sociais ===== */
.proof { background: linear-gradient(135deg, var(--vw-blue), var(--vw-blue-2)); color: #fff; }
.proof .section-head h2 { color: #fff; }
.proof .section-head { margin: 0 auto 48px; text-align: center; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 56px; }
.num { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 24px; border-radius: 8px; text-align: center; }
.num b { font-family: 'Poppins'; font-size: 2rem; display: block; }
.num span { font-size: 12px; opacity: .8; }
.depo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.depo .card { background: #fff; color: var(--text); padding: 24px; border-radius: 8px; }
.depo .stars { color: var(--vw-accent); margin-bottom: 12px; letter-spacing: 2px; }
.depo p { font-size: .9rem; }
.depo .who { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; }
.depo .who b { color: var(--vw-blue); display: block; font-size: 13px; }
@media(max-width: 800px){ .numbers, .depo { grid-template-columns: 1fr 1fr; } .depo { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: 0; padding: 20px 0; text-align: left; font-size: 1rem; font-weight: 600; color: var(--vw-blue); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--vw-accent); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); font-size: .95rem; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ===== Contato ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { background: #fff; padding: 28px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,30,80,.06); margin-bottom: 16px; }
.contact-card h4 { color: var(--vw-blue); font-family: 'Poppins'; margin-bottom: 8px; font-size: 1rem; }
.contact-card p { font-size: .9rem; color: var(--muted); }
@media(max-width: 800px){ .contact-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer { background: var(--vw-blue); color: rgba(255,255,255,.8); padding: 56px 0 24px; font-size: .85rem; }
.footer h5 { color: #fff; font-family: 'Poppins'; font-size: .95rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; text-align: center; font-size: 12px; opacity: .7; }
.footer p { line-height: 1.8; }
@media(max-width: 800px){ .footer-grid { grid-template-columns: 1fr; } }

/* ===== Botões flutuantes ===== */
.float { position: fixed; right: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.float:hover { transform: scale(1.08); }
.float.wpp { bottom: 24px; background: #25D366; }
.float.tel { bottom: 90px; background: var(--vw-blue); }
.float svg { width: 26px; height: 26px; }
.float.wpp::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25D366;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(1.5);opacity:0} }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; background: rgba(0,30,80,.7); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 8px; max-width: 480px; width: 100%; padding: 28px; position: relative; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--muted); }
.modal h3 { font-family: 'Poppins'; color: var(--vw-blue); margin-bottom: 6px; }
.modal .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--vw-blue); color: #fff; padding: 14px 22px; border-radius: 8px; box-shadow: var(--shadow); z-index: 300; font-size: 14px; opacity: 0; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-8px); }
.toast.error { background: var(--vw-accent); }

/* base */
.header .nav a {
  color: #fff;
}

/* scroll */
.header.scrolled .nav a {
  color: var(--vw-blue);
}

/* hover funciona nos dois estados */
.header .nav a:hover {
  color: var(--vw-accent);
}

/*poup-up pdf ficha tecnica*/
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdf-box {
  width: 90%;
  max-width: 900px;
  height: 90%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.pdf-box iframe {
  width: 100%;
  height: 100%;
}

.pdf-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
}

/* ===== Notícias VW ===== */
.vw-news{max-width:1200px;margin:0 auto;padding:80px 24px}
.news-head{text-align:center;margin-bottom:40px}
.news-head .eyebrow{display:inline-block;font-size:.85rem;font-weight:600;color:#001e50;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.news-head h2{font-family:'Poppins',sans-serif;font-size:2.2rem;color:#001e50;margin:0 0 8px}
.news-head p{color:#5a6478;margin:0}
.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px}
.news-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 6px 24px rgba(0,30,80,.08);transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column}
.news-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,30,80,.14)}
.news-card img{width:100%;height:240px;object-fit:cover;display:block}
.news-body{padding:24px}
.news-tag{display:inline-block;background:#e6ecf6;color:#001e50;font-size:.75rem;font-weight:600;padding:4px 10px;border-radius:999px;margin-bottom:12px}
.news-body h3{font-family:'Poppins',sans-serif;font-size:1.15rem;color:#001e50;margin:0 0 10px;line-height:1.3}
.news-body p{color:#5a6478;font-size:.95rem;line-height:1.55;margin:0 0 14px}
.news-link{color:#001e50;font-weight:600;text-decoration:none;font-size:.9rem}
.news-link:hover{text-decoration:underline}

/* ===== Rodapé ===== */
.site-footer{background:#001e50;color:#cdd5e3;padding:56px 24px 24px}
.footer-top{max-width:1200px;margin:0 auto 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-logo img{height:46px;width:auto;filter:brightness(0) invert(1)}
.footer-nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.footer-nav a{color:#cdd5e3;text-decoration:none;font-size:.95rem;font-weight:500;transition:color .2s}
.footer-nav a:hover{color:#fff}
.footer-cols{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px}
.footer-col strong{display:block;color:#fff;font-size:1rem;margin-bottom:10px}
.footer-col p{margin:0 0 8px;font-size:.9rem;line-height:1.5}
.footer-col a{color:#cdd5e3;text-decoration:none}
.footer-col a:hover{color:#fff;text-decoration:underline}
.footer-legal{max-width:1200px;margin:32px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:.8rem;color:#8a96ae;text-align:center}
.footer-legal p{margin:0 0 6px}

@media(max-width:640px){
  .footer-top{flex-direction:column;align-items:flex-start}
  .footer-nav{justify-content:flex-start}
}
