/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --accent-color: #1abc9c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gradient-1: linear-gradient(135deg, #2ecc71, #27ae60, #1abc9c);
    --gradient-2: linear-gradient(135deg, #27ae60, #1abc9c, #16a085);
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --section-padding: 5rem 2rem;
    --container-width: 1200px;
    --heading-margin: 3rem 0;
    --card-padding: 2rem;
    --grid-gap: 2rem;
    --h1-size: 2.5rem;
    --h2-size: 1.6rem;
    --h3-size: 1.2rem;
    --text-size: 0.9rem;
    --small-text: 0.8rem;
    --vh: 1vh;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Texto justificado para todo o site */
p {
    text-align: justify;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 90px; /* Increased from 20px */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: transparent;
    height: 150px; /* Increased */
    padding: 0;
    position: absolute;
    left: 2rem;
    top: -25px; /* Adjusted to position logo properly with larger navbar */
    z-index: 1001; /* Ensure it stays on top of other elements */
}

.logo img {
    height: 140px; /* Increased */
    width: auto;
    object-fit: contain;
    object-position: left center;
    transition: transform 0.3s ease;
    max-width: none;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    margin-left: auto;
    margin-right: 2rem;
    padding-left: 200px; /* Increased to allow more space for logo */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(46, 204, 113, 0.1);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    margin: 5px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    header {
        height: 80px; /* Adjusted for tablets */
    }

    .logo {
        height: 140px; /* Adjusted for consistency */
        left: 1rem;
        top: -25px;
    }

    .logo img {
        height: 130px; /* Adjusted for tablets */
        width: auto;
    }

    nav {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1.5rem;
        margin-right: 1rem;
        padding-left: 170px; /* Adjusted for tablets */
    }
}

@media (max-width: 768px) {
    header {
        height: 80px !important; /* Enforced height for mobile */
    }

    .logo {
        height: 120px !important; /* Adjusted for mobile */
        left: 1rem;
        top: -20px !important; /* Adjusted for mobile */
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .logo img {
        height: 120px !important; /* Adjusted for mobile */
        width: auto !important;
        margin: 0;
        object-fit: contain;
        object-position: center;
    }

    nav {
        padding: 0 1rem;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px; /* Match the header height */
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem;
        transition: 0.3s ease;
        gap: 1.5rem;
        margin: 0;
        z-index: 999;
    }

    .nav-overlay {
        position: fixed;
        top: 80px; /* Match the header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
        backdrop-filter: blur(3px);
    }

    /* Make sure the burger menu is visible and properly styled */
    .burger {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: absolute;
        right: 1rem;
        z-index: 1000;
    }
    
    /* Ensure proper animation of burger menu items */
    .burger div {
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .burger div:nth-child(1) {
        top: 0;
        transform-origin: left;
    }
    
    .burger div:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .burger div:nth-child(3) {
        bottom: 0;
        transform-origin: left;
    }
    
    /* Navigation active states */
    .nav-active .nav-links {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-active .nav-links li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(0.1s * var(--i));
    }
    
    .nav-active .burger div:nth-child(1) {
        transform: rotate(45deg);
        top: 0;
        left: 5px;
    }
    
    .nav-active .burger div:nth-child(2) {
        transform: translateX(100%);
        opacity: 0;
    }
    
    .nav-active .burger div:nth-child(3) {
        transform: rotate(-45deg);
        bottom: -1px;
        left: 5px;
    }
    
    .nav-active ~ .nav-overlay {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    header {
        height: 70px !important; /* Adjusted for smaller screens */
    }

    .logo {
        height: 100px !important; /* Reduced height for smaller screens */
        left: 0.8rem;
        top: -15px !important;
    }

    .logo img {
        height: 100px !important; /* Adjusted for smaller screens */
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .nav-links {
        top: 70px !important; /* Match the new header height */
        height: calc(100vh - 70px) !important;
    }

    .nav-overlay {
        top: 70px !important;
        height: calc(100vh - 70px) !important;
    }

    /* Adjust hero margin for new header height */
    .hero {
        margin-top: 70px !important; /* Match the new header height */
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 90px; /* Updated to match the new navbar height */
    padding: 0;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Ajusta o foco da imagem */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.2rem;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff 30%, #e0e0e0 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

/* Centralizar o texto do hero principal */
.hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: #e0e0e0;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100%;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-2);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease 0.5s backwards;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.cta-button:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.cta-button {
    animation: fadeInUp 1s ease 0.5s backwards, pulse 2s infinite;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background-color: var(--light-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

.services-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    max-width: 280px;
    margin: 0 auto;
    transform-origin: center;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.service-card:hover i {
    transform: scale(1.2);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.service-features {
    flex: 1;
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.service-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 1.5px solid var(--primary-color);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.4s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-2);
    transition: all 0.4s ease;
    z-index: -1;
}

.service-cta:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.2);
    border-color: transparent;
}

.service-cta:hover::before {
    width: 100%;
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background: var(--white);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #2ecc71, #27ae60, #1abc9c);
}

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

.about-features {
    display: grid;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: rgba(46, 204, 113, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateX(5px);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.feature p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Vision Section */
.vision {
    padding: 2rem 2rem;
    background-color: var(--white);
}

.vision-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-text h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.vision-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

.vision-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem auto;
    max-width: 800px;
}

.vision-image {
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    order: -1; /* Move a imagem para a esquerda */
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-text {
        padding: 0 1rem;
    }

    .vision-text h2 {
        font-size: 2rem;
    }

    .vision-text p {
        font-size: 1rem;
        padding: 0;
        margin: 1.5rem auto;
    }

    .vision-image {
        height: 300px;
        order: 0; /* Reset order on mobile */
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 1rem;
    background: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-size: 2.5rem;
}

.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonials-grid::-webkit-scrollbar {
    height: 8px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.testimonial-card {
    flex: 0 0 300px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: auto;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.7rem;
}

/* Responsive Testimonials - Reimplementado para mobile */
@media (max-width: 768px) {
    .testimonials-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
        max-width: 100%;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    
    .testimonial-card {
        width: 100%;
        margin-right: 0;
        padding: 1rem;
        box-sizing: border-box;
        max-width: 100%;
        scroll-snap-align: none;
        flex: none;
    }
    
    .testimonial-content {
        margin-bottom: 1rem;
    }
    
    .testimonial-content i {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
    }
    
    .testimonial-author img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 3rem 0.8rem;
    }
    
    .testimonials h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-content p {
        font-size: 0.8rem;
    }
    
    .testimonial-author img {
        width: 30px;
        height: 30px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background: var(--white);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-size: 2.5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0.8rem;
    background: rgba(46, 204, 113, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateX(5px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 1;
    position: absolute;
    left: 1rem;
    z-index: 0;
}

.info-item .info-content {
    position: relative;
    z-index: 1;
    margin-left: 3.5rem;
}

.info-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--gradient-2);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer Styles */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0.5rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    letter-spacing: 0.5px;
    margin-left: -0.5rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-section ul li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    margin-top: 0.2rem;
    margin-left: -0.5rem;
}

.footer-section ul a,
.footer-section ul li span {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-section ul a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--gradient-1);
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-section {
        gap: 0.8rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .footer-section p,
    .footer-section ul a,
    .footer-section ul li span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2.5rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: left;
        align-items: flex-start;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
}

/* Estilos adicionais para o menu mobile - Updated */
@media (max-width: 768px) {
    body.nav-active {
        overflow: hidden;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 65px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: calc(100vh - 65px);
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links li {
        width: 100%;
        height: auto;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        text-align: center;
        border-radius: 8px;
        background: rgba(46, 204, 113, 0.05);
        border: 1px solid rgba(46, 204, 113, 0.1);
        transition: all 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-links a:hover,
    .nav-links a:focus {
        background: var(--gradient-1);
        color: white;
        transform: translateY(-2px);
        outline: none;
    }

    .nav-active .nav-links {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-active .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Overlay para quando o menu estiver aberto */
    .nav-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
        backdrop-filter: blur(3px);
    }

    .nav-active ~ .nav-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    /* Update for smaller screens */
    @media (max-width: 480px) {
        .nav-links, .nav-overlay {
            top: 70px !important; /* Match smaller header height */
            height: calc(100vh - 70px) !important;
        }
    }
}

@media (max-width: 480px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.6rem;
        --h3-size: 1.2rem;
        --text-size: 0.9rem;
        --small-text: 0.8rem;
    }

    /* Header & Logo */
    nav {
        height: 70px;
        padding: 0.5rem 0;
    }

    .logo img {
        height: 48px;
        width: 150px !important;
        margin-left: 0 !important;
        object-position: left;
    }

    /* Hero Section */
    .hero {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0;
    }
    
    .hero-services {
        gap: 0.6rem !important;
        padding: 0.6rem !important;
        margin: 1rem 0 !important;
    }
    
    .service-icon {
        min-width: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem !important;
    }
    
    .service-icon span {
        font-size: 0.7rem !important;
        margin-top: 0.3rem !important;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Service Cards */
    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-features li {
        font-size: 0.85rem;
    }

    /* Values */
    .values h2 {
        font-size: 1.6rem;
    }

    .value-card {
        padding: 1.2rem;
    }

    .value-card h3 {
        font-size: 1.1rem;
    }

    .value-card p {
        font-size: 0.85rem;
    }

    /* Contact Form */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* WhatsApp Button */
    .whatsapp-button {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button i {
        font-size: 22px;
    }

    .nav-links {
        top: 70px !important; /* Ajustado para a nova altura do header */
        height: calc(100vh - 70px) !important;
    }

    .nav-overlay {
        top: 70px !important;
        height: calc(100vh - 70px) !important;
    }

    /* Ajustar margem do hero */
    .hero {
        margin-top: 70px !important; /* Ajustado para a nova altura do header */
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .logo img {
        height: 65px !important; /* Aumentado de 42px */
        width: auto !important;
        margin-left: 0 !important;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .service-card,
    .value-card,
    .testimonial-card,
    .info-item,
    .contact-form {
        max-width: 300px;
    }
}

/* Animation Classes */
.nav-active {
    right: 0;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes colorShift {
    0% {
        background: linear-gradient(45deg, #2ecc71, #27ae60, #1abc9c);
    }
    50% {
        background: linear-gradient(45deg, #1abc9c, #2ecc71, #27ae60);
    }
    100% {
        background: linear-gradient(45deg, #2ecc71, #27ae60, #1abc9c);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-button i {
    font-size: 30px;
}

.whatsapp-text {
    position: absolute;
    right: 70px;
    background: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-button:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* Responsividade do botão WhatsApp */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button i {
        font-size: 25px;
    }

    .whatsapp-text {
        display: none;
    }
}

/* Estilos para a página de Política de Privacidade */
.privacy-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.privacy-content h1 {
    color: #1a237e;
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-content section {
    margin-bottom: 2rem;
}

.privacy-content h2 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.privacy-content ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Values Section */
.values {
    padding: 2rem 2rem;
    background-color: var(--white);
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.values h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

.values-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.value-card {
    position: relative;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left-width: 5px;
    border-left-style: solid;
    cursor: pointer;
}

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

.value-card h3 {
    display: flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    margin-bottom: 1.3rem !important;
    font-size: 1.18rem !important;
    color: var(--dark-color) !important;
    position: relative !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    background: none !important;
    padding: 0 !important;
    min-height: 2.7em !important;
    max-height: 3.4em !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.value-card h3 .value-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.7rem !important;
    min-width: 32px !important;
    margin: 0 !important;
    color: var(--primary-color) !important;
}

.value-card h3 .value-title-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    font-weight: 600 !important;
    flex: 1 1 0% !important;
}

@media (max-width: 768px) {
    .value-card h3 {
        font-size: 1.05rem !important;
        gap: 0.5rem !important;
        min-height: 2.5em !important;
        max-height: 3.1em !important;
    }
    .value-card h3 .value-icon {
        font-size: 1.3rem !important;
        min-width: 24px !important;
    }
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 0.8rem;
    margin-top: 0.2rem; /* Ajuste fino para alinhar com a primeira linha do texto */
    color: var(--primary-color);
    min-width: 30px; /* Largura mínima para evitar desalinhamento */
}

.value-card .value-content {
    max-height: 500px;
    opacity: 1;
    overflow: visible;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

@media (max-width: 768px) {
    .values-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .value-card {
        margin-bottom: 15px !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        cursor: pointer !important;
    }

    .value-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .value-card h3 {
        font-size: 1.1rem !important;
        padding: 1rem !important;
        min-height: 2.6em !important;
        max-height: 3.2em !important;
    }

    .value-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .value-card h3 i {
        margin-right: 10px !important;
        color: var(--primary-color) !important;
        min-width: 20px !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        margin-top: 3px !important; /* Ajuste fino para alinhar com a primeira linha do texto */
    }
}

@keyframes pulseCircle {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.15;
    }
}

/* Section Base Styles */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin: var(--heading-margin);
    color: var(--dark-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Container Base */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: var(--grid-gap);
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Card Base Styles */
.card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Typography Adjustments */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Section Specific Adjustments */
.hero {
    padding: 0;
    margin-top: 90px; /* Updated to match the new navbar height */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.services-grid,
.values-grid,
.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.about-content,
.vision-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image,
.vision-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img,
.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image img:hover,
.vision-image img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-container {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0.8rem;
    background: rgba(46, 204, 113, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateX(5px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 1;
    position: absolute;
    left: 1rem;
    z-index: 0;
}

.info-item .info-content {
    position: relative;
    z-index: 1;
    margin-left: 3.5rem;
}

.info-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1rem;
        --heading-margin: 2rem 0;
        --card-padding: 1.5rem;
        --grid-gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .about-content,
    .vision-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image,
    .vision-image {
        height: 300px;
    }

    .services-grid,
    .values-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .info-item i {
        font-size: 2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 1rem;
        --heading-margin: 1.5rem 0;
        --card-padding: 1.2rem;
        --grid-gap: 1.2rem;
        --h1-size: 2rem;
        --h2-size: 1.6rem;
        --h3-size: 1.2rem;
        --text-size: 0.9rem;
        --small-text: 0.8rem;
    }

    .section-title {
        font-size: var(--h2-size);
    }

    .section-subtitle {
        font-size: var(--small-text);
    }
    
    /* Hero */
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        padding: 0;
    }
    
    .hero-services {
        gap: 0.6rem !important;
        padding: 0.6rem !important;
        margin: 1rem 0 !important;
    }
    
    .service-icon {
        min-width: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem !important;
    }
    
    .service-icon span {
        font-size: 0.7rem !important;
        margin-top: 0.3rem !important;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .about-text h2 {
        font-size: var(--h2-size);
    }
    
    .about-image,
    .vision-image {
        height: 250px;
    }
}

.hero-services {
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem !important;
    border-radius: 12px !important;
    margin: 2rem 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem !important;
}

.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.service-icon:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.service-icon i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
}

.service-icon span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-services {
        background: rgba(0, 0, 0, 0.2) !important;
        padding: 0.8rem !important;
        gap: 1rem !important;
    }

    .service-icon {
        min-width: 80px;
    }

    .service-icon i {
        font-size: 2rem;
    }

    .service-icon span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-services {
        padding: 0.6rem !important;
        gap: 0.8rem !important;
    }

    .service-icon {
        min-width: 70px;
    }

    .service-icon i {
        font-size: 1.8rem;
    }

    .service-icon span {
        font-size: 0.75rem;
    }
}

/* Vision Section */
.vision-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-text {
    padding-right: 2rem;
}

.vision-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.vision-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

.vision-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vision-content p {
    transition: all 0.3s ease;
}

/* Values Section */
.value-card {
    background: var(--white);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    max-width: 250px;
    margin: 0 auto;
    transform-origin: center;
}

.value-card .value-content {
    transition: all 0.3s ease;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

.value-card.active h3::after {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-text {
        padding-right: 0;
    }

    .vision-text h2 {
        width: auto;
        display: block;
        padding: 0;
        background: none;
        border-radius: 0;
        cursor: default;
    }

    .vision-text h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: var(--gradient-2);
    }

    .vision-content p {
        max-height: none;
        overflow: visible;
        opacity: 1;
        padding: 0;
        margin: 1.5rem auto;
    }

    .vision-text.active p {
        max-height: 500px;
        opacity: 1;
        margin: 1rem 0;
    }

    .values-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        max-width: none;
        width: 100%;
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .value-card h3 {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 1rem;
        padding-right: 2.5rem;  /* Espaço para a seta */
        margin: 0;
        position: relative;
        cursor: pointer;
    }

    .value-card h3::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: var(--gradient-2);
    }

    .value-card.active h3::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .value-card .value-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .value-card.active .value-content {
        max-height: 500px;
        opacity: 1;
        padding-top: 1rem;
    }

    .value-icon {
        margin-right: 1rem;
    }
}

.vision-text h2::before,
.value-card h3::before,
.service-header::before {
    display: none;
}

.vision-text.active h2::after,
.value-card.active h3::after,
.service-card.active .service-header::after {
    transform: rotate(180deg);
}

.service-header::after,
.vision-text h2::after,
.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

/* Remove todos os estilos antigos de seta e expansão */
.vision-text h2[class*="fa"],
.vision-text h2[class*="fas"],
.vision-text.active h2::after,
.vision-text.active h2::before,
.vision-text h2::before,
.vision-text h2 i,
.vision-text h2 .fa,
.vision-text h2 .fas {
    display: none !important;
}

.vision-text h2::after {
    content: '' !important;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
}

@media (max-width: 768px) {
    .vision-text h2 {
        width: auto;
        display: block;
        padding: 0;
        background: none;
        border-radius: 0;
        cursor: default;
    }

    .vision-text h2::after {
        content: '' !important;
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: var(--gradient-2);
    }
}

/* Estilos adicionais para o menu mobile */
@media (max-width: 768px) {
    body.nav-active {
        overflow: hidden;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 65px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: calc(100vh - 65px);
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links li {
        width: 100%;
        height: auto;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        text-align: center;
        border-radius: 8px;
        background: rgba(46, 204, 113, 0.05);
        border: 1px solid rgba(46, 204, 113, 0.1);
        transition: all 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-links a:hover,
    .nav-links a:focus {
        background: var(--gradient-1);
        color: white;
        transform: translateY(-2px);
        outline: none;
    }

    .nav-active .nav-links {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-active .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Burger Menu */
    .burger {
        padding: 10px;
        margin: -10px;
        transition: all 0.3s ease;
    }

    .burger:hover div {
        background: var(--secondary-color);
    }

    .nav-active .burger:hover div {
        background: var(--accent-color);
    }

    /* Overlay para quando o menu estiver aberto */
    .nav-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
        backdrop-filter: blur(3px);
    }

    .nav-active ~ .nav-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile Services Accordion */
@media (max-width: 768px) {
    /* Reset de todos os elementos decorativos */
    .service-header::before,
    .service-header::after,
    .value-card h3::before, 
    .value-card h3::after,
    .vision-text h2::before,
    .vision-text h2::after {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: none !important;
        border: none !important;
        transform: none !important;
    }
    
    /* Estilos serviços mobile */
    .services-grid {
        display: block !important;
    }
    
    .service-card {
        margin-bottom: 15px !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .service-header {
        padding: 15px !important;
        padding-right: 40px !important; /* Espaço para a seta */
        cursor: pointer !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        background: rgba(46, 204, 113, 0.05) !important;
    }
    
    .service-header i {
        margin-right: 10px !important;
        color: var(--primary-color) !important;
    }
    
    /* Adicionar seta no extremo direito */
    .service-header:after {
        content: '\f107' !important;
        font-family: 'Font Awesome 5 Free' !important;
        font-weight: 900 !important;
        position: absolute !important;
        right: 10px !important; /* Reduzido para ficar mais próximo da borda */
        top: 50% !important;
        transform: translateY(-50%) !important;
        transition: transform 0.3s !important;
        display: block !important;
        color: var(--primary-color) !important;
        font-size: 18px !important;
        width: 20px !important;
        text-align: right !important; /* Alinhado à direita */
    }
    
    .service-card.active .service-header:after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
    
    .service-content {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out !important;
        padding: 0 15px !important;
    }
    
    .service-card.active .service-content {
        max-height: 500px !important;
        padding: 15px !important;
    }
    
    /* Estilos valores mobile */
    .values-grid {
        display: block !important;
    }
    
    .value-card {
        margin-bottom: 15px !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: visible !important; /* Alterado de hidden para visible */
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .value-card h3 {
        padding: 20px 50px 20px 15px !important; /* Aumentado padding superior/inferior e à direita */
        cursor: pointer !important;
        position: relative !important;
        display: block !important; /* Alterado de flex para block */
        background: rgba(46, 204, 113, 0.05) !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.5 !important;
        min-height: auto !important; /* Permitir crescimento natural */
        height: auto !important;
        font-size: 1.1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Estilos específicos para os ícones nos títulos */
    .value-card h3 .value-icon,
    .value-card h3 i {
        margin-right: 10px !important;
        display: inline-block !important;
        vertical-align: top !important;
        font-size: 1rem !important;
        position: relative !important;
        top: 2px !important;
        width: 20px !important;
        text-align: center !important;
        color: var(--primary-color) !important;
    }
    
    /* Assegurar que o texto do título fica na mesma linha que o ícone */
    .value-card h3 span {
        display: inline !important;
        vertical-align: top !important;
    }
    
    /* Remover estilo duplicado */
    /* .value-card h3 i {
        margin-right: 10px !important;
        color: var(--primary-color) !important;
        display: inline-block !important;
        vertical-align: middle !important;
    } */
}

.value-card p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    /* ... existing code ... */
    
    /* Estilos específicos para os ícones nos títulos */
    .value-card h3 .value-icon,
    .value-card h3 i {
        margin-right: 10px !important;
        display: inline-block !important;
        vertical-align: top !important;
        font-size: 1rem !important;
        position: relative !important;
        top: 2px !important;
        width: 20px !important;
        text-align: center !important;
        color: var(--primary-color) !important;
    }
    
    /* Assegurar que o texto do título fica na mesma linha que o ícone */
    .value-card h3 span {
        display: inline !important;
        vertical-align: top !important;
    }
    
    /* Adicionar seta no extremo direito */
    .value-card h3:after {
        content: '\f107' !important;
        font-family: 'Font Awesome 5 Free' !important;
        font-weight: 900 !important;
        position: absolute !important;
        right: 15px !important; /* Aumentado para afastar da borda */
        top: 50% !important; /* Centralizado verticalmente */
        transform: translateY(-50%) !important;
        transition: transform 0.3s !important;
        display: block !important;
        color: var(--primary-color) !important;
        font-size: 20px !important;
        width: 20px !important;
        text-align: center !important;
        z-index: 10 !important; /* Garantir que está acima do texto */
    }
    
    .value-card.active h3:after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
    
    .value-content {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.3s ease-out !important;
        padding: 0 15px !important;
        opacity: 0 !important;
        clear: both !important; /* Garantir que não haja elementos flutuantes */
    }
    
    .value-card.active .value-content {
        max-height: 500px !important;
        padding: 15px !important;
        opacity: 1 !important;
    }
    
    /* Remover quaisquer limitações de texto em todos os headers/títulos */
    .service-header, .value-card h3, .vision-text h2 {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: none !important;
        width: 100% !important;
    }
    
    /* Visão mobile - Sem acordeão */
    .vision-text h2 {
        position: relative !important;
        padding: 15px !important;
        background: rgba(46, 204, 113, 0.05) !important;
        border-radius: 8px 8px 0 0 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }
    
    /* Remover seta da seção de visão */
    .vision-text h2:after {
        display: none !important;
    }
    
    .vision-text p {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        padding: 15px !important;
        background: white !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        margin-bottom: 15px !important;
    }
}

/* Override específico para garantir que a logo tenha o tamanho correto em mobile */
@media screen and (max-width: 768px) {
    header nav .logo {
        height: 120px !important;
        width: auto !important;
        position: absolute !important;
        left: 0.8rem !important;
        top: -20px !important; /* Updated to match new navbar height */
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        z-index: 1001 !important;
    }
    
    header nav .logo img {
        height: 120px !important;
        width: auto !important;
        max-width: none !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    
    /* Adjust hero margin for the updated navbar height */
    .hero {
        margin-top: 80px !important; /* Updated to match new navbar height */
    }
    
    /* Adjust position of menu elements */
    .nav-links {
        top: 80px !important; /* Updated to match new navbar height */
        height: calc(100vh - 80px) !important;
    }
    
    .nav-overlay {
        top: 80px !important; /* Updated to match new navbar height */
        height: calc(100vh - 80px) !important;
    }
}

/* Medidas específicas para telas muito pequenas */
@media screen and (max-width: 480px) {
    header nav .logo {
        height: 100px !important;
        left: 0.5rem !important;
        top: -15px !important; /* Adjusted for smaller screen */
    }
    
    header nav .logo img {
        height: 100px !important;
    }
    
    /* Adjust for smaller navbar height */
    .hero {
        margin-top: 70px !important;
    }
    
    .nav-links {
        top: 70px !important;
        height: calc(100vh - 70px) !important;
    }
    
    .nav-overlay {
        top: 70px !important;
        height: calc(100vh - 70px) !important;
    }
}

/* Forçar exibição da logo */
.logo img {
    display: block !important;
}

/* Justificar textos em diferentes seções */
.hero-subtitle, 
.about-text p, 
.vision-text p,
.value-card p,
.testimonial-content p,
.section-subtitle,
.service-card p,
.info-item p {
    text-align: justify;
}

/* Para dispositivos menores, ajustar alinhamento de alguns elementos para melhor leitura */
@media (max-width: 480px) {
    .hero-subtitle,
    .testimonial-content p {
        text-align: center; /* Manter centralizado em telas pequenas para melhor leitura */
    }
}

/* Mobile logo handling */
.desktop-logo {
    display: block !important;
}

.mobile-logo {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-logo {
        display: none !important;
    }
    
    .mobile-logo {
        display: block !important;
        height: 110px !important;
        width: auto !important;
    }
    
    /* Garantir que apenas uma logo seja exibida */
    .logo a {
        position: relative;
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        height: 90px !important;
    }
}

/* Logo responsivo */
.logo-img {
    height: 140px !important; /* Aumentado para ficar mais proeminente */
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo-img {
        content: url('logo_3.png') !important; /* Trocar a imagem para logo_3.png em dispositivos móveis */
        height: 110px !important;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 90px !important;
    }
}

/* Alinhamento de texto justificado global */
p, 
.hero-subtitle, 
.about-text p, 
.vision-text p,
.value-card p,
.testimonial-content p,
.service-card p,
.service-features li,
.info-item p,
.section-subtitle,
.feature p,
.footer-section p,
.privacy-content p,
.privacy-content li {
    text-align: justify !important;
    text-justify: inter-word !important;
    word-break: normal !important;
    hyphens: auto !important;
    line-height: 1.6 !important;
}

/* Para elementos que precisam manter outros alinhamentos */
.section-title, 
h1, h2, h3, h4, h5, h6, 
.hero h1, 
.cta-button, 
.service-cta,
.submit-button,
.footer-bottom p {
    text-align: center !important;
    hyphens: none !important;
}

/* Lista de valores e serviços - ajuste para melhor alinhamento */
.service-features {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.service-features li {
    margin-bottom: 10px !important;
    padding-left: 20px !important;
    position: relative !important;
}

.service-features li::before {
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
}

/* Ajuste para dispositivos móveis - manter centralizado em alguns casos */
@media (max-width: 480px) {
    .hero-subtitle {
        text-align: center !important;
        hyphens: none !important;
    }
    
    .testimonial-content p {
        text-align: center !important;
    }
}

/* Card text organization for desktop view */
@media (min-width: 769px) {
    /* Service cards text organization */
    .service-card p {
        text-align: justify;
        margin-bottom: 1rem;
        line-height: 1.6;
        font-size: 0.9rem;
    }
    
    .service-features li {
        text-align: left;
        margin-bottom: 0.8rem;
    }
    
    /* Values cards text organization */
    .value-card p {
        text-align: justify;
        line-height: 1.6;
        font-size: 0.85rem;
    }
    
    /* Testimonial cards text organization */
    .testimonial-content p {
        text-align: justify;
        line-height: 1.5;
        font-size: 0.9rem;
        font-style: italic;
    }
}

/* Service subtitles centering on mobile */
@media (max-width: 768px) {
    .service-card h3,
    .service-header {
        text-align: center !important;
        justify-content: center;
        padding-right: 10px !important;
    }
    
    /* Add space for the arrow */
    .service-header:after {
        position: absolute !important;
        right: 15px !important;
    }
    
    /* Improve testimonial readability on mobile */
    .testimonial-content p {
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Ensure values card titles are properly visible */
    .value-card h3 {
        white-space: normal !important;
        overflow: visible !important;
        padding-right: 40px !important;
    }
}

/* Newsletter Section */
.newsletter {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter h2 {
    margin-bottom: 20px;
    color: #333;
}

.newsletter p {
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.subscribe-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #0056b3;
}

.privacy-note {
    font-size: 14px;
    color: #888;
    margin-top: 15px;
}

.privacy-note a {
    color: #007bff;
    text-decoration: none;
}

.privacy-note a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.faq-toggle {
    font-size: 24px;
    color: #007bff;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Force hero-subtitle to always be centered, overriding all other rules */
.hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100%;
    text-justify: none !important;
    word-break: normal !important;
    hyphens: none !important;
}

/* Estilo moderno para grupo de checkboxes do questionário */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.2rem 0 0.5rem 0;
  align-items: flex-start;
}
.checkbox-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 1rem !important;
  font-size: 1rem !important;
  position: relative !important;
  margin-bottom: 0.9rem !important;
  padding: 0.2rem 0.1rem !important;
  border-radius: 6px !important;
  transition: background 0.2s !important;
}
.checkbox-item label {
  flex: 1 !important;
  text-align: left !important;
  margin: 0 !important;
  font-weight: 500 !important;
  color: var(--dark-color) !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
}
.checkbox-item input[type="checkbox"] {
  accent-color: var(--primary-color) !important;
  min-width: 20px !important;
  width: 20px !important;
  height: 20px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  cursor: pointer !important;
  align-self: center !important;
  transition: box-shadow 0.2s, border 0.2s !important;
  border-radius: 4px !important;
  border: 1.5px solid #b2dfdb !important;
}
.checkbox-item input[type="text"] {
  width: 100% !important;
  margin-left: 0 !important;
  margin-top: 0.2rem !important;
  padding: 0.5rem 0.7rem !important;
  border-radius: 6px !important;
  border: 1.5px solid #b2dfdb !important;
  font-size: 1rem !important;
  min-width: 120px !important;
  box-sizing: border-box !important;
  background: #f7fafc !important;
  transition: border 0.2s, box-shadow 0.2s !important;
}
@media (max-width: 480px) {
  .checkbox-group {
    padding: 0.8rem 0.5rem 0.5rem 0.5rem !important;
  }
  .checkbox-item {
    font-size: 0.95rem !important;
    gap: 0.3rem !important;
    margin-bottom: 0.6rem !important;
  }
  .checkbox-item label {
    margin-right: 0.5rem !important;
  }
  .checkbox-item input[type="text"] {
    max-width: 100% !important;
    font-size: 0.95rem !important;
  }
}

.checkbox-item label {
  flex: 1 !important;
  text-align: left !important;
  margin-right: 1rem !important;
  font-weight: 500 !important;
  color: var(--dark-color) !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
}
@media (max-width: 600px) {
  .checkbox-item label {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
}