/* ============================================
   VICTORIA - SITE CONVITE MADRINHA
   Tema: Girassol & Rosa Pastel
   ============================================ */

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sunflower: #F5C518;
  --sunflower-dark: #D4a017;
  --sunflower-light: #FFF3A3;
  --pink: #F9A8C9;
  --pink-light: #FDE8F1;
  --pink-dark: #E88BB0;
  --cream: #FFFBF0;
  --cream-dark: #FFF4D6;
  --green: #7FB069;
  --green-light: #C8E6C9;
  --brown: #8B5E3C;
  --text-dark: #3D2B1F;
  --text-medium: #6B4C3B;
  --text-light: #A0826D;
  --shadow-warm: 0 8px 40px rgba(245, 197, 24, 0.18);
  --shadow-pink: 0 8px 40px rgba(249, 168, 201, 0.25);
  --shadow-card: 0 4px 30px rgba(61, 43, 31, 0.10);
  --radius: 24px;
  --radius-sm: 14px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Quicksand', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  position: relative;
}

/* CANVAS */
#petals-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

#confetti-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* SECTIONS */
.section {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.section-alt {
  background: linear-gradient(160deg, var(--pink-light) 0%, var(--cream) 100%);
}

.section-inner {
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

/* ============================================
   SCROLL REVEAL SYSTEM
   ============================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }
.stagger-5 { transition-delay: 0.45s; }
.stagger-6 { transition-delay: 0.55s; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: linear-gradient(145deg, #FFFBF0 0%, #FFF3A3 40%, #FDE8F1 100%);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,197,24,0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%,-50%) scale(1.2); opacity: 1; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  z-index: 2;
  position: relative;
}

.sunflower-emoji-big {
  font-size: clamp(4rem, 15vw, 7rem);
  animation: floatSun 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(245,197,24,0.4));
  line-height: 1;
}

@keyframes floatSun {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pink-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  text-align: center;
}

.hero-title em {
  font-style: italic;
  color: var(--sunflower-dark);
  background: linear-gradient(90deg, #D4a017, #F5C518, #E8890A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-hint {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.5rem;
}

.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 1rem;
}

.arrow-dot {
  width: 8px;
  height: 8px;
  background: var(--sunflower);
  border-radius: 50%;
  animation: bounceDot 1.4s ease-in-out infinite;
}

.arrow-dot:nth-child(2) { animation-delay: 0.2s; opacity: 0.7; }
.arrow-dot:nth-child(3) { animation-delay: 0.4s; opacity: 0.4; }

@keyframes bounceDot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-dark);
  background: var(--pink-light);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--pink);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--sunflower-dark);
}

.section-text {
  font-size: clamp(0.98rem, 3.5vw, 1.1rem);
  line-height: 1.85;
  color: var(--text-medium);
  font-weight: 400;
}

.section-text strong {
  color: var(--text-dark);
  font-weight: 700;
}

.highlight-text {
  font-size: clamp(1.05rem, 3.8vw, 1.2rem);
  font-weight: 600;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--cream-dark), var(--sunflower-light));
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(245,197,24,0.3);
}

.heart-divider {
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
  animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* ============================================
   QUOTE CARD
   ============================================ */
.card-quote {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--pink-light);
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.quote-mark {
  font-size: 4rem;
  color: var(--sunflower);
  line-height: 0;
  position: absolute;
  font-style: normal;
  font-family: Georgia, serif;
  opacity: 0.6;
}

.quote-mark:first-child { top: 1.5rem; left: 1.2rem; }
.quote-mark.right { bottom: 0.5rem; right: 1.2rem; }

/* ============================================
   SECTION IMAGE
   ============================================ */
.section-image {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-warm), var(--shadow-card);
  border: 4px solid white;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.section-image:hover {
  transform: scale(1.02) rotate(0.5deg);
}

/* ============================================
   MISSION CARDS
   ============================================ */
.mission-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.mission-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 1.3rem 1rem;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--cream-dark);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.mission-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.mission-card p {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.mission-card strong {
  color: var(--text-dark);
}

/* ============================================
   REVEAL SECTION — NOVA TIPOGRAFIA POÉTICA
   ============================================ */
.reveal-section {
  background: linear-gradient(170deg, #FFFDF5 0%, #FEF4F9 40%, #FFF9E8 80%, #FFFDF5 100%);
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: 5rem 1.8rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(245,197,24,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(249,168,201,0.12) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
  pointer-events: none;
}

.reveal-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 20% 25%, rgba(245,197,24,0.25) 100%, transparent),
    radial-gradient(circle 1px at 75% 60%, rgba(249,168,201,0.3) 100%, transparent),
    radial-gradient(circle 2px at 40% 80%, rgba(245,197,24,0.18) 100%, transparent),
    radial-gradient(circle 1px at 85% 20%, rgba(249,168,201,0.22) 100%, transparent);
  pointer-events: none;
}

/* Floating decorative elements */
.reveal-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.rdeco {
  position: absolute;
  animation: driftFloat 5s ease-in-out infinite;
  line-height: 1;
}
.rd1 { font-size: 3.5rem; top: 4%; left: 3%; animation-delay: 0s; opacity: 0.35; }
.rd2 { font-size: 1.4rem; top: 12%; right: 8%; animation-delay: 1s; opacity: 0.5; }
.rd3 { font-size: 2rem; top: 40%; left: 2%; animation-delay: 2s; opacity: 0.3; }
.rd4 { font-size: 2.5rem; bottom: 18%; right: 3%; animation-delay: 0.5s; opacity: 0.35; }
.rd5 { font-size: 2rem; bottom: 8%; left: 12%; animation-delay: 1.8s; opacity: 0.4; }
.rd6 { font-size: 1.2rem; top: 65%; right: 6%; animation-delay: 3s; opacity: 0.45; }

@keyframes driftFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
  33% { transform: translateY(-16px) rotate(4deg) scale(1.05); }
  66% { transform: translateY(8px) rotate(-2deg) scale(0.97); }
}

/* Full inner layout */
.reveal-full-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.2rem;
}

/* "Victória," — handwriting style */
.reveal-callout {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 600;
  color: var(--pink-dark);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* Poetic subtitle line */
.reveal-poem-line {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 4.5vw, 1.55rem);
  color: var(--text-medium);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* Ornamental divider */
.reveal-ornament {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 260px;
}
.orn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,197,24,0.5), transparent);
}
.orn-icon {
  font-size: 1.6rem;
  animation: revealFloat 3s ease-in-out infinite;
}

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

/* THE BIG QUESTION BLOCK */
.reveal-big-question {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.rq-top {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  color: var(--text-medium);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.rq-main {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(4.5rem, 18vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #C8860A 0%, #F5C518 40%, #E8A010 70%, #D4860A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 18px rgba(245,197,24,0.35));
  animation: goldShimmer 3s ease-in-out infinite;
  display: block;
}

@keyframes goldShimmer {
  0%, 100% { filter: drop-shadow(0 4px 18px rgba(245,197,24,0.35)) brightness(1); }
  50% { filter: drop-shadow(0 6px 28px rgba(245,197,24,0.6)) brightness(1.1); }
}

.rq-bottom {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 5.5vw, 2rem);
  color: var(--text-dark);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.rq-bottom em {
  font-style: italic;
  color: var(--pink-dark);
  font-weight: 600;
}

/* Emotional subtitle */
.reveal-emotion {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* Buttons wrapper */
.reveal-buttons-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.reveal-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 340px;
  position: relative;
  min-height: 120px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-yes {
  background: linear-gradient(135deg, #C8860A, #F5C518, #E8A010);
  color: #3D2B1F;
  border: none;
  border-radius: 999px;
  padding: 1.1rem 2.2rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(245,197,24,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-yes-icon { font-size: 1.3rem; font-style: normal; }
.btn-yes-text { flex: 1; }

.btn-yes::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 2.5s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -100%; }
  50%, 100% { left: 140%; }
}

.btn-yes:hover, .btn-yes:focus {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 18px 50px rgba(245,197,24,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-yes:active {
  transform: scale(0.98);
}

.btn-no {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(249,168,201,0.5);
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.btn-no:hover {
  background: var(--pink-light);
  color: var(--pink-dark);
}

.no-message {
  font-size: 0.9rem;
  color: var(--pink-dark);
  font-weight: 600;
  font-style: italic;
  min-height: 1.4em;
  transition: opacity 0.3s ease;
}

/* ============================================
   YES SECTION
   ============================================ */
.yes-section {
  background: linear-gradient(145deg, #FFF3A3 0%, #FDE8F1 60%, #FFFBF0 100%);
  padding: 5rem 1.5rem;
}

.yes-inner {
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.yes-sunflower-burst {
  font-size: 5rem;
  animation: burst 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both, floatSun 3s 0.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 25px rgba(245,197,24,0.5));
}

@keyframes burst {
  0% { transform: scale(0) rotate(-180deg); }
  60% { transform: scale(1.3) rotate(15deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.yes-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
}

.yes-subtitle {
  font-size: 1.1rem;
  color: var(--pink-dark);
  font-weight: 600;
}

.yes-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-warm), var(--shadow-card);
  border: 3px solid var(--sunflower-light);
  width: 100%;
}

.yes-message {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.85;
}

.yes-message strong {
  color: var(--text-dark);
  font-style: normal;
}

.yes-signatures {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.yes-signatures strong {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 700;
}

.yes-emojis {
  font-size: 1.5rem;
  margin-top: 0.3rem;
  letter-spacing: 0.3rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(37,211,102,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 14px 35px rgba(37,211,102,0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 400px) {
  .mission-cards-grid {
    grid-template-columns: 1fr;
  }

  .reveal-question-wrapper {
    padding: 1.8rem 1.3rem;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 3rem;
  }

  .section-inner {
    max-width: 640px;
  }

  .reveal-question-wrapper {
    padding: 3rem 2.5rem;
  }

  .hero-title {
    font-size: 4rem;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--sunflower);
  border-radius: 999px;
}
