/* MatchPadel Landing Page - Dark Premium Wide Layout */

:root {
    --brand: #2B3E5B;
    --brand-light: #3A5278;
    --brand-dark: #1E2D42;
    --brand-darker: #141E2E;
    --accent: #E8B931;
    --accent-hover: #D4A520;
    --accent-glow: rgba(232, 185, 49, .12);
    --text-primary: #FAF9F8;
    --text-secondary: rgba(250, 249, 248, .6);
    --text-muted: rgba(250, 249, 248, .35);
    --surface: #1A2A3E;
    --surface-light: #223450;
    --surface-border: rgba(250, 249, 248, .08);
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --shadow-lg: 0 20px 40px rgba(0,0,0,.4);
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--brand-darker);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }

/* ========================
   NAVIGATION
   ======================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 0; transition: all var(--transition); background: transparent;
}
.nav.scrolled {
    background: rgba(20, 30, 46, .95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--surface-border);
    padding: 12px 0;
}
.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

/* ========================
   BUTTONS
   ======================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; font-size: 0.875rem; font-weight: 600;
    border-radius: var(--radius); border: none; cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
    font-family: var(--font); text-decoration: none;
}
.btn-sm { padding: 9px 20px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
.btn-accent {
    background: var(--accent); color: var(--brand-darker); font-weight: 700;
}
.btn-accent:hover {
    background: var(--accent-hover); transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 185, 49, .35);
}
.btn-ghost {
    background: transparent; color: var(--text-secondary);
    border: 1.5px solid var(--surface-border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(250,249,248,.2); background: rgba(255,255,255,.04); }
.btn-outline-accent {
    background: transparent; color: var(--accent);
    border: 1.5px solid var(--accent); font-weight: 700;
}
.btn-outline-accent:hover {
    background: var(--accent); color: var(--brand-darker);
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,185,49,.25);
}

/* ========================
   1. HERO — Split layout
   ======================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 40%, var(--brand) 0%, var(--brand-darker) 70%);
}
.hero-pattern {
    position: absolute; inset: 0; opacity: .03;
    background-image: radial-gradient(circle, rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 48px 48px;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
}
.hero-content { text-align: left; }
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900; color: var(--text-primary);
    line-height: 1.08; letter-spacing: -0.035em;
    margin-bottom: 24px;
}
.hero-tagline {
    font-size: 1.25rem; color: var(--text-secondary);
    margin-bottom: 10px; line-height: 1.7;
}
.hero-subline {
    font-size: 1.375rem; font-weight: 700; color: var(--accent);
    letter-spacing: 0.04em; margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-logo-img {
    width: 100%; max-width: 380px; height: auto;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,.4));
    animation: logo-float 4s ease-in-out infinite;
}
@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}
/* Glow pulse behind logo */
.hero-visual { position: relative; }
.hero-visual::before {
    content: ''; position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,185,49,.12) 0%, transparent 70%);
    animation: logo-glow 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes logo-glow {
    0%, 100% { transform: scale(1); opacity: .6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    color: var(--text-muted); animation: bounce-scroll 2s infinite; z-index: 1;
}
@keyframes bounce-scroll { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ========================
   SECTIONS SHARED
   ======================== */
.section { padding: 120px 0; }
.section--dark { background: var(--brand-dark); }

/* Centered header */
.section-header-center { text-align: center; max-width: 680px; margin: 0 auto 72px; }

/* Wide header — title left, description right */
.section-header-wide {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 48px; margin-bottom: 64px;
}
.section-header-left { flex: 1; }
.section-header-right {
    flex: 0 0 400px; font-size: 1.0625rem; color: var(--text-secondary);
    line-height: 1.7; padding-bottom: 6px;
}

.section-badge {
    display: inline-block; padding: 5px 16px; border-radius: var(--radius-full);
    background: var(--accent-glow); color: var(--accent);
    font-size: 0.75rem; font-weight: 600; margin-bottom: 18px;
    letter-spacing: 0.06em; text-transform: uppercase;
    border: 1px solid rgba(232,185,49,.12);
}
.section-badge--light { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.06); }
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800;
    color: var(--text-primary); line-height: 1.15; letter-spacing: -0.03em;
}
.section-title--light { color: var(--text-primary); }
.section-subtitle { font-size: 1.0625rem; color: var(--text-secondary); margin-top: 14px; line-height: 1.7; }
.section-text {
    font-size: 1.125rem; color: var(--text-secondary); line-height: 1.8;
    margin-top: 16px;
}

/* ========================
   2. PROBLEMA — Split layout
   ======================== */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split-visual { display: flex; align-items: center; justify-content: center; }

.problem-visual {
    display: flex; flex-direction: column; gap: 16px;
    max-width: 360px; width: 100%;
}
.problem-bubble {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 24px; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--surface-border);
    font-size: 0.9375rem; color: var(--text-secondary);
    transition: all var(--transition);
}
.problem-bubble--1 { transform: translateX(0); }
.problem-bubble--2 { transform: translateX(24px); opacity: .8; }
.problem-bubble--3 { transform: translateX(48px); opacity: .6; background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.15); color: #f87171; }
.problem-emoji { font-size: 1.5rem; flex-shrink: 0; }

/* ========================
   3. FEATURES GRID 2x2
   ======================== */
.features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    margin-bottom: 56px;
}
.feature-card {
    padding: 36px 32px; border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
    background: var(--surface);
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: rgba(232,185,49,.15);
    background: var(--surface-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    background: var(--accent-glow); color: var(--accent);
}
.feature-card h3 {
    font-size: 1.125rem; font-weight: 700; color: var(--text-primary);
    margin-bottom: 8px;
}
.feature-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

.solution-closing {
    text-align: center; font-size: 1.125rem; font-weight: 600;
    color: var(--accent);
}

/* ========================
   4. STEPS — Horizontal 3 cols with arrows
   ======================== */
.steps-grid {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.step-card {
    flex: 1; max-width: 340px; text-align: center; padding: 0 24px;
}
.step-connector {
    display: flex; align-items: center; justify-content: center;
    padding-top: 24px; flex-shrink: 0; opacity: .4;
}
.step-number {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    color: var(--accent); font-size: 1.5rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid rgba(232,185,49,.2);
    box-shadow: 0 0 0 8px rgba(43,62,91,.4);
}
.step-title { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-description { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

/* ========================
   5+6. POSICIONAMENTO + PARA QUEM (unificado)
   ======================== */
.section--positioning {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--brand-darker) 0%, var(--brand-dark) 40%, var(--brand-darker) 100%);
}
.positioning-header { text-align: center; margin-bottom: 72px; }
.positioning-text {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800;
    color: var(--text-primary); line-height: 1.3;
    margin-bottom: 28px; letter-spacing: -0.02em;
}
.positioning-pillars {
    display: flex; align-items: center; justify-content: center; gap: 24px;
    flex-wrap: wrap;
}
.positioning-pillars > span:not(.positioning-dot) {
    font-size: 1.125rem; font-weight: 500; color: var(--text-secondary);
}
.positioning-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent); display: inline-block;
}

.audience-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.audience-card {
    padding: 48px 40px; border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
    background: var(--surface);
    text-align: center;
    transition: all var(--transition);
}
.audience-card:hover {
    border-color: rgba(232,185,49,.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.audience-icon {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    background: var(--accent-glow); color: var(--accent);
}
.audience-title { font-size: 1.375rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.audience-description { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.7; }
.audience-cta {
    margin-top: 20px; padding-top: 20px;
    border-top: 1px solid var(--surface-border);
    font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}
.audience-cta a { color: var(--accent); font-weight: 500; }
.audience-cta a:hover { text-decoration: underline; }

/* Club lead form */
.club-lead-form {
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid var(--surface-border);
}
.club-lead-text {
    font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 16px;
}
.club-form {
    display: flex; flex-direction: column; gap: 10px;
}
.club-form input {
    width: 100%; padding: 11px 14px;
    border-radius: 8px; border: 1px solid var(--surface-border);
    background: var(--brand-dark); color: var(--text-primary);
    font-family: var(--font); font-size: 0.875rem;
    outline: none; transition: border-color 0.2s;
}
.club-form input::placeholder { color: var(--text-muted); }
.club-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232,185,49,.1);
}
.club-form-btn { width: 100%; justify-content: center; margin-top: 4px; }
.club-lead-feedback {
    margin-top: 10px; font-size: 0.8125rem; min-height: 18px; text-align: center;
}
.club-lead-feedback.success { color: #34d399; }
.club-lead-feedback.error { color: #f87171; }

/* ========================
   7. CTA FINAL
   ======================== */
.section--cta { padding: 64px 0 120px; }
.cta-card {
    text-align: center;
    padding: 72px 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border: 1px solid rgba(250,249,248,.06);
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(232,185,49,.08), transparent 60%);
    pointer-events: none;
}
.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800;
    color: var(--text-primary); margin-bottom: 14px; position: relative;
}
.cta-description {
    font-size: 1.125rem; color: var(--text-secondary);
    margin-bottom: 36px; position: relative;
    max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-actions { position: relative; }

/* ========================
   8. FOOTER
   ======================== */
.footer {
    background: var(--brand-darker);
    border-top: 1px solid var(--surface-border);
    padding: 40px 0 32px;
}
.footer-content {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
}
.footer-brand .nav-logo-img { height: 28px; opacity: .6; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 10px; background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition);
    border: 1px solid var(--surface-border);
}
.footer-social a:hover { background: var(--brand-light); color: var(--text-primary); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; border-top: 1px solid var(--surface-border);
    font-size: 0.8125rem; color: var(--text-muted);
}
.footer-dev a { color: var(--accent); }
.footer-dev a:hover { text-decoration: underline; }

/* ========================
   WHATSAPP FLOATING BUTTON
   ======================== */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 90;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    transition: all var(--transition);
    border: none; cursor: pointer; text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float::after {
    content: ''; position: absolute; inset: -4px;
    border-radius: 50%; border: 2px solid rgba(37,211,102,.4);
    animation: wpp-pulse 2s infinite;
}
@keyframes wpp-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ========================
   ANIMATIONS
   ======================== */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].visible { opacity: 1; transform: none; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1200px) {
    .container { padding: 0 32px; }
    .nav-container { padding: 0 32px; }
    .hero-inner { gap: 48px; }
    .split { gap: 48px; }
}

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-logo-img { max-width: 240px; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse { direction: ltr; }
    .split-content { text-align: center; }
    .split-visual { order: -1; }
    .section-header-wide { flex-direction: column; gap: 16px; text-align: center; }
    .section-header-right { flex: none; text-align: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-direction: column; align-items: center; gap: 24px; }
    .step-connector { transform: rotate(90deg); padding: 0; }
    .audience-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .problem-visual { margin: 0 auto; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-container { padding: 0 20px; }
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: block; }

    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--brand-darker); border-bottom: 1px solid var(--surface-border);
        padding: 8px 20px 16px; box-shadow: var(--shadow-lg);
    }
    .nav-links.open a { color: var(--text-secondary); padding: 12px 0; border-bottom: 1px solid var(--surface-border); }
    .nav-actions.open {
        display: flex; gap: 8px;
        position: absolute; top: calc(100% + 210px);
        left: 20px; right: 20px;
    }

    .section { padding: 72px 0; }
    .hero { min-height: auto; padding: 130px 0 64px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { text-align: center; }
    .feature-icon { margin: 0 auto 20px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
    .positioning-pillars { flex-direction: column; gap: 8px; }
    .positioning-dot { display: none; }
    .cta-card { padding: 48px 24px; }
    .footer-content { flex-direction: column; gap: 16px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .problem-bubble--2 { transform: translateX(12px); }
    .problem-bubble--3 { transform: translateX(24px); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .feature-card { padding: 28px 20px; }
    .audience-card { padding: 32px 24px; }
}
