/* ============================================
   PERFIL DO ADVOGADO - CSS ISOLADO
   ============================================ */

/* Container (caso não exista no CSS principal) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Breadcrumb (caso não exista) */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #6c757d;
}

.breadcrumb-list a {
    color: #1f3044;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: #bc871e;
}

/* Botão padrão (caso não exista) */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero do Perfil */
.perfil-hero {
    background: linear-gradient(135deg, #1f3044 0%, #2a4158 100%);
    padding: 3rem 0;
    color: white;
}

.perfil-hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.perfil-foto-destaque {
    position: relative;
}

.foto-principal {
    width: 300px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    border: 6px solid #bc871e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.foto-placeholder-grande {
    width: 300px;
    height: 200px;
    border-radius: 16px;
    background: #bc871e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: white;
    border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.selo-premium {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
}

.selo-premium span {
    font-size: 1.5rem;
}

.selo-premium p {
    margin: 0;
    font-size: 0.7rem;
    font-weight: bold;
    color: #1f3044;
}

.perfil-info-principal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.perfil-titulo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.perfil-titulo h1 {
    margin: 0;
    font-size: 2.0rem;
    font-weight: 700;
    color: white;
}

.badge-verificado {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-premium-perfil {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1f3044;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    border: 2px solid #fff;
}

.badge-premium-perfil svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.perfil-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meta-item .icon {
    font-size: 2rem;
}

.meta-item small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.meta-item strong {
    display: block;
    font-size: 1.1rem;
}

.perfil-acoes-rapidas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-acao {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 200px;
}

.btn-acao.whatsapp {
    background: #25D366;
    color: white;
}

.btn-acao.whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-acao.telefone {
    background: white;
    color: #1f3044;
}

.btn-acao.telefone:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-acao .icon {
    font-size: 2rem;
}

.btn-acao strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.btn-acao small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Conteúdo do Perfil */
.perfil-conteudo {
    padding: 3rem 0;
    background: #f8f9fa;
}

.perfil-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.perfil-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.perfil-card .card-header {
    background: linear-gradient(135deg, #1f3044 0%, #2a4158 100%);
    padding: 1.5rem;
    border-bottom: 3px solid #bc871e;
}

.perfil-card .card-header h2,
.perfil-card .card-header h3 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.perfil-card .card-header h3 {
    font-size: 1.25rem;
}

.perfil-card .card-header .icon {
    font-size: 1.75rem;
}

.perfil-card .card-body {
    padding: 2rem;
}

.texto-formatado {
    line-height: 1.6;
    color: #495057;
    font-size: 1.05rem;
}

/* Espaçamento entre parágrafos do currículo */
.curriculo-paragrafo {
    margin: 0 0 2rem 0 !important;
    line-height: 1.8 !important;
    display: block !important;
}

.curriculo-paragrafo:last-child {
    margin-bottom: 0 !important;
}

.texto-formatado .curriculo-paragrafo {
    margin: 0 0 2rem 0 !important;
    line-height: 1.8 !important;
    display: block !important;
}

.texto-formatado .curriculo-paragrafo:last-child {
    margin-bottom: 0 !important;
}

.texto-formatado b,
.texto-formatado strong {
    font-weight: 700;
    color: #1f3044;
}

.texto-formatado i,
.texto-formatado em {
    font-style: italic;
}

/* Áreas de Atuação */
.areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.area-tag {
    background: linear-gradient(135deg, #bc871e 0%, #d4a027 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(188, 135, 30, 0.3);
    transition: all 0.3s ease;
}

.area-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 135, 30, 0.4);
}

/* Sidebar - Card de Contato */
.card-contato .card-body {
    padding: 1rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contato-item:last-child {
    margin-bottom: 0;
}

.whatsapp-item {
    background: #e8f5e9;
    border: 2px solid #25D366;
}

.whatsapp-item:hover {
    background: #25D366;
    color: white;
    transform: translateX(5px);
}

.telefone-item {
    background: #e3f2fd;
    border: 2px solid #2196F3;
}

.telefone-item:hover {
    background: #2196F3;
    color: white;
    transform: translateX(5px);
}

.endereco-item {
    background: #fff3e0;
    border: 2px solid #ff9800;
}

.endereco-item .endereco-completo {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
    opacity: 1;
}

.endereco-item .ver-mapa {
    display: block;
    margin-top: 0.5rem;
    color: #ff9800;
    font-weight: 600;
    font-size: 0.85rem;
}

.endereco-item:hover .ver-mapa {
    color: #f57c00;
    text-decoration: underline;
}

a.endereco-item {
    text-decoration: none;
    cursor: pointer;
}

a.endereco-item:hover {
    background: #ffe0b2;
    border-color: #f57c00;
}

.contato-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contato-info {
    flex: 1;
}

.contato-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contato-info span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.contato-arrow {
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.contato-item:hover .contato-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Card de Informações */
.card-info .card-body {
    padding: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
}

.info-value {
    font-weight: 600;
    color: #1f3044;
    font-size: 1rem;
}

/* Card CTA */
.card-cta {
    background: linear-gradient(135deg, #bc871e 0%, #d4a027 100%);
    color: white;
}

.card-cta .card-body {
    padding: 2rem;
}

.card-cta h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.card-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
}

/* Responsividade */
@media (max-width: 1200px) {
    .perfil-layout {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 968px) {
    .perfil-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .perfil-foto-destaque {
        margin: 0 auto;
    }

    .perfil-titulo {
        justify-content: center;
    }

    .perfil-meta {
        justify-content: center;
    }

    .perfil-acoes-rapidas {
        justify-content: center;
    }

    .perfil-layout {
        grid-template-columns: 1fr;
    }

    .perfil-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .perfil-titulo h1 {
        font-size: 2rem;
    }

    .foto-principal,
    .foto-placeholder-grande {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }

    .perfil-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-acao {
        min-width: 100%;
    }

    .perfil-card .card-body {
        padding: 1.5rem;
    }
}

/* Ícones SVG */
.whatsapp-icon svg {
    fill: currentColor;
}

.contato-icon svg {
    display: block;
}

/* Números em Destaque */
.numero-destaque {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: inherit !important;
    letter-spacing: 0.5px;
}

.btn-acao .numero-destaque {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.contato-info .numero-destaque {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-top: 0.25rem;
}

/* Ajustes nos botões de ação */
.btn-acao strong {
    font-size: 1.15rem;
    font-weight: 700;
}

.btn-acao small {
    font-size: 1rem;
    font-weight: 600;
}

/* Ajustes nos items de contato */
.contato-info strong {
    font-size: 1.05rem;
    font-weight: 700;
}


/* ============================================
   COMPARTILHAMENTO SOCIAL
   ============================================ */

.compartilhar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(188, 135, 30, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
}

.compartilhar-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
    white-space: nowrap;
}

.social-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.social-btn:active {
    transform: scale(0.95);
}

/* WhatsApp */
.social-btn.whatsapp {
    background: #25D366;
    color: white;
}

.social-btn.whatsapp:hover {
    background: #20BA5A;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Facebook */
.social-btn.facebook {
    background: #1877F2;
    color: white;
}

.social-btn.facebook:hover {
    background: #0C63D4;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Twitter/X */
.social-btn.twitter {
    background: #000000;
    color: white;
}

.social-btn.twitter:hover {
    background: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* LinkedIn */
.social-btn.linkedin {
    background: #0A66C2;
    color: white;
}

.social-btn.linkedin:hover {
    background: #004182;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

/* Email */
.social-btn.email {
    background: #EA4335;
    color: white;
}

.social-btn.email:hover {
    background: #C5221F;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

/* Copiar Link */
.social-btn.copiar {
    background: #6c757d;
    color: white;
}

.social-btn.copiar:hover {
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

/* Responsivo */
@media (max-width: 768px) {
    .compartilhar-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .compartilhar-label {
        font-size: 0.9rem;
    }

    .social-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .social-btn {
        width: 44px;
        height: 44px;
    }

    .social-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ============================================
   VÍDEO DE APRESENTAÇÃO (SIDEBAR)
   ============================================ */

.card-video .card-body {
    padding: 0.5rem;
}

.video-wrapper-sidebar {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper-sidebar iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}