/*
 * Solutions Theme - Main Stylesheet
 * @package Solutions_Theme
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 71, 169, 0.85) 0%, rgba(3, 71, 169, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-title .title-white {
    color: var(--color-white);
    display: block;
}

.hero-title .title-yellow {
    color: var(--color-secondary);
    display: block;
}

.hero-description {
    color: var(--color-white);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-description strong {
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Stats Banner */
.stats-banner {
    position: relative;
    z-index: 3;
    margin-top: 60px;
}

.stats-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 20px;
    color: var(--color-dark);
}

.stat-content h4 {
    font-size: 16px;
    color: #B1BBCE;
    margin-bottom: 5px;
    font-weight: 400;
}

.stat-content p {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 100px 0;
    background: var(--color-dark);
}

.about-content {
    max-width: 900px;
}

.about-text {
    color: var(--color-white);
}

.section-subtitle {
    display: inline-block;
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    color: var(--color-white);
    margin-bottom: 30px;
}

.section-description {
    color: #DBDBDB;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ==========================================================================
   Counter Section
   ========================================================================== */

.counter-section {
    padding: 60px 0;
    background: var(--color-light);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.counters-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background: var(--color-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(253, 254, 4, 0.3);
}

.counter-item {
    text-align: center;
}

.counter-icon {
    width: 70px;
    height: 70px;
    background: var(--color-secondary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.counter-icon i {
    font-size: 28px;
    color: var(--color-dark);
}

.counter-number {
    font-family: var(--font-primary);
    font-size: 2em;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.counter-label {
    font-size: 16px;
    color: var(--color-text);
    margin: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    padding: 100px 0;
    background: var(--color-white);
}

.section-header {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 32px;
    color: var(--color-dark);
}

.service-title {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 15px;
}

.service-description {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Clients Section (Logo Gallery)
   ========================================================================== */

.clients-section {
    padding: 100px 0;
    background: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(3, 71, 169, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.clients-section .section-title {
    color: var(--color-text);
}

.clients-count {
    text-align: center;
    margin-top: 20px;
}

.count-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    color: var(--color-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.count-badge i {
    color: var(--color-primary);
    font-size: 20px;
}

.count-badge strong {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.client-logo {
    background: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(3, 71, 169, 0.15);
}

.client-logo:hover::before {
    opacity: 0.03;
}

.client-logo img {
    max-width: 70%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

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

/* Animation on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-logo {
    animation: fadeInUp 0.6s ease backwards;
}

.client-logo:nth-child(1) { animation-delay: 0.05s; }
.client-logo:nth-child(2) { animation-delay: 0.1s; }
.client-logo:nth-child(3) { animation-delay: 0.15s; }
.client-logo:nth-child(4) { animation-delay: 0.2s; }
.client-logo:nth-child(5) { animation-delay: 0.25s; }
.client-logo:nth-child(6) { animation-delay: 0.3s; }
.client-logo:nth-child(7) { animation-delay: 0.35s; }
.client-logo:nth-child(8) { animation-delay: 0.4s; }

.no-clients-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text);
    font-size: 18px;
    grid-column: 1 / -1;
}

/* ==========================================================================
   Brasil Section
   ========================================================================== */

.brasil-section {
    padding: 100px 0;
    background: var(--color-dark);
}

.brasil-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.brasil-image img {
    max-width: 100%;
    height: auto;
}

.brasil-text {
    color: var(--color-white);
}

.brasil-text .section-title {
    color: var(--color-white);
}

.brasil-text .section-description {
    color: #D7D7D7;
    margin-bottom: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-widget h3 {
    color: var(--color-secondary);
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-widget p {
    color: #D7D7D7;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.footer-social a:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    color: #D7D7D7;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--color-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #D7D7D7;
}

.contact-info i {
    color: var(--color-secondary);
    margin-top: 4px;
}

.contact-info a {
    color: #D7D7D7;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    text-align: center;
}

.copyright {
    color: #D7D7D7;
    margin: 0;
    font-size: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 2.2em;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .counters-wrapper {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .stats-container {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .about-section,
    .services-section,
    .clients-section,
    .brasil-section {
        padding: 60px 0;
    }

    .counters-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .brasil-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-top {
        padding: 50px 0 30px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .client-logo {
        padding: 20px;
        min-height: 120px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Animation Utilities
   ========================================================================== */

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--color-secondary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Certifications Bar
   ========================================================================== */

/* NOTA: Os estilos da barra de certificações são gerados dinamicamente
   no functions.php através do Customizer. Não adicione estilos aqui pois
   serão sobrescritos pelos valores do painel de personalização. */