:root {
    --container-pad: 18px;
    --bg-color: #f3e9df;
    --text-dark: #2c2c2c;
    --text-muted: #5a5a5a;
    --whatsapp-green: #25d366;
    --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    --brown-gradient: linear-gradient(135deg, #a68b6d 0%, #7a6148 100%);
    --gray-gradient: linear-gradient(135deg, #b8b8b8 0%, #6e6e6e 100%);
    --white-btn-bg: rgba(255, 255, 255, 0.9);
    --gold-accent: #d4af37;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);
    --shadow-mid: 0 14px 34px rgba(0, 0, 0, 0.12);
    --shadow-press: 0 8px 18px rgba(0, 0, 0, 0.10);
    --photo-position-y: 22%;
    --bg-pos-x: 50%;
    --bg-pos-y: 30%;
    --content-top: 56px;
    --content-bottom: 56px;
}

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

body {
    font-family: var(--font-sans);
    background:
        linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.65) 35%, rgba(10, 10, 10, 0.0) 70%),
        radial-gradient(900px 560px at 30% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.0) 60%),
        url("IMG_7637.webp");
    background-size: cover;
    background-position: var(--bg-pos-x) var(--bg-pos-y);
    background-repeat: no-repeat;
    color: #f2f2f2;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 520px;
    padding: var(--content-top) var(--container-pad) var(--content-bottom);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}

.hero-block {
    width: 100%;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.05;
}

.hero-subtitle {
    margin-top: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.95;
}

.brand-logo-wrapper {
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-mid);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-logo-text {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2a2a2a;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Content Typography */
.content {
    width: 100%;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
}

.title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 18px;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 34px;
    gap: 15px;
}

.subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.26), transparent);
    max-width: 80px;
}

/* Elegant Buttons */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 50px; /* Fully rounded for more modern elegance */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.btn-whatsapp {
    background: var(--whatsapp-gradient);
    color: #fff;
    box-shadow: 0 14px 34px rgba(18, 140, 126, 0.18);
}

.btn-whatsapp-red {
    background: #700E19;
    color: #fff;
    box-shadow: 0 14px 34px rgba(112, 14, 25, 0.18);
}

.btn-brown {
    background: var(--brown-gradient);
    color: #fff;
    box-shadow: 0 14px 34px rgba(122, 97, 72, 0.18);
}

.btn-gray {
    background: var(--gray-gradient);
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.btn-localizacao {
    background: #700E19;
    color: #fff;
    box-shadow: 0 14px 34px rgba(112, 14, 25, 0.18);
}

.btn-white {
    background: var(--white-btn-bg);
    color: #333;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-mid);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-press);
}

.icon {
    width: 18px;
    height: 18px;
}

.icon-img {
    filter: brightness(0) invert(1); /* Torna o ícone preto em branco */
    object-fit: contain;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-block, .title, .subtitle-wrapper, .btn {
    animation: fadeIn 0.8s ease forwards;
}

.title { animation-delay: 0.2s; }
.subtitle-wrapper { animation-delay: 0.35s; }
.btn:nth-child(1) { animation-delay: 0.5s; }
.btn:nth-child(2) { animation-delay: 0.6s; }
.btn:nth-child(3) { animation-delay: 0.7s; }
.btn:nth-child(4) { animation-delay: 0.8s; }

@media (max-width: 520px) {
    :root {
        --buttons-bottom: clamp(52px, 6vh, 96px);
    }

    .content {
        position: fixed;
        left: 50%;
        bottom: calc(var(--buttons-bottom) + env(safe-area-inset-bottom));
        transform: translateX(-50%);
        width: calc(100% - (var(--container-pad) * 2));
        max-width: 520px;
        z-index: 20;
    }

    .links-container {
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: none;
        z-index: auto;
    }
}
