body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFFCF9;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
main {
    flex: 1; /* Ocupa todo o espaço disponível */
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #FFFCF9;
}
.logo img {
    width: 100px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
/* Estilo do menu */
nav ul li {
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Espaçamento para o sublinhado */
    
}

/* Efeito de sublinhado padrão oculto */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: #ffb800; /* Cor amarela */
    transition: width 0.3s ease-in-out;
}

/* Exibir sublinhado ao passar o mouse */
nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 49px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 16px;
}
.cta .button {
    background: #ffb800;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    width: 80%;
    justify-content: center;
}
/* .hero {
    padding: 50px;
    text-align: left;
    max-width: 100%;
} */

.hero {
    position: relative;
    padding: 50px;
    text-align: left;
    max-width: 100%;
    background-image: url('Ellipse.png'); /* Substitua pelo caminho correto */
    background-repeat: no-repeat;
    background-size: 280px; /* Ajuste conforme necessário */
    background-position: left 10px top 100px; /* Movendo mais para cima */
}
.hero h1 {
    font-size: 90px;
    color: #333;
    margin-left:110px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* Peso da fonte para o "Tão Fácil escolher" */
    line-height: 1.2;
}
.hero h1 span.highlight {
    color: #ffb800;
    font-weight: bold;
}
/* Estilo específico para "Nunca Foi" */
.hero h1 span.regular-text {
    font-size: 49px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400; /* Regular */
}
.hero .highlight {
    color: #ffb800;
    font-weight: bold;
}
.search-bar {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.search-bar button {
    padding: 10px 15px;
    border: none;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
}
.material-icons {
    font-size: 18px;
    color: #ffb800;
}
.graphic {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.circle {
    width: 250px;
    height: 250px;
    background: #ffb800;
    border-radius: 50%;
    position: relative;
}
.circle::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 2px dashed black;
    border-radius: 50%;
    top: -15px;
    left: -15px;
}
.cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta .button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffb800;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.cta .button:hover {
    background: #e0a000;
}

.cta .button .material-icons {
    font-size: 18px;
    color: white;
}

/* Estilo do Toast */
.toast {
    visibility: hidden;
    min-width: 280px;
    background: #333;
    color: white;
    text-align: center;
    padding: 12px;
    position: absolute;
    left: -100px; /* Move mais para a esquerda */
    bottom: -90px; /* Move mais abaixo */
    border-radius: 5px;
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, bottom 0.5s ease-in-out;
}

/* Quando o Toast aparecer */
.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: -100px; /* Mantém um efeito suave de transição */
}

/* Estilização do Modal */
.modal {
    display: none; /* Garante que inicie oculto */
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}


.modal-body {
    max-height: 60vh; /* Define um tamanho máximo para o conteúdo */
    overflow-y: auto; /* Permite a rolagem */
    padding-right: 10px; /* Garante espaço para a rolagem */
}


/* Caixa do Modal */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 60%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}


/* Botão de Fechar */
.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

/* Título do Modal */
.modal-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}
/* Corpo do Modal */
.modal-body {
    text-align: justify;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-top: 15px;
}

/* Ajuste dos Parágrafos */
.modal-body p {
    margin-bottom: 15px;
}


/* Layout das Imagens */
.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
/* Container da Imagem */
.image-container {
    position: absolute;
    top: 200px; /* Ajuste para melhor alinhamento vertical */
    right: 190px; /* Ajuste para melhor alinhamento horizontal */
    width: 520px; /* Defina a largura da imagem */
    height: auto; /* Mantém a proporção */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajuste da Imagem */
.image-container img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Mantém a imagem sem cortes */
    border-radius: 20px;

}

/* Estilização das imagens */
.partners img {
    width: 130px;
    height: 130px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    padding: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Efeito de Hover */
.partners img:hover {
    transform: scale(1.08);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.graphic-top-right {
    z-index: -1; /* Ensure it doesn't interfere with interactive elements */
    position: absolute;
    max-height: 80vh; /* Define uma altura máxima */
    overflow-y: auto; /* Permite rolagem vertical */
    top: 150px;  /* Ajuste para a posição vertical */
    right: 100px;  /* Ajuste para a posição horizontal */
    width: 80px;  /* Defina o tamanho da imagem */
    height: 80px;
    background-image: url('Ellipse2.png'); /* Substitua pelo caminho correto */
    background-repeat: no-repeat;
    background-size: 280px; /* Ajuste conforme necessário */
    background-size: contain;
    opacity: 0.5; /* Mantém o efeito suave */
}


footer {
    color: rgb(36, 34, 34);
    text-align: center;
    font-size: 11px;
    margin-top:40px;
    position: relative;
    padding: 15px;
    bottom: 0;
    width: 100%;
}

/* Estilo para o link de Políticas de Privacidade no footer */
.privacy-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: #ffb800;
    text-decoration: underline;
}

/* Estilização específica para o modal de privacidade */
#modalPrivacidade .modal-body {
    text-align: left;
}

#modalPrivacidade .modal-body h3 {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}

#modalPrivacidade .modal-body h4 {
    font-size: 16px;
    color: #444;
}

#modalPrivacidade .modal-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

#modalPrivacidade .modal-body ul li {
    margin-bottom: 5px;
}
/* Estilos para os botões de loja de aplicativos - Layout Plataformas */
.store-platforms {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.platform-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #202020;
    color: white;
    border-radius: 8px;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.platform-button.apple-store {
    background-color: #202020;
}

.platform-button.google-play {
    background-color: #202020;
}

.platform-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.platform-button img, 
.platform-button .store-icon {
    width: 20px;
    height: 20px;
}

/* Modal de seleção de loja */
.store-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.store-button .store-icon,
.store-button img {
    width: 24px;
    height: 24px;
}

.ios-store {
    background-color: #000000;
}

.android-store {
    background-color: #a4c639;
}

/* Título do modal de escolha */
.store-modal-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Correção para o ícone da Apple */
.apple-icon {
    font-size: 22px !important;
    color: white !important;
}

/* Correção para o ícone do Android */
.android-icon {
    font-size: 22px !important;
    color: white !important;
}
/* 1651 x 859 */

/* Responsividade */
/* /* @media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    nav */

/* Existing CSS remains unchanged */

/* Responsividade */
/* Existing CSS remains unchanged */

/* Responsividade */
@media (max-width: 1200px) {
    .hero {
        padding: 40px 30px;
        background-size: 220px;
        background-position: left 10px top 120px;
    }
    .hero h1 {
        font-size: 65px;
        margin-left: 80px;
    }
    
    .hero h1 span.regular-text {
        font-size: 40px;
    }
    
    .image-container {
        right: 100px;
        width: 400px;
        top: 220px;
    }
}

/* New specific breakpoint to handle the overlap issue */
@media (max-width: 1100px) and (min-width: 769px) {
    .hero h1 {
        max-width: 60%;
    }
    
    .image-container {
        top: 250px; /* Move image down */
        right: 80px;
        width: 380px;
    }
}

@media (max-width: 992px) {
    .hero {
        background-size: 180px;
    }
    .hero h1 {
        font-size: 55px;
        margin-left: 60px;
        max-width: 55%; /* Limit width to prevent overlap */
    }
    
    .hero h1 span.regular-text {
        font-size: 30px;
    }
    
    .image-container {
        right: 60px;
        width: 320px;
        top: 250px; /* Position lower to avoid text */
    }
}

/* Critical breakpoint - content layout change */
@media (max-width: 850px) {
    main {
        display: flex;
        flex-direction: column;
    }

    .hero {
        order: 1;
        text-align: center;
        padding: 30px 20px 10px;
        background-position: center top 70px;
    }

    .hero h1 {
        font-size: 45px;
        margin: 0 auto 20px;
        max-width: 100%;
    }

    .search-bar {
        justify-content: center;
        margin: 20px auto;
    }

    .image-container {
        position: static;
        order: 2;
        width: 100%;
        margin: 20px auto;
        text-align: center;
    }

    .app-promotion {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .store-platforms {
        margin-top: 5px;
    }
}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    nav ul {
        gap: 8px;

    }
    
    .hero {
        padding: 30px;
        text-align: center;
        background-position: center top 80px;
    }
    
    .hero h1 {
        font-size: 50px;
        margin-left: 0;
        max-width: 100%; /* Reset max-width for mobile */
    }
    
    .hero h1 span.regular-text {
        font-size: 30px;
    }
    
    /* Key change: reposition the app store content below text */
    .image-container {
        position: static;
        width: 100%;
        max-width: 400px;
        margin: 30px auto;
        order: 2; /* Ensure it appears after text */
    }
    
    main {
        display: flex;
        flex-direction: column;
    }
    
    .hero {
        order: 1; /* Ensure text comes first */
    }
    
    .search-bar {
        justify-content: center;
    }
    
    .modal-content {
        width: 90%;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 10px;
    }
    .logo img {
        width: 90px;
    }
    
    nav ul {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }
    
    nav ul li a {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero h1 span.regular-text {
        font-size: 22px;
    }
    .hero h1 span.highlight {
        font-size: 40px;
    }
    
    .search-bar {
        width: 100%;
        max-width: 250px;
    }
    
    .search-bar button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .cta .toast {
        min-width: 200px;
        left: -50px;
    }
    /* Modal improvements for mobile */
    .modal-content {
        width: 95%;
        padding: 15px 10px;
    }

    .modal-body {
        padding-right: 5px;
        max-height: 70vh;
    }

    .store-platforms {
        flex-direction: column;
        gap: 8px;
    }
    /* Extra small devices */
    @media (max-width: 360px) {
        .hero h1 {
            font-size: 30px;
        }

        .hero h1 span.regular-text {
            font-size: 20px;
        }

        .hero h1 span.highlight {
            font-size: 34px;
        }

        .close {
            top: 5px;
            right: 10px;
        }

        .modal-content h2 {
            font-size: 18px;
            margin-top: 10px;
        }
    }   
    
    @media (max-width: 768px) {
        footer {
            padding: 10px 20px;
            font-size: 10px;
        }
    }
}