/* CONTATO */
.contact {
    background-color: #101233;
    padding: 60px 5%;
}

.contact h2 {
    font-size: 26px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    width: 80%;
    justify-self: center;
}

.contact-form,
.contact-info {
    flex: 1;
    max-width: 500px;
}

.contact-form h3,
.contact-info h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    color: #ffffff;
    font-size: 14px;
    text-align: left;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ffffff;
    color: #000000;
    border-radius: 5px;
}

.contact-btn {
    background-color: var(--primary-blue);
    border: none;
    color: white;
    font-size: 16px;
    padding: 8px 15px; /* Ajuste fino do espaçamento interno */
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block; /* Faz com que o botão se ajuste ao conteúdo */
    width: auto; /* Remove qualquer largura fixa */
    min-width: unset; /* Caso tenha um min-width definido */
    max-width: fit-content; /* Ajusta ao tamanho do conteúdo */
    text-align: center;
    white-space: nowrap; /* Garante que o texto não quebre */
}

.contact-btn:hover {
    background-color: #0044aa;
}

.contact-info p {
    color: #ffffff;
    font-size: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h4 {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

.contact-cta {
    margin: 40px 0;
}

.highlight {
    color: var(--primary-blue);
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 50%;
}

.whatsapp-btn i {
    font-size: 20px;
}

/* --- AJUSTES UNIVERSAIS DE RESPONSIVIDADE --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Ajuste global para telas pequenas */
@media (max-width: 600px) {
    body {
        padding: 0 10px;
    }

    h1, h2, h3 {
        font-size: 90%;
    }

    .section-content, .text-content, .contact-container {
        padding: 10px !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    #floating-btn {
        right: 10px;
        bottom: 10px;
        padding: 10px 14px;
        font-size: 14px;
    }
}


@media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
      width: 100%;
      gap: 30px;
    }
  
    .contact-form,
    .contact-info {
      max-width: 100%;
      width: 100%;
    }
  
    .contact-btn {
      width: 100%;
      padding: 12px;
      font-size: 16px;
    }
  
    .whatsapp-btn {
      width: 100%;
      font-size: 16px;
      padding: 12px;
      justify-content: center;
    }
  
    .contact h2 {
      font-size: 22px;
    }
  
    .contact-form h3,
    .contact-info h3 {
      font-size: 16px;
      text-align: center;
    }
  }
  