/* 
   Conecte Finanças - Estilos
   Paleta de cores: #283434 (verde escuro), #8CAB5E (verde claro), #F5D879 (amarelo)
*/

/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #8CAB5E;
    transition: all 0.3s ease;
}

a:hover {
    color: #F5D879;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #283434;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #8CAB5E;
    color: white;
    border: 2px solid #8CAB5E;
}

.btn-primary:hover {
    background-color: #283434;
    border-color: #283434;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #8CAB5E;
    border: 2px solid #8CAB5E;
}

.btn-secondary:hover {
    background-color: #8CAB5E;
    color: white;
}

/* Header */
#header {
    background-color: #283434;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 30px;
}

.desktop-nav ul li a {
    color: white;
    font-weight: 600;
    position: relative;
}

.desktop-nav ul li a:hover {
    color: #F5D879;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #F5D879;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: #283434;
    padding: 20px;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: white;
    font-weight: 600;
    display: block;
    padding: 10px 0;
}

.mobile-nav ul li a:hover {
    color: #F5D879;
}

/* Hero Section */
.hero {
    background-color: #283434;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    background-image: linear-gradient(rgba(40, 52, 52, 0.9), rgba(40, 52, 52, 0.9)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #F5D879;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About BPO Section */
.about-bpo {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background-color: #283434;
    color: white;
}

.services .section-title {
    color: #F5D879;
}

.services .section-subtitle {
    color: #f9f9f9;
}

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

.service-card {
    background-color: #8CAB5E;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-header {
    background-color: #8CAB5E;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.service-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.service-header i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #283434;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.toggle-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8CAB5E;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.service-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card.active .service-content {
    padding: 20px;
    max-height: 500px;
}

.service-card.active .toggle-btn {
    transform: rotate(45deg);
}

.service-content ul {
    list-style: none;
}

.service-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-content ul li::before {
    content: '✓';
    color: #8CAB5E;
    position: absolute;
    left: 0;
    top: 0;
}

/* Benefits Section */
.benefits {
    background-color: white;
}

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

.benefit-card {
    background-color: #283434;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-icon {
    font-size: 2.5rem;
    color: #F5D879;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #F5D879;
    margin-bottom: 15px;
}

.benefit-card p {
    color: white;
    margin-bottom: 12px;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #283434;
    color: white;
}

.why-choose-us .section-title {
    color: #F5D879;
}

.why-choose-us .section-subtitle {
    color: #f9f9f9;
}

.why-choose-us p {
    color: #283434;
    margin-bottom: 12px;
}

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

.reason-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.reason-icon {
    font-size: 2.5rem;
    color: #8CAB5E;
    margin-bottom: 20px;
}

.reason-card h3 {
    color: #283434;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #283434;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .toggle-btn {
    transform: rotate(45deg);
}

/* Contact Section */
.contact {
    background-color: #283434;
}

.contact .section-title {
    color: #F5D879;
}

.contact .section-subtitle {
    color: #f9f9f9;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: #F5D879;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(140, 171, 94, 0.1);
    border-radius: 50%;
}

.info-item p {
    color: white;
    margin-bottom: 12px;
}

.contact-form {
    flex: 2;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #283434;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8CAB5E;
}

/* Footer */
.footer {
    background-color: #283434;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-info h3,
.footer-social h3 {
    color: #F5D879;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
}

.footer-links ul li a:hover {
    color: #F5D879;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icons a:hover {
    background-color: #F5D879;
    color: #283434;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0px;
}

.footer-bottom a {
    font-size: 0.7rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #8CAB5E;
    font-weight: bold;
}

#modal-list {
    margin-top: 20px;
    padding-left: 20px;
}

#modal-list li {
    margin-bottom: 10px;
    position: relative;
}

#modal-list li::before {
    content: '✓';
    color: #8CAB5E;
    position: absolute;
    left: -20px;
}