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

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #0c4c7d;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    color: white;
    text-align: center;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-size: 0.95rem;
}

.nav-link:hover {
    background-color: #1a6da8;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background-color: #1a6da8;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn { 
    background-color: #25D366;
    color: white !important;
    border-radius: 50px;
    padding: 10px 22px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-4px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
}

main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
}

.title h1 {
    color: #0c4c7d;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.plano {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
}

.planotext h2 {
    color: #0c4c7d;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
}

.planoimg {
    text-align: center;
    margin: 30px 0;
}

.planoimg img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.planoimg img:hover {
    transform: scale(1.02);
}

.pimgplano p {
    color: #555;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.planotext2 h5 {
    color: #0c4c7d;
    font-size: 1.5rem;
    margin: 40px 0 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.planotext2 h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #0c4c7d;
}

#passos_planos {
    background-color: #f5f9fc;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid #e0e0e0;
}

.detalhamento {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.numeral_plano {
    flex: 0 0 10%;
}

.numeral_plano p {
    background-color: #0c4c7d;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.passos {
    flex: 0 0 85%;
    padding: 10px;
}

.passos h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding-left: 15px;
}

.passos h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    height: 60%;
    width: 3px;
    background-color: #0c4c7d;
}

#passos_planos > div:last-child p {
    color: #666;
    font-size: 1rem;
    text-align: center;
    font-style: italic;
    margin-top: 20px;
    padding: 0 20px;
}

footer {
    background-color: #0c4c7d;
    color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

footer > div.max-w-7xl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
    gap: 2rem;
}

footer > div.max-w-7xl > div {
    flex: 1 1 auto;
    min-width: 200px;
    text-align: center;
}

footer > div.max-w-7xl > div:first-child {
    text-align: left;
}

footer > div.max-w-7xl > div:first-child img {
    height: 3rem;
    width: auto;
    max-width: 100%;
}

@media (min-width: 768px) {
    footer > div.max.w-7xl > div {
        text-align: left;
    }
    footer > div.max-w-7xl > div:first-child {
        flex-basis: 25%;
    }
    footer > div.max-w-7xl > div:nth-child(2),
    footer > div.max-w-7xl > div:nth-child(3),
    footer > div.max-w-7xl > div:nth-child(4) {
        flex-basis: calc(75% / 3);
    }
}

@media (min-width: 1024px) {
    footer > div.max-w-7xl > div {
        flex-basis: 25%;
    }
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #a0aec0;
}

footer img {
    border-radius: 0.375rem;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    align-self: flex-start;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-end;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0c4c7d;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .nav-list.active {
        display: flex;
    }
    
    .nav-link {
        padding: 10px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: left;
    }

    .whatsapp-btn { 
        padding: 10px 20px !important;
        font-size: 1rem;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }
    
    .navbar ul { 
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-nav .whatsapp-btn { 
        margin-left: 0;
        margin-top: 10px;
    }
    
    .detalhamento {
        flex-direction: column;
    }
    
    .numeral_plano {
        margin-bottom: 10px;
    }
    
    .passos {
        margin-bottom: 20px;
        flex: 0 0 100%;
    }
    
    .plano {
        padding: 25px;
    }
    
    .title h1 {
        font-size: 2rem;
    }
    
    .planotext h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 20px 15px;
    }
    
    .plano {
        padding: 20px;
    }
    
    .planotext h2, .planotext2 h5 {
        font-size: 1.3rem;
    }
    
    .passos h4 {
        font-size: 1rem;
    }
}