/* === SEÇÃO FAQ === */
.faq-section {
    background: #f8f9fa;
    padding: 80px 20px;
    margin: 50px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1 {
    display: block;
    font-size: 2.5em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

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

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.faq-toggle {
    display: none;
}

.faq-pergunta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    background: white;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.faq-pergunta:hover {
    background: #f8f9fa;
    color: #667eea;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-toggle:checked + .faq-pergunta .faq-icon {
    transform: rotate(45deg);
    color: #764ba2;
}

.faq-toggle:checked + .faq-pergunta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.faq-toggle:checked + .faq-pergunta .faq-icon {
    color: white;
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    background: #f8f9fa;
    transition: all 0.4s ease;
}

.faq-toggle:checked ~ .faq-resposta {
    max-height: 200px;
    padding: 25px 30px;
    border-top: 1px solid #dee2e6;
}

.faq-resposta p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1em;
}

/* === SEÇÃO DEPOIMENTOS === */
.depoimentos {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    margin: 50px 0;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonial-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23testimonial-pattern)"/></svg>');
    pointer-events: none;
}

.depoimentos .titulo-centralizado {
    color: white;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.depoimentos-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Hide radio buttons */
.depoimentos-container input[type="radio"] {
    display: none;
}

.depoimentos-cards {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
}

.depoimento-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

/* Show first testimonial by default */
#dep1:checked ~ .depoimentos-cards .depoimento-card:nth-child(1),
#dep2:checked ~ .depoimentos-cards .depoimento-card:nth-child(2),
#dep3:checked ~ .depoimentos-cards .depoimento-card:nth-child(3) {
    transform: translateX(0);
    opacity: 1;
}

.aspas {
    font-size: 4em;
    color: #667eea;
    font-family: serif;
    line-height: 0.5;
    margin-bottom: 20px;
}

.depoimento-texto {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 20px;
}

.depoimento-autor img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}

.depoimento-autor h4 {
    margin: 0;
    color: #333;
    font-size: 1.1em;
    font-weight: bold;
}

.depoimento-autor span {
    color: #666;
    font-size: 0.9em;
}

/* Navigation dots */
.depoimentos-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.nav-dot:hover {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

#dep1:checked ~ .depoimentos-nav label[for="dep1"],
#dep2:checked ~ .depoimentos-nav label[for="dep2"],
#dep3:checked ~ .depoimentos-nav label[for="dep3"] {
    background: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Animação automática dos depoimentos */
@keyframes slide {
    0%, 30% { transform: translateX(0); opacity: 1; }
    33%, 97% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* Auto-play animation (opcional) */
.depoimentos-auto .depoimento-card {
    animation: slide 9s infinite;
}

.depoimentos-auto .depoimento-card:nth-child(1) { animation-delay: 0s; }
.depoimentos-auto .depoimento-card:nth-child(2) { animation-delay: 3s; }
.depoimentos-auto .depoimento-card:nth-child(3) { animation-delay: 6s; }

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .faq-section, .depoimentos {
        padding: 40px 15px;
        margin: 30px 0;
    }
    
    .faq-pergunta {
        padding: 20px 20px;
        font-size: 1em;
    }
    
    .faq-resposta {
        padding: 0 20px;
    }
    
    .faq-toggle:checked ~ .faq-resposta {
        padding: 20px 20px;
    }
    
    .depoimento-card {
        padding: 25px;
        height: auto;
        min-height: 250px;
    }
    
    .depoimentos-cards {
        height: auto;
        min-height: 280px;
    }
    
    .depoimento-texto {
        font-size: 1em;
    }
    
    .depoimento-autor {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .aspas {
        font-size: 3em;
    }
}

@media (max-width: 480px) {
    .faq-pergunta {
        padding: 15px;
        font-size: 0.95em;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
    }
    
    .depoimento-card {
        padding: 20px;
    }
    
    .depoimento-autor img {
        width: 50px;
        height: 50px;
    }
}

/* === EFEITOS EXTRAS === */
.faq-item:nth-child(odd) .faq-pergunta {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-item:nth-child(even) .faq-pergunta {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
}

/* Efeito de pulse nos dots */
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-dot:nth-child(1) { animation: pulse-dot 3s infinite; animation-delay: 0s; }
.nav-dot:nth-child(2) { animation: pulse-dot 3s infinite; animation-delay: 1s; }
.nav-dot:nth-child(3) { animation: pulse-dot 3s infinite; animation-delay: 2s; }