:root {
    --brand-gold: #c6a45b;
    --brand-deep: #7a5333;
    --brand-cream: #f7f2e8;
    --brand-ink: #2f2a26;
    --brand-soft: #8f8377;
}

body {
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #faf7f2 0%, #ffffff 40%, #faf7f2 100%);
    color: var(--brand-ink);
}

.hero {
    /* fill the full device viewport height using a CSS variable set by JS for mobile browsers */
    height: calc(var(--vh, 1vh) * 100);
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 12, 9, 0.1) 0%, rgba(16, 12, 9, 0.75) 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 4rem 0 5rem;
    transform: translateY(6vh);
}

@media (max-width: 576px) {
    .hero-content {
        padding: 3rem 0 4rem;
        transform: translateY(4vh);
    }
}

/* Ajustes do texto do hero: reduzir levemente a fonte e usar mais largura */
.hero-content p,
.hero-content .lead {
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    line-height: 1.65;
    max-width: min(980px, 94vw);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (min-width: 1200px) {
    .hero-content p,
    .hero-content .lead {
        font-size: 1.05rem;
    }
}

/* Scroll indicator (arrow) - increased visibility */
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255,255,255,0.98);
    border: 2px solid var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(31, 26, 23, 0.35);
}
.scroll-indicator:hover { transform: translateX(-50%) translateY(-6px); background: #ffffff; box-shadow: 0 12px 30px rgba(31,26,23,0.45); }
.scroll-indicator .chev {
    width: 12px;
    height: 12px;
    border-left: 2px solid var(--brand-deep);
    border-bottom: 2px solid var(--brand-deep);
    transform: rotate(-45deg);
    display: inline-block;
    animation: bounce 1.6s infinite;
    opacity: 1;
}

@keyframes bounce {
    0% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(8px); }
    100% { transform: rotate(-45deg) translateY(0); }
}

@media (max-width: 576px) {
    .scroll-indicator { bottom: 20px; width: 48px; height: 48px; }
    .scroll-indicator .chev { width:11px; height:11px; }
}

.couple-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 6vw, 4.5rem);
    letter-spacing: 0.04em;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtitle-chip {
    display: inline-block;
    background: rgba(198, 164, 91, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtext {
    color: var(--brand-soft);
    max-width: 760px;
    margin: 0 auto;
}

.countdown-box {
    background: #fff;
    border: 1px solid #efe5d5;
    border-radius: 1rem;
    box-shadow: 0 14px 35px rgba(106, 82, 53, 0.12);
}

#contador {
    color: var(--brand-gold);
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
}

.soft-card {
    background: #fff;
    border: 1px solid #f0e8dd;
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(90, 71, 46, 0.08);
}

.gift-card {
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gift-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(90, 71, 46, 0.16);
}

.gift-card .gift-image {
    height: 220px;
    object-fit: contain;
    background: #f8f4ee;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.pix-box {
    background: radial-gradient(circle at top right, #fff6df 0%, #fff 55%);
    border: 1px solid #f0dfbe;
}

.pix-box img {
    border-radius: 0.75rem;
    border: 1px solid #efe5d5;
    background: #fff;
}

.form-control,
.form-select {
    border-color: #d8cfc2;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 0.2rem rgba(198, 164, 91, 0.2);
}

.btn-brand {
    background: var(--brand-gold);
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-brand:hover {
    background: #b38f44;
    color: #fff;
}

.btn-outline-brand {
    border: 1px solid var(--brand-gold);
    color: var(--brand-deep);
    font-weight: 600;
}

.btn-outline-brand:hover {
    background: var(--brand-gold);
    color: #fff;
}

.footer-note {
    color: #9a8e82;
    font-size: 0.95rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 { animation-delay: 0.15s; }
.fade-up.delay-2 { animation-delay: 0.3s; }
.fade-up.delay-3 { animation-delay: 0.45s; }

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

/* Recepção */
.reception-section {
    background: linear-gradient(180deg, #ffffff 0%, #fbf7f2 100%);
}
.reception-card {
    position: relative;
    overflow: hidden;
}
.reception-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at center, rgba(198,164,91,0.12), transparent 50%);
    transform: rotate(25deg);
    pointer-events: none;
}
.reception-time {
    color: var(--brand-deep);
    font-size: 1.05rem;
    font-style: italic;
}

@media (max-width: 576px) {
    .reception-card::after { display: none; }
}
