/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f2f2f2;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR DESKTOP */
header {
    background-color: #111827;
    color: #fff;
}

.nav-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 7rem;        /* largura fixa ou máxima */
    max-width: 7rem;    /* garante que não passe disso */
    height: auto;       /* mantém proporção */
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Botão hamburguer (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.2s ease;
}

/* Sessão principal */
main {
    flex: 1;
}

.hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.hero-inner {
    max-width: 1124px;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 52rem;
    /* margin: 0 auto; */
}

/* Rodapé */
footer {
    background-color: #111827;
    color: #e5e7eb;
    padding: 0.75rem 1.5rem;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-logo {
    font-weight: 600;
}

/* MENU MOBILE OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.97);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 100;
    padding: 2rem;
}

.mobile-menu-overlay.open {
    display: flex;
}

.mobile-menu-overlay a {
    color: #f9fafb;
    font-size: 1.2rem;
}

/* Botão de fechar (X) */
.close-menu {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.link_parceiros {
    color: #0006f8;
    text-decoration: underline;
}

/* PROFISSIONAIS */

.cards-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2 colunas no desktop */
    gap: 1.5rem;
    margin-top: 2rem;
}
    
.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    text-align: left;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.card .pronomes {
    font-size: 0.750rem;
    color: #424750;
    margin-bottom: 0.35rem;
}

.card .area {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card .links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.card .links a {
    color: #111827;
    text-decoration: underline;
    font-size: 0.90rem;
}

.card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.card .tag {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: #E2E2E2;    
    color: #212121;          
    border: 1px solid #e9d5ff;
}

.card .bio {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #374151;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }    
   .cards-container {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
   }
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: #ffffff;
  width: 100%;
  padding: 1.5rem 1.75rem 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  position: relative;
  text-align: left;
}

.modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.modal p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #4b5563;
}

.modal label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.modal input[type="text"],
.modal input[type="email"] {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 5px;
  border: 1px solid #d1d5db;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.modal-submit {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: none;
  background: #6b21a8;
  color: #f9fafb;
  font-size: 0.95rem;
  cursor: pointer;
}

.modal-submit:hover {
  opacity: 0.95;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

/* MODAL DE EMAIL */

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  border-radius: 4px;
  text-align: center;
}

.modal-content input {
  display: block;
  margin: 10px auto;
  width: 90%;
  padding: 8px;
}

.modal-content #send {
  padding: 8px 16px;
  background-color: #00d91f;
  border: none;
}

.modal-content #cancelar {
  background-color: #00d92100;
  border: none;
  cursor: pointer;
}
