/* ============================================================
   AGENCIA EMPREGO - ESTILOS PRINCIPAIS
   Cores: Laranja (#FF8C00) e Branco
============================================================ */

/* RESET E VARIÁVEIS */
:root {
    --primary-color: #FF8C00;           /* Laranja - Cor principal */
    --secondary-color: #FFB84D;         /* Laranja claro */
    --dark-color: #2C3E50;              /* Cinza escuro */
    --light-color: #ECF0F1;             /* Cinza claro */
    --text-color: #333333;              /* Texto escuro */
    --border-color: #DDDDDD;            /* Bordas */
    --success-color: #27AE60;
    --danger-color: #E74C3C;
    --info-color: #3498DB;
    
    --transition: 0.3s ease-in-out;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all var(--transition);
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-text .subtitle {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-login,
.btn-cadastro {
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-login {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-cadastro {
    background-color: var(--primary-color);
    color: white;
}

.btn-cadastro:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image svg {
    width: 100%;
    max-width: 250px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* BUTTONS */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-primary:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--dark-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #1a252f;
}

/* ============================================================
   SEARCH SECTION
============================================================ */
.search-section {
    background-color: white;
    padding: 2rem;
    margin: -3rem auto 0;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 100;
}

.search-container h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: all var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.btn-search {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-search:hover {
    background-color: #E67E00;
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background-color: white;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* ============================================================
   VAGAS SECTION
============================================================ */
.vagas-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1.05rem;
}

.vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* VAGA CARD */
.vaga-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
}

.vaga-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-8px);
}

.vaga-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.vaga-header h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin: 0;
}

.btn-favorite {
    background-color: transparent;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all var(--transition);
    flex-shrink: 0;
}

.btn-favorite:hover {
    color: #E74C3C;
    transform: scale(1.2);
}

.vaga-company {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.company-name {
    font-weight: 600;
    color: var(--text-color);
}

.company-badge {
    background-color: #E8F5E9;
    color: var(--success-color);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.vaga-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.detail-item .icon {
    font-size: 1.2rem;
}

.vaga-description {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.5;
}

.vaga-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background-color: #F0F0F0;
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-candidatar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    width: 100%;
    transition: all var(--transition);
}

.btn-candidatar:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

.view-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-more {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
}

.btn-view-more:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================================
   SOBRE SECTION
============================================================ */
.sobre-section {
    background-color: var(--light-color);
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.sobre-section h2 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.sobre-text strong {
    color: var(--primary-color);
}

.sobre-list {
    list-style: none;
    margin-top: 1.5rem;
}

.sobre-list li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-weight: 500;
}

.sobre-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-box {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border-top: 3px solid var(--primary-color);
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-color);
    opacity: 0.8;
}

/* ============================================================
   CONTATO SECTION
============================================================ */
.contato-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
}

.contato-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-form input,
.contato-form textarea {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contato-form button {
    padding: 1rem;
    font-weight: 600;
    background-color: white;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contato-form button:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
}

.contato-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 1.8rem;
}

.info-item h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
}

.info-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    opacity: 0.8;
    transition: all var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    transition: all var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================================
   MODAL
============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    animation: slideUp 0.3s ease-in-out;
    box-shadow: var(--shadow-heavy);
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: all var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.modal-content label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.modal-content label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-content p {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-color);
}

.modal-content p a {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-content p a:hover {
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVIDADE
============================================================ */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .search-group,
    .filter-group {
        flex-direction: column;
    }

    .search-input,
    .filter-select,
    .btn-search {
        width: 100%;
    }

    .vagas-grid {
        grid-template-columns: 1fr;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .contato-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .logo-section {
        gap: 0.5rem;
        flex: 0;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .nav-buttons {
        display: none;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .vaga-card {
        padding: 1rem;
    }

    .vaga-header h3 {
        font-size: 1rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}
