* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #0d1b2a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 22, 35, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header img {
    height: 60px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.language-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-selector button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: "Inter", sans-serif;
}

.language-selector button:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.language-selector button.active {
    background: #3b82f6;
    border-color: #3b82f6;
}

nav a {
    color: #fff;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #60a5fa;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95), rgba(17, 37, 51, 0.9)), url('../imgs/bg_image.png') no-repeat center/cover;
    padding: 160px 40px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1), transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-top: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero a {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.hero a:active {
    transform: translateY(-1px);
}

/* SESSÕES */
section {
    padding: 80px 40px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: linear-gradient(135deg, #112533, #0f1f2e);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-box:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.service-box:hover::before {
    opacity: 1;
}

.service-box i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.service-box:hover i {
    transform: scale(1.1);
}

.service-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #fff;
    position: relative;
}

.service-box p {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

/* CONTATO */
.contact {
    text-align: center;
}

.contact a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.social-links a {
    margin: 0 10px;
    color: #3b82f6;
    font-size: 1.2rem;
    text-decoration: none;
}

/* FAQ */
.faq {
    max-width: 800px;
}

.faq-item {
    background: #112533;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1);
}

.faq-question i {
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

/* CONTACT IMPROVEMENTS */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-box {
    background: #112533;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.contact-box i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.contact-box h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
}

.social-links {
    margin-top: 40px !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    background: #112533;
    border-radius: 50%;
    color: #3b82f6;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.social-links a:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

footer {
    background: #0b1623;
    padding: 30px 20px;
    text-align: center;
    color: #ccc;
    margin-top: 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
    color: #3b82f6;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #60a5fa;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    header img {
        height: 50px;
    }

    .company-name {
        font-size: 1.2rem;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
    }

    /* Nav Wrapper - Menu Mobile */
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 22, 35, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-wrapper.active {
        right: 0;
    }

    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    nav a {
        margin: 0;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }

    nav a::after {
        display: none;
    }

    .language-selector {
        margin-top: 30px;
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .language-selector button {
        flex: 1;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 100px 20px 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2rem;
    }

    .services {
        grid-template-columns: 1fr;
    }
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* LANGUAGE */
[data-lang] {
    display: none;
}

[data-lang].active {
    display: block;
}

span[data-lang].active,
a[data-lang].active {
    display: inline;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
    z-index: 999;
    border: none;
    font-size: 1.2rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0b1623, #112533);
    padding: 25px 20px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 2px solid #3b82f6;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #fff;
}

.cookie-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px 12px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cookie-text {
        min-width: 100%;
    }

    .cookie-text h3 {
        font-size: 1rem;
        margin: 0 0 8px 0;
    }

    .cookie-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .cookie-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 420px) {
    .cookie-banner {
        padding: 10px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 8px;
        width: auto;
        max-height: none;
        overflow: visible;
        position: fixed;
        z-index: 10001;
    }

    .cookie-content {
        gap: 10px;
        max-width: 100%;
    }

    .cookie-text {
        min-width: 100%;
    }

    .cookie-text h3 {
        font-size: 0.9rem;
        margin: 0 0 6px 0;
        line-height: 1.2;
    }

    .cookie-text p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin: 0;
    }

    .cookie-text p br {
        display: none;
    }

    .cookie-text a {
        font-size: 0.75rem;
        display: inline;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 6px;
        width: 100%;
        margin-top: 8px;
    }

    .cookie-btn {
        width: 100%;
        padding: 11px 12px;
        font-size: 0.85rem;
        font-weight: 600;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        border-radius: 6px;
        display: block;
    }
}

/* CONTENT PAGE STYLES (Privacy Policy / Terms of Service) */
.content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 40px 80px;
}

.content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 50px 0 20px;
    color: #60a5fa;
    position: relative;
    padding-bottom: 15px;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

.content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #ffffff;
}

.content p {
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
}

.content ul {
    margin: 15px 0;
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.content li {
    margin: 10px 0;
    line-height: 1.8;
}

.update-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .content {
        padding: 0 20px 60px;
        margin: 40px auto;
    }

    .content h2 {
        font-size: 1.6rem;
    }

    .content h3 {
        font-size: 1.1rem;
    }
}
