/* ========== RESET E GLOBAIS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--cor-fonte);
    background-color: var(--cor-fundo);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== HEADER / NAVBAR ========== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cor-botao);
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-weight: 700;
    color: var(--cor-botao);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--cor-fonte);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--cor-botao);
}

.btn-login-header {
    background-color: var(--cor-botao);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-login-header:hover {
    background-color: var(--cor-hover);
}

/* ========== HERO SECTION ========== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    gap: 3rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cor-botao);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--cor-fonte);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 100%;
    width: 300px;
    height: auto;
    animation: floatIn 1s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--cor-botao);
    color: var(--cor-fonte-branca);
}

.btn-primary:hover {
    background-color: var(--cor-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 132, 75, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cor-botao);
    border: 2px solid var(--cor-botao);
}

.btn-secondary:hover {
    background-color: var(--cor-botao);
    color: var(--cor-fonte-branca);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* ========== CONTAINER SECTIONS ========== */
.container-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--cor-botao);
}

/* ========== SOBRE SECTION ========== */
.sobre {
    background-color: #ffffff;
    padding: 4rem 2rem;
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sobre-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--cor-botao);
}

.sobre-item p {
    color: var(--cor-fonte);
    line-height: 1.6;
}

/* ========== FUNCIONALIDADES SECTION ========== */
.funcionalidades {
    background-color: var(--cor-fundo);
    padding: 4rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--cor-botao);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--cor-botao);
}

.feature-card p {
    color: var(--cor-fonte);
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--cor-botao) 0%, var(--cor-hover) 100%);
    color: var(--cor-fonte-branca);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--cor-fonte-branca);
    color: var(--cor-botao);
}

.cta-section .btn-primary:hover {
    background-color: #f0f0f0;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--cor-botao);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--cor-botao);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    opacity: 0.8;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        display: none;
    }

    .btn-login-header {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .sobre-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .header-container {
        padding: 1rem;
    }

    .hero-logo {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-text {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.8rem 2rem;
    }
}

