/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #EED9D2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  color: var(--marrom);
}

.atelie-card {
  max-width: 430px;
  width: 100%;
  margin: 1rem auto;
  background-color: var(--creme);
  border-radius: 40px 40px 30px 30px;
  box-shadow: 0 20px 35px -8px rgba(92, 58, 46, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 5;
  padding: 0 20px 20px 20px;
}

/* ===== FUNDOS DECORATIVOS ===== */
.bg-blob, .sparkles, .floating-hearts {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.25;
  z-index: 1;
}
.blob-1 { background: var(--rosa); top: -100px; left: -100px; }
.blob-2 { background: var(--mint); bottom: -80px; right: -80px; }
.blob-3 { background: var(--dourado); top: 30%; right: -120px; width: 200px; height: 200px; opacity: 0.2; }
.blob-4 { background: var(--rosa); bottom: 20%; left: -90px; width: 200px; height: 200px; opacity: 0.2; }

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dourado);
  box-shadow: 0 0 8px #F9E2B7;
  opacity: 0.7;
  z-index: 2;
}
.sparkle:nth-child(1) { top: 12%; left: 8%; background: var(--rosa); }
.sparkle:nth-child(2) { top: 20%; right: 15%; background: var(--mint); width: 10px; height: 10px; }
.sparkle:nth-child(3) { bottom: 35%; left: 20%; background: var(--dourado); width: 8px; height: 8px; }
.sparkle:nth-child(4) { top: 45%; right: 25%; background: #FFF; box-shadow: 0 0 10px var(--dourado); width: 7px; height: 7px; }
.sparkle:nth-child(5) { bottom: 15%; right: 10%; background: var(--mint); }
.sparkle:nth-child(6) { top: 70%; left: 15%; background: var(--rosa); width: 9px; height: 9px; }
.sparkle:nth-child(7) { bottom: 5%; left: 30%; background: var(--dourado); }
.sparkle:nth-child(8) { top: 85%; right: 30%; background: var(--mint); width: 5px; height: 5px; }
.sparkle:nth-child(9) { top: 8%; right: 40%; background: var(--rosa); }
.sparkle:nth-child(10) { bottom: 45%; left: 5%; background: var(--dourado); width: 11px; height: 11px; opacity: 0.5; }

.floating-hearts span {
  position: absolute;
  bottom: -20px;
  font-size: 1.4rem;
  opacity: 0.4;
  animation: floatUp 8s infinite ease-in-out;
  z-index: 2;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  100% { transform: translateY(-120vh) rotate(20deg); opacity: 0; }
}
.heart1 { left: 5%; animation-duration: 7s; animation-delay: 0s; }
.heart2 { left: 20%; animation-duration: 9s; animation-delay: 2s; }
.heart3 { left: 40%; animation-duration: 6s; animation-delay: 1s; }
.heart4 { left: 60%; animation-duration: 10s; animation-delay: 0.5s; }
.heart5 { left: 75%; animation-duration: 8s; animation-delay: 3s; }
.heart6 { left: 90%; animation-duration: 7.5s; animation-delay: 1.2s; }
.heart7 { left: 15%; animation-duration: 11s; animation-delay: 4s; }

.gradient-stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--rosa), var(--mint), var(--dourado), var(--rosa), var(--mint));
  background-size: 200% 100%;
  animation: gradientMove 8s ease infinite;
  width: 100%;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== AVATAR ===== */
.avatar-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0 8px;
}
.ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(145deg, var(--rosa), var(--mint), var(--dourado), var(--rosa));
  background-size: 300% 300%;
  animation: spin 6s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes spin {
  0% { transform: rotate(0deg); background-position: 0% 50%; }
  100% { transform: rotate(360deg); background-position: 100% 50%; }
}
.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--creme);
  background: #FFE5E5;
  display: block;
}

/* ===== MARCA ===== */
.brand-name {
  text-align: center;
  line-height: 1.1;
  margin: 8px 0 6px;
}
.renata-script {
  font-family: 'Dancing Script', cursive;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--marrom);
  display: block;
  margin-bottom: -10px;
}
.cardozo-rose {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: var(--rosa);
  font-weight: 400;
  letter-spacing: 1px;
  margin-right: 8px;
}
.ateliê-mint {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(126, 216, 200, 0.1);
  display: inline-block;
  padding-left: 8px;
}
.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--marrom);
  text-align: center;
  margin: 10px 0 20px;
  background: rgba(255,245,248,0.7);
  padding: 6px 12px;
  border-radius: 50px;
  backdrop-filter: blur(2px);
}

/* ===== REDES SOCIAIS ===== */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.social-pill {
  background: white;
  border-radius: 100px;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--marrom);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.02);
  transition: 0.2s;
  border: 1px solid rgba(0,0,0,0.02);
}
.social-pill:hover { transform: scale(0.98); background: #f9f1f5; }
.social-icon {
  font-size: 1.8rem;
  min-width: 40px;
  text-align: center;
}
.social-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.3;
}
.social-name { font-weight: 700; }
.social-sub { font-size: 0.7rem; opacity: 0.7; }

.whatsapp { background-color: #e5f7ed; } .whatsapp .social-name { color: #075E54; }
.instagram { background: linear-gradient(145deg, #f9e3e8, #f9e3e8, #fff0f5); border-color: #f2c2cf; } .instagram .social-name { color: #C13584; }
.email { background-color: #fae5ee; } .email .social-name { color: var(--rosa); }
.catalogo { background-color: #dcf5f0; } .catalogo .social-name { color: #2a9d8f; }

/* ===== CTAs ===== */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 18px;
}
.cta-btn {
  display: block;
  width: 100%;
  padding: 16px 10px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  border: none;
  transition: 0.2s;
  box-shadow: 0 8px 12px rgba(0,0,0,0.05);
  cursor: pointer;
}
.cta-rosa {
  background-color: var(--rosa);
  color: var(--creme);
}
.cta-mint {
  background-color: var(--mint);
  color: var(--marrom);
}
.cta-btn:hover { filter: brightness(0.96); transform: translateY(-2px); }

/* ===== CATEGORIAS ===== */
.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 20px;
}
.category-pill {
  background: var(--creme);
  border: 1.5px solid var(--mint);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--marrom);
  box-shadow: 0 2px 5px #f0dde2;
}

/* ===== PRODUTOS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 30px;
}
.product-card {
  background: white;
  border-radius: 24px;
  padding: 16px 6px 10px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(224,120,152,0.08);
  border: 1px solid #ffe7ed;
}
.product-emoji {
  font-size: 2.5rem;
  margin-bottom: 6px;
}
.product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--marrom);
}

/* ===== DEPOIMENTO ===== */
.testimonial {
  background: #fef7fa;
  border-radius: 40px 40px 40px 8px;
  padding: 28px 25px;
  margin: 20px 0 20px;
  position: relative;
  border: 1px solid #ffdae6;
  box-shadow: 0 10px 18px -8px rgba(92,58,46,0.1);
}
.quote-bg {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 8rem;
  font-family: 'Playfair Display', serif;
  color: var(--mint);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.testimonial p {
  position: relative;
  z-index: 2;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--marrom);
}
.testimonial-author {
  margin-top: 12px;
  font-weight: 700;
  color: var(--rosa);
  text-align: right;
}

/* ===== RODAPÉ ===== */
.footer {
  text-align: center;
  margin-top: 25px;
  padding: 16px 0 5px;
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  border-top: 2px dashed #fbd2df;
}
.footer-tagline {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--mint);
  margin: 8px 0;
}
.hearts-footer span {
  font-size: 1.4rem;
  margin: 0 3px;
  opacity: 0.6;
}

a, a:visited { text-decoration: none; }

/* ===== ESTILOS EXCLUSIVOS DO PEDIDO ===== */
.back-link {
  display: inline-block;
  margin: 20px 0 10px;
  font-size: 1.2rem;
  color: var(--rosa);
  text-decoration: none;
  font-weight: 600;
}
.back-link:hover { text-decoration: underline; }

.form-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  color: var(--marrom);
  text-align: center;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 20px; }
label {
  font-weight: 600;
  color: var(--marrom);
  display: block;
  margin-bottom: 6px;
}
input, select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #f0c4d4;
  border-radius: 40px;
  font-size: 1rem;
  background: white;
  outline: none;
  font-family: 'Nunito', sans-serif;
}
input:focus { border-color: var(--rosa); }

.radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.personagens-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.personagem-pill {
  background: #f9eaf0;
  border: 2px solid transparent;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  color: var(--marrom);
  font-weight: 600;
}
.personagem-pill.selected {
  background: var(--rosa);
  color: white;
  border-color: #b95b7a;
}
.outro-container {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.outro-container input { flex: 1; }

.item-lista {
  background: white;
  border-radius: 30px;
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ffdbe9;
}
.item-checkbox {
  width: 24px;
  height: 24px;
  accent-color: var(--rosa);
}
.item-info { flex: 1; font-weight: 600; }
.quantidade-field {
  width: 80px;
  padding: 8px;
  border-radius: 30px;
  border: 1px solid var(--mint);
  text-align: center;
  font-weight: bold;
  display: none;
}
.item-checkbox:checked ~ .quantidade-field { display: inline-block; }

.btn-enviar {
  background-color: var(--mint);
  border: none;
  color: var(--marrom);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 16px;
  border-radius: 60px;
  width: 100%;
  margin: 20px 0 10px;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.btn-enviar:hover { filter: brightness(0.96); transform: scale(0.99); }

.footer-pedido {
  text-align: center;
  font-size: 0.9rem;
  color: var(--dourado);
  margin: 16px 0;
}