/* GERAL E LAYOUT */
.elementor-widget-team_members_card .tmc-wrapper { display: grid; gap: 30px; align-items: stretch; padding-top: 10px; }

/* CARD */
.elementor-widget-team_members_card .tmc-card { background: #fff; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.07); transition: all 0.3s ease; display: flex; flex-direction: column; height: 100%; border: 1px solid #f0f0f0; }
.elementor-widget-team_members_card .tmc-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

.elementor-widget-team_members_card .tmc-image-wrapper { display: block; width: 100%; text-align: center; padding: 25px 0 0; }
.elementor-widget-team_members_card .tmc-image-wrapper img { display: inline-block; object-fit: cover; max-width: 100%; }
.elementor-widget-team_members_card.tmc-image-shape-square .tmc-image-wrapper img { border-radius: 12px; }
.elementor-widget-team_members_card.tmc-image-shape-round .tmc-image-wrapper img { border-radius: 50%; }

.elementor-widget-team_members_card .tmc-card-content { padding: 0 25px; display: flex; flex-direction: column; flex-grow: 1; }
.elementor-widget-team_members_card .tmc-name, .elementor-widget-team_members_card .tmc-description { padding: 0; margin-left: 0; margin-right: 0; }
.elementor-widget-team_members_card .tmc-name { margin-bottom: 10px; }
.elementor-widget-team_members_card .tmc-description { margin-top: 0; margin-bottom: 20px; line-height: 1.6; flex-grow: 1; color: #667085; }

.elementor-widget-team_members_card .tmc-card-footer { padding: 20px 25px 25px; margin-top: auto; }
.elementor-widget-team_members_card .tmc-button { padding: 12px 25px; border: none; border-radius: 8px; color: #fff; cursor: pointer; background-color: #0073aa; transition: background-color 0.3s, color 0.3s; font-weight: 600; width: 100%; }

/* ALINHAMENTO GERAL DO CARD */
.elementor-widget-team_members_card.tmc-align-center .tmc-card { text-align: center; }
.elementor-widget-team_members_card.tmc-align-left .tmc-card { text-align: left; }
.elementor-widget-team_members_card.tmc-align-right .tmc-card { text-align: right; }

/* ESTILOS PARA O SLIDER (SWIPER) */
.tmc-slider-wrapper { position: relative; padding: 10px 40px 0; margin: 0 -40px; }
.tmc-slider .swiper { overflow: visible !important; }
.tmc-slider .swiper-slide { height: auto; display: flex; }
.tmc-slider .tmc-card { width: 100%; }
.tmc-slider-wrapper .swiper-button-prev, .tmc-slider-wrapper .swiper-button-next { color: #0073aa; top: 50%; transform: translateY(-50%); }
.tmc-slider-wrapper .swiper-button-prev { left: 0; }
.tmc-slider-wrapper .swiper-button-next { right: 0; }
.swiper-button-disabled { opacity: 0.35; cursor: auto; pointer-events: none; }
.tmc-slider-wrapper .swiper-pagination { position: static; margin-top: 25px; }
.tmc-slider-wrapper .swiper-pagination-bullet { background-color: #ccc; opacity: 1; transition: background-color 0.3s; }
.tmc-slider-wrapper .swiper-pagination-bullet-active { background-color: #0073aa; }

/* LAYOUT DO POPUP "ULTRA PREMIUM" */
.tmc-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s; z-index: 99999; }
.tmc-popup.is-active { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }
.tmc-popup-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(17, 24, 39, 0.8); backdrop-filter: blur(8px); cursor: pointer; }
.tmc-popup-content { background: #fff; border-radius: 16px; max-width: 900px; width: 95%; position: relative; max-height: 90vh; display: flex; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4); overflow: hidden; transform: scale(0.95) translateY(20px); transition: transform 0.4s ease; }
.tmc-popup.is-active .tmc-popup-content { transform: scale(1) translateY(0); }
.tmc-popup-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; font-size: 0; cursor: pointer; background-color: rgba(17, 24, 39, 0.5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 60%; border: none; border-radius: 50%; z-index: 10; transition: background-color 0.3s ease, transform 0.3s ease; }
.tmc-popup-close:hover { background-color: rgba(17, 24, 39, 0.75); transform: rotate(90deg); }
.tmc-popup-body { display: flex; width: 100%; height: 100%; max-height: 90vh; }
.tmc-popup-sidebar { width: 320px; background: #f8f9fa; padding: 40px; flex-shrink: 0; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.tmc-popup-sidebar .tmc-popup-image img { object-fit: cover; margin-left: auto; margin-right: auto; margin-bottom: 15px; border: 4px solid #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.tmc-popup-sidebar .tmc-popup-name { font-size: 1.75em; font-weight: 700; color: #111827; margin: 0; }
.tmc-popup-sidebar .tmc-popup-specialty { font-size: 1em; color: #0073aa; margin: 5px 0 20px 0; }
.tmc-popup-social { text-align: center; }
.tmc-popup-social a { display: inline-block; font-size: 24px; color: #6b7280; margin: 5px 10px; transition: transform 0.2s ease-in-out, color 0.2s ease-in-out; }
.tmc-popup-social a:hover { color: #0073aa; transform: scale(1.2); }
.tmc-popup-main { padding: 40px; overflow-y: auto; flex-grow: 1; background-color: #fff; }
.tmc-popup-main .tmc-popup-name { display: none; }
.tmc-popup-main .tmc-popup-description { font-size: 1.05em; line-height: 1.8; color: #4b5563; }
.tmc-popup-main .tmc-popup-description > *:first-child { margin-top: 0; }
.tmc-popup-main::-webkit-scrollbar, .tmc-popup-sidebar::-webkit-scrollbar { width: 8px; }
.tmc-popup-main::-webkit-scrollbar-track, .tmc-popup-sidebar::-webkit-scrollbar-track { background: #f1f1f1; }
.tmc-popup-main::-webkit-scrollbar-thumb, .tmc-popup-sidebar::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.tmc-popup-main::-webkit-scrollbar-thumb:hover, .tmc-popup-sidebar::-webkit-scrollbar-thumb:hover { background: #aaa; }

/* ESTILOS DE PERSONALIZAÇÃO DO POPUP (v7.0) */
.tmc-popup-sidebar-pos-right .tmc-popup-body { flex-direction: row-reverse; }
.tmc-popup-shape-round .tmc-popup-image img { border-radius: 50%; }
.tmc-popup-shape-square .tmc-popup-image img { border-radius: 12px; }

/* RESPONSIVO */
@media (max-width: 1024px) { .tmc-slider-wrapper { margin: 0; padding: 10px 0 0; } .tmc-slider-wrapper .swiper-button-prev, .tmc-slider-wrapper .swiper-button-next { display: none; } }
@media (max-width: 768px) { .tmc-popup-body, .tmc-popup-sidebar-pos-right .tmc-popup-body { flex-direction: column; } .tmc-popup-sidebar { width: 100%; max-height: none; padding: 30px 20px; justify-content: flex-start; } .tmc-popup-sidebar .tmc-popup-image img { width: 120px !important; height: 120px !important; } .tmc-popup-main { padding: 30px 20px; } .tmc-popup-main .tmc-popup-name { display: block; } .tmc-popup-sidebar .tmc-popup-name, .tmc-popup-sidebar .tmc-popup-specialty { display: none; } }