/* ===== 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 (SÓ ÍCONES) ===== */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 25px 0 30px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(92, 58, 46, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  fill: currentColor; /* Puxa a cor definida abaixo */
}

.icon-circle:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(92, 58, 46, 0.15);
}

/* Cores específicas para cada ícone */
.icon-circle.whatsapp { color: #25D366; } /* Verde do WhatsApp */
.icon-circle.instagram { color: #E1306C; } /* Rosa/Vermelho do Instagram */
.icon-circle.email { color: var(--rosa); } /* Usa o rosa do seu ateliê */
.icon-circle.catalogo { color: var(--mint); } /* Usa o verde mint do seu ateliê */

/* ===== CTAs ===== */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 15px 0 30px;
}

.cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Botão Principal Rosa */
.cta-rosa {
  background-color: var(--rosa);
  /* Efeito de luz sutil no topo (volume) */
  background-image: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.02) 100%);
  color: white;
  /* Sombra colorida na cor rosa */
  box-shadow: 0 8px 20px rgba(224, 120, 152, 0.4);
  border: 1px solid rgba(255,255,255,0.2);
  /* Animação de chamar atenção */
  animation: pulse-soft 3s infinite ease-in-out;
}

/* Botão Secundário Mint */
.cta-mint {
  background-color: var(--mint);
  /* Efeito de luz sutil no topo (volume) */
  background-image: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.02) 100%);
  color: var(--marrom);
  /* Sombra colorida na cor mint */
  box-shadow: 0 8px 20px rgba(126, 216, 200, 0.4);
  border: 1px solid rgba(255,255,255,0.4);
}

/* Comportamento ao passar o dedo/mouse */
.cta-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.cta-rosa:hover {
  animation: none; /* Para de pulsar quando vai clicar */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(224, 120, 152, 0.5);
}

.cta-mint:hover {
  box-shadow: 0 12px 25px rgba(126, 216, 200, 0.5);
}

/* Animação que faz o botão "respirar" */
@keyframes pulse-soft {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ===== 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: 14px;
  margin: 25px 0 35px;
}

.product-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 18px 8px 14px;
  text-align: center;
  /* Sombra rosa bem suave e difusa */
  box-shadow: 0 8px 16px rgba(224, 120, 152, 0.06);
  border: 1px solid rgba(255, 231, 237, 0.6);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Efeito de flutuar ao passar o mouse/dedo */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 24px rgba(224, 120, 152, 0.15);
  border-color: #ffdae6;
}

.product-emoji {
  font-size: 2.6rem;
  margin-bottom: 8px;
  line-height: 1;
  /* Esse truque dá um efeito 3D flutuante ao emoji de texto */
  filter: drop-shadow(0 5px 6px rgba(92, 58, 46, 0.15));
  transition: transform 0.3s ease;
}

/* O emoji dá uma leve animada e cresce no hover */
.product-card:hover .product-emoji {
  transform: scale(1.12) rotate(4deg);
}

.product-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--marrom);
  line-height: 1.2;
}

/* ===== DEPOIMENTO ===== */
.testimonial {
  /* Fundo com degradê super suave do branco pro rosa claro */
  background: linear-gradient(135deg, #ffffff 0%, #fef7fa 100%);
  border-radius: 30px 30px 30px 10px; /* Formato de balão de fala moderno */
  padding: 32px 28px 24px;
  margin: 35px 0 25px;
  position: relative;
  border: 1px solid rgba(255, 218, 230, 0.5);
  box-shadow: 0 12px 28px rgba(224, 120, 152, 0.08);
  transition: transform 0.3s ease;
}

/* O balão levanta levemente se a pessoa passar o mouse */
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(224, 120, 152, 0.12);
}

.quote-bg {
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  font-family: 'Playfair Display', serif;
  color: var(--mint);
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.02);
}

.testimonial p {
  position: relative;
  z-index: 2;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--marrom);
  text-align: left;
}

.testimonial-author {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rosa);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Tracinho charmoso na cor mint antes do nome do cliente */
.testimonial-author::before {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--mint);
  border-radius: 2px;
  opacity: 0.7;
}

/* ===== 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-flex;
  align-items: center;
  gap: 6px;
  margin: 20px 0 15px;
  font-size: 1.1rem;
  color: var(--rosa);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.back-link:hover { 
  transform: translateX(-4px); /* A setinha dá uma leve animada para o lado */
}

.form-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2.8rem;
  color: var(--marrom);
  text-align: center;
  margin-bottom: 24px;
  text-shadow: 1px 1px 2px rgba(224, 120, 152, 0.1);
}

.form-group { margin-bottom: 24px; }
label {
  font-weight: 700;
  color: var(--marrom);
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

/* Campos de texto macios e com "brilho" ao focar */
input[type="text"], input[type="number"], select {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid rgba(224, 120, 152, 0.3);
  border-radius: 40px;
  font-size: 1rem;
  background: #ffffff;
  outline: none;
  font-family: 'Nunito', sans-serif;
  color: var(--marrom);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.01), 0 4px 10px rgba(224, 120, 152, 0.03);
  transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="number"]:focus, select:focus { 
  border-color: var(--rosa); 
  box-shadow: 0 0 0 4px rgba(224, 120, 152, 0.15), 0 6px 15px rgba(224, 120, 152, 0.08);
  transform: translateY(-1px);
}

.radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}
.radio-group input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--rosa);
  cursor: pointer;
}

/* Pílulas de seleção de personagem (Flutuantes) */
.personagens-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.personagem-pill {
  background: #ffffff;
  border: 1.5px solid rgba(224, 120, 152, 0.3);
  padding: 12px 20px;
  border-radius: 40px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--marrom);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(224, 120, 152, 0.04);
}
.personagem-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(224, 120, 152, 0.08);
  border-color: var(--rosa);
}
.personagem-pill.selected {
  background: var(--rosa);
  color: white;
  border-color: var(--rosa);
  box-shadow: 0 8px 18px rgba(224, 120, 152, 0.35); /* Sombra neon rosa */
  transform: scale(1.02);
}

.outro-container {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.outro-container input { flex: 1; }

/* Lista de produtos (Cards interativos) */
.item-lista {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1.5px solid rgba(255, 218, 230, 0.5);
  box-shadow: 0 6px 14px rgba(224, 120, 152, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}
.item-lista:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(224, 120, 152, 0.1);
  border-color: rgba(224, 120, 152, 0.3);
}
.item-checkbox {
  width: 24px;
  height: 24px;
  accent-color: var(--rosa);
  cursor: pointer;
}
.item-info { 
  flex: 1; 
  font-weight: 700; 
  font-size: 1.05rem;
  cursor: pointer; 
}

/* Campo de quantidade escondido até marcar */
.quantidade-field {
  width: 80px !important;
  padding: 10px 14px !important;
  border-radius: 30px !important;
  border: 1.5px solid var(--mint) !important;
  text-align: center;
  font-weight: 700;
  display: none;
  background: #fcfcfc !important;
  box-shadow: none !important;
}
.quantidade-field:focus {
  border-color: var(--mint) !important;
  box-shadow: 0 0 0 4px rgba(126, 216, 200, 0.2) !important;
}
.item-checkbox:checked ~ .quantidade-field { display: inline-block; }

/* Botão final com mesma sombra do botão verde principal */
.btn-enviar {
  background-color: var(--mint);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--marrom);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 18px;
  border-radius: 60px;
  width: 100%;
  margin: 30px 0 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 22px rgba(126, 216, 200, 0.4);
}
.btn-enviar:hover { 
  transform: translateY(-3px) scale(1.01); 
  box-shadow: 0 12px 28px rgba(126, 216, 200, 0.5);
}

.footer-pedido {
  text-align: center;
  font-size: 0.95rem;
  color: var(--dourado);
  margin: 20px 0 10px;
  font-weight: 600;
}