/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Rolagem suave quando clicar em links âncora */
}

body {
    font-family: Arial, sans-serif;
}

/* Cabeçalho */
header {
    position: fixed; /* Fixa o header no topo */
    top: 0;          /* Alinha no topo da tela */
    left: 0;         /* Alinha à esquerda */
    width: 100%;     /* Ocupa toda a largura */
    z-index: 1000;   /* Garante que fique acima de outros elementos */
}

header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 2rem;
    background: #1f2937;
    position: relative;
}

.logo {
    height: 50px; /* Altura fixa para o container */
    display: flex;
    align-items: center;
}

.logo img {
    height: 165%; /* Altura 100% do container */
    width: auto; /* Largura proporcional */
    max-width: 180px; /* Largura máxima */
    object-fit: contain; /* Mantém proporções */
    transition: transform 0.3s ease; /* Efeito hover suave */
}

.logo:hover img {
    transform: scale(1.05); /* Efeito de zoom leve ao passar mouse */
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9333ea;
    cursor: pointer;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #9333ea;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #9333ea;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Seção principal */
.hero {
    background: linear-gradient(to bottom, #392764, #6d28d9);
    color: white;
    text-align: center;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content img {
    width: 40%;
}

.hero-content > div {
    position: relative;
    bottom: 50px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.buttons a {
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background-color: #9333ea;
    color: white;
}

.btn-primary:hover {
    background-color: #7e22ce;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: #9333ea;
}

.btn-secondary:hover {
    background-color: #f3e8ff;
    transform: translateY(-2px);
}

/* Seção Sobre */
.about-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

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

.section-title {
    font-size: 2rem;
    color: #4c1d95;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6d28d9;
    text-align: center;
    font-weight: 500;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

/* Seção Sobre - Ajuste da imagem */
.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 450px; /* Limite máximo para desktop */
}

.about-image img {
    width: 100%;
    max-height: 500px; /* Altura máxima controlada */
    object-fit: cover; /* Mantém a proporção */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px; /* Limite máximo para o texto */
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #4b5563;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    padding: 0.8rem 1.2rem;
    background-color: #f3e8ff;
    color: #6d28d9;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Seção Especialidades */
.specialties-section {
    padding: 4rem 2rem;
    background-color: #f9fafb;
}

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

.section-title {
    font-size: 2rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: #6d28d9;
    margin: 0 auto 1.5rem;
}

.sobre {
    margin-bottom: 3rem;
    margin-top: 0.5rem;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.1rem;
}

.specialties-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 8rem;
}

/* Card de Especialidade com Ícone */
.specialty-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.specialty-icon {
    width: 48px;
    height: 48px;
    background-color: #f3e8ff; /* Roxo muito claro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.specialty-name {
    color: #000; /* Roxo escuro */
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.specialty-content {
    text-align: left;
}

.specialty-content p {
    color: #4b5563; /* Cinza escuro */
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.specialty-examples p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

.specialty-examples strong {
    color: #6d28d9; /* Roxo médio */
    font-weight: 600;
}

.card-title {
    font-size: 1.25rem;
    color: #4c1d95;
    padding: 1.2rem 1.5rem 0;
    margin-bottom: 0.5rem;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-content p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.examples {
    display: flex;
    gap: 0.5rem;
}

.examples-label {
    font-weight: 600;
    color: #6d28d9;
    white-space: nowrap;
}

.examples-text {
    color: #4b5563;
    line-height: 1.5;
}

/* Seção Abordagem */
.approach-section {
    padding: 4rem 2rem;
    background-color: #6d28d9;
}

.section-title-white {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.title-underline-white {
    width: 80px;
    height: 4px;
    background-color: #fff;
    margin: 0 auto 1.5rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.approach-card {
    background: rgb(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center; /* Texto centralizado */
    backdrop-filter: blur(5px); /* Efeito de desfoque */
    border: 1px solid rgba(147, 51, 234, 0.1); /* Borda sutil */

}

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

.approach-icon {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    width: 56px; /* Tamanho fixo para o círculo */
    height: 56px;
    background-color: #f3e8ff;
    border-radius: 50%;
    margin: 0 auto 1.5rem; /* Centraliza o container */
}

.approach-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.approach-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.approach-content p {
    color: #fff;
    line-height: 1.6;
    font-size: 0.95rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #fff;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Seção Contato */
.contact-section {
    padding: 4rem 2rem;
    background-color: white;
}

.section-intro-black {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #313437;
    line-height: 1.6;
    font-size: 1.1rem;
}

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

.contact-info {
    background-color: #f9f5ff;
    padding: 2rem;
    border-radius: 8px;
    /* height: fit-content; */
}

.contact-info h3 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9d5ff;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 2.5rem;
}

.contact-list strong {
    color: #6d28d9;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-list p {
    color: #4b5563;
    line-height: 1.6;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2a2c2f;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9333ea;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

.submit-btn {
    background-color: #6d28d9;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #481a8f;
}

.contact-details {
    display: flex;
}
.contact-icon {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 40px; 
    height: 40px;
    background-color: #f3e8ff;
    border-radius: 50%;
}
.contact-icon svg {
    width: 23px;
}
.contact-content {
    padding-left: 1rem;
}

/* Seção Como Chegar */
.location-section {
    margin: 3rem 10rem;
}

.location-header {
    background-color: #6d28d9;
    color: white;
    padding: 2rem 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.location-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.address {
    font-size: 1.1rem;
    line-height: 1.6;
}

.map-container {
    height: 400px;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.map-notice {
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.map-notice p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

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

.footer-brand {
    position: relative;
    bottom: 45px;
}

.footer-logo {
    height: 60px; /* Altura do container do logo */
    margin-bottom: 1.5rem;
    display: inline-block; /* Para não ocupar toda a largura */
}

.footer-logo img {
    height: 200%; /* Ocupa toda a altura do container */
    width: auto; /* Mantém proporções */
    max-width: 200px; /* Largura máxima */
    object-fit: contain; /* Garante que a imagem inteira será visível */
    filter: brightness(0) invert(1); /* Opcional: converte para branco se necessário */
}

.footer-description {
    color: #e9d5ff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links {
    position: relative;
    justify-items: center;
}

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

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

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

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

.footer-social {
    position: relative;
    justify-items: center;
}

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

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

.social-icons a:hover {
    background-color: #9333ea;
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #c4b5fd;
    font-size: 0.9rem;
}

/* Responsividade footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-title {
        margin-bottom: 0.5rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }

    .footer-brand {
        position: relative;
        bottom: 20px;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .location-header {
        padding: 1.5rem 0;
    }
    
    .location-header h2 {
        font-size: 1.5rem;
    }

    .location-section {
        margin: 0rem 4rem 5rem;
    }
    
    .address {
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Responsividade abordagem */
@media (max-width: 768px) {
    .approach-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .approach-card {
        padding: 1.5rem;
    }
}

/* Responsividade especialidades */
@media (max-width: 768px) {
    .specialties-container {
        grid-template-columns: 1fr;
    }
    
    .section-description {
        padding: 0 1rem;
    }

    .specialties-container {
        padding: 0;
    }
}

/* Responsividade sobre */
@media (max-width: 768px) {
    .about-image img {
        width: 80%;
    }

    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        display: flex;
        justify-content: center;
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .about-features {
        justify-content: center;
    }

    .hero-content > div {
        position: relative;
        bottom: 1rem;
    }
}

/* Responsividade inicio */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active {
        background-color: rgb(31, 41, 55);
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .logo:hover img {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .buttons a {
        width: 100%;
    }
}