/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-repair {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Botões */
.btn-primary,
.btn-secondary,
.btn-large {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary);
    color: var(--white);
}

.btn-large:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta {
    background: linear-gradient(135deg, var(--secondary), #059669);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-slogan {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-subtitle strong {
    color: var(--secondary);
    font-weight: 700;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.feature-icon {
    color: var(--secondary);
    font-size: 1.25rem;
}

.trust-message {
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}

/* Seções Gerais */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Problemas */
.problems {
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.problem-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
}

.cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Como Funciona */
.how-it-works {
    background: var(--light-gray);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
}

/* Prova Social */
.social-proof {
    background: var(--white);
}

.brands {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    align-items: center;
}

.brand-item {
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.brand-logo {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--dark);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

/* Galeria */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.gallery-desc {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Economia */
.savings {
    background: var(--light-gray);
}

.savings-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.savings-option {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.savings-label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 8px 16px;
    border-radius: 8px;
}

.savings-label.bad {
    background: #fee2e2;
    color: #dc2626;
}

.savings-label.good {
    background: #d1fae5;
    color: #059669;
}

.savings-price {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.savings-highlight {
    color: var(--secondary);
    font-size: 2rem;
}

.savings-list {
    list-style: none;
    text-align: left;
}

.savings-list li {
    padding: 8px 0;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.savings-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.savings-vs {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray);
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--dark), #334155);
    color: var(--white);
    text-align: center;
}

.cta-final h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-slogan {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 5px 0;
}

footer p {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .savings-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .savings-vs {
        transform: rotate(90deg);
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Animações de Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
