@media (max-width: 768px){
    .hamburger {
        display: flex;
    }
    .nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background-color: #004579;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 15px;
    }
    .nav.active {
        height: 60%;
    }
    .nav ul {
        flex-direction: column;
        gap: 40px;
        font-size: 2rem;
    }
    .nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    font-family: "Montserrat";
    font-weight: 600;
    border-bottom: 2px solid white;
}
    .ajuste-chato p {
        font-family: "Montserrat";
        color: var(--azul-primario);
        font-size: 17px;
        font-weight: 700;
        text-decoration: none  !important;
        
    }
    .ajuste-chato{
        display: flex;
        text-decoration: none;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    input{
        width: 100%;
    }
    #form-contato button{
        width: 100% !important; 
    }
    .close-btn {
        position: absolute;
        top: 10px;
        right: 0px;
        font-size: 2rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }
    .logo{
        width: 40px;
    }
    .header{
        padding: 15px 25px 0px 25px
    }
    .text{
        font-family: "Lora";
        font-weight: 400;
        font-size: 14px;
        margin-top: 10px;
        max-width: 200px;
    }




    .home h1{
        color: var(--azul-primario);
        font-family: "Montserrat";
        font-weight: 700;
        font-size: 35px;
        text-align: center;
        margin-bottom: 25px;
    }
    .padding{
        padding: 30px 20px;
    }
    .destaque-h1{
        color: var(--azul-secundario)
    }
    .home h2{
        font-family: "Lora";
        font-weight: 400;
        font-size: 18px;
        text-align: center;
        margin-bottom: 30px;
    }

    .subtitulo{
        color: black;
        font-family: "Montserrat";
        font-weight: 600;
        font-size: 28px;
        text-align: center;
    }
    .vantagens{
        padding: 30px 25px;
    }

    .container-vantagens{
        border-bottom: 2px solid rgb(211, 211, 211);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1.5rem;
    }
    .container-vantagens h2{
        color: black;
        font-family: "Montserrat";
        font-weight: 600;
        font-size: 22px;
    }
    .container-vantagens p{
        font-family: "Lora";
        font-weight: 400;
        font-size: 16px;
    }
    .container-vantagens img{
        width: 50px;
        margin-top: 30px;
    }




    .header-produtos h1{
        color: var(--azul-primario);
        font-family: "Montserrat";
        font-weight: 700;
        font-size: 35px;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    .header-produtos p{
        font-family: "Lora";
        font-weight: 400;
        font-size: 16px;
        text-align: center;
        padding: 0 20px;
        margin-bottom: 30px;
    }




    .card {
    position: relative;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, height 0.3s ease;
    cursor: pointer;
    background-color: rgba(237, 237, 237, 0.51);
    }

    /* Frente (parte visível sem hover) */
    .card-front {
    padding: 10px 15px;
    }

    .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    }

    .card-title {
        color: black;
        font-family: "Montserrat";
        font-weight: 700;
        font-size: 20px;
        text-transform: uppercase;
        max-width: 200px;
    }

    

    /* Conteúdo do hover (escondido inicialmente) */
    .card-hover {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    padding: 10px 20px 0 20px;
    }

    .card-list {
    list-style: none;
    padding: 0;
    margin:  0 0 25px 0;
    }

    .card-list li {
    margin-bottom: 8px;
    font-family: "Lora";
    font-size: 14px;
    }

    .card-button {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    }

    /* Efeito ao passar o mouse */
    .card:hover {
    transform: scale(1.03);
    }

    .card:hover .card-hover {
    opacity: 1;
    max-height: 1000px; /* ajusta conforme precisar */
    }

    .todos-os-cards{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    .text{
        font-family: "Lora";
        font-weight: 400;
        font-size: 16px;
        margin-top: 5px
    }
    .card .icon-arrow{
        color: black;
        width: 30px;
    }
    .card .icon-card{
        width: 30px;
    }
    .container-icon{
        background-color: #D2E3FD;
        border-radius: 10px;
        width: 50px;
        height: 50px;
        display: grid;
        place-items: center;
    }

    .card ul li {
      position: relative;
      padding-left: 20px;
      margin-bottom: 8px;
    }

    .card ul li::before {
      content: "";
      width: 8px;
      height: 8px;
      background: #5DA2F9; /* bolinha azul */
      border-radius: 50%;
      position: absolute;
      left: 0;
      top: 6px;
    }

    .cta h2{
        text-align: center;
        font-family: "Montserrat";
        width: 90%;
        margin-bottom: 30px;
    }
    .cta{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
    }
    .sobre-nos h1{
        color: var(--azul-primario);
        font-family: "Montserrat";
        font-weight: 700;
        font-size: 35px;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    .sobre-nos{
        padding: 0 30px 50px 30px;
        font-family: "Lora";
        text-align: center;
    }

    .cartao {
      width: 300px;
      padding: 20px;
      border-radius: 12px;
      background: #f4f4f4;
    }

    .icon-circle {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: #D2E3FD; /* azul */
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }

    .icon-circle span {
      font-size: 28px;
      color: white;
    }

    .cartao h3 {
      margin: 0 0 10px 0;
      font-family: "Montserrat";
    }

    .cartao p {
      margin: 0;
      font-family: "Lora";
    }

    .cartoes{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
        gap: 2rem;
    }
    .cartao ul{
        margin-left: 0px;
        font-family: "Lora";
        list-style: none;
    }
    .icon-circle img{
        width: 40px;
    }

    .cartoes  li {
      position: relative;
      padding-left: 20px; /* espaço para a bolinha */
      margin-bottom: 8px;
    }

    .cartoes li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #5DA2F9; /* bolinha azul */
    }
    .fantasma, .fantasma2{
        display: none;
    }
}