/* CSS Contato e Formulários */

/* Seção Contato */
.contato {
    padding: 80px 0;
    background: #f8f9fa;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contato-info {
    display: grid;
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-color, #dc3545);
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    margin: 0;
}

/* Formulário */
.contato-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    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-color, #dc3545);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color, #dc3545);
    transition: transform 0.3s ease;
}

.faq-question i.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Depoimentos */
.depoimentos {
    padding: 80px 0;
    background: white;
}

.depoimentos-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.depoimento-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    display: none;
    position: relative;
}

.depoimento-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.rating {
    margin-bottom: 20px;
}

.rating i {
    color: #ffd700;
    margin: 0 2px;
    font-size: 1.2rem;
}

.rating i.filled {
    color: #ffd700;
}

.depoimento-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author h4 {
    color: var(--primary-color, #dc3545);
    margin-bottom: 5px;
}

.author span {
    color: #666;
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color, #dc3545);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color, #dc3545);
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Serviços */
.servicos {
    padding: 80px 0;
    background: white;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.servico-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #dc3545);
}

.servico-icon {
    font-size: 3rem;
    color: var(--primary-color, #dc3545);
    margin-bottom: 20px;
}

.servico-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.servico-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.servico-link {
    color: var(--primary-color, #dc3545);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.servico-link:hover {
    color: #c82333;
}

/* Tabs de Serviços */
.servicos-tabs {
    padding: 80px 0;
    background: #f8f9fa;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color, #dc3545);
    border-color: var(--primary-color, #dc3545);
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.tab-text h3 {
    color: #333;
    margin-bottom: 15px;
}

.tab-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tab-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.tab-text li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.tab-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color, #dc3545);
    font-weight: bold;
}

.tab-info .info-card {
    margin-bottom: 20px;
}

.cta-final {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 15px;
}

.cta-final h3 {
    color: #333;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contato-form {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
} 