/*
Theme Name: EmpregosBR
Theme URI: https://seusite.com.br
Author: Seu Nome
Author URI: https://seusite.com.br
Description: Tema profissional para site de vagas de emprego, inspirado no RioVagas. Listagem de vagas, categorias, busca e muito mais.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: empregosbr
Tags: jobs, employment, vagas, emprego, classifieds
*/

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:    #1a5fb4;
    --primary-dk: #144a8c;
    --accent:     #e8600a;
    --accent-dk:  #c04e06;
    --success:    #2d8a4e;
    --bg:         #f4f6f9;
    --white:      #ffffff;
    --gray-100:   #f8f9fa;
    --gray-200:   #e9ecef;
    --gray-400:   #ced4da;
    --gray-600:   #6c757d;
    --gray-800:   #343a40;
    --text:       #212529;
    --border:     #dee2e6;
    --radius:     6px;
    --shadow:     0 2px 8px rgba(0,0,0,.10);
    --shadow-md:  0 4px 16px rgba(0,0,0,.13);
    --font:       'Segoe UI', Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dk); text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===================================================
   TOP BAR
=================================================== */
.top-bar {
    background: var(--primary-dk);
    color: #fff;
    font-size: .8rem;
    padding: 5px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #cde; font-size: .8rem; }
.top-bar a:hover { color: #fff; text-decoration: none; }

/* ===================================================
   HEADER
=================================================== */
#site-header {
    background: var(--primary);
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}
#site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-logo a {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
}
.site-logo span { color: var(--accent); }
.site-logo small {
    display: block;
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #c8d8f0;
    margin-top: -4px;
}

/* Header Search */
.header-search { flex: 1; max-width: 500px; }
.header-search form { display: flex; }
.header-search input {
    flex: 1;
    padding: 9px 14px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: .95rem;
    outline: none;
}
.header-search button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    transition: background .2s;
}
.header-search button:hover { background: var(--accent-dk); }

/* Header Actions */
.header-actions { display: flex; gap: 8px; }
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    text-decoration: none;
}
.btn-outline-white {
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
    text-decoration: none;
}
.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-dk);
    border-color: var(--accent-dk);
    color: #fff;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dk);
    border-color: var(--primary-dk);
    color: #fff;
    text-decoration: none;
}

/* ===================================================
   NAVIGATION
=================================================== */
#main-nav {
    background: var(--primary-dk);
    border-top: 1px solid rgba(255,255,255,.12);
}
#main-nav .container { display: flex; align-items: center; }
#main-nav ul { display: flex; gap: 0; }
#main-nav ul li a {
    display: block;
    color: #dce8ff;
    padding: 10px 16px;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a {
    background: rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
}

/* ===================================================
   HERO / SEARCH SECTION
=================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0d3a7a 100%);
    padding: 50px 0 40px;
    text-align: center;
    color: #fff;
}
.hero-section h1 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.hero-section p {
    font-size: 1.05rem;
    color: #cde;
    margin-bottom: 28px;
}
.hero-search-bar {
    display: flex;
    max-width: 720px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.hero-search-bar input {
    flex: 1;
    padding: 14px 18px;
    font-size: 1rem;
    border: none;
    outline: none;
    color: var(--text);
}
.hero-search-bar select {
    padding: 14px 12px;
    border: none;
    border-left: 1px solid var(--border);
    font-size: .9rem;
    color: var(--gray-600);
    outline: none;
    background: #fff;
    min-width: 150px;
}
.hero-search-bar button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.hero-search-bar button:hover { background: var(--accent-dk); }
.hero-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-tags span { color: #aac4ee; font-size: .85rem; }
.hero-tags a {
    color: #fff;
    font-size: .82rem;
    background: rgba(255,255,255,.15);
    padding: 4px 10px;
    border-radius: 20px;
    transition: background .2s;
}
.hero-tags a:hover { background: rgba(255,255,255,.28); text-decoration: none; }

/* ===================================================
   STATS BAR
=================================================== */
.stats-bar {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 14px 0;
}
.stats-bar .container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
}
.stat-item small { font-size: .78rem; color: var(--gray-600); }

/* ===================================================
   LAYOUT MAIN
=================================================== */
.site-main {
    padding: 28px 0;
}
.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

/* ===================================================
   SECTION TITLES
=================================================== */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    padding: 10px 14px;
    background: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-title a {
    font-size: .78rem;
    font-weight: 500;
    color: var(--gray-600);
}
.section-title a:hover { color: var(--primary); }

/* ===================================================
   JOB CARDS
=================================================== */
.jobs-list { display: flex; flex-direction: column; gap: 10px; }

.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    transition: box-shadow .2s, border-color .2s;
    position: relative;
}
.job-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.job-card.featured {
    border-left: 4px solid var(--accent);
}
.job-card.featured::before {
    content: 'DESTAQUE';
    position: absolute;
    top: 10px; right: 12px;
    background: var(--accent);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: .5px;
}
.job-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    padding-right: 80px;
}
.job-card h3 a { color: var(--text); font-weight: 600; }
.job-card h3 a:hover { color: var(--primary); text-decoration: none; }

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .82rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}
.job-meta span { display: flex; align-items: center; gap: 4px; }
.job-meta .salary { color: var(--success); font-weight: 700; }

.job-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.job-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: .73rem;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid var(--border);
}
.job-tag.cat { background: #e8f0fc; color: var(--primary); border-color: #b8d0f5; }

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-200);
    font-size: .78rem;
    color: var(--gray-600);
}
.job-footer .btn-apply {
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--radius);
    font-size: .82rem;
    font-weight: 600;
    transition: background .2s;
}
.job-footer .btn-apply:hover {
    background: var(--primary-dk);
    text-decoration: none;
}

/* ===================================================
   PAGINATION
=================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    background: var(--white);
    color: var(--gray-800);
    transition: all .2s;
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }

/* ===================================================
   SIDEBAR
=================================================== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.widget-title {
    background: var(--primary);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    padding: 10px 14px;
    letter-spacing: .3px;
}
.widget-body { padding: 14px; }

/* Category Widget */
.cat-list li {
    border-bottom: 1px solid var(--gray-200);
    padding: 7px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-list li:last-child { border-bottom: none; }
.cat-list li a { font-size: .88rem; color: var(--text); }
.cat-list li a:hover { color: var(--primary); }
.cat-list li .count {
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: .73rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Recent Posts Widget */
.recent-posts li {
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 0;
}
.recent-posts li:last-child { border-bottom: none; }
.recent-posts li a { font-size: .85rem; color: var(--text); display: block; margin-bottom: 2px; }
.recent-posts li a:hover { color: var(--primary); }
.recent-posts li .date { font-size: .73rem; color: var(--gray-600); }

/* Newsletter Widget */
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    margin-bottom: 8px;
    outline: none;
}
.newsletter-form input[type="email"]:focus { border-color: var(--primary); }
.newsletter-form button {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.newsletter-form button:hover { background: var(--accent-dk); }
.newsletter-form p { font-size: .78rem; color: var(--gray-600); margin-top: 8px; }

/* Social Widget */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius);
    font-size: .82rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
}
.social-links a:hover { opacity: .85; text-decoration: none; }
.social-links .fb { background: #1877f2; }
.social-links .ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-links .tw { background: #1da1f2; }
.social-links .wa { background: #25d366; }

/* ===================================================
   SINGLE JOB PAGE
=================================================== */
.single-job-header {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.single-job-header h1 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text); }
.single-job-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.info-box {
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
}
.info-box label {
    display: block;
    font-size: .73rem;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 3px;
}
.info-box span { font-size: .92rem; font-weight: 600; color: var(--text); }
.info-box .salary-val { color: var(--success); font-size: 1.1rem; }

.apply-box {
    background: linear-gradient(135deg, var(--primary), #1565c0);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: #fff;
    margin-top: 16px;
}
.apply-box h3 { margin-bottom: 6px; font-size: 1.05rem; }
.apply-box p { font-size: .85rem; color: #cde; margin-bottom: 14px; }
.btn-apply-lg {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.btn-apply-lg:hover { background: var(--accent-dk); color: #fff; text-decoration: none; }

.job-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    line-height: 1.8;
}
.job-content h2 { font-size: 1.1rem; color: var(--primary); margin: 20px 0 10px; border-bottom: 2px solid var(--gray-200); padding-bottom: 6px; }
.job-content h2:first-child { margin-top: 0; }
.job-content ul { list-style: disc; padding-left: 20px; }
.job-content ul li { margin-bottom: 4px; }
.job-content p { margin-bottom: 12px; }

/* ===================================================
   CATEGORIES PAGE
=================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.cat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    transition: all .2s;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--primary);
    transform: translateY(-2px);
}
.cat-card .icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}
.cat-card h3 { font-size: .92rem; font-weight: 600; margin-bottom: 4px; }
.cat-card .count { font-size: .78rem; color: var(--gray-600); }

/* ===================================================
   FOOTER
=================================================== */
#site-footer {
    background: #1a2535;
    color: #a0afbe;
    margin-top: 40px;
}
.footer-main {
    padding: 40px 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-col h4 {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2e3f56;
}
.footer-col .logo-footer {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
    display: block;
}
.footer-col .logo-footer span { color: var(--accent); }
.footer-col p { font-size: .85rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: #a0afbe; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
    background: #12181f;
    padding: 14px 0;
    text-align: center;
    font-size: .8rem;
    color: #607080;
    border-top: 1px solid #2e3f56;
}
.footer-bottom a { color: #8090a0; }
.footer-bottom a:hover { color: #fff; }

/* ===================================================
   NOTICES / ALERTS
=================================================== */
.notice {
    background: #dff0d8;
    border: 1px solid #c3e6cb;
    color: #2d6a4f;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: .9rem;
}
.notice.error { background: #fde8e8; border-color: #f5c6cb; color: #721c24; }
.notice.info  { background: #d1ecf1; border-color: #bee5eb; color: #0c5460; }

/* ===================================================
   MOBILE RESPONSIVE
=================================================== */
@media (max-width: 900px) {
    .content-area { grid-template-columns: 1fr; }
    .footer-main  { grid-template-columns: 1fr 1fr; }
    .hero-section h1 { font-size: 1.5rem; }
    .hero-search-bar select { display: none; }
    .stats-bar .container { gap: 24px; }
}

@media (max-width: 600px) {
    #site-header .container { flex-wrap: wrap; }
    .header-search { order: 3; width: 100%; max-width: 100%; }
    .header-actions { gap: 5px; }
    .hero-search-bar button { padding: 14px 14px; font-size: .9rem; }
    #main-nav ul { overflow-x: auto; }
    .footer-main { grid-template-columns: 1fr; }
    .single-job-info-grid { grid-template-columns: 1fr 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   BANNER GRATUIDADE
=================================================== */
.free-banner {
    background: linear-gradient(135deg, #155724, #1e7e34);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .88rem;
    animation: slideDown .4s ease;
}
@keyframes slideDown { from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none} }
.free-badge {
    background: #fff;
    color: #155724;
    font-size: .72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: .5px;
}

/* ===================================================
   BREADCRUMB
=================================================== */
.breadcrumb {
    font-size: .82rem;
    color: var(--gray-600);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--gray-400); }

/* ===================================================
   BADGES DESTAQUE/PCD
=================================================== */
.destaque-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    margin-right: 6px;
    letter-spacing: .5px;
}

/* ===================================================
   APPLY BOX — MELHORADA
=================================================== */
.apply-box {
    background: linear-gradient(135deg, var(--primary), #0e4499);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    color: #fff;
    margin-top: 16px;
}
.apply-free-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius);
    padding: 10px 16px;
    margin-bottom: 16px;
    text-align: left;
}
.seal-circle {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}
.apply-free-seal strong {
    display: block;
    font-size: .88rem;
    color: #fff;
    letter-spacing: .5px;
}
.apply-free-seal small {
    font-size: .75rem;
    color: rgba(255,255,255,.75);
}
.apply-box h3 { margin-bottom: 4px; font-size: 1.1rem; }
.apply-box > p { font-size: .88rem; color: rgba(255,255,255,.8); margin-bottom: 16px; }

.btn-apply-lg {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    letter-spacing: .3px;
}
.btn-apply-lg:hover {
    background: var(--accent-dk);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.btn-apply-wa {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 9px 20px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 8px;
    transition: background .2s;
}
.btn-apply-wa:hover { background: #1ebe5d; color: #fff; text-decoration: none; }

.apply-trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: .78rem;
    color: rgba(255,255,255,.8);
}
.apply-trust-row span { display: flex; align-items: center; gap: 4px; }

/* ===================================================
   FORMULÁRIO DE CURRÍCULO INLINE
=================================================== */
.curriculo-inline-wrap {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.curriculo-inline-header {
    background: linear-gradient(135deg, var(--primary), #0e4499);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
.curriculo-inline-header h3 { font-size: 1rem; margin: 0 0 3px; }
.curriculo-inline-header p  { font-size: .82rem; margin: 0; color: rgba(255,255,255,.8); }
.curriculo-inline-wrap .curriculo-form-wrap {
    border: none;
    border-radius: 0;
    padding: 20px;
    max-width: 100%;
}
.curriculo-inline-wrap .curriculo-form-wrap h3 { display: none; }
.free-inline-badge {
    background: #fff;
    color: #155724;
    font-size: .75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ===================================================
   SUCCESS BOX (após envio)
=================================================== */
.notice.success-box {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 16px 18px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .92rem;
    animation: slideDown .4s ease;
}
.success-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.notice.success-box strong { display: block; font-size: 1rem; margin-bottom: 2px; }

/* ===================================================
   LINKEDIN social link
=================================================== */
.social-links .li { background: #0077b5; }

/* ===================================================
   FOOTER VARS OVERRIDE
=================================================== */
#site-footer          { background: var(--footer-bg, #1a2535); }
.footer-bottom        { background: var(--footer-bot, #12181f); }

/* ===================================================
   DASHBOARD DO CANDIDATO
=================================================== */
.dashboard-wrap { max-width: 900px; margin: 0 auto; }

.dash-header {
    background: linear-gradient(135deg, var(--primary), #0e3870);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.dash-header h2 { margin: 0 0 4px; font-size: 1.2rem; }
.dash-header p  { margin: 0; font-size: .85rem; color: rgba(255,255,255,.75); }
.dash-stats-mini {
    display: flex;
    gap: 20px;
}
.dash-stats-mini > div {
    text-align: center;
    background: rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 70px;
}
.dash-stats-mini strong { display: block; font-size: 1.4rem; font-weight: 800; }
.dash-stats-mini small  { font-size: .72rem; color: rgba(255,255,255,.75); }

.dash-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.dash-tab {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 9px 18px;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    transition: all .2s;
}
.dash-tab.active, .dash-tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.dash-panel { display: none; }
.dash-panel.active { display: block; }

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.dash-table th {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-size: .82rem;
    font-weight: 600;
}
.dash-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.dash-table tr:hover td { background: #f8f9fa; }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}
.status-sent  { background: #e8f4fd; color: #0d6efd; }
.status-view  { background: #fff3cd; color: #856404; }
.status-inter { background: #e0e7ff; color: #3730a3; }
.status-ok    { background: #d4edda; color: #155724; }
.status-no    { background: #f8d7da; color: #721c24; }

.btn-mini {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: .78rem;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}
.btn-mini:hover { background: var(--primary); color: #fff; }
.btn-mini-red { color: #dc3545; }
.btn-mini-red:hover { background: #dc3545; color: #fff; }

.dash-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-600);
}
.dash-empty p { margin-bottom: 16px; font-size: 1rem; }

.profile-progress {
    margin-bottom: 18px;
}
.progress-label {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}
.progress-label span { font-weight: 400; color: var(--gray-600); }
.progress-bar  { background: var(--border); border-radius: 20px; height: 10px; overflow: hidden; }
.progress-fill { background: linear-gradient(90deg, var(--primary), var(--accent)); height: 100%; border-radius: 20px; transition: width .6s; }

/* ===================================================
   FILTROS AVANÇADOS
=================================================== */
.filtros-avancados {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 20px;
}
.filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.filtro-item label:first-child {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.filtro-item input[type=text],
.filtro-item select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: .88rem;
    font-family: var(--font);
    outline: none;
}
.filtro-item input:focus, .filtro-item select:focus { border-color: var(--primary); }
.filtro-checks { display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; }
.check-label { display: flex; align-items: center; gap: 6px; font-size: .85rem; cursor: pointer; font-weight: 400 !important; }
.check-label input { margin: 0; }
.filtros-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--gray-600);
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: .88rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-outline:hover { background: var(--bg); color: var(--text); text-decoration: none; }

/* ===================================================
   AVALIAÇÃO DE ESTRELAS
=================================================== */
.star-rating { display: flex; align-items: center; gap: 4px; }
.star-rating span {
    font-size: 1.6rem;
    cursor: pointer;
    color: #ccc;
    line-height: 1;
    transition: color .15s;
}
.avaliacao-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    max-width: 500px;
}
.avaliacao-form-wrap h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.form-row-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.form-row-inline label { min-width: 100px; font-size: .85rem; font-weight: 600; }

/* ===================================================
   ALERTA DE VAGAS
=================================================== */
.alerta-form label { font-size: .82rem; font-weight: 600; margin-bottom: 4px; display: block; }

/* ===================================================
   BADGES DO JOB CARD
=================================================== */
.job-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}
.badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.badge-destaque { background: var(--accent);   color: #fff; }
.badge-pcd      { background: #6f42c1;         color: #fff; }
.badge-prazo    { background: #dc3545;          color: #fff; }
.badge-expired  { background: #6c757d;         color: #fff; }
.badge-free     { background: #d4edda; color: #155724; }

.job-card-title { margin: 4px 0 10px; font-size: 1rem; line-height: 1.35; }
.job-card-title a { color: var(--dark); text-decoration: none; }
.job-card-title a:hover { color: var(--primary); }

.job-cands { font-size: .78rem; color: var(--gray-600); margin-left: 10px; }
.job-footer-left  { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.job-footer-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.empresa-nota {
    background: #fff3cd;
    color: #856404;
    font-size: .72rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 5px;
}

.job-card.expired { opacity: .7; }
.job-card.expired .job-card-title a { color: var(--gray-600); }

/* ===================================================
   FILTROS — COLLAPSE
=================================================== */
.filtros-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg);
    border-radius: var(--radius);
    cursor: pointer;
    user-select: none;
}
.filtros-header strong { flex: 1; font-size: .92rem; }
.filtros-badge {
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}
.filtros-toggle-ico { color: var(--gray-600); font-size: .8rem; }
.filtros-body { display: none; padding: 16px 18px 8px; border-top: 1px solid var(--border); }
.filtros-body.open { display: block; }

/* ===================================================
   LISTING HEADER
=================================================== */
.listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.listing-meta { font-size: .82rem; color: var(--gray-600); text-align: right; }

/* ===================================================
   ALERTA CTA BANNER
=================================================== */
.alert-cta-banner {
    background: linear-gradient(135deg, #0d3264, #1a5fb4);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.alert-cta-banner a {
    color: #ffd700;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.alert-cta-banner a:hover { text-decoration: underline; }

/* ===================================================
   NO RESULTS
=================================================== */
.no-results {
    text-align: center;
    padding: 48px 20px;
    color: var(--gray-600);
}
.no-results h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--dark); }

/* ═══════════════════════════════════════════════════════════════════
   ATUALIZAÇÕES — Botão Candidatar + Ícones Sociais SVG + Footer Widgets
   ═══════════════════════════════════════════════════════════════════ */

/* ── Botão "Candidatar a Vaga" nos cards (listagem) ── */
.btn-candidatar {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary, #2563eb);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: var(--radius, 8px);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.btn-candidatar:hover {
    background: var(--primary-dk, #1d4ed8);
    transform: translateY(-1px);
    color: #fff !important;
}

/* ── Botão "Candidatar a Vaga" abaixo da descrição (single) ── */
.candidatar-abaixo-descricao {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 28px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid var(--primary, #2563eb);
    border-radius: var(--radius, 8px);
}
.btn-candidatar-desc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary, #2563eb);
    color: #fff !important;
    padding: 13px 28px;
    border-radius: var(--radius, 8px);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: .3px;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-candidatar-desc:hover {
    background: var(--primary-dk, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,.45);
    color: #fff !important;
}
.candidatar-free-hint {
    font-size: .85rem;
    color: var(--gray-600, #4b5563);
    font-weight: 500;
}

/* ── Widget area abaixo dos posts ── */
.below-post-widgets {
    margin: 24px 0;
}
.below-post-widgets .widget {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius, 8px);
    padding: 20px;
    margin-bottom: 20px;
}

/* ── Ícones sociais SVG (footer e sidebar) ── */
.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.social-links a svg {
    flex-shrink: 0;
}

/* ── Widget areas no footer ── */
.footer-widgets-top {
    background: var(--gray-100, #f3f4f6);
    border-bottom: 1px solid var(--border, #e5e7eb);
    padding: 28px 0;
}
.footer-widgets-top .widget {
    display: inline-block;
    width: 100%;
    margin-bottom: 16px;
}
.footer-widget-area {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-widget-area .widget {
    flex: 1 1 200px;
}

/* ═══════════════════════════════════════════════════════════════
   SEÇÃO DE CANDIDATURA — abaixo da descrição da vaga (single)
   ═══════════════════════════════════════════════════════════════ */

.candidatar-section {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(37,99,235,.15);
    scroll-margin-top: 80px; /* garante que o header fixo não tampa */
}

/* Barra principal com texto + botão */
.candidatar-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
    padding: 24px 28px;
}

.candidatar-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}
.candidatar-cta-text strong {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.2px;
}
.candidatar-cta-text span {
    font-size: .88rem;
    opacity: .85;
}

/* Botão principal de candidatura */
.btn-candidatar-principal {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #1d4ed8 !important;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .15s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.btn-candidatar-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    color: #1d4ed8 !important;
}

/* Linha de selos de confiança */
.candidatar-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    background: #1e40af;
    padding: 10px 28px;
    font-size: .82rem;
    color: rgba(255,255,255,.85);
    font-weight: 600;
}

/* WhatsApp opcional */
.candidatar-whatsapp {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: #f0fdf4;
    border-top: 2px solid #bbf7d0;
    padding: 14px 28px;
    font-size: .88rem;
    color: #166534;
    font-weight: 500;
}

/* ── Botão pequeno "Candidatar-se" nos cards da listagem ── */
.btn-candidatar {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary, #2563eb);
    color: #fff !important;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.btn-candidatar:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    color: #fff !important;
}

/* Responsivo */
@media (max-width: 600px) {
    .candidatar-cta-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .btn-candidatar-principal {
        width: 100%;
        justify-content: center;
        font-size: .95rem;
    }
    .candidatar-trust {
        padding: 10px 20px;
        gap: 12px;
    }
    .candidatar-whatsapp {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   BOTÃO "QUERO ME CANDIDATAR A ESTA VAGA" — estilo da imagem ref.
   ═══════════════════════════════════════════════════════════════ */

.candidatura-btn-wrap {
    margin: 28px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* linha pontilhada igual ao exemplo */
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    padding: 18px;
    background: #f8fafc;
}

.btn-quero-candidatar {
    display: block;
    width: 100%;
    text-align: center;
    background: #1a56db;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: underline;
    padding: 17px 24px;
    border-radius: 5px;
    transition: background .18s, transform .12s, box-shadow .18s;
    box-shadow: 0 2px 8px rgba(26,86,219,.25);
    cursor: pointer;
}
.btn-quero-candidatar:hover {
    background: #1648c0;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(26,86,219,.35);
    color: #fff !important;
    text-decoration: underline;
}
.btn-quero-candidatar:active {
    transform: translateY(0);
}

/* Botão WhatsApp secundário (opcional) */
.btn-candidatar-wa {
    display: block;
    width: 100%;
    text-align: center;
    background: #25d366;
    color: #fff !important;
    font-size: .9rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none !important;
    transition: background .18s;
}
.btn-candidatar-wa:hover {
    background: #1ebe5d;
    color: #fff !important;
}

@media (max-width: 600px) {
    .btn-quero-candidatar {
        font-size: .9rem;
        padding: 15px 16px;
    }
}
