﻿/* =========================================================
   Parque Del Sol - Estilos Globais + Dark Mode
   PHP 8.4 | MVC | Tailwind CDN complement
   ========================================================= */

/* ---------- Variáveis: Light Mode (padrão) ---------- */
:root {
    /* Blues - Identidade / Navbar */
    --primary:      #1e3a5f;
    --primary-h:    #1A314E;

    /* Laranja - Destaque / Ação */
    --secondary:    #F2994A;
    --secondary-h:  #E18330;
    --accent-light: #FFF2E6;

    /* Semânticas */
    --success:      #16A34A;
    --error:        #DC2626;
    --warning:      #F2994A;
    --provision:    #9333EA;

    /* Texto */
    --dark:         #111827;
    --text:         #141413;
    --text-muted:   #6B7280;

    /* Fundos & Bordas */
    --light:        #FAF9F5;
    --section-bg:   #F5F7FA;
    --neutral:      #F0F0F0;
    --white:        #FFFFFF;
    --border:       #E5E7EB;
    --border-strong:#EEF1F5;
    --card-bg:      #FFFFFF;
    --nav-bg:       #1e3a5f;

    --radius:       8px;
    --shadow:       0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --transition:   all 0.3s ease;
}

/* ---------- Variáveis: Dark Mode ---------- */
[data-theme="dark"] {
    --primary:      #2D5A8E;
    --primary-h:    #3A6FA3;
    --secondary:    #F2994A;
    --secondary-h:  #E18330;
    --dark:         #F3F4F6;
    --light:        #0F172A;
    --text:         #D1D5DB;
    --text-muted:   #9CA3AF;
    --white:        #1E293B;
    --border:       #334155;
    --card-bg:      #1E293B;
    --nav-bg:       #111827;
    --shadow:       0 4px 6px -1px rgba(0,0,0,.4), 0 2px 4px -1px rgba(0,0,0,.3);
}

[data-theme="dark"] body            { background: #0F172A; color: var(--text); }
[data-theme="dark"] header          { background: #111827; }
[data-theme="dark"] .filters        { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .filters select,
[data-theme="dark"] .filters input  { background: #0F172A; color: #D1D5DB; border-color: #334155; }
[data-theme="dark"] .service-card,
[data-theme="dark"] .candidate-card,
[data-theme="dark"] .imovel-card    { background: #1E293B; }
[data-theme="dark"] .modal-content  { background: #1E293B; color: #D1D5DB; }
[data-theme="dark"] .plan-card      { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .accordion-header { background: #1E293B; }
[data-theme="dark"] .accordion-header:hover { background: #0F172A; }
[data-theme="dark"] .accordion-content { background: #1E293B; }
[data-theme="dark"] .benefit-card  { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .testimonial-card { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .page-header   { background: #1E293B; }
[data-theme="dark"] .legal-content { background: #1E293B; }
[data-theme="dark"] .newsletter    { background: #1E293B; }
[data-theme="dark"] .cookies-table th { background: #0F172A; }
[data-theme="dark"] .cookies-table td { border-color: #334155; }
[data-theme="dark"] .pagination button { background: #1E293B; border-color: #334155; color: #D1D5DB; }
[data-theme="dark"] .tab-btn:not(.active) { background: #2D5A8E; border-color: #2D5A8E; color: #fff; }

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ---------- Acessibilidade ---------- */
.skip-link {
    position: absolute; top: -40px; left: 0;
    padding: 8px; background: var(--primary);
    color: #fff; z-index: 9999;
    transition: var(--transition);
}
.skip-link:focus { top: 0; }

.visually-hidden {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}

/* ---------- Container ---------- */
.container {
    width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 0 20px;
    flex: 1;
}

/* ---------- Header ---------- */
header {
    background: #1e3a5f;
    box-shadow: var(--shadow);
    padding: 20px 0; z-index: 100; position: relative;
}
.header-container {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo { height: 60px; width: auto; }
.site-title { font-size: 1.5rem; color: #fff; font-weight: 700; }

/* Dark Mode Toggle Button */
.theme-toggle {
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff; height: 36px; padding: 0 14px;
    border-radius: 20px; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    font-size: .9rem; font-weight: 500;
    transition: var(--transition); white-space: nowrap;
}
.theme-toggle:hover { background: rgba(255,255,255,.28); box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.theme-icon { font-size: 1.15rem; line-height: 1; }
.theme-label { font-size: .85rem; letter-spacing: .02em; }

/* ---------- Nav ---------- */
nav { background: var(--nav-bg); padding: 10px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.menu { list-style: none; display: flex; gap: 20px; }
.menu li a {
    color: #fff; text-decoration: none;
    padding: 8px 12px; border-radius: var(--radius);
    transition: var(--transition); font-weight: 500;
}
.menu li a:hover, .menu li a:focus { background: var(--primary-h); }
.menu li a.active { background: var(--primary); }
.mobile-menu-btn {
    display: none; background: none; border: none;
    color: #fff; font-size: 1.5rem; cursor: pointer;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-block; padding: 12px 24px;
    background: var(--primary); color: #fff;
    text-decoration: none; border-radius: var(--radius);
    font-weight: 600; transition: var(--transition);
    border: none; cursor: pointer; font-size: .95rem;
}
.btn:hover, .btn:focus { background: var(--primary-h); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn i { margin-right: 8px; }
.btn-orange { background: var(--secondary); color: #fff; }
.btn-orange:hover, .btn-orange:focus { background: var(--secondary-h); }
.btn-warning { background: var(--warning); }
.btn-warning:hover { background: var(--secondary-h); }
/* Botão Filtrar */
.filters .btn { background: var(--secondary); }
.filters .btn:hover, .filters .btn:focus { background: var(--secondary-h); }
.btn-success { background: var(--success); }
.btn-success:hover { background: #059669; }

/* ---------- Tabs ---------- */
.section-tabs {
    display: flex; justify-content: center;
    margin: 30px 0 20px; gap: 10px; flex-wrap: wrap;
}
.tab-btn {
    padding: 12px 24px;
    background: #1e3a5f; border: 2px solid #1e3a5f;
    border-radius: var(--radius); cursor: pointer;
    transition: var(--transition); font-weight: 600; color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.tab-btn:hover { background: #162d4a; border-color: #162d4a; color: #fff; }

/* Estado ativo - azul escuro + indicador inferior */
.tab-btn.active,
.tab-btn.candidates-tab.active,
.tab-btn.imoveis-tab.active {
    background: #162d4a;
    border-color: #162d4a;
    color: #fff;
    border-bottom: 3px solid #F2994A;
}

/* Variantes mantêm o mesmo azul base */
.tab-btn.candidates-tab { background: #1e3a5f; border-color: #1e3a5f; }
.tab-btn.imoveis-tab    { background: #1e3a5f; border-color: #1e3a5f; }

/* ---------- Filtros ---------- */
.filters {
    background: var(--card-bg); padding: 20px;
    border-radius: var(--radius); margin-bottom: 30px;
    box-shadow: var(--shadow); display: flex;
    flex-wrap: wrap; gap: 15px; align-items: flex-end;
}
.filter-group { flex: 1; min-width: 200px; }
.filter-group label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--dark); }
.filters select, .filters input {
    width: 100%; padding: 12px;
    border: 2px solid var(--border); border-radius: var(--radius);
    font-size: 16px; transition: var(--transition);
    background: var(--card-bg); color: var(--text);
}
.filters select:focus, .filters input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31,58,95,.1);
}

/* ---------- Content Section ---------- */
.content-section        { display: none; }
.content-section.active { display: block; }

/* ---------- Cards Grid ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px; margin-bottom: 40px;
}

/* Serviços */
.service-card {
    background: var(--card-bg); border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition);
    overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid var(--warning); border-left: 4px solid var(--warning);
}
.service-card:hover, .service-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}

/* Candidatos */
.candidate-card {
    background: var(--card-bg); border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition);
    overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid var(--warning); border-left: 4px solid var(--warning);
}
.candidate-card:hover, .candidate-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}

/* Card anatomy */
.card-header { padding: 20px 20px 0; display: flex; align-items: center; gap: 15px; }
.service-card img.logo, .candidate-card img.photo {
    width: 60px; height: 60px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--light);
}
.card-title { flex: 1; }
.service-card h3, .candidate-card h3 {
    color: var(--dark); margin-bottom: 5px; font-weight: 600; font-size: 1.1rem;
}
.category { color: var(--secondary); font-weight: 600; font-size: .9em; display: inline-block; margin-bottom: 10px; }
.desired-area { color: var(--warning); font-weight: 600; font-size: .9em; display: inline-block; margin-bottom: 10px; }

.card-body { padding: 0 20px 20px; flex: 1; display: flex; flex-direction: column; }
.service-card p, .candidate-card p { margin-bottom: 15px; }
.description { flex: 1; color: var(--text); }
.address { font-style: italic; color: #6B7280; font-size: .9em; display: flex; align-items: flex-start; margin-bottom: 15px; }
.address i { margin-right: 5px; margin-top: 3px; color: var(--secondary); }
.candidate-card .address i { color: var(--warning); }

/* Candidate Info */
.candidate-info { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; font-size: .9em; }
.info-item { display: flex; align-items: center; gap: 5px; color: var(--text); }
.info-item i { color: var(--warning); }

/* Skills */
.skills { margin: 15px 0; }
.skills h4 { font-size: .9rem; margin-bottom: 8px; color: var(--dark); }
.skills-list { display: flex; flex-wrap: wrap; gap: 5px; }
.skill-tag {
    background: var(--light); color: var(--text);
    padding: 4px 8px; border-radius: 12px; font-size: .8rem;
    border: 1px solid var(--border);
}

/* Social Links */
.social-links { margin: 15px 0; display: flex; gap: 10px; }
.social-links a {
    text-decoration: none; color: var(--text); font-size: 18px;
    width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--light); transition: var(--transition);
}
.social-links a:hover { transform: translateY(-3px); }
.social-links a.facebook:hover  { color: #3b5998; background: rgba(59,89,152,.1); }
.social-links a.instagram:hover { color: #e1306c; background: rgba(225,48,108,.1); }
.social-links a.twitter:hover   { color: #1da1f2; background: rgba(29,161,242,.1); }
.social-links a.linkedin:hover  { color: #0077b5; background: rgba(0,119,181,.1); }
.social-links a.github:hover    { color: #333;    background: rgba(51,51,51,.1); }

/* Card Actions */
.card-actions { margin-top: auto; display: flex; gap: 10px; }
.card-actions .btn { flex: 1; text-align: center; }
.share-btn {
    padding: 12px; background: var(--light);
    border-radius: var(--radius); border: 2px solid var(--border);
    cursor: pointer; transition: var(--transition); color: var(--text);
}
.share-btn:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }

/* ---------- Imóvel Card ---------- */
.imovel-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--warning);
    border-left: 4px solid var(--warning);
}
.imovel-card:hover,
.imovel-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
}
.imovel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 20px 0;
    flex-wrap: wrap;
}
.imovel-finalidade {
    color: var(--warning);
    font-weight: 600;
    font-size: .9em;
}
.imovel-finalidade-venda,
.imovel-finalidade-aluguel,
.imovel-finalidade-venda-e-aluguel { color: var(--warning); }
.imovel-tipo {
    color: var(--warning);
    font-weight: 600;
    font-size: .9em;
}
.imovel-card .card-body {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.imovel-card h3 {
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}
.imovel-preco {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 8px;
}
.imovel-local {
    font-style: italic;
    color: #6B7280;
    font-size: .9em;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.imovel-local i {
    margin-right: 5px;
    margin-top: 1px;
    color: var(--warning);
}
.imovel-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.imovel-badge {
    background: var(--light);
    color: var(--text);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: .8rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 5px;
}
.imovel-badge i { color: var(--warning); font-size: .8rem; }
.imovel-card .description { flex: 1; color: var(--text); margin-bottom: 15px; }
.imovel-carac { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.imovel-carac .skill-tag {
    background: var(--light);
    color: var(--text);
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: .8rem;
    padding: 4px 8px;
    border-radius: 12px;
}

/* Ocultar footer quando aba Imóveis está ativa */
body.imoveis-tab-active footer { display: none !important; }
body.candidates-tab-active footer { display: none !important; }
footer.footer-hidden-by-tab { display: none !important; }

/* ---------- Loading ---------- */
.loading { text-align: center; padding: 30px; color: var(--text); }
.loading i { font-size: 2rem; color: var(--secondary); animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- Paginação ---------- */
.pagination { display: flex; justify-content: center; gap: 10px; margin: 30px 0; flex-wrap: wrap; }
.pagination button {
    padding: 10px 15px; background: var(--card-bg);
    border: 2px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: var(--transition); color: var(--text); font-weight: 500;
}
.pagination button:hover { background: var(--light); border-color: var(--secondary); }
.pagination button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Modal ---------- */
.modal {
    display: none; position: fixed; z-index: 1000;
    inset: 0; background: rgba(0,0,0,.5);
    align-items: center; justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
    background: var(--card-bg); padding: 25px;
    border-radius: var(--radius); max-width: 500px; width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); position: relative;
}
.modal-content h3 { color: var(--dark); font-weight: 600; margin-bottom: 10px; }
.modal-close {
    position: absolute; top: 15px; right: 15px;
    font-size: 1.5rem; cursor: pointer; color: #6B7280;
    background: none; border: none; transition: var(--transition);
}
.modal-close:hover { color: var(--dark); }
.share-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 20px; }
.share-options a {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: var(--text); padding: 15px;
    border-radius: var(--radius); transition: var(--transition);
    border: 2px solid var(--border);
}
.share-options a i { font-size: 2rem; margin-bottom: 10px; }
.share-options a.facebook { color:#3b5998; background:rgba(59,89,152,.1); border-color:rgba(59,89,152,.2); }
.share-options a.twitter  { color:#1da1f2; background:rgba(29,161,242,.1); border-color:rgba(29,161,242,.2); }
.share-options a.whatsapp { color:#25d366; background:rgba(37,211,102,.1); border-color:rgba(37,211,102,.2); }
.share-options a.linkedin { color:#0077b5; background:rgba(0,119,181,.1);  border-color:rgba(0,119,181,.2); }
.share-options a.email    { color:#6B7280; background:rgba(107,114,128,.1);border-color:rgba(107,114,128,.2);}
.share-options a.copy     { color:var(--dark); background:rgba(31,41,55,.1); border-color:rgba(31,41,55,.2); }
.share-options a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Banner Intro ---------- */
.banner { text-align: center; margin: 30px 0; }
.intro-text { max-width: 800px; margin: 20px auto; text-align: center; font-size: 1.1rem; color: var(--text); }

/* ---------- Cookies ---------- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--dark); color: #fff;
    padding: 15px; z-index: 1001; display: none;
}
.cookie-container {
    display: flex; justify-content: space-between;
    align-items: center; max-width: 1200px;
    margin: 0 auto; gap: 20px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 300px; }
.cookie-text a { color: var(--secondary); }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-buttons button {
    padding: 10px 15px; border-radius: var(--radius);
    cursor: pointer; transition: var(--transition); font-weight: 600; border: none;
}
.accept-cookies { background: var(--success); color: #fff; }
.accept-cookies:hover { background: #059669; }
.reject-cookies { background: transparent; border: 2px solid #fff !important; color: #fff; }
.reject-cookies:hover { background: rgba(255,255,255,.1); }

/* ---------- Footer ---------- */
footer {
    background: var(--primary); color: #fff;
    padding: 40px 0 20px; margin-top: 40px;
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 30px; margin-bottom: 30px;
}
.footer-section h4 {
    margin-bottom: 20px; position: relative;
    display: inline-block; font-weight: 600; color: #fff;
}
.footer-section h4::after {
    content:''; position: absolute; left: 0; bottom: -5px;
    height: 2px; width: 40px; background: var(--secondary);
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section a { color: #E5E7EB; text-decoration: none; transition: var(--transition); }
.footer-section a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 15px; margin-top: 15px; }
.footer-social a {
    color: #fff; font-size: 18px; width: 35px; height: 35px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.1); transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size:.9rem; color:#E5E7EB; }
.footer-bottom p { margin: 5px 0; }

/* ---------- Planos ---------- */
.page-header {
    text-align: center; padding: 40px 20px;
    background: var(--card-bg); border-radius: var(--radius);
    margin: 30px 0; box-shadow: var(--shadow);
}
.page-header h2 { color: var(--dark); margin-bottom: 15px; font-weight: 700; position: relative; display: inline-block; }
.page-header h2::after {
    content:''; position: absolute; bottom: -10px; left: 50%;
    transform: translateX(-50%); width: 60px; height: 3px;
    background: var(--secondary);
}
.page-header p { max-width: 600px; margin: 15px auto 0; color: var(--text); }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 30px; margin: 40px 0; }
.plan-card {
    background: var(--card-bg); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; transition: var(--transition);
    position: relative; display: flex; flex-direction: column; border: 1px solid var(--border);
}
.plan-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); border-color: var(--primary); }
.plan-card--popular { border-color: var(--primary); border-width: 2px; }
.plan-header { padding: 25px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.plan-card h3 { color: var(--dark); margin-bottom: 10px; font-size: 1.8rem; font-weight: 600; }
.plan-price { font-size: 2.5rem; color: var(--secondary); font-weight: 700; margin: 15px 0; }
.plan-price .currency { font-size: 1.2rem; vertical-align: super; margin-right: 2px; }
.plan-price .period { font-size: 1rem; color: var(--text); font-weight: 400; }
.plan-description { color: var(--text); font-size: 1rem; }
.popular-tag {
    position: absolute; top: 20px; right: -30px;
    background: var(--secondary); color: #fff;
    padding: 5px 30px; font-size: .9rem; font-weight: 600;
    transform: rotate(45deg); z-index: 10;
}
.plan-body { padding: 20px; flex: 1; }
.plan-features { list-style: none; margin-bottom: 25px; }
.plan-features li { margin-bottom: 15px; color: var(--text); padding-left: 30px; position: relative; }
.plan-features li::before { content:'\f00c'; font-family:'Font Awesome 6 Free'; font-weight:900; color:var(--success); position:absolute; left:0; top:2px; }
.plan-features li.not-included { color: #9CA3AF; }
.plan-features li.not-included::before { content:'\f00d'; font-family:'Font Awesome 6 Free'; font-weight:900; color: var(--error); }
.plan-footer { padding: 20px; text-align: center; border-top: 1px solid var(--border); }
.subscribe-btn {
    display: inline-block; padding: 12px 30px;
    background: var(--primary); color: #fff;
    text-decoration: none; border-radius: var(--radius);
    font-size: 1rem; font-weight: 600; transition: var(--transition);
    width: 100%; border: none; cursor: pointer;
}
.subscribe-btn:hover { background: var(--primary-h); transform: translateY(-2px); }
.subscribe-btn--featured { background: var(--secondary); }
.subscribe-btn--featured:hover { background: var(--primary); }

/* Benefits */
.benefits-section { margin: 60px 0; }
.section-title {
    text-align: center; margin-bottom: 40px;
    color: var(--dark); font-size: 2rem;
    position: relative; font-weight: 700;
}
.section-title::after {
    content:''; position: absolute; bottom: -10px; left: 50%;
    transform: translateX(-50%); width: 60px; height: 3px; background: var(--secondary);
}
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 30px; }
.benefit-card {
    background: var(--card-bg); padding: 25px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    text-align: center; transition: var(--transition); border: 1px solid var(--border);
}
.benefit-card:hover { transform: translateY(-5px); border-color: var(--secondary); }
.benefit-icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; }
.benefit-card h3 { color: var(--dark); margin-bottom: 10px; font-weight: 600; }

/* Accordion (FAQ) */
.faq-section { margin: 60px 0; }
.accordion { margin-top: 30px; }
.accordion-item { margin-bottom: 15px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.accordion-header {
    background: var(--card-bg); padding: 15px 20px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition); width: 100%; border: none; text-align: left;
}
.accordion-header:hover { background: var(--light); }
.accordion-header h3 { font-size: 1.1rem; color: var(--dark); margin: 0; font-weight: 600; }
.accordion-icon { font-size: 1.2rem; color: var(--secondary); transition: var(--transition); }
.accordion-content { background: var(--card-bg); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-content p { margin: 0; padding: 20px; color: var(--text); }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-item.active .accordion-content { max-height: 300px; }

/* Testimonials */
.testimonials-section { margin: 60px 0; }
.testimonials-container { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 30px; }
.testimonial-card {
    background: var(--card-bg); padding: 30px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    position: relative; border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--secondary); transform: translateY(-3px); }
.testimonial-content { margin-bottom: 20px; position: relative; padding-left: 25px; }
.testimonial-content::before {
    content:'\201C'; font-size: 4rem; color: var(--secondary);
    opacity: .3; position: absolute; left: -15px; top: -20px; line-height: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.author-image { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--card-bg); box-shadow: 0 0 0 2px var(--border); }
.author-name { display: block; font-weight: 600; color: var(--dark); }
.author-role { display: block; font-size: .9rem; color: #6B7280; }
.stars i { font-size: .85rem; }
.stars .star-filled { color: #facc15; }
.stars .star-empty { color: #d1d5db; }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-h) 100%);
    color: #fff; padding: 60px 20px; text-align: center;
    border-radius: var(--radius); margin: 40px 0; box-shadow: var(--shadow);
}
.cta-section h2 { font-size: 2rem; margin-bottom: 20px; font-weight: 700; }
.cta-section p { max-width: 700px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-btn {
    display: inline-block; padding: 15px 30px;
    background: #fff; color: var(--primary);
    text-decoration: none; border-radius: var(--radius);
    font-size: 1.1rem; font-weight: 600; transition: var(--transition);
}
.cta-btn:hover { background: var(--light); transform: translateY(-2px); }

/* ---------- Legal Pages ---------- */
.legal-content {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 30px; margin-bottom: 40px; box-shadow: var(--shadow);
}
.legal-section { margin-bottom: 30px; }
.legal-section h3 { color: var(--dark); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.legal-section h4 { color: var(--dark); font-size: 1rem; font-weight: 600; margin: 15px 0 8px; }
.legal-section p, .legal-section li { color: var(--text); line-height: 1.8; margin-bottom: 8px; }
.legal-section ul { padding-left: 20px; }
.legal-section a { color: var(--secondary); }
.legal-updated { margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--border); color: #6B7280; font-size: .9rem; }
.cookies-table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: .9rem; }
.cookies-table th { background: var(--light); padding: 10px; text-align: left; font-weight: 600; color: var(--dark); }
.cookies-table td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text); }

/* ---------- No results ---------- */
.no-results { grid-column: 1 / -1; text-align: center; padding: 40px; }
.no-results i { font-size: 3rem; color: #ccc; margin-bottom: 20px; display: block; }

/* ---------- Responsivo ---------- */
@media (max-width: 768px) {
    .nav-container { justify-content: center; }
    .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .menu li a { padding: 8px 14px; border-radius: var(--radius); background: rgba(255,255,255,.12); font-size: .9rem; }
    .mobile-menu-btn { display: none !important; }
    .header-container { justify-content: center; }
    .section-tabs { flex-direction: column; gap: 10px; }
    .candidate-info { flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
    .filters { flex-direction: column; align-items: stretch; }
    .share-options { grid-template-columns: repeat(2,1fr); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-section h4::after { left: 50%; transform: translateX(-50%); }
    .footer-social { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

