/* ═══════════════════════════════════════════════════════════
   style.css — Convite Adrian 1 Aninho 🏖️
   Design system mobile-first com tema oceano
   ═══════════════════════════════════════════════════════════ */

/* ── Importar Fontes ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens de Design ────────────────────────────────────── */
:root {
  --ocean-deep:    #023e8a;
  --ocean-mid:     #0077b6;
  --ocean-light:   #00b4d8;
  --ocean-soft:    #90e0ef;
  --foam:          #caf0f8;
  --sand:          #ffd166;
  --sand-dark:     #f4a261;
  --coral:         #ef476f;
  --coral-light:   #ff6b9d;
  --white:         #ffffff;
  --text-dark:     #012a4a;
  --text-mid:      #1d4e6e;
  --glass:         rgba(255,255,255,0.18);
  --glass-border:  rgba(255,255,255,0.35);
  --shadow-ocean:  0 8px 32px rgba(0, 119, 182, 0.30);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.12);
  --radius-sm:     12px;
  --radius-md:     20px;
  --radius-lg:     32px;
  --radius-full:   999px;
  --font-title:    'Pacifico', cursive;
  --font-body:     'Nunito', sans-serif;
  --transition:    all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.3s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ocean-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; background: none; }
input, textarea, select { outline: none; font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }

/* ── Canvas de Ondas (background fixo) ──────────────────── */
#ocean-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Partículas ──────────────────────────────────────────── */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  animation: floatParticle linear infinite;
  user-select: none;
}

@keyframes floatParticle {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  25%  { transform: translateY(-20px) rotate(15deg) scale(1.1); }
  50%  { transform: translateY(-8px) rotate(-10deg) scale(0.95); }
  75%  { transform: translateY(-25px) rotate(8deg) scale(1.05); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* ── Layout Principal ────────────────────────────────────── */
.site-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

/* ── Seção Hero ──────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 8rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foam);
  margin-bottom: 1.5rem;
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

.hero-baby-img {
  width: min(260px, 70vw);
  height: auto;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 0 12px rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.25);
  margin-bottom: 1.8rem;
  animation: fadeScaleIn 1s ease 0.4s both;
  object-fit: cover;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 11vw, 5rem);
  line-height: 1.1;
  color: var(--white);
  text-shadow:
    0 0 40px rgba(144, 224, 239, 0.6),
    0 4px 16px rgba(0, 0, 0, 0.3),
    3px 3px 0px rgba(0, 119, 182, 0.5);
  animation: fadeSlideUp 0.9s ease 0.6s both;
  margin-bottom: 0.6rem;
}

.hero-title span {
  color: var(--sand);
  text-shadow:
    0 0 30px rgba(255, 209, 102, 0.7),
    0 4px 12px rgba(0,0,0,0.3),
    3px 3px 0px rgba(244, 162, 97, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-weight: 600;
  color: var(--foam);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.9s ease 0.8s both;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foam);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-hint svg {
  width: 24px; height: 24px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Contagem Regressiva ─────────────────────────────────── */
.countdown-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 1s both;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.3rem;
  min-width: 72px;
}

.cd-number {
  font-family: var(--font-title);
  font-size: 2rem;
  line-height: 1;
  color: var(--sand);
  text-shadow: 0 0 20px rgba(255,209,102,0.5);
}

.cd-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foam);
  opacity: 0.85;
}

/* ── Seções Genéricas ────────────────────────────────────── */
.section {
  padding: 4rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ── Card de Vidro ───────────────────────────────────────── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-ocean);
}

/* ── Info do Evento ──────────────────────────────────────── */
.event-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.event-info-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.event-info-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.event-info-content h3 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.25rem;
}

.event-info-content p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ── Mapa ────────────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ocean);
  border: 2px solid var(--glass-border);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: none;
}

.map-overlay-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--ocean-mid);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition-smooth);
}

.map-overlay-btn:hover {
  background: var(--ocean-light);
  transform: translateY(-2px);
}

/* ── Aviso Informativo ────────────────────────────────────── */
.info-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(220, 20, 60, 0.18);
  border: 2px solid rgba(255, 80, 80, 0.6);
  border-left: 6px solid #ff3355;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.2rem;
  box-shadow:
    0 0 0 4px rgba(255, 51, 85, 0.1),
    0 6px 24px rgba(220, 20, 60, 0.25);
  animation: noticePulse 3s ease-in-out infinite;
}

@keyframes noticePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,51,85,0.10), 0 6px 24px rgba(220,20,60,0.25); }
  50%       { box-shadow: 0 0 0 8px rgba(255,51,85,0.18), 0 8px 32px rgba(220,20,60,0.38); }
}

.info-notice-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255,80,80,0.6));
  animation: iconWiggle 2.5s ease-in-out infinite;
}

@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20%       { transform: rotate(-12deg) scale(1.1); }
  40%       { transform: rotate(10deg) scale(1.05); }
  60%       { transform: rotate(-6deg) scale(1.08); }
  80%       { transform: rotate(4deg) scale(1.02); }
}

.info-notice-body {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}

.info-notice-body strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff6b6b;
  text-shadow: 0 0 12px rgba(255, 80, 80, 0.6);
  margin-bottom: 0.3rem;
}

.info-notice-body p {
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

/* ── Formulário RSVP ─────────────────────────────────────── */
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foam);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem 0.9rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition-smooth);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: rgba(255,255,255,0.45); }

.form-input:focus {
  background: rgba(255,255,255,0.18);
  border-color: var(--ocean-soft);
  box-shadow: 0 0 0 3px rgba(144,224,239,0.25);
}

/* Toggle Switch ─────────────────────────────────────────── */
.toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  left: 3px; top: 3px;
  border-radius: 50%;
  background: var(--white);
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--sand);
}

.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(24px);
}

/* Seção colapsável ──────────────────────────────────────── */
#spouse-section,
#children-section {
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#spouse-section.visible,
#children-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Botões de confirmação ─────────────────────────────────── */
.attending-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.attending-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.attending-btn .btn-emoji { font-size: 2rem; }

.attending-btn:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}

.attending-btn.selected[data-value="1"] {
  background: rgba(72, 202, 228, 0.25);
  border-color: var(--ocean-light);
  box-shadow: 0 0 0 3px rgba(72,202,228,0.3);
  transform: translateY(-3px) scale(1.02);
}

.attending-btn.selected[data-value="0"] {
  background: rgba(239, 71, 111, 0.2);
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(239,71,111,0.25);
  transform: translateY(-3px) scale(1.02);
}

/* Remove child button ───────────────────────────────────── */
.remove-child {
  position: absolute;
  right: 0.8rem;
  background: rgba(239,71,111,0.2);
  border: 1px solid rgba(239,71,111,0.4);
  border-radius: var(--radius-full);
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #ff8fab;
  transition: var(--transition-smooth);
}

.remove-child:hover {
  background: rgba(239,71,111,0.4);
}

#add-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px dashed rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  color: var(--foam);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  width: 100%;
  margin-top: 0.5rem;
}

#add-child:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
}

/* Submit button ─────────────────────────────────────────── */
#submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--ocean-light) 0%, var(--ocean-mid) 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.45);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#submit-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 180, 216, 0.55);
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Ripple ────────────────────────────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  pointer-events: none;
}

/* Spinner ───────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Mensagens de retorno ───────────────────────────────────── */
.form-message {
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
}

#success-msg {
  background: rgba(72, 202, 228, 0.2);
  border: 1.5px solid rgba(72, 202, 228, 0.5);
  color: var(--foam);
}

#error-msg {
  background: rgba(239, 71, 111, 0.2);
  border: 1.5px solid rgba(239, 71, 111, 0.5);
  color: #ffb3c6;
}

/* Child fields ──────────────────────────────────────────── */
.child-field-wrapper { margin-top: 0.6rem; }
.children-fields { display: flex; flex-direction: column; gap: 0; }

/* ── Decorações de Praia ─────────────────────────────────── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-divider svg {
  width: 100%;
  height: 50px;
  display: block;
}

.beach-decoration {
  text-align: center;
  padding: 1.5rem;
  font-size: 2rem;
  letter-spacing: 0.5rem;
  opacity: 0.6;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 3rem 1.5rem;
  text-align: center;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.footer-message {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 5vw, 1.6rem);
  color: var(--sand);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px rgba(255,209,102,0.4);
}

.footer-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.footer-hearts {
  font-size: 1.5rem;
  margin: 0.8rem 0;
  letter-spacing: 0.3rem;
}

/* ── Toast ───────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(2, 62, 138, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(144,224,239,0.3);
  color: var(--foam);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animações de Entrada ────────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}

.shake { animation: shake 0.5s ease; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 400px) {
  .cd-block { min-width: 60px; padding: 0.7rem 1rem; }
  .cd-number { font-size: 1.6rem; }
  .glass-card { padding: 1.5rem 1.2rem; }
  .attending-options { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
}

@media (min-width: 600px) {
  .section { padding: 5rem 2rem; }
  .glass-card { padding: 2.5rem 2rem; }
  .map-container iframe { height: 380px; }
}

/* ── Safe area (iOS notch) ───────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(3rem + env(safe-area-inset-bottom)); }
}

/* ════════════════════════════════════════════════════════════
   MODAL DE FEEDBACK ANIMADO
   ════════════════════════════════════════════════════════════ */

/* Overlay */
.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 20, 55, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.feedback-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Partículas flutuantes dentro do modal */
.feedback-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fb-particle {
  position: absolute;
  font-size: 1.4rem;
  animation: fbParticleFloat linear forwards;
  pointer-events: none;
  user-select: none;
}

@keyframes fbParticleFloat {
  0%   { transform: translateY(0) rotate(0deg) scale(0.5); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-90vh) rotate(720deg) scale(1.2); opacity: 0; }
}

/* Card principal */
.feedback-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 32px;
  padding: 2.5rem 2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);

  /* Animação de entrada */
  opacity: 0;
  transform: scale(0.78) translateY(40px);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feedback-overlay.open .feedback-card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Variante — Confirmado (azul oceano) */
.feedback-overlay.type-yes .feedback-card {
  border-color: rgba(72, 202, 228, 0.45);
  box-shadow: 0 24px 64px rgba(0, 180, 216, 0.35),
              0 0 0 1px rgba(72, 202, 228, 0.2);
}

/* Variante — Ausente (coral suave) */
.feedback-overlay.type-no .feedback-card {
  border-color: rgba(239, 71, 111, 0.35);
  box-shadow: 0 24px 64px rgba(239, 71, 111, 0.25),
              0 0 0 1px rgba(239, 71, 111, 0.15);
}

/* Ícone grande com pulso */
.feedback-icon-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  animation: iconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both;
}

.feedback-overlay.type-yes .feedback-icon-wrap {
  background: rgba(72, 202, 228, 0.20);
  box-shadow: 0 0 0 8px rgba(72, 202, 228, 0.10),
              0 0 0 16px rgba(72, 202, 228, 0.05);
}

.feedback-overlay.type-no .feedback-icon-wrap {
  background: rgba(255, 209, 102, 0.18);
  box-shadow: 0 0 0 8px rgba(255, 209, 102, 0.08),
              0 0 0 16px rgba(255, 209, 102, 0.04);
}

@keyframes iconPop {
  from { opacity: 0; transform: scale(0.3) rotate(-20deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Pulso infinito no ícone (só para "yes") */
.feedback-overlay.type-yes .feedback-icon-wrap {
  animation: iconPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both,
             iconPulse 2.5s ease 1s infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(72, 202, 228, 0.12), 0 0 0 16px rgba(72, 202, 228, 0.05); }
  50%       { box-shadow: 0 0 0 14px rgba(72, 202, 228, 0.18), 0 0 0 26px rgba(72, 202, 228, 0.06); }
}

/* Título */
.feedback-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 6vw, 2rem);
  color: var(--white);
  margin-bottom: 0.6rem;
  animation: fadeSlideUp 0.5s ease 0.35s both;
}

.feedback-overlay.type-yes .feedback-title { color: var(--foam); }
.feedback-overlay.type-no  .feedback-title { color: var(--sand); }

/* Nome do convidado em destaque */
.feedback-name {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  color: var(--sand);
  text-shadow: 0 0 24px rgba(255, 209, 102, 0.55);
  margin-bottom: 1rem;
  animation: fadeSlideUp 0.5s ease 0.45s both;
  word-break: break-word;
}

.feedback-overlay.type-no .feedback-name {
  color: #ffb3c6;
  text-shadow: 0 0 24px rgba(255, 179, 198, 0.45);
}

/* Mensagem calorosa */
.feedback-message {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.5s ease 0.55s both;
}

/* Emojis decorativos */
.feedback-emojis {
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
  margin-bottom: 1.6rem;
  animation: fadeSlideUp 0.5s ease 0.65s both;
}

/* Botão fechar */
.feedback-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  padding: 0.75rem 2rem;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  animation: fadeSlideUp 0.5s ease 0.75s both;
}

.feedback-close-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
}

.feedback-close-btn:active {
  transform: translateY(0);
}

