/* ===================================
   Chá de Bebê da Marina
   Pink + Lavender Soft Theme
   =================================== */

:root {
  --color-primary: #EC4899;
  --color-primary-dark: #BE185D;
  --color-primary-light: #F472B6;
  --color-accent: #A78BFA;
  --color-accent-light: #EDE9FE;
  --color-bg: #FFFBFE;
  --color-bg-alt: #FDF2F8;
  --color-bg-dark: #4A1942;
  --color-text: #3B0764;
  --color-text-light: #7C6F82;
  --color-text-white: #FDF2F8;
  --color-border: #F5D0FE;
  --color-success: #059669;

  --font-display: 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --space-xs: 0.5rem;  --space-sm: 1rem;  --space-md: 1.5rem;
  --space-lg: 2.5rem;  --space-xl: 4rem;  --space-2xl: 6rem;

  --radius: 8px;  --radius-lg: 16px;  --radius-full: 50%;
  --shadow: 0 2px 16px rgba(236,72,153,0.08);
  --shadow-lg: 0 8px 32px rgba(236,72,153,0.12);
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--space-2xl) 0; }

.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--color-text); margin-bottom: var(--space-lg); line-height: 1.2; }
.section-title--center { text-align: center; }
.section-subtitle-center { text-align: center; color: var(--color-text-light); margin-bottom: var(--space-xl); margin-top: -1rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.875rem 2rem; border: none; border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all var(--transition); text-align: center; }
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-full { width: 100%; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 0; transition: all var(--transition); }
.navbar.scrolled { background: rgba(255,251,254,0.95); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(236,72,153,0.08); padding: 0.5rem 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.25rem; font-weight: 800; color: white; transition: color var(--transition); }
.navbar.scrolled .nav-logo { color: var(--color-primary); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85); transition: color var(--transition); }
.navbar.scrolled .nav-links a { color: var(--color-text-light); }
.nav-links a:hover, .navbar.scrolled .nav-links a:hover { color: var(--color-primary); }
.nav-cta { background: var(--color-primary); color: white !important; padding: 0.5rem 1.25rem; border-radius: var(--radius); }
.nav-cta:hover { background: var(--color-primary-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; transition: all var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--color-text); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #EC4899 0%, #A78BFA 50%, #F472B6 100%); color: white; text-align: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(236,72,153,0.75) 0%, rgba(167,139,250,0.7) 50%, rgba(244,114,182,0.75) 100%), url('../pictures/hero.jpg') center/cover no-repeat; }

/* Floating decorations */
.hero-decorations { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.deco-float { position: absolute; opacity: 0; animation: floatDeco 6s ease-in infinite; pointer-events: none; }
@keyframes floatDeco { 0% { opacity: 0; transform: translateY(0) scale(0.5); } 10% { opacity: 0.5; } 90% { opacity: 0.5; } 100% { opacity: 0; transform: translateY(-300px) scale(1); } }

.hero-content { position: relative; z-index: 2; padding: var(--space-xl) 0; }
.hero-subtitle { font-size: clamp(0.875rem, 2vw, 1.1rem); font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.9; margin-bottom: var(--space-sm); }
.hero-title { font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; line-height: 1.1; margin-bottom: var(--space-sm); }
.hero-title .accent { color: #FDE68A; }
.hero-date { font-size: 1.1rem; opacity: 0.9; margin-bottom: var(--space-xl); font-weight: 500; }
.hero-btn { font-size: 1.1rem; padding: 1rem 2.5rem; border-radius: 50px; background: white; color: var(--color-primary); }
.hero-btn:hover { background: #FDE68A; color: var(--color-primary-dark); transform: translateY(-2px); }

/* Countdown */
.countdown { display: flex; justify-content: center; gap: clamp(0.75rem, 2vw, 1.5rem); margin-bottom: var(--space-xl); }
.countdown-card { background: rgba(255,255,255,0.15); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; padding: clamp(1rem, 2vw, 1.5rem) clamp(0.75rem, 1.5vw, 1.25rem); min-width: clamp(60px, 10vw, 85px); transition: transform 0.3s ease; }
.countdown-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(236,72,153,0.2); }
.countdown-item { display: flex; flex-direction: column; align-items: center; }
.countdown-value { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1; }
.countdown-value.flip { animation: flipDown 0.6s ease; }
@keyframes flipDown { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.countdown-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.8; margin-top: 0.375rem; }

.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.5); border-bottom: 2px solid rgba(255,255,255,0.5); transform: rotate(45deg); animation: scrollBounce 2s infinite; }
@keyframes scrollBounce { 0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); } 40% { transform: rotate(45deg) translateY(6px); } }

/* About */
.about { background: var(--color-bg); text-align: center; }
.about-content { max-width: 600px; margin: 0 auto; }
.about-image { width: 200px; height: 200px; border-radius: var(--radius-full); overflow: hidden; margin: 0 auto var(--space-lg); box-shadow: var(--shadow-lg); border: 4px solid var(--color-border); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-message { font-size: 1.1rem; color: var(--color-text-light); line-height: 1.8; margin-bottom: var(--space-md); }
.about-signature { font-size: 1.1rem; font-weight: 600; color: var(--color-primary); }

/* Gifts */
.gifts { background: var(--color-bg-alt); }
.gift-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); max-width: 700px; margin: 0 auto; }
.gift-item { display: flex; align-items: center; gap: var(--space-sm); background: white; border-radius: var(--radius-lg); padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-border); transition: var(--transition); }
.gift-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gift-icon { font-size: 1.5rem; }
.gift-info h4 { font-size: 0.9rem; font-weight: 600; color: var(--color-text); }
.gift-priority { font-size: 0.75rem; font-weight: 600; }

/* Schedule */
.schedule { background: var(--color-bg); }
.schedule-list { max-width: 500px; margin: 0 auto; }
.schedule-item { display: flex; gap: var(--space-md); margin-bottom: var(--space-sm); padding: var(--space-sm) var(--space-md); background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: var(--transition); }
.schedule-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow); }
.schedule-time { font-size: 0.85rem; font-weight: 700; color: var(--color-primary); min-width: 45px; padding-top: 2px; }
.schedule-title { font-size: 0.95rem; font-weight: 500; color: var(--color-text); }

/* Location */
.location { background: var(--color-bg-alt); }
.location-address-text { text-align: center; color: var(--color-text-light); margin-bottom: var(--space-lg); margin-top: -1rem; }
.map-container { width: 100%; height: 350px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--color-border); }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Register */
.register { background: var(--color-bg); }
.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: start; }
.register-info .section-title { margin-bottom: var(--space-md); }
.register-info p { color: var(--color-text-light); margin-bottom: var(--space-sm); font-size: 1.05rem; }
.register-reminder { display: flex; gap: var(--space-sm); background: var(--color-bg-alt); padding: var(--space-md); border-radius: var(--radius); margin-top: var(--space-lg); align-items: flex-start; }
.register-reminder svg { width: 24px; height: 24px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.register-reminder p { font-size: 0.9rem; margin: 0; }

.register-form-wrapper { position: relative; }
.register-form { background: white; padding: var(--space-lg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.375rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--color-text); background: var(--color-bg); transition: border-color var(--transition); resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); }

.form-success { display: none; position: absolute; inset: 0; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-xl); }
.form-success.active { display: flex; }
.form-success svg { width: 56px; height: 56px; color: var(--color-primary); margin-bottom: var(--space-md); }
.form-success h3 { font-size: 1.5rem; margin-bottom: var(--space-sm); }
.form-success p { color: var(--color-text-light); }

/* Footer */
.footer { background: var(--color-bg-dark); color: var(--color-text-white); padding: var(--space-xl) 0; text-align: center; }
.footer-quote { font-style: italic; font-size: 1.15rem; opacity: 0.85; margin-bottom: var(--space-md); }
.footer-organizer { font-size: 0.9rem; opacity: 0.7; margin-bottom: var(--space-xs); }
.footer-copy { font-size: 0.8rem; opacity: 0.5; }
.footer-powered { margin-top: 1.5rem; font-size: 1.1rem; opacity: 0.7; transition: opacity 0.3s ease; }
.footer-powered:hover { opacity: 1; }
.footer-powered a { color: inherit; display: inline-flex; align-items: center; gap: 0.5rem; }
.powered-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #4F46E5; color: white; border-radius: 6px; font-weight: 800; font-size: 0.75rem; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px; height: 100vh; background: white; flex-direction: column; justify-content: center; gap: 1.5rem; padding: 2rem; box-shadow: -4px 0 20px rgba(0,0,0,0.1); transition: right var(--transition); }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--color-text) !important; font-size: 1.1rem; }
  .gift-list { grid-template-columns: repeat(2, 1fr); }
  .register-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}
@media (max-width: 480px) {
  .section { padding: var(--space-xl) 0; }
  .countdown { gap: 0.5rem; }
  .countdown-card { padding: 0.75rem 0.5rem; min-width: 55px; }
  .gift-list { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}
