/* ============================================================
   EIA — Página temporária
   Estrutura simples e sem dependências para facilitar a evolução.
   ============================================================ */

/* 1. Reset ---------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body,
h1,
p {
    margin: 0;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* 2. Variables ------------------------------------------------ */
:root {
    --eia-blue: #08377D;
    --eia-blue-dark: #041D43;
    --eia-blue-deep: #021329;
    --eia-gold: #ECAF2A;
    --eia-white: #FFFFFF;
    --eia-off-white: #F7F9FC;
    --eia-text: #162033;
    --eia-muted: #718096;
    --eia-line: rgba(8, 55, 125, 0.12);
    --eia-line-strong: rgba(8, 55, 125, 0.22);
    --eia-gold-soft: rgba(236, 175, 42, 0.14);

    --page-max: 1440px;
    --page-padding: clamp(24px, 5vw, 78px);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3. Base ----------------------------------------------------- */
body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--eia-text);
    background:
        radial-gradient(circle at 82% 22%, rgba(8, 55, 125, 0.06), transparent 34%),
        radial-gradient(circle at 68% 76%, rgba(236, 175, 42, 0.055), transparent 30%),
        linear-gradient(180deg, #FFFFFF 0%, var(--eia-off-white) 100%);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.38;
    background-image:
        linear-gradient(rgba(8, 55, 125, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 55, 125, 0.026) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to right, transparent 0%, #000 48%, #000 100%);
}

::selection {
    color: var(--eia-white);
    background: var(--eia-blue);
}

/* 4. Layout --------------------------------------------------- */
.page-shell {
    width: min(100%, var(--page-max));
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 var(--page-padding);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

/* 5. Header --------------------------------------------------- */
.site-header {
    min-height: 124px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 24px 0;
    animation: reveal 0.8s var(--ease-premium) both;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: clamp(90px, 8.5vw, 122px);
    flex: 0 0 auto;
}

.brand img {
    width: 100%;
    height: auto;
}

.product-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 15px;
    color: var(--eia-muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(8, 55, 125, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(4, 29, 67, 0.045);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.085em;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-status strong {
    color: var(--eia-blue);
    font-weight: 750;
}

.product-status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--eia-gold);
    box-shadow: 0 0 0 0 var(--eia-gold-soft);
    animation: statusPulse 3s ease-in-out infinite;
}

.product-status__divider {
    color: rgba(8, 55, 125, 0.32);
}

/* 6. Hero ----------------------------------------------------- */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
    align-items: center;
    gap: clamp(52px, 7vw, 104px);
    padding: clamp(32px, 5vh, 68px) 0 clamp(56px, 8vh, 92px);
}

.hero__content {
    max-width: 710px;
    animation: reveal 0.95s 0.08s var(--ease-premium) both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--eia-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--eia-gold);
}

h1 {
    max-width: 760px;
    color: var(--eia-blue-deep);
    font-size: clamp(44px, 5.2vw, 78px);
    font-weight: 690;
    letter-spacing: -0.052em;
    line-height: 0.98;
}

h1 span {
    display: block;
    margin-top: 10px;
    color: var(--eia-blue);
}

.hero__lead {
    max-width: 660px;
    margin-top: 31px;
    color: #4B5B70;
    font-size: clamp(17px, 1.34vw, 20px);
    font-weight: 430;
    line-height: 1.72;
}

.hero__principles {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 22px;
    margin-top: 26px;
    color: var(--eia-blue-dark);
    font-size: 12px;
    font-weight: 720;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.hero__principles span {
    position: relative;
}

.hero__principles span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -13px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--eia-gold);
    transform: translateY(-50%);
}

.build-note {
    display: flex;
    align-items: stretch;
    gap: 17px;
    max-width: 530px;
    margin-top: 42px;
    padding-top: 2px;
}

.build-note__line {
    display: block;
    width: 2px;
    min-height: 46px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--eia-gold), rgba(236, 175, 42, 0.14));
}

.build-note strong {
    display: block;
    color: var(--eia-blue-dark);
    font-size: 14px;
    font-weight: 730;
    line-height: 1.45;
}

.build-note p {
    margin-top: 5px;
    color: var(--eia-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* 7. Visual intelligence ------------------------------------- */
.intelligence {
    position: relative;
    isolation: isolate;
    width: min(100%, 570px);
    aspect-ratio: 1 / 0.92;
    justify-self: end;
    animation: reveal 1.05s 0.18s var(--ease-premium) both;
}

.intelligence::before {
    content: "";
    position: absolute;
    inset: 5% 0 1% 5%;
    z-index: -3;
    border: 1px solid rgba(8, 55, 125, 0.06);
    border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%;
    transform: rotate(-8deg);
}

.intelligence::after {
    content: "";
    position: absolute;
    inset: 15% 8% 13% 17%;
    z-index: -4;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 55, 125, 0.085), rgba(8, 55, 125, 0.025) 38%, transparent 69%);
    filter: blur(2px);
}

.intelligence__halo {
    position: absolute;
    z-index: -2;
    border: 1px solid rgba(8, 55, 125, 0.09);
    border-radius: 50%;
}

.intelligence__halo--one {
    inset: 19% 14% 17% 19%;
    transform: rotate(17deg);
}

.intelligence__halo--two {
    inset: 31% 24% 27% 29%;
    border-color: rgba(236, 175, 42, 0.12);
    transform: rotate(-11deg);
}

.signal {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--eia-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.signal__node {
    width: 10px;
    height: 10px;
    border: 2px solid rgba(8, 55, 125, 0.24);
    border-radius: 50%;
    background: var(--eia-white);
    box-shadow: 0 0 0 7px rgba(8, 55, 125, 0.03);
}

.signal--information {
    top: 17%;
    left: 8%;
}

.signal--context {
    top: 42%;
    left: 0;
}

.signal--decision {
    bottom: 20%;
    left: 13%;
}

.flow-line {
    position: absolute;
    z-index: -1;
    left: 19%;
    width: 42%;
    height: 20%;
    border-top: 1px solid var(--eia-line-strong);
    border-radius: 50%;
    transform-origin: right center;
}

.flow-line::after {
    content: "";
    position: absolute;
    top: -2px;
    right: 4%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--eia-blue);
    box-shadow: 0 0 0 6px rgba(8, 55, 125, 0.06);
}

.flow-line--one {
    top: 25%;
    transform: rotate(13deg);
}

.flow-line--two {
    top: 45%;
    width: 46%;
    transform: rotate(-2deg);
}

.flow-line--three {
    top: 63%;
    width: 42%;
    transform: rotate(-16deg);
}

.direction-core {
    position: absolute;
    top: 50%;
    left: 59%;
    width: 174px;
    height: 174px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid rgba(8, 55, 125, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
        0 28px 70px rgba(4, 29, 67, 0.08),
        inset 0 0 0 12px rgba(8, 55, 125, 0.016);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    transform: translate(-50%, -50%);
}

.direction-core::before {
    content: "";
    position: absolute;
    inset: -17px;
    border: 1px dashed rgba(8, 55, 125, 0.13);
    border-radius: 50%;
    animation: rotateSlow 26s linear infinite;
}

.direction-core::after {
    content: "";
    position: absolute;
    inset: -35px;
    border: 1px solid rgba(8, 55, 125, 0.05);
    border-radius: 50%;
}

.direction-core small,
.result-label small {
    display: block;
    color: var(--eia-muted);
    font-size: 9px;
    font-weight: 760;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.direction-core strong {
    display: block;
    margin-top: 5px;
    color: var(--eia-blue);
    font-size: 25px;
    font-weight: 720;
    letter-spacing: -0.035em;
}

.direction-core__pulse {
    position: absolute;
    top: 25px;
    right: 35px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--eia-gold);
    box-shadow: 0 0 0 0 var(--eia-gold-soft);
    animation: corePulse 2.8s ease-out infinite;
}

.direction-core__mark {
    position: absolute;
    left: 50%;
    bottom: 27px;
    width: 32px;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(8, 55, 125, 0.10);
    transform: translateX(-50%);
}

.direction-core__mark::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    border-radius: inherit;
    background: var(--eia-gold);
    animation: directionMove 2.7s ease-in-out infinite;
}

.result-path {
    position: absolute;
    top: 49%;
    right: 1%;
    width: 28%;
    height: 24%;
    overflow: hidden;
    border-top: 1px solid rgba(8, 55, 125, 0.24);
    border-radius: 0 100% 0 0;
    transform: rotate(12deg);
}

.result-path::before {
    content: "";
    position: absolute;
    top: -4px;
    right: 2px;
    width: 9px;
    height: 9px;
    border-top: 1px solid var(--eia-blue);
    border-right: 1px solid var(--eia-blue);
    transform: rotate(32deg);
}

.result-path span {
    position: absolute;
    top: -3px;
    left: 8%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--eia-gold);
    box-shadow: 0 0 0 7px var(--eia-gold-soft);
    animation: travel 4.5s ease-in-out infinite;
}

.result-label {
    position: absolute;
    top: 68%;
    right: 1%;
    text-align: right;
}

.result-label strong {
    display: block;
    margin-top: 4px;
    color: var(--eia-blue-dark);
    font-size: 16px;
    font-weight: 730;
}

.orbit-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(8, 55, 125, 0.35);
}

.orbit-dot--one {
    top: 15%;
    right: 28%;
    animation: floatDot 4.3s ease-in-out infinite;
}

.orbit-dot--two {
    right: 13%;
    bottom: 24%;
    width: 4px;
    height: 4px;
    background: var(--eia-gold);
    animation: floatDot 5.2s 0.8s ease-in-out infinite;
}

.orbit-dot--three {
    bottom: 9%;
    left: 44%;
    width: 3px;
    height: 3px;
    animation: floatDot 5.7s 0.3s ease-in-out infinite;
}

/* 8. Footer --------------------------------------------------- */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 98px;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(8, 55, 125, 0.075);
    color: var(--eia-muted);
    font-size: 11px;
    line-height: 1.5;
    animation: reveal 0.9s 0.28s var(--ease-premium) both;
}

.site-footer > p {
    max-width: 620px;
}

.site-footer__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    white-space: nowrap;
}

.site-footer__meta span + span {
    position: relative;
    padding-left: 20px;
}

.site-footer__meta span + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--eia-gold);
    transform: translateY(-50%);
}

/* 9. Animations ---------------------------------------------- */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 175, 42, 0.18);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(236, 175, 42, 0);
    }
}

@keyframes corePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 175, 42, 0.22);
    }
    70%, 100% {
        box-shadow: 0 0 0 14px rgba(236, 175, 42, 0);
    }
}

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

@keyframes directionMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes travel {
    0%, 10% {
        left: 8%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    90%, 100% {
        left: 89%;
        opacity: 0;
    }
}

@keyframes floatDot {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.45;
    }
    50% {
        transform: translate3d(3px, -8px, 0);
        opacity: 1;
    }
}

/* 10. Responsive --------------------------------------------- */
@media (max-width: 1080px) {
    .page-shell {
        width: 100%;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 42px;
    }

    .hero__content {
        max-width: 820px;
    }

    .intelligence {
        width: min(100%, 620px);
        justify-self: center;
        margin-top: 8px;
    }

    h1 {
        max-width: 850px;
        font-size: clamp(48px, 7vw, 76px);
    }

    .site-footer {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    :root {
        --page-padding: 22px;
    }

    body::before {
        background-size: 42px 42px;
        mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 100%);
    }

    .site-header {
        min-height: 98px;
        align-items: flex-start;
        padding: 20px 0;
    }

    .brand {
        width: 82px;
    }

    .product-status {
        min-height: 34px;
        gap: 7px;
        padding: 0 11px;
        font-size: 9px;
        letter-spacing: 0.06em;
    }

    .product-status__divider,
    .product-status > span:nth-child(2) {
        display: none;
    }

    .hero {
        gap: 26px;
        padding: 38px 0 54px;
    }

    .eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 0.13em;
    }

    .eyebrow::before {
        width: 25px;
    }

    h1 {
        font-size: clamp(42px, 12.2vw, 58px);
        line-height: 1.01;
        letter-spacing: -0.048em;
    }

    h1 span {
        margin-top: 8px;
    }

    .hero__lead {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.68;
    }

    .hero__principles {
        gap: 9px 18px;
        margin-top: 21px;
        font-size: 10px;
    }

    .hero__principles span:not(:last-child)::after {
        right: -11px;
    }

    .build-note {
        margin-top: 33px;
    }

    .intelligence {
        width: min(100%, 500px);
        margin: 6px auto 0;
    }

    .direction-core {
        width: 144px;
        height: 144px;
    }

    .direction-core strong {
        font-size: 21px;
    }

    .direction-core__pulse {
        top: 20px;
        right: 29px;
    }

    .direction-core__mark {
        bottom: 22px;
    }

    .signal {
        gap: 7px;
        font-size: 8px;
    }

    .signal__node {
        width: 8px;
        height: 8px;
        box-shadow: 0 0 0 5px rgba(8, 55, 125, 0.03);
    }

    .result-label strong {
        font-size: 13px;
    }

    .result-label small,
    .direction-core small {
        font-size: 7px;
    }

    .site-footer {
        flex-direction: column;
        gap: 14px;
        min-height: 0;
        padding: 24px 0 28px;
    }

    .site-footer__meta {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px 16px;
        text-align: left;
        white-space: normal;
    }

    .site-footer__meta span + span {
        padding-left: 16px;
    }
}

@media (max-width: 430px) {
    .site-header {
        gap: 14px;
    }

    .product-status {
        font-size: 8px;
    }

    h1 {
        font-size: clamp(39px, 11.8vw, 50px);
    }

    .hero__principles {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
    }

    .hero__principles span::after {
        display: none;
    }

    .intelligence {
        width: 108%;
        margin-left: -4%;
    }

    .signal--information {
        left: 6%;
    }

    .signal--context {
        left: 0;
    }

    .signal--decision {
        left: 10%;
    }

    .result-label {
        right: 0;
    }
}

/* 11. Accessibility ------------------------------------------ */
a:focus-visible {
    outline: 3px solid rgba(236, 175, 42, 0.42);
    outline-offset: 5px;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
