/* Modern SEO and UX Improvements */

/* Header improvements */
.header-subtitle {
    font-size: 1.2em;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Section descriptions */
.section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Credentials styling */
.credentials p {
    margin: 10px 0;
    font-size: 1.1em;
}

/* Service box improvements */
.service-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-box h3 {
    color: #2c3e50;
    margin: 20px 0 15px 0;
    font-weight: 600;
}

/* Contact improvements */
.contact-subtitle {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

.contact h3 {
    color: #2c3e50;
    margin-top: 20px;
    font-weight: 600;
}

/* Social media improvements 2025 */
.social-media {
    margin-top: 40px;
}

.social-media h3 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 15px;
    padding: 20px;
    min-width: 120px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-link {
    color: #25D366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.05));
}

.whatsapp-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.facebook-link {
    color: #1877F2;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(24, 119, 242, 0.05));
}

.facebook-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #1877F2, #166FE5);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.instagram-link {
    color: #E4405F;
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.1), rgba(228, 64, 95, 0.05));
}

.instagram-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.4);
}

.social-link:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.social-text {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* WhatsApp Floating Button - 2025 Trend */
.whatsapp-float {
    position: fixed;
    bottom: 80px; /* Ajustado para não conflitar com o footer */
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px; /* Aumentado um pouco */
    height: 65px; /* Aumentado um pouco */
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5); /* Shadow mais forte */
    transition: all 0.3s ease;
    font-size: 26px; /* Ícone maior */
}

.whatsapp-float a:hover {
    transform: scale(1.15); /* Efeito hover mais pronunciado */
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float.pulse a {
    animation: whatsappPulse 1s ease-in-out;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); } /* Pulse mais visível */
    100% { transform: scale(1); }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px; /* Ajustado para o novo tamanho */
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 10px 15px; /* Padding maior */
    border-radius: 25px;
    font-size: 13px; /* Texto ligeiramente maior */
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Shadow no tooltip */
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Testimonials Section - 2025 Style */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #008367, #006b56);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Google Rating Card Special Style */
.google-rating {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid #008367;
}

.google-rating::before {
    background: linear-gradient(135deg, #008367, #006b56);
}

.google-logo {
    font-size: 24px;
    color: #008367;
    margin-bottom: 15px;
}

.rating-summary {
    margin: 20px 0;
}

.big-rating {
    font-size: 48px;
    font-weight: bold;
    color: #008367;
    line-height: 1;
    margin-bottom: 10px;
}

.total-reviews {
    color: #666;
    font-size: 14px;
    margin: 10px 0 0 0;
}

.stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    color: #2c3e50;
    font-size: 16px;
}

.testimonial-author span {
    color: #666;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* FAQ Section - Modern Accordion */
.faq-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #008367, #006b56);
    color: white;
}

.faq-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

.faq-question i {
    transition: transform 0.3s ease;
    margin-left: 15px;
    font-size: 14px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 30px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Active menu item */
.navbar-nav a.active {
    color: #008367 !important;
    font-weight: 600;
}

/* Footer improvements */
footer p {
    margin: 0;
    padding: 10px;
    font-size: 14px;
}

footer a {
    color: #333;
    text-decoration: none;
}

footer a:hover {
    color: #008367;
    text-decoration: underline;
}

/* Gallery improvements */
#fotos .section-heading {
    margin-bottom: 20px;
}

#fotos .section-description {
    margin-bottom: 40px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .header-subtitle {
        font-size: 1em;
        margin: 15px 0;
    }
    
    .service-box {
        margin-bottom: 20px;
        padding: 20px 15px;
    }
    
    .credentials p {
        font-size: 1em;
    }
    
    footer p {
        font-size: 12px;
        padding: 8px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .social-link {
        min-width: 100px;
        padding: 15px;
    }

    .whatsapp-float {
        bottom: 70px; /* Ajustado para mobile considerando o footer */
        right: 20px;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .whatsapp-tooltip {
        right: 65px;
        font-size: 12px;
        padding: 8px 12px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer p {
        padding: 15px 20px;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states for better accessibility */
a:focus,
button:focus {
    outline: 2px solid #008367;
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 3px;
}

.skip-link:focus {
    top: 6px;
}
