/*
Theme Name: Unico
Theme URI: https://unicorc.com.br
Author: UNI.CO
Author URI: https://unicorc.com.br
Description: Tema customizado para UNI.CO - Recrutamento Executivo
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unico
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    background: #f2f0ed;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
h1, h2, h3 {
    font-family: 'League Gothic', sans-serif;
    color: #1b1b24;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}
h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: #1b1b24;
    font-weight: 600;
    line-height: 1.35;
}
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; }
em { font-style: italic; color: #ff6b35; }

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.header.scrolled .nav-link { color: #1b1b24; }
.header.scrolled .nav-link:hover { color: #ff6b35; }
.header.scrolled .header-btn { border-color: #1b1b24; color: #1b1b24; }
.header.scrolled .header-btn:hover { background: #1b1b24; color: #fff; }
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    position: relative;
    display: inline-block;
}
.logo img {
    height: 70px;
    width: auto;
    transition: opacity 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

/* Estado normal - mostra logo branco com hover */
.logo .logo-light.logo-default { display: block; opacity: 1; position: static; }
.logo .logo-light.logo-hover { display: block; opacity: 0; position: absolute; }
.logo .logo-dark { display: none; }
.logo:hover .logo-default { opacity: 0; }
.logo:hover .logo-hover { opacity: 1; }

/* Estado scrollado - mostra apenas logomarca cinza fixa, sem hover */
.header.scrolled .logo .logo-light.logo-default { display: none; }
.header.scrolled .logo .logo-light.logo-hover { display: block; opacity: 1; position: static; }
.header.scrolled .logo .logo-dark { display: none; }
.header.scrolled .logo:hover .logo-hover { opacity: 1; }
.header.scrolled .logo img { height: 60px; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}
.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 5px;
    transition: color 0.3s;
}
.nav-link::before,
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.nav-link::before {
    top: 0;
    left: 0;
    border-top-color: transparent;
    border-left-color: transparent;
}
.nav-link::after {
    bottom: 0;
    right: 0;
    border-bottom-color: transparent;
    border-right-color: transparent;
}
.nav-link:hover::before {
    width: 8px;
    height: 8px;
    border-top-color: #ff6b35;
    border-left-color: #ff6b35;
}
.nav-link:hover::after {
    width: 8px;
    height: 8px;
    border-bottom-color: #ff6b35;
    border-right-color: #ff6b35;
}
.nav-link:hover { color: #ff6b35; }
.nav-link.active, .nav-link.current-menu-item > a { color: #ff6b35; }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 35px;
}
.header-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-socials a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}
.header-socials a:hover {
    color: #ff6b35;
    transform: translateY(-2px);
}
.header.scrolled .header-socials a { color: #1b1b24; }
.header.scrolled .header-socials a:hover { color: #ff6b35; }
.header-icon {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}
.header.scrolled .header-icon { color: #1b1b24; }
.header-icon:hover { color: #ff6b35; }
.header-btn {
    padding: 10px 25px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
    transition: all 0.3s;
}
.header-btn:hover {
    border-color: #fff;
    background: #fff;
    color: #1b1b24;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}
.header.scrolled .menu-toggle span { background: #1b1b24; }

.mobile-menu { display: none; }
.mobile-overlay { display: none; }

@media (max-width: 991px) {
    .nav-menu, .header-actions { display: none; }
    .menu-toggle { display: flex; }
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #1b1b24;
        padding: 80px 30px 30px;
        transition: right 0.3s;
        z-index: 999;
    }
    .mobile-menu.active { right: 0; }
    .mobile-menu .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .mobile-menu-close {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }
    .mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 998;
    }
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ========== UTILITIES ========== */
.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }
.bg-light { background: #faf8f5; }
.bg-dark { background: #1b1b24; color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

/* Title with line */
.section-title { position: relative; display: inline-block; }
.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #ff6b35;
}
.section-title.align-left::before { left: 0; transform: none; }
.section-desc { max-width: 600px; margin: 0 auto 2rem; color: #777; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    background: transparent;
    color: #1b1b24;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.btn::before,
.btn::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid currentColor;
    transition: all 0.3s ease;
}
.btn::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}
.btn::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}
.btn:hover::before,
.btn:hover::after {
    width: 100%;
    height: 100%;
}
.btn-primary { background: #ff6b35; border-color: #ff6b35; color: #fff; }
.btn-primary::before,
.btn-primary::after { border-color: #fff; }
.btn-primary:hover { background: #e55a2b; }
.btn-light { color: #fff; }
.btn-light::before,
.btn-light::after { border-color: #fff; }
.btn-light:hover { background: rgba(255,255,255,0.1); }

/* Grid */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; }
.col-1-2 { width: 50%; }
.col-1-3 { width: 33.333%; }
.col-1-4 { width: 25%; }
.col-2-3 { width: 66.666%; }

@media (max-width: 991px) {
    .col-1-2, .col-1-3, .col-1-4, .col-2-3 { width: 100%; }
    h2 { font-size: 2rem; }
}

/* ========== PAGE HEADER ========== */
.page-header {
    position: relative;
    height: 65vh;          /* era 50vh */
    min-height: 500px;     /* era 400px */
    background-size: cover;
    background-position: center top; /* mostra mais da parte superior */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.page-header-content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
}
.page-header-content h1::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ff6b35;
}
.page-header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}
.breadcrumb {
    margin-top: 20px;
    font-size: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #ff6b35; }
.breadcrumb span { color: #ff6b35; }

@media (max-width: 768px) {
    .page-header-content h1 { font-size: 2rem; }
    .page-header { min-height: 350px; }
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero-content h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}
.hero-content h2::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ff6b35;
}
.hero-content p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; }

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.slider-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.slider-dot.active { background: #ff6b35; }

@media (max-width: 768px) {
    .hero-content h2 { font-size: 2rem; }
}

/* ========== MOBILE-FIRST RESPONSIVE ========== */
@media (max-width: 991px) {
    /* Typography mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Sections mobile */
    .section-padding { padding: 50px 0; }
    .section-padding-sm { padding: 30px 0; }
    .container { padding: 0 20px; }
    
    /* Hero mobile */
    .hero-slider { min-height: 500px; }
    .hero-content h2 { font-size: 1.75rem; }
    .hero-content p { font-size: 1rem; }
    
    /* About split mobile */
    .about-split { flex-direction: column; }
    .about-text, .about-video { width: 100%; min-height: 350px; }
    .about-text { padding: 40px 20px; }
    
    /* Service cards mobile */
    .row { gap: 20px; }
    .col-1-3 { width: 100%; }
    
    /* Diff cards mobile */
    .diff-header { flex-direction: column; }
    .diff-header-image, .diff-header-text { width: 100%; }
    .diff-cards { flex-direction: column; }
    .diff-card { width: 100%; }
    
    /* Why section mobile */
    .why-section-split { flex-direction: column; }
    .why-text, .why-card { width: 100%; min-height: 300px; }
    
    /* Team cards mobile */
    .team-card { margin-bottom: 20px; }
    
    /* CTA mobile */
    .cta-section { flex-direction: column; text-align: center; }
    .cta-text, .cta-btn { flex: 100%; }
    .cta-btn { margin-top: 20px; }
}

@media (max-width: 576px) {
    /* Extra small devices */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-slider { min-height: 450px; }
    .hero-content h2 { font-size: 1.5rem; }
    .hero-content p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    
    .btn { padding: 12px 25px; font-size: 12px; }
    
    .section-title { font-size: 1.5rem; }
    .section-desc { font-size: 0.9rem; }
    
    /* Page header mobile */
    .page-header { min-height: 300px; }
    .page-header-content h1 { font-size: 1.75rem; }
    .page-header-content p { font-size: 0.9rem; }
}
