* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #f5f8ff;
    color: #333;
}


.header {
    position: fixed;
    width: 100%;
    background: white;
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    z-index: 1000;
}

.logo img {
    height: 60px;
    width: auto;
}
.logo img:hover {
    transform: scale(1.05);
}


.menu a {
    margin-left: 24px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.menu a:hover {
    color: #0046c7;
}


.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 30px;
    padding: 4px;
}
.hamburger span {
    display: block;
    height: 3px;
    background: #0046c7;
    margin: 5px 0;
    border-radius: 3px;
}

.menu-mobile {
    display: none; 
}
.menu-mobile.open {
    display: flex;
}
.menu-mobile {
    position: fixed;
    inset: 0; 
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    padding-top: 100px; 
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.menu-mobile a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    background: rgba(0,70,199,0.95);
    padding: 10px 24px;
    border-radius: 8px;
    width: 80%;
    text-align: center;
}

.menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
}
.menu-mobile {
    display: none;
}


/* HERO */
.hero {
    position: relative;
    padding: 110px 6% 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #0046c7 0%, #0077ff 90%);
    color: white;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: 0; /* fica atrás do conteúdo real */
}
.hero::before {
    content: "";
    position: absolute;
    right: -200px;
    top: -100px;
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.10); /* arco 1 */
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    right: -100px;
    top: 200px;
    width: 900px;
    height: 900px;
    background: rgba(255, 255, 255, 0.06); /* arco 2 */
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 540px;
}

.hero h1 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-buttons a {
    margin-right: 12px;
}

.hero-img img {
    width: 500px;
    opacity: 0.95;
    margin: -4px;
}

/* BUTTONS */
.btn-primary {
    background: white;
    color: #0046c7;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.btn-outline {
    padding: 14px 22px;
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    text-decoration: none;
}

/* SECTIONS */
.section {
    padding: 90px 6%;
    text-align: center;
}

.section h2 {
    font-size: 34px;
    margin-bottom: 30px;
    color: #002f6c;
}

.texto {
    max-width: 700px;
    margin: auto;
    color: #444;
    line-height: 1.7;
}

.texto2 {
    max-width: 700px;
    margin: auto;
    color: #444;
    line-height: 1.7;
    text-align: justify;
}


#contato a {
    color: #ffffff;          
    text-decoration: none;   
    font-weight: 500;
}

#contato a:hover {
    color: #df8d46;
    opacity: 0.85;           
}


/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card i.material-icons {
    font-size: 60px;
    color: #0046c7;
    margin: 15px 0; 
    display: block; 
}


.top-bar {
    height: 6px;
    width: 100%;
    background: #0046c7;
    border-radius: 12px 12px 0 0;
    margin-top: -35px;
}

.card img {
    width: 60px;
    margin: 15px 0;
}

.card h3 {
    margin-bottom: 10px;
    color: #002f6c;
}

/* PLANOS */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch; /* garante que todos os cards tenham mesma altura */
}

.plano {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    position: relative;

    /* NOVO: Flex para alinhar botão */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.plano.destaque {
    border: 2px solid #0046c7;
}

.tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #0046c7;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.plano h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.plano .preco {
    margin-bottom: 18px;
    font-size: 18px;
}

.plano ul {
    list-style: none;
    line-height: 1.8;
    margin-bottom: 20px;
}

.plano ul li {
    text-align: left;
}

.btn-primary {
    background: #002f6c;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #004799;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}


.whats-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.whats-btn img {
    width: 60px;
    transition: 0.2s;
}

.whats-btn img:hover {
    transform: scale(1.1);
}


.footer {
    background: #005ed9; 
    color: white;
    padding: 50px 6% 35px;
    margin-top: 60px;
    width: 100%;
}


.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1fr;
    gap: 50px;
}


.footer-logo img {
    width: 230px;
    filter: brightness(100%);    
}


.footer-logo-link img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo-link:hover img {
    transform: scale(1.05); 
    opacity: 0.85;           
}


/* TÍTULOS */
.footer h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #fff;
}

/* PARÁGRAFOS */
.footer p,
.footer li {
    font-size: 15px;
    line-height: 1.6;
}

/* LISTA */
.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

/* LINKS */
.footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}


.footer a:hover {
    color: #df8d46; 
}


.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
    color: white;
}


@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: auto;
        width: 190px;
    }

    .footer {
        padding: 40px 6% 30px;
    }
}



@media (max-width: 900px) {
    .header {
        padding: 14px 6%;
    }

    .logo {
        font-size: 20px;
    }

    .menu a {
        margin-left: 12px;
        font-size: 15px;
    }

    /* show hamburger, hide desktop menu */
    .menu {
        display: none;
    }
    .hamburger {
        display: block;
    }

    .hero {
        padding: 110px 6% 0px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons a {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .hero-img img {
        width: 320px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 28px 18px;
    }

    .card img {
        width: 52px;
    }

    .planos-grid {
        grid-template-columns: 1fr;
    }

    .plano {
        padding: 26px;
    }

    .btn-primary, .btn-outline {
        padding: 12px 18px;
        font-size: 15px;
    }

    .whats-btn {
        bottom: 18px;
        right: 18px;
    }
}

@media (max-width: 480px) {
    /* keep logo left and hamburger right on small screens */
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 12px 5%;
    }

    .logo img {
        height: 36px;
    }

    .card i.material-icons {
        font-size: 50px;
    }

    /* ensure desktop menu stays hidden and hamburger visible */
    .menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding: 90px 5% 0px;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-buttons a + a {
        margin-top: 10px;
    }

    .hero-img img {
        width: 220px;
        margin-top: 6px;
    }

    .card img {
        width: 46px;
    }

    .card {
        padding: 20px;
    }

    .plano .preco {
        font-size: 16px;
    }

    .plano .tag {
        right: 12px;
        top: -10px;
        padding: 5px 10px;
    }

    .whats-btn img {
        width: 48px;
    }

    .footer {
        padding: 22px;
        font-size: 14px;
    }
}

