/* 
    Apta RH e Consultoria - Design Premium 2024
    Cores: Royal Blue, Deep Navy, Accent Gold/Yellow
*/

:root {
    --primary: #1e40af; /* Royal Blue */
    --primary-dark: #1e3a8a;
    --secondary: #0f172a; /* Deep Navy */
    --accent: #f59e0b; /* Amber/Gold */
    --accent-light: #fbbf24;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Navbar Premium */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--primary);
    line-height: 1;
}

.logo-text .sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(30, 64, 175, 0.4);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: #f1f5f9;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(30, 64, 175, 0.1);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.1);
    bottom: -100px;
    left: -100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.badge {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--primary);
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-display {
    position: relative;
    width: 100%;
    height: 400px;
}

.glass-item {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.glass-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.glass-item h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.glass-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.glass-item:nth-child(1) { top: 10%; right: 0; }
.glass-item:nth-child(2) { bottom: 15%; left: 0; }

.main-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
    width: 250px;
}

.main-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.main-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.img-stack {
    width: 100%;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=800&q=80') center/cover;
    border-radius: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.4), transparent);
    border-radius: 30px;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.info-item h5 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.info-item p {
    font-weight: 700;
    color: var(--secondary);
}

/* Services Grid */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-light);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 64, 175, 0.1);
}

.service-card.active {
    background: var(--secondary);
    color: var(--white);
}

.service-card.active h3 { color: var(--white); }
.service-card.active p { color: rgba(255, 255, 255, 0.7); }

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.service-card.active .card-icon {
    background: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.card-list {
    list-style: none;
    margin-top: 1.5rem;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.card-list i {
    color: var(--accent);
}

/* Contact Box */
.contact-box {
    background: var(--secondary);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: var(--white);
}

.white { color: var(--white) !important; }
.white-opacity { color: rgba(255, 255, 255, 0.7); margin-bottom: 3rem; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateX(10px);
    color: var(--accent);
}

.detail-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    padding: 5rem;
    background: var(--white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: #f8fafc;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background: #0f172a;
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 350px;
}

.footer-nav h4, .footer-services h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-nav ul, .footer-services ul {
    list-style: none;
}

.footer-nav li, .footer-services li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3rem; }
    .hero-content, .about-wrapper, .services-grid, .contact-box, .footer-top {
        grid-template-columns: 1fr;
    }
    .contact-box { grid-template-columns: 1fr; }
    .hero-visual { height: 300px; }
    .about-image { height: 400px; }
    .img-stack { height: 100%; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 8rem 3rem;
        transition: 0.5s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active { right: 0; }
    
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-toggle span {
        width: 30px;
        height: 3px;
        background: var(--secondary);
        transition: var(--transition);
    }
    
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
    
    .nav-cta { display: none; }
    
    .section-padding { padding: 80px 0; }
    .hero-text h1 { font-size: 2.5rem; }
    .contact-info, .contact-form-wrapper { padding: 3rem 2rem; }
    .footer-top { gap: 3rem; }
}
