/* non-critical.css - Estilos não essenciais para renderização inicial */

/* Estilos completos de navegação */
nav ul {
    display: flex;
    list-style: none;
}

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

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

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

nav ul li a:hover {
    color: var(--accent);
}

/* Efeito hover para menu sticky */
header.scrolled nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

header.scrolled nav ul li a:hover::after {
    width: 100%;
}

header.scrolled nav ul li a {
    color: var(--text-dark);
    position: relative;
}

/* Scroll to Top Button - MODIFICADO PARA DIREITA */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--accent);
}

.primary-button:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

/* Services Section - MODIFICADO PARA 2 POR LINHA */
.services {
    padding: 100px 0;
    background-color: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    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 25px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

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

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #033a70 100%);
    color: var(--white);
}

.process .section-title h2,
.process .section-title p {
    color: var(--white);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.process-step p {
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--secondary);
}

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

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Testimonials Section - MODIFICADA */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 50px;
}

.testimonials-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonials-rating {
    margin-bottom: 30px;
}

.testimonials-rating h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.reviews-count {
    color: var(--text-light);
    margin-bottom: 20px;
}

.google-logo {
    width: 100px;
    margin-top: 20px;
}

.testimonials-slider {
    flex: 2;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-slider-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-slide {
    flex-shrink: 0;
    background: var(--secondary);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 510px;
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    width: calc(50% - 10px);
}

.testimonial-slide.bruno-slide {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
}

.bruno-image {
    flex: 1;
    overflow: hidden;
}

.bruno-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bruno-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.bruno-content .testimonial-name {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.bruno-content .testimonial-text {
    line-height: 1.6;
    margin-bottom: 15px;
    overflow-y: auto;
    max-height: 510px;
    padding-right: 10px;
}

.bruno-content .testimonial-text::-webkit-scrollbar {
    width: 5px;
}

.bruno-content .testimonial-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.bruno-content .testimonial-text::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.testimonial-normal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-normal .testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-normal .testimonial-name {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.testimonial-normal .testimonial-text {
    flex-grow: 1;
    margin-bottom: 15px;
    overflow-y: auto;
}

.testimonial-normal .testimonial-text::-webkit-scrollbar {
    width: 5px;
}

.testimonial-normal .testimonial-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.testimonial-normal .testimonial-text::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.slider-control {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-control:hover {
    background: var(--accent);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    height: 20px;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--secondary);
}

.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: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-question i {
    transition: all 0.3s ease;
}

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

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

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.faq-answer ul, .faq-answer ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #033a70 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Form Section - MODIFICADO PARA CAMPOS VERTICAIS */
.form-section {
    padding: 0px 0;
    background-color: var(--white);
}

.form-container {
    background-color: var(--secondary);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-title h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    position: relative;
}

.checkbox-group.required::before {
    content: '*';
    color: red;
    position: absolute;
    left: -15px;
    top: 5px;
    font-size: 1.2em;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.checkbox-item input {
    width: auto;
    margin-right: 8px;
}

.submit-button {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: var(--primary);
}

.error-message {
    display: none;
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent);
    width: 20px;
}

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

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

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: 1;
    }
    
    .submit-button {
        grid-column: 1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul li a {
        color: var(--text-dark);
        display: block;
        padding: 10px 0;
        transition: all 0.3s ease;
    }
    
    /* Efeito hover para menu hambúrguer */
    nav ul li a:hover {
        color: var(--accent);
        padding-left: 10px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials Mobile Styles */
    .testimonials-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonials-info {
        text-align: center;
        padding: 0 20px;
    }
    
    .testimonial-slider-container {
        gap: 0;
    }
    
    .testimonial-slide {
        flex: 0 0 100%;
        margin: 0 0px;
        height: 450px;
        min-height: 400px;
    }
    
    .testimonial-slide.bruno-slide {
        flex-direction: column;
    }
    
    .bruno-image {
        height: 200px;
    }
    
    .bruno-content {
        overflow-y: visible;
    }
    
    .checkbox-group.required::before {
        left: -10px;
    }
}

/* Adicionar estilo para a mensagem de agradecimento */
.thank-you-message {
    display: none;
    text-align: center;
    padding: 30px;
    background-color: #f0f9ff;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid var(--primary);
}

.thank-you-message h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Estilo para campos com erro */
.error-field {
    border: 2px solid red !important;
}

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

/* Remover o badge do reCAPTCHA */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

/* Mensagem sobre uso de reCAPTCHA para LGPD */
.recaptcha-notice {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}

/* Remover o asterisco vermelho do primeiro serviço */
.checkbox-group.required::before {
    display: none !important;
}

/* Ocultar slide especial do Bruno em mobile */
@media (max-width: 768px) {
    .testimonial-slide.bruno-slide {
        display: none !important;
    }
    
    .bruno-slide-mobile {
        display: flex !important;
    }
}

/* Ocultar slide normal do Bruno em desktop */
@media (min-width: 769px) {
    .bruno-slide-mobile {
        display: none !important;
    }
}

/* Correção para a foto do Bruno no slide mobile */
.bruno-slide-mobile .testimonial-normal .testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Garantir que o slide do Bruno em mobile tenha a mesma estrutura dos outros */
.bruno-slide-mobile .testimonial-normal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bruno-slide-mobile .testimonial-text {
    flex-grow: 1;
    margin-bottom: 15px;
    overflow-y: auto;
}

/* Ajustes para garantir que o texto não ultrapasse */
@media (max-width: 768px) {
    .bruno-slide-mobile .testimonial-text {
        max-height: 200px;
    }
}

/* Estilos adicionais para desktop (acima de 768px) */
@media (min-width: 769px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .hero {
        background-attachment: fixed;
    }
}
