/* Google Fonts: Inter & Outfit */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #070B19;
    --navy: #0A192F;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8B2C;
    --text-white: #F8F9FA;
    --text-gray: #A0AABF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-gold { color: var(--gold); }
.bg-gold { background-color: var(--gold); }
.text-center { text-align: center; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
    background: transparent;
}

header.scrolled {
    background: rgba(7, 11, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 70px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

/* Submenu Dropdown */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    min-width: 220px;
    padding: 10px 0;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-links li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.submenu a:hover {
    background: var(--glass-bg);
    color: var(--gold);
    padding-left: 25px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 11, 25, 0.3) 0%, rgba(7, 11, 25, 0.9) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-gray);
}

/* Features/Services Structure */
.section-padding {
    padding: 100px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .grid-5 { grid-template-columns: repeat(1, 1fr); }
}

.card {
    background: var(--navy);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.card-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Logo Carousel */
.logo-carousel-section {
    background: #ffffff;
    padding: 60px 0;
    border-bottom: 3px solid var(--gold);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-carousel-section::before,
.logo-carousel-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.logo-carousel-section::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.logo-carousel-section::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 120px;
    align-items: center;
    width: max-content;
    animation: scroll-left 35s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-logo {
    height: 110px;
    opacity: 0.9;
    transition: all 0.3s ease;
    object-fit: contain;
}

.carousel-logo:hover {
    opacity: 1;
    transform: scale(1.15);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 60px)); }
}

/* Footer Element */
.footer {
    background-color: var(--navy);
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-accordion {
    width: 100%;
    margin-top: 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-weight: 500;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question.active {
    color: var(--gold);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--gold);
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding: 0 25px;
}

.faq-answer p {
    color: var(--text-gray);
    padding-bottom: 20px;
    line-height: 1.6;
    margin-top: 5px;
}

/* Responsive details */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(7, 11, 25, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .nav-links a {
        font-size: 1.4rem;
    }
    .mobile-menu-btn {
        display: block;
        z-index: 1001; /* Garante que ficará acima do overlay */
        position: relative;
    }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        transform: none;
        display: none;
        padding-top: 10px;
    }
    .submenu a {
        font-size: 1.1rem;
        color: var(--text-gray);
        text-align: center;
    }
    .nav-links li.active-sub .submenu {
        display: block;
    }
    .hero-title {
        font-size: 3rem;
    }
    .page-header {
        padding: 120px 0 60px !important;
    }
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}
