/* Estilos Gerais */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 25px;
}

h1, h2, h3, h4 {
    color: #212529; /* Manter preto para títulos, para contraste */
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #6495ED; /* CornflowerBlue para links */
    transition: color 0.3s ease;
}

a:hover {
    color: #4169E1; /* RoyalBlue para hover */
}

.btn {
    display: inline-block;
    background: #6495ED; /* CornflowerBlue para botões */
    color: #fff; /* Texto do botão branco */
    padding: 12px 25px;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: #4169E1; /* RoyalBlue para hover do botão */
    transform: translateY(-3px);
    color: #fff !important; /* GARANTE QUE O TEXTO CONTINUA BRANCO NO HOVER */
}

.btn.secondary-btn {
    background: #A0A0A0; /* Um cinza médio para CTA secundário */
    color: #fff;
}

.btn.secondary-btn:hover {
    background: #808080; /* Cinza um pouco mais escuro para hover */
}


/* Header */
header {
    background: #6495ED; /* CornflowerBlue */
    color: #fff;
    padding: 1px 0; /* AGORA: Padding vertical mínimo para o logotipo preencher o espaço */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 25px;
}

/* Estilo para a imagem do logotipo - AUMENTADO PARA SER MUITO MAIOR E PREENCHER */
header .logo .header-logo {
    height: 130px; /* AGORA: Aumentado para 130px */
    width: auto; /* Mantém a proporção da imagem */
    vertical-align: middle;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Garante que os itens da lista estão alinhados */
}

header ul li {
    margin-left: 30px;
    padding-bottom: 0; /* Essencial para o alinhamento vertical */
    display: flex; /* Adicionado para garantir alinhamento do texto */
    align-items: center; /* Alinha o texto da lista verticalmente */
    height: 100%; /* Garante que o item da lista não "quebre" o alinhamento */
}

header ul li a {
    color: #212529; /* Cor preta para os links do cabeçalho */
    font-weight: 600;
    padding: 0; /* Padding vertical removido para os links para não afetar o alinhamento */
    position: relative;
    display: flex; /* Garante que o texto e o ::after não afetem o alinhamento entre si */
    align-items: center; /* Alinha itens dentro do link */
    gap: 5px; /* Espaçamento entre texto e ícone (se houver) */
    line-height: 1.2; /* Ligeiramente aumentado para legibilidade sem quebrar o alinhamento */
    vertical-align: middle; /* Ajuda a alinhar o texto */
}

/* Garante que o texto dos links da navegação permanece preto no hover */
header ul li a:hover {
    color: #212529; /* Preto */
}

/* Estilo para o ícone do Instagram */
header ul li a .fab.fa-instagram {
    font-size: 1.5rem;
    margin-left: 0px;
    color: #212529; /* Cor preta para o ícone do Instagram */
}

/* A linha de hover/active ainda funciona, mas o texto permanece preto */
header ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px; /* Ajustado para mover a linha para baixo do texto, mais perto */
    left: 0;
    background-color: #212529; /* Preto para a linha de hover/active */
    transition: width 0.3s ease;
}

header ul li a:hover::after,
header ul li a.current::after {
    width: 100%;
}


/* Main Content Styling */
main {
    padding: 60px 0;
    min-height: calc(100vh - 180px);
}

section {
    margin-bottom: 60px;
}

/* Home Page Specifics */

/* Hero PT Section */
.home .hero-pt-section {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.home .hero-pt-content .pt-profile-pic {
    width: 350px;
    height: 350px;
    border-radius: 0;
    object-fit: cover;
    border: 5px solid #212529;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.home .hero-pt-content .pt-title {
    font-size: 2.8rem;
    color: #212529;
    margin-bottom: 10px;
    font-weight: 900;
}

.home .hero-pt-content .pt-subtitle {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 30px;
    font-weight: 600;
}


/* Intro Text Section */
.home .intro-text-section {
    text-align: center;
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 60px;
}

.home .intro-text-section h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #212529;
}

.home .intro-text-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #495057;
}

/* Testimonials Section */
.home .testimonials {
    text-align: center;
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

.home .testimonials h3 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #212529;
}

.home .testimonial-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.home .testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 280px;
    max-width: 30%;
    text-align: center;
    font-style: italic;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.home .testimonial-card p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #555;
    flex-grow: 1;
}

.home .testimonial-card span {
    font-weight: bold;
    color: #6495ED; /* CornflowerBlue para nomes dos testemunhos */
    display: block;
    margin-top: 10px;
}

/* Services Page (similar to About Page structure) */
.services-page .page-intro {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 60px;
}

.services-page .page-intro h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #6495ED; /* CornflowerBlue */
}

.services-page .page-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.services-page .service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.services-page .service-item {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-page .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.services-page .service-item h3 {
    color: #6495ED; /* CornflowerBlue */
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.services-page .service-item p {
    margin-bottom: 15px;
}

.services-page .service-item ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.services-page .service-item ul li {
    margin-bottom: 8px;
}

/* Contact Page */
.contact-page .contact-intro {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 60px;
}

.contact-page .contact-intro h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #6495ED; /* CornflowerBlue */
}

.contact-page .contact-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.contact-page .contact-form-section,
.contact-page .contact-info-section {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-page .contact-form-section h3,
.contact-page .contact-info-section h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #212529;
}

.contact-page .contact-info-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
}

.contact-page .contact-info-section ul li {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-page .contact-info-section .social-media {
    text-align: center;
    margin-top: 30px;
    font-size: 1.2rem;
}

.contact-page .contact-info-section .social-media a {
    margin: 0 15px;
    font-weight: 600;
    color: #6495ED; /* CornflowerBlue para links sociais */
}

.contact-page .contact-info-section .social-media a:hover {
    color: #4169E1; /* RoyalBlue para hover */
}

.contact-page .contact-form .form-group {
    margin-bottom: 25px;
}

.contact-page .contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #555;
}

.contact-page .contact-form input[type="text"],
.contact-page .contact-form input[type="email"],
.contact-page .contact-form input[type="tel"],
.contact-page .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1.1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
    border-color: #6495ED; /* CornflowerBlue para borda de foco */
    box-shadow: 0 0 0 0.2rem rgba(100, 149, 237, 0.25); /* Sombra de foco em CornflowerBlue */
    outline: none;
}

.contact-page .contact-form textarea {
    resize: vertical;
}

.contact-page .contact-form button {
    width: auto;
    display: block;
    margin: 30px auto 0;
}

.contact-page .form-note {
    text-align: center;
    font-size: 0.95em;
    margin-top: 20px;
    font-weight: 500;
}

/* Footer (Updated with Developer Credit) */
footer {
    background: #6495ED; /* CornflowerBlue */
    color: #212529;
    text-align: center;
    padding: 2rem 0;
    margin-top: 60px;
    font-size: 0.95rem;
}

footer p {
    margin-bottom: 10px;
}

footer p a {
    color: #212529;
    text-decoration: underline;
}

footer .social-links {
    margin-top: 15px;
}

footer .social-links a {
    color: #212529;
    margin: 0 10px;
    font-weight: 500;
}

footer .social-links a:hover {
    color: #4169E1; /* RoyalBlue para hover de links sociais no rodapé */
}

/* Responsividade */
@media (max-width: 992px) {
    /* Ajustes para o header em telas menores */
    header {
        padding: 1px 0; /* MANTIDO: Padding vertical mínimo */
    }
    header .logo .header-logo {
        height: 110px; /* AGORA: Aumentado para 110px */
    }
    header ul li a {
        padding: 0; /* Padding vertical removido para os links */
    }

    .home .hero-pt-content .pt-title {
        font-size: 2.5rem;
    }
    .home .hero-pt-content .pt-subtitle {
        font-size: 1.3rem;
    }
    .home .intro-text-section h3 {
        font-size: 2.2rem;
    }
    .home .testimonial-card {
        max-width: 45%;
    }
    .services-page .service-details {
        grid-template-columns: 1fr;
    }
    .services-page .service-item {
        max-width: 90%;
        margin: auto;
    }
}

@media (max-width: 768px) {
    /* Ajustes para o header em telas de celular */
    header {
        padding: 1px 0; /* MANTIDO: Padding vertical mínimo */
    }
    header nav {
        flex-direction: column;
        text-align: center;
    }
    header ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    header ul li {
        margin: 0 15px 8px;
    }
    header ul li a {
        padding: 0; /* Padding vertical removido para os links */
    }
    header .logo .header-logo {
        height: 90px; /* AGORA: Aumentado para 90px */
    }
    
    .home .hero-pt-section {
        padding: 60px 15px;
    }
    .home .hero-pt-content .pt-profile-pic {
        width: 280px;
        height: 280px;
    }
    .home .hero-pt-content .pt-title {
        font-size: 2.2rem;
    }
    .home .hero-pt-content .pt-subtitle {
        font-size: 1.1rem;
    }
    .home .intro-text-section h3 {
        font-size: 1.8rem;
    }
    .home .intro-text-section p {
        font-size: 1.05rem;
    }
    .home .testimonial-card {
        max-width: 80%;
    }
    .services-page .page-intro,
    .contact-page .contact-intro {
        padding: 30px;
    }
    .services-page .page-intro h2,
    .contact-page .contact-intro h2 {
        font-size: 2.5rem;
    }
    .contact-page .contact-form-section,
    .contact-page .contact-info-section {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1px 0; /* MANTIDO: Padding vertical mínimo */
    }
    header .logo .header-logo {
        height: 80px; /* AGORA: Aumentado para 80px */
    }
    header ul li {
        margin: 0 10px 5px;
    }
    header ul li a {
        padding: 0; /* Padding vertical removido para os links */
    }

    .home .hero-pt-content .pt-title {
        font-size: 1.8rem;
    }
    .home .hero-pt-content .pt-subtitle {
        font-size: 1rem;
    }
    .home .testimonials h3,
    .services-page .page-intro h2,
    .contact-page .contact-intro h2 {
        font-size: 2rem;
    }
    .home .testimonial-card {
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }
    .contact-page .contact-form-section,
    .contact-page .contact-info-section {
        margin: 20px auto;
    }
    .contact-page .contact-info-section ul li {
        font-size: 1.05rem;
    }
}
