/* RESET E ESTILOS GLOBAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #ff530d;
    --secondary-color: #ff974f;
    --text-color: #333;
    --background-color: #fff;
    --gray-bg-color: #f8f9fa;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

p {
    font-size: 1.1rem;
}

p.subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* CABEÇALHO E NAVEGAÇÃO */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 5%;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav .logo img {
    height: 70px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul a {
    font-weight: 600;
    font-size: 1rem;
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* BOTÃO CTA (CALL-TO-ACTION) */
.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* SEÇÕES */
.content-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e9e9e9' fill-opacity='0.4'%3E%3Ccircle cx='10' cy='10' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

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

.gray-bg {
    background-color: var(--gray-bg-color);
    background-image: none;
}

.dark-bg {
    background-color: #222;
    background-image: none;
    color: #f0f0f0;
}


/* SEÇÃO 1: HERO (COM VÍDEO) */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.43);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
}

/* SEÇÃO 2: MERCADO E FUNCIONALIDADES (CARDS) */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 25px rgba(255, 83, 13, 0.1);
}

.dark-bg h2,
.dark-bg p.subtitle {
    color: white;
}

.dark-card {
    background-color: #333;
    border-color: #444;
}

.dark-card h3, .dark-card p {
    color: #f0f0f0;
}

.card h4 {
    color: var(--primary-color);
}

.card ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.card ul li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* SEÇÃO 4: FUNCIONALIDADES (ÍCONES) */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 151, 79, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

/* SEÇÃO 5: PLATAFORMA */
.platform-showcase {
    margin-top: 40px;
}

.platform-showcase img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-showcase img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255, 83, 13, 0.4);
}

.platform-image-main {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
}

.platform-images-secondary {
    display: flex;
    gap: 20px;
}

.platform-images-secondary img {
    width: 50%;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

/* SEÇÃO 6: PARALLAX */
.parallax-section {
    background-image: radial-gradient(ellipse at center,
            transparent 60%,
            rgba(0, 0, 0, 0.3) 100%),
        url("images/future_financial5.avif");
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    padding: 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.parallax-text .highlight {
    color: var(--primary-color);
}

/* SEÇÃO 7: PARCEIROS */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.partners-logos img {
    max-height: 45px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* SEÇÃO 8: CONTATO */
#contato {
    text-align: center;
}

/* RODAPÉ */
footer {
    background-color: #333;
    color: #f4f4f4;
    text-align: center;
    padding: 40px 0;
}

footer .footer-content p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
}

footer .footer-content .company-name {
    font-weight: bold;
    color: white;
    font-size: 1rem;
}

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {

    /* Fontes */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Cabeçalho */
    .main-nav ul {
        display: none;
    }

    /* Seção Hero */
    .hero-video {
        display: none;
    }

    .hero-section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.145),
                rgba(0, 0, 0, 0.115)),
            url("images/parallax-background.jpg");
    }

    /* Layouts de Cards e Colunas */
    .cards-container {
        flex-direction: column;
    }

    .platform-images-secondary {
        flex-direction: column;
    }

    .platform-images-secondary img {
        width: 100%;
    }
}