﻿/* Global overflow fix */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Landing Section */
.landing-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    padding: 0;
    margin-top: -4vh;
    margin-bottom: 0;
}

/* Ensure no spacing between navbar and landing */
.landing-section:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.landing-background {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.landing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.landing-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .landing-content h1 {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .landing-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .landing-content .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 5px;
    }





/* Quem Somos */
.quem-somos-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.quem-somos-section .container {
    padding: 40px 15px;
}

.quem-somos-background {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: 500px;
    display: flex;
    align-items: center;
    width: 100%;
    transform: translateZ(0);
    overflow: hidden;
}

.quem-somos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.quem-somos-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.quem-somos-tabs {
    background: rgba(44, 44, 44, 0.95);
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.tab-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.tab-button:hover {
    color: #4a90e2;
}

.tab-button.active {
    background: #4a90e2;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.tab-content {
    margin-bottom: 0;
}

.tab-pane {
    display: none;
    color: white;
    line-height: 1.8;
    font-size: 1.1rem;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.tab-pane p:last-child {
    margin-bottom: 0;
}

/* Testemunhos */
.testimonials-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.testimonials-section .container {
    padding: 40px 15px;
}

.testimonials-background {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    width: 100%;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.testimonials-header {
    height: 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.testimonials-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0,0,0,0.05) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(0,0,0,0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(0,0,0,0.05) 1.5px, transparent 1.5px);
    background-size: 50px 50px, 30px 30px, 40px 40px;
}

.testimonials-content {
    padding: 0;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    font-style: italic;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-author h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-author p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.testimonial-quote i {
    font-size: 3rem;
    color: #4a90e2;
    opacity: 0.7;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
    width: 100%;
    text-align: center;
}

.testimonial-item.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-quote {
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-text {
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.testimonial-author {
    text-align: center;
    width: 100%;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: #4a90e2;
    transform: scale(1.2);
}

.dot.active {
    background: #4a90e2;
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .landing-background {
        min-height: 50vh;
    }
    
    .landing-content h1 {
        font-size: 2rem;
    }
    

    
    .quem-somos-tabs {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        margin: 0;
        width: 100%;
        max-width: none;
        border-radius: 0;
    }
    
    .tab-pane {
        font-size: 1rem;
    }
    
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-text p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .testimonial-quote i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .landing-background {
        min-height: 40vh;
    }
    
    .landing-content h1 {
        font-size: 1.8rem;
    }
    

    
    .quem-somos-section {
        padding: 60px 0;
    }
    
    .quem-somos-tabs {
        padding: 1.5rem 1rem;
    }
    
    .tab-button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .testimonials-content {
        padding: 60px 0;
    }
    
    .testimonials-title {
        font-size: 1.8rem;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .testimonial-author h4 {
        font-size: 1.1rem;
    }
}

/* Services Section Styles */
.services-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.services-section .container {
    padding: 0 15px 40px 15px;
}

.services-header {
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-top: 40px;
}

.services-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.service-features li i {
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 0.8rem;
    width: 16px;
}

/* Responsive adjustments nos serviços */
@media (max-width: 768px) {
    .services-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .services-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
}
