/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f0f5;
  color: #722f37;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background-color: #FEEDDF;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  max-height: 70px;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #C19898;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #ffc4c7;
}

/* Esconde o menu desktop em dispositivos móveis */
@media (max-width: 768px) {
  .nav-menu ul {
    display: none !important; /* Força o ocultamento do menu desktop */
  }

  /* Exibe um menu mobile, se existir */
  .menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
  }
}


.header-buttons .btn {
  text-decoration: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

.btn-whatsapp {
  background-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #1da851;
}

.btn-login {
  background-color: #c55c63;
  margin-left: 1rem;
}

.btn-login:hover {
  background-color: #a94c52;
}

.header-divider {
  height: 2px;
  background-color: #ffc4c7;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-content {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #722f37;
  margin-bottom: 1rem;
  position: relative;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .btn-primary {
  display: inline-block;
  background-color: #722f37;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.hero .btn-primary:hover {
  background-color: #c55c63;
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
  text-align: center;
}

.hero-main-image {
  max-width: 90%;
  height: auto;
  position: relative;
  z-index: 2;
}

/* Decorações */
.decorator {
  position: absolute;
  z-index: 1;
}

/* Quadrados e triângulos */
.decorator-quadrado-01 {
  width: 50px;
  height: auto;
  top: 20%;
  left: 10%;
}

.decorator-quadrado-02 {
  width: 50px;
  height: auto;
  top: 50%;
  right: 10%;
}

.decorator-quadrado-03 {
  width: 50px;
  height: auto;
  bottom: 20%;
  left: 15%;
}

.decorator-quadrado-04 {
  width: 50px;
  height: auto;
  bottom: 25%;
  right: 15%;
}

.decorator-triangulo-01 {
  width: 50px;
  height: auto;
  top: 10%;
  right: 20%;
}

.decorator-triangulo-02 {
  width: 50px;
  height: auto;
  bottom: 10%;
  left: 20%;
}

/* Arabesco no canto esquerdo */
.arabesco-left {
  position: fixed;
  top: 120px;
  left: 0px;
  max-width: 250px;
  z-index: 1;
}

/* Seção Categorias */
.category-selection {
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
}

.category-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background-color: #FDEEE9;
  border: 2px solid #C55C63;
  border-radius: 10px;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card span {
  font-size: 3rem;
  color: #722f37;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1.25rem;
  font-weight: bold;
  color: #722f37;
}

/* Formulários */
.hidden {
  display: none !important; /* Certifica que elementos com .hidden sempre serão escondidos */
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%); /* Centraliza o formulário */
  width: 90%; /* Ajuste da largura */
  max-width: 600px; /* Limita a largura máxima */
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10; /* Para garantir que fica acima de outros elementos */
}

.form-container h2 {
  font-size: 2.2rem; /* Tamanho maior para o título */
  color: #722f37;
  margin-bottom: 2rem; /* Maior espaçamento abaixo do título */
  text-align: center;
}

/* Campos do formulário */
form {
  width: 100%; /* O formulário ocupa toda a largura disponível */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Espaçamento entre os campos */
}

form label {
  font-size: 1.2rem; /* Tamanho maior para o texto */
  color: #722f37;
}

form input[type="text"],
form input[type="date"],
form input[type="number"] {
  width: 100%; /* Campos ocupam toda a largura disponível */
  padding: 1rem; /* Maior espaçamento interno nos campos */
  font-size: 1.2rem; /* Tamanho maior do texto nos campos */
  border: 1px solid #C55C63;
  border-radius: 5px;
  background-color: #fdfdfd;
}

/* Botões */
form button {
  padding: 1rem 2rem; /* Aumenta o tamanho dos botões */
  font-size: 1.2rem; /* Texto maior nos botões */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #c55c63;
}

form .btn-secondary {
  background-color: #C19898;
}

form .btn-secondary:hover {
  background-color: #A97575;
}

/* Centralização dos botões */
.form-buttons {
  display: flex;
  justify-content: center; /* Centraliza os botões */
  gap: 1rem; /* Espaçamento entre os botões */
}

/* Responsividade para dispositivos menores */
@media (max-width: 768px) {
  form {
    gap: 1rem; /* Ajusta o espaçamento para telas menores */
  }

  form button {
    width: 100%; /* Botões ocupam toda a largura em telas pequenas */
  }
}


/* Footer */
.footer {
  background-color: #722f37;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
  margin-top: auto;
}

.footer-content p {
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-main-image {
    margin-top: 2rem;
    max-width: 100%;
  }

  .category-cards {
    flex-direction: column;
    align-items: center;
  }

  .form-fields {
    max-width: 90%;
  }

  .arabesco-left {
    display: none;
  }
}
/* Estilo do Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.popup-content h2 {
    text-align: center;
    color: #722f37;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #722f37;
    cursor: pointer;
}

.popup-form .form-group {
    margin-bottom: 1rem;
}

.popup-form .form-group label {
    display: block;
    font-size: 1rem;
    color: #722f37;
    margin-bottom: 0.5rem;
}

.popup-form .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #C55C63;
    border-radius: 5px;
    font-size: 1rem;
}

.popup-form .btn-primary {
    width: 100%;
    padding: 0.75rem;
    background-color: #722f37;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popup-form .btn-primary:hover {
    background-color: #C55C63;
}

.signup-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.signup-link a {
    color: #C55C63;
    text-decoration: none;
    font-weight: bold;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Ajuste para alinhar "Bem-vindo" no desktop */
.user-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px; /* Espaço entre "Bem-vindo" e o botão */
}

/* Tornar o menu dropdown clicável no mobile */
.user-info .dropdown-button {
  background-color: #C55C63;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s ease;
}

.user-info .dropdown-button:hover {
  background-color: #a0454d;
}

.user-info .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  width: 200px;
}

.user-info .dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  transition: background-color 0.3s ease;
}

.user-info .dropdown-menu a:hover {
  background-color: #f4f4f4;
  color: #333;
}

/* Funcionalidade de clique para abrir no mobile */
.user-info.active .dropdown-menu {
  display: block;
}

/* Mantém o hover no desktop */
@media (min-width: 768px) {
  .user-info:hover .dropdown-menu {
    display: block;
  }
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px; /* Espaço entre os elementos no cabeçalho */
  }

  .logo {
    margin-bottom: 10px;
    max-width: 120px; /* Ajuste do tamanho do logo para telas menores */
  }

  .nav-menu ul {
    display: none; /* Esconde o menu desktop no mobile */
  }

  .nav-menu.mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-menu.mobile li {
    margin: 0;
  }

  .nav-menu.mobile li a {
    font-size: 14px;
    padding: 5px 10px;
  }

  .header-buttons {
    display: flex;
    flex-direction: row; /* Organiza os botões na mesma linha */
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente */
    gap: 10px; /* Espaçamento entre os botões */
    flex-wrap: wrap; /* Permite quebra de linha caso necessário */
  }

  .btn {
    font-size: 14px;
    padding: 10px 15px; /* Ajuste do tamanho do botão */
  }

  .user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .btn-primary {
    font-size: 14px;
    padding: 10px 20px;
  }

  .hero-image-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .hero-main-image {
    width: 80%;
    height: auto;
  }

  .footer-content {
    text-align: center;
  }
}




