:root {
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --accent-yellow: #FFD600;
    --accent-yellow-glow: rgba(255, 214, 0, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #808080;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --section-padding: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.accent-yellow {
    color: var(--accent-yellow);
}

.section-tag {
    color: var(--accent-yellow);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: #000;
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-yellow-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--accent-yellow);
}

.btn-outline:hover {
    background-color: var(--accent-yellow);
    color: #000;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Gallery Section */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-yellow);
    color: #000;
    border-color: var(--accent-yellow);
    box-shadow: 0 5px 15px var(--accent-yellow-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.gallery-overlay i {
    color: var(--accent-yellow);
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.gallery-overlay p {
    color: var(--white);
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease 0.2s;
    padding: 0 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
}

.header-logo {
    height: 50px;
    width: auto;
    max-width: 250px;
    display: block;
    object-fit: contain;
    /* Mirror Reflection - subtle */
    -webkit-box-reflect: below -5px linear-gradient(transparent 50%, rgba(255, 255, 255, 0.05));
}

.mobile-menu-btn {
    display: none;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

.btn-nav {
    padding: 12px 25px;
    font-size: 0.95rem;
}

.footer-logo-img {
    height: 50px;
    filter: grayscale(1) brightness(1.5);
    -webkit-box-reflect: below 2px linear-gradient(transparent, rgba(255, 255, 255, 0.05));
}

.technical-blueprint {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #151515, #0a0a0a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.1);
}

.blueprint-icon {
    width: 120px;
    height: 120px;
    color: var(--accent-yellow);
    opacity: 0.2;
    filter: drop-shadow(0 0 20px var(--accent-yellow-glow));
    z-index: 3;
}

.blueprint-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 214, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 214, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.5;
}

.technical-blueprint::after {
    content: "ESPECIFICAÇÕES TÉCNICAS";
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent-yellow);
    opacity: 0.3;
    font-weight: 700;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s;
    z-index: 1;
}

.banner-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--accent-yellow);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-yellow);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* About Section */
.about-image {
    position: relative;
}

.about-image-stack {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.about-image .main-img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.deco-box {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-yellow);
    border-radius: 12px;
    z-index: 1;
}

.years-badge {
    position: absolute;
    bottom: 20px;
    right: 0px;
    background-color: var(--accent-yellow);
    color: #000;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px var(--accent-yellow-glow);
    z-index: 3;
}

.years-badge .number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.years-badge .text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-yellow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card-compact {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 15px;
    align-items: center;
    transition: var(--transition);
}

.service-card-compact:hover {
    background: #1a1a1a;
    border-color: rgba(255, 214, 0, 0.3);
    transform: translateY(-5px);
}

.service-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.service-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-text h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 5px;
    font-weight: 700;
}

.service-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ver-mais {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-yellow);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.ver-mais i {
    width: 14px;
    height: 14px;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-card);
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-yellow);
    color: #000;
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.modal-image {
    height: 500px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-divider {
    width: 50px;
    height: 4px;
    background: var(--accent-yellow);
    margin-bottom: 25px;
}

.modal-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-image {
        height: 250px;
    }

    .modal-text {
        padding: 30px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
}

.quote-icon {
    color: var(--accent-yellow);
    opacity: 0.2;
    margin-bottom: 20px;
}

.rating {
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
}

.rating i {
    width: 16px;
    height: 16px;
    color: #444;
}

.rating i.filled {
    color: var(--accent-yellow);
    fill: var(--accent-yellow);
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--white);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Lightbox Styling */
.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    background: #000;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 5px;
}

#lightboxCaption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.8);
    margin: 0;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent-yellow);
    color: #000;
}

.nav-btn.prev {
    left: -70px;
}

.nav-btn.next {
    right: -70px;
}

@media (max-width: 1200px) {
    .nav-btn.prev {
        left: 10px;
    }

    .nav-btn.next {
        right: 10px;
    }

    .nav-btn {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Services Section */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-row {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    transition: var(--transition);
}

.service-row:hover {
    transform: translateX(10px);
    border-color: rgba(255, 214, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-img-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-row:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.service-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-img-wrapper {
        height: 250px;
    }
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-yellow);
    margin-bottom: 25px;
    stroke-width: 1.5px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.contact-item i {
    color: var(--accent-yellow);
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 1.1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-link:hover {
    background-color: var(--accent-yellow);
    color: #000;
}

.contact-cta-box {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border-left: 5px solid var(--accent-yellow);
}

.contact-cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.contact-cta-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-info p:first-child {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.footer-info p:last-child {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-ctas {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links,
    .btn-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        font-size: 1.5rem;
        z-index: 1001;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}