/*
Theme Name: Terapia On App
Theme URI: https://terapiaon.com/
Author: Terapia On
Author URI: https://terapiaon.com/
Description: Tema para plataforma de terapias online integrada ao Bookly, com home, mural e painéis de terapeuta/cliente.
Version: 1.0.0
Text Domain: terapiaon-app
*/

:root {
    --to-primary: #16a34a;
    --to-primary-dark: #15803d;
    --to-primary-soft: #dcfce7;
    --to-bg: #f3f4f6;
    --to-card: #ffffff;
    --to-text: #111827;
    --to-muted: #6b7280;
    --to-border: #e5e7eb;
    --to-radius-lg: 18px;
    --to-radius-xl: 26px;
    --to-shadow-soft: 0 18px 45px rgba(15, 118, 110, 0.08);
    --to-max-width: 1120px;
    --to-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--to-font-sans);
    background: var(--to-bg);
    color: var(--to-text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout geral */

.to-page {
    background: linear-gradient(180deg, #f0fdf4 0%, #f3f4f6 40%, #f3f4f6 100%);
    min-height: 100vh;
}

.to-shell {
    max-width: var(--to-max-width);
    margin: 0 auto;
    padding: 32px 16px 64px;
}

/* Header */

.to-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(240, 253, 244, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(209, 250, 229, 0.6);
}

.to-header-inner {
    max-width: var(--to-max-width);
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.to-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.to-logo-badge {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #bbf7d0, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.to-logo-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #ecfdf5;
}

.to-logo-text-main {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.to-logo-text-sub {
    font-size: 12px;
    color: var(--to-muted);
}

/* Menu */

.to-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
}

.to-nav a {
    padding: 6px 0;
    position: relative;
}

.to-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--to-primary);
    transition: width 0.18s ease;
}

.to-nav a:hover::after,
.to-nav a.to-nav-current::after {
    width: 100%;
}

.to-nav-login {
    display: flex;
    align-items: center;
    gap: 10px;
}

.to-btn-outline,
.to-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease;
}

.to-btn-outline {
    border-color: rgba(22, 163, 74, 0.35);
    color: var(--to-primary-dark);
    background: #ecfdf5;
}

.to-btn-outline:hover {
    background: #bbf7d0;
    transform: translateY(-1px);
}

.to-btn-primary {
    background: var(--to-primary);
    color: #ecfdf5;
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.35);
}

.to-btn-primary:hover {
    background: var(--to-primary-dark);
    transform: translateY(-1px);
}

/* Mobile header */

.to-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 6px;
}

/* Hero Home */

.to-hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 32px;
    align-items: center;
    margin-top: 32px;
}

.to-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 4px 12px;
    background: rgba(22, 163, 74, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.6);
    font-size: 12px;
    color: var(--to-primary-dark);
    margin-bottom: 12px;
}

.to-hero-title {
    font-size: clamp(30px, 4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.to-hero-sub {
    font-size: 15px;
    color: var(--to-muted);
    max-width: 32rem;
    margin-bottom: 24px;
}

.to-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.to-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--to-muted);
}

.to-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.07);
    color: var(--to-primary-dark);
    font-size: 11px;
}

.to-hero-image {
    border-radius: var(--to-radius-xl);
    background: radial-gradient(circle at 20% 0, #bbf7d0, #22c55e);
    box-shadow: var(--to-shadow-soft);
    overflow: hidden;
    position: relative;
}

.to-hero-image-inner {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    background: linear-gradient(145deg, rgba(240, 253, 244, 0.1), rgba(22, 163, 74, 0.25));
}

.to-hero-image-main {
    border-radius: 999px;
    background: #ecfdf5;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.to-hero-doc {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid #a7f3d0;
}

.to-hero-doc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.to-hero-doc-info {
    font-size: 13px;
}

.to-hero-doc-name {
    font-weight: 600;
}

.to-hero-doc-sub {
    font-size: 11px;
    color: var(--to-muted);
}

.to-hero-tagline {
    font-size: 13px;
    color: #ecfdf5;
    max-width: 15rem;
}

/* Seções */

.to-section {
    margin-top: 40px;
}

.to-section-header {
    text-align: center;
    margin-bottom: 26px;
}

.to-section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.to-section-sub {
    font-size: 14px;
    color: var(--to-muted);
    max-width: 30rem;
    margin: 8px auto 0;
}

/* Grid terapeutas */

.to-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.to-card {
    background: var(--to-card);
    border-radius: var(--to-radius-lg);
    box-shadow: var(--to-shadow-soft);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.to-card-header {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
}

.to-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: #e5e7eb;
}

.to-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.to-chip {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.08);
    color: var(--to-primary-dark);
}

.to-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fefce8;
    color: #854d0e;
}

.to-card-body {
    font-size: 13px;
    color: var(--to-muted);
}

.to-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--to-muted);
}

.to-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.to-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.to-card-footer .to-btn-primary {
    padding-inline: 18px;
}

/* Serviços cards */

.to-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.to-service-card {
    background: #f9fafb;
    border-radius: var(--to-radius-lg);
    padding: 18px 16px 16px;
    border: 1px solid rgba(209, 213, 219, 0.7);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.to-service-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.to-service-title {
    font-size: 16px;
    font-weight: 600;
}

.to-service-meta {
    font-size: 13px;
    color: var(--to-muted);
}

.to-service-price {
    font-weight: 700;
    color: var(--to-primary-dark);
    margin-bottom: 8px;
}

.to-service-list {
    font-size: 12px;
    color: var(--to-muted);
    padding-left: 18px;
    margin: 0 0 10px;
}

.to-service-list li + li {
    margin-top: 4px;
}

/* Mural cards */

.to-mural-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
    gap: 18px;
}

.to-mural-card {
    background: var(--to-card);
    border-radius: var(--to-radius-lg);
    box-shadow: var(--to-shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.to-mural-media {
    background: #d1d5db;
    min-height: 140px;
}

.to-mural-content {
    padding: 16px 18px 18px;
}

.to-mural-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.to-mural-excerpt {
    font-size: 13px;
    color: var(--to-muted);
    margin-bottom: 12px;
}

.to-mural-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* Painéis */

.to-dashboard {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.to-dashboard-sidebar {
    background: #f9fafb;
    border-radius: var(--to-radius-lg);
    padding: 18px 16px;
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.to-dashboard-sidebar-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.to-dashboard-sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 4px;
}

.to-dashboard-sidebar-nav a.to-dashboard-active {
    background: #dcfce7;
    color: var(--to-primary-dark);
    font-weight: 500;
}

.to-dashboard-main {
    background: var(--to-card);
    border-radius: var(--to-radius-lg);
    padding: 20px 18px;
    box-shadow: var(--to-shadow-soft);
}

/* Formulários */

.to-form-group {
    margin-bottom: 14px;
}

.to-form-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.to-input,
.to-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--to-border);
    padding: 9px 11px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border 0.16s ease, box-shadow 0.16s ease;
    background: #f9fafb;
}

.to-textarea {
    min-height: 140px;
    resize: vertical;
}

.to-input:focus,
.to-textarea:focus {
    border-color: rgba(22, 163, 74, 0.7);
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.2);
    background: #ffffff;
}

/* Tabelas simples */

.to-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.to-table th,
.to-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #e5e7eb;
}

.to-table th {
    text-align: left;
    font-weight: 600;
    color: #4b5563;
}

/* Footer */

.to-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(209, 213, 219, 0.8);
    font-size: 12px;
    color: var(--to-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

/* Responsivo */

@media (max-width: 960px) {
    .to-hero {
        grid-template-columns: 1fr;
    }
    .to-hero-image-inner {
        min-height: 180px;
    }
    .to-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .to-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .to-mural-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .to-dashboard {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .to-header-inner {
        padding-inline: 14px;
    }
    .to-nav {
        display: none;
    }
    .to-nav-toggle {
        display: inline-flex;
    }
    .to-grid,
    .to-services-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Utilitários */

.to-breadcrumbs {
    font-size: 12px;
    color: var(--to-muted);
    margin-top: 16px;
    margin-bottom: 8px;
}

.to-breadcrumbs a {
    color: inherit;
}

.to-breadcrumbs span {
    opacity: 0.7;
} 



/* Estilo para o contêiner dos ícones */
.social-icons {
    /* Garante que os ícones fiquem lado a lado */
    display: flex;
    /* Adiciona um pequeno espaço entre eles */
    gap: 15px;
    /* Alinha ao centro, se necessário */
    justify-content: flex-start; 
}

/* Estilo para o link e ícone */
.social-icons a {
    /* Remove a sublinha padrão do link */
    text-decoration: none;
    /* Define uma cor para o ícone, que se sobrepõe à cor do link */
    color: #333; /* Cor escura, ajuste para a cor do seu rodapé */
    /* Define o tamanho do ícone */
    font-size: 24px; 
    /* Efeito de transição para o hover */
    transition: color 0.3s ease;
}

/* Efeito ao passar o mouse (hover) */
.social-icons a:hover {
    /* Troca a cor para dar um feedback visual */
    color: #0073aa; /* Exemplo de azul, pode ser a cor da sua marca */
}
