:root {
    --primary: #fbd214; /* Yellow from logo */
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --text-dark: #333333;
    --logo-dark: #5a5a5a;
    --font-main: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    background-color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: transparent;
    color: var(--text-light); /* Changed to white over video */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle line */
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-img-footer {
    height: 70px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.social-icons .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: var(--logo-dark);
    color: #ffffff;
    border-radius: 50%;
    margin-left: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s;
}

.social-icons .icon:hover {
    background-color: var(--primary);
    color: var(--logo-dark);
}

.btn-download {
    background-color: var(--primary);
    color: var(--logo-dark);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-download:hover {
    background-color: #e5be12;
}

.main-nav {
    background-color: transparent;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
}

.main-nav a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light); /* Changed to white */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Improve readability */
}

.main-nav a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    background-color: var(--darker-bg);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: darker at top for menu, clearer in middle, slightly dark at bottom */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    font-weight: 400;
}

.hero-quote-box {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 30px 0;
    width: 100%;
    text-align: right;
    border-top: 3px solid var(--primary);
    position: relative;
    z-index: 3;
}

.hero-quote-box blockquote {
    font-size: 16px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    position: relative;
}

.hero-quote-box cite {
    display: block;
    margin-top: 10px;
    color: var(--primary);
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
}

/* Intro Text Panel (Just below Hero) */
.intro-panel {
    background-color: #ffffff;
    color: #000000;
    padding: 120px 20px;
    text-align: center;
}
.intro-panel h1 {
    font-size: 52px;
    font-weight: 700;
    color: #000000;
    margin: 0 auto 20px auto;
    max-width: 900px;
    line-height: 1.1;
    letter-spacing: -1px;
}
.intro-panel p.intro-subtitle {
    font-size: 18px;
    color: #444444;
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.5;
}
.intro-quote {
    font-size: 26px;
    font-style: italic;
    color: #222222;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.4;
    border-top: 1px solid #eeeeee;
    padding-top: 40px;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary);
    color: var(--text-dark);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.stats-container {
    position: relative;
    display: flex;
}

.section-number {
    font-size: 150px;
    font-weight: 900;
    opacity: 0.05;
    position: absolute;
    left: -50px;
    top: -50px;
    line-height: 1;
    color: var(--logo-dark);
}
.section-number.dark-num {
    color: var(--primary);
    opacity: 0.1;
}
.section-number.light-num {
    color: #cccccc;
    opacity: 0.3;
}

.stats-content {
    margin-left: 150px;
    width: 100%;
}

.stats-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Testimonials/Equipment Section */
.testimonials-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
    position: relative;
}

.testimonials-container {
    position: relative;
}

.testimonials-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 150px;
}

.testimonials-text {
    max-width: 400px;
}

.testimonials-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.testimonials-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-cyan {
    display: inline-block;
    background-color: var(--primary);
    color: var(--logo-dark);
    padding: 12px 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 4px;
}

.testimonials-video {
    width: 55%;
}

/* Partners/Contact Section */
.partners-section {
    background-color: #f8f8f8;
    color: var(--text-dark);
    padding: 100px 0;
    position: relative;
}

.partners-container {
    position: relative;
    display: flex;
}

.partners-content {
    margin-left: 150px;
    width: 100%;
}

.partners-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.partners-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
}

.social-bar {
    background-color: var(--primary);
    padding: 20px 0;
    color: var(--logo-dark);
}

.social-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.social-bar span {
    font-size: 20px;
    font-weight: 700;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.btn-social {
    border: 2px solid var(--logo-dark);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
}
.btn-social:hover {
    background-color: var(--logo-dark);
    color: var(--primary);
}

.footer-content {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.about-col p {
    font-size: 13px;
    color: var(--text-gray);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--text-gray);
}
.footer-col ul a:hover {
    color: var(--primary);
}

.contact-col p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.contact-col .phone {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}
.contact-col .email {
    color: var(--primary);
}

.footer-socials {
    margin-top: 20px;
}

.footer-socials .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--dark-bg);
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
}

.footer-bottom {
    background-color: var(--darker-bg);
    padding: 20px 0;
    font-size: 12px;
    color: #666;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
/* Add to the bottom of style.css */

.equipments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.equipment-card {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--primary);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.equipment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.equipment-card:hover .equipment-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.equipment-title {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.equipment-play-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 2;
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: var(--logo-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.equipment-card:hover .equipment-play-btn {
    opacity: 1;
    transform: scale(1.1);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

.video-modal-content {
    width: 90%;
    max-width: 1000px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

#videoModalTitle {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #111;
    border: 2px solid var(--primary);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-placeholder {
    color: #666;
    font-size: 18px;
    font-weight: 500;
}
/* Dock Effect Support */
.social-icons, .footer-socials {
    display: flex;
    align-items: center;
    gap: 8px; /* Use gap instead of margins */
    height: 50px;
}

.social-icons .icon, .footer-socials .icon {
    margin: 0 !important; /* Force zero margin so JS can control it dynamically */
    transform-origin: bottom center;
    position: relative;
    will-change: transform, margin;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* FAQ Section */
.faq-item {
    background: #222;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 0 20px 20px 20px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

/* Text Reveal Animation */
@keyframes word-appear { 
    0% { opacity: 0; transform: translateY(30px) scale(0.8); filter: blur(10px); } 
    50% { opacity: 0.8; transform: translateY(10px) scale(0.95); filter: blur(2px); } 
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } 
}

.word-animate { 
    display: inline-block; 
    opacity: 0; 
    margin: 0 0.15em; 
    transition: color 0.3s ease, transform 0.3s ease; 
}

.word-animate.active {
    animation: word-appear 0.8s ease-out forwards;
}

.word-animate:hover { 
    color: var(--primary); 
    transform: translateY(-2px); 
}

/* Parallax Section */
.parallax-section {
    position: relative;
    z-index: 2;
}

.parallax-group {
    position: relative;
    /* Use min-height so it expands if content is taller than 50vh */
    min-height: 150vh; 
    margin-bottom: 20px;
    padding: 0 12px;
}

.parallax-sticky {
    position: sticky;
    top: 12px;
    height: calc(100vh - 24px);
    overflow: hidden;
    border-radius: 24px;
    transform-origin: center center;
    /* transition is handled by JS for smooth scrolling or CSS if preferred */
    will-change: transform;
}

.parallax-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4); /* base opacity */
    z-index: 2;
    transition: background-color 0.1s ease;
}

.parallax-title-container {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #fff;
    text-align: center;
    /* transform translateY is handled by JS */
    will-change: transform, opacity;
}

.parallax-subtitle {
    font-size: 24px;
    margin-bottom: 10px;
}

.parallax-title {
    font-size: 80px;
    font-weight: 700;
}

.parallax-content {
    position: relative;
    z-index: 10;
    /* Reduzido para 25vh para que a caixa chegue bem mais cedo */
    padding-top: 25vh; 
    padding-bottom: 80px;
}

.parallax-text-box {
    background: rgba(255, 255, 255, 0.15); /* Translucent background */
    backdrop-filter: blur(12px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(180%) brightness(1.05);
    background-image: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.2) 0%, transparent 70%);
    
    border: none;
    border-radius: 24px;
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 1.5px 2px 0px -1px rgba(255, 255, 255, 0.5),
        inset -1.5px -1.5px 0px -1px rgba(255, 255, 255, 0.4),
        inset 0 -6px 10px -5px rgba(255, 255, 255, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.3);
        
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.parallax-text-box h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary); /* Amarelo */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.parallax-text-box p {
    font-size: 20px;
    color: #ffffff; /* Branco */
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    /* Header and Nav */
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .header-right {
        flex-direction: column;
        gap: 10px;
    }
    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }
    .logo-img {
        height: 45px;
    }

    /* Hero */
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-quote-box {
        text-align: center;
        padding: 20px 15px;
    }

    /* Intro Panel */
    .intro-panel {
        padding: 60px 15px;
    }
    .intro-panel h1 {
        font-size: 32px;
    }
    .intro-panel p.intro-subtitle {
        font-size: 16px;
    }
    .intro-quote {
        font-size: 18px;
    }

    /* Stats Section */
    .stats-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .stats-content {
        margin-left: 0;
    }
    .section-number {
        position: relative;
        left: 0;
        top: 0;
        font-size: 80px;
        margin-bottom: -30px;
    }
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    .stat-item {
        text-align: center;
    }

    /* Equipments Parallax */
    .parallax-title { font-size: 36px; }
    .parallax-subtitle { font-size: 16px; }
    .parallax-text-box { 
        padding: 25px; 
        text-align: center;
    }
    .parallax-text-box h3 { font-size: 28px; }
    .parallax-text-box p { font-size: 16px; }
    .parallax-group { padding: 0; }
    .parallax-sticky { border-radius: 0; top: 0; height: 100vh; }
    .parallax-content { padding-top: 15vh; }

    /* FAQ */
    .faq-question {
        font-size: 16px;
    }

    /* Contact / Partners */
    .partners-container {
        flex-direction: column;
    }
    .partners-content {
        margin-left: 0;
        text-align: center;
    }
    .partners-content h2 {
        font-size: 28px;
    }

    /* Footer */
    .social-bar .container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
        display: flex;
    }
    .footer-logo {
        display: flex;
        justify-content: center;
    }
}
