/**
 * Busca.Legal 2025 - Custom Styles
 * Design inspirado em epiic.com, jusbrasil e thenewscc
 * Focus: Clean, Modern, Professional com muito espaço em branco
 */

:root {
    --primary-blue: #1a2f4a;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --off-white: #f8f9fa;
    --accent-bordeaux: #8b2635;
    --accent-orange: #e67e22;
    --accent-green: #27ae60;
    --white: #ffffff;
    --border-light: #e0e0e0;
}

/* ==========================================================================
   Typography & Global
   ========================================================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c4a6f 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(26, 47, 74, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 47, 74, 0.35);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* Cards - Estilo epiic.com */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Header - Clean & Sticky
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

.main-navigation {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-navigation a:hover {
    color: var(--primary-blue);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation .btn-acessar {
    background: var(--primary-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    border: none;
}

.main-navigation .btn-acessar::after {
    display: none;
}

.main-navigation .btn-acessar:hover {
    background: var(--accent-orange);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ==========================================================================
   Solutions Section - Grid Moderno
   ========================================================================== */
.solutions-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.solution-card {
    background: white;
    padding: 45px 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    font-size: 56px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
    color: var(--accent-orange);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.3;
}

.solution-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.solution-card .btn {
    margin-top: 10px;
}

/* ==========================================================================
   Clients Logos - Estilo epiic.com
   ========================================================================== */
.clients-logos-section {
    padding: 80px 0;
    background: white;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 50px;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
}

.client-logo {
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.client-logo img {
    max-width: 140px;
    height: auto;
}

/* ==========================================================================
   Counters - Gradiente Moderno
   ========================================================================== */
.counters-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c4a6f 100%);
    color: white;
    padding: 80px 0;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
}

.counter-item {
    padding: 30px 20px;
}

.counter-icon {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
    letter-spacing: -1px;
}

.counter-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ==========================================================================
   Newsletter - Form Limpo
   ========================================================================== */
.newsletter-section {
    background: var(--off-white);
}

.newsletter-form {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 47, 74, 0.1);
}

/* ==========================================================================
   About Section - 2 Colunas Reorganizado
   ========================================================================== */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%) !important;
    padding: 100px 0 !important;
}

.about-two-columns {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 60px !important;
    margin-top: 60px !important;
}

/* Coluna Esquerda - Cards */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 20px;
    align-items: start;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.about-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left-color: var(--accent-orange);
}

.about-card-award {
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
    border-left-color: #f39c12;
}

.about-card-award:hover {
    border-left-color: #e67e22;
}

.about-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.12) 0%, rgba(139, 38, 53, 0.12) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(230, 126, 34, 0.6);
    font-size: 26px;
}

.about-card-award .about-card-icon {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15) 0%, rgba(230, 126, 34, 0.15) 100%);
    color: rgba(243, 156, 18, 0.7);
}

.about-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-card-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Coluna Direita - Founders Box */
.about-right {
    position: sticky;
    top: 100px;
}

.cofounders-box {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(26, 47, 74, 0.08);
}

.cofounders-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--off-white);
}

.cofounders-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cofounder-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: var(--off-white);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.cofounder-item:hover {
    background: white;
    border-color: var(--primary-blue);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cofounder-photo-small {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-blue);
}

.cofounder-photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cofounder-info {
    flex: 1;
    position: relative;
}

.cofounder-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.cofounder-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.cofounder-info span {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #0077B5;
}

/* Responsivo About Section */
@media (max-width: 992px) {
    .about-two-columns {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .about-right {
        position: relative;
        top: 0;
    }
}

/* ==========================================================================
   Contact Section - Form + Info Side by Side
   ========================================================================== */
.contact-section {
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-info {
    padding: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-info-icon {
    font-size: 28px;
    color: var(--primary-blue);
    margin-right: 20px;
    min-width: 40px;
}

.contact-info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-blue);
    font-weight: 700;
}

.contact-info-text p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 15px;
}

.whatsapp-highlight {
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.whatsapp-highlight i {
    font-size: 42px;
}

.whatsapp-highlight strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.whatsapp-highlight p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* ==========================================================================
   Footer - Profissional
   ========================================================================== */
.site-footer {
    background: var(--primary-blue);
    color: white;
    padding: 70px 0 30px;
    margin-top: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-security img {
    max-width: 160px;
    height: auto;
}

.footer-legal {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal span {
    opacity: 0.3;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-copyright p {
    margin-bottom: 5px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 992px) {
    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 30px;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form,
    .contact-form {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .counters-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
