/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* ================= CORES BASE ================= */
body {
  background: linear-gradient(135deg, #5a1a2a 0%, #7d2e40 25%, #9d5a6a 50%, #c9a68a 75%, #f3e9dc 100%);
  background-attachment: fixed;
  color: #1c1c1c;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(125, 46, 64, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(157, 90, 106, 0.2) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

html, body {
  scroll-behavior: smooth;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(135deg, #3e121c 0%, #591f2a 50%, #7d2e40 100%);
  color: #fff;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(243, 233, 220, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* ================= MENU ================= */
.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  position: relative;
  z-index: 10;
}

.menu li a {
  color: #f3e9dc;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
}

.menu li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e2cdb0, #f3e9dc);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menu li a:hover::before {
  width: 80%;
}

.menu li a:hover {
  color: #e2cdb0;
  background: rgba(255, 255, 255, 0.05);
}

/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
}

.child {
  display: none;
  position: absolute;
  background: linear-gradient(135deg, rgba(89, 31, 42, 0.98) 0%, rgba(125, 46, 64, 0.98) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  list-style: none;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(243, 233, 220, 0.1);
  min-width: 180px;
}

.dropdown:hover .child {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.child li a {
  display: block;
  padding: 10px 16px;
  color: #f3e9dc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.child li a:hover {
  background: rgba(243, 233, 220, 0.15);
  transform: translateX(5px);
}

/* ================= SEÇÃO CONTATO ================= */
.contato {
  flex: 1;
  max-width: 800px;
  margin: 120px auto 80px auto;
  padding: 60px 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 245, 239, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: all 0.4s ease;
  border: 0px solid rgba(243, 233, 220, 0.4);
  position: relative;
  z-index: 1;
}

.contato:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contato::before {
  content: "";
  position: absolute;
  top: 0.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 96%; /* ajuste aqui o tamanho da linha */
  height: 5px;
  background: linear-gradient(90deg, #591f2a, #b46c77, #591f2a);
  border-radius: 25px 15px 0 0; /* mesmo raio da caixa principal */
}

.contato h2 {
  color: #591f2a;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 20px;
}

.contato h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #b46c77, transparent);
  border-radius: 2px;
}

.contato > p {
  color: #3e121c;
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0.9;
}

.contato form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 35px;
}

.contato form input,
.contato form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(226, 205, 176, 0.4);
  border-radius: 12px;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #fdfbf7 0%, #f9f5ef 100%);
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
  color: #1c1c1c;
}

.contato form input::placeholder,
.contato form textarea::placeholder {
  color: #999;
  font-style: italic;
}

.contato form input:focus,
.contato form textarea:focus {
  border-color: #b46c77;
  box-shadow: 0 0 15px rgba(180, 108, 119, 0.3);
  outline: none;
  background: #ffffff;
  transform: translateY(-2px);
}

.contato form textarea {
  resize: vertical;
  min-height: 180px;
  grid-column: 1 / -1;
  line-height: 1.6;
}

/* Labels flutuantes (opcional) */
.form-group {
  position: relative;
  grid-column: span 1;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: #999;
  font-size: 1.05rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #fdfbf7 0%, #f9f5ef 100%);
  padding: 0 8px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -12px;
  left: 15px;
  font-size: 0.85rem;
  color: #b46c77;
  font-weight: 600;
}

.contato button {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #591f2a 0%, #7d2e40 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 18px 0;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(89, 31, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.contato button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.contato button:hover::before {
  width: 300px;
  height: 300px;
}

.contato button:hover {
  background: linear-gradient(135deg, #3e121c 0%, #591f2a 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(89, 31, 42, 0.5);
}

.contato button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(89, 31, 42, 0.4);
}

/* Informações adicionais */
.contato-info {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid rgba(226, 205, 176, 0.3);
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3e121c;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.info-item i {
  font-size: 1.5rem;
  color: #b46c77;
}

.info-item:hover {
  transform: translateY(-3px);
  color: #591f2a;
}

/* ================= BOTÃO WHATSAPP ================= */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-btn img {
  width: 45px;
  height: 45px;
  display: block;
}

.whatsapp-btn:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(135deg, #3e121c 0%, #591f2a 50%, #7d2e40 100%);
  color: #f3e9dc;
  padding: 50px 20px 20px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  margin-top: auto;
  width: 100%;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(243, 233, 220, 0.15);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-column {
  text-align: left;
  min-width: 200px;
}

.footer-column h6 {
  font-size: 1.1em;
  font-weight: bold;
  color: #e2cdb0;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column a {
  color: #f3e9dc;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95em;
  transition: all 0.3s ease;
  padding-left: 0;
}

.footer-column a:hover {
  color: #e2cdb0;
  padding-left: 8px;
}

.footer-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 233, 220, 0.3), transparent);
  margin: 25px auto;
  width: 80%;
}

.footer-text {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 0.95em;
  line-height: 1.6;
  color: rgba(243, 233, 220, 0.9);
}

.footer-social {
  margin-bottom: 25px;
}

.footer-social a {
  color: #f3e9dc;
  margin: 0 10px;
  font-size: 1.5em;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-social a:hover {
  transform: scale(1.2) rotate(5deg);
  color: #e2cdb0;
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 0;
  font-size: 0.9em;
  color: rgba(243, 233, 220, 0.85);
  letter-spacing: 0.5px;
}

/* ================= MENU MOBILE ================= */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #f3e9dc;
  right: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(89, 31, 42, 0.98) 0%, rgba(125, 46, 64, 0.98) 100%);
    backdrop-filter: blur(15px);
    position: absolute;
    top: 70px;
    right: -250px;
    width: 250px;
    height: 30vh;
    transition: right 0.3s ease;
    border-radius: 0 0 0 20px;
    text-align: center;
    padding-top: 50px;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(243, 233, 220, 0.1);
  }

  .menu.show {
    display: flex;
    right: 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* ================= RESPONSIVIDADE ================= */
@media screen and (max-width: 768px) {
  .contato {
    margin: 80px 20px 60px 20px;
    padding: 40px 30px;
    border-radius: 20px;
  }

  .contato h2 {
    font-size: 2rem;
  }

  .contato > p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .contato form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-group {
    grid-column: 1;
  }

  .contato-info {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .contato {
    margin: 60px 15px 40px 15px;
    padding: 30px 20px;
  }

  .contato h2 {
    font-size: 1.8rem;
  }

  .contato form input,
  .contato form textarea {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .contato button {
    padding: 16px 0;
    font-size: 1.05rem;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
  }

  .whatsapp-btn img {
    width: 40px;
    height: 40px;
  }
}