/* --- Perfil do Terapeuta --- */

.profile-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Galeria Responsiva */
.profile-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 350px;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
}

.profile-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main { grid-row: span 2; }

@media (max-width: 600px) {
    .profile-gallery { height: 250px; }
}

/* Descrição e Botão Mostrar Mais */
.profile-header h1 {
    color: #4A2C99;
    margin-bottom: 5px;
}

.location-tag {
    color: #D82C8C;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.description-container p {
    line-height: 1.6;
    color: #444;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Número de linhas visíveis antes do "mais" */
    -webkit-box-orient: vertical;
}

.description-container.expanded p {
    -webkit-line-clamp: initial;
}

.read-more-btn {
    background: none;
    border: none;
    color: #4A2C99;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

/* Serviços */
.services-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 100px; /* Espaço para o footer fixo */
}

.service-category h3 {
    color: #4A2C99;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category li {
    background: #fdfdfd;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 3px solid #D82C8C;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .services-section { grid-template-columns: 1fr; }
}

/* Footer de Contato Fixo */
.contact-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 100;
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
}

.icon-link img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s;
}

.icon-link:hover img { transform: scale(1.1); }

.btn-primary-profile {
    background: #D82C8C;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
}