/* Reset básico */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header e navegação */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    flex-wrap: wrap;
}

header img {
    height: 60px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #0a1a3f;
    font-weight: 500;
}

/* Seção hero (home) */
.hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #0a1a3f;
}

.hero p {
    font-size: 1.2rem;
    color: #2c3e50;
}

/* Seção serviços (home) */
.services {
    padding: 40px 20px;
    text-align: center;
}

.services h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.services .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    width: 280px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #f9f9f9;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card p {
    padding: 10px;
    font-weight: 500;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Formulário de contato */
.contato-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.contato-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input,
.contato-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.contato-form textarea {
    height: 150px;
    resize: vertical;
}

.contato-form button {
    padding: 12px;
    background-color: #0a1a3f;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contato-form button:hover {
    background-color: #1a2f6c;
}

/* Mensagens de feedback (sucesso/erro) */
.mensagem-sucesso {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d4edda;
    color: #155724;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: fadeOut 5s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

/* Rodapé */
footer {
    background: #0a1a3f;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer .socials img {
    width: 30px;
    margin: 0 10px;
}

/* Botão WhatsApp */
#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    padding: 15px;
}

#whatsapp-button img {
    width: 60px;
    height: 60px;
}

/* Responsividade geral */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    nav {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 8px 0; /* espaçamento vertical entre os links */
    }

    .services .cards {
        flex-direction: column;
        align-items: center;
    }

    .contato-container {
        padding: 0 10px;
    }
}


/* Responsividade para o formulário de contato */
.contato-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input,
.contato-form textarea,
.contato-form button {
    font-size: 1rem;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.contato-form button {
    background-color: #0a1a3f;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.contato-form button:hover {
    background-color: #142b66;
}

@media (max-width: 600px) {
    .contato-form {
        padding: 15px;
    }
     .perfil-contato {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .perfil-contato img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .info-perfil h2 {
    font-size: 1.3rem;
  }

  .info-perfil p {
    font-size: 0.95rem;
  }

  .icones-sociais {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .icones-sociais a {
    width: 32px;
    height: 32px;
  }

  .icones-sociais a img {
    width: 100%;
    height: 100%;
  }
}
.perfil-contato {
  display: flex;
  flex-direction: column; /* stack para telas pequenas */
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 30px auto;
  gap: 20px;
  text-align: center;
}

.foto-perfil {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}


.info-perfil {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.perfil-contato img {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    box-shadow: none !important;
    border-radius: 50%;
    object-fit: cover;
}

.info-perfil {
    flex: 1;
    
}

.info-perfil h2 {
    margin: 0 0 5px;
    font-size: 1.5rem;
    color: #0a1a3f;
}

.info-perfil p {
    margin: 5px 0;
}

.icones-sociais {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
}



.icones-sociais a {
    all: unset;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    line-height: 0;
    box-shadow: none !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
}
.icones-sociais a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
}

.icones-sociais a img:hover {
    transform: scale(1.1);
}
.subtitulo {
    margin: 4px 0 8px;
    color: #777;
    font-size: 0.95rem;
}
