/* Armarinho Flor do Laço - Identidade Visual & Animações Modernas */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #E85D75;
  --color-primary-dark: #A82D4A;
  --color-wine: #4A1624;
  --color-cream: #FFFDF9;
  --color-warm-bg: #FCF8F5;
  --color-gold: #D49B4B;
  --color-accent-sage: #52796F;
}

html, body {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--color-warm-bg);
  color: #2D2326;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent;
}

/* Tipografia Editorial */
.font-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-handwriting {
  font-family: 'Caveat', cursive;
}

/* Glassmorphism Refinado */
.glass-nav {
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 93, 117, 0.12);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 93, 117, 0.12);
}

.glass-card-dark {
  background: rgba(74, 22, 36, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #F8F1EB;
}

::-webkit-scrollbar-thumb {
  background: #E88295;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D45069;
}

/* Animações e Efeitos */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-1deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@keyframes pulseRose {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 93, 117, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(232, 93, 117, 0);
  }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 6s ease-in-out infinite;
}

.pulse-whatsapp {
  animation: pulseGlow 2.4s infinite;
}

.pulse-rose-badge {
  animation: pulseRose 2s infinite;
}

/* Background patterns florais e de costura sutis */
.bg-craft-dots {
  background-image: radial-gradient(rgba(232, 93, 117, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-craft-grid {
  background-size: 30px 30px;
  background-image: 
    linear-gradient(to right, rgba(232, 93, 117, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 93, 117, 0.04) 1px, transparent 1px);
}

/* Gradient accents */
.text-gradient-rose {
  background: linear-gradient(135deg, #A82D4A 0%, #E85D75 60%, #D49B4B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-ribbon {
  background: linear-gradient(135deg, #E85D75 0%, #D64560 50%, #9E2A4B 100%);
}

.bg-gradient-warm-soft {
  background: linear-gradient(180deg, #FFF9F6 0%, #FFF3F0 100%);
}

/* Hover Zoom & Shadow transitions */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(168, 45, 74, 0.1), 0 8px 10px -6px rgba(168, 45, 74, 0.05);
}

/* Efeito de fita decorativa costurada */
.stitched-border {
  border: 2px dashed rgba(232, 93, 117, 0.35);
  border-radius: 1rem;
}

/* Toast Notification */
#toast {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
}

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

/* Accordion Smooth Height Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.accordion-open .accordion-content {
  max-height: 500px;
}

.accordion-open .accordion-icon {
  transform: rotate(180deg);
}

/* Ocultar scrollbar mantendo rolagem horizontal suave */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Efeito de toque nativo no celular */
.active-press {
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.active-press:active {
  transform: scale(0.96);
  opacity: 0.9;
}

/* Suporte para entalhe inferior de iPhones modernos */
.safe-bottom {
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

/* Prevenção global de overflow de inputs e flex items */
input, select, textarea, button {
  box-sizing: border-box;
}
input[type="text"], input[type="search"] {
  min-width: 0;
}


