.logo-header {
  height: 140px !important;
  max-width: 320px;
  object-fit: contain;
  margin-right: 24px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 28px;
  box-shadow: 0 4px 24px #e7548040, 0 2px 8px #b39ddb55;
  filter: none;
  transition: box-shadow 0.2s, background 0.2s;
  image-rendering: auto;
}
.logo-header:hover {
  box-shadow: 0 8px 32px #b39ddb55, 0 2px 8px #e7548040;
  background: #faf6ff;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(135deg, #f8e1f4 0%, #e1d8f8 100%);
  color: #3a2d4d;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

header {
  background: linear-gradient(90deg, #e75480 0%, #b39ddb 100%);
  color: #fff;
  padding: 24px 0 12px 0;
  box-shadow: 0 2px 8px rgba(183, 148, 244, 0.08);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}
nav a, .nav-btn {
  color: #fff;
  text-decoration: none;
  margin-left: 38px;
  font-weight: 600;
  font-size: 1.13rem;
  background: none;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, border 0.18s;
  border-radius: 22px;
  outline: none;
  box-shadow: none;
  display: inline-block;
  height: 44px;
  line-height: 44px;
  position: relative;
}
nav a.active, nav a:focus, .nav-btn:focus {
  background: #fff;
  color: #7b1fa2;
  box-shadow: 0 2px 12px #b39ddb33;
  border: 1.5px solid #b39ddb;
}
nav a:hover, .nav-btn:hover {
  color: #e75480;
  background: #fff;
  box-shadow: 0 2px 12px #b39ddb33;
  border: 1.5px solid #b39ddb;
}
.admin-btn.nav-btn {
  background: linear-gradient(90deg, #e75480 0%, #b39ddb 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 22px;
  padding: 0 26px;
  margin-left: 38px;
  box-shadow: 0 2px 8px #b39ddb33;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  height: 44px;
  line-height: 44px;
}
.admin-btn.nav-btn:hover, .admin-btn.nav-btn:focus {
  background: linear-gradient(90deg, #b39ddb 0%, #e75480 100%);
  color: #fff;
  box-shadow: 0 4px 16px #b39ddb33;
}

#hero {
  background: linear-gradient(120deg, #f8bbd0 0%, #ce93d8 100%);
  padding: 48px 0 32px 0;
}
.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.hero-text {
  flex: 1 1 350px;
}
.hero-text h2 {
  font-size: 2.3rem;
  color: #7b1fa2;
  margin-bottom: 12px;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.whatsapp-btn {
  display: inline-block;
  background: linear-gradient(90deg, #e75480 0%, #b39ddb 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(183, 148, 244, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  background: linear-gradient(90deg, #b39ddb 0%, #e75480 100%);
  box-shadow: 0 4px 16px rgba(183, 148, 244, 0.18);
}
.hero-img {
  flex: 0 0 350px;
  text-align: right;
}
.hero-img img {
  width: 700px;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  padding: 10px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: none;
}
.hero-img img:hover {
  box-shadow: none;
}

#sobre, #contato, #blog {
  padding: 48px 0 32px 0;
}
#sobre h2, #contato h2, #blog h2 {
  color: #e75480;
  font-size: 2rem;
  margin-bottom: 16px;
}
.sobre-content, .contato-content, .blog-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(183, 148, 244, 0.10);
  padding: 32px 24px;
}

#contato a.whatsapp-btn {
  margin-top: 12px;
  font-size: 1.05rem;
}

#blog-posts {
  margin-bottom: 32px;
}
.blog-post {
  background: #f8e1f4;
  border-left: 6px solid #e75480;
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 18px 20px;
  box-shadow: 0 1px 6px rgba(183, 148, 244, 0.08);
}
.blog-post h4 {
  margin: 0 0 8px 0;
  color: #7b1fa2;
}
.blog-post p {
  margin: 0 0 6px 0;
}
.blog-post .date {
  font-size: 0.9rem;
  color: #a1887f;
}

#blog-login-area, #blog-admin-area {
  margin-top: 24px;
}
#login-form, #post-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
}
#login-form input, #post-form input, #post-form textarea {
  padding: 10px;
  border: 1px solid #b39ddb;
  border-radius: 6px;
  font-size: 1rem;
}
#post-form textarea {
  min-height: 80px;
  resize: vertical;
}
#login-form button, #post-form button, #logout-btn {
  background: linear-gradient(90deg, #e75480 0%, #b39ddb 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#login-form button:hover, #post-form button:hover, #logout-btn:hover {
  background: linear-gradient(90deg, #b39ddb 0%, #e75480 100%);
}

/* Modal centralizado e estilizado */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(60, 30, 80, 0.25);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: #fff;
  margin: auto;
  padding: 32px 28px 24px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 32px #b39ddb55;
  max-width: 350px;
  width: 100%;
  position: relative;
  animation: modalIn 0.25s cubic-bezier(.4,1.6,.6,1) both;
}
@keyframes modalIn {
  0% { transform: scale(0.8) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #b39ddb;
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #e75480;
}
.mini-modal h3 {
  margin-top: 0;
  color: #7b1fa2;
  font-size: 1.3rem;
  text-align: center;
}

footer {
  background: #b39ddb;
  color: #fff;
  text-align: center;
  padding: 18px 0;
  margin-top: 32px;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 18px 18px 0 0;
}

@media (max-width: 800px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-img {
    text-align: center;
    margin-top: 24px;
  }
  .hero-img img {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .hero-text {
    width: 100% !important;
    margin-bottom: 18px !important;
    padding: 0 2px !important;
  }
  .sobre-content, .contato-content, .blog-content {
    padding: 18px 6px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 8px #b39ddb22 !important;
  }
  #sobre, #contato, #blog {
    padding: 24px 0 18px 0 !important;
  }
  .blog-post {
    max-width: 100% !important;
    margin: 0 0 32px 0 !important;
    border-radius: 12px !important;
    padding: 0 0 18px 0 !important;
    box-shadow: 0 1px 8px #b39ddb22 !important;
  }
  .blog-post img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 220px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px 12px 0 0 !important;
    background: #fff !important;
    display: block !important;
    margin: 0 auto !important;
  }
  .blog-post > div {
    padding: 18px 8px 0 8px !important;
  }
  .blog-comments {
    padding: 10px 6px !important;
    font-size: 0.98rem !important;
  }
  #blog-posts {
    padding: 0 2px !important;
  }
  .container, .blog-content {
    width: 98% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  nav a, .nav-btn, .admin-btn.nav-btn {
    font-size: 1rem !important;
    margin-left: 12px !important;
    padding: 0 8px !important;
    height: 38px !important;
    line-height: 38px !important;
  }
  .logo-header {
    height: 60px !important;
    max-width: 120px !important;
    padding: 8px 10px !important;
  }
  .contato-content > div, .contato-content > .container {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .contato-content > div > div {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .contato-content a.whatsapp-btn {
    font-size: 1rem !important;
    padding: 10px 0 !important;
  }
  .contato-content [style*="font-size:1rem"],
  .contato-content [style*="font-size:1.08rem"] {
    font-size: 0.98rem !important;
  }
  .contato-content [style*="font-size:1.2rem"] {
    font-size: 1.05rem !important;
  }
}
