:root {
    --vermelho: #C41E3A;
    --dourado: #D4AF37;
    --fundo: #FFF8F0;
    --texto: #333;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--fundo);
    color: var(--texto);
    overflow-x: hidden;
}

/* --- CARROSSEL (Swiper) --- */
.hero-section {
    height: 45vh; /* Altura no celular */
    position: relative;
    background: #000; /* Fundo preto enquanto carrega */
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cobre a área sem distorcer */
    object-position: center top; /* Foca no rosto */
}

/* Degradê sobre a foto */
.overlay-gradiente {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(196, 30, 58, 0.5));
    z-index: 10;
    pointer-events: none; /* Deixa clicar no slide se precisar */
}

/* Texto Flutuante */
.titulo-flutuante {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    z-index: 20;
}

.titulo-flutuante h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    margin: 0;
    line-height: 0.8;
}

.subtitulo {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--dourado);
    padding: 2px 10px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
}

/* --- CONTEÚDO --- */
.content-body {
    flex: 1;
    background: white;
    border-radius: 30px 30px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 30;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.frase-box p {
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Grid Info */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.info-item .icon { font-size: 1.5rem; margin-bottom: 5px; }
.info-item strong { color: var(--vermelho); font-size: 1.1rem; }
.info-item small { font-size: 0.8rem; color: #888; }

.btn-main {
    background: var(--vermelho);
    color: white;
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    cursor: pointer;
    text-transform: uppercase;
}

/* Link Admin */
.admin-footer {
    margin-top: 30px;
    text-align: center;
    padding-bottom: 10px;
}
.admin-footer a { color: #e0e0e0; text-decoration: none; font-size: 0.8rem; }
.admin-footer a:hover { color: var(--vermelho); }

/* --- CONTROLE DE MÚSICA --- */
.music-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    border: 2px solid var(--dourado);
    transition: transform 0.2s;
}

.music-control.playing {
    animation: pulse 1.5s infinite;
    background: var(--fundo);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- MODAL --- */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    align-items: flex-end;
}

.modal-sheet {
    background: white;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 25px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.sheet-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.sheet-header h3 { margin: 0; color: var(--vermelho); font-size: 1.5rem; }
.close-btn { font-size: 2rem; cursor: pointer; color: #999; }
.scroll-area { overflow-y: auto; max-height: 40vh; margin-bottom: 15px; }

/* Linha Convidado */
.linha-convidado {
    background: #fdfdfd; border: 1px solid #eee; padding: 10px; border-radius: 10px; margin-bottom: 10px; position: relative;
}
.linha-convidado input, .linha-convidado select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 8px; background: white; }
.btn-remove-line { position: absolute; top: 10px; right: 10px; background: #ffcccc; color: red; border: none; width: 30px; height: 30px; border-radius: 50%; font-weight: bold; }
.btn-add { background: transparent; border: 2px dashed #ccc; color: #666; width: 100%; padding: 12px; border-radius: 10px; font-weight: bold; margin-bottom: 20px; }
.btn-confirmar { background: var(--dourado); color: white; width: 100%; padding: 18px; border: none; border-radius: 50px; font-size: 1.1rem; font-weight: bold; }

/* Desktop Ajuste */
@media (min-width: 768px) {
    .hero-section { height: 500px; }
    .mobile-container { max-width: 480px; margin: 0 auto; border-left: 1px solid #eee; border-right: 1px solid #eee; min-height: 100vh; background: white; }
    body { background: #eee; }
}