/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores */
    --primary-terracota: #E07A5F;
    --secondary-terracota: #C76D52;
    --dark-terracota: #9B5239;
    --navy-blue: #1B3B5A;
    --dark-blue: #0F2840;
    --light-blue: #E8F1F8;
    --cream: #FAF8F5;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --gradient-terracota: linear-gradient(135deg, #E07A5F 0%, #FFB5A7 50%, #E07A5F 100%);

    /* Escala tipográfica (padrão do site – um degrau maior para legibilidade) */
    --text-xs: 0.8125rem;  /* 13px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 0.9375rem;/* 15px */
    --text-md: 1rem;      /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.4375rem;/* 23px */
    --text-3xl: 1.75rem;   /* 28px */
    --text-4xl: 2.125rem; /* 34px */
    --text-5xl: 2.625rem;  /* 42px */

    /* Line-height */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;

    /* Espaçamento (reduzido para harmonia) */
    --space-section: 4.5rem;
    --space-block: 2rem;
    --space-card: 1.5rem;
    /* Altura e padding das seções (padrão fixo) */
    --section-padding-y: 3.5rem;
    --section-min-height: 480px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-base);
    background-color: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: var(--leading-normal);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--wide {
    max-width: 1280px;
}

/* ===== TYPOGRAPHY (padrão do site) ===== */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: var(--leading-tight);
}

.section-title {
    font-size: var(--text-3xl);
    text-align: center;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gradient-terracota);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-md);
    color: var(--text-light);
    margin-bottom: var(--space-block);
    font-style: italic;
    line-height: var(--leading-normal);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FAF8F5 0%, #E8F1F8 50%, #FAF8F5 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-heart {
    position: absolute;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.4);
    clip-path: path('M10 17.78L8.74 16.64C3.86 12.24 0.6 8.28 0.6 5.62C0.6 2.66 2.9 0.36 5.84 0.36C7.5 0.36 9.08 1.12 10 2.32C10.92 1.12 12.5 0.36 14.16 0.36C17.1 0.36 19.4 2.66 19.4 5.62C19.4 8.28 16.14 12.24 11.26 16.64L10 17.78Z');
    animation: floatHeart 8s ease-in-out infinite;
}

.heart-1 { top: 10%; left: 10%; animation-delay: 0s; }
.heart-2 { top: 20%; right: 15%; animation-delay: 1.5s; width: 12px; height: 12px; }
.heart-3 { top: 60%; left: 8%; animation-delay: 3s; width: 20px; height: 20px; }
.heart-4 { top: 70%; right: 10%; animation-delay: 4.5s; width: 14px; height: 14px; }
.heart-5 { top: 40%; right: 5%; animation-delay: 6s; width: 10px; height: 10px; }

@keyframes floatHeart {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.4;
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 1rem;
}

.hero-title {
    font-size: 3.25rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-terracota);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-date {
    font-size: 1.2rem;
    color: var(--primary-terracota);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* ===== COUNTDOWN ===== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.countdown-item {
    text-align: center;
    background: var(--white);
    padding: 1.15rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 72px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    background: var(--gradient-terracota);
    border-radius: 14px;
    z-index: -1;
}

.countdown-item span:first-child {
    display: block;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-terracota);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.countdown-item .label {
    font-size: var(--text-base);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BUTTONS ===== */
.btn-gold {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-terracota);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(224, 122, 95, 0.3);
    border: 2px solid transparent;
}

.btn-gold:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(224, 122, 95, 0.3);
    background: var(--secondary-terracota);
}

.btn-submit {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-terracota);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(224, 122, 95, 0.3);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(224, 122, 95, 0.4);
    background: var(--secondary-terracota);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.scroll-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary-terracota);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding-y) 0;
}

/* Altura mínima consistente (exceto hero e footer) */
.about,
.timeline,
.gallery,
.presents,
.locations,
.rsvp-igreja {
    min-height: var(--section-min-height);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: var(--space-block);
}

.about-card {
    flex: 0 0 200px;
    text-align: center;
}

.about-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-terracota);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.about-card:hover .about-image {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-icon {
    width: 48px;
    height: 48px;
    fill: var(--primary-terracota);
}

.about-card h3 {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.role {
    font-size: var(--text-sm);
    color: var(--primary-terracota);
    font-style: italic;
}

.about-text {
    flex: 1;
    text-align: center;
}

.about-text p {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* ===== TIMELINE SECTION ===== */
.timeline {
    background: var(--cream);
}

.timeline-content {
    max-width: 720px;
    margin: var(--space-block) auto 0;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-terracota);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.time {
    flex: 0 0 90px;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-terracota);
    text-align: center;
}

.timeline-item:nth-child(odd) .time {
    text-align: right;
    padding-right: 1.5rem;
}

.timeline-item:nth-child(even) .time {
    text-align: left;
    padding-left: 1.5rem;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--primary-terracota);
    border-radius: 50%;
    border: 3px solid var(--white);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px rgba(224, 122, 95, 0.2);
    z-index: 10;
}

.event {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event h3 {
    font-size: var(--text-lg);
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.event p {
    color: var(--text-light);
    font-size: var(--text-base);
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: linear-gradient(135deg, #FAF8F5 0%, #E8F1F8 100%);
}

.gallery-table {
    position: relative;
    max-width: 1200px;
    margin: var(--space-block) auto 0;
    min-height: 420px;
}

.photo {
    position: absolute;
    width: 180px;
    background: var(--white);
    padding: 10px 10px 32px 10px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.photo:hover {
    transform: scale(1.2) rotate(0deg) !important;
    z-index: 100 !important;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25),
        0 12px 35px rgba(0, 0, 0, 0.15);
}

.photo-image {
    width: 100%;
    aspect-ratio: 3/4;
    display: block;
    overflow: hidden;
}

.photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rotate-1 { top: 5%; left: 5%; transform: rotate(-12deg); }
.rotate-2 { top: 3%; left: 28%; transform: rotate(8deg); }
.rotate-3 { top: 2%; left: 52%; transform: rotate(-6deg); }
.rotate-4 { top: 4%; left: 75%; transform: rotate(15deg); }
.rotate-5 { top: 38%; left: 8%; transform: rotate(10deg); }
.rotate-6 { top: 35%; left: 32%; transform: rotate(-15deg); }
.rotate-7 { top: 37%; left: 55%; transform: rotate(5deg); }
.rotate-8 { top: 36%; left: 78%; transform: rotate(-8deg); }

@media (max-width: 1200px) {
    .photo { width: 155px; }
    .rotate-1 { top: 5%; left: 3%; }
    .rotate-2 { top: 3%; left: 26%; }
    .rotate-3 { top: 2%; left: 50%; }
    .rotate-4 { top: 4%; left: 74%; }
    .rotate-5 { top: 38%; left: 6%; }
    .rotate-6 { top: 35%; left: 30%; }
    .rotate-7 { top: 37%; left: 53%; }
    .rotate-8 { top: 36%; left: 77%; }
}

@media (max-width: 968px) {
    .gallery-table { min-height: 580px; }
    .photo { width: 130px; padding: 8px 8px 26px 8px; }
    .rotate-1 { top: 5%; left: 8%; }
    .rotate-2 { top: 3%; left: 28%; }
    .rotate-3 { top: 2%; left: 50%; }
    .rotate-4 { top: 4%; right: 8%; left: auto; }
    .rotate-5 { top: 38%; left: 5%; }
    .rotate-6 { top: 35%; left: 28%; }
    .rotate-7 { top: 37%; left: 50%; }
    .rotate-8 { top: 36%; right: 8%; left: auto; }
}

@media (max-width: 640px) {
    .gallery-table { min-height: 720px; }
    .photo { width: 110px; padding: 6px 6px 22px 6px; }
    .rotate-1 { top: 3%; left: 5%; }
    .rotate-2 { top: 2%; left: 30%; }
    .rotate-3 { top: 1%; left: 55%; }
    .rotate-4 { top: 2%; right: 5%; left: auto; }
    .rotate-5 { top: 40%; left: 5%; }
    .rotate-6 { top: 38%; left: 30%; }
    .rotate-7 { top: 39%; left: 55%; }
    .rotate-8 { top: 38%; right: 5%; left: auto; }
}

/* ===== PRESENTS SECTION ===== */
.presents { background: var(--white); }

.presents-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-block);
}

.presents-intro p {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--text-light);
}

.presents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-block);
    margin-top: var(--space-block);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.present-card {
    background: var(--cream);
    padding: var(--space-card) 1.75rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.present-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-terracota);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.present-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.present-card:hover::before { transform: scaleX(1); }

.present-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-terracota);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.present-card:hover .present-icon { transform: rotate(10deg) scale(1.08); }

.present-icon svg { width: 28px; height: 28px; }

.present-card h3 {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.present-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

.qr-code {
    margin: 1rem auto;
    padding: 0.6rem;
    background: var(--white);
    border-radius: 8px;
    display: block;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pix-qr-image {
    width: 150px;
    height: 150px;
    display: inline-block;
    border-radius: 6px;
}

.copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.6rem 1.25rem;
    background: var(--gradient-terracota);
    color: var(--white);
    border: none;
    border-radius: 24px;
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(224, 122, 95, 0.25);
    margin-top: 0.75rem;
}

.copy-button svg { width: 16px; height: 16px; transition: transform 0.3s ease; }

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.35);
}

.copy-button:hover svg { transform: scale(1.1); }
.copy-button:active { transform: translateY(0); }
.copy-button.copied { background: var(--navy-blue); }

.pix-info {
    margin-top: 1rem;
    margin-bottom: auto;
    padding: 0.75rem;
    background: var(--light-blue);
    border-radius: 8px;
}

.pix-info p {
    font-size: var(--text-sm);
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.pix-info .label {
    font-weight: 600;
    color: var(--primary-terracota);
}

.credit-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: var(--gradient-terracota);
    color: var(--white);
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(224, 122, 95, 0.25);
}

.credit-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.35);
}

.credit-card-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }

/* ===== LOCATIONS SECTION (card + map template) ===== */
.locations {
    background: var(--cream);
    position: relative;
    padding: 10rem 0;
}

.locations .section-subtitle {
    color: var(--primary-terracota);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.locations-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 0;
    margin-top: var(--space-block);
    min-height: 360px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(27, 59, 90, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Card esquerda: fundo terracota escuro para bom contraste com texto branco */
.location-info-card {
    background: linear-gradient(160deg, #B85A42 0%, #C76D52 35%, #9B5239 100%);
    color: var(--white);
    padding: 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.location-info-card .location-block-title,
.location-info-card .location-block-venue {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.location-info-card .location-block-time,
.location-info-card .location-block-address,
.location-info-card .location-block-city,
.location-info-card .location-block-link {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.location-info-card .location-divider-line {
    background: rgba(255, 255, 255, 0.5);
}
.location-info-card .location-divider-icon {
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}
.location-info-card .location-block-icon {
    background: rgba(255, 255, 255, 0.3);
}

.location-block {
    padding: 0.75rem 0;
}

.location-block:first-child { padding-top: 0; }

.location-block-header {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.location-block-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.location-block-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.location-block-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.1rem 0;
}

.location-block-time {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.location-block-venue {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.25rem 0;
}

.location-block-address,
.location-block-city {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.15rem 0;
}

.location-block-link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.location-block-link:hover {
    color: var(--white);
}

/* Divider horizontal com ícone no centro */
.location-divider-h {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    margin: 0.2rem 0;
}

.location-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.location-divider-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

.location-divider-icon svg {
    width: 16px;
    height: 16px;
}

/* Mapa à direita */
.location-map-wrap {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    background: var(--light-blue);
}

.location-map-panels {
    position: relative;
    flex: 1;
    min-height: 280px;
}

.location-map-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: none;
}

.location-map-panel--active {
    display: block;
}

.location-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: none;
    display: block;
}

.location-map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--cream);
}

.location-map-placeholder-text {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--primary-terracota);
    margin: 0;
}

.location-map-placeholder-sub {
    font-size: var(--text-base);
    color: var(--text-light);
    margin: 0;
}

/* Legenda abaixo do mapa */
.location-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    padding: 0.6rem 0.85rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.location-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-light);
    background: none;
    border: none;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    font-family: inherit;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.location-legend-item:hover {
    color: var(--primary-terracota);
}

.location-legend-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.location-legend-item--active {
    color: var(--primary-terracota);
    background: rgba(224, 122, 95, 0.12);
}

.location-legend-item--active svg {
    stroke: var(--primary-terracota);
}

/* ===== RSVP SECTION ===== */
.rsvp, .rsvp-igreja { background: var(--white); }

.rsvp-igreja {
    position: relative;
    padding: 10rem 0;
}

.igreja-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.igreja-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.igreja-content { position: relative; z-index: 10; }

.rsvp-igreja .container {
    position: relative;
    z-index: 20;
    text-align: center;
}

.rsvp-igreja h2 { color: #FFFFFF; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.rsvp-igreja p { color: #FFFFFF; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }
.rsvp-igreja .section-title { color: #FFFFFF; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.rsvp-igreja .section-title::after { background: #FFB5A7; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); }
.rsvp-igreja .section-subtitle { color: #E8F1F8; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }
.rsvp-igreja .info-text { color: #FFFFFF; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }
.rsvp-igreja .note-text { color: #FFB5A7; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
.rsvp-igreja .gift-text { color: #E8F1F8; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }

.rsvp-info {
    max-width: 560px;
    margin: var(--space-block) auto 0;
    text-align: center;
}

.rsvp-info .btn-large {
    display: inline-flex;
    width: auto;
    max-width: none;
    padding: 0.65rem 1.5rem;
    font-size: var(--text-base);
}

.info-text {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    text-align: center;
}

.note-text {
    font-size: var(--text-base);
    color: var(--secondary-terracota);
    font-weight: 500;
    text-align: center;
    margin: 1rem 0 0.75rem;
}

.gift-text {
    font-size: var(--text-base);
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.25rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    max-width: 280px;
    margin: 1rem auto;
    padding: 0.65rem 1.5rem;
    background: var(--gradient-terracota);
    color: var(--white);
    text-decoration: none;
    border-radius: 24px;
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.28);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-large svg { width: 20px; height: 20px; transition: transform 0.3s ease; }

.btn-large:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(224, 122, 95, 0.4);
    background: var(--secondary-terracota);
}

.btn-large:hover svg { transform: translateX(5px); }

/* ===== FOOTER ===== */
.footer {
    background: var(--cream);
    color: var(--text-dark);
    padding: var(--section-padding-y) 0 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-text {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-2xl);
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.footer-date {
    font-size: var(--text-md);
    color: var(--primary-terracota);
    margin-bottom: 1.25rem;
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-dark);
    margin: 0 auto 0.35rem;
    max-width: 420px;
    line-height: var(--leading-relaxed);
}

.footer-ref {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.footer-copy {
    color: var(--text-light);
    font-size: var(--text-sm);
}

/* ===== ANIMATION CLASSES ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 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; }

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

.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease; }
.reveal-up { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal-scale { opacity: 0; transform: scale(0.8); transition: all 0.8s ease; }
.reveal-text { opacity: 0; transition: all 0.8s ease; }

.reveal-left.active,
.reveal-right.active,
.reveal-up.active,
.reveal-scale.active,
.reveal-text.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-title { font-size: 3.5rem; }
    .about-content { flex-direction: column; }
    .about-card { flex: none; }
    .timeline-content::before { left: 20px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 50px; }
    .timeline-item:nth-child(odd) .time, .timeline-item:nth-child(even) .time { text-align: left; padding-right: 0; padding-left: 0; }
    .timeline-dot { left: 20px; }
    .event { width: 100%; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .countdown { flex-wrap: wrap; gap: 1rem; }
    .countdown-item { flex: 0 0 calc(50% - 0.5rem); padding: 1rem; min-width: auto; }
    .countdown-item span:first-child { font-size: 2rem; }
    .section-title { font-size: 2.2rem; }
    .btn-gold { padding: 0.8rem 2rem; font-size: 1rem; }
    .timeline-item { margin-bottom: 2rem; }
}

@media (max-width: 480px) {
    .countdown-item { flex: 0 0 100%; }
    .about-image { width: 150px; height: 150px; }
    .about-card h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .presents-grid { grid-template-columns: 1fr; gap: 2rem; }
    .locations-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .location-info-card {
        padding: 1.5rem 1.25rem;
    }
    .location-map-wrap { min-height: 320px; }
    .location-map-panel,
    .location-map-iframe,
    .location-map-placeholder { min-height: 280px; }
    .location-legend {
        gap: 1rem;
        padding: 0.75rem;
    }
    .location-legend-item { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .present-card { padding: 2rem 1.5rem; }
    .location-info-card { padding: 1.25rem 1rem; }
    .present-icon { width: 60px; height: 60px; }
    .present-icon svg { width: 30px; height: 30px; }
    .qr-code img { width: 120px; height: 120px; }
}
