:root {
    --contato-gold: #d7a33d;
    --contato-gold-light: #f0cf7a;
    --contato-burgundy: #57151b;
    --contato-burgundy-dark: #2d0b0f;
    --contato-text: #f5f1e8;
    --contato-muted: rgba(245, 241, 232, .72);
}

.contato-page {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 78px);
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Pequenas partículas decorativas */
.contato-page::before,
.contato-page::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(215, 163, 61, .12);
    border-radius: 50%;
    pointer-events: none;
}

.contato-page::before {
    top: 80px;
    left: -190px;
}

.contato-page::after {
    right: -190px;
    bottom: 120px;
}

.contato-hero {
    text-align: center;
    max-width: 760px;
    animation: contatoReveal .9s ease both;
}

.contato-eyebrow {
    margin: 0 0 13px;
    color: var(--contato-gold);
    font-family: Montserrat, Arial, sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .28em;
    opacity: .9;
}

.contato-hero h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    font-weight: 400;
}

.contato-hero h1 span {
    color: var(--contato-gold-light);
}

.contato-line {
    width: 76px;
    height: 1px;
    margin: 25px auto 22px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--contato-gold),
        transparent
    );
}

.contato-intro {
    max-width: 590px;
    margin: 0 auto;
    color: var(--contato-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

/* Símbolo animado */
.contato-symbol {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 27px;
    display: grid;
    place-items: center;
}

.symbol-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(215, 163, 61, .45);
    border-radius: 50%;
}

.ring-outer {
    animation: rotateRing 15s linear infinite;
}

.ring-inner {
    inset: 9px;
    border-style: dashed;
    border-color: rgba(215, 163, 61, .35);
    animation: rotateRingReverse 11s linear infinite;
}

.symbol-icon {
    position: relative;
    z-index: 2;
    color: var(--contato-gold-light);
    font-size: 25px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(215, 163, 61, .45);
}

/* Cartão principal */
.contato-card {
    position: relative;
    width: min(820px, 100%);
    margin-top: 48px;
    padding: 52px 60px;
    display: flex;
    align-items: center;
    gap: 34px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(104, 25, 31, .94), rgba(39, 10, 14, .97));
    border: 1px solid rgba(215, 163, 61, .45);
    border-radius: 10px;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, .38),
        inset 0 0 45px rgba(215, 163, 61, .035);
    animation: contatoReveal 1s .15s ease both;
}

.contato-card:hover {
    border-color: rgba(240, 207, 122, .7);
}

.card-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    top: 50%;
    left: 15%;
    transform: translate(-50%, -50%);
    background: rgba(215, 163, 61, .08);
    filter: blur(55px);
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

.card-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215, 163, 61, .58);
    border-radius: 50%;
    background: rgba(22, 6, 8, .34);
    box-shadow: 0 0 28px rgba(215, 163, 61, .1);
}

.card-icon span {
    color: var(--contato-gold-light);
    font-size: 31px;
    text-shadow: 0 0 18px rgba(240, 207, 122, .4);
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.card-label {
    margin: 0 0 8px;
    color: var(--contato-gold);
    font-family: Montserrat, Arial, sans-serif;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .24em;
}

.email-link {
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 600;
    text-decoration: none;
    transition: color .25s ease, text-shadow .25s ease;
}

.email-link:hover {
    color: var(--contato-gold-light);
    text-shadow: 0 0 18px rgba(240, 207, 122, .28);
}

.card-text {
    margin: 9px 0 0;
    color: var(--contato-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: .95rem;
}

.card-decoration {
    position: absolute;
    width: 95px;
    height: 95px;
    border: 1px solid rgba(215, 163, 61, .12);
    transform: rotate(45deg);
    pointer-events: none;
}

.decoration-left {
    left: -58px;
    bottom: -58px;
}

.decoration-right {
    right: -58px;
    top: -58px;
}

.contato-reflection {
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 17px;
    color: rgba(245, 241, 232, .48);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .95rem;
    font-style: italic;
    animation: contatoReveal 1s .3s ease both;
}

.contato-reflection p {
    margin: 0;
}

.reflection-mark {
    color: rgba(215, 163, 61, .7);
    font-size: .75rem;
}

/* Animações */
@keyframes contatoReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes glowPulse {
    0%, 100% {
        opacity: .55;
        transform: translate(-50%, -50%) scale(.9);
    }
    50% {
        opacity: .95;
        transform: translate(-50%, -50%) scale(1.12);
    }
}

@media (max-width: 700px) {
    .contato-page {
        width: min(100% - 28px, 1050px);
        padding-top: 45px;
    }

    .contato-eyebrow {
        font-size: .58rem;
        letter-spacing: .18em;
    }

    .contato-intro {
        font-size: .92rem;
    }

    .contato-card {
        padding: 38px 25px;
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }

    .card-content {
        text-align: center;
    }

    .email-link {
        font-size: 1.08rem;
        overflow-wrap: anywhere;
    }

    .contato-reflection {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contato-symbol *,
    .card-glow,
    .contato-hero,
    .contato-card,
    .contato-reflection {
        animation: none !important;
    }
}
