/*
Theme Name: Consultor Fábio Galvão - Volkswagen
Description: Landing page do Consultor Fábio Galvão — Consórcio Volkswagen
Version: 2.0
Author: Fábio Galvão
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --vw-blue: #001E50;
  --vw-blue-light: #00437A;
  --whatsapp: hsl(142, 70%, 45%);
  --whatsapp-hover: hsl(142, 70%, 38%);
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-muted: #f9fafb;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--vw-blue); color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.header-brand { display: flex; align-items: center; gap: 12px; }
.header-logo {
  width: 48px; height: 48px; background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; padding: 4px;
}
.header-logo img { width: 100%; height: 100%; object-fit: contain; }
.header-brand h1 { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; }
.header-brand small { font-size: 12px; color: rgba(255,255,255,.7); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp); color: #fff;
  padding: 8px 20px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  transition: background .2s;
}
.header-cta:hover { background: var(--whatsapp-hover); }

/* ===== HERO ===== */
.hero {
  min-height: 90vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 16px 60px;
}
.hero h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 3.2rem); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero h2 span { color: var(--vw-blue); font-weight: 400; }
.hero p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.hero .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp); color: #fff;
  padding: 14px 32px; border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: background .2s, transform .1s;
}
.hero .btn-whatsapp:hover { background: var(--whatsapp-hover); }
.hero .btn-whatsapp:active { transform: scale(0.97); }
.hero-logo { margin-top: 48px; }
.hero-logo img { width: 100px; height: 100px; }
.hero .saiba-mais {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: 32px; color: var(--vw-blue); text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px;
}
.hero .saiba-mais svg { animation: bounce 1.5s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== TABLE ===== */
.consortium-table { padding: 60px 0; }
.consortium-table .section-label {
  text-align: center; color: var(--vw-blue);
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px;
}
.consortium-table h2 {
  text-align: center; font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; margin: 8px 0;
}
.consortium-table .sub { text-align: center; color: var(--muted); font-size: 14px; max-width: 500px; margin: 0 auto 32px; }
.table-wrap {
  max-width: 600px; margin: 0 auto;
  border-radius: 16px; border: 1px solid var(--border);
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.table-header {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--vw-blue); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
}
.table-header div { padding: 14px; text-align: center; }
.table-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border); transition: background .15s;
}
.table-row:hover { background: rgba(0,30,80,.04); }
.table-row:nth-child(even) { background: var(--bg-muted); }
.table-row:nth-child(even):hover { background: rgba(0,30,80,.06); }
.table-row div { padding: 14px; text-align: center; font-weight: 600; font-size: 15px; }
.table-row .parcela { color: var(--vw-blue); }
.table-note { text-align: center; color: var(--muted); font-size: 11px; margin-top: 16px; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 60px 0; }
.testimonials h2 {
  text-align: center; font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; margin-bottom: 40px;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.testimonial-card {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: box-shadow .2s;
}
.testimonial-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.testimonial-card .photo { height: 200px; overflow: hidden; position: relative; }
.testimonial-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card .photo .overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
}
.testimonial-card .photo .overlay h4 { font-family: 'Montserrat', sans-serif; font-size: 16px; }
.testimonial-card .photo .overlay .stars { color: #facc15; font-size: 12px; }
.testimonial-card .bubble {
  margin: 16px; background: hsl(142, 70%, 95%); border-radius: 12px 12px 12px 4px;
  padding: 14px; font-size: 13px; line-height: 1.6; position: relative;
}
.testimonial-card .bubble .via { text-align: right; font-size: 11px; color: var(--muted); margin-top: 8px; }


/* ===== WHY CHOOSE US ===== */
.why-choose { padding: 60px 0; }
.why-choose h2 {
  text-align: center; font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; margin-bottom: 40px;
}
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.benefit-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: box-shadow .2s;
}
.benefit-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.benefit-icon {
  width: 48px; height: 48px; background: var(--vw-blue); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: #fff; font-size: 22px;
}
.benefit-card h3 { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ===== LEAD FORM ===== */
.lead-form { padding: 60px 0; background: var(--bg-muted); }
.lead-form .form-box {
  max-width: 480px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: 16px; padding: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.lead-form h2 {
  text-align: center; font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 8px;
}
.lead-form .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.lead-form input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 12px; font-size: 16px; margin-bottom: 12px;
  font-family: 'Open Sans', sans-serif;
}
.lead-form input:focus { outline: 2px solid var(--vw-blue); border-color: var(--vw-blue); }
.lead-form button {
  width: 100%; padding: 14px; background: var(--vw-blue); color: #fff;
  border: none; border-radius: 12px; font-weight: 700; font-size: 16px;
  cursor: pointer; transition: background .2s;
}
.lead-form button:hover { background: var(--vw-blue-light); }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 60px 16px; background: var(--vw-blue); color: #fff; text-align: center;
}
.final-cta h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem); margin-bottom: 12px;
}
.final-cta p { opacity: .9; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 600px; margin: 0 auto 32px; }
.final-cta .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp); color: #fff;
  padding: 14px 40px; border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: background .2s, transform .1s;
}
.final-cta .btn-whatsapp:hover { background: var(--whatsapp-hover); }
.final-cta .btn-whatsapp:active { transform: scale(0.97); }

/* ===== FOOTER ===== */
.site-footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.site-footer h3 { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.site-footer p, .site-footer a { color: var(--muted); font-size: 14px; line-height: 1.6; text-decoration: none; }
.site-footer a:hover { color: var(--vw-blue); }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-muted); color: var(--muted); transition: all .2s;
}
.social-link:hover { background: var(--vw-blue); color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  text-decoration: none; font-size: 28px;
  transition: background .2s, transform .1s;
  animation: pulse-ring 2s infinite;
}
.whatsapp-float:hover { background: var(--whatsapp-hover); transform: scale(1.05); }
.whatsapp-float:active { transform: scale(0.95); }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .header-brand h1 { font-size: 13px; }
  .header-cta .phone-text { display: none; }
  .hero h2 { font-size: 1.5rem; }
  .hero-logo img { width: 72px; height: 72px; }
  .table-header div, .table-row div { padding: 10px 8px; font-size: 13px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
