/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #0a0a0a;
    --accent-blue: #007bff;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.8) 0%, #000000 100%),
        url('https://www.transparenttextures.com/patterns/dark-matter.png');
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 50px;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.4s ease, background 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    transform: translateY(-100%);
    opacity: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-area-btns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    color: var(--accent-blue);
}

.user-icon {
    width: 20px;
    height: 20px;
}

.register-btn {
    font-size: 0.75rem;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline {
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
}

nav {
    flex-grow: 1;
}

nav ul {
    display: flex;
    gap: 30px;
    justify-content: center;
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

nav ul li a:hover {
    color: var(--accent-blue);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: white;
}

.modal-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.modal-tab.active {
    color: var(--accent-blue);
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: #222;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--accent-blue);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 100%), url('../images/hero/capa.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero h2 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 6px;
    margin-bottom: 20px;
    color: white;
}

.hero-phrase {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent-blue);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn:hover {
    background: #0056b3;
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.5);
    transform: translateY(-3px);
}

/* Sections General */
section {
    position: relative;
    padding: 100px 10%;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    background-size: 200% 100%;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
    animation: shineLine 4s linear infinite;
    z-index: 1;
}

@keyframes shineLine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

section.active::before,
section:active::before {
    background: linear-gradient(90deg, var(--accent-blue) 0%, #000000 100%);
    background-size: 100% 100%;
    animation: none;
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.6);
}

section:hover::before {
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.8);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title h2 span {
    color: var(--accent-blue);
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Sobre */
.about {
    position: relative;
    background-image: url('../images/sections/Sobre.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.about > * {
    position: relative;
    z-index: 2;
}

.about .section-subtitle {
    display: block;
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.about .section-title {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 50px;
}

.about .section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-content-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-content-text p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.about-content-text p span {
    color: var(--accent-blue);
    font-weight: 600;
}

.about-content-text strong {
    color: white;
    font-weight: 600;
}

.about-signature {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    width: fit-content;
}

.about-signature p {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 3px;
    margin-bottom: 2px !important;
    color: white !important;
    text-transform: uppercase;
}

.signature-slogan {
    font-size: 0.8rem !important;
    color: var(--accent-blue) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-style: normal !important;
    opacity: 0.8;
}

/* Produtos */
.products {
    background-color: var(--primary-color);
}

.brand-phrase {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-card {
    background: linear-gradient(145deg, #121212, #080808);
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 400px;
}

.product-card:hover, 
.cta:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.4);
}

.service-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.4);
    background-color: #141414;
}

.service-card:hover .service-icon {
    filter: drop-shadow(0 0 10px var(--accent-blue));
}

.hero-logo img {
    height: 180px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.3));
    transition: var(--transition);
}

.hero-logo img:hover {
    filter: drop-shadow(0 0 40px rgba(0, 123, 255, 0.8));
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 1px;
    opacity: 0.7;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-card h3 span {
    color: var(--accent-blue);
    display: block;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.product-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price span {
    display: block;
    font-size: 1.4rem;
    color: white;
    font-weight: 700;
    margin-top: 5px;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.7rem;
    width: fit-content;
}

/* Page Product Details */
.product-detail-hero {
    padding: 180px 10% 100px;
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.1), transparent), var(--secondary-color);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.product-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.product-info h1 span {
    color: var(--accent-blue);
    display: block;
}

.impact-phrase {
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: white;
    border-left: 3px solid var(--accent-blue);
    padding-left: 15px;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    margin-bottom: 12px;
    color: var(--text-muted);
    padding-left: 25px;
    position: relative;
}

.detail-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.not-included li::before {
    content: '×';
    color: #ff4d4d;
}

.product-sidebar {
    background: #0f0f0f;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: sticky;
    top: 120px;
}

.sidebar-price {
    margin-bottom: 30px;
}

.sidebar-price p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sidebar-price h2 {
    font-size: 2.5rem;
    color: white;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .product-sidebar {
        position: static;
    }
}

/* Serviços */
.services {
    background-color: var(--secondary-color);
}

.services::before {
    display: none; /* Connect About and Services */
}

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

.service-card {
    background-color: #0f0f0f;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 0.5px, transparent 0.5px);
    background-size: 4px 4px;
    padding: 40px 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    color: var(--accent-blue);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: white;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Clientes Carousel */
.logos-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.logos-carousel {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.carousel-btn {
    background: rgba(0, 123, 255, 0.2);
    border: 1px solid var(--accent-blue);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
}

.carousel-btn.prev {
    margin-right: 20px;
}

.carousel-btn.next {
    margin-left: 20px;
}

.logos-track {
    display: flex;
    width: fit-content;
    animation: scroll 80s linear infinite;
    gap: 80px;
    align-items: center;
}

.logos-track.paused {
    animation-play-state: paused;
}

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

.client-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    max-width: 140px;
    height: auto;
    filter: none;
    opacity: 0.8;
    transition: var(--transition);
}

.client-item:hover .client-logo {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 123, 255, 0.8));
}

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

/* CTA */
.cta {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../images/sections/backgroundabout.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 120px 10%;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 800;
}

/* Footer */
footer {
    padding: 80px 10% 40px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-info img {
    height: 150px;
    margin-bottom: 25px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 350px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #555;
    font-size: 0.8rem;
}

/* Responsividade */
@media (max-width: 1024px) {
    header {
        height: 80px;
    }
    .logo img {
        height: 50px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #0a0a0a;
        padding: 100px 50px;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .hero h2 {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 2.2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}

