@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ═══════════════════════════════════════════
   VARIÁVEIS GLOBAIS
═══════════════════════════════════════════ */
:root {
    --aqua:        hsl(160, 84%, 50%);
    --aqua-dim:    hsl(160, 60%, 35%);
    --aqua-glow:   hsl(160, 100%, 65%);
    --teal:        hsl(180, 80%, 45%);
    --bg:          #000000;
    --fg:          #f0f0f0;
    --fg-muted:    #86868680;
    --grey:        #757474;
    --border:      rgba(127, 255, 212, 0.18);
    --font-display: 'Krona One', sans-serif;
    --font-body:    'Montserrat', sans-serif;
    --font-nav:     'Roboto Condensed', sans-serif;
    --font-mono:    'Space Mono', monospace;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* ═══════════════════════════════════════════
   CURSOR PERSONALIZADO
═══════════════════════════════════════════ */
body { cursor: none; }

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    will-change: transform;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--aqua);
    margin: -3px 0 0 -3px;
    transition: background .2s;
}
.cursor-ring {
    width: 32px; height: 32px;
    border: 1.5px solid var(--aqua);
    margin: -16px 0 0 -16px;
    opacity: .6;
    transition: width .3s, height .3s, opacity .3s, border-color .3s;
}
.cursor-ring.ring-hover {
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    opacity: 1;
    border-color: var(--aqua-glow);
}

/* ═══════════════════════════════════════════
   FUNDO: GRID TÉCNICO + SCANLINE
═══════════════════════════════════════════ */
body {
    background-color: var(--bg);
    color: var(--fg);
    font-size: 32px;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.grid-overlay {
    position: fixed;
    inset: -40px;
    background-image:
        linear-gradient(rgba(127,255,212,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127,255,212,.045) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    transition: transform .08s linear;
}

.scanline {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--aqua), transparent);
    opacity: .18;
    animation: scan 5s linear infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes scan {
    0%   { top: -4px; }
    100% { top: 100vh; }
}

/* ═══════════════════════════════════════════
   REVEAL SYSTEM
═══════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transition: opacity .75s cubic-bezier(.25,.46,.45,.94),
                transform .75s cubic-bezier(.25,.46,.45,.94);
}
[data-reveal="fade-up"]    { transform: translateY(36px); }
[data-reveal="fade-down"]  { transform: translateY(-24px); }
[data-reveal="fade-right"] { transform: translateX(-30px); }
[data-reveal="fade-left"]  { transform: translateX(30px); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0);
}

/* ═══════════════════════════════════════════
   CABEÇALHO
═══════════════════════════════════════════ */
header {
    position: relative;
    z-index: 10;
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 7% 0;
    margin-bottom: 72px;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--fg);
    letter-spacing: .04em;
}
.logo-dot { color: var(--aqua); }

.nav-links {
    display: flex;
    gap: 40px;
}

.container-links a {
    font-size: 16px;
    color: var(--aqua);
    font-family: var(--font-nav);
    letter-spacing: .08em;
    text-transform: uppercase;
    position: relative;
}
.container-links {
    position: relative;
    transition: all .3s cubic-bezier(.4,0,.2,1);
}
.container-links::after {
    content: "";
    position: absolute;
    bottom: -.2rem; left: 0;
    height: 1px; width: 0;
    background: var(--aqua);
    transition: width .3s cubic-bezier(.4,0,.2,1);
}
.container-links:hover::after { width: 100%; }
.container-links a:hover      { color: var(--grey); }

/* ═══════════════════════════════════════════
   CORPO PRINCIPAL
═══════════════════════════════════════════ */
.container-apresentacao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1260px;
    padding: 0 40px 0 10%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* ─── Seção 1: textos ─── */
.container-section1 {
    width: 52%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* linha técnica decorativa */
.tech-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--aqua-dim);
    letter-spacing: .12em;
    margin-bottom: 20px;
}
.tech-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--aqua);
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
    0%,100% { opacity: 1; }
    50%      { opacity: .2; }
}
.tech-status {
    color: var(--aqua);
    font-size: 10px;
    letter-spacing: .18em;
}

/* título */
.title-style {
    font-size: clamp(30px, 3.5vw, 50px);
    font-family: var(--font-display);
    line-height: 1.18;
    margin-bottom: 28px;
    position: relative;
}

/* texto gradiente do título */
.destaque-titulo {
    display: inline;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, var(--aqua) 0%, var(--teal) 100%);
    position: relative;
}
/* brilho percorrendo o título */
.destaque-titulo::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg,
        transparent 0%,
        rgba(127,255,212,.55) 40%,
        rgba(127,255,212,.55) 50%,
        transparent 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shimmer 4s ease-in-out infinite 2s;
}
@keyframes shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* destaque nome */
.name-highlight {
    color: var(--fg);
    font-weight: 700;
}

/* seção 2: subtítulo */
.container-section2 {
    font-size: clamp(16px, 1.6vw, 22px);
    font-family: var(--font-body);
    line-height: 1.65;
    color: rgba(240,240,240,.8);
    margin-bottom: 36px;
}
.destaque-especialidades {
    display: inline;
    font-size: clamp(14px, 1.5vw, 20px);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, var(--aqua) 0%, var(--teal) 100%);
    font-weight: 700;
}
.closing-line {
    margin-top: 10px;
    opacity: .75;
}

/* ─── Seção 3: redes sociais ─── */
.container-section3 {
    display: flex;
    gap: 0;
    align-items: center;
}

/* base comum para todos os links sociais */
.container-instagram a,
.container-github a,
.container-linkedin a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-nav);
    font-size: 15px;
    letter-spacing: .06em;
    color: var(--aqua);
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-right: 10px;
    transition: color .25s, border-color .25s, background .25s, transform .2s;
    position: relative;
    overflow: hidden;
}
/* linha de brilho ao hover */
.container-instagram a::before,
.container-github a::before,
.container-linkedin a::before {
    content: '';
    position: absolute;
    left: -60%;
    top: 0; bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(127,255,212,.14), transparent);
    transform: skewX(-15deg);
    transition: left .4s ease;
}
.container-instagram a:hover::before,
.container-github a:hover::before,
.container-linkedin a:hover::before {
    left: 130%;
}
.container-instagram a:hover,
.container-github a:hover,
.container-linkedin a:hover {
    color: var(--grey);
    border-color: var(--aqua-dim);
    background: rgba(127,255,212,.04);
    transform: translateY(-2px);
}

.container-instagram img,
.container-github img,
.container-linkedin img {
    width: 18px;
    display: block;
}

/* ═══════════════════════════════════════════
   IMAGEM: TILT + FLOAT + GLOW
═══════════════════════════════════════════ */
#imagem {
    animation: float 5s ease-in-out infinite;
    will-change: transform;
    position: relative;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

.image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.image-frame {
    position: relative;
    border-radius: 10px;
    transition: transform .12s ease-out;
    will-change: transform;
    isolation: isolate;
}

/* brilho ambient ao redor da imagem */
.image-glow {
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--aqua), var(--teal));
    opacity: 0;
    z-index: -1;
    transition: opacity .4s;
    filter: blur(12px);
}
.image-frame:hover .image-glow { opacity: .35; }

.image-frame img {
    display: block;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: clamp(300px, 28vw, 440px);
    transition: transform .25s ease-out;
    padding-top: 0;
}

/* cantos decorativos */
.image-corner {
    position: absolute;
    width: 14px; height: 14px;
    border-color: var(--aqua);
    border-style: solid;
    opacity: .7;
    pointer-events: none;
    transition: opacity .3s;
}
.image-frame:hover .image-corner { opacity: 1; }
.image-corner.tl { top:    -5px; left:  -5px; border-width: 2px 0 0 2px; }
.image-corner.tr { top:    -5px; right: -5px; border-width: 2px 2px 0 0; }
.image-corner.bl { bottom: -5px; left:  -5px; border-width: 0 0 2px 2px; }
.image-corner.br { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; }

/* badge de coordenadas */
.coords-badge {
    position: absolute;
    bottom: -28px; right: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--aqua-dim);
    letter-spacing: .1em;
    display: flex;
    gap: 6px;
    opacity: .6;
}
.coords-sep { opacity: .4; }

/* ═══════════════════════════════════════════
   RODAPÉ
═══════════════════════════════════════════ */
footer {
    position: relative;
    z-index: 2;
}
.container-footer {
    text-align: center;
    font-size: 11px;
    font-family: var(--font-body);
    color: var(--fg-muted);
    margin-top: 7%;
    padding-bottom: 28px;
}
.container-footer a {
    color: var(--aqua-dim);
    transition: color .2s;
}
.container-footer a:hover { color: var(--aqua); }

/* ═══════════════════════════════════════════
   RESPONSIVIDADE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .container-apresentacao {
        flex-direction: column;
        padding: 0 6%;
        gap: 60px;
    }
    .container-section1 { width: 100%; }
    .image-wrapper { order: -1; }
    .image-frame img { width: clamp(220px, 55vw, 340px); }
    .container-header { padding: 24px 6% 0; margin-bottom: 40px; }
    .container-footer { margin-left: 0; text-align: center; }
}
@media (max-width: 480px) {
    .container-section3 { flex-direction: column; align-items: flex-start; gap: 8px; }
    .container-instagram a,
    .container-github a,
    .container-linkedin a { margin-right: 0; }
}