 /* Variáveis CSS */
 :root {
    --primary-color: #5F9A9E;
    --secondary-color: #34B7F1;
    --accent-color: #F56040;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-main: 'Nunito', sans-serif;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
            position: relative;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 5rem 5%;
            text-align: center;
            overflow: hidden;
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            transform: translateZ(0);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            transform: translateZ(0);
        }

        .cta-button {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: transform 0.3s, background-color 0.3s;
            transform: translateZ(0);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            background-color: #e04d26;
        }

        .math-symbols-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .math-symbol {
            position: absolute;
            color: rgba(255, 255, 255, 0.5);
            font-family: 'Arial', sans-serif;
            font-weight: bold;
            user-select: none;
            z-index: 1;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
            will-change: transform;
        }
        
        @keyframes moveX {
            0% { margin-left: 0; }
            25% { margin-left: 10px; }
            50% { margin-left: -15px; }
            75% { margin-left: 15px; }
            100% { margin-left: 0; }
        }

        @keyframes moveY {
            0% { margin-top: 0; }
            33% { margin-top: -15px; }
            66% { margin-top: 15px; }
            100% { margin-top: 0; }
        }

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

        section.content {
            padding: 5rem 5%;
            min-height: 100vh;
        }

        .content-title {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--primary-color);
        }

        .parallax-bg {
            transform: translateZ(0);
            backface-visibility: hidden;
        }
/* metodos Section */
.metodos {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card p {
    color: #666;
    margin-bottom: 1rem;
}

.card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.card-button:hover {
    background-color: #3256a7;
}

/* Sobre Section */
.sobre {
    padding: 5rem 5%;
    background-color: #f1f5f9;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.sobre-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.sobre-content {
    flex: 1;
}

.sobre-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sobre-content p {
    margin-bottom: 1rem;
    color: #444;
}

/* Depoimentos Section */
.depoimentos {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container {
    display: flex;
    overflow-x: hidden;
    position: relative;
}

.testimonial-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.testimonial-content {
    max-width: 700px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

.instagram-feed {
padding: 5rem 5%;
background-color: #f9f9f9;
}

.instagram-container {
max-width: 1400px;
margin: 0 auto;
}

.instagram-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
}

.instagram-item {
position: relative;
border-radius: 5px;
overflow: hidden;
cursor: pointer;
display: block; /* Garante que é bloco */
text-decoration: none; /* Remove sublinhado de links */
aspect-ratio: 1 / 1; /* Mantém proporção quadrada */
}

.instagram-item img {
width: 100%; 
height: 100%;
object-fit: cover;
display: block; /* Importante para evitar espaço extra */
transition: transform 0.3s;
}

.instagram-item:hover img {
transform: scale(1.05);
}

.instagram-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.4);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s;
}

.instagram-item:hover .instagram-overlay {
opacity: 1;
}

.instagram-follow {
display: flex;
align-items: center;
justify-content: center;
margin-top: 2rem;
}

.instagram-follow a {
display: inline-flex;
align-items: center;
color: var(--dark-color);
text-decoration: none;
font-weight: 600;
transition: color 0.3s;
}

.instagram-follow a:hover {
color: var(--accent-color);
}

.instagram-follow i {
font-size: 1.5rem;
margin-right: 0.5rem;
}


/* Contato Section */
.contato {
    padding: 5rem 5%;
    background-color: var(--primary-color);
    color: white;
}

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

.contato h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contato p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contato-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
}

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

.submit-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #e04d26;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 5%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
}

.footer-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-color);
}

.copyright {
    margin-top: 3rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu {
        display: block;
    }

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

    .sobre-container {
        flex-direction: column;
    }

    .sobre-img, .sobre-content {
        width: 100%;
    }
    .instagram-grid {
grid-template-columns: repeat(2, 1fr);
}
    
}