/* 
   AG47 ENGENHARIA - Premium Styles
   Theme: Silver, Gray, White
   Font: Outfit (Google Fonts)
*/

:root {
    --primary-dark: #1a1a1a;
    --primary-gray: #4a4a4a;
    --silver-light: #e0e0e0;
    --silver-medium: #c0c0c0;
    --silver-dark: #a0a0a0;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --accent-silver: linear-gradient(135deg, #e0e0e0 0%, #a0a0a0 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.text-gradient {
    background: var(--accent-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient-silver {
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--off-white);
}

.bg-dark {
    background-color: var(--primary-dark);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--primary-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-dark);
    color: var(--white);
    font-weight: 600;
    border-radius: 2px;
    border: 1px solid var(--primary-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 2px;
    border: 1px solid var(--primary-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-text {
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--silver-medium);
    padding-bottom: 2px;
}

.btn-text:hover {
    border-color: var(--primary-dark);
}

/* Header */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 1rem 0;
}

#navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-dark);
    position: relative;
}

.main-nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--silver-medium);
    transition: var(--transition);
}

.main-nav a:not(.btn-nav):hover::after {
    width: 100%;
}

/* Removed btn-nav style to match user preference for uniformity */
.btn-nav {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-dark);
    position: relative;
}

.btn-nav:hover {
    color: var(--primary-gray);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #f0f0f0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #ffffff 0%, #dcdcdc 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.8) 100%);
    transform: rotate(-15deg);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-logo {
    max-width: 150px;
    margin: 0 auto 2rem;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.03em;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--primary-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-dark);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-dark);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--primary-gray);
}

.values-cards {
    display: grid;
    gap: 1.5rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--silver-medium);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-dark);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--primary-gray);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-item:hover .service-icon-wrapper {
    background: var(--primary-dark);
    color: var(--white);
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--primary-gray);
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    position: relative;
    background: var(--primary-dark);
    color: var(--white);
    padding: 8rem 0;
    overflow: hidden;
}

.big-numbers-parallax {
    background-image: url('assets/hero-bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
    /* Dark overlay */
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    text-align: center;
}

.stat-box {
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:last-child {
    border-right: none;
}

.huge-number {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--silver-medium);
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--silver-dark);
    line-height: 1.4;
}

/* Sustainability Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content .lead {
    font-size: 1.2rem;
    color: var(--silver-light);
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--silver-medium);
    margin-bottom: 2rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--silver-light);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
}

.split-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eco-badge {
    width: 200px;
    height: 200px;
    border: 2px solid var(--silver-medium);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    animation: float 6s ease-in-out infinite;
}

.eco-badge p {
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Careers Section */
.careers-cta {
    margin-top: 3rem;
}

.max-w-600 {
    max-width: 600px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.contact-info {
    padding-right: 2rem;
    border-right: 1px solid var(--silver-light);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.info-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.info-item p {
    color: var(--primary-gray);
    font-size: 0.95rem;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid var(--silver-medium);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-dark);
}

.contact-form label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--primary-gray);
    transition: var(--transition);
    pointer-events: none;
}

.contact-form input:focus~label,
.contact-form input:not(:placeholder-shown)~label,
.contact-form textarea:focus~label,
.contact-form textarea:not(:placeholder-shown)~label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--primary-dark);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid #333;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-brand p {
    color: var(--silver-dark);
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--silver-dark);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--silver-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--silver-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.social-icons a:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid,
    .split-layout,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--silver-light);
        padding-right: 0;
        padding-bottom: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}