@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Paleta Light Lilac (Clean) */
  --bg-logo: #ffffff; /* Fundo que combina com o logo */
  --bg-color: #faf7ff; /* Fundo lilás extremamente claro */
  --surface-color: rgba(255, 255, 255, 0.85); /* Cards brancos */
  
  --primary: #8b5cf6; /* Roxo principal suave */
  --primary-hover: #7c3aed;
  --secondary: #a78bfa; /* Lilás suave */
  
  --text-main: #2e1065; /* Roxo muito escuro para texto (alta legibilidade) */
  --text-muted: #6b5c82; /* Cinza arroxeado para texto secundário */
  
  --border-glow: rgba(139, 92, 246, 0.15); /* Borda suave */
  --shadow-soft: 0 10px 30px rgba(139, 92, 246, 0.05); /* Sombra clean */
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(to bottom, #faf9f5 0px, #faf9f5 250px, transparent 800px),
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 10% 40%, rgba(167, 139, 250, 0.02) 0%, transparent 40%);
  background-attachment: scroll, fixed, fixed;
  background-repeat: no-repeat;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 250px;
  background-image: url('logo.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  /* Isso mescla a textura/fundo da imagem com a cor da página */
  mix-blend-mode: darken; 
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Sobre Mim */
.about-section {
  margin-bottom: 20px;
}

.about-card {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  padding: 20px 15px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin-bottom: 10px;
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}

.about-card h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.social-links-about {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links-about a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 10px 15px;
  color: var(--secondary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border: 1.5px solid var(--primary);
  border-radius: 25px;
  color: var(--primary);
  transition: var(--transition);
}

.social-links-about a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(139, 92, 246, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(139, 92, 246, 0.15);
}

.cta-main {
  width: 100%;
  font-size: 1.1rem;
  padding: 16px 20px;
  animation: fadeInUp 1.2s ease-out;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services / Prices Section */
.services-section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-glow), transparent);
}

/* Estilo Card Clean (Side-by-Side) */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin-bottom: 10px;
}

.service-photo-container {
  flex: 1;
  display: flex;
  min-height: 250px;
}

.service-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
}
.carousel-container img.service-photo {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}
.carousel-container img.service-photo.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.service-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: rgba(139, 92, 246, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-direction: column;
  gap: 10px;
}

.service-content {
  flex: 1;
  background: #fff;
  border-left: 8px solid #9A7C9F;
  padding: 30px 25px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-content {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
}

.service-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  gap: 2px;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
}

.service-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

@media (max-width: 650px) {
  .service-card {
    flex-direction: column;
  }
  .service-content {
    border-left: none;
    border-top: 8px solid #9A7C9F;
  }
}

/* Manutenção interna do card */
.service-maintenance {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px dashed rgba(139, 92, 246, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.maintenance-header {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: normal;
}

.maintenance-options {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.maintenance-opt {
  flex: 1;
  min-width: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(139, 92, 246, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.06);
}

.m-days {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.m-price {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--text-muted);
}

.service-price-box {
  margin-top: 15px;
}

.service-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #9A7C9F;
}

/* Pagamentos */
.payment-methods {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.payment-badge {
  background: var(--surface-color);
  border: 1px solid var(--border-glow);
  padding: 10px 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 16, 101, 0.4);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(46, 16, 101, 0.15);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Cormorant Garamond', serif;
}

.modal p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-close {
  margin-top: 15px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Admin Specific */
.admin-login {
  max-width: 400px;
  margin: 100px auto;
  background: var(--surface-color);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-soft);
}

.admin-input {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Admin Gallery */
.admin-gallery-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
}
.admin-gallery-item {
  position: relative;
  min-width: 80px;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.admin-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-gallery-item .btn-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.admin-gallery-item .btn-remove:hover {
  background: #ff6b81;
}

.admin-dashboard {
  display: none;
  margin-top: 50px;
}

.admin-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
}

.admin-dashboard.active {
  display: block;
}

.admin-form-group {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(139, 92, 246, 0.03);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.admin-form-group input {
  width: 100px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--border-glow);
  background: #fff;
  color: var(--text-main);
  text-align: right;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2ecc71;
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer / Admin Link */
footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  position: relative;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.2;
  font-size: 0.75rem;
  transition: opacity 0.3s ease;
}

.admin-link:hover {
  opacity: 1;
  color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}
