@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@400;600;700;800&display=swap');

:root {
    --primary-blue: #1EB9D8;
    --primary-green: #70E35D;
    --bg-midnight: #061126;
    --bg-tech: #0D2396;
    --pure-white: #FFFFFF;
    --carbon-black: #0B0B0D;
    --soft-gray: #F2F4F7;
    --steel-gray: #7A8594;
    --text-secondary: #C9D2E0;
    --dynamic-gradient: linear-gradient(135deg, #1EB9D8 0%, #70E35D 100%);

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Sora', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-midnight);
    color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Helper Classes */
.text-gradient {
    background: var(--dynamic-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: var(--dynamic-gradient);
}

/* Navbar */
nav {
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(6, 17, 38, 0.8);
    backdrop-filter: blur(10px);
}

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



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

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--dynamic-gradient);
    color: var(--pure-white);
}

.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(30, 185, 216, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--pure-white);
}

.btn-secondary:hover {
    background: rgba(30, 185, 216, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: rgba(6, 17, 38, 0.8);

    /* background: radial-gradient(circle at top right, rgba(30, 185, 216, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(112, 227, 93, 0.1), transparent); */
}

.hero-content {
    flex: 1;
}


.header-logo img {
    height: 100px;
    filter: drop-shadow(rgba(0,0,0,0.3));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img,
.hero-video {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    border-radius: var(--radius-lg);
}

/* Sections */
section {
    text-align: center;
    padding: 100px 0;
}

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

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

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

@media (min-width: 1200px) {
    #solucoes .cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.card {
    background: #0D1630;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card i {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
    background: var(--dynamic-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-secondary);
}

/* Gallery marquee */
#galeria .section-title p {
    max-width: 640px;
    margin: 0 auto;
}

.gallery-marquee-wrapper {
    width: 100%;
    padding: 0 20px 40px;
}

.marquee-mask {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.gallery-marquee {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: gallery-scroll 45s linear infinite;
}

.gallery-marquee:hover {
    animation-play-state: paused;
}

.gallery-card {
    flex: 0 0 320px;
    background: rgba(13, 22, 48, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: transform 0.6s ease, border-color 0.3s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-card-body {
    padding: 24px;
    text-align: left;
}

.gallery-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
}

.gallery-card h3 {
    font-size: 1.25rem;
    margin: 12px 0 8px;
}

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

.gallery-card:hover {
    transform: translateY(-10px);
    border-color: rgba(30, 185, 216, 0.5);
}

@keyframes gallery-scroll {
    to {
        transform: translateX(-50%);
    }
}

/* Partners Section */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partner-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.partner-item img {
    max-height: 100px;
    max-width: 240px;
    filter: none; /* mantém as cores originais das marcas */
    opacity: 1;
    transition: var(--transition);
}

.partner-item:hover img {
    transform: scale(1.05);
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(15px);
    will-change: transform, opacity, filter;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: var(--bg-midnight);
    /* background-color: var(--bg-tech);
    background: radial-gradient(circle at center, #0D2396, #061126); */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: flex-start;
}

.footer-logo img {
    height: 160px;
    margin-bottom: 160px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}


.footer-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-column h4 {
    margin-bottom: 15px;
    color: var(--pure-white);
    font-weight: 600;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
}

.footer-list li {
    margin-bottom: 12px;
    line-height: 1.4;
}

.footer-list a {
    color: var(--text-secondary);
}

.footer-list a:hover {
    color: var(--primary-blue);
}

.footer-contact-list strong {
    display: block;
    color: var(--pure-white);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .gallery-card {
        flex: 0 0 calc(100vw - 80px);
    }
}
