/* --- GERAL E VARIÁVEIS --- */
:root {
    /* Nova paleta com gradiente */
    --primary-color: #0056b3; 
    --secondary-color: #007bff;
    --gradient-start: #023168;
    --gradient-end: #00a8e8;

    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --text-color: #333;
    --white-color: #fff;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.text-center {
    text-align: center;
}

/* --- HEADER E NAVEGAÇÃO --- */
.main-header {
    background: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

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

.nav-list li {
    margin-left: 30px;
}

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

.nav-list a:hover {
    color: var(--secondary-color);
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
}

.mobile-menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: 0.4s;
}

/* --- HERO SECTION --- */
.hero {
    /* Trocamos a imagem estática por um gradiente animado */
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end), var(--secondary-color));
    background-size: 400% 400%;
    animation: animated-gradient 15s ease infinite;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    height: 180px; /* Altura para evitar que o layout "pule" com o texto */
}

.typed-cursor {
    color: var(--white-color);
    font-size: 3.5rem;
}




.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}


.cta-button, .cta-button-secondary {
    position: relative; /* Necessário para o efeito ripple */
    overflow: hidden;   /* Necessário para o efeito ripple */
}


.ripple {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 1s linear;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

/* --- SERVIÇOS EM DESTAQUE --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- CTA SECTION --- */
.cta-section {
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 60px 0;
}

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

/* --- PÁGINA SOBRE --- */
.page-title-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 3rem;
}

.about-content .lead {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.mission-vision-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
}

.mvv-card {
    background: var(--light-color);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

/* --- PÁGINA PORTFÓLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white-color);
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}


/* --- PÁGINA CONTATO --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-info {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

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

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* --- EFEITOS DE ANIMAÇÃO --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: var(--white-color);
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

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

    .nav-list li {
        margin: 15px 0;
    }

    .mobile-menu-icon {
        display: block;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .mission-vision-values, .contact-wrapper { grid-template-columns: 1fr; }
}

/* --- PÁGINA DE SERVIÇOS (CARDS) --- */
.page-title-section p {
    font-size: 1.1rem;
    color: #ccc;
    margin-top: 10px;
}

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

.service-card-page {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; /* Importante para o novo efeito */
}


.service-card-page .service-icon,
.service-card-page h3,
.service-card-page p {
    position: relative;
    z-index: 2; /* Garante que o conteúdo fique acima do efeito */
    transition: color 0.4s ease;
}

.service-card-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-start);
    border-radius: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.service-card-page:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card-page:hover::before {
    width: 250%; /* Tamanho suficiente para cobrir o card */
    height: 250%;
}

.service-card-page:hover .service-icon,
.service-card-page:hover h3,
.service-card-page:hover p {
    color: var(--white-color); /* Muda a cor do texto no hover */
}

.service-card-page:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem; /* 48px */
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card-page h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card-page p {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- BOTÃO SECUNDÁRIO --- */
.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 13px 30px; /* Padding um pouco menor para ajustar a borda */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button-secondary:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* === PÁGINA QUEM SOMOS (REDESIGN) === */

/* 2. Introdução e Manifesto */
.about-intro {
    background: #fff;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about-mvv {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}
.mvv-item {
    margin-bottom: 25px;
}
.mvv-item:last-child {
    margin-bottom: 0;
}
.mvv-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.mvv-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.4rem;
}

/* 3. Nova Seção de Valores */
.values-section {
    background-color: var(--light-color);
}
.values-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.value-card-new {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.value-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.value-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.value-card-new h5 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* 4. Seção do Fundador */
.team-section {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
}
.team-member-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 50px;
    background: rgba(0,0,0,0.2);
    padding: 50px;
    border-radius: 15px;
}
.team-member-photo img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.5);
}
.team-member-info h3 {
    font-size: 2.8rem;
    margin-bottom: 5px;
}
.team-member-info h4 {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 20px;
}
.team-contact-info {
    margin-top: 30px;
    display: flex;
    gap: 30px;
}
.team-contact-info span {
    display: flex;
    align-items: center;
}
.team-contact-info i {
    margin-right: 10px;
}

/* Responsividade da página Sobre */
@media (max-width: 900px) {
    .about-intro-grid, .team-member-card {
        grid-template-columns: 1fr;
    }
    .values-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .values-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-contact-info {
        flex-direction: column;
        gap: 15px;
    }
}

/* 4. Seção de Liderança (Sem Foto) */
.team-section {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
}
.team-member-card {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Damos mais espaço para o texto */
    align-items: center;
    gap: 60px;
    background: rgba(0,0,0,0.2);
    padding: 60px;
    border-radius: 15px;
}
.team-member-initials {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center; /* Centraliza o círculo no grid */
    background: rgba(255,255,255,0.1);
}
.team-member-initials span {
    font-size: 4.5rem; /* Tamanho grande para as iniciais */
    font-weight: 600;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.team-member-info h3 {
    font-size: 2.8rem;
    margin-bottom: 5px;
}
.team-member-info h4 {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 20px;
}
.team-contact-info {
    margin-top: 30px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* Garante quebra de linha em telas menores */
}
.team-contact-info span {
    display: flex;
    align-items: center;
}
.team-contact-info i {
    margin-right: 10px;
}

/* Ajuste de responsividade para o novo card */
@media (max-width: 900px) {
    .team-member-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .team-member-initials {
        margin-bottom: 30px;
    }
    .team-contact-info {
        justify-content: center;
    }
}

