/* ==========================================================================
   BIOKURI // PORTFÓLIO LUCAS AØSF
   Identidade Visual: Verde Floresta Profundo, Marfim Creme, Ouro/Bronze & Esmeralda Bioluminescente
   Tipografia: Cormorant Garamond (Ciência/Sistemática), Jost (Interface), Roboto Mono (Bio-Terminal)
   ========================================================================== */

:root {
    --bg-dark: #07140B;
    --bg-canopy: radial-gradient(circle at 50% 20%, #0E2515 0%, #07140B 85%);
    --panel-bg: rgba(14, 37, 21, 0.75);
    --panel-bg-hover: rgba(19, 47, 28, 0.88);
    --panel-border: rgba(78, 204, 163, 0.22);
    --panel-border-hover: rgba(78, 204, 163, 0.55);
    
    --text-main: #F2EBDD;
    --text-muted: #A3B899;
    --text-dim: #6E846A;
    
    --bio-green: #38E54D;
    --bio-emerald: #4ECCA3;
    --bio-sage: #B2C2A5;
    --bio-gold: #C5A059;
    --bio-bronze: #96784A;
    --bio-coral: #E07A62;
    --bio-blue: #38A3A5;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-ui: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-terminal: 'Roboto Mono', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --glow-emerald: 0 0 20px rgba(78, 204, 163, 0.25);
    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--bg-canopy);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Selection Color */
::selection {
    background: var(--bio-emerald);
    color: #07140B;
}

/* Interactive Canvas Background */
.bio-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.canopy-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 30%, rgba(7, 20, 11, 0.85) 100%);
}

.bio-scanline {
    width: 100%;
    height: 140px;
    z-index: -1;
    position: fixed;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(78, 204, 163, 0.04) 50%, rgba(0,0,0,0) 100%);
    opacity: 0.25;
    animation: bioScan 10s linear infinite;
}

@keyframes bioScan {
    0% { top: -140px; }
    100% { top: 100%; }
}

/* Top Navigation Bar */
.top-nav-bar {
    max-width: 1140px;
    margin: 0.75rem auto 0;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.brand-mini {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand-mini:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.nav-brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
    transition: filter 0.3s ease;
}

.brand-mini:hover .nav-brand-logo {
    filter: drop-shadow(0 0 10px rgba(198, 158, 104, 0.4));
}

.nav-emblem {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(178, 194, 165, 0.4));
}

.nav-brand-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-main);
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
}

.nav-brand-text .brand-bio {
    color: var(--bio-gold);
}

.nav-brand-text .brand-kuri {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-btn {
    background: rgba(14, 37, 21, 0.8);
    border: 1px solid var(--panel-border);
    color: var(--bio-sage);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-btn:hover {
    color: var(--bio-emerald);
    border-color: var(--bio-emerald);
    box-shadow: var(--glow-emerald);
}

/* Language Toggle Button */
.lang-toggle-container {
    display: inline-block;
}

.lang-toggle {
    background: rgba(14, 37, 21, 0.85);
    border: 1px solid var(--panel-border);
    color: var(--text-muted);
    font-family: var(--font-terminal);
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--bio-emerald);
    box-shadow: var(--glow-emerald);
}

.lang-toggle span.active {
    color: var(--bio-emerald);
    font-weight: 700;
}

/* Main Layout Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 860px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism Panel Standard */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    padding: 1.85rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78, 204, 163, 0.45), transparent);
}

.glass-panel:hover {
    border-color: var(--panel-border-hover);
    box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.55), var(--glow-emerald);
}

/* Section Headings */
h2 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.section-intro {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.neon-green-icon {
    color: var(--bio-emerald);
    font-size: 1.35rem;
    filter: drop-shadow(0 0 8px rgba(78, 204, 163, 0.4));
}

/* ==========================================================================
   BIO-TERMINAL HEADER
   ========================================================================== */
.terminal-window {
    padding: 0;
    background: rgba(8, 22, 13, 0.92);
    border: 1px solid rgba(78, 204, 163, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(14, 37, 21, 0.4);
}

.terminal-header {
    background: rgba(14, 37, 21, 0.95);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(78, 204, 163, 0.2);
}

.terminal-dots {
    display: flex;
    gap: 0.45rem;
}

.terminal-header .btn {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-header .btn.close { background: #ff5f56; }
.terminal-header .btn.minimize { background: #ffbd2e; }
.terminal-header .btn.maximize { background: #27c93f; }

.terminal-header .title {
    font-family: var(--font-terminal);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.terminal-status {
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    color: var(--bio-green);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.terminal-body {
    padding: 1.35rem;
    font-family: var(--font-terminal);
    font-size: 0.92rem;
    color: var(--text-main);
    min-height: 135px;
    max-height: 240px;
    overflow-y: auto;
    line-height: 1.6;
}

.terminal-prompt {
    color: var(--bio-emerald);
    font-weight: 700;
    margin-right: 0.5rem;
}

.terminal-output-text {
    color: var(--bio-sage);
}

.terminal-output-ok {
    color: var(--bio-green);
    font-weight: 600;
}

.terminal-output-gold {
    color: var(--bio-gold);
}

.typing-cursor::after {
    content: '▋';
    color: var(--bio-emerald);
    animation: blink 0.9s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Quick Station Nav Pills */
.station-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.75rem 1.35rem 1.15rem;
    background: rgba(6, 17, 10, 0.75);
    border-top: 1px solid rgba(78, 204, 163, 0.15);
}

.station-pill {
    background: rgba(14, 37, 21, 0.85);
    border: 1px solid rgba(78, 204, 163, 0.25);
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.station-pill i {
    color: var(--bio-emerald);
}

.station-pill:hover {
    background: rgba(78, 204, 163, 0.18);
    border-color: var(--bio-emerald);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   INTERACTIVE JUMPING FROG OVER LETTERS
   ========================================================================== */
.name-frog-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.interactive-name {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 700;
    user-select: none;
    display: flex;
    align-items: baseline;
    cursor: pointer;
}

.hop-char {
    display: inline-block;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.25s ease;
}

.hop-space {
    display: inline-block;
    width: 0.65rem;
}

.hop-char:hover {
    color: var(--bio-emerald);
    transform: translateY(-3px) scale(1.12);
}

.hop-char.letter-bounce {
    animation: letterSquash 0.45s ease;
    color: var(--bio-emerald);
    text-shadow: 0 0 14px rgba(78, 204, 163, 0.7);
}

@keyframes letterSquash {
    0% { transform: scale(1, 1); }
    30% { transform: scale(1.28, 0.72) translateY(3px); }
    60% { transform: scale(0.9, 1.15) translateY(-4px); }
    100% { transform: scale(1, 1) translateY(0); }
}



/* Landing Ripple Shockwave */
.frog-landing-ripple {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #4ECCA3;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.3);
    animation: frogRippleExpand 0.45s ease-out forwards;
    z-index: 99998;
}

@keyframes frogRippleExpand {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; border-color: rgba(78, 204, 163, 0.9); }
    100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; border-color: rgba(0, 245, 212, 0); }
}

.highlight-pill {
    background: rgba(197, 160, 89, 0.2) !important;
    color: var(--bio-gold) !important;
    border-color: rgba(197, 160, 89, 0.45) !important;
    font-weight: 600;
}

.frog-pill {
    background: rgba(56, 229, 77, 0.16) !important;
    color: #4ECCA3 !important;
    border-color: rgba(78, 204, 163, 0.4) !important;
    font-weight: 600;
}

/* ==========================================================================
   TADPOLE POND OBSERVATION ZONE (Espaço Interativo entre Sessão 1 e Sessão 2)
   ========================================================================== */
.tadpole-pond-zone {
    position: relative;
    width: 100%;
    min-height: 220px;
    margin: 1.85rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(7, 20, 11, 0.12) 0%, rgba(14, 37, 21, 0.38) 50%, rgba(7, 20, 11, 0.12) 100%);
    border: 1px dashed rgba(78, 204, 163, 0.35);
    border-radius: var(--radius-md);
    cursor: crosshair;
    overflow: hidden;
    transition: var(--transition);
    user-select: none;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.5), 0 0 16px rgba(78, 204, 163, 0.1);
}

.tadpole-pond-zone:hover {
    border-color: var(--bio-emerald);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(78, 204, 163, 0.22);
}

.pond-zone-waterline {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(78, 204, 163, 0.45) 50%, transparent 100%);
    pointer-events: none;
}

.pond-zone-waterline.top { top: 0; }
.pond-zone-waterline.bottom { bottom: 0; }

.pond-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 220px;
    padding: 0.85rem 1rem 0.65rem 1rem;
    pointer-events: none;
    text-align: center;
    z-index: 1;
}

.pond-zone-badge {
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    color: var(--bio-emerald);
    background: rgba(7, 20, 11, 0.75);
    border: 1px solid rgba(78, 204, 163, 0.42);
    padding: 0.28rem 0.95rem;
    border-radius: 20px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(78, 204, 163, 0.15);
    margin: 0.25rem 0 0 0;
    align-self: center;
}

.pond-zone-instructions {
    font-family: var(--font-terminal);
    font-size: 0.66rem;
    color: rgba(230, 241, 235, 0.45);
    background: transparent;
    padding: 0.15rem 0.5rem;
    letter-spacing: 0.4px;
    margin-top: auto;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.tadpole-pond-zone:hover .pond-zone-instructions {
    color: rgba(230, 241, 235, 0.75);
}

.pond-zone-instructions .mobile-only {
    display: none;
}

/* ==========================================================================
   ABOUT & PROFILE SECTION
   ========================================================================== */
.about-section {
    position: relative;
    display: flex;
    flex-direction: column;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--bio-emerald);
    text-transform: uppercase;
    background: rgba(78, 204, 163, 0.1);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(78, 204, 163, 0.25);
    margin-bottom: 1.25rem;
    align-self: flex-start;
    width: fit-content;
}

.profile-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
}

@media (max-width: 600px) {
    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.profile-img-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.profile-avatar-wrap {
    position: relative;
    width: 135px;
    height: 135px;
    margin-bottom: 0.85rem;
}

.profile-img {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bio-emerald);
    box-shadow: 0 0 20px rgba(78, 204, 163, 0.35);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 28px rgba(78, 204, 163, 0.55);
}

.profile-badge-crbio {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #0E2515;
    border: 1px solid var(--bio-emerald);
    color: var(--bio-emerald);
    font-family: var(--font-terminal);
    font-size: 0.68rem;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.company-badge {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.biokuri-logo-inline {
    height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.bio h3 {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 700;
}

.bio .subtitle {
    font-family: var(--font-terminal);
    font-size: 0.88rem;
    color: var(--bio-emerald);
    margin: 0.25rem 0 0.85rem;
}

.bio .description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.bio .description strong {
    color: var(--text-main);
    font-weight: 600;
}

.credential-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.credential-pills .pill {
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    background: rgba(197, 160, 89, 0.12);
    color: var(--bio-gold);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Social Buttons Grid */
.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.social-btn {
    background: rgba(8, 24, 14, 0.85);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--bio-emerald);
    background: rgba(78, 204, 163, 0.15);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-btn.lattes:hover { border-color: #55E6C1; }
.social-btn.orcid:hover { border-color: #A6CE39; color: #A6CE39; }
.social-btn.researchgate:hover { border-color: #00CCBB; color: #00CCBB; }
.social-btn.linkedin:hover { border-color: #0077B5; color: #38bdf8; }
.social-btn.whatsapp:hover { border-color: #25D366; color: #25D366; }

/* ==========================================================================
   FOCUS & EXPERTISE SECTION
   ========================================================================== */
.focus-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.focus-item {
    display: flex;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    background: rgba(8, 22, 13, 0.65);
    border: 1px solid rgba(78, 204, 163, 0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.focus-item:hover {
    border-color: var(--bio-emerald);
    background: rgba(14, 37, 21, 0.85);
    transform: translateX(4px);
}

.focus-item.highlight-box {
    border-color: rgba(197, 160, 89, 0.35);
    background: rgba(197, 160, 89, 0.08);
}

.focus-item.highlight-box:hover {
    border-color: var(--bio-gold);
}

.focus-icon {
    font-size: 1.4rem;
    color: var(--bio-emerald);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.focus-item.highlight-box .focus-icon {
    color: var(--bio-gold);
}

.focus-content h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.focus-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   METRICS & FIELD IMPACT STRIP
   ========================================================================== */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

@media (max-width: 860px) {
    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .metrics-strip .metric-item:last-child {
        grid-column: span 2;
    }
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--bio-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 12px rgba(197, 160, 89, 0.25);
}

.metric-label {
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   TECH & SCIENCE STACK SECTION
   ========================================================================== */
.badges-categorized {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stack-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.group-title {
    font-family: var(--font-terminal);
    font-size: 0.82rem;
    color: var(--bio-emerald);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.badge {
    background: rgba(8, 22, 13, 0.75);
    border: 1px solid rgba(78, 204, 163, 0.25);
    color: var(--text-main);
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.badge:hover {
    border-color: var(--bio-emerald);
    background: rgba(78, 204, 163, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(78, 204, 163, 0.25);
}

.badge.r-lang { border-color: rgba(39, 109, 195, 0.4); }
.badge.r-lang:hover { border-color: #276DC3; color: #60a5fa; }

.badge.python { border-color: rgba(55, 118, 171, 0.4); }
.badge.python:hover { border-color: #3776AB; color: #93c5fd; }

.badge.gbif { border-color: rgba(80, 158, 47, 0.4); }
.badge.gbif:hover { border-color: #509E2F; color: #86efac; }

/* ==========================================================================
   PROJECTS & LABS (BIOLOGICAL SCAN & SHOWCASE)
   ========================================================================== */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.projects-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-btn {
    background: rgba(8, 22, 13, 0.8);
    border: 1px solid rgba(78, 204, 163, 0.2);
    color: var(--text-muted);
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(78, 204, 163, 0.15);
    border-color: var(--bio-emerald);
    color: var(--bio-emerald);
}

/* Hack Interface & Bio Button */
.hack-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}

.cyber-button.bio-button {
    background: rgba(14, 37, 21, 0.9);
    border: 2px solid var(--bio-emerald);
    color: var(--bio-emerald);
    font-family: var(--font-terminal);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(78, 204, 163, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cyber-button.bio-button:hover {
    background: var(--bio-emerald);
    color: #07140B;
    box-shadow: 0 0 35px rgba(78, 204, 163, 0.6);
    transform: translateY(-2px);
}

.mini-terminal {
    width: 100%;
    max-width: 820px;
    background: rgba(4, 14, 8, 0.95);
    border: 1px solid var(--bio-emerald);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    font-family: var(--font-terminal);
    font-size: 0.85rem;
    color: var(--bio-emerald);
    line-height: 1.5;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.75rem;
    transition: filter 0.6s ease, opacity 0.6s ease;
}

.locked-content {
    filter: blur(3.5px) grayscale(35%);
    opacity: 0.65;
    pointer-events: none;
    user-select: none;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: rgba(8, 22, 13, 0.75);
    border: 1px solid rgba(78, 204, 163, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--bio-emerald);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(78, 204, 163, 0.2);
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    background: #0E2515;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.project-card img[src*="project-consultoria"] {
    object-position: center 30%;
}

.project-card img[src*="project-imbio"] {
    object-position: center 25%;
}

.project-card img[src*="robson"] {
    object-position: center 32%;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 20, 11, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view, .btn-code {
    background: rgba(14, 37, 21, 0.9);
    border: 1px solid var(--bio-emerald);
    color: var(--bio-emerald);
    text-decoration: none;
    font-family: var(--font-terminal);
    font-size: 0.82rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--bio-emerald);
    color: #07140B;
}

.btn-code:hover {
    background: var(--bio-gold);
    border-color: var(--bio-gold);
    color: #07140B;
}

.btn-badge {
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid var(--bio-gold);
    color: var(--bio-gold);
    font-family: var(--font-terminal);
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
}

.project-info {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.badge-type {
    font-family: var(--font-terminal);
    font-size: 0.7rem;
    color: var(--bio-sage);
}

.badge-status {
    font-family: var(--font-terminal);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.badge-status.live {
    background: rgba(56, 229, 77, 0.15);
    color: var(--bio-green);
    border: 1px solid var(--bio-green);
}

.badge-status.accepted {
    background: rgba(197, 160, 89, 0.15);
    color: var(--bio-gold);
    border: 1px solid var(--bio-gold);
}

.badge-status.production {
    background: rgba(78, 204, 163, 0.15);
    color: var(--bio-emerald);
    border: 1px solid var(--bio-emerald);
}

.badge-status.presented {
    background: rgba(224, 122, 98, 0.15);
    color: var(--bio-coral);
    border: 1px solid var(--bio-coral);
}

.badge-status.global {
    background: rgba(56, 163, 165, 0.15);
    color: var(--bio-blue);
    border: 1px solid var(--bio-blue);
}

.badge-status.experiment,
.badge-status.test {
    background: rgba(186, 104, 200, 0.18);
    color: #d8a4e8;
    border: 1px solid rgba(186, 104, 200, 0.6);
}

.project-info h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.15rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tags span {
    font-family: var(--font-terminal);
    font-size: 0.7rem;
    background: rgba(14, 37, 21, 0.8);
    border: 1px solid rgba(78, 204, 163, 0.15);
    color: var(--bio-sage);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

/* ==========================================================================
   SCIENTIFIC PUBLICATIONS & TAXONOMY SECTION
   ========================================================================== */
.section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section-header-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-peer {
    background: rgba(56, 229, 77, 0.12);
    border: 1px solid var(--bio-green);
    color: var(--bio-green);
    font-family: var(--font-terminal);
    font-size: 0.75rem;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-rg-profile {
    background: rgba(0, 204, 187, 0.12);
    border: 1px solid rgba(0, 204, 187, 0.45);
    color: #00e5cc;
    font-family: var(--font-terminal);
    font-size: 0.75rem;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.badge-rg-profile:hover {
    background: #00ccbb;
    color: #03140a;
    box-shadow: 0 0 12px rgba(0, 204, 187, 0.5);
    transform: translateY(-1px);
}

.badge-cv-profile {
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: #e5c07b;
    font-family: var(--font-terminal);
    font-size: 0.75rem;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.badge-cv-profile:hover {
    background: #c5a059;
    color: #03140a;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.5);
    transform: translateY(-1px);
}

.papers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.paper-card {
    background: rgba(8, 22, 13, 0.7);
    border: 1px solid rgba(78, 204, 163, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.paper-card:hover {
    border-color: var(--bio-emerald);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.paper-card.highlight-paper {
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(197, 160, 89, 0.05);
}

.paper-card.highlight-paper:hover {
    border-color: var(--bio-gold);
    box-shadow: 0 8px 28px rgba(197, 160, 89, 0.25);
}

.paper-badge-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    font-family: var(--font-terminal);
    font-size: 0.74rem;
}

.paper-journal {
    color: var(--bio-sage);
}

.paper-status {
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
}

.paper-status.discovery {
    background: rgba(197, 160, 89, 0.2);
    color: var(--bio-gold);
    border: 1px solid var(--bio-gold);
}

.paper-status.accepted-tag {
    background: rgba(78, 204, 163, 0.2);
    color: var(--bio-emerald);
    border: 1px solid var(--bio-emerald);
}

.paper-status.behavior {
    background: rgba(56, 163, 165, 0.2);
    color: var(--bio-blue);
    border: 1px solid var(--bio-blue);
}

.paper-status.natural-history {
    background: rgba(56, 229, 77, 0.2);
    color: var(--bio-green);
    border: 1px solid var(--bio-green);
}

.paper-status.book {
    background: rgba(224, 122, 98, 0.2);
    color: var(--bio-coral);
    border: 1px solid var(--bio-coral);
}

.paper-card h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.paper-title-link {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline;
}

.paper-title-link:hover {
    color: var(--bio-emerald);
}

.paper-title-icon {
    font-size: 0.72em;
    margin-left: 0.35rem;
    color: var(--bio-emerald);
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.paper-title-link:hover .paper-title-icon {
    opacity: 1;
    transform: translate(2px, -2px);
}

.paper-authors {
    font-size: 0.82rem;
    color: var(--bio-sage);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.paper-abstract {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.15rem;
    flex-grow: 1;
}

.paper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    border-top: 1px dashed rgba(78, 204, 163, 0.15);
    padding-top: 0.85rem;
    margin-top: auto;
    font-family: var(--font-terminal);
    font-size: 0.74rem;
}

.paper-meta-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.paper-doi {
    color: var(--text-dim);
}

.paper-tag-meta {
    color: var(--bio-sage);
}

.paper-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.paper-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-terminal);
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.paper-action-btn.btn-pdf {
    background: rgba(78, 204, 163, 0.14);
    color: #4ecca3;
    border: 1px solid rgba(78, 204, 163, 0.45);
}

.paper-action-btn.btn-pdf:hover {
    background: #4ecca3;
    color: #03140a;
    box-shadow: 0 0 10px rgba(78, 204, 163, 0.45);
    transform: translateY(-1px);
}

.paper-action-btn.btn-rg {
    background: rgba(0, 204, 187, 0.12);
    color: #00e5cc;
    border: 1px solid rgba(0, 204, 187, 0.45);
}

.paper-action-btn.btn-rg:hover {
    background: #00ccbb;
    color: #03140a;
    box-shadow: 0 0 10px rgba(0, 204, 187, 0.45);
    transform: translateY(-1px);
}

.paper-action-btn.btn-doi {
    background: rgba(197, 160, 89, 0.12);
    color: #e5c07b;
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.paper-action-btn.btn-doi:hover {
    background: #c5a059;
    color: #03140a;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
    transform: translateY(-1px);
}

.paper-action-btn.btn-code {
    background: rgba(167, 139, 250, 0.12);
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.4);
}

.paper-action-btn.btn-code:hover {
    background: #a78bfa;
    color: #0f0a20;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
    transform: translateY(-1px);
}


/* ==========================================================================
   PROFESSIONAL TIMELINE & MAJOR CONTRACTS
   ========================================================================== */
.timeline {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--bio-emerald) 0%, rgba(78, 204, 163, 0.1) 100%);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    top: 6px;
    left: -2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0E2515;
    border: 3px solid var(--bio-emerald);
    box-shadow: 0 0 10px rgba(78, 204, 163, 0.5);
}

.timeline-content {
    background: rgba(8, 22, 13, 0.65);
    border: 1px solid rgba(78, 204, 163, 0.15);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--bio-emerald);
    background: rgba(14, 37, 21, 0.85);
}

.timeline-header {
    margin-bottom: 0.5rem;
}

.timeline-header h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-main);
    line-height: 1.2;
}

.timeline-company {
    font-family: var(--font-terminal);
    font-size: 0.85rem;
    color: var(--bio-gold);
    display: block;
    margin: 0.2rem 0;
}

.timeline-date {
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    color: var(--text-dim);
    display: block;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.timeline-tags span {
    font-family: var(--font-terminal);
    font-size: 0.68rem;
    background: rgba(78, 204, 163, 0.08);
    color: var(--bio-sage);
    border: 1px solid rgba(78, 204, 163, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* ==========================================================================
   ACADEMIC FORMATION & LICENSES
   ========================================================================== */
.cert-subtitle {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bio-gold);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.5rem 0 1rem;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.cert-card {
    background: rgba(8, 22, 13, 0.7);
    border: 1px solid rgba(78, 204, 163, 0.2);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--bio-emerald);
    background: rgba(14, 37, 21, 0.85);
    transform: translateY(-2px);
}

.cert-icon {
    font-size: 1.5rem;
    color: var(--bio-emerald);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.cert-details {
    display: flex;
    flex-direction: column;
}

.cert-issuer {
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    color: var(--bio-sage);
    margin-bottom: 0.25rem;
}

.cert-details h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.cert-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.cert-status {
    font-family: var(--font-terminal);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    align-self: flex-start;
}

.cert-status.completed {
    background: rgba(78, 204, 163, 0.15);
    color: var(--bio-emerald);
    border: 1px solid rgba(78, 204, 163, 0.3);
}

.mt-4 {
    margin-top: 2rem;
}

/* ==========================================================================
   STATS & MANIFESTO
   ========================================================================== */
.stats-grid {
    align-items: stretch;
}

.github-stats-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.github-stats-container img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(78, 204, 163, 0.2);
}

.cyber-btn-outline {
    background: transparent;
    border: 1px solid var(--bio-emerald);
    color: var(--bio-emerald);
    font-family: var(--font-terminal);
    font-size: 0.82rem;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.cyber-btn-outline:hover {
    background: var(--bio-emerald);
    color: #07140B;
}

.bio-quote {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    border-left: 3px solid var(--bio-gold);
    padding-left: 1.25rem;
    margin: 1.25rem 0;
}

.bio-quote p {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    color: inherit;
    line-height: inherit;
}

.bio-quote cite {
    display: block;
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    font-style: normal;
    color: var(--bio-gold);
    margin-top: 0.65rem;
}

.signature-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1.6rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(78, 204, 163, 0.25);
    width: 100%;
}

/* ==========================================================================
   CONTACT CONNECT CARD (Signature & Social Widget)
   ========================================================================== */
.contact-connect-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1.85rem;
    width: 100%;
    max-width: 580px;
    background: linear-gradient(145deg, rgba(16, 42, 30, 0.78) 0%, rgba(9, 25, 18, 0.9) 100%);
    border: 1px solid rgba(78, 204, 163, 0.28);
    border-radius: 22px;
    padding: 2.1rem 1.8rem 2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.contact-card-sub {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-terminal);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bio-gold, #dfb76c);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.contact-card-sub i {
    font-size: 0.82rem;
    color: var(--bio-gold, #dfb76c);
}

.contact-card-title {
    font-family: var(--font-serif);
    font-size: 1.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.25rem 0 0.55rem;
    letter-spacing: 0.5px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.contact-card-divider {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #dfb76c, #00ff88);
    border-radius: 2px;
    margin: 0.4rem auto 1.1rem;
}

.contact-card-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(235, 245, 239, 0.88);
    line-height: 1.65;
    max-width: 460px;
    margin: 0 auto 1.55rem;
    font-weight: 400;
}

.contact-icons-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.95rem;
    width: 100%;
}

.contact-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.contact-circle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #F4EEDD;
    color: #0b2e1b;
    border: 2px solid rgba(197, 155, 39, 0.4);
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.contact-circle-btn i {
    transition: transform 0.25s ease;
}

.contact-circle-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

.contact-circle-btn:hover i {
    transform: scale(1.1);
}

.contact-circle-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Individual Brand Glow States on Hover */
.contact-circle-btn.whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 0 16px rgba(37, 211, 102, 0.35);
}

.contact-circle-btn.linkedin:hover {
    background: #0077B5;
    color: #ffffff;
    border-color: #0077B5;
    box-shadow: 0 8px 24px rgba(0, 119, 181, 0.55), 0 0 16px rgba(0, 119, 181, 0.35);
}

.contact-circle-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
    border-color: #fd5949;
    box-shadow: 0 8px 24px rgba(214, 36, 159, 0.55), 0 0 16px rgba(253, 89, 73, 0.35);
}

.contact-circle-btn.lattes:hover {
    background: #005696;
    color: #ffffff;
    border-color: #005696;
    box-shadow: 0 8px 24px rgba(0, 86, 150, 0.55), 0 0 16px rgba(0, 86, 150, 0.35);
}

.contact-circle-btn.email:hover {
    background: #dfb76c;
    color: #072015;
    border-color: #dfb76c;
    box-shadow: 0 8px 24px rgba(223, 183, 108, 0.55), 0 0 16px rgba(223, 183, 108, 0.35);
}

@media (max-width: 480px) {
    .contact-connect-card {
        padding: 1.75rem 1.15rem 1.65rem;
    }
    .contact-card-title {
        font-size: 1.65rem;
    }
    .contact-card-desc {
        font-size: 0.88rem;
    }
    .contact-icons-row {
        gap: 0.85rem;
    }
    .contact-circle-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

.signature-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(78, 204, 163, 0.28);
    transition: var(--transition);
    display: block;
}

.signature-img:hover {
    box-shadow: 0 6px 30px rgba(78, 204, 163, 0.25);
    border-color: var(--bio-emerald);
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.portfolio-footer {
    text-align: center;
    padding: 2.25rem 1.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 108px;
    width: auto;
    max-width: 290px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 16px rgba(198, 158, 104, 0.4));
}

.portfolio-footer p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.portfolio-footer p strong {
    color: var(--bio-gold);
}

.footer-subtext {
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-subtext a {
    color: var(--bio-emerald);
    text-decoration: none;
}

.footer-subtext a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-family: var(--font-terminal);
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 0.85rem;
    line-height: 1.6;
}

/* Fade-in Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   AVATAR MODE TOGGLE & SAGE SHOWCASE (ANIME & AI ART)
   ========================================================================== */
.avatar-mode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
    padding: 0.35rem 0.75rem;
    background: rgba(78, 204, 163, 0.12);
    border: 1px solid var(--bio-emerald);
    border-radius: 20px;
    color: var(--bio-emerald);
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 135px;
    box-shadow: 0 0 10px rgba(78, 204, 163, 0.2);
}

.avatar-mode-btn:hover {
    background: var(--bio-emerald);
    color: var(--bio-deep);
    box-shadow: 0 0 16px rgba(78, 204, 163, 0.6);
    transform: translateY(-2px);
}

.avatar-mode-btn.active-sage {
    background: rgba(255, 215, 0, 0.18);
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.45);
}

.profile-img.sage-active {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7), 0 0 40px rgba(78, 204, 163, 0.4);
    animation: sagePulse 2s infinite alternate ease-in-out;
}

@keyframes sagePulse {
    0% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 25px rgba(78, 204, 163, 0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 0 45px rgba(78, 204, 163, 0.6);
    }
}

/* Sage Showcase Section */
.sage-showcase-section {
    margin-bottom: 2.5rem;
    border: 1px solid rgba(78, 204, 163, 0.3);
    background: linear-gradient(135deg, rgba(14, 37, 21, 0.85) 0%, rgba(20, 50, 30, 0.6) 100%);
    position: relative;
    overflow: hidden;
}

.sage-showcase-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(78, 204, 163, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.sage-showcase-content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 2.2rem;
    align-items: center;
    margin-top: 1rem;
}

.sage-showcase-clean {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
}

.sage-showcase-clean .sage-media-wrapper {
    max-width: 680px;
    width: 100%;
}

@media (max-width: 900px) {
    .sage-showcase-content {
        grid-template-columns: 1fr;
    }
}

.sage-media-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(78, 204, 163, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(78, 204, 163, 0.2);
    background: #000;
}

.sage-video-loop,
.sage-gif-fallback {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sage-media-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(14, 37, 21, 0.85);
    border: 1px solid var(--bio-emerald);
    color: var(--bio-emerald);
    font-family: var(--font-terminal);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sage-info-wrapper h2 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--bio-cream);
    margin-bottom: 0.85rem;
}

.sage-info-wrapper .section-intro {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
}

.sage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sage-tags span {
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    background: rgba(78, 204, 163, 0.08);
    border: 1px solid rgba(78, 204, 163, 0.25);
    color: var(--bio-sage);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================================================
   DRONE VIDEO SHOWCASE & REMOTE SENSING
   ========================================================================== */
.focus-item.drone-card {
    border-color: rgba(78, 204, 163, 0.4);
    background: linear-gradient(135deg, rgba(78, 204, 163, 0.08) 0%, rgba(14, 37, 21, 0.5) 100%);
}

.focus-item.drone-card:hover {
    border-color: var(--bio-emerald);
    box-shadow: 0 0 20px rgba(78, 204, 163, 0.3);
}

.badge.drone {
    background: rgba(78, 204, 163, 0.12);
    border: 1px solid var(--bio-emerald);
    color: var(--bio-emerald);
    font-weight: 600;
}

.drone-video-showcase {
    margin-top: 1.6rem;
    background: rgba(7, 20, 11, 0.75);
    border: 1px solid rgba(78, 204, 163, 0.3);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.drone-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.drone-tag {
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    color: var(--bio-emerald);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-transform: uppercase;
    font-weight: 600;
}

.drone-model-pill {
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-accent);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.drone-player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050d07;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(78, 204, 163, 0.25);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.65);
}

.drone-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drone-hud-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.9rem;
    background: linear-gradient(180deg, rgba(5, 13, 7, 0.65) 0%, transparent 22%, transparent 75%, rgba(5, 13, 7, 0.75) 100%);
    font-family: var(--font-terminal);
    font-size: 0.72rem;
}

.drone-hud-top,
.drone-hud-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hud-rec {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ff5555;
    background: rgba(0, 0, 0, 0.65);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 85, 85, 0.5);
    letter-spacing: 1px;
    font-weight: 700;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background: #ff3333;
    border-radius: 50%;
    animation: recBlink 1.2s infinite;
}

@keyframes recBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

.hud-mode {
    color: var(--bio-emerald);
    background: rgba(0, 0, 0, 0.65);
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(78, 204, 163, 0.35);
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hud-telemetry {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.68rem;
    letter-spacing: 0.6px;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
}

.drone-sound-btn {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(78, 204, 163, 0.45);
    color: var(--bio-emerald);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.drone-sound-btn:hover {
    background: var(--bio-emerald);
    color: var(--bio-deep);
    transform: scale(1.1);
}

.drone-clip-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.95rem;
    align-items: center;
}

.drone-clip-btn {
    background: rgba(78, 204, 163, 0.08);
    border: 1px solid rgba(78, 204, 163, 0.25);
    color: var(--text-muted);
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.drone-clip-btn:hover {
    background: rgba(78, 204, 163, 0.18);
    border-color: var(--bio-emerald);
    color: var(--text-light);
    transform: translateY(-2px);
}

.drone-clip-btn.active {
    background: var(--bio-emerald);
    color: var(--bio-deep);
    border-color: var(--bio-emerald);
    font-weight: 700;
    box-shadow: 0 0 14px rgba(78, 204, 163, 0.45);
}

/* ==========================================================================
   DRONE PHOTO GALLERY & HIGH-RES LIGHTBOX
   ========================================================================== */
.drone-photo-gallery {
    margin-top: 1.35rem;
    border-top: 1px solid rgba(78, 204, 163, 0.16);
    padding-top: 1.1rem;
}

.drone-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    font-family: var(--font-terminal);
    flex-wrap: wrap;
    gap: 0.4rem;
}

.drone-gallery-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bio-emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.drone-gallery-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.drone-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 0.7rem;
}

.drone-photo-card {
    margin: 0;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(78, 204, 163, 0.22);
    background: rgba(5, 12, 10, 0.7);
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
    aspect-ratio: 16/10;
    min-height: 125px;
}

.drone-photo-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--bio-emerald);
    box-shadow: 0 10px 24px rgba(78, 204, 163, 0.25);
}

.drone-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.drone-photo-card:hover img {
    transform: scale(1.08);
}

.drone-photo-card figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.45rem 0.55rem;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 12, 10, 0.94) 75%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-terminal);
    pointer-events: none;
}

.photo-badge {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.photo-desc {
    font-size: 0.62rem;
    color: var(--text-muted);
}

.photo-badge.badge-caatinga {
    background: rgba(230, 162, 60, 0.2);
    color: #e6a23c;
    border: 1px solid rgba(230, 162, 60, 0.45);
}

.photo-badge.badge-amazonia {
    background: rgba(78, 204, 163, 0.2);
    color: #4ecca3;
    border: 1px solid rgba(78, 204, 163, 0.45);
}

.photo-badge.badge-cerrado {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.45);
}

.photo-badge.badge-atlantica {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.45);
}

.photo-badge.badge-ilhabela {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.45);
}

.photo-badge.badge-macintir,
.photo-badge.badge-chel {
    background: rgba(155, 89, 182, 0.2);
    color: #a29bfe;
    border: 1px solid rgba(155, 89, 182, 0.45);
}

/* Lightbox Modal */
.drone-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.drone-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 10, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    animation: lightboxZoomIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close-btn {
    position: absolute;
    top: -2.4rem;
    right: 0;
    background: rgba(5, 12, 10, 0.85);
    border: 1px solid rgba(78, 204, 163, 0.4);
    color: var(--text-light);
    font-size: 1.6rem;
    line-height: 1;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close-btn:hover {
    background: var(--bio-emerald);
    color: var(--bio-deep);
    border-color: var(--bio-emerald);
    transform: rotate(90deg);
}

.lightbox-img-wrap {
    max-width: 100%;
    max-height: 78vh;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(78, 204, 163, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(78, 204, 163, 0.2);
}

.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 78vh;
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 0.75rem;
    font-family: var(--font-terminal);
    font-size: 0.82rem;
    color: var(--text-light);
    background: rgba(5, 12, 10, 0.8);
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(78, 204, 163, 0.2);
    text-align: center;
}

/* ==========================================================================
   ADAPTIVE RESPONSIVE DESIGN SYSTEM (PC, TABLET & SMARTPHONE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TABLETS & INTERMEDIATE SCREENS (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 1rem 1.25rem 3rem;
        gap: 1.5rem;
    }

    .top-nav-bar {
        padding: 0.5rem 1.25rem;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metrics-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.25rem;
    }

    .metrics-strip .metric-item:nth-child(4),
    .metrics-strip .metric-item:nth-child(5) {
        grid-column: span 1;
    }

    .projects-grid,
    .papers-grid,
    .certs-grid {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
        gap: 1.25rem;
    }

    .sage-showcase-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   2. TABLET PORTRAIT & LARGE MOBILE (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0.75rem 0.85rem 3rem;
        gap: 1.25rem;
    }

    .glass-panel {
        padding: 1.35rem 1.1rem;
        border-radius: var(--radius-sm);
    }

    h2 {
        font-size: 1.55rem;
    }

    /* Top Nav Bar */
    .top-nav-bar {
        padding: 0.4rem 0.85rem;
        margin-top: 0.25rem;
    }

    .nav-brand-logo {
        height: 36px;
    }

    .nav-brand-text {
        font-size: 1.05rem;
        letter-spacing: 1.5px;
    }

    .nav-emblem {
        width: 26px;
        height: 26px;
    }

    .nav-btn {
        width: 34px;
        height: 34px;
    }

    .lang-toggle {
        font-size: 0.78rem;
        padding: 0.35rem 0.65rem;
    }

    /* Bio-Terminal Header */
    .terminal-header {
        padding: 0.55rem 0.85rem;
    }

    .terminal-header .title {
        font-size: 0.8rem;
    }

    .terminal-status {
        font-size: 0.68rem;
    }

    .terminal-body {
        padding: 1rem 0.85rem;
        font-size: 0.84rem;
        min-height: 110px;
        max-height: 220px;
    }

    /* Quick Navigation Station Pills */
    .station-nav-pills {
        padding: 0.65rem 0.85rem 0.85rem;
        justify-content: center;
        gap: 0.45rem;
    }

    .station-pill {
        font-size: 0.74rem;
        padding: 0.35rem 0.7rem;
    }
    /* Tadpole Pond Zone (Tablet & Mobile) */
    .tadpole-pond-zone {
        min-height: 190px;
        margin: 1.35rem 0;
    }

    .pond-zone-content {
        min-height: 190px;
        padding: 0.75rem 0.75rem 0.45rem 0.75rem;
    }

    .pond-zone-instructions .desktop-only {
        display: none;
    }

    .pond-zone-instructions .mobile-only {
        display: inline;
    }

    .pond-zone-badge {
        font-size: 0.68rem;
        padding: 0.22rem 0.75rem;
        margin: 0.15rem 0 0 0;
    }

    .pond-zone-instructions {
        font-size: 0.62rem;
        color: rgba(230, 241, 235, 0.4);
        padding: 0.1rem 0.4rem;
        margin-top: auto;
        margin-bottom: 0.15rem;
    }


    /* Profile Card Centering & Overlap Prevention */
    .section-tag {
        align-self: center;
        margin: 0 auto 1.35rem auto;
        display: inline-flex;
    }

    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .company-badge {
        justify-content: center;
    }

    .biokuri-logo-inline {
        height: 44px;
        max-width: 200px;
    }

    .interactive-name {
        font-size: clamp(1.75rem, 6.5vw, 2.2rem);
        justify-content: center;
    }

    .bio .subtitle {
        font-size: 0.82rem;
        margin: 0.25rem 0 0.75rem;
    }

    .bio .description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .credential-pills {
        justify-content: center;
        gap: 0.4rem;
    }

    .credential-pills .pill {
        font-size: 0.7rem;
        padding: 0.22rem 0.55rem;
    }

    .socials {
        justify-content: center;
        gap: 0.45rem;
    }

    .social-btn {
        font-size: 0.74rem;
        padding: 0.4rem 0.65rem;
    }

    /* Metrics Strip */
    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem 0.5rem;
        padding: 1.1rem 0.85rem;
    }

    .metrics-strip .metric-item:last-child {
        grid-column: span 2;
    }

    .metric-number {
        font-size: 1.95rem;
    }

    .metric-label {
        font-size: 0.68rem;
        letter-spacing: 0.3px;
    }

    /* Tech Stack Badges */
    .badges-grid {
        justify-content: center;
        gap: 0.45rem;
    }

    .badge {
        font-size: 0.74rem;
        padding: 0.38rem 0.65rem;
    }

    .group-title {
        justify-content: center;
        font-size: 0.78rem;
    }

    /* Projects & Scanner */
    .section-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.85rem;
    }

    .projects-filter-bar {
        justify-content: center;
        width: 100%;
        gap: 0.35rem;
    }

    .filter-btn {
        font-size: 0.74rem;
        padding: 0.32rem 0.65rem;
    }

    .cyber-button.bio-button {
        width: 100%;
        max-width: 360px;
        justify-content: center;
        padding: 0.75rem 1.15rem;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .mini-terminal {
        padding: 0.85rem;
        font-size: 0.78rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Project Cards Touch-Friendly Actions */
    .project-overlay {
        opacity: 1;
        position: relative;
        inset: auto;
        background: rgba(14, 37, 21, 0.95);
        padding: 0.65rem;
        border-top: 1px solid rgba(78, 204, 163, 0.2);
        justify-content: center;
    }

    .project-img-wrapper {
        height: 180px;
    }

    /* Scientific Publications */
    .section-title-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .papers-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .paper-card {
        padding: 1.15rem 1rem;
    }

    .paper-card h4 {
        font-size: 1.15rem;
    }

    .paper-abstract {
        font-size: 0.85rem;
    }

    .paper-footer {
        flex-wrap: wrap;
        gap: 0.45rem;
        font-size: 0.7rem;
    }

    /* Experience Timeline */
    .timeline {
        padding-left: 1.35rem;
        gap: 1.25rem;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-dot {
        left: -1.35rem;
        width: 13px;
        height: 13px;
        top: 5px;
    }

    .timeline-content {
        padding: 1rem 1.1rem;
    }

    .timeline-header h4 {
        font-size: 1.15rem;
    }

    .timeline-company {
        font-size: 0.8rem;
    }

    .timeline-date {
        font-size: 0.7rem;
    }

    /* Certificates & Formations */
    .certs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cert-card {
        padding: 1.1rem 1rem;
    }

    .cert-details h4 {
        font-size: 1.05rem;
    }

    .cert-details p {
        font-size: 0.82rem;
    }

    /* Sage Showcase Media */
    .sage-showcase-clean .sage-media-wrapper {
        max-width: 100%;
        border-radius: 10px;
    }

    /* Drone Video Showcase Responsive (Tablet & Mobile) */
    .drone-video-showcase {
        padding: 0.95rem;
    }

    .drone-showcase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .drone-hud-overlay {
        padding: 0.6rem;
        font-size: 0.65rem;
    }

    .hud-mode {
        max-width: 55%;
        font-size: 0.62rem;
        padding: 0.15rem 0.45rem;
    }

    .hud-telemetry {
        font-size: 0.6rem;
    }

    .drone-clip-selector {
        gap: 0.4rem;
    }

    .drone-clip-btn {
        font-size: 0.68rem;
        padding: 0.3rem 0.6rem;
    }

    /* Footer */
    .portfolio-footer {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .footer-logo-img {
        height: 84px;
        max-width: 230px;
    }

    .footer-copy {
        font-size: 0.72rem;
    }
}

/* --------------------------------------------------------------------------
   3. SMALL SMARTPHONES (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .container {
        padding: 0.5rem 0.65rem 2.75rem;
        gap: 1rem;
    }

    .glass-panel {
        padding: 1.15rem 0.85rem;
    }

    h2 {
        font-size: 1.38rem;
        gap: 0.5rem;
    }

    .neon-green-icon {
        font-size: 1.15rem;
    }

    /* Top Bar */
    .top-nav-bar {
        padding: 0.35rem 0.65rem;
    }

    .nav-brand-logo {
        height: 30px;
    }

    .nav-brand-text {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .nav-emblem {
        width: 22px;
        height: 22px;
    }
        .tadpole-pond-zone {
        min-height: 155px;
        margin: 1.15rem 0;
    }

    .pond-zone-content {
        min-height: 155px;
        padding: 0.85rem 0.5rem 0.55rem 0.5rem;
    }

    .pond-zone-instructions {
        font-size: 0.6rem;
    }


    /* Profile Avatar & Badges */
    .section-tag {
        align-self: center;
        margin: 0 auto 1.25rem auto;
        font-size: 0.7rem;
        padding: 0.22rem 0.65rem;
    }

    .profile-avatar-wrap {
        width: 125px;
        height: 125px;
        margin-bottom: 0.80rem;
    }

    .profile-img {
        width: 125px;
        height: 125px;
    }

    .profile-badge-crbio {
        font-size: 0.64rem;
        padding: 0.12rem 0.5rem;
        bottom: -7px;
    }

    .avatar-mode-btn {
        width: 125px;
        font-size: 0.68rem;
        padding: 0.32rem 0.65rem;
    }

    /* Name & Bio */
    .interactive-name {
        font-size: clamp(1.6rem, 7.5vw, 1.95rem);
    }

    .bio .subtitle {
        font-size: 0.78rem;
    }

    .bio .description {
        font-size: 0.86rem;
    }

    /* Socials */
    .social-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.72rem;
    }

    /* Focus Items */
    .focus-item {
        padding: 0.85rem 0.95rem;
        gap: 0.75rem;
    }

    .focus-icon {
        font-size: 1.2rem;
    }

    .focus-content h4 {
        font-size: 1.05rem;
    }

    .focus-content p {
        font-size: 0.84rem;
    }

    /* Metrics Strip */
    .metric-number {
        font-size: 1.7rem;
    }

    .metric-label {
        font-size: 0.64rem;
    }

    /* Cert Cards */
    .cert-card {
        flex-direction: column;
        gap: 0.6rem;
    }

    .cert-icon {
        margin-top: 0;
        font-size: 1.3rem;
    }

    /* Drone Video Showcase Mobile (480px) */
    .drone-video-showcase {
        padding: 0.75rem;
    }

    .hud-telemetry {
        display: none;
    }

    .hud-mode {
        max-width: 60%;
        font-size: 0.58rem;
    }

    .hud-rec {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .drone-sound-btn {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }

    .drone-clip-selector {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.35rem;
        width: 100%;
    }

    .drone-clip-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.64rem;
        padding: 0.32rem 0.45rem;
    }

    .drone-clip-btn:first-child {
        grid-column: span 2;
    }

    .drone-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }
}

/* --------------------------------------------------------------------------
   4. EXTRA NARROW SCREENS (max-width: 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .container {
        padding: 0.4rem 0.5rem 2.5rem;
    }

    .glass-panel {
        padding: 1rem 0.75rem;
    }

    .metrics-strip {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .metrics-strip .metric-item:last-child {
        grid-column: span 1;
    }

    .cyber-button.bio-button {
        font-size: 0.8rem;
        padding: 0.65rem 0.95rem;
    }
}

/* ==========================================================================
   TRUST STRIP / CONSULTORIAS & GRANDES CLIENTES
   ========================================================================== */
.partners-trust-strip {
    margin: 1.25rem 0 2rem 0;
    padding: 0.95rem 1.25rem;
    background: rgba(14, 37, 21, 0.55);
    border: 1px solid rgba(78, 204, 163, 0.22);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.partners-trust-label {
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    color: var(--bio-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.partners-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.partner-trust-pill {
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    background: rgba(78, 204, 163, 0.08);
    color: var(--text-light);
    border: 1px solid rgba(78, 204, 163, 0.22);
    padding: 0.28rem 0.65rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s ease;
}

.partner-trust-pill:hover {
    background: rgba(78, 204, 163, 0.18);
    border-color: var(--bio-emerald);
    color: var(--bio-emerald);
    transform: translateY(-1px);
}
/* ==========================================================================
   BRAZIL EXPEDITIONS INTERACTIVE MAP
   ========================================================================== */
.field-map-section {
    position: relative;
    overflow: hidden;
    margin: 2.5rem 0;
}

.map-kpi-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.15rem 0 1.45rem 0;
}

.map-kpi-item {
    background: rgba(14, 37, 21, 0.65);
    border: 1px solid rgba(78, 204, 163, 0.22);
    border-radius: 6px;
    padding: 0.55rem 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-terminal);
    font-size: 0.76rem;
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map-kpi-item strong {
    color: var(--bio-emerald);
}

.map-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.map-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.map-filter-btn {
    background: rgba(14, 37, 21, 0.75);
    border: 1px solid rgba(78, 204, 163, 0.25);
    color: var(--bio-sage);
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.map-filter-btn:hover,
.map-filter-btn.active {
    background: var(--bio-emerald);
    color: #07140B;
    border-color: var(--bio-emerald);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(78, 204, 163, 0.35);
}

.map-layers-group {
    display: flex;
    gap: 0.45rem;
}

.map-layer-btn {
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--bio-gold);
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.map-layer-btn:hover,
.map-layer-btn.active {
    background: var(--bio-gold);
    color: #07140B;
    border-color: var(--bio-gold);
    font-weight: 700;
}

.brazil-expedition-map {
    width: 100%;
    height: 520px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(78, 204, 163, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(0, 0, 0, 0.4);
    z-index: 10;
    position: relative;
    background: #08110b;
}

/* Custom Leaflet Dark Popups */
.leaflet-popup-content-wrapper {
    background: rgba(11, 26, 16, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(78, 204, 163, 0.4) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(78, 204, 163, 0.25) !important;
    color: var(--text-light) !important;
    padding: 0 !important;
    overflow: hidden;
}

.leaflet-popup-tip {
    background: rgba(11, 26, 16, 0.95) !important;
    border: 1px solid rgba(78, 204, 163, 0.4) !important;
}

.custom-map-popup {
    padding: 0.95rem 1.15rem;
    font-family: var(--font-sans);
}

.popup-tag {
    font-family: var(--font-terminal);
    font-size: 0.68rem;
    color: var(--bio-gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-bottom: 0.35rem;
}

.popup-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.popup-meta {
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    color: var(--bio-emerald);
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.popup-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(78, 204, 163, 0.2);
    padding-top: 0.45rem;
    font-family: var(--font-terminal);
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* Custom SVG Pulsing Markers */
.custom-pin-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(7, 20, 11, 0.92);
    border: 2px solid var(--bio-emerald);
    box-shadow: 0 0 14px rgba(78, 204, 163, 0.8);
    color: var(--bio-emerald);
    font-size: 0.82rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-pin-marker.gold {
    border-color: var(--bio-gold);
    color: var(--bio-gold);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.85);
}

.custom-pin-marker:hover {
    transform: scale(1.25);
    background: var(--bio-emerald);
    color: #07140B;
}

/* Expeditions Carousel / Cards below map */
.map-expeditions-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.95rem 0.25rem 0.5rem;
    margin-top: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--bio-emerald) rgba(7, 20, 11, 0.8);
}

.map-expedition-card {
    min-width: 250px;
    max-width: 270px;
    background: rgba(14, 37, 21, 0.6);
    border: 1px solid rgba(78, 204, 163, 0.18);
    border-radius: 6px;
    padding: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.map-expedition-card:hover,
.map-expedition-card.active {
    background: rgba(78, 204, 163, 0.16);
    border-color: var(--bio-emerald);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.map-expedition-card h5 {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.map-expedition-card span {
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    color: var(--bio-sage);
    display: block;
}

/* Tooltip & Styling para Pontinhos Simples da Distribuicao de Lucas Aosf */
.brazil-expedition-map {
    height: 580px !important;
}

.bio-simple-tooltip {
    background: rgba(7, 20, 11, 0.95) !important;
    border: 1px solid #4ECCA3 !important;
    color: #ffffff !important;
    font-family: var(--font-terminal) !important;
    font-size: 0.74rem !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
}

.bio-simple-tooltip::before {
    border-top-color: #4ECCA3 !important;
}

.lucas-point-dot {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   DRONE VIDEO SHOWCASE (Full-Width Cinematic Section)
   ========================================================================== */
section.drone-video-showcase {
    margin: 2.5rem 0 !important;
    width: 100% !important;
    background: rgba(7, 20, 11, 0.85) !important;
    border: 1px solid rgba(78, 204, 163, 0.35) !important;
    border-radius: var(--radius-md) !important;
    padding: 1.6rem 1.85rem !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.6) !important;
    overflow: hidden;
}

section.drone-video-showcase .drone-player-container {
    max-height: 540px !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 auto !important;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(78, 204, 163, 0.4) !important;
}

section.drone-video-showcase .drone-clip-selector {
    display: flex !important;
    gap: 0.6rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 1.25rem 0 1.5rem 0 !important;
    align-items: center !important;
}

section.drone-video-showcase .drone-photo-gallery {
    margin-top: 1.5rem !important;
    border-top: 1px solid rgba(78, 204, 163, 0.22) !important;
    padding-top: 1.25rem !important;
}

section.drone-video-showcase .drone-photo-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
    gap: 0.85rem !important;
}

/* ==========================================================================
   MANIFESTO CIENTIFICO (Abaixo do Video do Drone)
   ========================================================================== */
section.quote-section {
    margin: 2.5rem 0 !important;
    padding: 2.2rem 2.5rem !important;
    text-align: center;
}

section.quote-section h2 {
    justify-content: center;
    margin-bottom: 1.25rem;
}

section.quote-section .bio-quote {
    max-width: 880px;
    margin: 1.25rem auto 1.75rem auto;
    text-align: left;
}
/* ESTILOS DAS SIGLAS E DIVISAO DE ESTADOS */
.state-acronym-label {
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
}

.state-acronym-label span {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.9px;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.95),
        0 0 6px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(78, 204, 163, 0.45);
    user-select: none;
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

@media (max-width: 768px) {
    .state-acronym-label span {
        font-size: 9.5px;
        opacity: 0.85;
    }
}


/* ==========================================================================
   ATUACAO EM CAMPO & REGISTROS TECNICOS (Fieldwork Showcase)
   ========================================================================== */

section.fieldwork-section {
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

/* Video Spotlight */
.fieldwork-video-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem 0;
    padding: 1.25rem;
    background: rgba(4, 14, 9, 0.65);
    border: 1px solid rgba(78, 204, 163, 0.22);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    align-items: center;
}

.fieldwork-video-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(78, 204, 163, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.fieldwork-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.fieldwork-video-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    background: rgba(5, 15, 10, 0.82);
    border: 1px solid rgba(78, 204, 163, 0.4);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-terminal);
    font-size: 0.72rem;
    color: var(--bio-emerald);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.fieldwork-video-badge .rec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e74c3c;
    box-shadow: 0 0 8px #e74c3c;
    animation: blinkRec 1.6s infinite ease-in-out;
}

.fieldwork-video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.fieldwork-video-title {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1.35;
}

.fieldwork-video-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.fieldwork-video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.3rem;
}

/* Gallery Header & Filters */
.field-gallery-wrapper {
    margin-top: 1.25rem;
}

.field-gallery-header {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
    border-top: 1px solid rgba(78, 204, 163, 0.18);
    padding-top: 1.25rem;
}

.field-gallery-title-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: var(--font-terminal);
}

.field-gallery-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bio-emerald);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.field-gallery-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Filter Bar */
.field-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.field-filter-btn {
    background: rgba(14, 37, 21, 0.65);
    border: 1px solid rgba(78, 204, 163, 0.25);
    color: var(--text-muted);
    font-family: var(--font-terminal);
    font-size: 0.78rem;
    padding: 0.42rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.field-filter-btn:hover {
    background: rgba(78, 204, 163, 0.15);
    border-color: var(--bio-emerald);
    color: var(--text-main);
    transform: translateY(-1px);
}

.field-filter-btn.active {
    background: rgba(78, 204, 163, 0.22);
    border-color: var(--bio-emerald);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(78, 204, 163, 0.3);
}

.field-filter-btn .filter-count {
    font-size: 0.7rem;
    opacity: 0.75;
}

/* Photo Grid */
.field-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 1.1rem;
}

.field-photo-card {
    margin: 0;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(78, 204, 163, 0.2);
    background: rgba(6, 16, 11, 0.85);
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
}

.field-photo-card:hover {
    transform: translateY(-4px) scale(1.015);
    border-color: var(--bio-emerald);
    box-shadow: 0 12px 28px rgba(78, 204, 163, 0.25);
}

.field-photo-card.hidden {
    display: none !important;
}

.field-photo-img-wrap {
    position: relative;
    width: 100%;
    height: auto;
    min-height: unset;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}

.field-photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.4s ease;
}

.field-photo-card:hover .field-photo-img-wrap img {
    transform: scale(1.05);
}

.field-photo-zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(5, 12, 10, 0.8);
    border: 1px solid rgba(78, 204, 163, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bio-emerald);
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(4px);
}

.field-photo-card:hover .field-photo-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.field-photo-card figcaption {
    padding: 0.85rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    background: linear-gradient(180deg, rgba(8, 20, 14, 0.8) 0%, rgba(5, 14, 9, 0.98) 100%);
}

.field-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.15rem;
}

.field-card-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.field-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Specialized Badges */
.photo-badge.badge-peconhenta {
    background: rgba(231, 76, 60, 0.2);
    color: #ff7675;
    border: 1px solid rgba(231, 76, 60, 0.45);
}

.photo-badge.badge-manejo {
    background: rgba(241, 196, 15, 0.18);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.42);
}

.photo-badge.badge-anilhamento {
    background: rgba(56, 163, 165, 0.2);
    color: #55efc4;
    border: 1px solid rgba(56, 163, 165, 0.45);
}

.photo-badge.badge-obra {
    background: rgba(230, 126, 34, 0.2);
    color: #e67e22;
    border: 1px solid rgba(230, 126, 34, 0.45);
}

.photo-badge.badge-expedicao {
    background: rgba(155, 89, 182, 0.2);
    color: #a29bfe;
    border: 1px solid rgba(155, 89, 182, 0.45);
}

/* Responsiveness */
@media (max-width: 900px) {
    .fieldwork-video-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 650px) {
    .field-photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    
    .field-photo-card {
        border-radius: var(--radius-sm) !important;
    }
    
    .field-photo-img-wrap {
        height: auto !important;
        min-height: 115px !important;
        aspect-ratio: 4 / 3 !important;
    }
    
    .field-photo-card figcaption {
        padding: 0.55rem 0.6rem !important;
    }
    
    .field-card-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
    }
    
    .field-card-desc {
        font-size: 0.72rem !important;
        -webkit-line-clamp: 2 !important;
        line-height: 1.35 !important;
    }
    
    .field-card-badges {
        gap: 0.25rem !important;
        margin-bottom: 0.15rem !important;
    }
    
    .photo-badge {
        font-size: 0.55rem !important;
        padding: 0.1rem 0.32rem !important;
    }
    
    .field-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.4rem;
        -webkit-overflow-scrolling: touch;
    }

    .field-filter-btn {
        flex-shrink: 0;
        font-size: 0.74rem;
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 360px) {
    .field-photo-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .field-photo-img-wrap {
        min-height: 180px !important;
    }
}

/* Fieldwork Video Playlist Selector */
.fieldwork-video-selector {
    margin-bottom: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.video-selector-label {
    font-family: var(--font-terminal);
    font-size: 0.74rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.video-selector-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.video-select-btn {
    background: rgba(16, 42, 30, 0.75);
    border: 1px solid rgba(78, 204, 163, 0.28);
    color: var(--text-muted);
    padding: 0.38rem 0.8rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.video-select-btn:hover {
    border-color: var(--neon-green);
    color: #fff;
    background: rgba(78, 204, 163, 0.16);
}

.video-select-btn.active {
    background: linear-gradient(135deg, rgba(78, 204, 163, 0.32) 0%, rgba(16, 42, 30, 0.95) 100%);
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 12px rgba(78, 204, 163, 0.3);
}


/* Fieldwork Video Showreel Chip */
.fieldwork-showreel-badge {
    margin-bottom: 0.35rem;
}
.showreel-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.75rem;
    background: rgba(78, 204, 163, 0.12);
    border: 1px solid rgba(78, 204, 163, 0.35);
    border-radius: 999px;
    font-family: var(--font-terminal);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--bio-emerald);
    text-transform: uppercase;
}

/* ==========================================================================
   LIVE RADAR MARKER & CURRENT LOCATION (Ourinhos / Google Calendar Dynamic)
   ========================================================================== */
.custom-live-radar-icon {
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    z-index: 1000 !important;
}

.live-radar-container {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.live-radar-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.38);
    border: 1.5px solid #00ff88;
    animation: liveRadarPulse 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    pointer-events: none;
}

.live-radar-ping.ping-delay {
    animation-delay: 1.1s;
}

.live-radar-dot {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00ff88;
    border: 2px solid #ffffff;
    box-shadow: 0 0 12px #00ff88, 0 0 24px rgba(0, 255, 136, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: liveDotGlow 1.8s infinite alternate;
}

.live-radar-dot i {
    font-size: 8px;
    color: #041209;
}

@keyframes liveRadarPulse {
    0% {
        transform: scale(0.3);
        opacity: 0.95;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

@keyframes liveDotGlow {
    0% {
        box-shadow: 0 0 8px #00ff88, 0 0 14px rgba(0, 255, 136, 0.6);
    }
    100% {
        box-shadow: 0 0 16px #00ff88, 0 0 28px rgba(0, 255, 136, 0.95);
    }
}

/* Map KPI Current Location Badge */
.map-kpi-item.current-loc-kpi {
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(0, 255, 136, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.map-kpi-item.current-loc-kpi:hover,
.map-kpi-item.current-loc-kpi:focus {
    transform: translateY(-2px);
    background: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.35);
    outline: none;
}

.live-radar-kpi-icon {
    color: var(--bio-emerald);
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.65));
    animation: liveDotGlow 1.8s infinite alternate;
}

.live-pulse-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
    animation: blinkRec 1.4s infinite ease-in-out;
}

.live-radar-tooltip {
    border-color: #00ff88 !important;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4) !important;
}