/* ========================================
   SITE DE CASAMENTO - ANA & HIGOR
   Tema: Romântico Clássico Floral
   Paleta: Bege, Rosé Suave, Dourado
======================================== */

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

html {
    scroll-behavior: smooth;
}

/* ========== VARIÁVEIS CSS ========== */
:root {
    /* Cores Principais */
    --color-cream: #FDF8F3;
    --color-cream-light: #FFFCF9;
    --color-beige: #F5EDE6;
    --color-beige-dark: #E8DDD3;
    
    /* Rosé Suave */
    --color-rose: #D4A5A5;
    --color-rose-light: #E8C4C4;
    --color-rose-dark: #C08F8F;
    --color-rose-muted: #DEB8B8;
    
    /* Dourado Discreto */
    --color-gold: #C9A959;
    --color-gold-light: #D4BC7A;
    --color-gold-dark: #B8943D;
    --color-gold-muted: #D4C4A0;
    
    /* Tons Neutros */
    --color-text: #5D4E4E;
    --color-text-light: #7A6B6B;
    --color-text-muted: #9A8B8B;
    
    /* Fundos */
    --color-bg: #FFFCF9;
    --color-bg-alt: #FDF8F3;
    --color-card: #FFFFFF;
    
    /* Sombras */
    --shadow-soft: 0 4px 20px rgba(93, 78, 78, 0.08);
    --shadow-medium: 0 8px 30px rgba(93, 78, 78, 0.12);
    --shadow-gold: 0 4px 20px rgba(201, 169, 89, 0.15);
    
    /* Fontes */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text);
    font-weight: 500;
}

/* ========== UTILITÁRIOS ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* ========== SEÇÕES ========== */
.section-script {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-rose);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold), var(--color-gold-light));
    margin: 1rem auto 0;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-align: center;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ========== BOTÕES ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-dark) 100%);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--color-gold-dark);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--color-gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: white;
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 169, 89, 0.25);
}

.btn-gold svg {
    width: 18px;
    height: 18px;
}

.btn-full {
    width: 100%;
}

/* ========== ADMIN BUTTON ========== */
.admin-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: white;
    color: var(--color-text);
}

/* ========== MUSIC BUTTON ========== */
.music-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    width: 56px;
    height: 56px;
    background: white;
    color: var(--color-text);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    transform: scale(1.1);
}

.music-btn.playing {
    background: var(--color-rose);
    color: white;
}

.music-btn .music-icon {
    width: 24px;
    height: 24px;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 800px;
}

.hero-heart {
    margin-bottom: 24px;
}

.hero-heart svg {
    width: 64px;
    height: 64px;
    color: var(--color-gold-light);
    opacity: 0.8;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-script);
    font-size: 4rem;
    font-weight: 400;
    color: white;
    margin-bottom: 24px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-date .line {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-date p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}

.hero-location {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: white;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
}

/* ========== COUNTDOWN SECTION ========== */
.countdown-section {
    background: linear-gradient(to bottom, var(--color-bg), var(--color-beige));
    padding: 80px 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 48px 0 32px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-box {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-beige-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.countdown-box::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0.6;
}

.countdown-box span {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-text);
}

.countdown-label {
    margin-top: 12px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.countdown-separator {
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 300;
    display: none;
}

.countdown-date {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-style: italic;
}

.floral-divider {
    width: 200px;
    height: 40px;
    margin: 32px auto 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://thumbs.dreamstime.com/b/stylized-floral-wave-border-warm-tones-vector-design-generative-ai-illustration-featuring-organic-shapes-abstract-418642442.jpg' viewBox='0 0 200 40'%3E%3Cpath d='M0 20 Q50 0 100 20 T200 20' fill='none' stroke='%23D4A5A5' stroke-width='1' opacity='0.5'/%3E%3Ccircle cx='100' cy='20' r='4' fill='%23C9A959' opacity='0.6'/%3E%3Ccircle cx='85' cy='18' r='2' fill='%23D4A5A5' opacity='0.4'/%3E%3Ccircle cx='115' cy='18' r='2' fill='%23D4A5A5' opacity='0.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ========== STORY SECTION ========== */
.story-section {
    background: var(--color-bg);
    padding: 80px 20px;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.drop-cap {
    float: left;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-rose);
    margin-right: 8px;
    margin-top: 4px;
}

.story-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.signature-line {
    width: 64px;
    height: 1px;
    background: var(--color-gold);
}

.signature-text {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--color-gold);
}

.story-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    pointer-events: none;
}

.heart-divider {
    text-align: center;
    margin-top: 48px;
}

.heart-divider svg {
    width: 32px;
    height: 32px;
    color: var(--color-rose);
    animation: pulse 2s ease-in-out infinite;
}

/* ========== EVENT SECTION ========== */
.event-section {
    background: linear-gradient(to bottom, var(--color-beige), var(--color-bg));
    padding: 80px 20px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 48px auto 0;
}

.event-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.event-header {
    background: linear-gradient(135deg, var(--color-rose-light), var(--color-rose));
    padding: 24px;
    text-align: center;
    color: white;
}

.event-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}

.event-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
}

.event-body {
    padding: 24px;
    text-align: center;
}

.event-body h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.event-body p {
    font-family: var(--font-body);
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 4px;
}

.event-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-beige);
    padding: 8px 16px;
    border-radius: 50px;
    margin: 16px 0 24px;
}

.event-time svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
}

.event-time span {
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--color-text);
}

.event-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-beige-dark);
    margin-bottom: 16px;
}

.event-map iframe {
    width: 100%;
    height: 180px;
    border: none;
}

.dresscode {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.dresscode-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.dresscode-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text);
}

/* ========== GIFTS SECTION ========== */
.gifts-section {
    background: var(--color-bg);
    padding: 80px 20px;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.gift-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gift-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-beige);
}

.gift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gift-card:hover .gift-image img {
    transform: scale(1.1);
}

.gift-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--color-text);
}

.gift-content {
    padding: 20px;
}

.gift-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

.gift-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gift-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gift-price {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gold-dark);
}

.gift-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-rose);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-btn:hover {
    background: var(--color-rose-dark);
}

.gift-btn svg {
    width: 14px;
    height: 14px;
}

/* ========== RSVP SECTION ========== */
.rsvp-section {
    background: linear-gradient(to bottom, var(--color-bg), var(--color-beige));
    padding: 80px 20px;
}

.rsvp-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.rsvp-form {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: white;
    border: 1px solid var(--color-beige-dark);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 3px var(--color-rose-light);
}

.form-group textarea {
    resize: none;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-text);
    color: white;
    padding: 64px 20px;
    text-align: center;
}

.footer-title {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--color-rose-light);
    margin-bottom: 8px;
}

.footer-date {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-heart {
    margin-bottom: 24px;
}

.footer-heart svg {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    animation: pulse 2s ease-in-out infinite;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-nav a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-divider {
    width: 96px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 24px;
}

.footer-hashtag {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-copyright.small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 8px;
}

/* ========== CART SIDEBAR ========== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--color-beige);
}

.cart-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
}

.cart-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    border-radius: 50%;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover {
    background: var(--color-beige);
}

.cart-close svg {
    width: 24px;
    height: 24px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 48px 24px;
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    color: var(--color-beige-dark);
    margin-bottom: 16px;
}

.cart-empty p {
    font-family: var(--font-body);
    color: var(--color-text-light);
}

.cart-empty .small {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-cream);
    border-radius: 12px;
    margin-bottom: 12px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-beige);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    margin-top: 4px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: white;
    border: 1px solid var(--color-beige-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: var(--color-beige);
}

.qty-value {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    width: 24px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 8px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.cart-item-remove:hover {
    color: var(--color-rose);
}

.cart-item-remove svg {
    width: 20px;
    height: 20px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--color-beige);
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total span:first-child {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.cart-total-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold-dark);
}

.cart-clear {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-clear:hover {
    color: var(--color-rose);
}

/* ========== CART FAB ========== */
.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    width: 56px;
    height: 56px;
    background: var(--color-rose);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-fab:hover {
    transform: scale(1.1);
    background: var(--color-rose-dark);
}

.cart-fab svg {
    width: 24px;
    height: 24px;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: var(--color-gold);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== MODALS ========== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--color-beige);
    text-align: center;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
}

.modal-header p {
    font-family: var(--font-body);
    color: var(--color-text-light);
    margin-top: 4px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid var(--color-beige);
}

/* PIX Modal */
.pix-value {
    text-align: center;
    margin-bottom: 24px;
}

.pix-value-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.pix-value-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-gold-dark);
}

.pix-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.pix-qr img {
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-beige);
    border-radius: 16px;
    padding: 16px;
}

.pix-code {
    margin-bottom: 24px;
}

.pix-code label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.pix-code-container {
    position: relative;
}

.pix-code textarea {
    width: 100%;
    height: 80px;
    padding: 12px;
    font-family: monospace;
    font-size: 0.75rem;
    background: var(--color-cream);
    border: 1px solid var(--color-beige-dark);
    border-radius: 12px;
    resize: none;
    outline: none;
}

.btn-copy {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 8px 16px;
    background: var(--color-rose);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--color-rose-dark);
}

.btn-copy.copied {
    background: #22c55e;
}

.pix-info {
    background: var(--color-cream);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.pix-info p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.pix-info p:last-child {
    margin-bottom: 0;
}

.pix-instructions {
    text-align: center;
}

.pix-instructions p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

/* Success Modal */
.success-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #22c55e;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 16px;
}

.modal-body > p {
    font-family: var(--font-body);
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.success-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-rose);
}

.success-signature svg {
    width: 20px;
    height: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.success-signature span {
    font-family: var(--font-script);
    font-size: 1.3rem;
}

/* ========== ANIMAÇÕES ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

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

.animate-fadeIn {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVO ========== */
@media (min-width: 768px) {
    .countdown-box {
        width: 100px;
        height: 100px;
    }
    
    .countdown-box span {
        font-size: 3rem;
    }
    
    .countdown-separator {
        display: block;
    }
    
    .hero-title {
        font-size: 6rem;
    }
}

@media (max-width: 900px) {
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-gallery {
        order: -1;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-script {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-date p {
        font-size: 1rem;
    }
    
    .countdown {
        gap: 12px;
    }
    
    .countdown-box {
        width: 70px;
        height: 70px;
    }
    
    .countdown-box span {
        font-size: 2rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-gold {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .gifts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        gap: 16px;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-beige);
}

::-webkit-scrollbar-thumb {
    background: var(--color-rose-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-rose);
}
