/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}
.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1) !important;
    color: white;
}

/* ===== FOOTER SOCIAL ===== */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

/* ===== ENTRY CONTENT STYLES ===== */
.entry-content {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
}
.entry-content h2 {
    font-size: 26px;
    color: var(--color-primary);
    margin: 36px 0 16px;
}
.entry-content h3 {
    font-size: 20px;
    color: var(--color-dark);
    margin: 28px 0 12px;
}
.entry-content h4 {
    font-size: 17px;
    color: var(--color-dark);
    margin: 20px 0 10px;
}
.entry-content p {
    margin-bottom: 18px;
}
.entry-content ul, .entry-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li {
    margin-bottom: 8px;
    color: var(--color-text-light);
}
.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
}
.entry-content a:hover { color: var(--color-accent); }
.entry-content img {
    border-radius: var(--border-radius-lg);
    margin: 20px 0;
    max-width: 100%;
}
.entry-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 16px 20px;
    background: var(--color-gray);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--color-text);
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.entry-content th, .entry-content td {
    padding: 12px 16px;
    border: 1px solid var(--color-gray-2);
    text-align: left;
}
.entry-content th {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
}
.entry-content tr:nth-child(even) td { background: var(--color-gray); }

/* ===== PAGINATION ===== */
.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.page-numbers a, .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gray-2);
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
}
.page-numbers a:hover, .page-numbers .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* ===== ARCHIVE / CASES ===== */
.archive-servico .service-bar { display: none; }

/* ===== LOADING STATE ===== */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ===== SEARCH FORM ===== */
.search-form {
    display: flex;
    gap: 8px;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--color-gray-2);
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: var(--font-body);
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--color-primary);
}
.search-form button {
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
}

/* ===== WIDGET STYLES ===== */
.widget {
    margin-bottom: 28px;
}
.widget-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}
.footer-widget-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

/* ===== PAGE TEMPLATE: TREINAMENTOS ===== */
.training-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.training-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.training-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.training-card-body {
    padding: 24px;
}
.training-card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.training-card-body p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .training-page-grid { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 22px; }
}
