/* ═══════════════════════════════════════════════════════
   CAREERS PAGE — LyonixZ Recrutamento
   recrutamento.lyonixz.com
   ═══════════════════════════════════════════════════════ */

/* ─── SITE HEADER (matches lyonixz.com) ──────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--brand-blue);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.header--scrolled {
    backdrop-filter: blur(30px);
    background-color: rgba(16, 53, 73, 0.92);
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 23%;
    max-width: 140px;
}

.site-header__logo img {
    width: 140px;
    height: auto;
}

/* Desktop Nav */
.site-header__nav--desktop {
    display: flex;
    align-items: center;
    gap: 0;
    margin-inline-start: auto;
}

.site-header__link {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--accent);
    fill: var(--accent);
    padding: 13px 20px;
    transition: color 0.4s;
    white-space: nowrap;
}

.site-header__link:hover,
.site-header__link--active {
    color: var(--accent);
    opacity: 1;
}

/* Mobile Toggle */
.site-header__toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--accent);
    fill: var(--accent);
    padding: 0.25em;
    margin-left: auto;
}

.site-header__toggle svg {
    fill: var(--accent);
}

/* Mobile Nav */
.site-header__nav--mobile {
    display: none;
    flex-direction: column;
    background-color: var(--brand-blue);
    padding: 15px 20px 25px;
}

.site-header__nav--mobile .site-header__link {
    padding: 12px 20px;
    font-size: 18px;
    color: var(--primary);
}

.site-header__nav--mobile .site-header__link:hover,
.site-header__nav--mobile .site-header__link--active {
    color: var(--accent);
    background-color: rgba(226, 193, 166, 0.08);
}


/* ─── HERO BANNER ────────────────────────────────────── */
.hero-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 75px; /* header height */
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(16, 53, 73, 0.85) 0%,
        rgba(16, 53, 73, 0.4) 50%,
        transparent 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 550px;
}

/* Hero decorative dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

.dot-1 { opacity: 1; }

.dot-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
    opacity: 0.4;
}


/* ─── JOBS SECTION ───────────────────────────────────── */
.jobs-section {
    padding: 80px 0 100px;
    background: #fff;
}

.jobs-header {
    text-align: center;
    margin-bottom: 60px;
}

.jobs-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1rem;
}

.jobs-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card — dark premium with decorative arcs */
.job-card {
    background: #0a1e2e;
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 265px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inner glass border frame */
.job-card::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(100, 200, 220, 0.2);
    border-radius: 14px;
    pointer-events: none;
    z-index: 1;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* Decorative arcs */
.job-card__arc {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.job-card__arc--cyan {
    width: 200px;
    height: 200px;
    border: 12px solid rgba(100, 200, 220, 0.25);
    top: -80px;
    right: -65px;
}

.job-card__arc--gold {
    width: 200px;
    height: 200px;
    border: 12px solid rgba(226, 193, 166, 0.3);
    bottom: -40px;
    left: -50px;
}

/* Arrow icon — top right */
.job-card__arrow {
    position: absolute;
    top: 28px;
    right: 28px;
    color: rgba(255,255,255,0.6);
    z-index: 2;
    transition: color 0.3s;
}

.job-card:hover .job-card__arrow {
    color: var(--accent);
}

/* Card body — h3 centered, button at bottom */
.job-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px 28px;
    position: relative;
    z-index: 2;
}

.job-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-top: auto;
    margin-bottom: auto;
}

/* CTA button — pill shape */
.btn-candidatar {
    align-self: flex-end;
    padding: 10px 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    backdrop-filter: blur(5px);
}

.btn-candidatar:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.talent-pool-highlight {
    background: linear-gradient(145deg, #0a1e2e, #1a2a18);
    border: 1px dashed rgba(226, 193, 166, 0.3);
}

.no-vacancies-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #888;
    font-size: 1.1rem;
}


/* ─── APPLICATION SECTION ────────────────────────────── */
.apply-section {
    padding: 80px 0 200px;
    background: #f5f5f5;
    margin-bottom: 0;
}

.apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.apply-grid-2col {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.apply-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1rem;
}

.apply-text > p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--accent);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    border: 2px solid #c4d8e0;
    border-left: 4px solid var(--brand-blue);
}

.privacy-circle {
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.privacy-text p {
    color: #1a1a1a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-privacy {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--bg-dark);
    border-radius: 8px;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-privacy:hover {
    background: var(--bg-dark);
    color: #fff;
}

.apply-fields-info ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--brand-blue);
    margin-bottom: 2rem;
}

.apply-fields-info ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.apply-fields-note {
    margin-top: 1.5rem;
}

.apply-fields-note > p:first-child {
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
}

.apply-fields-note > p:nth-child(2) {
    color: #555;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.apply-fields-note ul {
    color: var(--brand-blue);
}

.apply-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.policies-plate {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
}


/* ─── FOOTER (matches lyonixz.com) ───────────────────── */

/* Google Maps Strip — half on content, half on footer */
.footer-map {
    background-image: url('/images/footer-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 0;
    line-height: 0;
}

.footer-map__container {
    max-width: 1000px;
    width: 80%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(-65%);
    margin-bottom: -100px; /* half of iframe height to collapse gap */
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.footer-map img {
    display: block;
    width: 100%;
    height: auto;
}

/* Footer Main */
.site-footer {
    background-image: url('/images/footer-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.site-footer__main {
    padding: 60px 0 40px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.5fr 1.2fr;
    gap: 40px;
}

/* Brand Column — large vertical logo */
.site-footer__brand {
    display: flex;
    flex-direction: column;
}

.site-footer__logo {
    width: 235px;
    height: auto;
    margin-bottom: 1.8rem;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

/* Contact Row — icon left, text right */
.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-row a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.contact-row a:hover {
    color: #fff;
}

/* Language Flags */
.site-footer__flags {
    display: flex;
    gap: 8px;
    margin-top: 0.2rem;
}

.site-footer__flags img {
    border-radius: 2px;
    opacity: 0.85;
    transition: opacity 0.3s;
    cursor: pointer;
}

.site-footer__flags img:hover {
    opacity: 1;
}

/* Column Headings */
.site-footer__heading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Links List */
.site-footer__links {
    list-style: none;
    padding: 0;
}

.site-footer__links li {
    margin-bottom: 0.7rem;
}

.site-footer__links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color 0.3s, padding-left 0.3s;
}

.site-footer__links a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Social Icons — inline SVGs in gold */
.site-footer__social {
    display: flex;
    gap: 1.4rem;
    margin-bottom: 1.5rem;
}

.site-footer__social a {
    color: var(--accent);
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.site-footer__social a:hover {
    color: #fff;
}

.site-footer__social .social-icon {
    width: 28px;
    height: 28px;
}

/* Address & Hours */
.site-footer__address {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.site-footer__hours {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.site-footer__hours i {
    margin-top: 3px;
}

/* Copyright Bar */
.site-footer__copyright {
    background-color: var(--accent);
    padding: 18px 0;
}

.site-footer__copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--brand-blue);
    font-size: 0.85rem;
}

.site-footer__copyright a {
    color: var(--brand-blue);
    font-weight: 600;
    transition: opacity 0.3s;
}

.site-footer__copyright a:hover {
    opacity: 0.7;
}


/* ─── WHATSAPP FLOAT ─────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 9000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}


/* ─── MODAL STYLES ───────────────────────────────────── */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(31, 33, 44, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 650px;
    border-radius: 24px;
    padding: 50px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-wide {
    max-width: 1100px !important;
    padding: 0 !important;
    overflow: visible;
}

.modal-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 600px;
}

.job-details-pane {
    padding: 60px;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px 0 0 24px;
}

.application-form-pane {
    padding: 60px;
    background: white;
    border-radius: 0 24px 24px 0;
}

.company-name {
    color: var(--brand-blue);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.job-pill-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1.1;
    color: var(--bg-dark);
    margin-bottom: 30px;
}

.job-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 35px;
}

.meta-item-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.meta-item-box i {
    font-size: 1.6rem;
    color: var(--brand-blue);
}

.meta-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
}

.meta-value {
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 0.9rem;
}

.job-description-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--bg-dark);
}

.job-description-content div {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.form-pane-header {
    margin-bottom: 30px;
}

.form-pane-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--bg-dark);
    margin-bottom: 5px;
}

.form-pane-header p {
    color: #777;
    font-size: 0.9rem;
}

.form-group-modern {
    margin-bottom: 18px;
}

.form-group-modern label {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--bg-dark);
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 53, 73, 0.1);
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 80px;
}

.modern-file-upload {
    position: relative;
}

.hidden-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.modern-file-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

.modern-file-label:hover {
    border-color: var(--brand-blue);
    background: #f0f7ff;
}

.btn-apply-now {
    width: 100%;
    padding: 16px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    font-family: var(--font-body);
}

.btn-apply-now:hover {
    background: #0a2535;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 53, 73, 0.2);
}

.btn-apply-now:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #eee;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.2rem;
}

.btn-close-modal:hover {
    transform: rotate(90deg);
    background: #ddd;
}

.modern-form-message {
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.85rem;
}

.modern-form-message.success {
    background: #e6fffa;
    color: #2c7a7b;
    border: 1px solid #b2f5ea;
}

.modern-form-message.error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    /* Header: hide desktop nav, show toggle */
    .site-header__nav--desktop {
        display: none;
    }
    
    .site-header__toggle {
        display: flex;
        font-size: 34px;
    }
    
    .site-header__nav--mobile {
        display: flex;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .apply-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: auto;
        min-height: 500px;
        margin-top: 65px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-dots {
        display: none;
    }

    .jobs-header h2 {
        font-size: 2rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .apply-text h2 {
        font-size: 2rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer__copyright-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .site-header__logo {
        width: 40%;
        max-width: 120px;
    }

    .site-header__toggle {
        font-size: 35px;
    }

    .site-header__link {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        padding: 24px 20px;
    }
}

@media (max-width: 991px) {
    .modal-overlay {
        align-items: flex-start;
        padding: 0;
    }
    
    .modal-content.modal-wide {
        max-height: none;
        overflow-y: visible;
        border-radius: 0;
        min-height: 100vh;
    }
    
    .modal-grid-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .job-details-pane {
        padding: 30px;
        padding-top: 50px;
        max-height: none;
        overflow-y: visible;
        border-right: none;
        border-bottom: 1px solid #eee;
        border-radius: 0;
    }
    
    .application-form-pane {
        padding: 30px;
        border-radius: 0;
    }
    
    .job-pill-title {
        font-size: 1.8rem;
    }
    
    .job-meta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .meta-item-box {
        padding: 10px;
        gap: 8px;
    }
    
    .meta-item-box i {
        font-size: 1.3rem;
    }
}
