/* --- VARIÁVEIS --- */
:root {
    --primary-green: #15803d; /* Verde Agro */
    --primary-dark: #14532d;
    --accent-orange: #f97316; /* Laranja EPI */
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --bg-light: #ffffff;
    --bg-gray: #f9fafb; /* Cinza bem suave */
    --bg-dark: #111827;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- ANIMAÇÕES KEYFRAMES --- */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* NAVBAR (Sticky & Transition) */
.industrial-nav {
    background: rgba(17, 24, 39, 0); /* Começa transparente */
    color: white; padding: 20px 0;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 0px solid transparent;
}

/* Classe adicionada via JS ao rolar */
.industrial-nav.scrolled {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 4px solid var(--primary-green);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo-icon { font-size: 1.8rem; color: var(--accent-orange); border: 2px solid var(--accent-orange); padding: 8px; border-radius: 4px; transition: transform 0.3s; }
.logo-area:hover .logo-icon { transform: rotate(-15deg); }

.logo-text .name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; line-height: 1; letter-spacing: 1px; }
.logo-text .program { font-size: 0.75rem; color: #d1d5db; letter-spacing: 2px; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-link { text-decoration: none; color: #e5e7eb; font-weight: 500; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; position: relative; }
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; 
    background-color: var(--accent-orange); transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--accent-orange); }

.cta-btn { background-color: var(--accent-orange); color: white !important; padding: 10px 25px; border-radius: 4px; font-weight: bold; border: none; }
.cta-btn:hover { background-color: #ea580c; transform: translateY(-2px); }
.cta-btn::after { display: none; } /* Remove sublinhado do botão */

/* LANG SWITCHER */
.lang-switcher { position: relative; margin-left: 20px; }
.lang-btn { background: none; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; cursor: pointer; display: flex; align-items: center; padding: 5px; transition: 0.3s; }
.lang-btn:hover { border-color: var(--accent-orange); }
.lang-btn img { width: 24px; border-radius: 2px; }
.lang-dropdown { position: absolute; top: 110%; right: 0; background: white; border-radius: 4px; display: none; flex-direction: column; width: 80px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); overflow: hidden; }
.lang-dropdown.show { display: flex; }
.lang-option { display: flex; align-items: center; gap: 10px; padding: 10px; text-decoration: none; color: #333; font-size: 0.8rem; font-weight: bold; transition: 0.2s; }
.lang-option:hover { background: #f3f4f6; color: var(--primary-green); }
.mobile-menu-btn { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* HERO (PARALLAX) */
.hero-section {
    background: url('https://images.unsplash.com/photo-1625246333195-58f21a4061a9?q=80&w=1920&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Efeito Parallax */
    min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 80px;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(17,24,39,0.95) 0%, rgba(17,24,39,0.75) 100%); }
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 40px; }
.hero-text { max-width: 600px; color: white; }

.availability-badge { display: inline-flex; align-items: center; gap: 8px; background-color: rgba(21, 128, 61, 0.25); border: 1px solid var(--primary-green); color: #4ade80; padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: bold; margin-bottom: 25px; backdrop-filter: blur(5px); }
h1 { font-family: var(--font-head); font-size: 4rem; line-height: 1; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }

/* Typing Effect for H2 */
h2.typing-text {
    font-size: 1.2rem; color: var(--accent-orange); font-weight: 500; letter-spacing: 2px; margin-bottom: 25px;
    border-right: 3px solid var(--accent-orange);
    white-space: nowrap; overflow: hidden;
    display: inline-block;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
    max-width: 100%;
}
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--accent-orange); } }

.hero-summary { font-size: 1.1rem; color: #9ca3af; margin-bottom: 35px; line-height: 1.7; max-width: 90%; }

.hero-stats { display: flex; gap: 40px; margin-bottom: 45px; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: slideInUp 0.6s forwards; }
.stat-item i { font-size: 1.8rem; color: var(--primary-green); }
.stat-item span { font-size: 0.9rem; font-weight: bold; color: white; text-transform: uppercase; letter-spacing: 0.5px; }

.btn-group { display: flex; gap: 15px; opacity: 0; animation: slideInUp 0.6s forwards; }
.btn { padding: 15px 35px; border-radius: 4px; font-weight: bold; text-decoration: none; text-transform: uppercase; transition: 0.3s; font-family: var(--font-head); letter-spacing: 1px; display: inline-block; }
.btn-primary { background-color: var(--primary-green); color: white; border: 2px solid var(--primary-green); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(21, 128, 61, 0.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; background: white; color: var(--bg-dark); }

.glow-effect { animation: pulse-orange 3s infinite; }

/* FOTO FLUTUANTE */
.hero-image { position: relative; perspective: 1000px; }
.photo-frame { 
    position: relative; border: 12px solid white; box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transform: rotate(3deg); transition: 0.4s; width: 360px;
}
.floating-animation { animation: float 6s ease-in-out infinite; }
.photo-frame:hover { transform: rotate(0deg) scale(1.02); animation-play-state: paused; border-color: var(--accent-orange); }
.photo-frame img { display: block; width: 100%; height: auto; }
.photo-caption { background: var(--accent-orange); color: white; text-align: center; padding: 12px; font-weight: bold; font-family: var(--font-head); letter-spacing: 2px; }

/* SEÇÕES */
.section-gray { background-color: var(--bg-gray); padding: 100px 0; }
.section-white { background-color: white; padding: 100px 0; }
.section-dark { background-color: var(--bg-dark); color: white; padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-title { 
    font-family: var(--font-head); font-size: 2.8rem; color: var(--text-dark); 
    text-transform: uppercase; display: inline-block; position: relative; padding-bottom: 15px;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px; background-color: var(--primary-green);
}
.section-subtitle { margin-top: 15px; color: var(--text-gray); font-size: 1.1rem; }

/* CARDS DE SKILL (Hover 3D) */
.skills-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.skill-card {
    background: white; padding: 40px 30px; border-radius: 12px; box-shadow: var(--shadow-soft);
    border-top: 5px solid var(--text-gray); transition: all 0.4s ease; opacity: 0; transform: translateY(20px);
}
.skill-card:hover { transform: translateY(-10px); border-color: var(--primary-green); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.card-icon { font-size: 3rem; margin-bottom: 25px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: inline-block; }
.skill-card:hover .card-icon { transform: scale(1.2) rotate(5deg); }
.agro { color: var(--primary-green); }
.livestock { color: #854d0e; }
.construct { color: #0ea5e9; }
.hospitality { color: #8b5cf6; } /* Lilás para hotelaria */
.skill-card h4 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 20px; color: var(--text-dark); }
.skill-list { list-style: none; }
.skill-list li { padding: 10px 0; border-bottom: 1px solid #f3f4f6; display: flex; align-items: center; gap: 12px; color: var(--text-gray); font-size: 0.95rem; }
.skill-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--primary-green); }

/* TECH SKILLS (Moderno) */
.tech-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.tech-item { 
    display: flex; gap: 20px; align-items: center; background: white; padding: 25px; 
    border-radius: 12px; border: 1px solid #eee; box-shadow: var(--shadow-soft);
    transition: 0.3s; opacity: 0; transform: translateX(-20px);
}
.tech-item:hover { border-color: var(--primary-green); transform: translateX(5px); }
.tech-icon-circle {
    width: 60px; height: 60px; background: var(--bg-gray); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-dark);
    flex-shrink: 0; transition: 0.3s;
}
.tech-item:hover .tech-icon-circle { background: var(--primary-green); color: white; }
.tech-info h5 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 5px; color: var(--text-dark); }
.tech-info p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.4; }

/* GALERIA CARROSSEL */
.carousel-wrapper { position: relative; display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.carousel-container { width: 100%; overflow: hidden; padding: 15px 0; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); gap: 20px; }
.carousel-card {
    min-width: 100%; height: 350px; border-radius: 12px; overflow: hidden; position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); flex-shrink: 0; cursor: pointer;
}
@media (min-width: 768px) { .carousel-card { min-width: calc(50% - 10px); } }
@media (min-width: 1024px) { .carousel-card { min-width: calc(33.333% - 14px); } }
.carousel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.carousel-card:hover img { transform: scale(1.15); }
.carousel-card .overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white; font-family: var(--font-head); font-size: 1.2rem; transform: translateY(100%); transition: 0.4s;
}
.carousel-card:hover .overlay { transform: translateY(0); }
.carousel-btn {
    background-color: white; color: var(--text-dark); border: none; width: 50px; height: 50px;
    border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
    transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 10; flex-shrink: 0;
}
.carousel-btn:hover { background-color: var(--primary-green); color: white; transform: scale(1.1); }

/* JOB CARD */
.job-card-container { max-width: 900px; margin: 0 auto; }
.job-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid #eee; }
.job-header { 
    background: var(--text-dark); color: white; padding: 25px 30px; 
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;
}
.job-role h4 { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.5px; }
.job-location { font-size: 0.95rem; color: #9ca3af; display: block; margin-top: 5px; }
.job-date { background: var(--accent-orange); padding: 6px 16px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; }
.job-body { padding: 40px; }
.job-body p { font-size: 1.2rem; margin-bottom: 20px; color: var(--primary-green); border-bottom: 1px solid #eee; padding-bottom: 15px; }
.job-body ul { padding-left: 20px; }
.job-body li { margin-bottom: 12px; color: var(--text-gray); font-size: 1.05rem; }

/* CONTACT */
.contact-box { max-width: 900px; margin: 0 auto; text-align: center; }
.contact-box h2 { font-family: var(--font-head); font-size: 3.5rem; margin-bottom: 15px; color: white; }
.contact-box p { font-size: 1.3rem; color: #d1d5db; margin-bottom: 50px; }
.contact-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.contact-method { 
    background: rgba(255,255,255,0.05); padding: 15px 30px; border-radius: 50px; 
    display: flex; align-items: center; gap: 12px; color: white; border: 1px solid rgba(255,255,255,0.1); text-decoration: none; transition: 0.3s;
}
.contact-method:hover { background: rgba(255,255,255,0.1); border-color: var(--primary-green); }
.contact-method i { color: var(--accent-orange); font-size: 1.2rem; }
#copy-btn { background: none; border: none; color: white; cursor: pointer; margin-left: 10px; font-size: 1.1rem; }
.social-row { display: flex; justify-content: center; gap: 20px; }
.soc-btn { 
    background: white; color: var(--bg-dark); padding: 15px 40px; border-radius: 4px; 
    text-decoration: none; font-weight: bold; font-family: var(--font-head); letter-spacing: 1px; display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.soc-btn:hover { background: var(--accent-orange); color: white; transform: translateY(-3px); }
.pulse-btn { animation: pulse-orange 2s infinite; }

footer { background: #000; color: #666; text-align: center; padding: 30px; font-size: 0.85rem; border-top: 1px solid #222; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; color: white; font-size: 1.5rem; }
    h1 { font-size: 2.8rem; }
    .hero-content { flex-direction: column-reverse; text-align: center; padding-top: 40px; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .btn-group { justify-content: center; }
    .photo-frame { width: 280px; margin-bottom: 30px; }
    .job-header { flex-direction: column; text-align: center; gap: 10px; }
    .carousel-btn { width: 40px; height: 40px; }
}

/* Utilitários de Animação JS */
.reveal-left { opacity: 0; transform: translateX(-50px); transition: 1s ease; }
.reveal-right { opacity: 0; transform: translateX(50px); transition: 1s ease; }
.reveal-up { opacity: 0; transform: translateY(50px); transition: 1s ease; }
.reveal-stagger { opacity: 0; transform: translateY(30px); transition: 0.6s ease; }
.active { opacity: 1; transform: translate(0); }