/* Importação da fonte (se for usar o link do HTML) */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Fundo Principal */
    color: #333333; /* Texto Principal */
    line-height: 1.6;
    text-align: center;
}

/* --- Cabeçalho e Logo --- */
.logo-container {
    /* Gradiente horizontal (90deg) usando EXATAMENTE a paleta de cores 
       extraída da ilustração da flor no seu logo.
       Usamos 0.9 de opacidade para cores bem vivas, mas permitindo o efeito de vidro.
    */
    background: linear-gradient(180deg, 
        rgba(0, 188, 212, 0.9),   /* Turquesa/Ciano */
        rgba(33, 150, 243, 0.9),  /* Azul médio */
        rgba(142, 36, 170, 0.9),  /* Roxo vibrante */
        rgba(216, 27, 96, 0.9),   /* Rosa Magenta profundo (topo da flor) */
        rgba(255, 235, 59, 0.9),  /* Amarelo Ouro (miolo) */
        rgba(139, 195, 74, 0.9)   /* Verde Limão (base) */
    );

    /* Efeito de Vidro Fosco (Glassmorphism) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Suporte para Safari */
}
    

.logo {
    width: 150px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    display: block; /* Garante que a imagem ocupe sua própria linha */
    margin: 0 auto 10px;
}

.logo-container h1 {
    font-size: 1.5em;
    color: rgb(255, 255, 255); /* Cor de destaque para o nome */
    margin: 0;
}

.logo-container a {
    color: white;
}

.logo-container p {
    color: white;
}
/* --- Conteúdo Principal --- */
.content-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    color: #D82C8C; /* Cor de Destaque 1 */
    margin-bottom: 30px;
}

h3 {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
}

/* --- Seção de Vídeo --- */
.video-embed {
    position: relative;
    width: 100%;
    /* Proporção 16:9 (altura/largura = 9/16 = 0.5625) */
    padding-bottom: 56.25%; 
    height: 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Borda arredondada para o vídeo */
}

/* --- Botões de Ação (CTA) --- */
.call-to-action {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #eeeeee;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaço entre os botões */
    flex-wrap: wrap; /* Garante quebra de linha em telas pequenas */
}

.btn {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 30px; /* Botões arredondados */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.primary-btn {
    background-color: #D82C8C; /* Cor de Destaque 1 (Pink/Magenta) */
    color: white;
}

.primary-btn:hover {
    background-color: #B82575; /* Um tom mais escuro para o hover */
    transform: translateY(-2px); /* Efeito sutil ao passar o mouse */
}

.secondary-btn {
    background-color: #4A2C99; /* Cor de Destaque 2 (Purple/Blue) */
    color: white;
}

.secondary-btn:hover {
    background-color: #3A237A; /* Um tom mais escuro para o hover */
    transform: translateY(-2px);
}

/* --- Rodapé --- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
    color: #777777;
    border-top: 1px solid #eeeeee;
}

/* --- Responsividade Mobile (Ajustes para telas menores que 600px) --- */
@media (max-width: 600px) {
    .logo {
        width: 120px;
    }

    .logo-container h1 {
        font-size: 1.3em;
    }
    
    .button-group {
        flex-direction: column; /* Empilha os botões verticalmente no mobile */
        gap: 15px;
    }

    .btn {
        width: 100%; /* Botões ocupam a largura total */
        max-width: 300px; /* Limite a largura para não ficar muito largo */
        margin: 0 auto;
    }
}

/* --- Estilos Específicos da Área do Terapeuta --- */

.back-link {
    display: inline-block;
    margin-top: 10px;
    color: #4A2C99; /* Cor de Destaque 2 */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #D82C8C; /* Cor de Destaque 1 */
}

.terapeuta-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.terapeuta-intro p {
    max-width: 600px;
    margin: 10px auto;
    font-size: 1.1em;
}

/* --- Layout Grid para Ações --- */
.actions-grid {
    display: grid;
    /* 3 colunas em telas maiores */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    padding: 0 20px;
}

.action-item {
    /* Ajusta o padding para botões no grid, se necessário */
    padding: 15px 10px;
    font-size: 1em;
    height: 100px; /* Altura fixa para todos os botões no grid */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Estilos já definidos em .btn se aplicam aqui */
}

/* --- Responsividade do Grid (Mobile e Tablet) --- */

/* Tablet: 2 colunas */
@media (max-width: 900px) {
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 coluna */
@media (max-width: 600px) {
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-item {
        height: auto; /* Altura automática no mobile */
        min-height: 80px;
    }
}

/* --- Estilos da Listagem de Terapeutas --- */

.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #4A2C99;
}

.filter-group select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Card do Terapeuta */
.terapeuta-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border-top: 5px solid #D82C8C; /* Detalhe em Rosa */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.terapeuta-card h3 {
    margin: 10px 0 5px;
    color: #4A2C99;
}

.terapeuta-card .terapia-tag {
    font-size: 0.9em;
    color: #D82C8C;
    font-weight: bold;
    margin-bottom: 5px;
}

.terapeuta-card .regiao-info {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 15px;
}

.social-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-social {
    padding: 8px 12px;
    font-size: 0.8em;
    text-decoration: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    flex: 1;
}

.btn-whatsapp { background-color: #25D366; }
.btn-instagram { background-color: #E1306C; }

/* Ajuste mobile para filtros */
@media (max-width: 600px) {
    .filter-container {
        flex-direction: column;
    }
}

/* ... (Mantenha o que já fizemos e adicione/ajuste estes) ... */

.terapeuta-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border-top: 6px solid #D82C8C;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: left; /* Alinhado à esquerda para melhor leitura da bio */
}

.terapeuta-card h3 {
    margin: 0;
    color: #4A2C99;
    font-size: 1.3em;
}

.regiao-info {
    font-size: 0.85em;
    color: #D82C8C;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.apresentacao-texto {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    /* Limita a 4 linhas e coloca reticências se for muito longo */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.social-btns {
    margin-top: auto; /* Empurra os botões para o final do card */
    display: flex;
    gap: 10px;
}

/* No seu style.css, adicione ou ajuste: */

.terapeuta-card .regiao-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Estilo para os campos de input de texto e número */
.filter-container input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
/* --- Vitrine de Achadinhos --- */

.search-box {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.id-filter { width: 80px; }
.name-filter { flex-grow: 1; }

.search-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* Grid Responsivo */
.products-grid {
    display: grid;
    /* Define colunas automáticas que se ajustam ao tamanho da tela */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* O Card */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    height: 100%; /* Garante que todos os cards na mesma linha tenham a mesma altura */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(216, 44, 140, 0.15);
}

/* Tratamento da Imagem (Crucial para UX) */
.product-img-wrapper {
    width: 100%;
    height: 250px; /* Altura fixa para manter o padrão */
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px;
    box-sizing: border-box;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ajusta a imagem sem cortar ou distorcer */
    mix-blend-mode: multiply; /* Ajuda a remover fundos brancos se a foto for PNG */
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Faz o conteúdo crescer para alinhar o botão no fundo */
}

.product-id-tag {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-details h3 {
    font-size: 1.1rem;
    color: #4A2C99;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-details p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1; /* Empurra o botão para baixo */
}

.btn-comprar {
    display: block;
    background-color: #D82C8C;
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-comprar:hover {
    background-color: #4A2C99;
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr; /* 1 card por linha no celular */
        gap: 20px;
    }

    .search-box {
        flex-direction: column;
    }

    .id-filter { width: 100%; }

    .product-img-wrapper {
        height: 200px; /* Um pouco menor no mobile para não ocupar a tela toda */
    }
}

/* --- Estilo Especial para Info Produtos em Destaque --- */

.product-card.featured {
    border: 2px solid #4A2C99; /* Roxo vibrante */
    position: relative;
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(74, 44, 153, 0.2);
}

.product-card.featured::after {
    content: "⭐ DESTAQUE";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #D82C8C; /* Rosa */
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

.type-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #4A2C99;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.btn-start {
    background-color: #4A2C99; /* Roxo para Info Produtos */
}

.btn-start:hover {
    background-color: #D82C8C; /* Rosa no Hover */
}
/* Estilo Especial para Terapeutas em Destaque */
.terapeuta-card.featured {
    border: 3px solid #D82C8C; /* Borda rosa mais grossa */
    transform: scale(1.03); /* Leve aumento de tamanho */
    box-shadow: 0 10px 25px rgba(216, 44, 140, 0.2);
    position: relative;
    z-index: 1;
}

.badge-destaque {
    position: absolute;
    top: -12px;
    right: 15px;
    background: #D82C8C;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Novo Botão Saiba Mais */
.btn-saiba-mais {
    background-color: #4A2C99; /* Roxo para diferenciar do Whatsapp */
    text-align: center;
}

.btn-saiba-mais:hover {
    background-color: #3A237A;
    filter: brightness(1.1);
}

/* Ajuste para o grid não "esmagar" o card aumentado */
.actions-grid {
    padding-top: 20px;
    gap: 30px; /* Aumentei um pouco o espaço entre os cards */
}

/* Card de Evento em Destaque */
.terapeuta-card.featured-event {
    border: 2px solid #D82C8C !important; /* Rosa vibrante */
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(216, 44, 140, 0.2);
    position: relative;
}

/* Etiqueta de Destaque */
.label-destaque-top {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #D82C8C;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

/* Container para alinhar Tag de Espaço e Selo */
.tags-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* Estilo do Selo (que agora é um link) */
.badge-selo-link {
    display: inline-block;
    background: #4A2C99; /* Roxo */
    color: white !important;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.badge-selo-link:hover {
    background: #D82C8C; /* Muda para rosa no hover */
}

/* Ajuste no botão Mais Infos para manter o padrão */
.btn-infos {
    background-color: #4A2C99 !important;
}
