/* POLECI — layout global */
:root {
    --poleci-navy: #121831;
    --poleci-gold: #b89843;
    --poleci-gold-soft: rgba(184, 152, 67, 0.22);
    --poleci-white: #ffffff;
    --poleci-cream: #f7f6f3;
    --poleci-muted: #5c6478;
    --poleci-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --poleci-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body.poleci-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--poleci-sans);
    font-weight: 400;
    line-height: 1.55;
    color: var(--poleci-navy);
    background: var(--poleci-cream);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(184, 152, 67, 0.07), transparent 55%),
        radial-gradient(ellipse 90% 60% at 100% 100%, rgba(18, 24, 49, 0.04), transparent 50%);
}

a {
    color: var(--poleci-navy);
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

a:hover,
a:focus {
    color: var(--poleci-gold);
}

.poleci-main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 3vw, 1.5rem) clamp(2rem, 5vw, 3.5rem);
}

/* Rodapé */
.poleci-footer {
    flex-shrink: 0;
    padding: 1.25rem 1.5rem 1.75rem;
    text-align: center;
    background: var(--poleci-white);
    border-top: 1px solid rgba(18, 24, 49, 0.06);
}

.poleci-footer__line {
    display: block;
    width: 3rem;
    height: 2px;
    margin: 0 auto 0.85rem;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--poleci-gold), transparent);
}

.poleci-footer__text {
    margin: 0;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    color: var(--poleci-muted);
}

/* Flash */
.poleci-main .message {
    padding: 0.85rem 1.1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--poleci-sans);
}

.poleci-main .message.success {
    background: #f0faf3;
    border-color: #b8e0c8;
    color: #1a5c2e;
}

.poleci-main .message.error {
    background: #fdf2f2;
    border-color: #f0c4c4;
    color: #8b1a1a;
}

.poleci-main .message.warning {
    background: #fffbf0;
    border-color: #edd9a8;
    color: #6b5a1a;
}

.poleci-main .message.info,
.poleci-main .message.notice {
    background: #f4f8fc;
    border-color: #c5d8eb;
    color: #1a4a6e;
}

.poleci-main .message.hidden {
    display: none;
}

/* Home — box da logo + mensagem */
.site-home {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: min(calc(100vh - 10rem), 760px);
}

.site-home__intro {
    width: 100%;
    max-width: 34rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.75rem, 4vw, 2.5rem);
}

.site-home__box {
    position: relative;
    width: 100%;
    padding: 3px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(184, 152, 67, 0.55) 0%,
        rgba(18, 24, 49, 0.18) 45%,
        rgba(184, 152, 67, 0.35) 100%
    );
    box-shadow:
        0 24px 48px rgba(18, 24, 49, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.site-home__box-shine {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.45) 0%,
        transparent 42%,
        transparent 58%,
        rgba(255, 255, 255, 0.08) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.site-home__box-inner {
    position: relative;
    z-index: 2;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.25rem);
    border-radius: 21px;
    background: var(--poleci-white);
    border: 1px solid rgba(18, 24, 49, 0.05);
}

.site-home__logo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.site-home__copy {
    text-align: center;
    max-width: 28rem;
    padding: 0 0.25rem;
}

.site-home__lead {
    margin: 0 0 1.35rem;
    font-family: var(--poleci-serif);
    font-size: clamp(1.25rem, 2.8vw, 1.55rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
    color: var(--poleci-navy);
    letter-spacing: 0.01em;
}

.site-home__pill {
    display: inline-block;
    padding: 0.45rem 1.15rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--poleci-gold);
    background: rgba(184, 152, 67, 0.1);
    border: 1px solid var(--poleci-gold-soft);
    border-radius: 999px;
}

.site-home__contact {
    margin: 1.75rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--poleci-sans);
}

.site-home__contact-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--poleci-muted);
}

.site-home__contact-email {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--poleci-navy);
}

.site-home__contact-link {
    display: inline-block;
    padding: 0.35rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--poleci-navy);
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-home__contact-link:hover,
.site-home__contact-link:focus {
    color: var(--poleci-gold);
    border-bottom-color: var(--poleci-gold);
    transform: translateY(-1px);
}

/* Erros */
.poleci-main--error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52vh;
}

.poleci-error {
    max-width: 36rem;
    text-align: center;
    padding: 2rem 1rem;
}

.poleci-error h1,
.poleci-error h2 {
    font-family: var(--poleci-sans);
    color: var(--poleci-navy);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.poleci-error p {
    color: var(--poleci-muted);
    font-family: var(--poleci-sans);
}

.poleci-error__back {
    margin-top: 1.5rem;
    font-family: var(--poleci-sans);
}

.poleci-error__back a {
    font-weight: 600;
    color: var(--poleci-gold);
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

.poleci-error__back a:hover {
    color: var(--poleci-navy);
}
