/* GP Autoescola — Design System */
:root {
  --primary: #6E124A;
  --secondary: #E87223;
  --accent: #F68F1D;
  --bg-dark: #3A0927;
  --bg-light: #F6F1F4;
  --bg-white: #FFFFFF;
  --text-primary: #2B282B;
  --text-light: #FFFFFF;
  --text-muted: #8a8a8a;
  --success: #25D366;
  --gradient-hero: linear-gradient(135deg, #1a0412 0%, #3A0927 30%, #6E124A 60%, #9E2A5A 100%);
  --gradient-cta: linear-gradient(135deg, #E87223 0%, #F68F1D 100%);
  --glass: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.12);
  --shadow-card: 0 8px 32px rgba(110,18,74,0.10);
  --shadow-hover: 0 16px 48px rgba(110,18,74,0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-btn: 12px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1200px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text-primary); line-height: 1.6; background: var(--bg-white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.overtitle { font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; margin-bottom: 20px; }
.section-sub { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; max-width: 680px; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 16px; padding: 16px 36px; border-radius: var(--radius-btn); border: none; cursor: pointer; transition: var(--transition); }
.btn-primary { background: var(--gradient-cta); color: #fff; box-shadow: 0 4px 20px rgba(232,114,35,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,114,35,0.5); }
.btn-outline { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-whatsapp { background: var(--success); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }

/* HERO */
.hero { background: var(--gradient-hero); color: var(--text-light); padding: clamp(100px,14vw,160px) 0 clamp(80px,10vw,120px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -40%; right: -10%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(232,114,35,0.15) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: 20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(110,18,74,0.25) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border: 1px solid var(--glass-border); border-radius: 50px; background: var(--glass); margin-bottom: 28px; backdrop-filter: blur(8px); }
.hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.hero h1 span { background: var(--gradient-cta); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; margin-bottom: 36px; opacity: 0.9; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; opacity: 0.85; }
.hero-logos { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.hero-logos img { height: 48px; width: auto; }
.hero-logos .cnh-badge { height: 36px; }
/* Hero form (right column) */
.hero-form-wrap { display: flex; align-items: center; justify-content: center; }
.hero-form-card { background: #fff; border-radius: var(--radius); padding: 36px; width: 100%; max-width: 420px; box-shadow: 0 16px 60px rgba(0,0,0,0.25); }
.hero-form-title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.hero-form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.hf-group { margin-bottom: 12px; }
.hf-group input, .hf-group select { width: 100%; padding: 13px 14px; border: 2px solid #ede7ea; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; transition: var(--transition); background: #faf8f9; color: var(--text-primary); }
.hf-group input:focus, .hf-group select:focus { outline: none; border-color: var(--secondary); background: #fff; box-shadow: 0 0 0 3px rgba(232,114,35,0.1); }
.hf-group input.error, .hf-group select.error { border-color: #e74c3c; }
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hf-btn { width: 100%; justify-content: center; margin-top: 4px; font-size: 15px; padding: 15px; }
.hf-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.hf-success { display: none; text-align: center; padding: 24px 0; }

/* COMPARISON */
.comparison { padding: clamp(64px,10vw,120px) 0; background: var(--bg-light); }
.comparison .overtitle { color: var(--primary); }
.comparison .section-title { color: var(--text-primary); }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.comp-card { padding: 36px; border-radius: var(--radius); }
.comp-card.before { background: #fff; border: 2px solid #e8e0e5; }
.comp-card.after { background: var(--primary); color: #fff; box-shadow: var(--shadow-card); }
.comp-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.comp-card li { padding: 10px 0; font-size: 15px; display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.comp-card.before li { border-color: #f0eaed; color: var(--text-muted); }
.comp-note { margin-top: 32px; text-align: center; font-size: 16px; font-weight: 600; color: var(--primary); }

/* STEPS */
.steps { padding: clamp(64px,10vw,120px) 0; background: var(--gradient-hero); color: var(--text-light); }
.steps .overtitle { color: var(--accent); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.step-card { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); border-radius: var(--radius); padding: 36px 28px; transition: var(--transition); }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); border-color: rgba(232,114,35,0.3); }
.step-num { font-family: var(--font-heading); font-size: 48px; font-weight: 800; background: var(--gradient-cta); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; display: block; }
.step-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 15px; line-height: 1.7; opacity: 0.85; }

/* WHY GP */
.why { padding: clamp(64px,10vw,120px) 0; background: var(--bg-light); }
.why .overtitle { color: var(--primary); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 32px; text-align: center; transition: var(--transition); border: 1px solid transparent; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.why-icon { font-size: 36px; margin-bottom: 16px; }
.why-item h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.why-item p { font-size: 14px; color: var(--text-muted); }

/* PACKAGES */
.packages { padding: clamp(64px,10vw,120px) 0; }
.packages .overtitle { color: var(--secondary); }
.pkg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.pkg-card { background: #fff; border: 2px solid #ede7ea; border-radius: var(--radius); padding: 36px; transition: var(--transition); position: relative; overflow: hidden; }
.pkg-card:hover { border-color: var(--secondary); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pkg-card.featured { border-color: var(--secondary); box-shadow: var(--shadow-card); }
.pkg-badge { position: absolute; top: 16px; right: -32px; background: var(--gradient-cta); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 40px; transform: rotate(45deg); }
.pkg-card h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pkg-card .pkg-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.pkg-card li { padding: 8px 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.pkg-card li::before { content: '✓'; color: var(--secondary); font-weight: 700; }
.pkg-card .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* TESTIMONIALS */
.testimonials { padding: clamp(64px,10vw,120px) 0; background: var(--gradient-hero); color: var(--text-light); }
.testimonials .overtitle { color: var(--accent); }
.test-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 48px; }
.test-card { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); border-radius: var(--radius); padding: 32px; }
.test-card p { font-size: 15px; line-height: 1.7; font-style: italic; margin-bottom: 16px; opacity: 0.9; }
.test-author { font-family: var(--font-heading); font-size: 14px; font-weight: 700; }
.test-stars { color: var(--accent); font-size: 14px; margin-top: 4px; }
.test-badge { text-align: center; margin-top: 40px; font-family: var(--font-heading); font-size: 18px; font-weight: 700; }

/* LOCATIONS */
.locations { padding: clamp(64px,10vw,120px) 0; background: var(--bg-light); }
.locations .overtitle { color: var(--primary); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.loc-card { background: #fff; border-radius: var(--radius); padding: 36px; text-align: center; box-shadow: var(--shadow-card); }
.loc-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.loc-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }

/* FAQ */
.faq { padding: clamp(64px,10vw,120px) 0; }
.faq .overtitle { color: var(--secondary); }
.faq-list { max-width: 780px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid #ede7ea; }
.faq-q { width: 100%; background: none; border: none; font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--text-primary); padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.faq-q::after { content: '+'; font-size: 24px; color: var(--secondary); transition: var(--transition); flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-a { max-height: 300px; }
.faq-a p { padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* FORM */
.form-section { padding: clamp(64px,10vw,120px) 0; background: linear-gradient(135deg, #f9f4f7 0%, #f0e8ec 100%); }
.form-section .overtitle { color: var(--primary); }
.form-wrap { max-width: 600px; margin: 40px auto 0; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-card); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-group input, .form-group select { width: 100%; padding: 14px 16px; border: 2px solid #ede7ea; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; transition: var(--transition); background: #faf8f9; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--secondary); background: #fff; box-shadow: 0 0 0 4px rgba(232,114,35,0.1); }
.form-group input.error { border-color: #e74c3c; }
.form-error { font-size: 12px; color: #e74c3c; margin-top: 4px; display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-wrap .btn { width: 100%; justify-content: center; font-size: 17px; padding: 18px; margin-top: 8px; }
.form-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 32px; }
.form-success h3 { font-family: var(--font-heading); color: var(--primary); font-size: 22px; margin: 16px 0 8px; }

/* FINAL CTA */
.final-cta { padding: clamp(64px,10vw,100px) 0; background: var(--gradient-hero); color: var(--text-light); text-align: center; }
.final-cta .section-title { max-width: 600px; margin: 0 auto 16px; }
.final-cta p { max-width: 550px; margin: 0 auto 32px; opacity: 0.85; font-size: 17px; }

/* FOOTER */
.footer { background: #1a0412; color: rgba(255,255,255,0.6); padding: 48px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { font-family: var(--font-heading); color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 13px; }
.footer-logo { height: 40px; margin-bottom: 16px; }

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 60px; height: 60px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition); cursor: pointer; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-form-card { max-width: 100%; }
  .hf-row { grid-template-columns: 1fr; }
  .comp-grid, .steps-grid, .why-grid, .pkg-grid, .test-grid, .loc-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-logos { flex-direction: column; align-items: flex-start; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .hero { padding: 100px 0 60px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .steps-grid, .why-grid, .pkg-grid { grid-template-columns: repeat(2,1fr); }
}
