body {
    font-family: 'Montserrat', sans-serif;
    background: var(--fundo);
    color: var(--cinza);
    line-height: 1.6;
    overflow-x: hidden;
}

/* MENU LATERAL */
.menu-lateral-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 5px 20px var(--sombra);
    transition: var(--transicao);
    border: 2px solid var(--rosa);
}

.menu-lateral-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--sombra-hover);
}

.menu-lateral-toggle img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
}

.menu-lateral {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transicao);
    padding: 100px 30px 40px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-lateral.active {
    left: 0;
}

.menu-lateral-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transicao);
}

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

.menu-lateral a {
    display: block;
    padding: 15px 20px;
    color: var(--rosa);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: var(--transicao);
    position: relative;
    overflow: hidden;
}

.menu-lateral a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 24, 76, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-lateral a:hover::before {
    left: 100%;
}

.menu-lateral a:hover {
    background: rgba(251, 211, 98, 0.12);
    color: var(--laranja);
    transform: translateX(5px);
}

.menu-lateral-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--rosa);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicao);
}

.menu-lateral-close:hover {
    background: rgba(224, 24, 76, 0.1);
    transform: rotate(90deg);
}

.menu-lateral-logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(224, 24, 76, 0.1);
}

.menu-lateral-logo h3 {
    color: var(--rosa);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}

/* REMOVER MENU SUPERIOR ANTIGO */
.menu {
    display: none;
}

/* TIPOGRAFIA */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--laranja);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--rosa), var(--laranja));
    border-radius: 2px;
}

.welcome-title {
    color: var(--rosa);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* PLAYER DE MÚSICA ESTILIZADO */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 8px 35px 8px 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transicao);
    border: 1px solid rgba(224, 24, 76, 0.2);
    max-width: calc(100vw - 40px);
    width: max-content;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
}

.music-player:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.music-btn {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--rosa);
    transition: var(--transicao);
    padding: 4px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    background: rgba(224, 24, 76, 0.1);
    color: var(--laranja);
    transform: scale(1.1);
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 70px;
    max-width: 130px;
}

.music-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cinza);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-status { display: none; }

.volume-control {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 0;
}

.volume-slider {
    width: 55px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: linear-gradient(to right, var(--rosa), var(--laranja));
    border-radius: 2px;
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--branco);
    cursor: pointer;
    transition: var(--transicao);
    border: 2px solid var(--rosa);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.volume-slider::-webkit-slider-thumb:hover {
    background: var(--rosa);
    border-color: var(--laranja);
    transform: scale(1.2);
}

.volume-icon {
    color: var(--rosa);
    font-size: 1rem;
    min-width: 16px;
    text-align: center;
}

.close-player {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background: rgba(244, 67, 54, 0.05);
    border: none;
    color: var(--cinza-claro);
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transicao);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-player:hover {
    background: rgba(244, 67, 54, 0.15);
    color: var(--erro);
    transform: translateY(-50%) rotate(90deg);
}

.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    background: linear-gradient(135deg, var(--rosa), var(--laranja));
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(224, 24, 76, 0.4);
    transition: var(--transicao);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.music-toggle:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(224, 24, 76, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(224, 24, 76, 0.4);
    }

    50% {
        box-shadow: 0 5px 25px rgba(224, 24, 76, 0.6);
    }

    100% {
        box-shadow: 0 5px 20px rgba(224, 24, 76, 0.4);
    }
}

@media (max-width: 768px) {

    .music-toggle {
        bottom: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
    }

    .menu-lateral-toggle {
        top: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
    }

    .menu-lateral-toggle img {
        width: 38px;
        height: 38px;
    }

    .menu-lateral {
        width: 250px;
        padding: 80px 20px 30px;
    }
}

/* SEÇÕES COM MAIS ESPAÇAMENTO */
section {
    padding: clamp(5rem, 10vw, 8rem) 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: var(--branco);
    border-radius: var(--borda-redonda);
    padding: clamp(2.5rem, 6vw, 4rem);
    box-shadow: 0 15px 40px var(--sombra);
    transition: var(--transicao);
    margin-bottom: 3rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--sombra-hover);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--rosa) 0%, var(--laranja) 55%, var(--amarelo) 100%);
    color: var(--branco);
    text-align: center;
    padding: clamp(6rem, 12vw, 10rem) 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.hero-date {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-top: 1.5rem;
    opacity: 0.95;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    margin-top: 3rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time {
    background: rgba(255, 255, 255, 0.2);
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.2rem, 3vw, 2rem);
    border-radius: 20px;
    min-width: clamp(80px, 10vw, 100px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(251, 211, 98, 0.7);
}

.time-value {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    display: block;
}

.time-label {
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* BOTÕES */
.btn {
    display: inline-block;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(2rem, 4vw, 2.5rem);
    border-radius: 50px;
    background: linear-gradient(135deg, var(--rosa), var(--laranja));
    color: var(--branco);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transicao);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(224, 24, 76, 0.3);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(224, 24, 76, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* FORMULÁRIOS */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transicao);
    background: var(--branco);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--rosa);
    box-shadow: 0 0 0 3px rgba(224, 24, 76, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: var(--erro);
}

.error-message {
    color: var(--erro);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.msg-success {
    display: none;
    margin-top: 2rem;
    padding: 1.2rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    color: var(--sucesso);
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.msg-error {
    display: none;
    margin-top: 2rem;
    padding: 1.2rem;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 12px;
    color: var(--erro);
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* LOADING ESPECÍFICO PARA FORMULÁRIO */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 5;
    border-radius: var(--borda-redonda);
}

.loading {
    display: none;
    text-align: center;
    padding: 2.5rem;
    position: relative;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(224, 24, 76, 0.2);
    border-top-color: var(--rosa);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

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

/* ANIMAÇÕES */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, var(--rosa) 0%, var(--laranja) 55%, var(--amarelo) 100%);
    color: var(--branco);
    text-align: center;
    padding: 4rem 20px;
    margin-top: 4rem;
}

.footer-heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease infinite;
    display: inline-block;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* UTILITIES */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1.5rem;
}

.mt-2 {
    margin-top: 2.5rem;
}

.mt-3 {
    margin-top: 3.5rem;
}

.mt-4 {
    margin-top: 4.5rem;
}

.mb-1 {
    margin-bottom: 1.5rem;
}

.mb-2 {
    margin-bottom: 2.5rem;
}

.mb-3 {
    margin-bottom: 3.5rem;
}

.mb-4 {
    margin-bottom: 4.5rem;
}

/* ACCESSIBILITY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* GALERIA DE FOTOS */
.galeria-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.foto-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: var(--transicao);
}

.foto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.foto-item:hover img {
    transform: scale(1.05);
}

.foto-legenda {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.foto-item:hover .foto-legenda {
    transform: translateY(0);
}

/* SCROLLBAR PERSONALIZADA */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--rosa);
    border-radius: 10px;
}

/* SAVE THE DATE FLIP CARDS */
.save-the-date-section {
    padding: 2rem 0;
    overflow: hidden;
}

.save-date-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--rosa);
    margin-bottom: 2.5rem;
    font-family: 'Playfair Display', serif;
}

.std-flip-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.flip-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.flip-card-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--laranja);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.flip-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--rosa);
    font-family: 'Playfair Display', serif;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 2 / 3;
    perspective: 1200px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 120px; /* formato cilindrico / pílula */
    overflow: hidden;
    border: 4px solid var(--rosa);
    background-color: var(--branco);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.flip-card-front img, .flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Responsivo para Celular */
@media (max-width: 768px) {
    .std-flip-container {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 40px;
    }
}
