* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    color: #5F4F32;
    font-family: 'Inter', sans-serif;
    background: #FBF8F0 url('../ChatGPT Image 8 de mai. de 2026, 14_28_11.png') center top / cover no-repeat;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(251, 248, 240, 0) 0%, rgba(251, 248, 240, 0.10) 44%, rgba(251, 248, 240, 0.72) 72%, rgba(251, 248, 240, 0.88) 100%),
        radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.72), transparent 34%);
}

.links-page {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px 20px clamp(46px, 9vh, 92px);
}

.go-signature {
    display: inline-flex;
    margin-top: 2px;
    opacity: 0.74;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.go-signature:hover,
.go-signature:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
    outline: none;
}

.go-signature img {
    width: 68px;
    height: auto;
    display: block;
}

.links-panel {
    width: min(390px, 100%);
    display: grid;
    justify-items: center;
    gap: 20px;
}

.links-brand-logo {
    width: min(230px, 72vw);
    height: auto;
    display: block;
    opacity: 0.92;
}

.links-actions {
    width: 100%;
    display: grid;
    gap: 12px;
}

.links-button {
    width: 100%;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border: 1px solid rgba(122, 101, 61, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #5F4F32;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 18px 44px rgba(64, 53, 34, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.links-button:hover,
.links-button:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(122, 101, 61, 0.40);
    box-shadow: 0 22px 52px rgba(64, 53, 34, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    outline: none;
}

.links-button-primary {
    background: linear-gradient(135deg, #403522 0%, #7A653D 100%);
    border-color: rgba(64, 53, 34, 0.22);
    color: #F8F1E3;
    box-shadow: 0 18px 48px rgba(64, 53, 34, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.links-button-primary:hover,
.links-button-primary:focus-visible {
    background: linear-gradient(135deg, #4C402A 0%, #8B7448 100%);
    border-color: rgba(64, 53, 34, 0.32);
}

.wa-window {
    position: fixed;
    left: 50%;
    bottom: clamp(18px, 4vh, 36px);
    width: min(390px, calc(100vw - 32px));
    max-height: calc(100svh - 36px);
    background: rgba(251, 248, 240, 0.94);
    border: 1px solid rgba(122, 101, 61, 0.20);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(64, 53, 34, 0.20), 0 0 42px rgba(184, 154, 94, 0.10);
    overflow: hidden;
    z-index: 20;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(18px);
}

.wa-header {
    background: linear-gradient(135deg, rgba(122, 101, 61, 0.12), rgba(255, 255, 255, 0.72));
    color: #403522;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(122, 101, 61, 0.14);
}

.wa-header span {
    display: block;
    color: rgba(95, 79, 50, 0.72);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.wa-header strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 500;
}

.wa-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(122, 101, 61, 0.16);
    color: rgba(64, 53, 34, 0.78);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.wa-body {
    max-height: calc(100svh - 142px);
    padding: 16px;
    overflow-y: auto;
    background: radial-gradient(circle at top right, rgba(184, 154, 94, 0.10), transparent 45%);
}

.wa-body p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: rgba(64, 53, 34, 0.62);
}

.wa-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 9px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(122, 101, 61, 0.14);
    border-radius: 15px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    color: rgba(64, 53, 34, 0.86);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.wa-option::after {
    content: '>';
    color: rgba(122, 101, 61, 0.74);
    margin-left: 10px;
}

.wa-option:last-child {
    margin-bottom: 0;
}

.wa-option:hover,
.wa-option:focus-visible {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(122, 101, 61, 0.28);
    transform: translateX(3px);
    outline: none;
}

@media (max-height: 720px) {
    .links-page {
        padding-bottom: 28px;
    }

    .links-button {
        min-height: 50px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 420px) {
    .links-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .links-button {
        font-size: 12px;
        letter-spacing: 0.05em;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
