/* style.css - Funnellux Clean White + Metallic Gold */

:root {
    --color-primary: #0F2A3D; /* Azul petróleo obrigatorio */
    --color-primary-dark: #0A1B28;
    --color-white: #FFFFFF; /* Branco puro */
    --color-gray-bg: #F7F9FC; /* Cinza claro secões */
    --color-gray-medium: #E2E8F0;
    --color-text-dark: #1E293B;
    --color-text-gray: #6B7280; /* Cinza médio obrigatório */
    --color-text-light: #9CA3AF;
    --color-dark-main: #0B0F14; /* Preto footer */
    
    /* Gold Antique/Bronze (from reference) */
    --color-gold-highlight: #FFF3D8;
    --color-gold: #BE8A4F;
    --color-gold-medium: #8C5A2B;
    --color-gold-shadow: #593616;
    --color-gold-deep: #331B08;

    --grad-gold-metallic: radial-gradient(circle at 50% 0%, #FFF3D8 0%, #BE8A4F 35%, #8C5A2B 65%, #593616 85%, #331B08 100%);

    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--color-primary); }
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }
.text-dark { color: var(--color-text-dark); }
.text-gray { color: var(--color-text-gray); }
.bg-primary { background-color: var(--color-primary); }
.bg-dark { background-color: var(--color-dark-main); }
.bg-white { background-color: var(--color-white); }
.bg-gray-bg { background-color: var(--color-gray-bg); }

.section { padding: 120px 0; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 40px; letter-spacing: -0.02em; line-height: 1.2; }
.description { font-size: 1.125rem; max-width: 800px; margin: 0 auto 40px auto; }

/* Header */
.header { background-color: var(--color-white); padding: 16px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--color-gray-medium); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display:flex; align-items:center; gap:8px; font-weight:900; font-size:1.75rem; color:var(--color-primary); }
.logo-infinity { font-size: 2.2rem; line-height: 0.8; color: var(--color-gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn-gold-small) { color: var(--color-text-dark); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:not(.btn-gold-small):hover { color: var(--color-primary); }

/* Hero Space Particles */
.gold-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-gold-highlight) 0%, var(--color-gold) 50%, transparent 100%);
    opacity: 0.3;
    pointer-events: none;
    animation: floatParticle 8s infinite ease-in-out;
    z-index: 1;
}
.gp-1 { width: 5px; height: 5px; top: 15%; left: 10%; animation-duration: 9s; }
.gp-2 { width: 8px; height: 8px; top: 75%; left: 15%; animation-duration: 12s; animation-delay: 2s; }
.gp-3 { width: 4px; height: 4px; top: 35%; left: 85%; animation-duration: 10s; animation-delay: 4s; }
.gp-4 { width: 6px; height: 6px; top: 85%; left: 80%; animation-duration: 14s; animation-delay: 1s; }
.gp-5 { width: 9px; height: 9px; top: 25%; left: 70%; animation-duration: 11s; animation-delay: 3s; }
.gp-6 { width: 4px; height: 4px; top: 55%; left: 5%; animation-duration: 8s; animation-delay: 5s; }
.gp-7 { width: 7px; height: 7px; top: 90%; left: 45%; animation-duration: 15s; animation-delay: 1.5s; }
.gp-8 { width: 3px; height: 3px; top: 10%; left: 40%; animation-duration: 9s; animation-delay: 2.5s; }
.gp-9 { width: 6px; height: 6px; top: 45%; left: 95%; animation-duration: 13s; animation-delay: 0.5s; }
.gp-10 { width: 5px; height: 5px; top: 65%; left: 25%; animation-duration: 10s; animation-delay: 3.5s; }

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0.1; }
    50% { transform: translateY(-20px) scale(1.3); opacity: 0.5; }
    100% { transform: translateY(0) scale(1); opacity: 0.1; }
}

/* Buttons */
.btn-gold {
    background: var(--grad-gold-metallic);
    color: var(--color-white) !important;
    padding: 24px 64px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212,175,55,0.25), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.25);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
    background-size: 200% auto;
}
.btn-gold:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -2px 4px rgba(0,0,0,0.3);
}
.btn-gold-small {
    background: var(--grad-gold-metallic);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 2px rgba(0,0,0,0.25);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    background-size: 200% auto;
}
.btn-gold-small:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -2px 2px rgba(0,0,0,0.3);
}
.animate-pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212,175,55, 0.4), 0 10px 30px rgba(212,175,55,0.25), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.25); }
    70% { box-shadow: 0 0 0 15px rgba(212,175,55, 0), 0 10px 30px rgba(212,175,55,0.25), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.25); }
    100% { box-shadow: 0 0 0 0 rgba(212,175,55, 0), 0 10px 30px rgba(212,175,55,0.25), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.25); }
}

/* Hero Section */
.hero { 
    padding: 120px 0 100px 0; 
    position: relative;
    overflow: hidden;
}

.hero-line-animation {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, #F5E6A8, #D4AF37, transparent);
    opacity: 0.35;
    animation: panGoldLine 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes panGoldLine {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.hero-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 10; }
.headline { font-size: 3.5rem; font-weight: 900; color: var(--color-primary); line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.03em; }
.cta-wrapper { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-subtext { font-size: 0.85rem; color: var(--color-text-gray); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Dor & Cards */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.clean-card { background-color: var(--color-white); border: 1px solid var(--color-gray-medium); border-radius: 16px; padding: 32px 24px; font-weight: 600; font-size: 1.1rem; color: var(--color-text-dark); box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; text-align: center; }

/* Crenca */
.belief-container { max-width: 800px; }
.belief-text { font-size: 2.5rem; font-weight: 800; color: var(--color-text-dark); line-height: 1.2; }

/* Como Funciona */
.steps-grid { display: flex; flex-direction: column; gap: 16px; max-width: 600px; margin: 0 auto; text-align: left; }
.step-card { display: flex; align-items: center; gap: 24px; background: var(--color-gray-bg); border: 1px solid var(--color-gray-medium); border-radius: 12px; padding: 20px 24px; }
.step-number { background: var(--color-primary); color: white; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.step-card p { font-size: 1.1rem; font-weight: 600; margin: 0; }

/* Solucao/Beneficios */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.method-text { align-self: flex-start; }
.clean-list { list-style: none; text-align: left; margin-top: 32px; }
.clean-list li { font-size: 1.1rem; font-weight: 500; margin-bottom: 20px; padding-left: 36px; position: relative; line-height: 1.4; }
.clean-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--color-primary); font-weight: 900; font-size: 1.2rem; }
.clean-list.override-white li::before { color: var(--color-gold); }
.benefits-card { padding: 56px 40px; border-radius: 24px; box-shadow: var(--shadow-medium); }

/* Depoimentos */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.whatsapp-mockup { background-color: #efeae2; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); text-align: left; display: flex; flex-direction: column; border: 1px solid var(--color-gray-medium); }
.wa-header { padding: 12px 16px; display: flex; align-items: center; gap: 12px; color: white; }
.wa-avatar { width: 40px; height: 40px; background-color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; }
.wa-info strong { display: block; font-size: 1rem; line-height: 1.2; }
.wa-info span { font-size: 0.8rem; color: #e0e0e0; }
.wa-light { padding: 24px 16px; flex-grow: 1; background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); background-size: cover; }
.wa-message { background-color: white; padding: 12px 16px; border-radius: 0 12px 12px 12px; font-size: 0.95rem; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,0.1); line-height: 1.5; }
.wa-message::before { content: ''; position: absolute; top: 0; left: -10px; width: 0; height: 0; border-top: 10px solid white; border-left: 10px solid transparent; }
.wa-time { display: block; text-align: right; font-size: 0.75rem; margin-top: 8px; }

/* Formulário */
.form-wrapper { max-width: 800px; margin: 0 auto; padding: 48px; border-radius: 24px; box-shadow: var(--shadow-medium); }
.progress-bar-container { width: 100%; height: 12px; background-color: var(--color-gray-medium); border-radius: 20px; margin-bottom: 32px; overflow: hidden; }
.progress-bar { height: 100%; background-color: var(--color-primary); width: 10%; transition: width 0.4s ease; }
.form-step { display: none; animation: fadeIn 0.4s; text-align: left; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.form-step label { display: block; font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; line-height: 1.4; }
input[type="text"], select { width: 100%; padding: 16px 24px; font-size: 1.125rem; border: 2px solid var(--color-gray-medium); border-radius: 12px; background-color: var(--color-white); color: var(--color-text-dark); transition: all 0.3s ease; outline: none; font-weight: 500; }
input[type="text"]:focus, select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(15, 42, 61, 0.1); }
.form-navigation { display: flex; justify-content: space-between; margin-top: 40px; }

/* Legal Pages */
.legal-page { background: var(--color-white); }
.legal-container { max-width: 900px; margin: 0 auto; padding: 80px 24px; text-align: left; color: var(--color-text-dark); }
.legal-title { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 40px; }
.legal-container h2 { font-size: 1.5rem; color: var(--color-primary); margin-top: 40px; margin-bottom: 16px; }
.legal-container p { font-size: 1.1rem; color: var(--color-text-gray); margin-bottom: 24px; }
.legal-container ul { margin-bottom: 32px; list-style: none; }
.legal-container ul li { font-size: 1.1rem; margin-bottom: 12px; padding-left: 24px; position: relative; }
.legal-container ul li::before { content: '→'; position: absolute; left: 0; color: var(--color-gold); }
.back-link { display: inline-block; color: var(--color-primary); text-decoration: none; font-weight: 600; padding: 8px 16px; border: 1px solid var(--color-primary); border-radius: 6px; }
.back-link:hover { color: white; background-color: var(--color-primary); }

/* Footer */
.footer { padding: 80px 0 40px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-link { text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.footer-link:hover { color: var(--color-gold) !important; }

/* Responsive */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 16px; }
    .nav-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .headline { font-size: 2.5rem; }
    .method-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-wrapper { padding: 32px 20px; }
    .form-navigation { flex-direction: column; gap: 16px; }
    #prev-btn { margin-left: auto; margin-right: auto; width: 100%; }
    #next-btn, #submit-btn { margin-left: 0 !important; width: 100%; }
    .btn-gold { padding: 18px 32px; font-size: 1.1rem; }
    .section { padding: 80px 0; }
}
