/* Global Styles */
body {
    font-family: 'Poppins', sans-serif; /* Fonte mais moderna */
    margin: 0;
    padding: 0;
    background-color: #fff8f0; /* Tom de laranja bem claro para o fundo */
    color: #4f3a2e; /* Tom de marrom escuro para texto principal */
    line-height: 1.7;
    overflow-x: hidden; /* Evitar scroll horizontal indesejado */
}

header {
    background-color: #ffffff;
    color: #4f3a2e;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

nav .logo {
    display: flex;
    align-items: center;
    animation: fadeInDown 0.5s ease-out;
}

nav .logo img#logo-img {
    height: 55px;
    margin-right: 0.75rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

nav .logo img#logo-img:hover {
    transform: scale(1.1);
}

nav h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #ff8c00; /* Laranja principal */
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Alinhar verticalmente */
}

.nav-links li {
    margin-left: 25px;
}

.nav-links li a {
    color: #4f3a2e;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff8c00; /* Laranja principal */
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: #ff8c00; /* Laranja principal */
}

.nav-links li a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #4f3a2e;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/dashboard.png') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden; /* Para efeitos de paralaxe ou animação */
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
    animation: fadeInUp 1s ease-out;
}

#hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    background-color: #e65100; /* Laranja escuro para CTA */
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px; /* Botões mais arredondados */
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #d84315; /* Laranja mais escuro no hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button.pulse:hover {
    animation: pulse-animation 1s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1) translateY(-3px); }
    50% { transform: scale(1.05) translateY(-3px); }
    100% { transform: scale(1) translateY(-3px); }
}

/* Sections General */
section {
    padding: 5rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #ff8c00; /* Laranja principal */
    font-weight: 600;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: #ff8c00; /* Laranja principal */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.alternate-bg {
    background-color: #ffe0b2; /* Tom de laranja mais claro para fundo alternativo */
}

/* Features Section */
#features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: auto;
}

.feature-item {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-item img {
    width: 100%;
    max-height: 220px;
    object-fit: cover; /* Garante que a imagem cubra a área */
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #e65100; /* Laranja escuro para títulos de feature */
    font-weight: 600;
}

/* Mobile App Section */
#mobile-app .mobile-app-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    max-width: 1100px;
    margin: auto;
    text-align: left;
}

#mobile-app .mobile-app-text {
    flex-basis: 55%;
    padding-right: 3rem;
}

#mobile-app .mobile-app-text h3 {
    font-size: 2.2rem;
    color: #4f3a2e;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

#mobile-app .mobile-app-text h4.highlight-feature {
    font-size: 1.5rem;
    color: #ff8c00; /* Laranja principal */
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

#mobile-app .mobile-app-text h4.highlight-feature i {
    margin-right: 0.5rem;
}

#mobile-app .mobile-app-images {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center; /* Alinhar verticalmente */
    gap: 1.5rem;
    position: relative; /* Para posicionar imagens sobrepostas se necessário */
}

.mobile-screenshot {
    max-width: 48%;
    height: auto;
    border-radius: 20px; /* Bordas mais arredondadas para screenshots de celular */
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito de "pop" */
}

.mobile-screenshot.main-screenshot {
    transform: scale(1.1) rotate(-5deg);
    z-index: 2;
}

.mobile-screenshot.side-screenshot {
    transform: scale(0.9) rotate(5deg);
    opacity: 0.8;
    z-index: 1;
}

#mobile-app .mobile-app-images:hover .main-screenshot {
    transform: scale(1.15) rotate(0deg);
}

#mobile-app .mobile-app-images:hover .side-screenshot {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.app-store-buttons {
    margin-top: 2.5rem;
}

.app-store-button {
    background-color: #4f3a2e; /* Marrom escuro para botões de app store */
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    margin-right: 15px;
    display: inline-flex; /* Para alinhar ícone e texto */
    align-items: center;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

.app-store-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.app-store-button:hover {
    background-color: #ff8c00; /* Laranja principal no hover */
    transform: translateY(-2px);
}

/* Plans Section */
#plans .uk-grid {
    max-width: 1000px;
    margin: auto;
}

.plan-item {
    background-color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: left;
    position: relative; /* Para o badge */
    overflow: hidden; /* Para o badge */
}

.plan-item.featured-plan {
    border: 2px solid #ff8c00; /* Laranja principal para plano destacado */
    transform: scale(1.05); /* Destacar plano */
    box-shadow: 0 10px 30px rgba(255,140,0,0.2);
}

.popular-badge {
    position: absolute;
    top: 35px;
    right: -40px;
    background-color: #ffab40; /* Laranja mais claro para badge */
    color: #4f3a2e;
    padding: 0.3rem 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.plan-item h3 {
    font-size: 2rem;
    color: #ff8c00; /* Laranja principal */
    text-align: center;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.plan-item .price {
    font-size: 3rem;
    font-weight: 700;
    color: #4f3a2e;
    text-align: center;
    margin-bottom: 0.8rem;
}

.plan-item .price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: #757575; /* Cinza para texto secundário */
}

.plan-item .save-info {
    text-align: center;
    color: #e65100; /* Laranja escuro para info de economia */
    font-weight: 600;
    margin-bottom: 1.8rem;
    font-size: 1rem;
}

.plan-item .save-info i {
    margin-right: 0.3rem;
}

.plan-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.plan-item ul li {
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1rem;
}

.plan-item ul li i {
    color: #e65100; /* Laranja escuro para ícones de check */
    position: absolute;
    left: 0;
    top: 4px; /* Ajuste fino vertical */
    font-size: 1.1rem;
}

.plan-item .cta-button {
    display: block;
    text-align: center;
    width: 100%;
}

/* Contact Section */
#contact-form {
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ffd180; /* Borda laranja clara para inputs */
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff; /* Fundo branco para inputs */
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    border-color: #ff8c00; /* Laranja principal no focus */
    box-shadow: 0 0 0 0.2rem rgba(255,140,0,.25);
    outline: none;
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button[type="submit"] {
    display: block;
    width: auto;
    margin: 1rem auto 0;
    padding: 1rem 2.5rem;
}

#form-message {
    margin-top: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* Verde WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex; /* Para centralizar o ícone */
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E; /* Verde WhatsApp mais escuro */
}

/* Footer */
footer {
    background-color: #ff8c00; /* Marrom escuro para footer */
    color: #000; /* Laranja claro para texto do footer */
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

footer p i {
    color: #ff8c00; /* Coração laranja */
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    #mobile-app .mobile-app-text {
        flex-basis: 100%;
        padding-right: 0;
        text-align: center;
        margin-bottom: 3rem;
    }
    #mobile-app .mobile-app-images {
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px; /* Altura do header */
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }
    .nav-links.nav-active {
        transform: translateX(0%);
    }
    .nav-links li {
        margin: 1rem 0;
        opacity: 0; /* Para animação de entrada */
    }
    .burger {
        display: block;
        z-index: 1001; /* Para ficar acima do menu */
    }

    #hero h2 {
        font-size: 2.8rem;
    }
    #hero p {
        font-size: 1.1rem;
    }
    section h2 {
        font-size: 2.2rem;
    }
    #features .features-grid {
        grid-template-columns: 1fr;
    }
    #plans {
        padding: 3rem 1rem; /* Reduzir padding para telas menores */
    }
    .plan-item {
        padding: 2rem; /* Reduzir padding interno */
    }
    .plan-item.featured-plan {
        transform: scale(1); /* Remover destaque em telas menores para melhor layout */
    }
    .plan-item h3 {
        font-size: 1.8rem; /* Reduzir tamanho do título */
    }
    .plan-item .price {
        font-size: 2.5rem; /* Reduzir tamanho do preço */
    }
    #contact {
        padding: 3rem 1rem; /* Reduzir padding para telas menores */
    }
    #contact-form {
        max-width: 90%; /* Formulário ocupa quase toda a largura */
        padding: 0 1rem; /* Adicionar padding lateral */
    }
    #contact-form input[type="text"],
    #contact-form input[type="email"],
    #contact-form textarea {
        font-size: 0.9rem; /* Reduzir tamanho da fonte para melhor legibilidade */
        padding: 0.8rem; /* Reduzir padding dos campos */
    }
    #contact-form textarea {
        min-height: 100px; /* Reduzir altura mínima do textarea */
    }
    #contact-form button[type="submit"] {
        width: 100%; /* Botão ocupa toda a largura em telas pequenas */
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* Animação para itens do menu mobile */
.nav-links.nav-active li {
    opacity: 1;
    transition: opacity 0.5s ease forwards;
}

.nav-links.nav-active li:nth-child(1) { transition-delay: 0.2s; }
.nav-links.nav-active li:nth-child(2) { transition-delay: 0.3s; }
.nav-links.nav-active li:nth-child(3) { transition-delay: 0.4s; }
.nav-links.nav-active li:nth-child(4) { transition-delay: 0.5s; }
.nav-links.nav-active li:nth-child(5) { transition-delay: 0.6s; }

/* Estilo para o burger quando o menu está ativo */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Scrollbar customizada (opcional, para navegadores WebKit) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff0e1; /* Laranja bem claro para track */
}
::-webkit-scrollbar-thumb {
    background: #ff8c00; /* Laranja principal para thumb */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e65100; /* Laranja escuro no hover */
}