/**
 * CLONE EXATO DO DESIGN PARETO.IO - AGÊNCIA FER
 * Baseado na análise completa do site original
 * Arquivo CSS clonado para replicar perfeitamente o design
 */

/* ==== COMPATIBILIDADE COM TEMA WORDPRESS SALIENT ==== */
.fer-home2-template .content-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fer-home2-template .site-main {
    margin: 0 !important;
    padding: 0 !important;
}

.fer-home2-template .page-header,
.fer-home2-template .entry-header,
.fer-home2-template .breadcrumbs,
.fer-home2-template .sidebar,
.fer-home2-template .entry-content {
    display: none !important;
}

/* ==== RESET ESPECÍFICO - CLONE PARETO ==== */
.fer-home2 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fer-home2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000000;
    background: #ffffff;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
}

/* ==== LAYOUT BASE - CLONE PARETO ==== */
.fer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==== HERO SECTION - EXATO COMO PARETO.IO ==== */
.fer-hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.fer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
    opacity: 1;
}

.fer-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.fer-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
}

.fer-hero .subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 48px;
    opacity: 0.9;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.fer-hero .tagline {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* ==== BOTÕES CTA - CLONE PARETO ==== */
.fer-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.fer-btn {
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    justify-content: center;
}

.fer-btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid transparent;
}

.fer-btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    color: #000000;
    text-decoration: none;
}

.fer-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fer-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
}

/* ==== LOGOS DE CLIENTES - CLONE PARETO ==== */
.fer-clients {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.fer-clients h3 {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 48px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fer-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.fer-client-logo {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.fer-client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.fer-client-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ==== SEÇÃO "CREATE. SHARE. GROW." - CLONE PARETO ==== */
.fer-process {
    padding: 120px 0;
    background: #ffffff;
}

.fer-process h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 700;
    color: #000000;
    line-height: 1.1;
}

.fer-process .subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: #666666;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.fer-process-demo {
    max-width: 1000px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
}

.fer-demo-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: #000000;
}

.fer-demo-subtitle {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 48px;
}

.fer-workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.fer-workflow-step {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.fer-workflow-step img {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 8px;
}

.fer-workflow-step h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.fer-workflow-step p {
    font-size: 0.8rem;
    color: #666666;
}

/* ==== SEÇÃO "INFINITE POSSIBILITIES" - CLONE PARETO ==== */
.fer-features {
    padding: 120px 0;
    background: #f8f9fa;
}

.fer-features h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 700;
    color: #000000;
    line-height: 1.1;
}

.fer-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.fer-feature {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.fer-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.fer-feature-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
}

.fer-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fer-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #000000;
}

.fer-feature p {
    color: #666666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ==== DEPOIMENTOS - CLONE PARETO ==== */
.fer-testimonials {
    padding: 120px 0;
    background: #ffffff;
}

.fer-testimonials h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 700;
    color: #000000;
}

.fer-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.fer-testimonial {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 16px;
    position: relative;
    border: 1px solid #f0f0f0;
}

.fer-testimonial-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 24px;
    font-style: italic;
}

.fer-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fer-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.fer-testimonial-info h4 {
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.fer-testimonial-info span {
    color: #666666;
    font-size: 0.85rem;
}

/* ==== CTA FINAL - CLONE PARETO ==== */
.fer-final-cta {
    padding: 120px 0;
    background: #000000;
    color: white;
    text-align: center;
}

.fer-final-cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: #ffffff;
}

.fer-final-cta p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.fer-final-cta .fer-cta-buttons {
    margin-top: 48px;
}

.fer-cta-guarantee {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

/* ==== BADGES G2 - CLONE PARETO ==== */
.fer-badges {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.fer-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.fer-badge {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.fer-badge img {
    max-width: 100%;
    height: auto;
}

/* ==== RESPONSIVIDADE - CLONE PARETO ==== */
@media (max-width: 768px) {
    .fer-hero {
        padding: 80px 0 60px;
        min-height: 60vh;
    }
    
    .fer-hero h1 {
        font-size: 2.5rem;
    }
    
    .fer-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .fer-process h2,
    .fer-features h2,
    .fer-testimonials h2,
    .fer-final-cta h2 {
        font-size: 2.2rem;
    }
    
    .fer-container {
        padding: 0 16px;
    }
    
    .fer-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .fer-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .fer-workflow-grid,
    .fer-features-grid,
    .fer-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .fer-clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .fer-process,
    .fer-features,
    .fer-testimonials,
    .fer-final-cta {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .fer-hero h1 {
        font-size: 2rem;
    }
    
    .fer-hero .subtitle {
        font-size: 1rem;
    }
    
    .fer-process h2,
    .fer-features h2,
    .fer-testimonials h2,
    .fer-final-cta h2 {
        font-size: 1.8rem;
    }
    
    .fer-feature,
    .fer-testimonial,
    .fer-process-demo {
        padding: 24px;
    }
    
    .fer-clients-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==== ANIMAÇÕES - CLONE PARETO ==== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fer-animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fer-workflow-step,
.fer-feature,
.fer-testimonial {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fer-workflow-step.fer-visible,
.fer-feature.fer-visible,
.fer-testimonial.fer-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==== PERFORMANCE OPTIMIZATIONS ==== */
.fer-hero,
.fer-final-cta {
    will-change: transform;
}

.fer-btn,
.fer-feature,
.fer-testimonial {
    will-change: transform, box-shadow;
}

/* ==== PRINT STYLES ==== */
@media print {
    .fer-hero,
    .fer-final-cta {
        background: #000000 !important;
        color: white !important;
    }
    
    .fer-btn {
        border: 2px solid #000000 !important;
        color: #000000 !important;
        background: white !important;
    }
}

/* ==== REDUCED MOTION ==== */
@media (prefers-reduced-motion: reduce) {
    .fer-workflow-step,
    .fer-feature,
    .fer-testimonial,
    .fer-animate-in {
        animation: none !important;
        transition: none !important;
    }
    
    .fer-hero {
        transform: none !important;
    }
}

/* ==== HIGH CONTRAST ==== */
@media (prefers-contrast: high) {
    .fer-btn,
    .fer-feature,
    .fer-testimonial {
        border: 2px solid currentColor !important;
    }
}
